~ubuntu-branches/ubuntu/maverick/lordsawar/maverick

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese
  • Date: 2010-04-10 09:29:33 UTC
  • mfrom: (1.1.9 upstream) (5.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100410092933-23uq4dxig30kmtcw
Tags: 0.1.8-1
* New upstream release.
* Add misc:Depends for -data package.
* Bump Standards Version to 3.8.4. (No changes needed).

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.64 for lordsawar 0.1.6.
 
3
# Generated by GNU Autoconf 2.63 for lordsawar 0.1.8.
4
4
#
5
 
# Report bugs to <http://sv.nongnu.org/bugs/?group=lordsawar>.
 
5
# Report bugs to <lordsawar-discuss@nongnu.org>.
6
6
#
7
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9
 
# Foundation, Inc.
10
 
#
 
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
11
9
# This configure script is free software; the Free Software Foundation
12
10
# gives unlimited permission to copy, distribute and modify it.
13
 
## -------------------- ##
14
 
## M4sh Initialization. ##
15
 
## -------------------- ##
 
11
## --------------------- ##
 
12
## M4sh Initialization.  ##
 
13
## --------------------- ##
16
14
 
17
15
# Be more Bourne compatible
18
16
DUALCASE=1; export DUALCASE # for MKS sh
19
 
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
20
18
  emulate sh
21
19
  NULLCMD=:
22
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24
22
  alias -g '${1+"$@"}'='"$@"'
25
23
  setopt NO_GLOB_SUBST
26
24
else
27
 
  case `(set -o) 2>/dev/null` in #(
28
 
  *posix*) :
29
 
    set -o posix ;; #(
30
 
  *) :
31
 
     ;;
 
25
  case `(set -o) 2>/dev/null` in
 
26
  *posix*) set -o posix ;;
32
27
esac
 
28
 
33
29
fi
34
30
 
35
31
 
 
32
 
 
33
 
 
34
# PATH needs CR
 
35
# Avoid depending upon Character Ranges.
 
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
39
as_cr_digits='0123456789'
 
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
41
 
36
42
as_nl='
37
43
'
38
44
export as_nl
40
46
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
48
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
 
# but without wasting forks for bash or zsh.
45
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47
 
  as_echo='print -r --'
48
 
  as_echo_n='print -rn --'
49
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
50
  as_echo='printf %s\n'
51
51
  as_echo_n='printf %s'
52
52
else
57
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
58
    as_echo_n_body='eval
59
59
      arg=$1;
60
 
      case $arg in #(
 
60
      case $arg in
61
61
      *"$as_nl"*)
62
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80
80
  }
81
81
fi
82
82
 
 
83
# Support unset when possible.
 
84
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
85
  as_unset=unset
 
86
else
 
87
  as_unset=false
 
88
fi
 
89
 
83
90
 
84
91
# IFS
85
92
# We need space, tab and new line, in precisely that order.  Quoting is
89
96
IFS=" ""        $as_nl"
90
97
 
91
98
# Find who we are.  Look in the path if we contain no directory separator.
92
 
case $0 in #((
 
99
case $0 in
93
100
  *[\\/]* ) as_myself=$0 ;;
94
101
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95
102
for as_dir in $PATH
96
103
do
97
104
  IFS=$as_save_IFS
98
105
  test -z "$as_dir" && as_dir=.
99
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100
 
  done
 
106
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
107
done
101
108
IFS=$as_save_IFS
102
109
 
103
110
     ;;
109
116
fi
110
117
if test ! -f "$as_myself"; then
111
118
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112
 
  exit 1
 
119
  { (exit 1); exit 1; }
113
120
fi
114
121
 
115
 
# Unset variables that we do not need and which cause bugs (e.g. in
116
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117
 
# suppresses any "Segmentation fault" message there.  '((' could
118
 
# trigger a bug in pdksh 5.2.14.
119
 
for as_var in BASH_ENV ENV MAIL MAILPATH
120
 
do eval test x\${$as_var+set} = xset \
121
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
122
# Work around bugs in pre-3.0 UWIN ksh.
 
123
for as_var in ENV MAIL MAILPATH
 
124
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
122
125
done
123
126
PS1='$ '
124
127
PS2='> '
130
133
LANGUAGE=C
131
134
export LANGUAGE
132
135
 
 
136
# Required to use basename.
 
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
138
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
139
  as_expr=expr
 
140
else
 
141
  as_expr=false
 
142
fi
 
143
 
 
144
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
145
  as_basename=basename
 
146
else
 
147
  as_basename=false
 
148
fi
 
149
 
 
150
 
 
151
# Name of the executable.
 
152
as_me=`$as_basename -- "$0" ||
 
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
154
         X"$0" : 'X\(//\)$' \| \
 
155
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
156
$as_echo X/"$0" |
 
157
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
158
            s//\1/
 
159
            q
 
160
          }
 
161
          /^X\/\(\/\/\)$/{
 
162
            s//\1/
 
163
            q
 
164
          }
 
165
          /^X\/\(\/\).*/{
 
166
            s//\1/
 
167
            q
 
168
          }
 
169
          s/.*/./; q'`
 
170
 
133
171
# CDPATH.
134
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
172
$as_unset CDPATH
 
173
 
135
174
 
136
175
if test "x$CONFIG_SHELL" = x; then
137
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138
 
  emulate sh
139
 
  NULLCMD=:
140
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
 
  # is contrary to our usage.  Disable this feature.
142
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
143
 
  setopt NO_GLOB_SUBST
144
 
else
145
 
  case \`(set -o) 2>/dev/null\` in #(
146
 
  *posix*) :
147
 
    set -o posix ;; #(
148
 
  *) :
149
 
     ;;
150
 
esac
151
 
fi
152
 
"
153
 
  as_required="as_fn_return () { (exit \$1); }
154
 
as_fn_success () { as_fn_return 0; }
155
 
as_fn_failure () { as_fn_return 1; }
156
 
as_fn_ret_success () { return 0; }
157
 
as_fn_ret_failure () { return 1; }
158
 
 
159
 
exitcode=0
160
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
 
 
166
 
else
167
 
  exitcode=1; echo positional parameters were not saved.
168
 
fi
169
 
test x\$exitcode = x0 || exit 1"
170
 
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
 
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
 
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
 
test \$(( 1 + 1 )) = 2 || exit 1"
175
 
  if (eval "$as_required") 2>/dev/null; then :
 
176
  if (eval ":") 2>/dev/null; then
176
177
  as_have_required=yes
177
178
else
178
179
  as_have_required=no
179
180
fi
180
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
 
 
182
 
else
183
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184
 
as_found=false
 
181
 
 
182
  if test $as_have_required = yes &&     (eval ":
 
183
(as_func_return () {
 
184
  (exit \$1)
 
185
}
 
186
as_func_success () {
 
187
  as_func_return 0
 
188
}
 
189
as_func_failure () {
 
190
  as_func_return 1
 
191
}
 
192
as_func_ret_success () {
 
193
  return 0
 
194
}
 
195
as_func_ret_failure () {
 
196
  return 1
 
197
}
 
198
 
 
199
exitcode=0
 
200
if as_func_success; then
 
201
  :
 
202
else
 
203
  exitcode=1
 
204
  echo as_func_success failed.
 
205
fi
 
206
 
 
207
if as_func_failure; then
 
208
  exitcode=1
 
209
  echo as_func_failure succeeded.
 
210
fi
 
211
 
 
212
if as_func_ret_success; then
 
213
  :
 
214
else
 
215
  exitcode=1
 
216
  echo as_func_ret_success failed.
 
217
fi
 
218
 
 
219
if as_func_ret_failure; then
 
220
  exitcode=1
 
221
  echo as_func_ret_failure succeeded.
 
222
fi
 
223
 
 
224
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
225
  :
 
226
else
 
227
  exitcode=1
 
228
  echo positional parameters were not saved.
 
229
fi
 
230
 
 
231
test \$exitcode = 0) || { (exit 1); exit 1; }
 
232
 
 
233
(
 
234
  as_lineno_1=\$LINENO
 
235
  as_lineno_2=\$LINENO
 
236
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
237
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
238
") 2> /dev/null; then
 
239
  :
 
240
else
 
241
  as_candidate_shells=
 
242
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185
243
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186
244
do
187
245
  IFS=$as_save_IFS
188
246
  test -z "$as_dir" && as_dir=.
189
 
  as_found=:
190
 
  case $as_dir in #(
 
247
  case $as_dir in
191
248
         /*)
192
249
           for as_base in sh bash ksh sh5; do
193
 
             # Try only shells that exist, to save several forks.
194
 
             as_shell=$as_dir/$as_base
195
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
 
  CONFIG_SHELL=$as_shell as_have_required=yes
198
 
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
 
  break 2
200
 
fi
201
 
fi
 
250
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
202
251
           done;;
203
252
       esac
204
 
  as_found=false
205
253
done
206
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208
 
  CONFIG_SHELL=$SHELL as_have_required=yes
209
 
fi; }
210
254
IFS=$as_save_IFS
211
255
 
212
256
 
213
 
      if test "x$CONFIG_SHELL" != x; then :
214
 
  # We cannot yet assume a decent shell, so we have to provide a
215
 
        # neutralization value for shells without unset; and this also
216
 
        # works around shells that cannot unset nonexistent variables.
217
 
        BASH_ENV=/dev/null
218
 
        ENV=/dev/null
219
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
257
      for as_shell in $as_candidate_shells $SHELL; do
 
258
         # Try only shells that exist, to save several forks.
 
259
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
260
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
262
  emulate sh
 
263
  NULLCMD=:
 
264
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
265
  # is contrary to our usage.  Disable this feature.
 
266
  alias -g '${1+"$@"}'='"$@"'
 
267
  setopt NO_GLOB_SUBST
 
268
else
 
269
  case `(set -o) 2>/dev/null` in
 
270
  *posix*) set -o posix ;;
 
271
esac
 
272
 
 
273
fi
 
274
 
 
275
 
 
276
:
 
277
_ASEOF
 
278
}; then
 
279
  CONFIG_SHELL=$as_shell
 
280
               as_have_required=yes
 
281
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
283
  emulate sh
 
284
  NULLCMD=:
 
285
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
286
  # is contrary to our usage.  Disable this feature.
 
287
  alias -g '${1+"$@"}'='"$@"'
 
288
  setopt NO_GLOB_SUBST
 
289
else
 
290
  case `(set -o) 2>/dev/null` in
 
291
  *posix*) set -o posix ;;
 
292
esac
 
293
 
 
294
fi
 
295
 
 
296
 
 
297
:
 
298
(as_func_return () {
 
299
  (exit $1)
 
300
}
 
301
as_func_success () {
 
302
  as_func_return 0
 
303
}
 
304
as_func_failure () {
 
305
  as_func_return 1
 
306
}
 
307
as_func_ret_success () {
 
308
  return 0
 
309
}
 
310
as_func_ret_failure () {
 
311
  return 1
 
312
}
 
313
 
 
314
exitcode=0
 
315
if as_func_success; then
 
316
  :
 
317
else
 
318
  exitcode=1
 
319
  echo as_func_success failed.
 
320
fi
 
321
 
 
322
if as_func_failure; then
 
323
  exitcode=1
 
324
  echo as_func_failure succeeded.
 
325
fi
 
326
 
 
327
if as_func_ret_success; then
 
328
  :
 
329
else
 
330
  exitcode=1
 
331
  echo as_func_ret_success failed.
 
332
fi
 
333
 
 
334
if as_func_ret_failure; then
 
335
  exitcode=1
 
336
  echo as_func_ret_failure succeeded.
 
337
fi
 
338
 
 
339
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
340
  :
 
341
else
 
342
  exitcode=1
 
343
  echo positional parameters were not saved.
 
344
fi
 
345
 
 
346
test $exitcode = 0) || { (exit 1); exit 1; }
 
347
 
 
348
(
 
349
  as_lineno_1=$LINENO
 
350
  as_lineno_2=$LINENO
 
351
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
352
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
353
 
 
354
_ASEOF
 
355
}; then
 
356
  break
 
357
fi
 
358
 
 
359
fi
 
360
 
 
361
      done
 
362
 
 
363
      if test "x$CONFIG_SHELL" != x; then
 
364
  for as_var in BASH_ENV ENV
 
365
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
366
        done
220
367
        export CONFIG_SHELL
221
368
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222
369
fi
223
370
 
224
 
    if test x$as_have_required = xno; then :
225
 
  $as_echo "$0: This script requires a shell more modern than all"
226
 
  $as_echo "$0: the shells that I found on your system."
227
 
  if test x${ZSH_VERSION+set} = xset ; then
228
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230
 
  else
231
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
232
 
$0: http://sv.nongnu.org/bugs/?group=lordsawar about your
233
 
$0: system, including any error possibly output before this
234
 
$0: message. Then install a modern shell, or manually run
235
 
$0: the script under such a shell if you do have one."
236
 
  fi
237
 
  exit 1
238
 
fi
239
 
fi
240
 
fi
241
 
SHELL=${CONFIG_SHELL-/bin/sh}
242
 
export SHELL
243
 
# Unset more variables known to interfere with behavior of common tools.
244
 
CLICOLOR_FORCE= GREP_OPTIONS=
245
 
unset CLICOLOR_FORCE GREP_OPTIONS
246
 
 
247
 
## --------------------- ##
248
 
## M4sh Shell Functions. ##
249
 
## --------------------- ##
250
 
# as_fn_unset VAR
251
 
# ---------------
252
 
# Portably unset VAR.
253
 
as_fn_unset ()
254
 
{
255
 
  { eval $1=; unset $1;}
256
 
}
257
 
as_unset=as_fn_unset
258
 
 
259
 
# as_fn_set_status STATUS
260
 
# -----------------------
261
 
# Set $? to STATUS, without forking.
262
 
as_fn_set_status ()
263
 
{
264
 
  return $1
265
 
} # as_fn_set_status
266
 
 
267
 
# as_fn_exit STATUS
268
 
# -----------------
269
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
270
 
as_fn_exit ()
271
 
{
272
 
  set +e
273
 
  as_fn_set_status $1
274
 
  exit $1
275
 
} # as_fn_exit
276
 
 
277
 
# as_fn_mkdir_p
278
 
# -------------
279
 
# Create "$as_dir" as a directory, including parents if necessary.
280
 
as_fn_mkdir_p ()
281
 
{
282
 
 
283
 
  case $as_dir in #(
284
 
  -*) as_dir=./$as_dir;;
285
 
  esac
286
 
  test -d "$as_dir" || eval $as_mkdir_p || {
287
 
    as_dirs=
288
 
    while :; do
289
 
      case $as_dir in #(
290
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
291
 
      *) as_qdir=$as_dir;;
292
 
      esac
293
 
      as_dirs="'$as_qdir' $as_dirs"
294
 
      as_dir=`$as_dirname -- "$as_dir" ||
295
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
296
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
297
 
         X"$as_dir" : 'X\(//\)$' \| \
298
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
299
 
$as_echo X"$as_dir" |
300
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
301
 
            s//\1/
302
 
            q
303
 
          }
304
 
          /^X\(\/\/\)[^/].*/{
305
 
            s//\1/
306
 
            q
307
 
          }
308
 
          /^X\(\/\/\)$/{
309
 
            s//\1/
310
 
            q
311
 
          }
312
 
          /^X\(\/\).*/{
313
 
            s//\1/
314
 
            q
315
 
          }
316
 
          s/.*/./; q'`
317
 
      test -d "$as_dir" && break
318
 
    done
319
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
320
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
321
 
 
322
 
 
323
 
} # as_fn_mkdir_p
324
 
# as_fn_append VAR VALUE
325
 
# ----------------------
326
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
327
 
# advantage of any shell optimizations that allow amortized linear growth over
328
 
# repeated appends, instead of the typical quadratic growth present in naive
329
 
# implementations.
330
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
331
 
  eval 'as_fn_append ()
332
 
  {
333
 
    eval $1+=\$2
334
 
  }'
335
 
else
336
 
  as_fn_append ()
337
 
  {
338
 
    eval $1=\$$1\$2
339
 
  }
340
 
fi # as_fn_append
341
 
 
342
 
# as_fn_arith ARG...
343
 
# ------------------
344
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
345
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
346
 
# must be portable across $(()) and expr.
347
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
348
 
  eval 'as_fn_arith ()
349
 
  {
350
 
    as_val=$(( $* ))
351
 
  }'
352
 
else
353
 
  as_fn_arith ()
354
 
  {
355
 
    as_val=`expr "$@" || test $? -eq 1`
356
 
  }
357
 
fi # as_fn_arith
358
 
 
359
 
 
360
 
# as_fn_error ERROR [LINENO LOG_FD]
361
 
# ---------------------------------
362
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
363
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364
 
# script with status $?, using 1 if that was 0.
365
 
as_fn_error ()
366
 
{
367
 
  as_status=$?; test $as_status -eq 0 && as_status=1
368
 
  if test "$3"; then
369
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
370
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371
 
  fi
372
 
  $as_echo "$as_me: error: $1" >&2
373
 
  as_fn_exit $as_status
374
 
} # as_fn_error
375
 
 
376
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
377
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
378
 
  as_expr=expr
379
 
else
380
 
  as_expr=false
381
 
fi
382
 
 
383
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
384
 
  as_basename=basename
385
 
else
386
 
  as_basename=false
387
 
fi
388
 
 
389
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
390
 
  as_dirname=dirname
391
 
else
392
 
  as_dirname=false
393
 
fi
394
 
 
395
 
as_me=`$as_basename -- "$0" ||
396
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
397
 
         X"$0" : 'X\(//\)$' \| \
398
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399
 
$as_echo X/"$0" |
400
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
401
 
            s//\1/
402
 
            q
403
 
          }
404
 
          /^X\/\(\/\/\)$/{
405
 
            s//\1/
406
 
            q
407
 
          }
408
 
          /^X\/\(\/\).*/{
409
 
            s//\1/
410
 
            q
411
 
          }
412
 
          s/.*/./; q'`
413
 
 
414
 
# Avoid depending upon Character Ranges.
415
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
416
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
417
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
418
 
as_cr_digits='0123456789'
419
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
420
 
 
421
 
 
422
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
423
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
424
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
425
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
426
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
371
 
 
372
    if test $as_have_required = no; then
 
373
  echo This script requires a shell more modern than all the
 
374
      echo shells that I found on your system.  Please install a
 
375
      echo modern shell, or manually run the script under such a
 
376
      echo shell if you do have one.
 
377
      { (exit 1); exit 1; }
 
378
fi
 
379
 
 
380
 
 
381
fi
 
382
 
 
383
fi
 
384
 
 
385
 
 
386
 
 
387
(eval "as_func_return () {
 
388
  (exit \$1)
 
389
}
 
390
as_func_success () {
 
391
  as_func_return 0
 
392
}
 
393
as_func_failure () {
 
394
  as_func_return 1
 
395
}
 
396
as_func_ret_success () {
 
397
  return 0
 
398
}
 
399
as_func_ret_failure () {
 
400
  return 1
 
401
}
 
402
 
 
403
exitcode=0
 
404
if as_func_success; then
 
405
  :
 
406
else
 
407
  exitcode=1
 
408
  echo as_func_success failed.
 
409
fi
 
410
 
 
411
if as_func_failure; then
 
412
  exitcode=1
 
413
  echo as_func_failure succeeded.
 
414
fi
 
415
 
 
416
if as_func_ret_success; then
 
417
  :
 
418
else
 
419
  exitcode=1
 
420
  echo as_func_ret_success failed.
 
421
fi
 
422
 
 
423
if as_func_ret_failure; then
 
424
  exitcode=1
 
425
  echo as_func_ret_failure succeeded.
 
426
fi
 
427
 
 
428
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
429
  :
 
430
else
 
431
  exitcode=1
 
432
  echo positional parameters were not saved.
 
433
fi
 
434
 
 
435
test \$exitcode = 0") || {
 
436
  echo No shell found that supports shell functions.
 
437
  echo Please tell bug-autoconf@gnu.org about your system,
 
438
  echo including any error possibly output before this message.
 
439
  echo This can help us improve future autoconf versions.
 
440
  echo Configuration will now proceed without shell functions.
 
441
}
 
442
 
 
443
 
 
444
 
 
445
  as_lineno_1=$LINENO
 
446
  as_lineno_2=$LINENO
 
447
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
448
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
449
 
 
450
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
451
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
452
  # line-number line after each line using $LINENO; the second 'sed'
 
453
  # does the real work.  The second script uses 'N' to pair each
 
454
  # line-number line with the line containing $LINENO, and appends
 
455
  # trailing '-' during substitution so that $LINENO is not a special
 
456
  # case at line end.
 
457
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
458
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
459
  # E. McMahon (1931-1989) for sed's syntax.  :-)
427
460
  sed -n '
428
461
    p
429
462
    /[$]LINENO/=
440
473
      s/-\n.*//
441
474
    ' >$as_me.lineno &&
442
475
  chmod +x "$as_me.lineno" ||
443
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
476
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
477
   { (exit 1); exit 1; }; }
444
478
 
445
479
  # Don't try to exec as it changes $[0], causing all sort of problems
446
480
  # (the dirname of $[0] is not the place where we might find the
450
484
  exit
451
485
}
452
486
 
 
487
 
 
488
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
489
  as_dirname=dirname
 
490
else
 
491
  as_dirname=false
 
492
fi
 
493
 
453
494
ECHO_C= ECHO_N= ECHO_T=
454
 
case `echo -n x` in #(((((
 
495
case `echo -n x` in
455
496
-n*)
456
 
  case `echo 'xy\c'` in
 
497
  case `echo 'x\c'` in
457
498
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
458
 
  xy)  ECHO_C='\c';;
459
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
460
 
       ECHO_T=' ';;
 
499
  *)   ECHO_C='\c';;
461
500
  esac;;
462
501
*)
463
502
  ECHO_N='-n';;
464
503
esac
 
504
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
505
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
506
  as_expr=expr
 
507
else
 
508
  as_expr=false
 
509
fi
465
510
 
466
511
rm -f conf$$ conf$$.exe conf$$.file
467
512
if test -d conf$$.dir; then
491
536
rmdir conf$$.dir 2>/dev/null
492
537
 
493
538
if mkdir -p . 2>/dev/null; then
494
 
  as_mkdir_p='mkdir -p "$as_dir"'
 
539
  as_mkdir_p=:
495
540
else
496
541
  test -d ./-p && rmdir ./-p
497
542
  as_mkdir_p=false
510
555
      if test -d "$1"; then
511
556
        test -d "$1/.";
512
557
      else
513
 
        case $1 in #(
 
558
        case $1 in
514
559
        -*)set "./$1";;
515
560
        esac;
516
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
561
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
517
562
        ???[sx]*):;;*)false;;esac;fi
518
563
    '\'' sh
519
564
  '
528
573
 
529
574
 
530
575
 
 
576
 
531
577
# Check that we are running under the correct shell.
532
578
SHELL=${CONFIG_SHELL-/bin/sh}
533
579
 
694
740
subdirs=
695
741
MFLAGS=
696
742
MAKEFLAGS=
 
743
SHELL=${CONFIG_SHELL-/bin/sh}
697
744
 
698
745
# Identity of this package.
699
746
PACKAGE_NAME='lordsawar'
700
747
PACKAGE_TARNAME='lordsawar'
701
 
PACKAGE_VERSION='0.1.6'
702
 
PACKAGE_STRING='lordsawar 0.1.6'
703
 
PACKAGE_BUGREPORT='http://sv.nongnu.org/bugs/?group=lordsawar'
704
 
PACKAGE_URL=''
 
748
PACKAGE_VERSION='0.1.8'
 
749
PACKAGE_STRING='lordsawar 0.1.8'
 
750
PACKAGE_BUGREPORT='lordsawar-discuss@nongnu.org'
705
751
 
706
752
ac_unique_file="config.h.in"
707
753
# Factoring default headers for most tests.
797
843
FGREP
798
844
SED
799
845
LIBTOOL
 
846
gppver
800
847
am__fastdepCXX_FALSE
801
848
am__fastdepCXX_TRUE
802
849
CXXDEPMODE
930
977
program_transform_name
931
978
prefix
932
979
exec_prefix
933
 
PACKAGE_URL
934
980
PACKAGE_BUGREPORT
935
981
PACKAGE_STRING
936
982
PACKAGE_VERSION
954
1000
enable_sdltest
955
1001
enable_sound
956
1002
with_expat
 
1003
with_libtar
957
1004
enable_winlibs
958
1005
enable_rpath
959
1006
with_libiconv_prefix
1095
1142
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1096
1143
    # Reject names that are not valid shell variable names.
1097
1144
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1098
 
      as_fn_error "invalid feature name: $ac_useropt"
 
1145
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
 
1146
   { (exit 1); exit 1; }; }
1099
1147
    ac_useropt_orig=$ac_useropt
1100
1148
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1101
1149
    case $ac_user_opts in
1121
1169
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1122
1170
    # Reject names that are not valid shell variable names.
1123
1171
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1124
 
      as_fn_error "invalid feature name: $ac_useropt"
 
1172
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
 
1173
   { (exit 1); exit 1; }; }
1125
1174
    ac_useropt_orig=$ac_useropt
1126
1175
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1127
1176
    case $ac_user_opts in
1325
1374
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1326
1375
    # Reject names that are not valid shell variable names.
1327
1376
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1328
 
      as_fn_error "invalid package name: $ac_useropt"
 
1377
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
 
1378
   { (exit 1); exit 1; }; }
1329
1379
    ac_useropt_orig=$ac_useropt
1330
1380
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1331
1381
    case $ac_user_opts in
1341
1391
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1342
1392
    # Reject names that are not valid shell variable names.
1343
1393
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1344
 
      as_fn_error "invalid package name: $ac_useropt"
 
1394
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
 
1395
   { (exit 1); exit 1; }; }
1345
1396
    ac_useropt_orig=$ac_useropt
1346
1397
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1347
1398
    case $ac_user_opts in
1371
1422
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1372
1423
    x_libraries=$ac_optarg ;;
1373
1424
 
1374
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1375
 
Try \`$0 --help' for more information."
 
1425
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
 
1426
Try \`$0 --help' for more information." >&2
 
1427
   { (exit 1); exit 1; }; }
1376
1428
    ;;
1377
1429
 
1378
1430
  *=*)
1379
1431
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1380
1432
    # Reject names that are not valid shell variable names.
1381
 
    case $ac_envvar in #(
1382
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1383
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1384
 
    esac
 
1433
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 
1434
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1435
   { (exit 1); exit 1; }; }
1385
1436
    eval $ac_envvar=\$ac_optarg
1386
1437
    export $ac_envvar ;;
1387
1438
 
1398
1449
 
1399
1450
if test -n "$ac_prev"; then
1400
1451
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1401
 
  as_fn_error "missing argument to $ac_option"
 
1452
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
 
1453
   { (exit 1); exit 1; }; }
1402
1454
fi
1403
1455
 
1404
1456
if test -n "$ac_unrecognized_opts"; then
1405
1457
  case $enable_option_checking in
1406
1458
    no) ;;
1407
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1459
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1460
   { (exit 1); exit 1; }; } ;;
1408
1461
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1409
1462
  esac
1410
1463
fi
1427
1480
    [\\/$]* | ?:[\\/]* )  continue;;
1428
1481
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1429
1482
  esac
1430
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1483
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1484
   { (exit 1); exit 1; }; }
1431
1485
done
1432
1486
 
1433
1487
# There might be people who depend on the old broken behavior: `$host'
1457
1511
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1458
1512
ac_ls_di=`ls -di .` &&
1459
1513
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1460
 
  as_fn_error "working directory cannot be determined"
 
1514
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
 
1515
   { (exit 1); exit 1; }; }
1461
1516
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1462
 
  as_fn_error "pwd does not report name of working directory"
 
1517
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
 
1518
   { (exit 1); exit 1; }; }
1463
1519
 
1464
1520
 
1465
1521
# Find the source files, if location was not specified.
1498
1554
fi
1499
1555
if test ! -r "$srcdir/$ac_unique_file"; then
1500
1556
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1501
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1557
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1558
   { (exit 1); exit 1; }; }
1502
1559
fi
1503
1560
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1504
1561
ac_abs_confdir=`(
1505
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1562
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
 
1563
   { (exit 1); exit 1; }; }
1506
1564
        pwd)`
1507
1565
# When building in place, set srcdir=.
1508
1566
if test "$ac_abs_confdir" = "$ac_pwd"; then
1528
1586
  # Omit some internal or obsolete options to make the list less imposing.
1529
1587
  # This message is too long to be a string in the A/UX 3.1 sh.
1530
1588
  cat <<_ACEOF
1531
 
\`configure' configures lordsawar 0.1.6 to adapt to many kinds of systems.
 
1589
\`configure' configures lordsawar 0.1.8 to adapt to many kinds of systems.
1532
1590
 
1533
1591
Usage: $0 [OPTION]... [VAR=VALUE]...
1534
1592
 
1599
1657
 
1600
1658
if test -n "$ac_init_help"; then
1601
1659
  case $ac_init_help in
1602
 
     short | recursive ) echo "Configuration of lordsawar 0.1.6:";;
 
1660
     short | recursive ) echo "Configuration of lordsawar 0.1.8:";;
1603
1661
   esac
1604
1662
  cat <<\_ACEOF
1605
1663
 
1633
1691
  --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)
1634
1692
  --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1635
1693
  --with-expat=<dir>      Use expat from here
 
1694
  --with-libtar=<dir>      Use libtar from here
1636
1695
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1637
1696
  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1638
1697
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1674
1733
Use these variables to override the choices made by `configure' or to help
1675
1734
it to find libraries and programs with nonstandard names/locations.
1676
1735
 
1677
 
Report bugs to <http://sv.nongnu.org/bugs/?group=lordsawar>.
 
1736
Report bugs to <lordsawar-discuss@nongnu.org>.
1678
1737
_ACEOF
1679
1738
ac_status=$?
1680
1739
fi
1737
1796
test -n "$ac_init_help" && exit $ac_status
1738
1797
if $ac_init_version; then
1739
1798
  cat <<\_ACEOF
1740
 
lordsawar configure 0.1.6
1741
 
generated by GNU Autoconf 2.64
 
1799
lordsawar configure 0.1.8
 
1800
generated by GNU Autoconf 2.63
1742
1801
 
1743
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
1802
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1803
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1744
1804
This configure script is free software; the Free Software Foundation
1745
1805
gives unlimited permission to copy, distribute and modify it.
1746
1806
_ACEOF
1747
1807
  exit
1748
1808
fi
1749
 
 
1750
 
## ------------------------ ##
1751
 
## Autoconf initialization. ##
1752
 
## ------------------------ ##
1753
 
 
1754
 
# ac_fn_c_try_compile LINENO
1755
 
# --------------------------
1756
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1757
 
ac_fn_c_try_compile ()
1758
 
{
1759
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760
 
  rm -f conftest.$ac_objext
1761
 
  if { { ac_try="$ac_compile"
1762
 
case "(($ac_try" in
1763
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1764
 
  *) ac_try_echo=$ac_try;;
1765
 
esac
1766
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767
 
$as_echo "$ac_try_echo"; } >&5
1768
 
  (eval "$ac_compile") 2>conftest.err
1769
 
  ac_status=$?
1770
 
  if test -s conftest.err; then
1771
 
    grep -v '^ *+' conftest.err >conftest.er1
1772
 
    cat conftest.er1 >&5
1773
 
    mv -f conftest.er1 conftest.err
1774
 
  fi
1775
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776
 
  test $ac_status = 0; } && {
1777
 
         test -z "$ac_c_werror_flag" ||
1778
 
         test ! -s conftest.err
1779
 
       } && test -s conftest.$ac_objext; then :
1780
 
  ac_retval=0
1781
 
else
1782
 
  $as_echo "$as_me: failed program was:" >&5
1783
 
sed 's/^/| /' conftest.$ac_ext >&5
1784
 
 
1785
 
        ac_retval=1
1786
 
fi
1787
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1788
 
  return $ac_retval
1789
 
 
1790
 
} # ac_fn_c_try_compile
1791
 
 
1792
 
# ac_fn_c_try_link LINENO
1793
 
# -----------------------
1794
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1795
 
ac_fn_c_try_link ()
1796
 
{
1797
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1799
 
  if { { ac_try="$ac_link"
1800
 
case "(($ac_try" in
1801
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1802
 
  *) ac_try_echo=$ac_try;;
1803
 
esac
1804
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1805
 
$as_echo "$ac_try_echo"; } >&5
1806
 
  (eval "$ac_link") 2>conftest.err
1807
 
  ac_status=$?
1808
 
  if test -s conftest.err; then
1809
 
    grep -v '^ *+' conftest.err >conftest.er1
1810
 
    cat conftest.er1 >&5
1811
 
    mv -f conftest.er1 conftest.err
1812
 
  fi
1813
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1814
 
  test $ac_status = 0; } && {
1815
 
         test -z "$ac_c_werror_flag" ||
1816
 
         test ! -s conftest.err
1817
 
       } && test -s conftest$ac_exeext && {
1818
 
         test "$cross_compiling" = yes ||
1819
 
         $as_test_x conftest$ac_exeext
1820
 
       }; then :
1821
 
  ac_retval=0
1822
 
else
1823
 
  $as_echo "$as_me: failed program was:" >&5
1824
 
sed 's/^/| /' conftest.$ac_ext >&5
1825
 
 
1826
 
        ac_retval=1
1827
 
fi
1828
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1829
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1830
 
  # interfere with the next link command; also delete a directory that is
1831
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1832
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1833
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1834
 
  return $ac_retval
1835
 
 
1836
 
} # ac_fn_c_try_link
1837
 
 
1838
 
# ac_fn_c_check_func LINENO FUNC VAR
1839
 
# ----------------------------------
1840
 
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1841
 
ac_fn_c_check_func ()
1842
 
{
1843
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1845
 
$as_echo_n "checking for $2... " >&6; }
1846
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1847
 
  $as_echo_n "(cached) " >&6
1848
 
else
1849
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1850
 
/* end confdefs.h.  */
1851
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1852
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1853
 
#define $2 innocuous_$2
1854
 
 
1855
 
/* System header to define __stub macros and hopefully few prototypes,
1856
 
    which can conflict with char $2 (); below.
1857
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1858
 
    <limits.h> exists even on freestanding compilers.  */
1859
 
 
1860
 
#ifdef __STDC__
1861
 
# include <limits.h>
1862
 
#else
1863
 
# include <assert.h>
1864
 
#endif
1865
 
 
1866
 
#undef $2
1867
 
 
1868
 
/* Override any GCC internal prototype to avoid an error.
1869
 
   Use char because int might match the return type of a GCC
1870
 
   builtin and then its argument prototype would still apply.  */
1871
 
#ifdef __cplusplus
1872
 
extern "C"
1873
 
#endif
1874
 
char $2 ();
1875
 
/* The GNU C library defines this for functions which it implements
1876
 
    to always fail with ENOSYS.  Some functions are actually named
1877
 
    something starting with __ and the normal name is an alias.  */
1878
 
#if defined __stub_$2 || defined __stub___$2
1879
 
choke me
1880
 
#endif
1881
 
 
1882
 
int
1883
 
main ()
1884
 
{
1885
 
return $2 ();
1886
 
  ;
1887
 
  return 0;
1888
 
}
1889
 
_ACEOF
1890
 
if ac_fn_c_try_link "$LINENO"; then :
1891
 
  eval "$3=yes"
1892
 
else
1893
 
  eval "$3=no"
1894
 
fi
1895
 
rm -f core conftest.err conftest.$ac_objext \
1896
 
    conftest$ac_exeext conftest.$ac_ext
1897
 
fi
1898
 
eval ac_res=\$$3
1899
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1900
 
$as_echo "$ac_res" >&6; }
1901
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1902
 
 
1903
 
} # ac_fn_c_check_func
1904
 
 
1905
 
# ac_fn_c_try_cpp LINENO
1906
 
# ----------------------
1907
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1908
 
ac_fn_c_try_cpp ()
1909
 
{
1910
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1912
 
case "(($ac_try" in
1913
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1914
 
  *) ac_try_echo=$ac_try;;
1915
 
esac
1916
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1917
 
$as_echo "$ac_try_echo"; } >&5
1918
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1919
 
  ac_status=$?
1920
 
  if test -s conftest.err; then
1921
 
    grep -v '^ *+' conftest.err >conftest.er1
1922
 
    cat conftest.er1 >&5
1923
 
    mv -f conftest.er1 conftest.err
1924
 
  fi
1925
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1926
 
  test $ac_status = 0; } >/dev/null && {
1927
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1928
 
         test ! -s conftest.err
1929
 
       }; then :
1930
 
  ac_retval=0
1931
 
else
1932
 
  $as_echo "$as_me: failed program was:" >&5
1933
 
sed 's/^/| /' conftest.$ac_ext >&5
1934
 
 
1935
 
    ac_retval=1
1936
 
fi
1937
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1938
 
  return $ac_retval
1939
 
 
1940
 
} # ac_fn_c_try_cpp
1941
 
 
1942
 
# ac_fn_c_try_run LINENO
1943
 
# ----------------------
1944
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1945
 
# that executables *can* be run.
1946
 
ac_fn_c_try_run ()
1947
 
{
1948
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949
 
  if { { ac_try="$ac_link"
1950
 
case "(($ac_try" in
1951
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1952
 
  *) ac_try_echo=$ac_try;;
1953
 
esac
1954
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1955
 
$as_echo "$ac_try_echo"; } >&5
1956
 
  (eval "$ac_link") 2>&5
1957
 
  ac_status=$?
1958
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1959
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1960
 
  { { case "(($ac_try" in
1961
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1962
 
  *) ac_try_echo=$ac_try;;
1963
 
esac
1964
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1965
 
$as_echo "$ac_try_echo"; } >&5
1966
 
  (eval "$ac_try") 2>&5
1967
 
  ac_status=$?
1968
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1969
 
  test $ac_status = 0; }; }; then :
1970
 
  ac_retval=0
1971
 
else
1972
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1973
 
       $as_echo "$as_me: failed program was:" >&5
1974
 
sed 's/^/| /' conftest.$ac_ext >&5
1975
 
 
1976
 
       ac_retval=$ac_status
1977
 
fi
1978
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1979
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1980
 
  return $ac_retval
1981
 
 
1982
 
} # ac_fn_c_try_run
1983
 
 
1984
 
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1985
 
# -------------------------------------------------------
1986
 
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1987
 
# the include files in INCLUDES and setting the cache variable VAR
1988
 
# accordingly.
1989
 
ac_fn_c_check_header_mongrel ()
1990
 
{
1991
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1993
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1994
 
$as_echo_n "checking for $2... " >&6; }
1995
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1996
 
  $as_echo_n "(cached) " >&6
1997
 
fi
1998
 
eval ac_res=\$$3
1999
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2000
 
$as_echo "$ac_res" >&6; }
2001
 
else
2002
 
  # Is the header compilable?
2003
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2004
 
$as_echo_n "checking $2 usability... " >&6; }
2005
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2006
 
/* end confdefs.h.  */
2007
 
$4
2008
 
#include <$2>
2009
 
_ACEOF
2010
 
if ac_fn_c_try_compile "$LINENO"; then :
2011
 
  ac_header_compiler=yes
2012
 
else
2013
 
  ac_header_compiler=no
2014
 
fi
2015
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2016
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2017
 
$as_echo "$ac_header_compiler" >&6; }
2018
 
 
2019
 
# Is the header present?
2020
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2021
 
$as_echo_n "checking $2 presence... " >&6; }
2022
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2023
 
/* end confdefs.h.  */
2024
 
#include <$2>
2025
 
_ACEOF
2026
 
if ac_fn_c_try_cpp "$LINENO"; then :
2027
 
  ac_header_preproc=yes
2028
 
else
2029
 
  ac_header_preproc=no
2030
 
fi
2031
 
rm -f conftest.err conftest.$ac_ext
2032
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2033
 
$as_echo "$ac_header_preproc" >&6; }
2034
 
 
2035
 
# So?  What about this header?
2036
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2037
 
  yes:no: )
2038
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2039
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2040
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2041
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2042
 
    ;;
2043
 
  no:yes:* )
2044
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2045
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2046
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2047
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2048
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2049
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2050
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2051
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2052
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2053
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2054
 
( cat <<\_ASBOX
2055
 
## --------------------------------------------------------- ##
2056
 
## Report this to http://sv.nongnu.org/bugs/?group=lordsawar ##
2057
 
## --------------------------------------------------------- ##
2058
 
_ASBOX
2059
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
2060
 
    ;;
2061
 
esac
2062
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2063
 
$as_echo_n "checking for $2... " >&6; }
2064
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2065
 
  $as_echo_n "(cached) " >&6
2066
 
else
2067
 
  eval "$3=\$ac_header_compiler"
2068
 
fi
2069
 
eval ac_res=\$$3
2070
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2071
 
$as_echo "$ac_res" >&6; }
2072
 
fi
2073
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2074
 
 
2075
 
} # ac_fn_c_check_header_mongrel
2076
 
 
2077
 
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2078
 
# -------------------------------------------------------
2079
 
# Tests whether HEADER exists and can be compiled using the include files in
2080
 
# INCLUDES, setting the cache variable VAR accordingly.
2081
 
ac_fn_c_check_header_compile ()
2082
 
{
2083
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2085
 
$as_echo_n "checking for $2... " >&6; }
2086
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2087
 
  $as_echo_n "(cached) " >&6
2088
 
else
2089
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2090
 
/* end confdefs.h.  */
2091
 
$4
2092
 
#include <$2>
2093
 
_ACEOF
2094
 
if ac_fn_c_try_compile "$LINENO"; then :
2095
 
  eval "$3=yes"
2096
 
else
2097
 
  eval "$3=no"
2098
 
fi
2099
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2100
 
fi
2101
 
eval ac_res=\$$3
2102
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2103
 
$as_echo "$ac_res" >&6; }
2104
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2105
 
 
2106
 
} # ac_fn_c_check_header_compile
2107
 
 
2108
 
# ac_fn_cxx_try_compile LINENO
2109
 
# ----------------------------
2110
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
2111
 
ac_fn_cxx_try_compile ()
2112
 
{
2113
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2114
 
  rm -f conftest.$ac_objext
2115
 
  if { { ac_try="$ac_compile"
2116
 
case "(($ac_try" in
2117
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2118
 
  *) ac_try_echo=$ac_try;;
2119
 
esac
2120
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2121
 
$as_echo "$ac_try_echo"; } >&5
2122
 
  (eval "$ac_compile") 2>conftest.err
2123
 
  ac_status=$?
2124
 
  if test -s conftest.err; then
2125
 
    grep -v '^ *+' conftest.err >conftest.er1
2126
 
    cat conftest.er1 >&5
2127
 
    mv -f conftest.er1 conftest.err
2128
 
  fi
2129
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2130
 
  test $ac_status = 0; } && {
2131
 
         test -z "$ac_cxx_werror_flag" ||
2132
 
         test ! -s conftest.err
2133
 
       } && test -s conftest.$ac_objext; then :
2134
 
  ac_retval=0
2135
 
else
2136
 
  $as_echo "$as_me: failed program was:" >&5
2137
 
sed 's/^/| /' conftest.$ac_ext >&5
2138
 
 
2139
 
        ac_retval=1
2140
 
fi
2141
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2142
 
  return $ac_retval
2143
 
 
2144
 
} # ac_fn_cxx_try_compile
2145
 
 
2146
 
# ac_fn_cxx_try_cpp LINENO
2147
 
# ------------------------
2148
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2149
 
ac_fn_cxx_try_cpp ()
2150
 
{
2151
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2152
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
2153
 
case "(($ac_try" in
2154
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2155
 
  *) ac_try_echo=$ac_try;;
2156
 
esac
2157
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2158
 
$as_echo "$ac_try_echo"; } >&5
2159
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2160
 
  ac_status=$?
2161
 
  if test -s conftest.err; then
2162
 
    grep -v '^ *+' conftest.err >conftest.er1
2163
 
    cat conftest.er1 >&5
2164
 
    mv -f conftest.er1 conftest.err
2165
 
  fi
2166
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2167
 
  test $ac_status = 0; } >/dev/null && {
2168
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2169
 
         test ! -s conftest.err
2170
 
       }; then :
2171
 
  ac_retval=0
2172
 
else
2173
 
  $as_echo "$as_me: failed program was:" >&5
2174
 
sed 's/^/| /' conftest.$ac_ext >&5
2175
 
 
2176
 
    ac_retval=1
2177
 
fi
2178
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2179
 
  return $ac_retval
2180
 
 
2181
 
} # ac_fn_cxx_try_cpp
2182
 
 
2183
 
# ac_fn_cxx_try_link LINENO
2184
 
# -------------------------
2185
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
2186
 
ac_fn_cxx_try_link ()
2187
 
{
2188
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2189
 
  rm -f conftest.$ac_objext conftest$ac_exeext
2190
 
  if { { ac_try="$ac_link"
2191
 
case "(($ac_try" in
2192
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2193
 
  *) ac_try_echo=$ac_try;;
2194
 
esac
2195
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2196
 
$as_echo "$ac_try_echo"; } >&5
2197
 
  (eval "$ac_link") 2>conftest.err
2198
 
  ac_status=$?
2199
 
  if test -s conftest.err; then
2200
 
    grep -v '^ *+' conftest.err >conftest.er1
2201
 
    cat conftest.er1 >&5
2202
 
    mv -f conftest.er1 conftest.err
2203
 
  fi
2204
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2205
 
  test $ac_status = 0; } && {
2206
 
         test -z "$ac_cxx_werror_flag" ||
2207
 
         test ! -s conftest.err
2208
 
       } && test -s conftest$ac_exeext && {
2209
 
         test "$cross_compiling" = yes ||
2210
 
         $as_test_x conftest$ac_exeext
2211
 
       }; then :
2212
 
  ac_retval=0
2213
 
else
2214
 
  $as_echo "$as_me: failed program was:" >&5
2215
 
sed 's/^/| /' conftest.$ac_ext >&5
2216
 
 
2217
 
        ac_retval=1
2218
 
fi
2219
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2220
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2221
 
  # interfere with the next link command; also delete a directory that is
2222
 
  # left behind by Apple's compiler.  We do this before executing the actions.
2223
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2224
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2225
 
  return $ac_retval
2226
 
 
2227
 
} # ac_fn_cxx_try_link
2228
 
 
2229
 
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2230
 
# ---------------------------------------------------------
2231
 
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2232
 
# the include files in INCLUDES and setting the cache variable VAR
2233
 
# accordingly.
2234
 
ac_fn_cxx_check_header_mongrel ()
2235
 
{
2236
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2237
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2238
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2239
 
$as_echo_n "checking for $2... " >&6; }
2240
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2241
 
  $as_echo_n "(cached) " >&6
2242
 
fi
2243
 
eval ac_res=\$$3
2244
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2245
 
$as_echo "$ac_res" >&6; }
2246
 
else
2247
 
  # Is the header compilable?
2248
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2249
 
$as_echo_n "checking $2 usability... " >&6; }
2250
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2251
 
/* end confdefs.h.  */
2252
 
$4
2253
 
#include <$2>
2254
 
_ACEOF
2255
 
if ac_fn_cxx_try_compile "$LINENO"; then :
2256
 
  ac_header_compiler=yes
2257
 
else
2258
 
  ac_header_compiler=no
2259
 
fi
2260
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2261
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2262
 
$as_echo "$ac_header_compiler" >&6; }
2263
 
 
2264
 
# Is the header present?
2265
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2266
 
$as_echo_n "checking $2 presence... " >&6; }
2267
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268
 
/* end confdefs.h.  */
2269
 
#include <$2>
2270
 
_ACEOF
2271
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
2272
 
  ac_header_preproc=yes
2273
 
else
2274
 
  ac_header_preproc=no
2275
 
fi
2276
 
rm -f conftest.err conftest.$ac_ext
2277
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2278
 
$as_echo "$ac_header_preproc" >&6; }
2279
 
 
2280
 
# So?  What about this header?
2281
 
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2282
 
  yes:no: )
2283
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2284
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2285
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2286
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2287
 
    ;;
2288
 
  no:yes:* )
2289
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2290
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2291
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2292
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2293
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2294
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2295
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2296
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2297
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2298
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2299
 
( cat <<\_ASBOX
2300
 
## --------------------------------------------------------- ##
2301
 
## Report this to http://sv.nongnu.org/bugs/?group=lordsawar ##
2302
 
## --------------------------------------------------------- ##
2303
 
_ASBOX
2304
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
2305
 
    ;;
2306
 
esac
2307
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2308
 
$as_echo_n "checking for $2... " >&6; }
2309
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2310
 
  $as_echo_n "(cached) " >&6
2311
 
else
2312
 
  eval "$3=\$ac_header_compiler"
2313
 
fi
2314
 
eval ac_res=\$$3
2315
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2316
 
$as_echo "$ac_res" >&6; }
2317
 
fi
2318
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2319
 
 
2320
 
} # ac_fn_cxx_check_header_mongrel
2321
1809
cat >config.log <<_ACEOF
2322
1810
This file contains any messages produced by compilers while
2323
1811
running configure, to aid debugging if configure makes a mistake.
2324
1812
 
2325
 
It was created by lordsawar $as_me 0.1.6, which was
2326
 
generated by GNU Autoconf 2.64.  Invocation command line was
 
1813
It was created by lordsawar $as_me 0.1.8, which was
 
1814
generated by GNU Autoconf 2.63.  Invocation command line was
2327
1815
 
2328
1816
  $ $0 $@
2329
1817
 
2359
1847
do
2360
1848
  IFS=$as_save_IFS
2361
1849
  test -z "$as_dir" && as_dir=.
2362
 
    $as_echo "PATH: $as_dir"
2363
 
  done
 
1850
  $as_echo "PATH: $as_dir"
 
1851
done
2364
1852
IFS=$as_save_IFS
2365
1853
 
2366
1854
} >&5
2397
1885
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2398
1886
    esac
2399
1887
    case $ac_pass in
2400
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
1888
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2401
1889
    2)
2402
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
1890
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2403
1891
      if test $ac_must_keep_next = true; then
2404
1892
        ac_must_keep_next=false # Got value, back to normal.
2405
1893
      else
2415
1903
          -* ) ac_must_keep_next=true ;;
2416
1904
        esac
2417
1905
      fi
2418
 
      as_fn_append ac_configure_args " '$ac_arg'"
 
1906
      ac_configure_args="$ac_configure_args '$ac_arg'"
2419
1907
      ;;
2420
1908
    esac
2421
1909
  done
2422
1910
done
2423
 
{ ac_configure_args0=; unset ac_configure_args0;}
2424
 
{ ac_configure_args1=; unset ac_configure_args1;}
 
1911
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 
1912
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2425
1913
 
2426
1914
# When interrupted or exit'd, cleanup temporary files, and complete
2427
1915
# config.log.  We remove comments because anyway the quotes in there
2446
1934
    case $ac_val in #(
2447
1935
    *${as_nl}*)
2448
1936
      case $ac_var in #(
2449
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
1937
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2450
1938
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2451
1939
      esac
2452
1940
      case $ac_var in #(
2453
1941
      _ | IFS | as_nl) ;; #(
2454
1942
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2455
 
      *) { eval $ac_var=; unset $ac_var;} ;;
 
1943
      *) $as_unset $ac_var ;;
2456
1944
      esac ;;
2457
1945
    esac
2458
1946
  done
2524
2012
    exit $exit_status
2525
2013
' 0
2526
2014
for ac_signal in 1 2 13 15; do
2527
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
2015
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2528
2016
done
2529
2017
ac_signal=0
2530
2018
 
2531
2019
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2532
2020
rm -f -r conftest* confdefs.h
2533
2021
 
2534
 
$as_echo "/* confdefs.h */" > confdefs.h
2535
 
 
2536
2022
# Predefined preprocessor variables.
2537
2023
 
2538
2024
cat >>confdefs.h <<_ACEOF
2539
2025
#define PACKAGE_NAME "$PACKAGE_NAME"
2540
2026
_ACEOF
2541
2027
 
 
2028
 
2542
2029
cat >>confdefs.h <<_ACEOF
2543
2030
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2544
2031
_ACEOF
2545
2032
 
 
2033
 
2546
2034
cat >>confdefs.h <<_ACEOF
2547
2035
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2548
2036
_ACEOF
2549
2037
 
 
2038
 
2550
2039
cat >>confdefs.h <<_ACEOF
2551
2040
#define PACKAGE_STRING "$PACKAGE_STRING"
2552
2041
_ACEOF
2553
2042
 
 
2043
 
2554
2044
cat >>confdefs.h <<_ACEOF
2555
2045
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2556
2046
_ACEOF
2557
2047
 
2558
 
cat >>confdefs.h <<_ACEOF
2559
 
#define PACKAGE_URL "$PACKAGE_URL"
2560
 
_ACEOF
2561
 
 
2562
2048
 
2563
2049
# Let the site file select an alternate cache file if it wants to.
2564
2050
# Prefer an explicitly selected file to automatically selected ones.
2577
2063
do
2578
2064
  test "x$ac_site_file" = xNONE && continue
2579
2065
  if test -r "$ac_site_file"; then
2580
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2066
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2581
2067
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2582
2068
    sed 's/^/| /' "$ac_site_file" >&5
2583
2069
    . "$ac_site_file"
2588
2074
  # Some versions of bash will fail to source /dev/null (special
2589
2075
  # files actually), so we avoid doing that.
2590
2076
  if test -f "$cache_file"; then
2591
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2077
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2592
2078
$as_echo "$as_me: loading cache $cache_file" >&6;}
2593
2079
    case $cache_file in
2594
2080
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2596
2082
    esac
2597
2083
  fi
2598
2084
else
2599
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2085
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2600
2086
$as_echo "$as_me: creating cache $cache_file" >&6;}
2601
2087
  >$cache_file
2602
2088
fi
2612
2098
  eval ac_new_val=\$ac_env_${ac_var}_value
2613
2099
  case $ac_old_set,$ac_new_set in
2614
2100
    set,)
2615
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2101
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2616
2102
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2617
2103
      ac_cache_corrupted=: ;;
2618
2104
    ,set)
2619
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2105
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2620
2106
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2621
2107
      ac_cache_corrupted=: ;;
2622
2108
    ,);;
2626
2112
        ac_old_val_w=`echo x $ac_old_val`
2627
2113
        ac_new_val_w=`echo x $ac_new_val`
2628
2114
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2629
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2115
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2630
2116
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2631
2117
          ac_cache_corrupted=:
2632
2118
        else
2633
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2119
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2634
2120
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2635
2121
          eval $ac_var=\$ac_old_val
2636
2122
        fi
2637
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2123
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
2638
2124
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2639
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2125
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
2640
2126
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2641
2127
      fi;;
2642
2128
  esac
2648
2134
    esac
2649
2135
    case " $ac_configure_args " in
2650
2136
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2651
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
2137
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2652
2138
    esac
2653
2139
  fi
2654
2140
done
2655
2141
if $ac_cache_corrupted; then
2656
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2142
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2657
2143
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2658
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2144
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2659
2145
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2660
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2146
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
2147
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
2148
   { (exit 1); exit 1; }; }
2661
2149
fi
2662
 
## -------------------- ##
2663
 
## Main body of script. ##
2664
 
## -------------------- ##
 
2150
 
 
2151
 
 
2152
 
 
2153
 
 
2154
 
 
2155
 
 
2156
 
 
2157
 
 
2158
 
 
2159
 
 
2160
 
 
2161
 
 
2162
 
 
2163
 
 
2164
 
 
2165
 
 
2166
 
 
2167
 
 
2168
 
 
2169
 
 
2170
 
 
2171
 
 
2172
 
 
2173
 
2665
2174
 
2666
2175
ac_ext=c
2667
2176
ac_cpp='$CPP $CPPFLAGS'
2677
2186
 
2678
2187
ac_aux_dir=
2679
2188
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2680
 
  for ac_t in install-sh install.sh shtool; do
2681
 
    if test -f "$ac_dir/$ac_t"; then
2682
 
      ac_aux_dir=$ac_dir
2683
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2684
 
      break 2
2685
 
    fi
2686
 
  done
 
2189
  if test -f "$ac_dir/install-sh"; then
 
2190
    ac_aux_dir=$ac_dir
 
2191
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2192
    break
 
2193
  elif test -f "$ac_dir/install.sh"; then
 
2194
    ac_aux_dir=$ac_dir
 
2195
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2196
    break
 
2197
  elif test -f "$ac_dir/shtool"; then
 
2198
    ac_aux_dir=$ac_dir
 
2199
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2200
    break
 
2201
  fi
2687
2202
done
2688
2203
if test -z "$ac_aux_dir"; then
2689
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2204
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2205
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
2206
   { (exit 1); exit 1; }; }
2690
2207
fi
2691
2208
 
2692
2209
# These three variables are undocumented and unsupported,
2700
2217
 
2701
2218
# Make sure we can run config.sub.
2702
2219
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2703
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
2220
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
2221
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
2222
   { (exit 1); exit 1; }; }
2704
2223
 
2705
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
2224
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
2706
2225
$as_echo_n "checking build system type... " >&6; }
2707
 
if test "${ac_cv_build+set}" = set; then :
 
2226
if test "${ac_cv_build+set}" = set; then
2708
2227
  $as_echo_n "(cached) " >&6
2709
2228
else
2710
2229
  ac_build_alias=$build_alias
2711
2230
test "x$ac_build_alias" = x &&
2712
2231
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2713
2232
test "x$ac_build_alias" = x &&
2714
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
2233
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
2234
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
2235
   { (exit 1); exit 1; }; }
2715
2236
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2716
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
2237
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
2238
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
2239
   { (exit 1); exit 1; }; }
2717
2240
 
2718
2241
fi
2719
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
2242
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2720
2243
$as_echo "$ac_cv_build" >&6; }
2721
2244
case $ac_cv_build in
2722
2245
*-*-*) ;;
2723
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
2246
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
2247
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
 
2248
   { (exit 1); exit 1; }; };;
2724
2249
esac
2725
2250
build=$ac_cv_build
2726
2251
ac_save_IFS=$IFS; IFS='-'
2736
2261
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2737
2262
 
2738
2263
 
2739
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
2264
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
2740
2265
$as_echo_n "checking host system type... " >&6; }
2741
 
if test "${ac_cv_host+set}" = set; then :
 
2266
if test "${ac_cv_host+set}" = set; then
2742
2267
  $as_echo_n "(cached) " >&6
2743
2268
else
2744
2269
  if test "x$host_alias" = x; then
2745
2270
  ac_cv_host=$ac_cv_build
2746
2271
else
2747
2272
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2748
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
2273
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
2274
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
2275
   { (exit 1); exit 1; }; }
2749
2276
fi
2750
2277
 
2751
2278
fi
2752
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
2279
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2753
2280
$as_echo "$ac_cv_host" >&6; }
2754
2281
case $ac_cv_host in
2755
2282
*-*-*) ;;
2756
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
2283
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2284
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
 
2285
   { (exit 1); exit 1; }; };;
2757
2286
esac
2758
2287
host=$ac_cv_host
2759
2288
ac_save_IFS=$IFS; IFS='-'
2769
2298
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2770
2299
 
2771
2300
 
2772
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 
2301
{ $as_echo "$as_me:$LINENO: checking target system type" >&5
2773
2302
$as_echo_n "checking target system type... " >&6; }
2774
 
if test "${ac_cv_target+set}" = set; then :
 
2303
if test "${ac_cv_target+set}" = set; then
2775
2304
  $as_echo_n "(cached) " >&6
2776
2305
else
2777
2306
  if test "x$target_alias" = x; then
2778
2307
  ac_cv_target=$ac_cv_host
2779
2308
else
2780
2309
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2781
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 
2310
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
 
2311
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
 
2312
   { (exit 1); exit 1; }; }
2782
2313
fi
2783
2314
 
2784
2315
fi
2785
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
 
2316
{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2786
2317
$as_echo "$ac_cv_target" >&6; }
2787
2318
case $ac_cv_target in
2788
2319
*-*-*) ;;
2789
 
*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
 
2320
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
 
2321
$as_echo "$as_me: error: invalid value of canonical target" >&2;}
 
2322
   { (exit 1); exit 1; }; };;
2790
2323
esac
2791
2324
target=$ac_cv_target
2792
2325
ac_save_IFS=$IFS; IFS='-'
2825
2358
# OS/2's system install, which has a completely different semantic
2826
2359
# ./install, which can be erroneously created by make from ./install.sh.
2827
2360
# Reject install programs that cannot install multiple files.
2828
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2361
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2829
2362
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2830
2363
if test -z "$INSTALL"; then
2831
 
if test "${ac_cv_path_install+set}" = set; then :
 
2364
if test "${ac_cv_path_install+set}" = set; then
2832
2365
  $as_echo_n "(cached) " >&6
2833
2366
else
2834
2367
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2836
2369
do
2837
2370
  IFS=$as_save_IFS
2838
2371
  test -z "$as_dir" && as_dir=.
2839
 
    # Account for people who put trailing slashes in PATH elements.
2840
 
case $as_dir/ in #((
2841
 
  ./ | .// | /[cC]/* | \
 
2372
  # Account for people who put trailing slashes in PATH elements.
 
2373
case $as_dir/ in
 
2374
  ./ | .// | /cC/* | \
2842
2375
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2843
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
2376
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2844
2377
  /usr/ucb/* ) ;;
2845
2378
  *)
2846
2379
    # OSF1 and SCO ODT 3.0 have their own names for install.
2877
2410
    ;;
2878
2411
esac
2879
2412
 
2880
 
  done
 
2413
done
2881
2414
IFS=$as_save_IFS
2882
2415
 
2883
2416
rm -rf conftest.one conftest.two conftest.dir
2893
2426
    INSTALL=$ac_install_sh
2894
2427
  fi
2895
2428
fi
2896
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2429
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2897
2430
$as_echo "$INSTALL" >&6; }
2898
2431
 
2899
2432
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2904
2437
 
2905
2438
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2906
2439
 
2907
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2440
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2908
2441
$as_echo_n "checking whether build environment is sane... " >&6; }
2909
2442
# Just in case
2910
2443
sleep 1
2915
2448
'
2916
2449
case `pwd` in
2917
2450
  *[\\\"\#\$\&\'\`$am_lf]*)
2918
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2451
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
 
2452
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
 
2453
   { (exit 1); exit 1; }; };;
2919
2454
esac
2920
2455
case $srcdir in
2921
2456
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2922
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2457
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
 
2458
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
 
2459
   { (exit 1); exit 1; }; };;
2923
2460
esac
2924
2461
 
2925
2462
# Do `set' in a subshell so we don't clobber the current shell's
2941
2478
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2942
2479
      # broken ls alias from the environment.  This has actually
2943
2480
      # happened.  Such a system could not be considered "sane".
2944
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2945
 
alias in your environment" "$LINENO" 5
 
2481
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2482
alias in your environment" >&5
 
2483
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2484
alias in your environment" >&2;}
 
2485
   { (exit 1); exit 1; }; }
2946
2486
   fi
2947
2487
 
2948
2488
   test "$2" = conftest.file
2951
2491
   # Ok.
2952
2492
   :
2953
2493
else
2954
 
   as_fn_error "newly created file is older than distributed files!
2955
 
Check your system clock" "$LINENO" 5
 
2494
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2495
Check your system clock" >&5
 
2496
$as_echo "$as_me: error: newly created file is older than distributed files!
 
2497
Check your system clock" >&2;}
 
2498
   { (exit 1); exit 1; }; }
2956
2499
fi
2957
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2500
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2958
2501
$as_echo "yes" >&6; }
2959
2502
test "$program_prefix" != NONE &&
2960
2503
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2982
2525
  am_missing_run="$MISSING --run "
2983
2526
else
2984
2527
  am_missing_run=
2985
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2528
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2986
2529
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2987
2530
fi
2988
2531
 
3003
2546
  if test -n "$ac_tool_prefix"; then
3004
2547
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3005
2548
set dummy ${ac_tool_prefix}strip; ac_word=$2
3006
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2549
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3007
2550
$as_echo_n "checking for $ac_word... " >&6; }
3008
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2551
if test "${ac_cv_prog_STRIP+set}" = set; then
3009
2552
  $as_echo_n "(cached) " >&6
3010
2553
else
3011
2554
  if test -n "$STRIP"; then
3016
2559
do
3017
2560
  IFS=$as_save_IFS
3018
2561
  test -z "$as_dir" && as_dir=.
3019
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2562
  for ac_exec_ext in '' $ac_executable_extensions; do
3020
2563
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3021
2564
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3022
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2565
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3023
2566
    break 2
3024
2567
  fi
3025
2568
done
3026
 
  done
 
2569
done
3027
2570
IFS=$as_save_IFS
3028
2571
 
3029
2572
fi
3030
2573
fi
3031
2574
STRIP=$ac_cv_prog_STRIP
3032
2575
if test -n "$STRIP"; then
3033
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2576
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
3034
2577
$as_echo "$STRIP" >&6; }
3035
2578
else
3036
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2579
  { $as_echo "$as_me:$LINENO: result: no" >&5
3037
2580
$as_echo "no" >&6; }
3038
2581
fi
3039
2582
 
3043
2586
  ac_ct_STRIP=$STRIP
3044
2587
  # Extract the first word of "strip", so it can be a program name with args.
3045
2588
set dummy strip; ac_word=$2
3046
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2589
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3047
2590
$as_echo_n "checking for $ac_word... " >&6; }
3048
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2591
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3049
2592
  $as_echo_n "(cached) " >&6
3050
2593
else
3051
2594
  if test -n "$ac_ct_STRIP"; then
3056
2599
do
3057
2600
  IFS=$as_save_IFS
3058
2601
  test -z "$as_dir" && as_dir=.
3059
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2602
  for ac_exec_ext in '' $ac_executable_extensions; do
3060
2603
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3061
2604
    ac_cv_prog_ac_ct_STRIP="strip"
3062
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2605
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3063
2606
    break 2
3064
2607
  fi
3065
2608
done
3066
 
  done
 
2609
done
3067
2610
IFS=$as_save_IFS
3068
2611
 
3069
2612
fi
3070
2613
fi
3071
2614
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3072
2615
if test -n "$ac_ct_STRIP"; then
3073
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2616
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3074
2617
$as_echo "$ac_ct_STRIP" >&6; }
3075
2618
else
3076
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2619
  { $as_echo "$as_me:$LINENO: result: no" >&5
3077
2620
$as_echo "no" >&6; }
3078
2621
fi
3079
2622
 
3082
2625
  else
3083
2626
    case $cross_compiling:$ac_tool_warned in
3084
2627
yes:)
3085
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2628
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3086
2629
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3087
2630
ac_tool_warned=yes ;;
3088
2631
esac
3095
2638
fi
3096
2639
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3097
2640
 
3098
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2641
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3099
2642
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3100
2643
if test -z "$MKDIR_P"; then
3101
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2644
  if test "${ac_cv_path_mkdir+set}" = set; then
3102
2645
  $as_echo_n "(cached) " >&6
3103
2646
else
3104
2647
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3106
2649
do
3107
2650
  IFS=$as_save_IFS
3108
2651
  test -z "$as_dir" && as_dir=.
3109
 
    for ac_prog in mkdir gmkdir; do
 
2652
  for ac_prog in mkdir gmkdir; do
3110
2653
         for ac_exec_ext in '' $ac_executable_extensions; do
3111
2654
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3112
2655
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3118
2661
           esac
3119
2662
         done
3120
2663
       done
3121
 
  done
 
2664
done
3122
2665
IFS=$as_save_IFS
3123
2666
 
3124
2667
fi
3134
2677
    MKDIR_P="$ac_install_sh -d"
3135
2678
  fi
3136
2679
fi
3137
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2680
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3138
2681
$as_echo "$MKDIR_P" >&6; }
3139
2682
 
3140
2683
mkdir_p="$MKDIR_P"
3147
2690
do
3148
2691
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3149
2692
set dummy $ac_prog; ac_word=$2
3150
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2693
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3151
2694
$as_echo_n "checking for $ac_word... " >&6; }
3152
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2695
if test "${ac_cv_prog_AWK+set}" = set; then
3153
2696
  $as_echo_n "(cached) " >&6
3154
2697
else
3155
2698
  if test -n "$AWK"; then
3160
2703
do
3161
2704
  IFS=$as_save_IFS
3162
2705
  test -z "$as_dir" && as_dir=.
3163
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2706
  for ac_exec_ext in '' $ac_executable_extensions; do
3164
2707
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3165
2708
    ac_cv_prog_AWK="$ac_prog"
3166
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2709
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3167
2710
    break 2
3168
2711
  fi
3169
2712
done
3170
 
  done
 
2713
done
3171
2714
IFS=$as_save_IFS
3172
2715
 
3173
2716
fi
3174
2717
fi
3175
2718
AWK=$ac_cv_prog_AWK
3176
2719
if test -n "$AWK"; then
3177
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2720
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
3178
2721
$as_echo "$AWK" >&6; }
3179
2722
else
3180
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2723
  { $as_echo "$as_me:$LINENO: result: no" >&5
3181
2724
$as_echo "no" >&6; }
3182
2725
fi
3183
2726
 
3185
2728
  test -n "$AWK" && break
3186
2729
done
3187
2730
 
3188
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2731
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3189
2732
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3190
2733
set x ${MAKE-make}
3191
2734
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3192
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2735
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3193
2736
  $as_echo_n "(cached) " >&6
3194
2737
else
3195
2738
  cat >conftest.make <<\_ACEOF
3207
2750
rm -f conftest.make
3208
2751
fi
3209
2752
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3210
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2753
  { $as_echo "$as_me:$LINENO: result: yes" >&5
3211
2754
$as_echo "yes" >&6; }
3212
2755
  SET_MAKE=
3213
2756
else
3214
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2757
  { $as_echo "$as_me:$LINENO: result: no" >&5
3215
2758
$as_echo "no" >&6; }
3216
2759
  SET_MAKE="MAKE=${MAKE-make}"
3217
2760
fi
3231
2774
  am__isrc=' -I$(srcdir)'
3232
2775
  # test to see if srcdir already configured
3233
2776
  if test -f $srcdir/config.status; then
3234
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2777
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2778
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2779
   { (exit 1); exit 1; }; }
3235
2780
  fi
3236
2781
fi
3237
2782
 
3247
2792
 
3248
2793
# Define the identity of the package.
3249
2794
 PACKAGE='lordsawar'
3250
 
 VERSION='0.1.6'
 
2795
 VERSION='0.1.8'
3251
2796
 
3252
2797
 
3253
2798
cat >>confdefs.h <<_ACEOF
3289
2834
 
3290
2835
 
3291
2836
 
3292
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
 
2837
  { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3293
2838
$as_echo_n "checking whether NLS is requested... " >&6; }
3294
2839
    # Check whether --enable-nls was given.
3295
 
if test "${enable_nls+set}" = set; then :
 
2840
if test "${enable_nls+set}" = set; then
3296
2841
  enableval=$enable_nls; USE_NLS=$enableval
3297
2842
else
3298
2843
  USE_NLS=yes
3299
2844
fi
3300
2845
 
3301
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
2846
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
3302
2847
$as_echo "$USE_NLS" >&6; }
3303
2848
 
3304
2849
 
3314
2859
.PHONY: am__doit
3315
2860
END
3316
2861
# If we don't find an include directive, just comment out the code.
3317
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
2862
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3318
2863
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3319
2864
am__include="#"
3320
2865
am__quote=
3342
2887
fi
3343
2888
 
3344
2889
 
3345
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
2890
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3346
2891
$as_echo "$_am_result" >&6; }
3347
2892
rm -f confinc confmf
3348
2893
 
3349
2894
# Check whether --enable-dependency-tracking was given.
3350
 
if test "${enable_dependency_tracking+set}" = set; then :
 
2895
if test "${enable_dependency_tracking+set}" = set; then
3351
2896
  enableval=$enable_dependency_tracking;
3352
2897
fi
3353
2898
 
3372
2917
if test -n "$ac_tool_prefix"; then
3373
2918
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3374
2919
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3375
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2920
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3376
2921
$as_echo_n "checking for $ac_word... " >&6; }
3377
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2922
if test "${ac_cv_prog_CC+set}" = set; then
3378
2923
  $as_echo_n "(cached) " >&6
3379
2924
else
3380
2925
  if test -n "$CC"; then
3385
2930
do
3386
2931
  IFS=$as_save_IFS
3387
2932
  test -z "$as_dir" && as_dir=.
3388
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2933
  for ac_exec_ext in '' $ac_executable_extensions; do
3389
2934
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3390
2935
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3391
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2936
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3392
2937
    break 2
3393
2938
  fi
3394
2939
done
3395
 
  done
 
2940
done
3396
2941
IFS=$as_save_IFS
3397
2942
 
3398
2943
fi
3399
2944
fi
3400
2945
CC=$ac_cv_prog_CC
3401
2946
if test -n "$CC"; then
3402
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2947
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3403
2948
$as_echo "$CC" >&6; }
3404
2949
else
3405
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2950
  { $as_echo "$as_me:$LINENO: result: no" >&5
3406
2951
$as_echo "no" >&6; }
3407
2952
fi
3408
2953
 
3412
2957
  ac_ct_CC=$CC
3413
2958
  # Extract the first word of "gcc", so it can be a program name with args.
3414
2959
set dummy gcc; ac_word=$2
3415
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2960
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3416
2961
$as_echo_n "checking for $ac_word... " >&6; }
3417
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2962
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3418
2963
  $as_echo_n "(cached) " >&6
3419
2964
else
3420
2965
  if test -n "$ac_ct_CC"; then
3425
2970
do
3426
2971
  IFS=$as_save_IFS
3427
2972
  test -z "$as_dir" && as_dir=.
3428
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2973
  for ac_exec_ext in '' $ac_executable_extensions; do
3429
2974
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3430
2975
    ac_cv_prog_ac_ct_CC="gcc"
3431
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2976
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3432
2977
    break 2
3433
2978
  fi
3434
2979
done
3435
 
  done
 
2980
done
3436
2981
IFS=$as_save_IFS
3437
2982
 
3438
2983
fi
3439
2984
fi
3440
2985
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3441
2986
if test -n "$ac_ct_CC"; then
3442
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
2987
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3443
2988
$as_echo "$ac_ct_CC" >&6; }
3444
2989
else
3445
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2990
  { $as_echo "$as_me:$LINENO: result: no" >&5
3446
2991
$as_echo "no" >&6; }
3447
2992
fi
3448
2993
 
3451
2996
  else
3452
2997
    case $cross_compiling:$ac_tool_warned in
3453
2998
yes:)
3454
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2999
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3455
3000
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3456
3001
ac_tool_warned=yes ;;
3457
3002
esac
3465
3010
          if test -n "$ac_tool_prefix"; then
3466
3011
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3467
3012
set dummy ${ac_tool_prefix}cc; ac_word=$2
3468
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3013
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3469
3014
$as_echo_n "checking for $ac_word... " >&6; }
3470
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3015
if test "${ac_cv_prog_CC+set}" = set; then
3471
3016
  $as_echo_n "(cached) " >&6
3472
3017
else
3473
3018
  if test -n "$CC"; then
3478
3023
do
3479
3024
  IFS=$as_save_IFS
3480
3025
  test -z "$as_dir" && as_dir=.
3481
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3026
  for ac_exec_ext in '' $ac_executable_extensions; do
3482
3027
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3483
3028
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3484
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3029
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3485
3030
    break 2
3486
3031
  fi
3487
3032
done
3488
 
  done
 
3033
done
3489
3034
IFS=$as_save_IFS
3490
3035
 
3491
3036
fi
3492
3037
fi
3493
3038
CC=$ac_cv_prog_CC
3494
3039
if test -n "$CC"; then
3495
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3040
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3496
3041
$as_echo "$CC" >&6; }
3497
3042
else
3498
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3043
  { $as_echo "$as_me:$LINENO: result: no" >&5
3499
3044
$as_echo "no" >&6; }
3500
3045
fi
3501
3046
 
3505
3050
if test -z "$CC"; then
3506
3051
  # Extract the first word of "cc", so it can be a program name with args.
3507
3052
set dummy cc; ac_word=$2
3508
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3053
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3509
3054
$as_echo_n "checking for $ac_word... " >&6; }
3510
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3055
if test "${ac_cv_prog_CC+set}" = set; then
3511
3056
  $as_echo_n "(cached) " >&6
3512
3057
else
3513
3058
  if test -n "$CC"; then
3519
3064
do
3520
3065
  IFS=$as_save_IFS
3521
3066
  test -z "$as_dir" && as_dir=.
3522
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3067
  for ac_exec_ext in '' $ac_executable_extensions; do
3523
3068
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3524
3069
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3525
3070
       ac_prog_rejected=yes
3526
3071
       continue
3527
3072
     fi
3528
3073
    ac_cv_prog_CC="cc"
3529
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3074
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3530
3075
    break 2
3531
3076
  fi
3532
3077
done
3533
 
  done
 
3078
done
3534
3079
IFS=$as_save_IFS
3535
3080
 
3536
3081
if test $ac_prog_rejected = yes; then
3549
3094
fi
3550
3095
CC=$ac_cv_prog_CC
3551
3096
if test -n "$CC"; then
3552
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3097
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3553
3098
$as_echo "$CC" >&6; }
3554
3099
else
3555
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3100
  { $as_echo "$as_me:$LINENO: result: no" >&5
3556
3101
$as_echo "no" >&6; }
3557
3102
fi
3558
3103
 
3564
3109
  do
3565
3110
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3566
3111
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3567
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3112
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3568
3113
$as_echo_n "checking for $ac_word... " >&6; }
3569
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3114
if test "${ac_cv_prog_CC+set}" = set; then
3570
3115
  $as_echo_n "(cached) " >&6
3571
3116
else
3572
3117
  if test -n "$CC"; then
3577
3122
do
3578
3123
  IFS=$as_save_IFS
3579
3124
  test -z "$as_dir" && as_dir=.
3580
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3125
  for ac_exec_ext in '' $ac_executable_extensions; do
3581
3126
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3582
3127
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3583
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3128
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3584
3129
    break 2
3585
3130
  fi
3586
3131
done
3587
 
  done
 
3132
done
3588
3133
IFS=$as_save_IFS
3589
3134
 
3590
3135
fi
3591
3136
fi
3592
3137
CC=$ac_cv_prog_CC
3593
3138
if test -n "$CC"; then
3594
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3139
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3595
3140
$as_echo "$CC" >&6; }
3596
3141
else
3597
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3142
  { $as_echo "$as_me:$LINENO: result: no" >&5
3598
3143
$as_echo "no" >&6; }
3599
3144
fi
3600
3145
 
3608
3153
do
3609
3154
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3610
3155
set dummy $ac_prog; ac_word=$2
3611
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3156
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3612
3157
$as_echo_n "checking for $ac_word... " >&6; }
3613
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3158
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3614
3159
  $as_echo_n "(cached) " >&6
3615
3160
else
3616
3161
  if test -n "$ac_ct_CC"; then
3621
3166
do
3622
3167
  IFS=$as_save_IFS
3623
3168
  test -z "$as_dir" && as_dir=.
3624
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3169
  for ac_exec_ext in '' $ac_executable_extensions; do
3625
3170
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3626
3171
    ac_cv_prog_ac_ct_CC="$ac_prog"
3627
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3172
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3628
3173
    break 2
3629
3174
  fi
3630
3175
done
3631
 
  done
 
3176
done
3632
3177
IFS=$as_save_IFS
3633
3178
 
3634
3179
fi
3635
3180
fi
3636
3181
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3637
3182
if test -n "$ac_ct_CC"; then
3638
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3183
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3639
3184
$as_echo "$ac_ct_CC" >&6; }
3640
3185
else
3641
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3186
  { $as_echo "$as_me:$LINENO: result: no" >&5
3642
3187
$as_echo "no" >&6; }
3643
3188
fi
3644
3189
 
3651
3196
  else
3652
3197
    case $cross_compiling:$ac_tool_warned in
3653
3198
yes:)
3654
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3199
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3655
3200
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3656
3201
ac_tool_warned=yes ;;
3657
3202
esac
3662
3207
fi
3663
3208
 
3664
3209
 
3665
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3210
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3666
3211
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3667
 
as_fn_error "no acceptable C compiler found in \$PATH
3668
 
See \`config.log' for more details." "$LINENO" 5; }
 
3212
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
3213
See \`config.log' for more details." >&5
 
3214
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
 
3215
See \`config.log' for more details." >&2;}
 
3216
   { (exit 1); exit 1; }; }; }
3669
3217
 
3670
3218
# Provide some information about the compiler.
3671
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3219
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3672
3220
set X $ac_compile
3673
3221
ac_compiler=$2
3674
 
for ac_option in --version -v -V -qversion; do
3675
 
  { { ac_try="$ac_compiler $ac_option >&5"
3676
 
case "(($ac_try" in
3677
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3678
 
  *) ac_try_echo=$ac_try;;
3679
 
esac
3680
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3681
 
$as_echo "$ac_try_echo"; } >&5
3682
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3683
 
  ac_status=$?
3684
 
  if test -s conftest.err; then
3685
 
    sed '10a\
3686
 
... rest of stderr output deleted ...
3687
 
         10q' conftest.err >conftest.er1
3688
 
    cat conftest.er1 >&5
3689
 
    rm -f conftest.er1 conftest.err
3690
 
  fi
3691
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3692
 
  test $ac_status = 0; }
3693
 
done
 
3222
{ (ac_try="$ac_compiler --version >&5"
 
3223
case "(($ac_try" in
 
3224
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3225
  *) ac_try_echo=$ac_try;;
 
3226
esac
 
3227
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3228
$as_echo "$ac_try_echo") >&5
 
3229
  (eval "$ac_compiler --version >&5") 2>&5
 
3230
  ac_status=$?
 
3231
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3232
  (exit $ac_status); }
 
3233
{ (ac_try="$ac_compiler -v >&5"
 
3234
case "(($ac_try" in
 
3235
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3236
  *) ac_try_echo=$ac_try;;
 
3237
esac
 
3238
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3239
$as_echo "$ac_try_echo") >&5
 
3240
  (eval "$ac_compiler -v >&5") 2>&5
 
3241
  ac_status=$?
 
3242
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3243
  (exit $ac_status); }
 
3244
{ (ac_try="$ac_compiler -V >&5"
 
3245
case "(($ac_try" in
 
3246
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3247
  *) ac_try_echo=$ac_try;;
 
3248
esac
 
3249
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3250
$as_echo "$ac_try_echo") >&5
 
3251
  (eval "$ac_compiler -V >&5") 2>&5
 
3252
  ac_status=$?
 
3253
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3254
  (exit $ac_status); }
3694
3255
 
3695
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3256
cat >conftest.$ac_ext <<_ACEOF
 
3257
/* confdefs.h.  */
 
3258
_ACEOF
 
3259
cat confdefs.h >>conftest.$ac_ext
 
3260
cat >>conftest.$ac_ext <<_ACEOF
3696
3261
/* end confdefs.h.  */
3697
 
#include <stdio.h>
 
3262
 
3698
3263
int
3699
3264
main ()
3700
3265
{
3701
 
FILE *f = fopen ("conftest.out", "w");
3702
 
 return ferror (f) || fclose (f) != 0;
3703
3266
 
3704
3267
  ;
3705
3268
  return 0;
3706
3269
}
3707
3270
_ACEOF
3708
3271
ac_clean_files_save=$ac_clean_files
3709
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
 
3272
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3710
3273
# Try to create an executable without -o first, disregard a.out.
3711
3274
# It will help us diagnose broken compilers, and finding out an intuition
3712
3275
# of exeext.
3713
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3276
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3714
3277
$as_echo_n "checking for C compiler default output file name... " >&6; }
3715
3278
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3716
3279
 
3727
3290
done
3728
3291
rm -f $ac_rmfiles
3729
3292
 
3730
 
if { { ac_try="$ac_link_default"
 
3293
if { (ac_try="$ac_link_default"
3731
3294
case "(($ac_try" in
3732
3295
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3733
3296
  *) ac_try_echo=$ac_try;;
3734
3297
esac
3735
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3736
 
$as_echo "$ac_try_echo"; } >&5
 
3298
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3299
$as_echo "$ac_try_echo") >&5
3737
3300
  (eval "$ac_link_default") 2>&5
3738
3301
  ac_status=$?
3739
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3740
 
  test $ac_status = 0; }; then :
 
3302
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3303
  (exit $ac_status); }; then
3741
3304
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3742
3305
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3743
3306
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3754
3317
        # certainly right.
3755
3318
        break;;
3756
3319
    *.* )
3757
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3320
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3758
3321
        then :; else
3759
3322
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3760
3323
        fi
3773
3336
else
3774
3337
  ac_file=''
3775
3338
fi
3776
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3339
 
 
3340
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3777
3341
$as_echo "$ac_file" >&6; }
3778
 
if test -z "$ac_file"; then :
 
3342
if test -z "$ac_file"; then
3779
3343
  $as_echo "$as_me: failed program was:" >&5
3780
3344
sed 's/^/| /' conftest.$ac_ext >&5
3781
3345
 
3782
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3346
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3783
3347
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3784
 
{ as_fn_set_status 77
3785
 
as_fn_error "C compiler cannot create executables
3786
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
3348
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
 
3349
See \`config.log' for more details." >&5
 
3350
$as_echo "$as_me: error: C compiler cannot create executables
 
3351
See \`config.log' for more details." >&2;}
 
3352
   { (exit 77); exit 77; }; }; }
3787
3353
fi
 
3354
 
3788
3355
ac_exeext=$ac_cv_exeext
3789
3356
 
3790
3357
# Check that the compiler produces executables we can run.  If not, either
3791
3358
# the compiler is broken, or we cross compile.
3792
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3359
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3793
3360
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3361
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3794
3362
# If not cross compiling, check that we can run a simple program.
3795
3363
if test "$cross_compiling" != yes; then
3796
3364
  if { ac_try='./$ac_file'
3797
 
  { { case "(($ac_try" in
 
3365
  { (case "(($ac_try" in
3798
3366
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3799
3367
  *) ac_try_echo=$ac_try;;
3800
3368
esac
3801
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3802
 
$as_echo "$ac_try_echo"; } >&5
 
3369
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3370
$as_echo "$ac_try_echo") >&5
3803
3371
  (eval "$ac_try") 2>&5
3804
3372
  ac_status=$?
3805
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3806
 
  test $ac_status = 0; }; }; then
 
3373
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3374
  (exit $ac_status); }; }; then
3807
3375
    cross_compiling=no
3808
3376
  else
3809
3377
    if test "$cross_compiling" = maybe; then
3810
3378
        cross_compiling=yes
3811
3379
    else
3812
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3380
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3813
3381
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3814
 
as_fn_error "cannot run C compiled programs.
3815
 
If you meant to cross compile, use \`--host'.
3816
 
See \`config.log' for more details." "$LINENO" 5; }
 
3382
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3383
If you meant to cross compile, use \`--host'.
 
3384
See \`config.log' for more details." >&5
 
3385
$as_echo "$as_me: error: cannot run C compiled programs.
 
3386
If you meant to cross compile, use \`--host'.
 
3387
See \`config.log' for more details." >&2;}
 
3388
   { (exit 1); exit 1; }; }; }
3817
3389
    fi
3818
3390
  fi
3819
3391
fi
3820
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3392
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3821
3393
$as_echo "yes" >&6; }
3822
3394
 
3823
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
 
3395
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3824
3396
ac_clean_files=$ac_clean_files_save
3825
3397
# Check that the compiler produces executables we can run.  If not, either
3826
3398
# the compiler is broken, or we cross compile.
3827
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3399
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3828
3400
$as_echo_n "checking whether we are cross compiling... " >&6; }
3829
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3401
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3830
3402
$as_echo "$cross_compiling" >&6; }
3831
3403
 
3832
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3404
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3833
3405
$as_echo_n "checking for suffix of executables... " >&6; }
3834
 
if { { ac_try="$ac_link"
 
3406
if { (ac_try="$ac_link"
3835
3407
case "(($ac_try" in
3836
3408
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3837
3409
  *) ac_try_echo=$ac_try;;
3838
3410
esac
3839
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3840
 
$as_echo "$ac_try_echo"; } >&5
 
3411
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3412
$as_echo "$ac_try_echo") >&5
3841
3413
  (eval "$ac_link") 2>&5
3842
3414
  ac_status=$?
3843
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3844
 
  test $ac_status = 0; }; then :
 
3415
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3416
  (exit $ac_status); }; then
3845
3417
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3846
3418
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3847
3419
# work properly (i.e., refer to `conftest.exe'), while it won't with
3856
3428
  esac
3857
3429
done
3858
3430
else
3859
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3431
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3860
3432
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3861
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3862
 
See \`config.log' for more details." "$LINENO" 5; }
 
3433
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3434
See \`config.log' for more details." >&5
 
3435
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
3436
See \`config.log' for more details." >&2;}
 
3437
   { (exit 1); exit 1; }; }; }
3863
3438
fi
 
3439
 
3864
3440
rm -f conftest$ac_cv_exeext
3865
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3441
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3866
3442
$as_echo "$ac_cv_exeext" >&6; }
3867
3443
 
3868
3444
rm -f conftest.$ac_ext
3869
3445
EXEEXT=$ac_cv_exeext
3870
3446
ac_exeext=$EXEEXT
3871
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3447
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3872
3448
$as_echo_n "checking for suffix of object files... " >&6; }
3873
 
if test "${ac_cv_objext+set}" = set; then :
 
3449
if test "${ac_cv_objext+set}" = set; then
3874
3450
  $as_echo_n "(cached) " >&6
3875
3451
else
3876
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3452
  cat >conftest.$ac_ext <<_ACEOF
 
3453
/* confdefs.h.  */
 
3454
_ACEOF
 
3455
cat confdefs.h >>conftest.$ac_ext
 
3456
cat >>conftest.$ac_ext <<_ACEOF
3877
3457
/* end confdefs.h.  */
3878
3458
 
3879
3459
int
3885
3465
}
3886
3466
_ACEOF
3887
3467
rm -f conftest.o conftest.obj
3888
 
if { { ac_try="$ac_compile"
 
3468
if { (ac_try="$ac_compile"
3889
3469
case "(($ac_try" in
3890
3470
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3891
3471
  *) ac_try_echo=$ac_try;;
3892
3472
esac
3893
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3894
 
$as_echo "$ac_try_echo"; } >&5
 
3473
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3474
$as_echo "$ac_try_echo") >&5
3895
3475
  (eval "$ac_compile") 2>&5
3896
3476
  ac_status=$?
3897
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3898
 
  test $ac_status = 0; }; then :
 
3477
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3478
  (exit $ac_status); }; then
3899
3479
  for ac_file in conftest.o conftest.obj conftest.*; do
3900
3480
  test -f "$ac_file" || continue;
3901
3481
  case $ac_file in
3908
3488
  $as_echo "$as_me: failed program was:" >&5
3909
3489
sed 's/^/| /' conftest.$ac_ext >&5
3910
3490
 
3911
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3491
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3912
3492
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3913
 
as_fn_error "cannot compute suffix of object files: cannot compile
3914
 
See \`config.log' for more details." "$LINENO" 5; }
 
3493
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
3494
See \`config.log' for more details." >&5
 
3495
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
3496
See \`config.log' for more details." >&2;}
 
3497
   { (exit 1); exit 1; }; }; }
3915
3498
fi
 
3499
 
3916
3500
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3917
3501
fi
3918
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3502
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3919
3503
$as_echo "$ac_cv_objext" >&6; }
3920
3504
OBJEXT=$ac_cv_objext
3921
3505
ac_objext=$OBJEXT
3922
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3506
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3923
3507
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3924
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3508
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3925
3509
  $as_echo_n "(cached) " >&6
3926
3510
else
3927
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3511
  cat >conftest.$ac_ext <<_ACEOF
 
3512
/* confdefs.h.  */
 
3513
_ACEOF
 
3514
cat confdefs.h >>conftest.$ac_ext
 
3515
cat >>conftest.$ac_ext <<_ACEOF
3928
3516
/* end confdefs.h.  */
3929
3517
 
3930
3518
int
3938
3526
  return 0;
3939
3527
}
3940
3528
_ACEOF
3941
 
if ac_fn_c_try_compile "$LINENO"; then :
 
3529
rm -f conftest.$ac_objext
 
3530
if { (ac_try="$ac_compile"
 
3531
case "(($ac_try" in
 
3532
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3533
  *) ac_try_echo=$ac_try;;
 
3534
esac
 
3535
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3536
$as_echo "$ac_try_echo") >&5
 
3537
  (eval "$ac_compile") 2>conftest.er1
 
3538
  ac_status=$?
 
3539
  grep -v '^ *+' conftest.er1 >conftest.err
 
3540
  rm -f conftest.er1
 
3541
  cat conftest.err >&5
 
3542
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3543
  (exit $ac_status); } && {
 
3544
         test -z "$ac_c_werror_flag" ||
 
3545
         test ! -s conftest.err
 
3546
       } && test -s conftest.$ac_objext; then
3942
3547
  ac_compiler_gnu=yes
3943
3548
else
3944
 
  ac_compiler_gnu=no
 
3549
  $as_echo "$as_me: failed program was:" >&5
 
3550
sed 's/^/| /' conftest.$ac_ext >&5
 
3551
 
 
3552
        ac_compiler_gnu=no
3945
3553
fi
 
3554
 
3946
3555
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3947
3556
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3948
3557
 
3949
3558
fi
3950
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3559
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3951
3560
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3952
3561
if test $ac_compiler_gnu = yes; then
3953
3562
  GCC=yes
3956
3565
fi
3957
3566
ac_test_CFLAGS=${CFLAGS+set}
3958
3567
ac_save_CFLAGS=$CFLAGS
3959
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3568
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3960
3569
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3961
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3570
if test "${ac_cv_prog_cc_g+set}" = set; then
3962
3571
  $as_echo_n "(cached) " >&6
3963
3572
else
3964
3573
  ac_save_c_werror_flag=$ac_c_werror_flag
3965
3574
   ac_c_werror_flag=yes
3966
3575
   ac_cv_prog_cc_g=no
3967
3576
   CFLAGS="-g"
3968
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3577
   cat >conftest.$ac_ext <<_ACEOF
 
3578
/* confdefs.h.  */
 
3579
_ACEOF
 
3580
cat confdefs.h >>conftest.$ac_ext
 
3581
cat >>conftest.$ac_ext <<_ACEOF
3969
3582
/* end confdefs.h.  */
3970
3583
 
3971
3584
int
3976
3589
  return 0;
3977
3590
}
3978
3591
_ACEOF
3979
 
if ac_fn_c_try_compile "$LINENO"; then :
 
3592
rm -f conftest.$ac_objext
 
3593
if { (ac_try="$ac_compile"
 
3594
case "(($ac_try" in
 
3595
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3596
  *) ac_try_echo=$ac_try;;
 
3597
esac
 
3598
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3599
$as_echo "$ac_try_echo") >&5
 
3600
  (eval "$ac_compile") 2>conftest.er1
 
3601
  ac_status=$?
 
3602
  grep -v '^ *+' conftest.er1 >conftest.err
 
3603
  rm -f conftest.er1
 
3604
  cat conftest.err >&5
 
3605
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3606
  (exit $ac_status); } && {
 
3607
         test -z "$ac_c_werror_flag" ||
 
3608
         test ! -s conftest.err
 
3609
       } && test -s conftest.$ac_objext; then
3980
3610
  ac_cv_prog_cc_g=yes
3981
3611
else
3982
 
  CFLAGS=""
3983
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3612
  $as_echo "$as_me: failed program was:" >&5
 
3613
sed 's/^/| /' conftest.$ac_ext >&5
 
3614
 
 
3615
        CFLAGS=""
 
3616
      cat >conftest.$ac_ext <<_ACEOF
 
3617
/* confdefs.h.  */
 
3618
_ACEOF
 
3619
cat confdefs.h >>conftest.$ac_ext
 
3620
cat >>conftest.$ac_ext <<_ACEOF
3984
3621
/* end confdefs.h.  */
3985
3622
 
3986
3623
int
3991
3628
  return 0;
3992
3629
}
3993
3630
_ACEOF
3994
 
if ac_fn_c_try_compile "$LINENO"; then :
 
3631
rm -f conftest.$ac_objext
 
3632
if { (ac_try="$ac_compile"
 
3633
case "(($ac_try" in
 
3634
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3635
  *) ac_try_echo=$ac_try;;
 
3636
esac
 
3637
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3638
$as_echo "$ac_try_echo") >&5
 
3639
  (eval "$ac_compile") 2>conftest.er1
 
3640
  ac_status=$?
 
3641
  grep -v '^ *+' conftest.er1 >conftest.err
 
3642
  rm -f conftest.er1
 
3643
  cat conftest.err >&5
 
3644
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3645
  (exit $ac_status); } && {
 
3646
         test -z "$ac_c_werror_flag" ||
 
3647
         test ! -s conftest.err
 
3648
       } && test -s conftest.$ac_objext; then
 
3649
  :
 
3650
else
 
3651
  $as_echo "$as_me: failed program was:" >&5
 
3652
sed 's/^/| /' conftest.$ac_ext >&5
3995
3653
 
3996
 
else
3997
 
  ac_c_werror_flag=$ac_save_c_werror_flag
 
3654
        ac_c_werror_flag=$ac_save_c_werror_flag
3998
3655
         CFLAGS="-g"
3999
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3656
         cat >conftest.$ac_ext <<_ACEOF
 
3657
/* confdefs.h.  */
 
3658
_ACEOF
 
3659
cat confdefs.h >>conftest.$ac_ext
 
3660
cat >>conftest.$ac_ext <<_ACEOF
4000
3661
/* end confdefs.h.  */
4001
3662
 
4002
3663
int
4007
3668
  return 0;
4008
3669
}
4009
3670
_ACEOF
4010
 
if ac_fn_c_try_compile "$LINENO"; then :
 
3671
rm -f conftest.$ac_objext
 
3672
if { (ac_try="$ac_compile"
 
3673
case "(($ac_try" in
 
3674
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3675
  *) ac_try_echo=$ac_try;;
 
3676
esac
 
3677
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3678
$as_echo "$ac_try_echo") >&5
 
3679
  (eval "$ac_compile") 2>conftest.er1
 
3680
  ac_status=$?
 
3681
  grep -v '^ *+' conftest.er1 >conftest.err
 
3682
  rm -f conftest.er1
 
3683
  cat conftest.err >&5
 
3684
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3685
  (exit $ac_status); } && {
 
3686
         test -z "$ac_c_werror_flag" ||
 
3687
         test ! -s conftest.err
 
3688
       } && test -s conftest.$ac_objext; then
4011
3689
  ac_cv_prog_cc_g=yes
4012
 
fi
4013
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4014
 
fi
4015
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4016
 
fi
 
3690
else
 
3691
  $as_echo "$as_me: failed program was:" >&5
 
3692
sed 's/^/| /' conftest.$ac_ext >&5
 
3693
 
 
3694
 
 
3695
fi
 
3696
 
 
3697
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3698
fi
 
3699
 
 
3700
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3701
fi
 
3702
 
4017
3703
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4018
3704
   ac_c_werror_flag=$ac_save_c_werror_flag
4019
3705
fi
4020
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3706
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4021
3707
$as_echo "$ac_cv_prog_cc_g" >&6; }
4022
3708
if test "$ac_test_CFLAGS" = set; then
4023
3709
  CFLAGS=$ac_save_CFLAGS
4034
3720
    CFLAGS=
4035
3721
  fi
4036
3722
fi
4037
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3723
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4038
3724
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4039
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3725
if test "${ac_cv_prog_cc_c89+set}" = set; then
4040
3726
  $as_echo_n "(cached) " >&6
4041
3727
else
4042
3728
  ac_cv_prog_cc_c89=no
4043
3729
ac_save_CC=$CC
4044
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3730
cat >conftest.$ac_ext <<_ACEOF
 
3731
/* confdefs.h.  */
 
3732
_ACEOF
 
3733
cat confdefs.h >>conftest.$ac_ext
 
3734
cat >>conftest.$ac_ext <<_ACEOF
4045
3735
/* end confdefs.h.  */
4046
3736
#include <stdarg.h>
4047
3737
#include <stdio.h>
4098
3788
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4099
3789
do
4100
3790
  CC="$ac_save_CC $ac_arg"
4101
 
  if ac_fn_c_try_compile "$LINENO"; then :
 
3791
  rm -f conftest.$ac_objext
 
3792
if { (ac_try="$ac_compile"
 
3793
case "(($ac_try" in
 
3794
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3795
  *) ac_try_echo=$ac_try;;
 
3796
esac
 
3797
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3798
$as_echo "$ac_try_echo") >&5
 
3799
  (eval "$ac_compile") 2>conftest.er1
 
3800
  ac_status=$?
 
3801
  grep -v '^ *+' conftest.er1 >conftest.err
 
3802
  rm -f conftest.er1
 
3803
  cat conftest.err >&5
 
3804
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3805
  (exit $ac_status); } && {
 
3806
         test -z "$ac_c_werror_flag" ||
 
3807
         test ! -s conftest.err
 
3808
       } && test -s conftest.$ac_objext; then
4102
3809
  ac_cv_prog_cc_c89=$ac_arg
 
3810
else
 
3811
  $as_echo "$as_me: failed program was:" >&5
 
3812
sed 's/^/| /' conftest.$ac_ext >&5
 
3813
 
 
3814
 
4103
3815
fi
 
3816
 
4104
3817
rm -f core conftest.err conftest.$ac_objext
4105
3818
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4106
3819
done
4111
3824
# AC_CACHE_VAL
4112
3825
case "x$ac_cv_prog_cc_c89" in
4113
3826
  x)
4114
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3827
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
4115
3828
$as_echo "none needed" >&6; } ;;
4116
3829
  xno)
4117
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3830
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4118
3831
$as_echo "unsupported" >&6; } ;;
4119
3832
  *)
4120
3833
    CC="$CC $ac_cv_prog_cc_c89"
4121
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3834
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4122
3835
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4123
3836
esac
4124
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
4125
3837
 
4126
 
fi
4127
3838
 
4128
3839
ac_ext=c
4129
3840
ac_cpp='$CPP $CPPFLAGS'
4133
3844
 
4134
3845
depcc="$CC"   am_compiler_list=
4135
3846
 
4136
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3847
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4137
3848
$as_echo_n "checking dependency style of $depcc... " >&6; }
4138
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3849
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4139
3850
  $as_echo_n "(cached) " >&6
4140
3851
else
4141
3852
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4243
3954
fi
4244
3955
 
4245
3956
fi
4246
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3957
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4247
3958
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4248
3959
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4249
3960
 
4263
3974
 
4264
3975
case "$am__api_version" in
4265
3976
    1.01234)
4266
 
        as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
 
3977
        { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
 
3978
$as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
 
3979
   { (exit 1); exit 1; }; }
4267
3980
    ;;
4268
3981
    *)
4269
3982
    ;;
4270
3983
esac
4271
3984
 
4272
3985
if test -n "0.35.5"; then
4273
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.5" >&5
 
3986
    { $as_echo "$as_me:$LINENO: checking for intltool >= 0.35.5" >&5
4274
3987
$as_echo_n "checking for intltool >= 0.35.5... " >&6; }
4275
3988
 
4276
3989
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.5 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4277
3990
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4278
3991
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4279
3992
 
4280
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
3993
    { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
4281
3994
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
4282
3995
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4283
 
        as_fn_error "Your intltool is too old.  You need intltool 0.35.5 or later." "$LINENO" 5
 
3996
        { { $as_echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.35.5 or later." >&5
 
3997
$as_echo "$as_me: error: Your intltool is too old.  You need intltool 0.35.5 or later." >&2;}
 
3998
   { (exit 1); exit 1; }; }
4284
3999
fi
4285
4000
 
4286
4001
# Extract the first word of "intltool-update", so it can be a program name with args.
4287
4002
set dummy intltool-update; ac_word=$2
4288
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4003
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4289
4004
$as_echo_n "checking for $ac_word... " >&6; }
4290
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
 
4005
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
4291
4006
  $as_echo_n "(cached) " >&6
4292
4007
else
4293
4008
  case $INTLTOOL_UPDATE in
4300
4015
do
4301
4016
  IFS=$as_save_IFS
4302
4017
  test -z "$as_dir" && as_dir=.
4303
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4018
  for ac_exec_ext in '' $ac_executable_extensions; do
4304
4019
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4305
4020
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4306
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4021
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4307
4022
    break 2
4308
4023
  fi
4309
4024
done
4310
 
  done
 
4025
done
4311
4026
IFS=$as_save_IFS
4312
4027
 
4313
4028
  ;;
4315
4030
fi
4316
4031
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4317
4032
if test -n "$INTLTOOL_UPDATE"; then
4318
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
 
4033
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
4319
4034
$as_echo "$INTLTOOL_UPDATE" >&6; }
4320
4035
else
4321
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4036
  { $as_echo "$as_me:$LINENO: result: no" >&5
4322
4037
$as_echo "no" >&6; }
4323
4038
fi
4324
4039
 
4325
4040
 
4326
4041
# Extract the first word of "intltool-merge", so it can be a program name with args.
4327
4042
set dummy intltool-merge; ac_word=$2
4328
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4043
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4329
4044
$as_echo_n "checking for $ac_word... " >&6; }
4330
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
 
4045
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
4331
4046
  $as_echo_n "(cached) " >&6
4332
4047
else
4333
4048
  case $INTLTOOL_MERGE in
4340
4055
do
4341
4056
  IFS=$as_save_IFS
4342
4057
  test -z "$as_dir" && as_dir=.
4343
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4058
  for ac_exec_ext in '' $ac_executable_extensions; do
4344
4059
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4345
4060
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4346
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4061
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4347
4062
    break 2
4348
4063
  fi
4349
4064
done
4350
 
  done
 
4065
done
4351
4066
IFS=$as_save_IFS
4352
4067
 
4353
4068
  ;;
4355
4070
fi
4356
4071
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4357
4072
if test -n "$INTLTOOL_MERGE"; then
4358
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
 
4073
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
4359
4074
$as_echo "$INTLTOOL_MERGE" >&6; }
4360
4075
else
4361
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4076
  { $as_echo "$as_me:$LINENO: result: no" >&5
4362
4077
$as_echo "no" >&6; }
4363
4078
fi
4364
4079
 
4365
4080
 
4366
4081
# Extract the first word of "intltool-extract", so it can be a program name with args.
4367
4082
set dummy intltool-extract; ac_word=$2
4368
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4083
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4369
4084
$as_echo_n "checking for $ac_word... " >&6; }
4370
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
 
4085
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
4371
4086
  $as_echo_n "(cached) " >&6
4372
4087
else
4373
4088
  case $INTLTOOL_EXTRACT in
4380
4095
do
4381
4096
  IFS=$as_save_IFS
4382
4097
  test -z "$as_dir" && as_dir=.
4383
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4098
  for ac_exec_ext in '' $ac_executable_extensions; do
4384
4099
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4385
4100
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4386
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4101
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4387
4102
    break 2
4388
4103
  fi
4389
4104
done
4390
 
  done
 
4105
done
4391
4106
IFS=$as_save_IFS
4392
4107
 
4393
4108
  ;;
4395
4110
fi
4396
4111
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4397
4112
if test -n "$INTLTOOL_EXTRACT"; then
4398
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
 
4113
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
4399
4114
$as_echo "$INTLTOOL_EXTRACT" >&6; }
4400
4115
else
4401
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4116
  { $as_echo "$as_me:$LINENO: result: no" >&5
4402
4117
$as_echo "no" >&6; }
4403
4118
fi
4404
4119
 
4405
4120
 
4406
4121
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4407
 
    as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
 
4122
    { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
 
4123
$as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
 
4124
   { (exit 1); exit 1; }; }
4408
4125
fi
4409
4126
 
4410
4127
  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 $< $@'
4526
4243
# Check the gettext tools to make sure they are GNU
4527
4244
# Extract the first word of "xgettext", so it can be a program name with args.
4528
4245
set dummy xgettext; ac_word=$2
4529
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4246
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4530
4247
$as_echo_n "checking for $ac_word... " >&6; }
4531
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
4248
if test "${ac_cv_path_XGETTEXT+set}" = set; then
4532
4249
  $as_echo_n "(cached) " >&6
4533
4250
else
4534
4251
  case $XGETTEXT in
4541
4258
do
4542
4259
  IFS=$as_save_IFS
4543
4260
  test -z "$as_dir" && as_dir=.
4544
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4261
  for ac_exec_ext in '' $ac_executable_extensions; do
4545
4262
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4546
4263
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4547
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4264
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4548
4265
    break 2
4549
4266
  fi
4550
4267
done
4551
 
  done
 
4268
done
4552
4269
IFS=$as_save_IFS
4553
4270
 
4554
4271
  ;;
4556
4273
fi
4557
4274
XGETTEXT=$ac_cv_path_XGETTEXT
4558
4275
if test -n "$XGETTEXT"; then
4559
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
4276
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4560
4277
$as_echo "$XGETTEXT" >&6; }
4561
4278
else
4562
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4279
  { $as_echo "$as_me:$LINENO: result: no" >&5
4563
4280
$as_echo "no" >&6; }
4564
4281
fi
4565
4282
 
4566
4283
 
4567
4284
# Extract the first word of "msgmerge", so it can be a program name with args.
4568
4285
set dummy msgmerge; ac_word=$2
4569
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4286
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4570
4287
$as_echo_n "checking for $ac_word... " >&6; }
4571
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
4288
if test "${ac_cv_path_MSGMERGE+set}" = set; then
4572
4289
  $as_echo_n "(cached) " >&6
4573
4290
else
4574
4291
  case $MSGMERGE in
4581
4298
do
4582
4299
  IFS=$as_save_IFS
4583
4300
  test -z "$as_dir" && as_dir=.
4584
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4301
  for ac_exec_ext in '' $ac_executable_extensions; do
4585
4302
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4586
4303
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4587
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4304
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4588
4305
    break 2
4589
4306
  fi
4590
4307
done
4591
 
  done
 
4308
done
4592
4309
IFS=$as_save_IFS
4593
4310
 
4594
4311
  ;;
4596
4313
fi
4597
4314
MSGMERGE=$ac_cv_path_MSGMERGE
4598
4315
if test -n "$MSGMERGE"; then
4599
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
4316
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
4600
4317
$as_echo "$MSGMERGE" >&6; }
4601
4318
else
4602
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4319
  { $as_echo "$as_me:$LINENO: result: no" >&5
4603
4320
$as_echo "no" >&6; }
4604
4321
fi
4605
4322
 
4606
4323
 
4607
4324
# Extract the first word of "msgfmt", so it can be a program name with args.
4608
4325
set dummy msgfmt; ac_word=$2
4609
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4326
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4610
4327
$as_echo_n "checking for $ac_word... " >&6; }
4611
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
4328
if test "${ac_cv_path_MSGFMT+set}" = set; then
4612
4329
  $as_echo_n "(cached) " >&6
4613
4330
else
4614
4331
  case $MSGFMT in
4621
4338
do
4622
4339
  IFS=$as_save_IFS
4623
4340
  test -z "$as_dir" && as_dir=.
4624
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4341
  for ac_exec_ext in '' $ac_executable_extensions; do
4625
4342
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4626
4343
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4627
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4344
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4628
4345
    break 2
4629
4346
  fi
4630
4347
done
4631
 
  done
 
4348
done
4632
4349
IFS=$as_save_IFS
4633
4350
 
4634
4351
  ;;
4636
4353
fi
4637
4354
MSGFMT=$ac_cv_path_MSGFMT
4638
4355
if test -n "$MSGFMT"; then
4639
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
4356
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
4640
4357
$as_echo "$MSGFMT" >&6; }
4641
4358
else
4642
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4359
  { $as_echo "$as_me:$LINENO: result: no" >&5
4643
4360
$as_echo "no" >&6; }
4644
4361
fi
4645
4362
 
4646
4363
 
4647
4364
# Extract the first word of "gmsgfmt", so it can be a program name with args.
4648
4365
set dummy gmsgfmt; ac_word=$2
4649
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4366
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4650
4367
$as_echo_n "checking for $ac_word... " >&6; }
4651
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
4368
if test "${ac_cv_path_GMSGFMT+set}" = set; then
4652
4369
  $as_echo_n "(cached) " >&6
4653
4370
else
4654
4371
  case $GMSGFMT in
4661
4378
do
4662
4379
  IFS=$as_save_IFS
4663
4380
  test -z "$as_dir" && as_dir=.
4664
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4381
  for ac_exec_ext in '' $ac_executable_extensions; do
4665
4382
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4666
4383
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4667
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4384
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4668
4385
    break 2
4669
4386
  fi
4670
4387
done
4671
 
  done
 
4388
done
4672
4389
IFS=$as_save_IFS
4673
4390
 
4674
4391
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4677
4394
fi
4678
4395
GMSGFMT=$ac_cv_path_GMSGFMT
4679
4396
if test -n "$GMSGFMT"; then
4680
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
4397
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
4681
4398
$as_echo "$GMSGFMT" >&6; }
4682
4399
else
4683
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4400
  { $as_echo "$as_me:$LINENO: result: no" >&5
4684
4401
$as_echo "no" >&6; }
4685
4402
fi
4686
4403
 
4687
4404
 
4688
4405
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4689
 
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
4406
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
 
4407
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
 
4408
   { (exit 1); exit 1; }; }
4690
4409
fi
4691
4410
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4692
4411
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4693
4412
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4694
4413
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4695
 
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
4414
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
 
4415
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
 
4416
   { (exit 1); exit 1; }; }
4696
4417
fi
4697
4418
 
4698
4419
# Extract the first word of "perl", so it can be a program name with args.
4699
4420
set dummy perl; ac_word=$2
4700
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4421
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4701
4422
$as_echo_n "checking for $ac_word... " >&6; }
4702
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
 
4423
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
4703
4424
  $as_echo_n "(cached) " >&6
4704
4425
else
4705
4426
  case $INTLTOOL_PERL in
4712
4433
do
4713
4434
  IFS=$as_save_IFS
4714
4435
  test -z "$as_dir" && as_dir=.
4715
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4436
  for ac_exec_ext in '' $ac_executable_extensions; do
4716
4437
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4717
4438
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4718
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4439
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4719
4440
    break 2
4720
4441
  fi
4721
4442
done
4722
 
  done
 
4443
done
4723
4444
IFS=$as_save_IFS
4724
4445
 
4725
4446
  ;;
4727
4448
fi
4728
4449
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4729
4450
if test -n "$INTLTOOL_PERL"; then
4730
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
 
4451
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
4731
4452
$as_echo "$INTLTOOL_PERL" >&6; }
4732
4453
else
4733
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4454
  { $as_echo "$as_me:$LINENO: result: no" >&5
4734
4455
$as_echo "no" >&6; }
4735
4456
fi
4736
4457
 
4737
4458
 
4738
4459
if test -z "$INTLTOOL_PERL"; then
4739
 
   as_fn_error "perl not found" "$LINENO" 5
 
4460
   { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
 
4461
$as_echo "$as_me: error: perl not found" >&2;}
 
4462
   { (exit 1); exit 1; }; }
4740
4463
fi
4741
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
 
4464
{ $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
4742
4465
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
4743
4466
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4744
4467
if test $? -ne 0; then
4745
 
   as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
 
4468
   { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
 
4469
$as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
 
4470
   { (exit 1); exit 1; }; }
4746
4471
else
4747
4472
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4748
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
 
4473
   { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
4749
4474
$as_echo "$IT_PERL_VERSION" >&6; }
4750
4475
fi
4751
4476
if test "x" != "xno-xml"; then
4752
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
 
4477
   { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
4753
4478
$as_echo_n "checking for XML::Parser... " >&6; }
4754
4479
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4755
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
4480
       { $as_echo "$as_me:$LINENO: result: ok" >&5
4756
4481
$as_echo "ok" >&6; }
4757
4482
   else
4758
 
       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
 
4483
       { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
 
4484
$as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
 
4485
   { (exit 1); exit 1; }; }
4759
4486
   fi
4760
4487
fi
4761
4488
 
4765
4492
# Set DATADIRNAME correctly if it is not set yet
4766
4493
# (copied from glib-gettext.m4)
4767
4494
if test -z "$DATADIRNAME"; then
4768
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4495
  cat >conftest.$ac_ext <<_ACEOF
 
4496
/* confdefs.h.  */
 
4497
_ACEOF
 
4498
cat confdefs.h >>conftest.$ac_ext
 
4499
cat >>conftest.$ac_ext <<_ACEOF
4769
4500
/* end confdefs.h.  */
4770
4501
 
4771
4502
int
4777
4508
  return 0;
4778
4509
}
4779
4510
_ACEOF
4780
 
if ac_fn_c_try_link "$LINENO"; then :
 
4511
rm -f conftest.$ac_objext conftest$ac_exeext
 
4512
if { (ac_try="$ac_link"
 
4513
case "(($ac_try" in
 
4514
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4515
  *) ac_try_echo=$ac_try;;
 
4516
esac
 
4517
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4518
$as_echo "$ac_try_echo") >&5
 
4519
  (eval "$ac_link") 2>conftest.er1
 
4520
  ac_status=$?
 
4521
  grep -v '^ *+' conftest.er1 >conftest.err
 
4522
  rm -f conftest.er1
 
4523
  cat conftest.err >&5
 
4524
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4525
  (exit $ac_status); } && {
 
4526
         test -z "$ac_c_werror_flag" ||
 
4527
         test ! -s conftest.err
 
4528
       } && test -s conftest$ac_exeext && {
 
4529
         test "$cross_compiling" = yes ||
 
4530
         $as_test_x conftest$ac_exeext
 
4531
       }; then
4781
4532
  DATADIRNAME=share
4782
4533
else
4783
 
  case $host in
 
4534
  $as_echo "$as_me: failed program was:" >&5
 
4535
sed 's/^/| /' conftest.$ac_ext >&5
 
4536
 
 
4537
        case $host in
4784
4538
    *-*-solaris*)
4785
 
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4786
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
4539
                        { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 
4540
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
 
4541
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
 
4542
  $as_echo_n "(cached) " >&6
 
4543
else
 
4544
  cat >conftest.$ac_ext <<_ACEOF
 
4545
/* confdefs.h.  */
 
4546
_ACEOF
 
4547
cat confdefs.h >>conftest.$ac_ext
 
4548
cat >>conftest.$ac_ext <<_ACEOF
 
4549
/* end confdefs.h.  */
 
4550
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
 
4551
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
4552
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
 
4553
 
 
4554
/* System header to define __stub macros and hopefully few prototypes,
 
4555
    which can conflict with char bind_textdomain_codeset (); below.
 
4556
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4557
    <limits.h> exists even on freestanding compilers.  */
 
4558
 
 
4559
#ifdef __STDC__
 
4560
# include <limits.h>
 
4561
#else
 
4562
# include <assert.h>
 
4563
#endif
 
4564
 
 
4565
#undef bind_textdomain_codeset
 
4566
 
 
4567
/* Override any GCC internal prototype to avoid an error.
 
4568
   Use char because int might match the return type of a GCC
 
4569
   builtin and then its argument prototype would still apply.  */
 
4570
#ifdef __cplusplus
 
4571
extern "C"
 
4572
#endif
 
4573
char bind_textdomain_codeset ();
 
4574
/* The GNU C library defines this for functions which it implements
 
4575
    to always fail with ENOSYS.  Some functions are actually named
 
4576
    something starting with __ and the normal name is an alias.  */
 
4577
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
 
4578
choke me
 
4579
#endif
 
4580
 
 
4581
int
 
4582
main ()
 
4583
{
 
4584
return bind_textdomain_codeset ();
 
4585
  ;
 
4586
  return 0;
 
4587
}
 
4588
_ACEOF
 
4589
rm -f conftest.$ac_objext conftest$ac_exeext
 
4590
if { (ac_try="$ac_link"
 
4591
case "(($ac_try" in
 
4592
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4593
  *) ac_try_echo=$ac_try;;
 
4594
esac
 
4595
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4596
$as_echo "$ac_try_echo") >&5
 
4597
  (eval "$ac_link") 2>conftest.er1
 
4598
  ac_status=$?
 
4599
  grep -v '^ *+' conftest.er1 >conftest.err
 
4600
  rm -f conftest.er1
 
4601
  cat conftest.err >&5
 
4602
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4603
  (exit $ac_status); } && {
 
4604
         test -z "$ac_c_werror_flag" ||
 
4605
         test ! -s conftest.err
 
4606
       } && test -s conftest$ac_exeext && {
 
4607
         test "$cross_compiling" = yes ||
 
4608
         $as_test_x conftest$ac_exeext
 
4609
       }; then
 
4610
  ac_cv_func_bind_textdomain_codeset=yes
 
4611
else
 
4612
  $as_echo "$as_me: failed program was:" >&5
 
4613
sed 's/^/| /' conftest.$ac_ext >&5
 
4614
 
 
4615
        ac_cv_func_bind_textdomain_codeset=no
 
4616
fi
 
4617
 
 
4618
rm -rf conftest.dSYM
 
4619
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
4620
      conftest$ac_exeext conftest.$ac_ext
 
4621
fi
 
4622
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 
4623
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
 
4624
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
4787
4625
  DATADIRNAME=share
4788
4626
else
4789
4627
  DATADIRNAME=lib
4795
4633
    ;;
4796
4634
    esac
4797
4635
fi
4798
 
rm -f core conftest.err conftest.$ac_objext \
4799
 
    conftest$ac_exeext conftest.$ac_ext
 
4636
 
 
4637
rm -rf conftest.dSYM
 
4638
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
4639
      conftest$ac_exeext conftest.$ac_ext
4800
4640
fi
4801
4641
 
4802
4642
 
4816
4656
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4817
4657
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4818
4658
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4819
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
4659
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4820
4660
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4821
4661
# On Suns, sometimes $CPP names a directory.
4822
4662
if test -n "$CPP" && test -d "$CPP"; then
4823
4663
  CPP=
4824
4664
fi
4825
4665
if test -z "$CPP"; then
4826
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
4666
  if test "${ac_cv_prog_CPP+set}" = set; then
4827
4667
  $as_echo_n "(cached) " >&6
4828
4668
else
4829
4669
      # Double quotes because CPP needs to be expanded
4838
4678
  # <limits.h> exists even on freestanding compilers.
4839
4679
  # On the NeXT, cc -E runs the code through the compiler's parser,
4840
4680
  # not just through cpp. "Syntax error" is here to catch this case.
4841
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4681
  cat >conftest.$ac_ext <<_ACEOF
 
4682
/* confdefs.h.  */
 
4683
_ACEOF
 
4684
cat confdefs.h >>conftest.$ac_ext
 
4685
cat >>conftest.$ac_ext <<_ACEOF
4842
4686
/* end confdefs.h.  */
4843
4687
#ifdef __STDC__
4844
4688
# include <limits.h>
4847
4691
#endif
4848
4692
                     Syntax error
4849
4693
_ACEOF
4850
 
if ac_fn_c_try_cpp "$LINENO"; then :
 
4694
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4695
case "(($ac_try" in
 
4696
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4697
  *) ac_try_echo=$ac_try;;
 
4698
esac
 
4699
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4700
$as_echo "$ac_try_echo") >&5
 
4701
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
4702
  ac_status=$?
 
4703
  grep -v '^ *+' conftest.er1 >conftest.err
 
4704
  rm -f conftest.er1
 
4705
  cat conftest.err >&5
 
4706
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4707
  (exit $ac_status); } >/dev/null && {
 
4708
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4709
         test ! -s conftest.err
 
4710
       }; then
 
4711
  :
 
4712
else
 
4713
  $as_echo "$as_me: failed program was:" >&5
 
4714
sed 's/^/| /' conftest.$ac_ext >&5
4851
4715
 
4852
 
else
4853
4716
  # Broken: fails on valid input.
4854
4717
continue
4855
4718
fi
 
4719
 
4856
4720
rm -f conftest.err conftest.$ac_ext
4857
4721
 
4858
4722
  # OK, works on sane cases.  Now check whether nonexistent headers
4859
4723
  # can be detected and how.
4860
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4724
  cat >conftest.$ac_ext <<_ACEOF
 
4725
/* confdefs.h.  */
 
4726
_ACEOF
 
4727
cat confdefs.h >>conftest.$ac_ext
 
4728
cat >>conftest.$ac_ext <<_ACEOF
4861
4729
/* end confdefs.h.  */
4862
4730
#include <ac_nonexistent.h>
4863
4731
_ACEOF
4864
 
if ac_fn_c_try_cpp "$LINENO"; then :
 
4732
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4733
case "(($ac_try" in
 
4734
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4735
  *) ac_try_echo=$ac_try;;
 
4736
esac
 
4737
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4738
$as_echo "$ac_try_echo") >&5
 
4739
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
4740
  ac_status=$?
 
4741
  grep -v '^ *+' conftest.er1 >conftest.err
 
4742
  rm -f conftest.er1
 
4743
  cat conftest.err >&5
 
4744
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4745
  (exit $ac_status); } >/dev/null && {
 
4746
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4747
         test ! -s conftest.err
 
4748
       }; then
4865
4749
  # Broken: success on invalid input.
4866
4750
continue
4867
4751
else
 
4752
  $as_echo "$as_me: failed program was:" >&5
 
4753
sed 's/^/| /' conftest.$ac_ext >&5
 
4754
 
4868
4755
  # Passes both tests.
4869
4756
ac_preproc_ok=:
4870
4757
break
4871
4758
fi
 
4759
 
4872
4760
rm -f conftest.err conftest.$ac_ext
4873
4761
 
4874
4762
done
4875
4763
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4876
4764
rm -f conftest.err conftest.$ac_ext
4877
 
if $ac_preproc_ok; then :
 
4765
if $ac_preproc_ok; then
4878
4766
  break
4879
4767
fi
4880
4768
 
4886
4774
else
4887
4775
  ac_cv_prog_CPP=$CPP
4888
4776
fi
4889
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
4777
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
4890
4778
$as_echo "$CPP" >&6; }
4891
4779
ac_preproc_ok=false
4892
4780
for ac_c_preproc_warn_flag in '' yes
4897
4785
  # <limits.h> exists even on freestanding compilers.
4898
4786
  # On the NeXT, cc -E runs the code through the compiler's parser,
4899
4787
  # not just through cpp. "Syntax error" is here to catch this case.
4900
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4788
  cat >conftest.$ac_ext <<_ACEOF
 
4789
/* confdefs.h.  */
 
4790
_ACEOF
 
4791
cat confdefs.h >>conftest.$ac_ext
 
4792
cat >>conftest.$ac_ext <<_ACEOF
4901
4793
/* end confdefs.h.  */
4902
4794
#ifdef __STDC__
4903
4795
# include <limits.h>
4906
4798
#endif
4907
4799
                     Syntax error
4908
4800
_ACEOF
4909
 
if ac_fn_c_try_cpp "$LINENO"; then :
 
4801
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4802
case "(($ac_try" in
 
4803
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4804
  *) ac_try_echo=$ac_try;;
 
4805
esac
 
4806
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4807
$as_echo "$ac_try_echo") >&5
 
4808
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
4809
  ac_status=$?
 
4810
  grep -v '^ *+' conftest.er1 >conftest.err
 
4811
  rm -f conftest.er1
 
4812
  cat conftest.err >&5
 
4813
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4814
  (exit $ac_status); } >/dev/null && {
 
4815
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4816
         test ! -s conftest.err
 
4817
       }; then
 
4818
  :
 
4819
else
 
4820
  $as_echo "$as_me: failed program was:" >&5
 
4821
sed 's/^/| /' conftest.$ac_ext >&5
4910
4822
 
4911
 
else
4912
4823
  # Broken: fails on valid input.
4913
4824
continue
4914
4825
fi
 
4826
 
4915
4827
rm -f conftest.err conftest.$ac_ext
4916
4828
 
4917
4829
  # OK, works on sane cases.  Now check whether nonexistent headers
4918
4830
  # can be detected and how.
4919
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4831
  cat >conftest.$ac_ext <<_ACEOF
 
4832
/* confdefs.h.  */
 
4833
_ACEOF
 
4834
cat confdefs.h >>conftest.$ac_ext
 
4835
cat >>conftest.$ac_ext <<_ACEOF
4920
4836
/* end confdefs.h.  */
4921
4837
#include <ac_nonexistent.h>
4922
4838
_ACEOF
4923
 
if ac_fn_c_try_cpp "$LINENO"; then :
 
4839
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4840
case "(($ac_try" in
 
4841
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4842
  *) ac_try_echo=$ac_try;;
 
4843
esac
 
4844
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4845
$as_echo "$ac_try_echo") >&5
 
4846
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
4847
  ac_status=$?
 
4848
  grep -v '^ *+' conftest.er1 >conftest.err
 
4849
  rm -f conftest.er1
 
4850
  cat conftest.err >&5
 
4851
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4852
  (exit $ac_status); } >/dev/null && {
 
4853
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4854
         test ! -s conftest.err
 
4855
       }; then
4924
4856
  # Broken: success on invalid input.
4925
4857
continue
4926
4858
else
 
4859
  $as_echo "$as_me: failed program was:" >&5
 
4860
sed 's/^/| /' conftest.$ac_ext >&5
 
4861
 
4927
4862
  # Passes both tests.
4928
4863
ac_preproc_ok=:
4929
4864
break
4930
4865
fi
 
4866
 
4931
4867
rm -f conftest.err conftest.$ac_ext
4932
4868
 
4933
4869
done
4934
4870
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4935
4871
rm -f conftest.err conftest.$ac_ext
4936
 
if $ac_preproc_ok; then :
4937
 
 
 
4872
if $ac_preproc_ok; then
 
4873
  :
4938
4874
else
4939
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4875
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4940
4876
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4941
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
4942
 
See \`config.log' for more details." "$LINENO" 5; }
 
4877
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
4878
See \`config.log' for more details." >&5
 
4879
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
4880
See \`config.log' for more details." >&2;}
 
4881
   { (exit 1); exit 1; }; }; }
4943
4882
fi
4944
4883
 
4945
4884
ac_ext=c
4949
4888
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4950
4889
 
4951
4890
 
4952
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
4891
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4953
4892
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4954
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
4893
if test "${ac_cv_path_GREP+set}" = set; then
4955
4894
  $as_echo_n "(cached) " >&6
4956
4895
else
4957
4896
  if test -z "$GREP"; then
4962
4901
do
4963
4902
  IFS=$as_save_IFS
4964
4903
  test -z "$as_dir" && as_dir=.
4965
 
    for ac_prog in grep ggrep; do
 
4904
  for ac_prog in grep ggrep; do
4966
4905
    for ac_exec_ext in '' $ac_executable_extensions; do
4967
4906
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4968
4907
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4982
4921
    $as_echo 'GREP' >> "conftest.nl"
4983
4922
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4984
4923
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4985
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4924
    ac_count=`expr $ac_count + 1`
4986
4925
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4987
4926
      # Best one so far, save it but keep looking for a better one
4988
4927
      ac_cv_path_GREP="$ac_path_GREP"
4997
4936
      $ac_path_GREP_found && break 3
4998
4937
    done
4999
4938
  done
5000
 
  done
 
4939
done
5001
4940
IFS=$as_save_IFS
5002
4941
  if test -z "$ac_cv_path_GREP"; then
5003
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4942
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4943
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4944
   { (exit 1); exit 1; }; }
5004
4945
  fi
5005
4946
else
5006
4947
  ac_cv_path_GREP=$GREP
5007
4948
fi
5008
4949
 
5009
4950
fi
5010
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
4951
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5011
4952
$as_echo "$ac_cv_path_GREP" >&6; }
5012
4953
 GREP="$ac_cv_path_GREP"
5013
4954
 
5014
4955
 
5015
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
4956
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
5016
4957
$as_echo_n "checking for egrep... " >&6; }
5017
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4958
if test "${ac_cv_path_EGREP+set}" = set; then
5018
4959
  $as_echo_n "(cached) " >&6
5019
4960
else
5020
4961
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5028
4969
do
5029
4970
  IFS=$as_save_IFS
5030
4971
  test -z "$as_dir" && as_dir=.
5031
 
    for ac_prog in egrep; do
 
4972
  for ac_prog in egrep; do
5032
4973
    for ac_exec_ext in '' $ac_executable_extensions; do
5033
4974
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5034
4975
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5048
4989
    $as_echo 'EGREP' >> "conftest.nl"
5049
4990
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5050
4991
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5051
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4992
    ac_count=`expr $ac_count + 1`
5052
4993
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5053
4994
      # Best one so far, save it but keep looking for a better one
5054
4995
      ac_cv_path_EGREP="$ac_path_EGREP"
5063
5004
      $ac_path_EGREP_found && break 3
5064
5005
    done
5065
5006
  done
5066
 
  done
 
5007
done
5067
5008
IFS=$as_save_IFS
5068
5009
  if test -z "$ac_cv_path_EGREP"; then
5069
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5010
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
5011
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
5012
   { (exit 1); exit 1; }; }
5070
5013
  fi
5071
5014
else
5072
5015
  ac_cv_path_EGREP=$EGREP
5074
5017
 
5075
5018
   fi
5076
5019
fi
5077
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
5020
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5078
5021
$as_echo "$ac_cv_path_EGREP" >&6; }
5079
5022
 EGREP="$ac_cv_path_EGREP"
5080
5023
 
5081
5024
 
5082
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
5025
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5083
5026
$as_echo_n "checking for ANSI C header files... " >&6; }
5084
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
5027
if test "${ac_cv_header_stdc+set}" = set; then
5085
5028
  $as_echo_n "(cached) " >&6
5086
5029
else
5087
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5030
  cat >conftest.$ac_ext <<_ACEOF
 
5031
/* confdefs.h.  */
 
5032
_ACEOF
 
5033
cat confdefs.h >>conftest.$ac_ext
 
5034
cat >>conftest.$ac_ext <<_ACEOF
5088
5035
/* end confdefs.h.  */
5089
5036
#include <stdlib.h>
5090
5037
#include <stdarg.h>
5099
5046
  return 0;
5100
5047
}
5101
5048
_ACEOF
5102
 
if ac_fn_c_try_compile "$LINENO"; then :
 
5049
rm -f conftest.$ac_objext
 
5050
if { (ac_try="$ac_compile"
 
5051
case "(($ac_try" in
 
5052
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5053
  *) ac_try_echo=$ac_try;;
 
5054
esac
 
5055
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5056
$as_echo "$ac_try_echo") >&5
 
5057
  (eval "$ac_compile") 2>conftest.er1
 
5058
  ac_status=$?
 
5059
  grep -v '^ *+' conftest.er1 >conftest.err
 
5060
  rm -f conftest.er1
 
5061
  cat conftest.err >&5
 
5062
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5063
  (exit $ac_status); } && {
 
5064
         test -z "$ac_c_werror_flag" ||
 
5065
         test ! -s conftest.err
 
5066
       } && test -s conftest.$ac_objext; then
5103
5067
  ac_cv_header_stdc=yes
5104
5068
else
5105
 
  ac_cv_header_stdc=no
 
5069
  $as_echo "$as_me: failed program was:" >&5
 
5070
sed 's/^/| /' conftest.$ac_ext >&5
 
5071
 
 
5072
        ac_cv_header_stdc=no
5106
5073
fi
 
5074
 
5107
5075
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5108
5076
 
5109
5077
if test $ac_cv_header_stdc = yes; then
5110
5078
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5111
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5079
  cat >conftest.$ac_ext <<_ACEOF
 
5080
/* confdefs.h.  */
 
5081
_ACEOF
 
5082
cat confdefs.h >>conftest.$ac_ext
 
5083
cat >>conftest.$ac_ext <<_ACEOF
5112
5084
/* end confdefs.h.  */
5113
5085
#include <string.h>
5114
5086
 
5115
5087
_ACEOF
5116
5088
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5117
 
  $EGREP "memchr" >/dev/null 2>&1; then :
5118
 
 
 
5089
  $EGREP "memchr" >/dev/null 2>&1; then
 
5090
  :
5119
5091
else
5120
5092
  ac_cv_header_stdc=no
5121
5093
fi
5125
5097
 
5126
5098
if test $ac_cv_header_stdc = yes; then
5127
5099
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5128
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5100
  cat >conftest.$ac_ext <<_ACEOF
 
5101
/* confdefs.h.  */
 
5102
_ACEOF
 
5103
cat confdefs.h >>conftest.$ac_ext
 
5104
cat >>conftest.$ac_ext <<_ACEOF
5129
5105
/* end confdefs.h.  */
5130
5106
#include <stdlib.h>
5131
5107
 
5132
5108
_ACEOF
5133
5109
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5134
 
  $EGREP "free" >/dev/null 2>&1; then :
5135
 
 
 
5110
  $EGREP "free" >/dev/null 2>&1; then
 
5111
  :
5136
5112
else
5137
5113
  ac_cv_header_stdc=no
5138
5114
fi
5142
5118
 
5143
5119
if test $ac_cv_header_stdc = yes; then
5144
5120
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5145
 
  if test "$cross_compiling" = yes; then :
 
5121
  if test "$cross_compiling" = yes; then
5146
5122
  :
5147
5123
else
5148
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5124
  cat >conftest.$ac_ext <<_ACEOF
 
5125
/* confdefs.h.  */
 
5126
_ACEOF
 
5127
cat confdefs.h >>conftest.$ac_ext
 
5128
cat >>conftest.$ac_ext <<_ACEOF
5149
5129
/* end confdefs.h.  */
5150
5130
#include <ctype.h>
5151
5131
#include <stdlib.h>
5172
5152
  return 0;
5173
5153
}
5174
5154
_ACEOF
5175
 
if ac_fn_c_try_run "$LINENO"; then :
5176
 
 
 
5155
rm -f conftest$ac_exeext
 
5156
if { (ac_try="$ac_link"
 
5157
case "(($ac_try" in
 
5158
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5159
  *) ac_try_echo=$ac_try;;
 
5160
esac
 
5161
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5162
$as_echo "$ac_try_echo") >&5
 
5163
  (eval "$ac_link") 2>&5
 
5164
  ac_status=$?
 
5165
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5166
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
5167
  { (case "(($ac_try" in
 
5168
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5169
  *) ac_try_echo=$ac_try;;
 
5170
esac
 
5171
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5172
$as_echo "$ac_try_echo") >&5
 
5173
  (eval "$ac_try") 2>&5
 
5174
  ac_status=$?
 
5175
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5176
  (exit $ac_status); }; }; then
 
5177
  :
5177
5178
else
5178
 
  ac_cv_header_stdc=no
5179
 
fi
5180
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5181
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
5182
 
fi
5183
 
 
5184
 
fi
5185
 
fi
5186
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
5179
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
5180
$as_echo "$as_me: failed program was:" >&5
 
5181
sed 's/^/| /' conftest.$ac_ext >&5
 
5182
 
 
5183
( exit $ac_status )
 
5184
ac_cv_header_stdc=no
 
5185
fi
 
5186
rm -rf conftest.dSYM
 
5187
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5188
fi
 
5189
 
 
5190
 
 
5191
fi
 
5192
fi
 
5193
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5187
5194
$as_echo "$ac_cv_header_stdc" >&6; }
5188
5195
if test $ac_cv_header_stdc = yes; then
5189
5196
 
5190
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
5197
cat >>confdefs.h <<\_ACEOF
 
5198
#define STDC_HEADERS 1
 
5199
_ACEOF
5191
5200
 
5192
5201
fi
5193
5202
 
5194
5203
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
5204
 
 
5205
 
 
5206
 
 
5207
 
 
5208
 
 
5209
 
 
5210
 
 
5211
 
 
5212
 
5195
5213
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5196
5214
                  inttypes.h stdint.h unistd.h
5197
 
do :
5198
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5199
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5200
 
"
5201
 
eval as_val=\$$as_ac_Header
5202
 
   if test "x$as_val" = x""yes; then :
 
5215
do
 
5216
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5217
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5218
$as_echo_n "checking for $ac_header... " >&6; }
 
5219
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5220
  $as_echo_n "(cached) " >&6
 
5221
else
 
5222
  cat >conftest.$ac_ext <<_ACEOF
 
5223
/* confdefs.h.  */
 
5224
_ACEOF
 
5225
cat confdefs.h >>conftest.$ac_ext
 
5226
cat >>conftest.$ac_ext <<_ACEOF
 
5227
/* end confdefs.h.  */
 
5228
$ac_includes_default
 
5229
 
 
5230
#include <$ac_header>
 
5231
_ACEOF
 
5232
rm -f conftest.$ac_objext
 
5233
if { (ac_try="$ac_compile"
 
5234
case "(($ac_try" in
 
5235
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5236
  *) ac_try_echo=$ac_try;;
 
5237
esac
 
5238
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5239
$as_echo "$ac_try_echo") >&5
 
5240
  (eval "$ac_compile") 2>conftest.er1
 
5241
  ac_status=$?
 
5242
  grep -v '^ *+' conftest.er1 >conftest.err
 
5243
  rm -f conftest.er1
 
5244
  cat conftest.err >&5
 
5245
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5246
  (exit $ac_status); } && {
 
5247
         test -z "$ac_c_werror_flag" ||
 
5248
         test ! -s conftest.err
 
5249
       } && test -s conftest.$ac_objext; then
 
5250
  eval "$as_ac_Header=yes"
 
5251
else
 
5252
  $as_echo "$as_me: failed program was:" >&5
 
5253
sed 's/^/| /' conftest.$ac_ext >&5
 
5254
 
 
5255
        eval "$as_ac_Header=no"
 
5256
fi
 
5257
 
 
5258
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5259
fi
 
5260
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5261
                 $as_echo "$as_val"'`
 
5262
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5263
$as_echo "$ac_res" >&6; }
 
5264
as_val=`eval 'as_val=${'$as_ac_Header'}
 
5265
                 $as_echo "$as_val"'`
 
5266
   if test "x$as_val" = x""yes; then
5203
5267
  cat >>confdefs.h <<_ACEOF
5204
5268
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5205
5269
_ACEOF
5210
5274
 
5211
5275
 
5212
5276
 
5213
 
   for ac_header in locale.h
5214
 
do :
5215
 
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
5216
 
if test "x$ac_cv_header_locale_h" = x""yes; then :
 
5277
 
 
5278
for ac_header in locale.h
 
5279
do
 
5280
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5281
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5282
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5283
$as_echo_n "checking for $ac_header... " >&6; }
 
5284
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5285
  $as_echo_n "(cached) " >&6
 
5286
fi
 
5287
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5288
                 $as_echo "$as_val"'`
 
5289
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5290
$as_echo "$ac_res" >&6; }
 
5291
else
 
5292
  # Is the header compilable?
 
5293
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5294
$as_echo_n "checking $ac_header usability... " >&6; }
 
5295
cat >conftest.$ac_ext <<_ACEOF
 
5296
/* confdefs.h.  */
 
5297
_ACEOF
 
5298
cat confdefs.h >>conftest.$ac_ext
 
5299
cat >>conftest.$ac_ext <<_ACEOF
 
5300
/* end confdefs.h.  */
 
5301
$ac_includes_default
 
5302
#include <$ac_header>
 
5303
_ACEOF
 
5304
rm -f conftest.$ac_objext
 
5305
if { (ac_try="$ac_compile"
 
5306
case "(($ac_try" in
 
5307
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5308
  *) ac_try_echo=$ac_try;;
 
5309
esac
 
5310
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5311
$as_echo "$ac_try_echo") >&5
 
5312
  (eval "$ac_compile") 2>conftest.er1
 
5313
  ac_status=$?
 
5314
  grep -v '^ *+' conftest.er1 >conftest.err
 
5315
  rm -f conftest.er1
 
5316
  cat conftest.err >&5
 
5317
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5318
  (exit $ac_status); } && {
 
5319
         test -z "$ac_c_werror_flag" ||
 
5320
         test ! -s conftest.err
 
5321
       } && test -s conftest.$ac_objext; then
 
5322
  ac_header_compiler=yes
 
5323
else
 
5324
  $as_echo "$as_me: failed program was:" >&5
 
5325
sed 's/^/| /' conftest.$ac_ext >&5
 
5326
 
 
5327
        ac_header_compiler=no
 
5328
fi
 
5329
 
 
5330
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5331
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5332
$as_echo "$ac_header_compiler" >&6; }
 
5333
 
 
5334
# Is the header present?
 
5335
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5336
$as_echo_n "checking $ac_header presence... " >&6; }
 
5337
cat >conftest.$ac_ext <<_ACEOF
 
5338
/* confdefs.h.  */
 
5339
_ACEOF
 
5340
cat confdefs.h >>conftest.$ac_ext
 
5341
cat >>conftest.$ac_ext <<_ACEOF
 
5342
/* end confdefs.h.  */
 
5343
#include <$ac_header>
 
5344
_ACEOF
 
5345
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5346
case "(($ac_try" in
 
5347
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5348
  *) ac_try_echo=$ac_try;;
 
5349
esac
 
5350
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5351
$as_echo "$ac_try_echo") >&5
 
5352
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
5353
  ac_status=$?
 
5354
  grep -v '^ *+' conftest.er1 >conftest.err
 
5355
  rm -f conftest.er1
 
5356
  cat conftest.err >&5
 
5357
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5358
  (exit $ac_status); } >/dev/null && {
 
5359
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5360
         test ! -s conftest.err
 
5361
       }; then
 
5362
  ac_header_preproc=yes
 
5363
else
 
5364
  $as_echo "$as_me: failed program was:" >&5
 
5365
sed 's/^/| /' conftest.$ac_ext >&5
 
5366
 
 
5367
  ac_header_preproc=no
 
5368
fi
 
5369
 
 
5370
rm -f conftest.err conftest.$ac_ext
 
5371
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5372
$as_echo "$ac_header_preproc" >&6; }
 
5373
 
 
5374
# So?  What about this header?
 
5375
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
5376
  yes:no: )
 
5377
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
5378
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
5379
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
5380
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
5381
    ac_header_preproc=yes
 
5382
    ;;
 
5383
  no:yes:* )
 
5384
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
5385
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
5386
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
5387
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
5388
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
5389
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
5390
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
5391
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
5392
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
5393
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
5394
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
5395
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
5396
    ( cat <<\_ASBOX
 
5397
## ------------------------------------------- ##
 
5398
## Report this to lordsawar-discuss@nongnu.org ##
 
5399
## ------------------------------------------- ##
 
5400
_ASBOX
 
5401
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
5402
    ;;
 
5403
esac
 
5404
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5405
$as_echo_n "checking for $ac_header... " >&6; }
 
5406
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5407
  $as_echo_n "(cached) " >&6
 
5408
else
 
5409
  eval "$as_ac_Header=\$ac_header_preproc"
 
5410
fi
 
5411
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5412
                 $as_echo "$as_val"'`
 
5413
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5414
$as_echo "$ac_res" >&6; }
 
5415
 
 
5416
fi
 
5417
as_val=`eval 'as_val=${'$as_ac_Header'}
 
5418
                 $as_echo "$as_val"'`
 
5419
   if test "x$as_val" = x""yes; then
5217
5420
  cat >>confdefs.h <<_ACEOF
5218
 
#define HAVE_LOCALE_H 1
 
5421
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5219
5422
_ACEOF
5220
5423
 
5221
5424
fi
5223
5426
done
5224
5427
 
5225
5428
    if test $ac_cv_header_locale_h = yes; then
5226
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
 
5429
    { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
5227
5430
$as_echo_n "checking for LC_MESSAGES... " >&6; }
5228
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
 
5431
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
5229
5432
  $as_echo_n "(cached) " >&6
5230
5433
else
5231
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5434
  cat >conftest.$ac_ext <<_ACEOF
 
5435
/* confdefs.h.  */
 
5436
_ACEOF
 
5437
cat confdefs.h >>conftest.$ac_ext
 
5438
cat >>conftest.$ac_ext <<_ACEOF
5232
5439
/* end confdefs.h.  */
5233
5440
#include <locale.h>
5234
5441
int
5239
5446
  return 0;
5240
5447
}
5241
5448
_ACEOF
5242
 
if ac_fn_c_try_link "$LINENO"; then :
 
5449
rm -f conftest.$ac_objext conftest$ac_exeext
 
5450
if { (ac_try="$ac_link"
 
5451
case "(($ac_try" in
 
5452
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5453
  *) ac_try_echo=$ac_try;;
 
5454
esac
 
5455
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5456
$as_echo "$ac_try_echo") >&5
 
5457
  (eval "$ac_link") 2>conftest.er1
 
5458
  ac_status=$?
 
5459
  grep -v '^ *+' conftest.er1 >conftest.err
 
5460
  rm -f conftest.er1
 
5461
  cat conftest.err >&5
 
5462
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5463
  (exit $ac_status); } && {
 
5464
         test -z "$ac_c_werror_flag" ||
 
5465
         test ! -s conftest.err
 
5466
       } && test -s conftest$ac_exeext && {
 
5467
         test "$cross_compiling" = yes ||
 
5468
         $as_test_x conftest$ac_exeext
 
5469
       }; then
5243
5470
  am_cv_val_LC_MESSAGES=yes
5244
5471
else
5245
 
  am_cv_val_LC_MESSAGES=no
5246
 
fi
5247
 
rm -f core conftest.err conftest.$ac_objext \
5248
 
    conftest$ac_exeext conftest.$ac_ext
5249
 
fi
5250
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
 
5472
  $as_echo "$as_me: failed program was:" >&5
 
5473
sed 's/^/| /' conftest.$ac_ext >&5
 
5474
 
 
5475
        am_cv_val_LC_MESSAGES=no
 
5476
fi
 
5477
 
 
5478
rm -rf conftest.dSYM
 
5479
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5480
      conftest$ac_exeext conftest.$ac_ext
 
5481
fi
 
5482
{ $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
5251
5483
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
5252
5484
    if test $am_cv_val_LC_MESSAGES = yes; then
5253
5485
 
5254
 
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
 
5486
cat >>confdefs.h <<\_ACEOF
 
5487
#define HAVE_LC_MESSAGES 1
 
5488
_ACEOF
5255
5489
 
5256
5490
    fi
5257
5491
  fi
5264
5498
    XGETTEXT=:
5265
5499
    INTLLIBS=
5266
5500
 
5267
 
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
5268
 
if test "x$ac_cv_header_libintl_h" = x""yes; then :
 
5501
    if test "${ac_cv_header_libintl_h+set}" = set; then
 
5502
  { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
 
5503
$as_echo_n "checking for libintl.h... " >&6; }
 
5504
if test "${ac_cv_header_libintl_h+set}" = set; then
 
5505
  $as_echo_n "(cached) " >&6
 
5506
fi
 
5507
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
5508
$as_echo "$ac_cv_header_libintl_h" >&6; }
 
5509
else
 
5510
  # Is the header compilable?
 
5511
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
 
5512
$as_echo_n "checking libintl.h usability... " >&6; }
 
5513
cat >conftest.$ac_ext <<_ACEOF
 
5514
/* confdefs.h.  */
 
5515
_ACEOF
 
5516
cat confdefs.h >>conftest.$ac_ext
 
5517
cat >>conftest.$ac_ext <<_ACEOF
 
5518
/* end confdefs.h.  */
 
5519
$ac_includes_default
 
5520
#include <libintl.h>
 
5521
_ACEOF
 
5522
rm -f conftest.$ac_objext
 
5523
if { (ac_try="$ac_compile"
 
5524
case "(($ac_try" in
 
5525
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5526
  *) ac_try_echo=$ac_try;;
 
5527
esac
 
5528
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5529
$as_echo "$ac_try_echo") >&5
 
5530
  (eval "$ac_compile") 2>conftest.er1
 
5531
  ac_status=$?
 
5532
  grep -v '^ *+' conftest.er1 >conftest.err
 
5533
  rm -f conftest.er1
 
5534
  cat conftest.err >&5
 
5535
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5536
  (exit $ac_status); } && {
 
5537
         test -z "$ac_c_werror_flag" ||
 
5538
         test ! -s conftest.err
 
5539
       } && test -s conftest.$ac_objext; then
 
5540
  ac_header_compiler=yes
 
5541
else
 
5542
  $as_echo "$as_me: failed program was:" >&5
 
5543
sed 's/^/| /' conftest.$ac_ext >&5
 
5544
 
 
5545
        ac_header_compiler=no
 
5546
fi
 
5547
 
 
5548
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5549
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5550
$as_echo "$ac_header_compiler" >&6; }
 
5551
 
 
5552
# Is the header present?
 
5553
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
 
5554
$as_echo_n "checking libintl.h presence... " >&6; }
 
5555
cat >conftest.$ac_ext <<_ACEOF
 
5556
/* confdefs.h.  */
 
5557
_ACEOF
 
5558
cat confdefs.h >>conftest.$ac_ext
 
5559
cat >>conftest.$ac_ext <<_ACEOF
 
5560
/* end confdefs.h.  */
 
5561
#include <libintl.h>
 
5562
_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
 
5580
  ac_header_preproc=yes
 
5581
else
 
5582
  $as_echo "$as_me: failed program was:" >&5
 
5583
sed 's/^/| /' conftest.$ac_ext >&5
 
5584
 
 
5585
  ac_header_preproc=no
 
5586
fi
 
5587
 
 
5588
rm -f conftest.err conftest.$ac_ext
 
5589
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5590
$as_echo "$ac_header_preproc" >&6; }
 
5591
 
 
5592
# So?  What about this header?
 
5593
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
5594
  yes:no: )
 
5595
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
5596
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
5597
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
 
5598
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
 
5599
    ac_header_preproc=yes
 
5600
    ;;
 
5601
  no:yes:* )
 
5602
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
 
5603
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
 
5604
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
 
5605
$as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
 
5606
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
 
5607
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
 
5608
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
 
5609
$as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
5610
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
 
5611
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
 
5612
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
 
5613
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
 
5614
    ( cat <<\_ASBOX
 
5615
## ------------------------------------------- ##
 
5616
## Report this to lordsawar-discuss@nongnu.org ##
 
5617
## ------------------------------------------- ##
 
5618
_ASBOX
 
5619
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
5620
    ;;
 
5621
esac
 
5622
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
 
5623
$as_echo_n "checking for libintl.h... " >&6; }
 
5624
if test "${ac_cv_header_libintl_h+set}" = set; then
 
5625
  $as_echo_n "(cached) " >&6
 
5626
else
 
5627
  ac_cv_header_libintl_h=$ac_header_preproc
 
5628
fi
 
5629
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
5630
$as_echo "$ac_cv_header_libintl_h" >&6; }
 
5631
 
 
5632
fi
 
5633
if test "x$ac_cv_header_libintl_h" = x""yes; then
5269
5634
  gt_cv_func_dgettext_libintl="no"
5270
5635
      libintl_extra_libs=""
5271
5636
 
5272
5637
      #
5273
5638
      # First check in libc
5274
5639
      #
5275
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
 
5640
      { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
5276
5641
$as_echo_n "checking for ngettext in libc... " >&6; }
5277
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
 
5642
if test "${gt_cv_func_ngettext_libc+set}" = set; then
5278
5643
  $as_echo_n "(cached) " >&6
5279
5644
else
5280
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5645
  cat >conftest.$ac_ext <<_ACEOF
 
5646
/* confdefs.h.  */
 
5647
_ACEOF
 
5648
cat confdefs.h >>conftest.$ac_ext
 
5649
cat >>conftest.$ac_ext <<_ACEOF
5281
5650
/* end confdefs.h.  */
5282
5651
 
5283
5652
#include <libintl.h>
5290
5659
  return 0;
5291
5660
}
5292
5661
_ACEOF
5293
 
if ac_fn_c_try_link "$LINENO"; then :
 
5662
rm -f conftest.$ac_objext conftest$ac_exeext
 
5663
if { (ac_try="$ac_link"
 
5664
case "(($ac_try" in
 
5665
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5666
  *) ac_try_echo=$ac_try;;
 
5667
esac
 
5668
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5669
$as_echo "$ac_try_echo") >&5
 
5670
  (eval "$ac_link") 2>conftest.er1
 
5671
  ac_status=$?
 
5672
  grep -v '^ *+' conftest.er1 >conftest.err
 
5673
  rm -f conftest.er1
 
5674
  cat conftest.err >&5
 
5675
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5676
  (exit $ac_status); } && {
 
5677
         test -z "$ac_c_werror_flag" ||
 
5678
         test ! -s conftest.err
 
5679
       } && test -s conftest$ac_exeext && {
 
5680
         test "$cross_compiling" = yes ||
 
5681
         $as_test_x conftest$ac_exeext
 
5682
       }; then
5294
5683
  gt_cv_func_ngettext_libc=yes
5295
5684
else
5296
 
  gt_cv_func_ngettext_libc=no
5297
 
fi
5298
 
rm -f core conftest.err conftest.$ac_objext \
5299
 
    conftest$ac_exeext conftest.$ac_ext
5300
 
 
5301
 
fi
5302
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
 
5685
  $as_echo "$as_me: failed program was:" >&5
 
5686
sed 's/^/| /' conftest.$ac_ext >&5
 
5687
 
 
5688
        gt_cv_func_ngettext_libc=no
 
5689
fi
 
5690
 
 
5691
rm -rf conftest.dSYM
 
5692
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5693
      conftest$ac_exeext conftest.$ac_ext
 
5694
 
 
5695
fi
 
5696
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
5303
5697
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
5304
5698
 
5305
5699
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5306
 
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
 
5700
              { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
5307
5701
$as_echo_n "checking for dgettext in libc... " >&6; }
5308
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
 
5702
if test "${gt_cv_func_dgettext_libc+set}" = set; then
5309
5703
  $as_echo_n "(cached) " >&6
5310
5704
else
5311
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5705
  cat >conftest.$ac_ext <<_ACEOF
 
5706
/* confdefs.h.  */
 
5707
_ACEOF
 
5708
cat confdefs.h >>conftest.$ac_ext
 
5709
cat >>conftest.$ac_ext <<_ACEOF
5312
5710
/* end confdefs.h.  */
5313
5711
 
5314
5712
#include <libintl.h>
5321
5719
  return 0;
5322
5720
}
5323
5721
_ACEOF
5324
 
if ac_fn_c_try_link "$LINENO"; then :
 
5722
rm -f conftest.$ac_objext conftest$ac_exeext
 
5723
if { (ac_try="$ac_link"
 
5724
case "(($ac_try" in
 
5725
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5726
  *) ac_try_echo=$ac_try;;
 
5727
esac
 
5728
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5729
$as_echo "$ac_try_echo") >&5
 
5730
  (eval "$ac_link") 2>conftest.er1
 
5731
  ac_status=$?
 
5732
  grep -v '^ *+' conftest.er1 >conftest.err
 
5733
  rm -f conftest.er1
 
5734
  cat conftest.err >&5
 
5735
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5736
  (exit $ac_status); } && {
 
5737
         test -z "$ac_c_werror_flag" ||
 
5738
         test ! -s conftest.err
 
5739
       } && test -s conftest$ac_exeext && {
 
5740
         test "$cross_compiling" = yes ||
 
5741
         $as_test_x conftest$ac_exeext
 
5742
       }; then
5325
5743
  gt_cv_func_dgettext_libc=yes
5326
5744
else
5327
 
  gt_cv_func_dgettext_libc=no
5328
 
fi
5329
 
rm -f core conftest.err conftest.$ac_objext \
5330
 
    conftest$ac_exeext conftest.$ac_ext
5331
 
 
5332
 
fi
5333
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
 
5745
  $as_echo "$as_me: failed program was:" >&5
 
5746
sed 's/^/| /' conftest.$ac_ext >&5
 
5747
 
 
5748
        gt_cv_func_dgettext_libc=no
 
5749
fi
 
5750
 
 
5751
rm -rf conftest.dSYM
 
5752
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5753
      conftest$ac_exeext conftest.$ac_ext
 
5754
 
 
5755
fi
 
5756
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
5334
5757
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
5335
5758
      fi
5336
5759
 
5337
5760
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5338
 
        for ac_func in bind_textdomain_codeset
5339
 
do :
5340
 
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5341
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
5761
 
 
5762
for ac_func in bind_textdomain_codeset
 
5763
do
 
5764
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
5765
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
5766
$as_echo_n "checking for $ac_func... " >&6; }
 
5767
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
5768
  $as_echo_n "(cached) " >&6
 
5769
else
 
5770
  cat >conftest.$ac_ext <<_ACEOF
 
5771
/* confdefs.h.  */
 
5772
_ACEOF
 
5773
cat confdefs.h >>conftest.$ac_ext
 
5774
cat >>conftest.$ac_ext <<_ACEOF
 
5775
/* end confdefs.h.  */
 
5776
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
5777
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
5778
#define $ac_func innocuous_$ac_func
 
5779
 
 
5780
/* System header to define __stub macros and hopefully few prototypes,
 
5781
    which can conflict with char $ac_func (); below.
 
5782
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
5783
    <limits.h> exists even on freestanding compilers.  */
 
5784
 
 
5785
#ifdef __STDC__
 
5786
# include <limits.h>
 
5787
#else
 
5788
# include <assert.h>
 
5789
#endif
 
5790
 
 
5791
#undef $ac_func
 
5792
 
 
5793
/* Override any GCC internal prototype to avoid an error.
 
5794
   Use char because int might match the return type of a GCC
 
5795
   builtin and then its argument prototype would still apply.  */
 
5796
#ifdef __cplusplus
 
5797
extern "C"
 
5798
#endif
 
5799
char $ac_func ();
 
5800
/* The GNU C library defines this for functions which it implements
 
5801
    to always fail with ENOSYS.  Some functions are actually named
 
5802
    something starting with __ and the normal name is an alias.  */
 
5803
#if defined __stub_$ac_func || defined __stub___$ac_func
 
5804
choke me
 
5805
#endif
 
5806
 
 
5807
int
 
5808
main ()
 
5809
{
 
5810
return $ac_func ();
 
5811
  ;
 
5812
  return 0;
 
5813
}
 
5814
_ACEOF
 
5815
rm -f conftest.$ac_objext conftest$ac_exeext
 
5816
if { (ac_try="$ac_link"
 
5817
case "(($ac_try" in
 
5818
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5819
  *) ac_try_echo=$ac_try;;
 
5820
esac
 
5821
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5822
$as_echo "$ac_try_echo") >&5
 
5823
  (eval "$ac_link") 2>conftest.er1
 
5824
  ac_status=$?
 
5825
  grep -v '^ *+' conftest.er1 >conftest.err
 
5826
  rm -f conftest.er1
 
5827
  cat conftest.err >&5
 
5828
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5829
  (exit $ac_status); } && {
 
5830
         test -z "$ac_c_werror_flag" ||
 
5831
         test ! -s conftest.err
 
5832
       } && test -s conftest$ac_exeext && {
 
5833
         test "$cross_compiling" = yes ||
 
5834
         $as_test_x conftest$ac_exeext
 
5835
       }; then
 
5836
  eval "$as_ac_var=yes"
 
5837
else
 
5838
  $as_echo "$as_me: failed program was:" >&5
 
5839
sed 's/^/| /' conftest.$ac_ext >&5
 
5840
 
 
5841
        eval "$as_ac_var=no"
 
5842
fi
 
5843
 
 
5844
rm -rf conftest.dSYM
 
5845
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5846
      conftest$ac_exeext conftest.$ac_ext
 
5847
fi
 
5848
ac_res=`eval 'as_val=${'$as_ac_var'}
 
5849
                 $as_echo "$as_val"'`
 
5850
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5851
$as_echo "$ac_res" >&6; }
 
5852
as_val=`eval 'as_val=${'$as_ac_var'}
 
5853
                 $as_echo "$as_val"'`
 
5854
   if test "x$as_val" = x""yes; then
5342
5855
  cat >>confdefs.h <<_ACEOF
5343
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
5856
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5344
5857
_ACEOF
5345
5858
 
5346
5859
fi
5355
5868
         || test "$gt_cv_func_ngettext_libc" != "yes" \
5356
5869
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
5357
5870
 
5358
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
 
5871
        { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
5359
5872
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
5360
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
 
5873
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
5361
5874
  $as_echo_n "(cached) " >&6
5362
5875
else
5363
5876
  ac_check_lib_save_LIBS=$LIBS
5364
5877
LIBS="-lintl  $LIBS"
5365
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5878
cat >conftest.$ac_ext <<_ACEOF
 
5879
/* confdefs.h.  */
 
5880
_ACEOF
 
5881
cat confdefs.h >>conftest.$ac_ext
 
5882
cat >>conftest.$ac_ext <<_ACEOF
5366
5883
/* end confdefs.h.  */
5367
5884
 
5368
5885
/* Override any GCC internal prototype to avoid an error.
5380
5897
  return 0;
5381
5898
}
5382
5899
_ACEOF
5383
 
if ac_fn_c_try_link "$LINENO"; then :
 
5900
rm -f conftest.$ac_objext conftest$ac_exeext
 
5901
if { (ac_try="$ac_link"
 
5902
case "(($ac_try" in
 
5903
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5904
  *) ac_try_echo=$ac_try;;
 
5905
esac
 
5906
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5907
$as_echo "$ac_try_echo") >&5
 
5908
  (eval "$ac_link") 2>conftest.er1
 
5909
  ac_status=$?
 
5910
  grep -v '^ *+' conftest.er1 >conftest.err
 
5911
  rm -f conftest.er1
 
5912
  cat conftest.err >&5
 
5913
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5914
  (exit $ac_status); } && {
 
5915
         test -z "$ac_c_werror_flag" ||
 
5916
         test ! -s conftest.err
 
5917
       } && test -s conftest$ac_exeext && {
 
5918
         test "$cross_compiling" = yes ||
 
5919
         $as_test_x conftest$ac_exeext
 
5920
       }; then
5384
5921
  ac_cv_lib_intl_bindtextdomain=yes
5385
5922
else
5386
 
  ac_cv_lib_intl_bindtextdomain=no
 
5923
  $as_echo "$as_me: failed program was:" >&5
 
5924
sed 's/^/| /' conftest.$ac_ext >&5
 
5925
 
 
5926
        ac_cv_lib_intl_bindtextdomain=no
5387
5927
fi
5388
 
rm -f core conftest.err conftest.$ac_objext \
5389
 
    conftest$ac_exeext conftest.$ac_ext
 
5928
 
 
5929
rm -rf conftest.dSYM
 
5930
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5931
      conftest$ac_exeext conftest.$ac_ext
5390
5932
LIBS=$ac_check_lib_save_LIBS
5391
5933
fi
5392
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
5934
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
5393
5935
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
5394
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
5395
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
5936
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
 
5937
  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
5396
5938
$as_echo_n "checking for ngettext in -lintl... " >&6; }
5397
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
5939
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
5398
5940
  $as_echo_n "(cached) " >&6
5399
5941
else
5400
5942
  ac_check_lib_save_LIBS=$LIBS
5401
5943
LIBS="-lintl  $LIBS"
5402
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5944
cat >conftest.$ac_ext <<_ACEOF
 
5945
/* confdefs.h.  */
 
5946
_ACEOF
 
5947
cat confdefs.h >>conftest.$ac_ext
 
5948
cat >>conftest.$ac_ext <<_ACEOF
5403
5949
/* end confdefs.h.  */
5404
5950
 
5405
5951
/* Override any GCC internal prototype to avoid an error.
5417
5963
  return 0;
5418
5964
}
5419
5965
_ACEOF
5420
 
if ac_fn_c_try_link "$LINENO"; then :
 
5966
rm -f conftest.$ac_objext conftest$ac_exeext
 
5967
if { (ac_try="$ac_link"
 
5968
case "(($ac_try" in
 
5969
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5970
  *) ac_try_echo=$ac_try;;
 
5971
esac
 
5972
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5973
$as_echo "$ac_try_echo") >&5
 
5974
  (eval "$ac_link") 2>conftest.er1
 
5975
  ac_status=$?
 
5976
  grep -v '^ *+' conftest.er1 >conftest.err
 
5977
  rm -f conftest.er1
 
5978
  cat conftest.err >&5
 
5979
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5980
  (exit $ac_status); } && {
 
5981
         test -z "$ac_c_werror_flag" ||
 
5982
         test ! -s conftest.err
 
5983
       } && test -s conftest$ac_exeext && {
 
5984
         test "$cross_compiling" = yes ||
 
5985
         $as_test_x conftest$ac_exeext
 
5986
       }; then
5421
5987
  ac_cv_lib_intl_ngettext=yes
5422
5988
else
5423
 
  ac_cv_lib_intl_ngettext=no
 
5989
  $as_echo "$as_me: failed program was:" >&5
 
5990
sed 's/^/| /' conftest.$ac_ext >&5
 
5991
 
 
5992
        ac_cv_lib_intl_ngettext=no
5424
5993
fi
5425
 
rm -f core conftest.err conftest.$ac_objext \
5426
 
    conftest$ac_exeext conftest.$ac_ext
 
5994
 
 
5995
rm -rf conftest.dSYM
 
5996
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5997
      conftest$ac_exeext conftest.$ac_ext
5427
5998
LIBS=$ac_check_lib_save_LIBS
5428
5999
fi
5429
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
6000
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
5430
6001
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5431
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
5432
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
 
6002
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
 
6003
  { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
5433
6004
$as_echo_n "checking for dgettext in -lintl... " >&6; }
5434
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
 
6005
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
5435
6006
  $as_echo_n "(cached) " >&6
5436
6007
else
5437
6008
  ac_check_lib_save_LIBS=$LIBS
5438
6009
LIBS="-lintl  $LIBS"
5439
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6010
cat >conftest.$ac_ext <<_ACEOF
 
6011
/* confdefs.h.  */
 
6012
_ACEOF
 
6013
cat confdefs.h >>conftest.$ac_ext
 
6014
cat >>conftest.$ac_ext <<_ACEOF
5440
6015
/* end confdefs.h.  */
5441
6016
 
5442
6017
/* Override any GCC internal prototype to avoid an error.
5454
6029
  return 0;
5455
6030
}
5456
6031
_ACEOF
5457
 
if ac_fn_c_try_link "$LINENO"; then :
 
6032
rm -f conftest.$ac_objext conftest$ac_exeext
 
6033
if { (ac_try="$ac_link"
 
6034
case "(($ac_try" in
 
6035
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6036
  *) ac_try_echo=$ac_try;;
 
6037
esac
 
6038
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6039
$as_echo "$ac_try_echo") >&5
 
6040
  (eval "$ac_link") 2>conftest.er1
 
6041
  ac_status=$?
 
6042
  grep -v '^ *+' conftest.er1 >conftest.err
 
6043
  rm -f conftest.er1
 
6044
  cat conftest.err >&5
 
6045
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6046
  (exit $ac_status); } && {
 
6047
         test -z "$ac_c_werror_flag" ||
 
6048
         test ! -s conftest.err
 
6049
       } && test -s conftest$ac_exeext && {
 
6050
         test "$cross_compiling" = yes ||
 
6051
         $as_test_x conftest$ac_exeext
 
6052
       }; then
5458
6053
  ac_cv_lib_intl_dgettext=yes
5459
6054
else
5460
 
  ac_cv_lib_intl_dgettext=no
 
6055
  $as_echo "$as_me: failed program was:" >&5
 
6056
sed 's/^/| /' conftest.$ac_ext >&5
 
6057
 
 
6058
        ac_cv_lib_intl_dgettext=no
5461
6059
fi
5462
 
rm -f core conftest.err conftest.$ac_objext \
5463
 
    conftest$ac_exeext conftest.$ac_ext
 
6060
 
 
6061
rm -rf conftest.dSYM
 
6062
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6063
      conftest$ac_exeext conftest.$ac_ext
5464
6064
LIBS=$ac_check_lib_save_LIBS
5465
6065
fi
5466
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
 
6066
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
5467
6067
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
5468
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
 
6068
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
5469
6069
  gt_cv_func_dgettext_libintl=yes
5470
6070
fi
5471
6071
 
5475
6075
 
5476
6076
 
5477
6077
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5478
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
 
6078
          { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
5479
6079
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
5480
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
 
6080
          { $as_echo "$as_me:$LINENO: result: " >&5
5481
6081
$as_echo "" >&6; }
5482
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
6082
          { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
5483
6083
$as_echo_n "checking for ngettext in -lintl... " >&6; }
5484
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
6084
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
5485
6085
  $as_echo_n "(cached) " >&6
5486
6086
else
5487
6087
  ac_check_lib_save_LIBS=$LIBS
5488
6088
LIBS="-lintl -liconv $LIBS"
5489
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6089
cat >conftest.$ac_ext <<_ACEOF
 
6090
/* confdefs.h.  */
 
6091
_ACEOF
 
6092
cat confdefs.h >>conftest.$ac_ext
 
6093
cat >>conftest.$ac_ext <<_ACEOF
5490
6094
/* end confdefs.h.  */
5491
6095
 
5492
6096
/* Override any GCC internal prototype to avoid an error.
5504
6108
  return 0;
5505
6109
}
5506
6110
_ACEOF
5507
 
if ac_fn_c_try_link "$LINENO"; then :
 
6111
rm -f conftest.$ac_objext conftest$ac_exeext
 
6112
if { (ac_try="$ac_link"
 
6113
case "(($ac_try" in
 
6114
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6115
  *) ac_try_echo=$ac_try;;
 
6116
esac
 
6117
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6118
$as_echo "$ac_try_echo") >&5
 
6119
  (eval "$ac_link") 2>conftest.er1
 
6120
  ac_status=$?
 
6121
  grep -v '^ *+' conftest.er1 >conftest.err
 
6122
  rm -f conftest.er1
 
6123
  cat conftest.err >&5
 
6124
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6125
  (exit $ac_status); } && {
 
6126
         test -z "$ac_c_werror_flag" ||
 
6127
         test ! -s conftest.err
 
6128
       } && test -s conftest$ac_exeext && {
 
6129
         test "$cross_compiling" = yes ||
 
6130
         $as_test_x conftest$ac_exeext
 
6131
       }; then
5508
6132
  ac_cv_lib_intl_ngettext=yes
5509
6133
else
5510
 
  ac_cv_lib_intl_ngettext=no
 
6134
  $as_echo "$as_me: failed program was:" >&5
 
6135
sed 's/^/| /' conftest.$ac_ext >&5
 
6136
 
 
6137
        ac_cv_lib_intl_ngettext=no
5511
6138
fi
5512
 
rm -f core conftest.err conftest.$ac_objext \
5513
 
    conftest$ac_exeext conftest.$ac_ext
 
6139
 
 
6140
rm -rf conftest.dSYM
 
6141
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6142
      conftest$ac_exeext conftest.$ac_ext
5514
6143
LIBS=$ac_check_lib_save_LIBS
5515
6144
fi
5516
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
6145
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
5517
6146
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5518
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
5519
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
 
6147
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
 
6148
  { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
5520
6149
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
5521
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
 
6150
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
5522
6151
  $as_echo_n "(cached) " >&6
5523
6152
else
5524
6153
  ac_check_lib_save_LIBS=$LIBS
5525
6154
LIBS="-lintl -liconv $LIBS"
5526
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6155
cat >conftest.$ac_ext <<_ACEOF
 
6156
/* confdefs.h.  */
 
6157
_ACEOF
 
6158
cat confdefs.h >>conftest.$ac_ext
 
6159
cat >>conftest.$ac_ext <<_ACEOF
5527
6160
/* end confdefs.h.  */
5528
6161
 
5529
6162
/* Override any GCC internal prototype to avoid an error.
5541
6174
  return 0;
5542
6175
}
5543
6176
_ACEOF
5544
 
if ac_fn_c_try_link "$LINENO"; then :
 
6177
rm -f conftest.$ac_objext conftest$ac_exeext
 
6178
if { (ac_try="$ac_link"
 
6179
case "(($ac_try" in
 
6180
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6181
  *) ac_try_echo=$ac_try;;
 
6182
esac
 
6183
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6184
$as_echo "$ac_try_echo") >&5
 
6185
  (eval "$ac_link") 2>conftest.er1
 
6186
  ac_status=$?
 
6187
  grep -v '^ *+' conftest.er1 >conftest.err
 
6188
  rm -f conftest.er1
 
6189
  cat conftest.err >&5
 
6190
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6191
  (exit $ac_status); } && {
 
6192
         test -z "$ac_c_werror_flag" ||
 
6193
         test ! -s conftest.err
 
6194
       } && test -s conftest$ac_exeext && {
 
6195
         test "$cross_compiling" = yes ||
 
6196
         $as_test_x conftest$ac_exeext
 
6197
       }; then
5545
6198
  ac_cv_lib_intl_dcgettext=yes
5546
6199
else
5547
 
  ac_cv_lib_intl_dcgettext=no
 
6200
  $as_echo "$as_me: failed program was:" >&5
 
6201
sed 's/^/| /' conftest.$ac_ext >&5
 
6202
 
 
6203
        ac_cv_lib_intl_dcgettext=no
5548
6204
fi
5549
 
rm -f core conftest.err conftest.$ac_objext \
5550
 
    conftest$ac_exeext conftest.$ac_ext
 
6205
 
 
6206
rm -rf conftest.dSYM
 
6207
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6208
      conftest$ac_exeext conftest.$ac_ext
5551
6209
LIBS=$ac_check_lib_save_LIBS
5552
6210
fi
5553
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
 
6211
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
5554
6212
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
5555
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
 
6213
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
5556
6214
  gt_cv_func_dgettext_libintl=yes
5557
6215
                        libintl_extra_libs=-liconv
5558
6216
else
5574
6232
          glib_save_LIBS="$LIBS"
5575
6233
          LIBS="$LIBS -lintl $libintl_extra_libs"
5576
6234
          unset ac_cv_func_bind_textdomain_codeset
5577
 
          for ac_func in bind_textdomain_codeset
5578
 
do :
5579
 
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5580
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
6235
 
 
6236
for ac_func in bind_textdomain_codeset
 
6237
do
 
6238
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
6239
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
6240
$as_echo_n "checking for $ac_func... " >&6; }
 
6241
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
6242
  $as_echo_n "(cached) " >&6
 
6243
else
 
6244
  cat >conftest.$ac_ext <<_ACEOF
 
6245
/* confdefs.h.  */
 
6246
_ACEOF
 
6247
cat confdefs.h >>conftest.$ac_ext
 
6248
cat >>conftest.$ac_ext <<_ACEOF
 
6249
/* end confdefs.h.  */
 
6250
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
6251
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
6252
#define $ac_func innocuous_$ac_func
 
6253
 
 
6254
/* System header to define __stub macros and hopefully few prototypes,
 
6255
    which can conflict with char $ac_func (); below.
 
6256
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6257
    <limits.h> exists even on freestanding compilers.  */
 
6258
 
 
6259
#ifdef __STDC__
 
6260
# include <limits.h>
 
6261
#else
 
6262
# include <assert.h>
 
6263
#endif
 
6264
 
 
6265
#undef $ac_func
 
6266
 
 
6267
/* Override any GCC internal prototype to avoid an error.
 
6268
   Use char because int might match the return type of a GCC
 
6269
   builtin and then its argument prototype would still apply.  */
 
6270
#ifdef __cplusplus
 
6271
extern "C"
 
6272
#endif
 
6273
char $ac_func ();
 
6274
/* The GNU C library defines this for functions which it implements
 
6275
    to always fail with ENOSYS.  Some functions are actually named
 
6276
    something starting with __ and the normal name is an alias.  */
 
6277
#if defined __stub_$ac_func || defined __stub___$ac_func
 
6278
choke me
 
6279
#endif
 
6280
 
 
6281
int
 
6282
main ()
 
6283
{
 
6284
return $ac_func ();
 
6285
  ;
 
6286
  return 0;
 
6287
}
 
6288
_ACEOF
 
6289
rm -f conftest.$ac_objext conftest$ac_exeext
 
6290
if { (ac_try="$ac_link"
 
6291
case "(($ac_try" in
 
6292
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6293
  *) ac_try_echo=$ac_try;;
 
6294
esac
 
6295
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6296
$as_echo "$ac_try_echo") >&5
 
6297
  (eval "$ac_link") 2>conftest.er1
 
6298
  ac_status=$?
 
6299
  grep -v '^ *+' conftest.er1 >conftest.err
 
6300
  rm -f conftest.er1
 
6301
  cat conftest.err >&5
 
6302
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6303
  (exit $ac_status); } && {
 
6304
         test -z "$ac_c_werror_flag" ||
 
6305
         test ! -s conftest.err
 
6306
       } && test -s conftest$ac_exeext && {
 
6307
         test "$cross_compiling" = yes ||
 
6308
         $as_test_x conftest$ac_exeext
 
6309
       }; then
 
6310
  eval "$as_ac_var=yes"
 
6311
else
 
6312
  $as_echo "$as_me: failed program was:" >&5
 
6313
sed 's/^/| /' conftest.$ac_ext >&5
 
6314
 
 
6315
        eval "$as_ac_var=no"
 
6316
fi
 
6317
 
 
6318
rm -rf conftest.dSYM
 
6319
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6320
      conftest$ac_exeext conftest.$ac_ext
 
6321
fi
 
6322
ac_res=`eval 'as_val=${'$as_ac_var'}
 
6323
                 $as_echo "$as_val"'`
 
6324
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6325
$as_echo "$ac_res" >&6; }
 
6326
as_val=`eval 'as_val=${'$as_ac_var'}
 
6327
                 $as_echo "$as_val"'`
 
6328
   if test "x$as_val" = x""yes; then
5581
6329
  cat >>confdefs.h <<_ACEOF
5582
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
6330
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5583
6331
_ACEOF
5584
6332
 
5585
6333
fi
5609
6357
 
5610
6358
      if test "$gt_cv_have_gettext" = "yes"; then
5611
6359
 
5612
 
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
6360
cat >>confdefs.h <<\_ACEOF
 
6361
#define HAVE_GETTEXT 1
 
6362
_ACEOF
5613
6363
 
5614
6364
        # Extract the first word of "msgfmt", so it can be a program name with args.
5615
6365
set dummy msgfmt; ac_word=$2
5616
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6366
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5617
6367
$as_echo_n "checking for $ac_word... " >&6; }
5618
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
6368
if test "${ac_cv_path_MSGFMT+set}" = set; then
5619
6369
  $as_echo_n "(cached) " >&6
5620
6370
else
5621
6371
  case "$MSGFMT" in
5640
6390
fi
5641
6391
MSGFMT="$ac_cv_path_MSGFMT"
5642
6392
if test "$MSGFMT" != "no"; then
5643
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
6393
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
5644
6394
$as_echo "$MSGFMT" >&6; }
5645
6395
else
5646
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6396
  { $as_echo "$as_me:$LINENO: result: no" >&5
5647
6397
$as_echo "no" >&6; }
5648
6398
fi
5649
6399
        if test "$MSGFMT" != "no"; then
5650
6400
          glib_save_LIBS="$LIBS"
5651
6401
          LIBS="$LIBS $INTLLIBS"
5652
 
          for ac_func in dcgettext
5653
 
do :
5654
 
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
5655
 
if test "x$ac_cv_func_dcgettext" = x""yes; then :
 
6402
 
 
6403
for ac_func in dcgettext
 
6404
do
 
6405
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
6406
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
6407
$as_echo_n "checking for $ac_func... " >&6; }
 
6408
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
6409
  $as_echo_n "(cached) " >&6
 
6410
else
 
6411
  cat >conftest.$ac_ext <<_ACEOF
 
6412
/* confdefs.h.  */
 
6413
_ACEOF
 
6414
cat confdefs.h >>conftest.$ac_ext
 
6415
cat >>conftest.$ac_ext <<_ACEOF
 
6416
/* end confdefs.h.  */
 
6417
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
6418
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
6419
#define $ac_func innocuous_$ac_func
 
6420
 
 
6421
/* System header to define __stub macros and hopefully few prototypes,
 
6422
    which can conflict with char $ac_func (); below.
 
6423
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6424
    <limits.h> exists even on freestanding compilers.  */
 
6425
 
 
6426
#ifdef __STDC__
 
6427
# include <limits.h>
 
6428
#else
 
6429
# include <assert.h>
 
6430
#endif
 
6431
 
 
6432
#undef $ac_func
 
6433
 
 
6434
/* Override any GCC internal prototype to avoid an error.
 
6435
   Use char because int might match the return type of a GCC
 
6436
   builtin and then its argument prototype would still apply.  */
 
6437
#ifdef __cplusplus
 
6438
extern "C"
 
6439
#endif
 
6440
char $ac_func ();
 
6441
/* The GNU C library defines this for functions which it implements
 
6442
    to always fail with ENOSYS.  Some functions are actually named
 
6443
    something starting with __ and the normal name is an alias.  */
 
6444
#if defined __stub_$ac_func || defined __stub___$ac_func
 
6445
choke me
 
6446
#endif
 
6447
 
 
6448
int
 
6449
main ()
 
6450
{
 
6451
return $ac_func ();
 
6452
  ;
 
6453
  return 0;
 
6454
}
 
6455
_ACEOF
 
6456
rm -f conftest.$ac_objext conftest$ac_exeext
 
6457
if { (ac_try="$ac_link"
 
6458
case "(($ac_try" in
 
6459
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6460
  *) ac_try_echo=$ac_try;;
 
6461
esac
 
6462
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6463
$as_echo "$ac_try_echo") >&5
 
6464
  (eval "$ac_link") 2>conftest.er1
 
6465
  ac_status=$?
 
6466
  grep -v '^ *+' conftest.er1 >conftest.err
 
6467
  rm -f conftest.er1
 
6468
  cat conftest.err >&5
 
6469
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6470
  (exit $ac_status); } && {
 
6471
         test -z "$ac_c_werror_flag" ||
 
6472
         test ! -s conftest.err
 
6473
       } && test -s conftest$ac_exeext && {
 
6474
         test "$cross_compiling" = yes ||
 
6475
         $as_test_x conftest$ac_exeext
 
6476
       }; then
 
6477
  eval "$as_ac_var=yes"
 
6478
else
 
6479
  $as_echo "$as_me: failed program was:" >&5
 
6480
sed 's/^/| /' conftest.$ac_ext >&5
 
6481
 
 
6482
        eval "$as_ac_var=no"
 
6483
fi
 
6484
 
 
6485
rm -rf conftest.dSYM
 
6486
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6487
      conftest$ac_exeext conftest.$ac_ext
 
6488
fi
 
6489
ac_res=`eval 'as_val=${'$as_ac_var'}
 
6490
                 $as_echo "$as_val"'`
 
6491
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6492
$as_echo "$ac_res" >&6; }
 
6493
as_val=`eval 'as_val=${'$as_ac_var'}
 
6494
                 $as_echo "$as_val"'`
 
6495
   if test "x$as_val" = x""yes; then
5656
6496
  cat >>confdefs.h <<_ACEOF
5657
 
#define HAVE_DCGETTEXT 1
 
6497
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5658
6498
_ACEOF
5659
6499
 
5660
6500
fi
5661
6501
done
5662
6502
 
5663
6503
          MSGFMT_OPTS=
5664
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
 
6504
          { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
5665
6505
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
5666
6506
          cat >conftest.foo <<_ACEOF
5667
6507
 
5676
6516
"Content-Transfer-Encoding: 8bit\n"
5677
6517
 
5678
6518
_ACEOF
5679
 
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
 
6519
if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
5680
6520
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
5681
6521
  ac_status=$?
5682
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5683
 
  test $ac_status = 0; }; then
5684
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
6522
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6523
  (exit $ac_status); }; then
 
6524
  MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
5685
6525
$as_echo "yes" >&6; }
5686
 
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6526
else { $as_echo "$as_me:$LINENO: result: no" >&5
5687
6527
$as_echo "no" >&6; }
5688
6528
echo "$as_me: failed input was:" >&5
5689
6529
sed 's/^/| /' conftest.foo >&5
5691
6531
 
5692
6532
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
5693
6533
set dummy gmsgfmt; ac_word=$2
5694
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6534
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5695
6535
$as_echo_n "checking for $ac_word... " >&6; }
5696
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
6536
if test "${ac_cv_path_GMSGFMT+set}" = set; then
5697
6537
  $as_echo_n "(cached) " >&6
5698
6538
else
5699
6539
  case $GMSGFMT in
5706
6546
do
5707
6547
  IFS=$as_save_IFS
5708
6548
  test -z "$as_dir" && as_dir=.
5709
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6549
  for ac_exec_ext in '' $ac_executable_extensions; do
5710
6550
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5711
6551
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5712
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6552
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5713
6553
    break 2
5714
6554
  fi
5715
6555
done
5716
 
  done
 
6556
done
5717
6557
IFS=$as_save_IFS
5718
6558
 
5719
6559
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5722
6562
fi
5723
6563
GMSGFMT=$ac_cv_path_GMSGFMT
5724
6564
if test -n "$GMSGFMT"; then
5725
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
6565
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5726
6566
$as_echo "$GMSGFMT" >&6; }
5727
6567
else
5728
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6568
  { $as_echo "$as_me:$LINENO: result: no" >&5
5729
6569
$as_echo "no" >&6; }
5730
6570
fi
5731
6571
 
5732
6572
 
5733
6573
          # Extract the first word of "xgettext", so it can be a program name with args.
5734
6574
set dummy xgettext; ac_word=$2
5735
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6575
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5736
6576
$as_echo_n "checking for $ac_word... " >&6; }
5737
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
6577
if test "${ac_cv_path_XGETTEXT+set}" = set; then
5738
6578
  $as_echo_n "(cached) " >&6
5739
6579
else
5740
6580
  case "$XGETTEXT" in
5759
6599
fi
5760
6600
XGETTEXT="$ac_cv_path_XGETTEXT"
5761
6601
if test "$XGETTEXT" != ":"; then
5762
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
6602
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5763
6603
$as_echo "$XGETTEXT" >&6; }
5764
6604
else
5765
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6605
  { $as_echo "$as_me:$LINENO: result: no" >&5
5766
6606
$as_echo "no" >&6; }
5767
6607
fi
5768
6608
 
5769
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6609
          cat >conftest.$ac_ext <<_ACEOF
 
6610
/* confdefs.h.  */
 
6611
_ACEOF
 
6612
cat confdefs.h >>conftest.$ac_ext
 
6613
cat >>conftest.$ac_ext <<_ACEOF
5770
6614
/* end confdefs.h.  */
5771
6615
 
5772
6616
int
5778
6622
  return 0;
5779
6623
}
5780
6624
_ACEOF
5781
 
if ac_fn_c_try_link "$LINENO"; then :
 
6625
rm -f conftest.$ac_objext conftest$ac_exeext
 
6626
if { (ac_try="$ac_link"
 
6627
case "(($ac_try" in
 
6628
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6629
  *) ac_try_echo=$ac_try;;
 
6630
esac
 
6631
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6632
$as_echo "$ac_try_echo") >&5
 
6633
  (eval "$ac_link") 2>conftest.er1
 
6634
  ac_status=$?
 
6635
  grep -v '^ *+' conftest.er1 >conftest.err
 
6636
  rm -f conftest.er1
 
6637
  cat conftest.err >&5
 
6638
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6639
  (exit $ac_status); } && {
 
6640
         test -z "$ac_c_werror_flag" ||
 
6641
         test ! -s conftest.err
 
6642
       } && test -s conftest$ac_exeext && {
 
6643
         test "$cross_compiling" = yes ||
 
6644
         $as_test_x conftest$ac_exeext
 
6645
       }; then
5782
6646
  CATOBJEXT=.gmo
5783
6647
             DATADIRNAME=share
5784
6648
else
5785
 
  case $host in
 
6649
  $as_echo "$as_me: failed program was:" >&5
 
6650
sed 's/^/| /' conftest.$ac_ext >&5
 
6651
 
 
6652
        case $host in
5786
6653
            *-*-solaris*)
5787
 
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5788
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
6654
                                                                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 
6655
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
 
6656
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
 
6657
  $as_echo_n "(cached) " >&6
 
6658
else
 
6659
  cat >conftest.$ac_ext <<_ACEOF
 
6660
/* confdefs.h.  */
 
6661
_ACEOF
 
6662
cat confdefs.h >>conftest.$ac_ext
 
6663
cat >>conftest.$ac_ext <<_ACEOF
 
6664
/* end confdefs.h.  */
 
6665
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
 
6666
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
6667
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
 
6668
 
 
6669
/* System header to define __stub macros and hopefully few prototypes,
 
6670
    which can conflict with char bind_textdomain_codeset (); below.
 
6671
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6672
    <limits.h> exists even on freestanding compilers.  */
 
6673
 
 
6674
#ifdef __STDC__
 
6675
# include <limits.h>
 
6676
#else
 
6677
# include <assert.h>
 
6678
#endif
 
6679
 
 
6680
#undef bind_textdomain_codeset
 
6681
 
 
6682
/* Override any GCC internal prototype to avoid an error.
 
6683
   Use char because int might match the return type of a GCC
 
6684
   builtin and then its argument prototype would still apply.  */
 
6685
#ifdef __cplusplus
 
6686
extern "C"
 
6687
#endif
 
6688
char bind_textdomain_codeset ();
 
6689
/* The GNU C library defines this for functions which it implements
 
6690
    to always fail with ENOSYS.  Some functions are actually named
 
6691
    something starting with __ and the normal name is an alias.  */
 
6692
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
 
6693
choke me
 
6694
#endif
 
6695
 
 
6696
int
 
6697
main ()
 
6698
{
 
6699
return bind_textdomain_codeset ();
 
6700
  ;
 
6701
  return 0;
 
6702
}
 
6703
_ACEOF
 
6704
rm -f conftest.$ac_objext conftest$ac_exeext
 
6705
if { (ac_try="$ac_link"
 
6706
case "(($ac_try" in
 
6707
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6708
  *) ac_try_echo=$ac_try;;
 
6709
esac
 
6710
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6711
$as_echo "$ac_try_echo") >&5
 
6712
  (eval "$ac_link") 2>conftest.er1
 
6713
  ac_status=$?
 
6714
  grep -v '^ *+' conftest.er1 >conftest.err
 
6715
  rm -f conftest.er1
 
6716
  cat conftest.err >&5
 
6717
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6718
  (exit $ac_status); } && {
 
6719
         test -z "$ac_c_werror_flag" ||
 
6720
         test ! -s conftest.err
 
6721
       } && test -s conftest$ac_exeext && {
 
6722
         test "$cross_compiling" = yes ||
 
6723
         $as_test_x conftest$ac_exeext
 
6724
       }; then
 
6725
  ac_cv_func_bind_textdomain_codeset=yes
 
6726
else
 
6727
  $as_echo "$as_me: failed program was:" >&5
 
6728
sed 's/^/| /' conftest.$ac_ext >&5
 
6729
 
 
6730
        ac_cv_func_bind_textdomain_codeset=no
 
6731
fi
 
6732
 
 
6733
rm -rf conftest.dSYM
 
6734
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6735
      conftest$ac_exeext conftest.$ac_ext
 
6736
fi
 
6737
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 
6738
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
 
6739
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
5789
6740
  CATOBJEXT=.gmo
5790
6741
               DATADIRNAME=share
5791
6742
else
5800
6751
            ;;
5801
6752
            esac
5802
6753
fi
5803
 
rm -f core conftest.err conftest.$ac_objext \
5804
 
    conftest$ac_exeext conftest.$ac_ext
 
6754
 
 
6755
rm -rf conftest.dSYM
 
6756
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6757
      conftest$ac_exeext conftest.$ac_ext
5805
6758
          LIBS="$glib_save_LIBS"
5806
6759
          INSTOBJEXT=.mo
5807
6760
        else
5815
6768
 
5816
6769
    if test "$gt_cv_have_gettext" = "yes" ; then
5817
6770
 
5818
 
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
 
6771
cat >>confdefs.h <<\_ACEOF
 
6772
#define ENABLE_NLS 1
 
6773
_ACEOF
5819
6774
 
5820
6775
    fi
5821
6776
 
5823
6778
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
5824
6779
        : ;
5825
6780
      else
5826
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
6781
        { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
5827
6782
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
5828
6783
        XGETTEXT=":"
5829
6784
      fi
5856
6811
     if test "x$ALL_LINGUAS" = "x"; then
5857
6812
       LINGUAS=
5858
6813
     else
5859
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
 
6814
       { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5860
6815
$as_echo_n "checking for catalogs to be installed... " >&6; }
5861
6816
       NEW_LINGUAS=
5862
6817
       for presentlang in $ALL_LINGUAS; do
5881
6836
         fi
5882
6837
       done
5883
6838
       LINGUAS=$NEW_LINGUAS
5884
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
 
6839
       { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
5885
6840
$as_echo "$LINGUAS" >&6; }
5886
6841
     fi
5887
6842
 
5931
6886
  do
5932
6887
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5933
6888
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5934
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6889
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5935
6890
$as_echo_n "checking for $ac_word... " >&6; }
5936
 
if test "${ac_cv_prog_CXX+set}" = set; then :
 
6891
if test "${ac_cv_prog_CXX+set}" = set; then
5937
6892
  $as_echo_n "(cached) " >&6
5938
6893
else
5939
6894
  if test -n "$CXX"; then
5944
6899
do
5945
6900
  IFS=$as_save_IFS
5946
6901
  test -z "$as_dir" && as_dir=.
5947
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6902
  for ac_exec_ext in '' $ac_executable_extensions; do
5948
6903
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5949
6904
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5950
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6905
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5951
6906
    break 2
5952
6907
  fi
5953
6908
done
5954
 
  done
 
6909
done
5955
6910
IFS=$as_save_IFS
5956
6911
 
5957
6912
fi
5958
6913
fi
5959
6914
CXX=$ac_cv_prog_CXX
5960
6915
if test -n "$CXX"; then
5961
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
6916
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
5962
6917
$as_echo "$CXX" >&6; }
5963
6918
else
5964
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6919
  { $as_echo "$as_me:$LINENO: result: no" >&5
5965
6920
$as_echo "no" >&6; }
5966
6921
fi
5967
6922
 
5975
6930
do
5976
6931
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5977
6932
set dummy $ac_prog; ac_word=$2
5978
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6933
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5979
6934
$as_echo_n "checking for $ac_word... " >&6; }
5980
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
6935
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5981
6936
  $as_echo_n "(cached) " >&6
5982
6937
else
5983
6938
  if test -n "$ac_ct_CXX"; then
5988
6943
do
5989
6944
  IFS=$as_save_IFS
5990
6945
  test -z "$as_dir" && as_dir=.
5991
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6946
  for ac_exec_ext in '' $ac_executable_extensions; do
5992
6947
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5993
6948
    ac_cv_prog_ac_ct_CXX="$ac_prog"
5994
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6949
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5995
6950
    break 2
5996
6951
  fi
5997
6952
done
5998
 
  done
 
6953
done
5999
6954
IFS=$as_save_IFS
6000
6955
 
6001
6956
fi
6002
6957
fi
6003
6958
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6004
6959
if test -n "$ac_ct_CXX"; then
6005
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
6960
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6006
6961
$as_echo "$ac_ct_CXX" >&6; }
6007
6962
else
6008
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6963
  { $as_echo "$as_me:$LINENO: result: no" >&5
6009
6964
$as_echo "no" >&6; }
6010
6965
fi
6011
6966
 
6018
6973
  else
6019
6974
    case $cross_compiling:$ac_tool_warned in
6020
6975
yes:)
6021
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6976
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6022
6977
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6023
6978
ac_tool_warned=yes ;;
6024
6979
esac
6029
6984
  fi
6030
6985
fi
6031
6986
# Provide some information about the compiler.
6032
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
6987
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6033
6988
set X $ac_compile
6034
6989
ac_compiler=$2
6035
 
for ac_option in --version -v -V -qversion; do
6036
 
  { { ac_try="$ac_compiler $ac_option >&5"
6037
 
case "(($ac_try" in
6038
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6039
 
  *) ac_try_echo=$ac_try;;
6040
 
esac
6041
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6042
 
$as_echo "$ac_try_echo"; } >&5
6043
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6044
 
  ac_status=$?
6045
 
  if test -s conftest.err; then
6046
 
    sed '10a\
6047
 
... rest of stderr output deleted ...
6048
 
         10q' conftest.err >conftest.er1
6049
 
    cat conftest.er1 >&5
6050
 
    rm -f conftest.er1 conftest.err
6051
 
  fi
6052
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6053
 
  test $ac_status = 0; }
6054
 
done
 
6990
{ (ac_try="$ac_compiler --version >&5"
 
6991
case "(($ac_try" in
 
6992
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6993
  *) ac_try_echo=$ac_try;;
 
6994
esac
 
6995
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6996
$as_echo "$ac_try_echo") >&5
 
6997
  (eval "$ac_compiler --version >&5") 2>&5
 
6998
  ac_status=$?
 
6999
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7000
  (exit $ac_status); }
 
7001
{ (ac_try="$ac_compiler -v >&5"
 
7002
case "(($ac_try" in
 
7003
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7004
  *) ac_try_echo=$ac_try;;
 
7005
esac
 
7006
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7007
$as_echo "$ac_try_echo") >&5
 
7008
  (eval "$ac_compiler -v >&5") 2>&5
 
7009
  ac_status=$?
 
7010
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7011
  (exit $ac_status); }
 
7012
{ (ac_try="$ac_compiler -V >&5"
 
7013
case "(($ac_try" in
 
7014
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7015
  *) ac_try_echo=$ac_try;;
 
7016
esac
 
7017
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7018
$as_echo "$ac_try_echo") >&5
 
7019
  (eval "$ac_compiler -V >&5") 2>&5
 
7020
  ac_status=$?
 
7021
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7022
  (exit $ac_status); }
6055
7023
 
6056
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
7024
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6057
7025
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6058
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
7026
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6059
7027
  $as_echo_n "(cached) " >&6
6060
7028
else
6061
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7029
  cat >conftest.$ac_ext <<_ACEOF
 
7030
/* confdefs.h.  */
 
7031
_ACEOF
 
7032
cat confdefs.h >>conftest.$ac_ext
 
7033
cat >>conftest.$ac_ext <<_ACEOF
6062
7034
/* end confdefs.h.  */
6063
7035
 
6064
7036
int
6072
7044
  return 0;
6073
7045
}
6074
7046
_ACEOF
6075
 
if ac_fn_cxx_try_compile "$LINENO"; then :
 
7047
rm -f conftest.$ac_objext
 
7048
if { (ac_try="$ac_compile"
 
7049
case "(($ac_try" in
 
7050
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7051
  *) ac_try_echo=$ac_try;;
 
7052
esac
 
7053
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7054
$as_echo "$ac_try_echo") >&5
 
7055
  (eval "$ac_compile") 2>conftest.er1
 
7056
  ac_status=$?
 
7057
  grep -v '^ *+' conftest.er1 >conftest.err
 
7058
  rm -f conftest.er1
 
7059
  cat conftest.err >&5
 
7060
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7061
  (exit $ac_status); } && {
 
7062
         test -z "$ac_cxx_werror_flag" ||
 
7063
         test ! -s conftest.err
 
7064
       } && test -s conftest.$ac_objext; then
6076
7065
  ac_compiler_gnu=yes
6077
7066
else
6078
 
  ac_compiler_gnu=no
 
7067
  $as_echo "$as_me: failed program was:" >&5
 
7068
sed 's/^/| /' conftest.$ac_ext >&5
 
7069
 
 
7070
        ac_compiler_gnu=no
6079
7071
fi
 
7072
 
6080
7073
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6081
7074
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6082
7075
 
6083
7076
fi
6084
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
7077
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6085
7078
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6086
7079
if test $ac_compiler_gnu = yes; then
6087
7080
  GXX=yes
6090
7083
fi
6091
7084
ac_test_CXXFLAGS=${CXXFLAGS+set}
6092
7085
ac_save_CXXFLAGS=$CXXFLAGS
6093
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
7086
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6094
7087
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
6095
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
7088
if test "${ac_cv_prog_cxx_g+set}" = set; then
6096
7089
  $as_echo_n "(cached) " >&6
6097
7090
else
6098
7091
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6099
7092
   ac_cxx_werror_flag=yes
6100
7093
   ac_cv_prog_cxx_g=no
6101
7094
   CXXFLAGS="-g"
6102
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7095
   cat >conftest.$ac_ext <<_ACEOF
 
7096
/* confdefs.h.  */
 
7097
_ACEOF
 
7098
cat confdefs.h >>conftest.$ac_ext
 
7099
cat >>conftest.$ac_ext <<_ACEOF
6103
7100
/* end confdefs.h.  */
6104
7101
 
6105
7102
int
6110
7107
  return 0;
6111
7108
}
6112
7109
_ACEOF
6113
 
if ac_fn_cxx_try_compile "$LINENO"; then :
 
7110
rm -f conftest.$ac_objext
 
7111
if { (ac_try="$ac_compile"
 
7112
case "(($ac_try" in
 
7113
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7114
  *) ac_try_echo=$ac_try;;
 
7115
esac
 
7116
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7117
$as_echo "$ac_try_echo") >&5
 
7118
  (eval "$ac_compile") 2>conftest.er1
 
7119
  ac_status=$?
 
7120
  grep -v '^ *+' conftest.er1 >conftest.err
 
7121
  rm -f conftest.er1
 
7122
  cat conftest.err >&5
 
7123
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7124
  (exit $ac_status); } && {
 
7125
         test -z "$ac_cxx_werror_flag" ||
 
7126
         test ! -s conftest.err
 
7127
       } && test -s conftest.$ac_objext; then
6114
7128
  ac_cv_prog_cxx_g=yes
6115
7129
else
6116
 
  CXXFLAGS=""
6117
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7130
  $as_echo "$as_me: failed program was:" >&5
 
7131
sed 's/^/| /' conftest.$ac_ext >&5
 
7132
 
 
7133
        CXXFLAGS=""
 
7134
      cat >conftest.$ac_ext <<_ACEOF
 
7135
/* confdefs.h.  */
 
7136
_ACEOF
 
7137
cat confdefs.h >>conftest.$ac_ext
 
7138
cat >>conftest.$ac_ext <<_ACEOF
6118
7139
/* end confdefs.h.  */
6119
7140
 
6120
7141
int
6125
7146
  return 0;
6126
7147
}
6127
7148
_ACEOF
6128
 
if ac_fn_cxx_try_compile "$LINENO"; then :
 
7149
rm -f conftest.$ac_objext
 
7150
if { (ac_try="$ac_compile"
 
7151
case "(($ac_try" in
 
7152
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7153
  *) ac_try_echo=$ac_try;;
 
7154
esac
 
7155
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7156
$as_echo "$ac_try_echo") >&5
 
7157
  (eval "$ac_compile") 2>conftest.er1
 
7158
  ac_status=$?
 
7159
  grep -v '^ *+' conftest.er1 >conftest.err
 
7160
  rm -f conftest.er1
 
7161
  cat conftest.err >&5
 
7162
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7163
  (exit $ac_status); } && {
 
7164
         test -z "$ac_cxx_werror_flag" ||
 
7165
         test ! -s conftest.err
 
7166
       } && test -s conftest.$ac_objext; then
 
7167
  :
 
7168
else
 
7169
  $as_echo "$as_me: failed program was:" >&5
 
7170
sed 's/^/| /' conftest.$ac_ext >&5
6129
7171
 
6130
 
else
6131
 
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
7172
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6132
7173
         CXXFLAGS="-g"
6133
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7174
         cat >conftest.$ac_ext <<_ACEOF
 
7175
/* confdefs.h.  */
 
7176
_ACEOF
 
7177
cat confdefs.h >>conftest.$ac_ext
 
7178
cat >>conftest.$ac_ext <<_ACEOF
6134
7179
/* end confdefs.h.  */
6135
7180
 
6136
7181
int
6141
7186
  return 0;
6142
7187
}
6143
7188
_ACEOF
6144
 
if ac_fn_cxx_try_compile "$LINENO"; then :
 
7189
rm -f conftest.$ac_objext
 
7190
if { (ac_try="$ac_compile"
 
7191
case "(($ac_try" in
 
7192
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7193
  *) ac_try_echo=$ac_try;;
 
7194
esac
 
7195
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7196
$as_echo "$ac_try_echo") >&5
 
7197
  (eval "$ac_compile") 2>conftest.er1
 
7198
  ac_status=$?
 
7199
  grep -v '^ *+' conftest.er1 >conftest.err
 
7200
  rm -f conftest.er1
 
7201
  cat conftest.err >&5
 
7202
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7203
  (exit $ac_status); } && {
 
7204
         test -z "$ac_cxx_werror_flag" ||
 
7205
         test ! -s conftest.err
 
7206
       } && test -s conftest.$ac_objext; then
6145
7207
  ac_cv_prog_cxx_g=yes
6146
 
fi
6147
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6148
 
fi
6149
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6150
 
fi
 
7208
else
 
7209
  $as_echo "$as_me: failed program was:" >&5
 
7210
sed 's/^/| /' conftest.$ac_ext >&5
 
7211
 
 
7212
 
 
7213
fi
 
7214
 
 
7215
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7216
fi
 
7217
 
 
7218
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7219
fi
 
7220
 
6151
7221
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6152
7222
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6153
7223
fi
6154
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
7224
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6155
7225
$as_echo "$ac_cv_prog_cxx_g" >&6; }
6156
7226
if test "$ac_test_CXXFLAGS" = set; then
6157
7227
  CXXFLAGS=$ac_save_CXXFLAGS
6176
7246
 
6177
7247
depcc="$CXX"  am_compiler_list=
6178
7248
 
6179
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
7249
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6180
7250
$as_echo_n "checking dependency style of $depcc... " >&6; }
6181
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
7251
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6182
7252
  $as_echo_n "(cached) " >&6
6183
7253
else
6184
7254
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6286
7356
fi
6287
7357
 
6288
7358
fi
6289
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
7359
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6290
7360
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6291
7361
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6292
7362
 
6301
7371
fi
6302
7372
 
6303
7373
 
 
7374
if test -n "$CXX"; then
 
7375
  gppver=`$CXX --version 2>/dev/null | sed -e '2,$d' -e 's@^\([^0-9.]*\) \([0-9.]*\)\(.*\)@\2@'`
 
7376
else
 
7377
  { { $as_echo "$as_me:$LINENO: error: *** C++ compiler not found." >&5
 
7378
$as_echo "$as_me: error: *** C++ compiler not found." >&2;}
 
7379
   { (exit 1); exit 1; }; }
 
7380
fi
 
7381
 
 
7382
 
6304
7383
case `pwd` in
6305
7384
  *\ * | *\     *)
6306
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
7385
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6307
7386
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6308
7387
esac
6309
7388
 
6310
7389
 
6311
7390
 
6312
 
macro_version='2.2.6'
6313
 
macro_revision='1.3012'
 
7391
macro_version='2.2.6b'
 
7392
macro_revision='1.3017'
6314
7393
 
6315
7394
 
6316
7395
 
6326
7405
 
6327
7406
ltmain="$ac_aux_dir/ltmain.sh"
6328
7407
 
6329
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
7408
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6330
7409
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6331
 
if test "${ac_cv_path_SED+set}" = set; then :
 
7410
if test "${ac_cv_path_SED+set}" = set; then
6332
7411
  $as_echo_n "(cached) " >&6
6333
7412
else
6334
7413
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6336
7415
       ac_script="$ac_script$as_nl$ac_script"
6337
7416
     done
6338
7417
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6339
 
     { ac_script=; unset ac_script;}
 
7418
     $as_unset ac_script || ac_script=
6340
7419
     if test -z "$SED"; then
6341
7420
  ac_path_SED_found=false
6342
7421
  # Loop through the user's path and test for each of PROGNAME-LIST
6345
7424
do
6346
7425
  IFS=$as_save_IFS
6347
7426
  test -z "$as_dir" && as_dir=.
6348
 
    for ac_prog in sed gsed; do
 
7427
  for ac_prog in sed gsed; do
6349
7428
    for ac_exec_ext in '' $ac_executable_extensions; do
6350
7429
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6351
7430
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6365
7444
    $as_echo '' >> "conftest.nl"
6366
7445
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6367
7446
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6368
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
7447
    ac_count=`expr $ac_count + 1`
6369
7448
    if test $ac_count -gt ${ac_path_SED_max-0}; then
6370
7449
      # Best one so far, save it but keep looking for a better one
6371
7450
      ac_cv_path_SED="$ac_path_SED"
6380
7459
      $ac_path_SED_found && break 3
6381
7460
    done
6382
7461
  done
6383
 
  done
 
7462
done
6384
7463
IFS=$as_save_IFS
6385
7464
  if test -z "$ac_cv_path_SED"; then
6386
 
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
7465
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
 
7466
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
 
7467
   { (exit 1); exit 1; }; }
6387
7468
  fi
6388
7469
else
6389
7470
  ac_cv_path_SED=$SED
6390
7471
fi
6391
7472
 
6392
7473
fi
6393
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
7474
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
6394
7475
$as_echo "$ac_cv_path_SED" >&6; }
6395
7476
 SED="$ac_cv_path_SED"
6396
7477
  rm -f conftest.sed
6408
7489
 
6409
7490
 
6410
7491
 
6411
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
7492
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
6412
7493
$as_echo_n "checking for fgrep... " >&6; }
6413
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
7494
if test "${ac_cv_path_FGREP+set}" = set; then
6414
7495
  $as_echo_n "(cached) " >&6
6415
7496
else
6416
7497
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6424
7505
do
6425
7506
  IFS=$as_save_IFS
6426
7507
  test -z "$as_dir" && as_dir=.
6427
 
    for ac_prog in fgrep; do
 
7508
  for ac_prog in fgrep; do
6428
7509
    for ac_exec_ext in '' $ac_executable_extensions; do
6429
7510
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6430
7511
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6444
7525
    $as_echo 'FGREP' >> "conftest.nl"
6445
7526
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6446
7527
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6447
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
7528
    ac_count=`expr $ac_count + 1`
6448
7529
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6449
7530
      # Best one so far, save it but keep looking for a better one
6450
7531
      ac_cv_path_FGREP="$ac_path_FGREP"
6459
7540
      $ac_path_FGREP_found && break 3
6460
7541
    done
6461
7542
  done
6462
 
  done
 
7543
done
6463
7544
IFS=$as_save_IFS
6464
7545
  if test -z "$ac_cv_path_FGREP"; then
6465
 
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
7546
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
7547
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
7548
   { (exit 1); exit 1; }; }
6466
7549
  fi
6467
7550
else
6468
7551
  ac_cv_path_FGREP=$FGREP
6470
7553
 
6471
7554
   fi
6472
7555
fi
6473
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
7556
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
6474
7557
$as_echo "$ac_cv_path_FGREP" >&6; }
6475
7558
 FGREP="$ac_cv_path_FGREP"
6476
7559
 
6496
7579
 
6497
7580
 
6498
7581
# Check whether --with-gnu-ld was given.
6499
 
if test "${with_gnu_ld+set}" = set; then :
 
7582
if test "${with_gnu_ld+set}" = set; then
6500
7583
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6501
7584
else
6502
7585
  with_gnu_ld=no
6505
7588
ac_prog=ld
6506
7589
if test "$GCC" = yes; then
6507
7590
  # Check if gcc -print-prog-name=ld gives a path.
6508
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
7591
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6509
7592
$as_echo_n "checking for ld used by $CC... " >&6; }
6510
7593
  case $host in
6511
7594
  *-*-mingw*)
6535
7618
    ;;
6536
7619
  esac
6537
7620
elif test "$with_gnu_ld" = yes; then
6538
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
7621
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
6539
7622
$as_echo_n "checking for GNU ld... " >&6; }
6540
7623
else
6541
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
7624
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6542
7625
$as_echo_n "checking for non-GNU ld... " >&6; }
6543
7626
fi
6544
 
if test "${lt_cv_path_LD+set}" = set; then :
 
7627
if test "${lt_cv_path_LD+set}" = set; then
6545
7628
  $as_echo_n "(cached) " >&6
6546
7629
else
6547
7630
  if test -z "$LD"; then
6572
7655
 
6573
7656
LD="$lt_cv_path_LD"
6574
7657
if test -n "$LD"; then
6575
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
7658
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
6576
7659
$as_echo "$LD" >&6; }
6577
7660
else
6578
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7661
  { $as_echo "$as_me:$LINENO: result: no" >&5
6579
7662
$as_echo "no" >&6; }
6580
7663
fi
6581
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6582
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
7664
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
7665
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
7666
   { (exit 1); exit 1; }; }
 
7667
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6583
7668
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6584
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
7669
if test "${lt_cv_prog_gnu_ld+set}" = set; then
6585
7670
  $as_echo_n "(cached) " >&6
6586
7671
else
6587
7672
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6594
7679
  ;;
6595
7680
esac
6596
7681
fi
6597
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
7682
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6598
7683
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6599
7684
with_gnu_ld=$lt_cv_prog_gnu_ld
6600
7685
 
6606
7691
 
6607
7692
 
6608
7693
 
6609
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
7694
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
6610
7695
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6611
 
if test "${lt_cv_path_NM+set}" = set; then :
 
7696
if test "${lt_cv_path_NM+set}" = set; then
6612
7697
  $as_echo_n "(cached) " >&6
6613
7698
else
6614
7699
  if test -n "$NM"; then
6655
7740
  : ${lt_cv_path_NM=no}
6656
7741
fi
6657
7742
fi
6658
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
7743
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6659
7744
$as_echo "$lt_cv_path_NM" >&6; }
6660
7745
if test "$lt_cv_path_NM" != "no"; then
6661
7746
  NM="$lt_cv_path_NM"
6666
7751
  do
6667
7752
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6668
7753
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6669
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7754
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6670
7755
$as_echo_n "checking for $ac_word... " >&6; }
6671
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
7756
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
6672
7757
  $as_echo_n "(cached) " >&6
6673
7758
else
6674
7759
  if test -n "$DUMPBIN"; then
6679
7764
do
6680
7765
  IFS=$as_save_IFS
6681
7766
  test -z "$as_dir" && as_dir=.
6682
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7767
  for ac_exec_ext in '' $ac_executable_extensions; do
6683
7768
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6684
7769
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6685
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7770
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6686
7771
    break 2
6687
7772
  fi
6688
7773
done
6689
 
  done
 
7774
done
6690
7775
IFS=$as_save_IFS
6691
7776
 
6692
7777
fi
6693
7778
fi
6694
7779
DUMPBIN=$ac_cv_prog_DUMPBIN
6695
7780
if test -n "$DUMPBIN"; then
6696
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
7781
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
6697
7782
$as_echo "$DUMPBIN" >&6; }
6698
7783
else
6699
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7784
  { $as_echo "$as_me:$LINENO: result: no" >&5
6700
7785
$as_echo "no" >&6; }
6701
7786
fi
6702
7787
 
6710
7795
do
6711
7796
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6712
7797
set dummy $ac_prog; ac_word=$2
6713
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7798
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6714
7799
$as_echo_n "checking for $ac_word... " >&6; }
6715
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
7800
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
6716
7801
  $as_echo_n "(cached) " >&6
6717
7802
else
6718
7803
  if test -n "$ac_ct_DUMPBIN"; then
6723
7808
do
6724
7809
  IFS=$as_save_IFS
6725
7810
  test -z "$as_dir" && as_dir=.
6726
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7811
  for ac_exec_ext in '' $ac_executable_extensions; do
6727
7812
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6728
7813
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6729
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7814
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6730
7815
    break 2
6731
7816
  fi
6732
7817
done
6733
 
  done
 
7818
done
6734
7819
IFS=$as_save_IFS
6735
7820
 
6736
7821
fi
6737
7822
fi
6738
7823
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6739
7824
if test -n "$ac_ct_DUMPBIN"; then
6740
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
7825
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
6741
7826
$as_echo "$ac_ct_DUMPBIN" >&6; }
6742
7827
else
6743
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7828
  { $as_echo "$as_me:$LINENO: result: no" >&5
6744
7829
$as_echo "no" >&6; }
6745
7830
fi
6746
7831
 
6753
7838
  else
6754
7839
    case $cross_compiling:$ac_tool_warned in
6755
7840
yes:)
6756
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7841
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6757
7842
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6758
7843
ac_tool_warned=yes ;;
6759
7844
esac
6773
7858
 
6774
7859
 
6775
7860
 
6776
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
7861
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
6777
7862
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6778
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
7863
if test "${lt_cv_nm_interface+set}" = set; then
6779
7864
  $as_echo_n "(cached) " >&6
6780
7865
else
6781
7866
  lt_cv_nm_interface="BSD nm"
6782
7867
  echo "int some_variable = 0;" > conftest.$ac_ext
6783
 
  (eval echo "\"\$as_me:6783: $ac_compile\"" >&5)
 
7868
  (eval echo "\"\$as_me:7868: $ac_compile\"" >&5)
6784
7869
  (eval "$ac_compile" 2>conftest.err)
6785
7870
  cat conftest.err >&5
6786
 
  (eval echo "\"\$as_me:6786: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
7871
  (eval echo "\"\$as_me:7871: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6787
7872
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6788
7873
  cat conftest.err >&5
6789
 
  (eval echo "\"\$as_me:6789: output\"" >&5)
 
7874
  (eval echo "\"\$as_me:7874: output\"" >&5)
6790
7875
  cat conftest.out >&5
6791
7876
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6792
7877
    lt_cv_nm_interface="MS dumpbin"
6793
7878
  fi
6794
7879
  rm -f conftest*
6795
7880
fi
6796
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
7881
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
6797
7882
$as_echo "$lt_cv_nm_interface" >&6; }
6798
7883
 
6799
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
7884
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
6800
7885
$as_echo_n "checking whether ln -s works... " >&6; }
6801
7886
LN_S=$as_ln_s
6802
7887
if test "$LN_S" = "ln -s"; then
6803
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
7888
  { $as_echo "$as_me:$LINENO: result: yes" >&5
6804
7889
$as_echo "yes" >&6; }
6805
7890
else
6806
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
7891
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6807
7892
$as_echo "no, using $LN_S" >&6; }
6808
7893
fi
6809
7894
 
6810
7895
# find the maximum length of command line arguments
6811
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
7896
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6812
7897
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6813
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
7898
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6814
7899
  $as_echo_n "(cached) " >&6
6815
7900
else
6816
7901
    i=0
6928
8013
fi
6929
8014
 
6930
8015
if test -n $lt_cv_sys_max_cmd_len ; then
6931
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
8016
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6932
8017
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6933
8018
else
6934
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
8019
  { $as_echo "$as_me:$LINENO: result: none" >&5
6935
8020
$as_echo "none" >&6; }
6936
8021
fi
6937
8022
max_cmd_len=$lt_cv_sys_max_cmd_len
6945
8030
: ${MV="mv -f"}
6946
8031
: ${RM="rm -f"}
6947
8032
 
6948
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
8033
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6949
8034
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6950
8035
# Try some XSI features
6951
8036
xsi_shell=no
6955
8040
    && eval 'test $(( 1 + 1 )) -eq 2 \
6956
8041
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6957
8042
  && xsi_shell=yes
6958
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
8043
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
6959
8044
$as_echo "$xsi_shell" >&6; }
6960
8045
 
6961
8046
 
6962
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
8047
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
6963
8048
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6964
8049
lt_shell_append=no
6965
8050
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6966
8051
    >/dev/null 2>&1 \
6967
8052
  && lt_shell_append=yes
6968
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
8053
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
6969
8054
$as_echo "$lt_shell_append" >&6; }
6970
8055
 
6971
8056
 
7000
8085
 
7001
8086
 
7002
8087
 
7003
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
8088
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
7004
8089
$as_echo_n "checking for $LD option to reload object files... " >&6; }
7005
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
8090
if test "${lt_cv_ld_reload_flag+set}" = set; then
7006
8091
  $as_echo_n "(cached) " >&6
7007
8092
else
7008
8093
  lt_cv_ld_reload_flag='-r'
7009
8094
fi
7010
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
8095
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
7011
8096
$as_echo "$lt_cv_ld_reload_flag" >&6; }
7012
8097
reload_flag=$lt_cv_ld_reload_flag
7013
8098
case $reload_flag in
7036
8121
if test -n "$ac_tool_prefix"; then
7037
8122
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7038
8123
set dummy ${ac_tool_prefix}objdump; ac_word=$2
7039
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8124
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7040
8125
$as_echo_n "checking for $ac_word... " >&6; }
7041
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
8126
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7042
8127
  $as_echo_n "(cached) " >&6
7043
8128
else
7044
8129
  if test -n "$OBJDUMP"; then
7049
8134
do
7050
8135
  IFS=$as_save_IFS
7051
8136
  test -z "$as_dir" && as_dir=.
7052
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8137
  for ac_exec_ext in '' $ac_executable_extensions; do
7053
8138
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7054
8139
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7055
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8140
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7056
8141
    break 2
7057
8142
  fi
7058
8143
done
7059
 
  done
 
8144
done
7060
8145
IFS=$as_save_IFS
7061
8146
 
7062
8147
fi
7063
8148
fi
7064
8149
OBJDUMP=$ac_cv_prog_OBJDUMP
7065
8150
if test -n "$OBJDUMP"; then
7066
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
8151
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
7067
8152
$as_echo "$OBJDUMP" >&6; }
7068
8153
else
7069
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8154
  { $as_echo "$as_me:$LINENO: result: no" >&5
7070
8155
$as_echo "no" >&6; }
7071
8156
fi
7072
8157
 
7076
8161
  ac_ct_OBJDUMP=$OBJDUMP
7077
8162
  # Extract the first word of "objdump", so it can be a program name with args.
7078
8163
set dummy objdump; ac_word=$2
7079
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8164
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7080
8165
$as_echo_n "checking for $ac_word... " >&6; }
7081
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
8166
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
7082
8167
  $as_echo_n "(cached) " >&6
7083
8168
else
7084
8169
  if test -n "$ac_ct_OBJDUMP"; then
7089
8174
do
7090
8175
  IFS=$as_save_IFS
7091
8176
  test -z "$as_dir" && as_dir=.
7092
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8177
  for ac_exec_ext in '' $ac_executable_extensions; do
7093
8178
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7094
8179
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
7095
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8180
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7096
8181
    break 2
7097
8182
  fi
7098
8183
done
7099
 
  done
 
8184
done
7100
8185
IFS=$as_save_IFS
7101
8186
 
7102
8187
fi
7103
8188
fi
7104
8189
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7105
8190
if test -n "$ac_ct_OBJDUMP"; then
7106
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
8191
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
7107
8192
$as_echo "$ac_ct_OBJDUMP" >&6; }
7108
8193
else
7109
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8194
  { $as_echo "$as_me:$LINENO: result: no" >&5
7110
8195
$as_echo "no" >&6; }
7111
8196
fi
7112
8197
 
7115
8200
  else
7116
8201
    case $cross_compiling:$ac_tool_warned in
7117
8202
yes:)
7118
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8203
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7119
8204
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7120
8205
ac_tool_warned=yes ;;
7121
8206
esac
7135
8220
 
7136
8221
 
7137
8222
 
7138
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
8223
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
7139
8224
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7140
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
8225
if test "${lt_cv_deplibs_check_method+set}" = set; then
7141
8226
  $as_echo_n "(cached) " >&6
7142
8227
else
7143
8228
  lt_cv_file_magic_cmd='$MAGIC_CMD'
7256
8341
  lt_cv_deplibs_check_method=pass_all
7257
8342
  ;;
7258
8343
 
7259
 
netbsd* | netbsdelf*-gnu)
 
8344
netbsd*)
7260
8345
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7261
8346
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7262
8347
  else
7331
8416
esac
7332
8417
 
7333
8418
fi
7334
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
8419
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
7335
8420
$as_echo "$lt_cv_deplibs_check_method" >&6; }
7336
8421
file_magic_cmd=$lt_cv_file_magic_cmd
7337
8422
deplibs_check_method=$lt_cv_deplibs_check_method
7351
8436
if test -n "$ac_tool_prefix"; then
7352
8437
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7353
8438
set dummy ${ac_tool_prefix}ar; ac_word=$2
7354
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8439
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7355
8440
$as_echo_n "checking for $ac_word... " >&6; }
7356
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
8441
if test "${ac_cv_prog_AR+set}" = set; then
7357
8442
  $as_echo_n "(cached) " >&6
7358
8443
else
7359
8444
  if test -n "$AR"; then
7364
8449
do
7365
8450
  IFS=$as_save_IFS
7366
8451
  test -z "$as_dir" && as_dir=.
7367
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8452
  for ac_exec_ext in '' $ac_executable_extensions; do
7368
8453
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7369
8454
    ac_cv_prog_AR="${ac_tool_prefix}ar"
7370
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8455
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7371
8456
    break 2
7372
8457
  fi
7373
8458
done
7374
 
  done
 
8459
done
7375
8460
IFS=$as_save_IFS
7376
8461
 
7377
8462
fi
7378
8463
fi
7379
8464
AR=$ac_cv_prog_AR
7380
8465
if test -n "$AR"; then
7381
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
8466
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
7382
8467
$as_echo "$AR" >&6; }
7383
8468
else
7384
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8469
  { $as_echo "$as_me:$LINENO: result: no" >&5
7385
8470
$as_echo "no" >&6; }
7386
8471
fi
7387
8472
 
7391
8476
  ac_ct_AR=$AR
7392
8477
  # Extract the first word of "ar", so it can be a program name with args.
7393
8478
set dummy ar; ac_word=$2
7394
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8479
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7395
8480
$as_echo_n "checking for $ac_word... " >&6; }
7396
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
8481
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7397
8482
  $as_echo_n "(cached) " >&6
7398
8483
else
7399
8484
  if test -n "$ac_ct_AR"; then
7404
8489
do
7405
8490
  IFS=$as_save_IFS
7406
8491
  test -z "$as_dir" && as_dir=.
7407
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8492
  for ac_exec_ext in '' $ac_executable_extensions; do
7408
8493
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7409
8494
    ac_cv_prog_ac_ct_AR="ar"
7410
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8495
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7411
8496
    break 2
7412
8497
  fi
7413
8498
done
7414
 
  done
 
8499
done
7415
8500
IFS=$as_save_IFS
7416
8501
 
7417
8502
fi
7418
8503
fi
7419
8504
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7420
8505
if test -n "$ac_ct_AR"; then
7421
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
8506
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7422
8507
$as_echo "$ac_ct_AR" >&6; }
7423
8508
else
7424
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8509
  { $as_echo "$as_me:$LINENO: result: no" >&5
7425
8510
$as_echo "no" >&6; }
7426
8511
fi
7427
8512
 
7430
8515
  else
7431
8516
    case $cross_compiling:$ac_tool_warned in
7432
8517
yes:)
7433
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8518
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7434
8519
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7435
8520
ac_tool_warned=yes ;;
7436
8521
esac
7456
8541
if test -n "$ac_tool_prefix"; then
7457
8542
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7458
8543
set dummy ${ac_tool_prefix}strip; ac_word=$2
7459
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8544
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7460
8545
$as_echo_n "checking for $ac_word... " >&6; }
7461
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
8546
if test "${ac_cv_prog_STRIP+set}" = set; then
7462
8547
  $as_echo_n "(cached) " >&6
7463
8548
else
7464
8549
  if test -n "$STRIP"; then
7469
8554
do
7470
8555
  IFS=$as_save_IFS
7471
8556
  test -z "$as_dir" && as_dir=.
7472
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8557
  for ac_exec_ext in '' $ac_executable_extensions; do
7473
8558
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7474
8559
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7475
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8560
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7476
8561
    break 2
7477
8562
  fi
7478
8563
done
7479
 
  done
 
8564
done
7480
8565
IFS=$as_save_IFS
7481
8566
 
7482
8567
fi
7483
8568
fi
7484
8569
STRIP=$ac_cv_prog_STRIP
7485
8570
if test -n "$STRIP"; then
7486
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
8571
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
7487
8572
$as_echo "$STRIP" >&6; }
7488
8573
else
7489
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8574
  { $as_echo "$as_me:$LINENO: result: no" >&5
7490
8575
$as_echo "no" >&6; }
7491
8576
fi
7492
8577
 
7496
8581
  ac_ct_STRIP=$STRIP
7497
8582
  # Extract the first word of "strip", so it can be a program name with args.
7498
8583
set dummy strip; ac_word=$2
7499
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8584
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7500
8585
$as_echo_n "checking for $ac_word... " >&6; }
7501
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
8586
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7502
8587
  $as_echo_n "(cached) " >&6
7503
8588
else
7504
8589
  if test -n "$ac_ct_STRIP"; then
7509
8594
do
7510
8595
  IFS=$as_save_IFS
7511
8596
  test -z "$as_dir" && as_dir=.
7512
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8597
  for ac_exec_ext in '' $ac_executable_extensions; do
7513
8598
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7514
8599
    ac_cv_prog_ac_ct_STRIP="strip"
7515
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8600
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7516
8601
    break 2
7517
8602
  fi
7518
8603
done
7519
 
  done
 
8604
done
7520
8605
IFS=$as_save_IFS
7521
8606
 
7522
8607
fi
7523
8608
fi
7524
8609
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7525
8610
if test -n "$ac_ct_STRIP"; then
7526
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
8611
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7527
8612
$as_echo "$ac_ct_STRIP" >&6; }
7528
8613
else
7529
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8614
  { $as_echo "$as_me:$LINENO: result: no" >&5
7530
8615
$as_echo "no" >&6; }
7531
8616
fi
7532
8617
 
7535
8620
  else
7536
8621
    case $cross_compiling:$ac_tool_warned in
7537
8622
yes:)
7538
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8623
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7539
8624
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7540
8625
ac_tool_warned=yes ;;
7541
8626
esac
7555
8640
if test -n "$ac_tool_prefix"; then
7556
8641
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7557
8642
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7558
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8643
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7559
8644
$as_echo_n "checking for $ac_word... " >&6; }
7560
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
8645
if test "${ac_cv_prog_RANLIB+set}" = set; then
7561
8646
  $as_echo_n "(cached) " >&6
7562
8647
else
7563
8648
  if test -n "$RANLIB"; then
7568
8653
do
7569
8654
  IFS=$as_save_IFS
7570
8655
  test -z "$as_dir" && as_dir=.
7571
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8656
  for ac_exec_ext in '' $ac_executable_extensions; do
7572
8657
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7573
8658
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7574
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8659
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7575
8660
    break 2
7576
8661
  fi
7577
8662
done
7578
 
  done
 
8663
done
7579
8664
IFS=$as_save_IFS
7580
8665
 
7581
8666
fi
7582
8667
fi
7583
8668
RANLIB=$ac_cv_prog_RANLIB
7584
8669
if test -n "$RANLIB"; then
7585
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
8670
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
7586
8671
$as_echo "$RANLIB" >&6; }
7587
8672
else
7588
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8673
  { $as_echo "$as_me:$LINENO: result: no" >&5
7589
8674
$as_echo "no" >&6; }
7590
8675
fi
7591
8676
 
7595
8680
  ac_ct_RANLIB=$RANLIB
7596
8681
  # Extract the first word of "ranlib", so it can be a program name with args.
7597
8682
set dummy ranlib; ac_word=$2
7598
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8683
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7599
8684
$as_echo_n "checking for $ac_word... " >&6; }
7600
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
8685
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7601
8686
  $as_echo_n "(cached) " >&6
7602
8687
else
7603
8688
  if test -n "$ac_ct_RANLIB"; then
7608
8693
do
7609
8694
  IFS=$as_save_IFS
7610
8695
  test -z "$as_dir" && as_dir=.
7611
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8696
  for ac_exec_ext in '' $ac_executable_extensions; do
7612
8697
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7613
8698
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7614
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8699
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7615
8700
    break 2
7616
8701
  fi
7617
8702
done
7618
 
  done
 
8703
done
7619
8704
IFS=$as_save_IFS
7620
8705
 
7621
8706
fi
7622
8707
fi
7623
8708
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7624
8709
if test -n "$ac_ct_RANLIB"; then
7625
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
8710
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7626
8711
$as_echo "$ac_ct_RANLIB" >&6; }
7627
8712
else
7628
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8713
  { $as_echo "$as_me:$LINENO: result: no" >&5
7629
8714
$as_echo "no" >&6; }
7630
8715
fi
7631
8716
 
7634
8719
  else
7635
8720
    case $cross_compiling:$ac_tool_warned in
7636
8721
yes:)
7637
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8722
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7638
8723
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7639
8724
ac_tool_warned=yes ;;
7640
8725
esac
7712
8797
 
7713
8798
 
7714
8799
# Check for command to grab the raw symbol name followed by C symbol from nm.
7715
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
8800
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7716
8801
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7717
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
8802
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7718
8803
  $as_echo_n "(cached) " >&6
7719
8804
else
7720
8805
 
7830
8915
int main(){nm_test_var='a';nm_test_func();return(0);}
7831
8916
_LT_EOF
7832
8917
 
7833
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8918
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7834
8919
  (eval $ac_compile) 2>&5
7835
8920
  ac_status=$?
7836
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7837
 
  test $ac_status = 0; }; then
 
8921
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8922
  (exit $ac_status); }; then
7838
8923
    # Now try to grab the symbols.
7839
8924
    nlist=conftest.nm
7840
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
 
8925
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7841
8926
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7842
8927
  ac_status=$?
7843
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7844
 
  test $ac_status = 0; } && test -s "$nlist"; then
 
8928
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8929
  (exit $ac_status); } && test -s "$nlist"; then
7845
8930
      # Try sorting and uniquifying the output.
7846
8931
      if sort "$nlist" | uniq > "$nlist"T; then
7847
8932
        mv -f "$nlist"T "$nlist"
7894
8979
          lt_save_CFLAGS="$CFLAGS"
7895
8980
          LIBS="conftstm.$ac_objext"
7896
8981
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7897
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
8982
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7898
8983
  (eval $ac_link) 2>&5
7899
8984
  ac_status=$?
7900
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7901
 
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
8985
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8986
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
7902
8987
            pipe_works=yes
7903
8988
          fi
7904
8989
          LIBS="$lt_save_LIBS"
7932
9017
  lt_cv_sys_global_symbol_to_cdecl=
7933
9018
fi
7934
9019
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7935
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
9020
  { $as_echo "$as_me:$LINENO: result: failed" >&5
7936
9021
$as_echo "failed" >&6; }
7937
9022
else
7938
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
9023
  { $as_echo "$as_me:$LINENO: result: ok" >&5
7939
9024
$as_echo "ok" >&6; }
7940
9025
fi
7941
9026
 
7961
9046
 
7962
9047
 
7963
9048
# Check whether --enable-libtool-lock was given.
7964
 
if test "${enable_libtool_lock+set}" = set; then :
 
9049
if test "${enable_libtool_lock+set}" = set; then
7965
9050
  enableval=$enable_libtool_lock;
7966
9051
fi
7967
9052
 
7973
9058
ia64-*-hpux*)
7974
9059
  # Find out which ABI we are using.
7975
9060
  echo 'int i;' > conftest.$ac_ext
7976
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9061
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7977
9062
  (eval $ac_compile) 2>&5
7978
9063
  ac_status=$?
7979
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7980
 
  test $ac_status = 0; }; then
 
9064
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9065
  (exit $ac_status); }; then
7981
9066
    case `/usr/bin/file conftest.$ac_objext` in
7982
9067
      *ELF-32*)
7983
9068
        HPUX_IA64_MODE="32"
7991
9076
  ;;
7992
9077
*-*-irix6*)
7993
9078
  # Find out which ABI we are using.
7994
 
  echo '#line 7994 "configure"' > conftest.$ac_ext
7995
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9079
  echo '#line 9079 "configure"' > conftest.$ac_ext
 
9080
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7996
9081
  (eval $ac_compile) 2>&5
7997
9082
  ac_status=$?
7998
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7999
 
  test $ac_status = 0; }; then
 
9083
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9084
  (exit $ac_status); }; then
8000
9085
    if test "$lt_cv_prog_gnu_ld" = yes; then
8001
9086
      case `/usr/bin/file conftest.$ac_objext` in
8002
9087
        *32-bit*)
8030
9115
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8031
9116
  # Find out which ABI we are using.
8032
9117
  echo 'int i;' > conftest.$ac_ext
8033
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9118
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8034
9119
  (eval $ac_compile) 2>&5
8035
9120
  ac_status=$?
8036
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8037
 
  test $ac_status = 0; }; then
 
9121
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9122
  (exit $ac_status); }; then
8038
9123
    case `/usr/bin/file conftest.o` in
8039
9124
      *32-bit*)
8040
9125
        case $host in
8083
9168
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8084
9169
  SAVE_CFLAGS="$CFLAGS"
8085
9170
  CFLAGS="$CFLAGS -belf"
8086
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
9171
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
8087
9172
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8088
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
9173
if test "${lt_cv_cc_needs_belf+set}" = set; then
8089
9174
  $as_echo_n "(cached) " >&6
8090
9175
else
8091
9176
  ac_ext=c
8094
9179
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8095
9180
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8096
9181
 
8097
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9182
     cat >conftest.$ac_ext <<_ACEOF
 
9183
/* confdefs.h.  */
 
9184
_ACEOF
 
9185
cat confdefs.h >>conftest.$ac_ext
 
9186
cat >>conftest.$ac_ext <<_ACEOF
8098
9187
/* end confdefs.h.  */
8099
9188
 
8100
9189
int
8105
9194
  return 0;
8106
9195
}
8107
9196
_ACEOF
8108
 
if ac_fn_c_try_link "$LINENO"; then :
 
9197
rm -f conftest.$ac_objext conftest$ac_exeext
 
9198
if { (ac_try="$ac_link"
 
9199
case "(($ac_try" in
 
9200
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9201
  *) ac_try_echo=$ac_try;;
 
9202
esac
 
9203
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9204
$as_echo "$ac_try_echo") >&5
 
9205
  (eval "$ac_link") 2>conftest.er1
 
9206
  ac_status=$?
 
9207
  grep -v '^ *+' conftest.er1 >conftest.err
 
9208
  rm -f conftest.er1
 
9209
  cat conftest.err >&5
 
9210
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9211
  (exit $ac_status); } && {
 
9212
         test -z "$ac_c_werror_flag" ||
 
9213
         test ! -s conftest.err
 
9214
       } && test -s conftest$ac_exeext && {
 
9215
         test "$cross_compiling" = yes ||
 
9216
         $as_test_x conftest$ac_exeext
 
9217
       }; then
8109
9218
  lt_cv_cc_needs_belf=yes
8110
9219
else
8111
 
  lt_cv_cc_needs_belf=no
 
9220
  $as_echo "$as_me: failed program was:" >&5
 
9221
sed 's/^/| /' conftest.$ac_ext >&5
 
9222
 
 
9223
        lt_cv_cc_needs_belf=no
8112
9224
fi
8113
 
rm -f core conftest.err conftest.$ac_objext \
8114
 
    conftest$ac_exeext conftest.$ac_ext
 
9225
 
 
9226
rm -rf conftest.dSYM
 
9227
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9228
      conftest$ac_exeext conftest.$ac_ext
8115
9229
     ac_ext=c
8116
9230
ac_cpp='$CPP $CPPFLAGS'
8117
9231
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8119
9233
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8120
9234
 
8121
9235
fi
8122
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
9236
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
8123
9237
$as_echo "$lt_cv_cc_needs_belf" >&6; }
8124
9238
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8125
9239
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8129
9243
sparc*-*solaris*)
8130
9244
  # Find out which ABI we are using.
8131
9245
  echo 'int i;' > conftest.$ac_ext
8132
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9246
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8133
9247
  (eval $ac_compile) 2>&5
8134
9248
  ac_status=$?
8135
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8136
 
  test $ac_status = 0; }; then
 
9249
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9250
  (exit $ac_status); }; then
8137
9251
    case `/usr/bin/file conftest.o` in
8138
9252
    *64-bit*)
8139
9253
      case $lt_cv_prog_gnu_ld in
8159
9273
    if test -n "$ac_tool_prefix"; then
8160
9274
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8161
9275
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8162
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9276
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8163
9277
$as_echo_n "checking for $ac_word... " >&6; }
8164
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
9278
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
8165
9279
  $as_echo_n "(cached) " >&6
8166
9280
else
8167
9281
  if test -n "$DSYMUTIL"; then
8172
9286
do
8173
9287
  IFS=$as_save_IFS
8174
9288
  test -z "$as_dir" && as_dir=.
8175
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9289
  for ac_exec_ext in '' $ac_executable_extensions; do
8176
9290
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8177
9291
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8178
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9292
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8179
9293
    break 2
8180
9294
  fi
8181
9295
done
8182
 
  done
 
9296
done
8183
9297
IFS=$as_save_IFS
8184
9298
 
8185
9299
fi
8186
9300
fi
8187
9301
DSYMUTIL=$ac_cv_prog_DSYMUTIL
8188
9302
if test -n "$DSYMUTIL"; then
8189
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
9303
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
8190
9304
$as_echo "$DSYMUTIL" >&6; }
8191
9305
else
8192
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9306
  { $as_echo "$as_me:$LINENO: result: no" >&5
8193
9307
$as_echo "no" >&6; }
8194
9308
fi
8195
9309
 
8199
9313
  ac_ct_DSYMUTIL=$DSYMUTIL
8200
9314
  # Extract the first word of "dsymutil", so it can be a program name with args.
8201
9315
set dummy dsymutil; ac_word=$2
8202
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9316
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8203
9317
$as_echo_n "checking for $ac_word... " >&6; }
8204
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
9318
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
8205
9319
  $as_echo_n "(cached) " >&6
8206
9320
else
8207
9321
  if test -n "$ac_ct_DSYMUTIL"; then
8212
9326
do
8213
9327
  IFS=$as_save_IFS
8214
9328
  test -z "$as_dir" && as_dir=.
8215
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9329
  for ac_exec_ext in '' $ac_executable_extensions; do
8216
9330
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8217
9331
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8218
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9332
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8219
9333
    break 2
8220
9334
  fi
8221
9335
done
8222
 
  done
 
9336
done
8223
9337
IFS=$as_save_IFS
8224
9338
 
8225
9339
fi
8226
9340
fi
8227
9341
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8228
9342
if test -n "$ac_ct_DSYMUTIL"; then
8229
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
9343
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
8230
9344
$as_echo "$ac_ct_DSYMUTIL" >&6; }
8231
9345
else
8232
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9346
  { $as_echo "$as_me:$LINENO: result: no" >&5
8233
9347
$as_echo "no" >&6; }
8234
9348
fi
8235
9349
 
8238
9352
  else
8239
9353
    case $cross_compiling:$ac_tool_warned in
8240
9354
yes:)
8241
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9355
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8242
9356
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8243
9357
ac_tool_warned=yes ;;
8244
9358
esac
8251
9365
    if test -n "$ac_tool_prefix"; then
8252
9366
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8253
9367
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8254
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9368
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8255
9369
$as_echo_n "checking for $ac_word... " >&6; }
8256
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
9370
if test "${ac_cv_prog_NMEDIT+set}" = set; then
8257
9371
  $as_echo_n "(cached) " >&6
8258
9372
else
8259
9373
  if test -n "$NMEDIT"; then
8264
9378
do
8265
9379
  IFS=$as_save_IFS
8266
9380
  test -z "$as_dir" && as_dir=.
8267
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9381
  for ac_exec_ext in '' $ac_executable_extensions; do
8268
9382
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8269
9383
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8270
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9384
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8271
9385
    break 2
8272
9386
  fi
8273
9387
done
8274
 
  done
 
9388
done
8275
9389
IFS=$as_save_IFS
8276
9390
 
8277
9391
fi
8278
9392
fi
8279
9393
NMEDIT=$ac_cv_prog_NMEDIT
8280
9394
if test -n "$NMEDIT"; then
8281
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
9395
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
8282
9396
$as_echo "$NMEDIT" >&6; }
8283
9397
else
8284
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9398
  { $as_echo "$as_me:$LINENO: result: no" >&5
8285
9399
$as_echo "no" >&6; }
8286
9400
fi
8287
9401
 
8291
9405
  ac_ct_NMEDIT=$NMEDIT
8292
9406
  # Extract the first word of "nmedit", so it can be a program name with args.
8293
9407
set dummy nmedit; ac_word=$2
8294
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9408
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8295
9409
$as_echo_n "checking for $ac_word... " >&6; }
8296
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
9410
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
8297
9411
  $as_echo_n "(cached) " >&6
8298
9412
else
8299
9413
  if test -n "$ac_ct_NMEDIT"; then
8304
9418
do
8305
9419
  IFS=$as_save_IFS
8306
9420
  test -z "$as_dir" && as_dir=.
8307
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9421
  for ac_exec_ext in '' $ac_executable_extensions; do
8308
9422
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8309
9423
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8310
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9424
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8311
9425
    break 2
8312
9426
  fi
8313
9427
done
8314
 
  done
 
9428
done
8315
9429
IFS=$as_save_IFS
8316
9430
 
8317
9431
fi
8318
9432
fi
8319
9433
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8320
9434
if test -n "$ac_ct_NMEDIT"; then
8321
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
9435
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
8322
9436
$as_echo "$ac_ct_NMEDIT" >&6; }
8323
9437
else
8324
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9438
  { $as_echo "$as_me:$LINENO: result: no" >&5
8325
9439
$as_echo "no" >&6; }
8326
9440
fi
8327
9441
 
8330
9444
  else
8331
9445
    case $cross_compiling:$ac_tool_warned in
8332
9446
yes:)
8333
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9447
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8334
9448
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8335
9449
ac_tool_warned=yes ;;
8336
9450
esac
8343
9457
    if test -n "$ac_tool_prefix"; then
8344
9458
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8345
9459
set dummy ${ac_tool_prefix}lipo; ac_word=$2
8346
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9460
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8347
9461
$as_echo_n "checking for $ac_word... " >&6; }
8348
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
9462
if test "${ac_cv_prog_LIPO+set}" = set; then
8349
9463
  $as_echo_n "(cached) " >&6
8350
9464
else
8351
9465
  if test -n "$LIPO"; then
8356
9470
do
8357
9471
  IFS=$as_save_IFS
8358
9472
  test -z "$as_dir" && as_dir=.
8359
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9473
  for ac_exec_ext in '' $ac_executable_extensions; do
8360
9474
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8361
9475
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8362
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9476
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8363
9477
    break 2
8364
9478
  fi
8365
9479
done
8366
 
  done
 
9480
done
8367
9481
IFS=$as_save_IFS
8368
9482
 
8369
9483
fi
8370
9484
fi
8371
9485
LIPO=$ac_cv_prog_LIPO
8372
9486
if test -n "$LIPO"; then
8373
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
9487
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
8374
9488
$as_echo "$LIPO" >&6; }
8375
9489
else
8376
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9490
  { $as_echo "$as_me:$LINENO: result: no" >&5
8377
9491
$as_echo "no" >&6; }
8378
9492
fi
8379
9493
 
8383
9497
  ac_ct_LIPO=$LIPO
8384
9498
  # Extract the first word of "lipo", so it can be a program name with args.
8385
9499
set dummy lipo; ac_word=$2
8386
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9500
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8387
9501
$as_echo_n "checking for $ac_word... " >&6; }
8388
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
9502
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
8389
9503
  $as_echo_n "(cached) " >&6
8390
9504
else
8391
9505
  if test -n "$ac_ct_LIPO"; then
8396
9510
do
8397
9511
  IFS=$as_save_IFS
8398
9512
  test -z "$as_dir" && as_dir=.
8399
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9513
  for ac_exec_ext in '' $ac_executable_extensions; do
8400
9514
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8401
9515
    ac_cv_prog_ac_ct_LIPO="lipo"
8402
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9516
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8403
9517
    break 2
8404
9518
  fi
8405
9519
done
8406
 
  done
 
9520
done
8407
9521
IFS=$as_save_IFS
8408
9522
 
8409
9523
fi
8410
9524
fi
8411
9525
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8412
9526
if test -n "$ac_ct_LIPO"; then
8413
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
9527
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
8414
9528
$as_echo "$ac_ct_LIPO" >&6; }
8415
9529
else
8416
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9530
  { $as_echo "$as_me:$LINENO: result: no" >&5
8417
9531
$as_echo "no" >&6; }
8418
9532
fi
8419
9533
 
8422
9536
  else
8423
9537
    case $cross_compiling:$ac_tool_warned in
8424
9538
yes:)
8425
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9539
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8426
9540
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8427
9541
ac_tool_warned=yes ;;
8428
9542
esac
8435
9549
    if test -n "$ac_tool_prefix"; then
8436
9550
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8437
9551
set dummy ${ac_tool_prefix}otool; ac_word=$2
8438
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9552
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8439
9553
$as_echo_n "checking for $ac_word... " >&6; }
8440
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
9554
if test "${ac_cv_prog_OTOOL+set}" = set; then
8441
9555
  $as_echo_n "(cached) " >&6
8442
9556
else
8443
9557
  if test -n "$OTOOL"; then
8448
9562
do
8449
9563
  IFS=$as_save_IFS
8450
9564
  test -z "$as_dir" && as_dir=.
8451
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9565
  for ac_exec_ext in '' $ac_executable_extensions; do
8452
9566
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8453
9567
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8454
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9568
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8455
9569
    break 2
8456
9570
  fi
8457
9571
done
8458
 
  done
 
9572
done
8459
9573
IFS=$as_save_IFS
8460
9574
 
8461
9575
fi
8462
9576
fi
8463
9577
OTOOL=$ac_cv_prog_OTOOL
8464
9578
if test -n "$OTOOL"; then
8465
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
9579
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
8466
9580
$as_echo "$OTOOL" >&6; }
8467
9581
else
8468
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9582
  { $as_echo "$as_me:$LINENO: result: no" >&5
8469
9583
$as_echo "no" >&6; }
8470
9584
fi
8471
9585
 
8475
9589
  ac_ct_OTOOL=$OTOOL
8476
9590
  # Extract the first word of "otool", so it can be a program name with args.
8477
9591
set dummy otool; ac_word=$2
8478
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9592
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8479
9593
$as_echo_n "checking for $ac_word... " >&6; }
8480
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
9594
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
8481
9595
  $as_echo_n "(cached) " >&6
8482
9596
else
8483
9597
  if test -n "$ac_ct_OTOOL"; then
8488
9602
do
8489
9603
  IFS=$as_save_IFS
8490
9604
  test -z "$as_dir" && as_dir=.
8491
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9605
  for ac_exec_ext in '' $ac_executable_extensions; do
8492
9606
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8493
9607
    ac_cv_prog_ac_ct_OTOOL="otool"
8494
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9608
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8495
9609
    break 2
8496
9610
  fi
8497
9611
done
8498
 
  done
 
9612
done
8499
9613
IFS=$as_save_IFS
8500
9614
 
8501
9615
fi
8502
9616
fi
8503
9617
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8504
9618
if test -n "$ac_ct_OTOOL"; then
8505
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
9619
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
8506
9620
$as_echo "$ac_ct_OTOOL" >&6; }
8507
9621
else
8508
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9622
  { $as_echo "$as_me:$LINENO: result: no" >&5
8509
9623
$as_echo "no" >&6; }
8510
9624
fi
8511
9625
 
8514
9628
  else
8515
9629
    case $cross_compiling:$ac_tool_warned in
8516
9630
yes:)
8517
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9631
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8518
9632
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8519
9633
ac_tool_warned=yes ;;
8520
9634
esac
8527
9641
    if test -n "$ac_tool_prefix"; then
8528
9642
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8529
9643
set dummy ${ac_tool_prefix}otool64; ac_word=$2
8530
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9644
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8531
9645
$as_echo_n "checking for $ac_word... " >&6; }
8532
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
9646
if test "${ac_cv_prog_OTOOL64+set}" = set; then
8533
9647
  $as_echo_n "(cached) " >&6
8534
9648
else
8535
9649
  if test -n "$OTOOL64"; then
8540
9654
do
8541
9655
  IFS=$as_save_IFS
8542
9656
  test -z "$as_dir" && as_dir=.
8543
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9657
  for ac_exec_ext in '' $ac_executable_extensions; do
8544
9658
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8545
9659
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8546
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9660
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8547
9661
    break 2
8548
9662
  fi
8549
9663
done
8550
 
  done
 
9664
done
8551
9665
IFS=$as_save_IFS
8552
9666
 
8553
9667
fi
8554
9668
fi
8555
9669
OTOOL64=$ac_cv_prog_OTOOL64
8556
9670
if test -n "$OTOOL64"; then
8557
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
9671
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
8558
9672
$as_echo "$OTOOL64" >&6; }
8559
9673
else
8560
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9674
  { $as_echo "$as_me:$LINENO: result: no" >&5
8561
9675
$as_echo "no" >&6; }
8562
9676
fi
8563
9677
 
8567
9681
  ac_ct_OTOOL64=$OTOOL64
8568
9682
  # Extract the first word of "otool64", so it can be a program name with args.
8569
9683
set dummy otool64; ac_word=$2
8570
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9684
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8571
9685
$as_echo_n "checking for $ac_word... " >&6; }
8572
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
9686
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
8573
9687
  $as_echo_n "(cached) " >&6
8574
9688
else
8575
9689
  if test -n "$ac_ct_OTOOL64"; then
8580
9694
do
8581
9695
  IFS=$as_save_IFS
8582
9696
  test -z "$as_dir" && as_dir=.
8583
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9697
  for ac_exec_ext in '' $ac_executable_extensions; do
8584
9698
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8585
9699
    ac_cv_prog_ac_ct_OTOOL64="otool64"
8586
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9700
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8587
9701
    break 2
8588
9702
  fi
8589
9703
done
8590
 
  done
 
9704
done
8591
9705
IFS=$as_save_IFS
8592
9706
 
8593
9707
fi
8594
9708
fi
8595
9709
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8596
9710
if test -n "$ac_ct_OTOOL64"; then
8597
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
9711
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
8598
9712
$as_echo "$ac_ct_OTOOL64" >&6; }
8599
9713
else
8600
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9714
  { $as_echo "$as_me:$LINENO: result: no" >&5
8601
9715
$as_echo "no" >&6; }
8602
9716
fi
8603
9717
 
8606
9720
  else
8607
9721
    case $cross_compiling:$ac_tool_warned in
8608
9722
yes:)
8609
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9723
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8610
9724
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8611
9725
ac_tool_warned=yes ;;
8612
9726
esac
8642
9756
 
8643
9757
 
8644
9758
 
8645
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
9759
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
8646
9760
$as_echo_n "checking for -single_module linker flag... " >&6; }
8647
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
9761
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8648
9762
  $as_echo_n "(cached) " >&6
8649
9763
else
8650
9764
  lt_cv_apple_cc_single_mod=no
8669
9783
        rm -f conftest.*
8670
9784
      fi
8671
9785
fi
8672
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
9786
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
8673
9787
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8674
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
9788
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
8675
9789
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8676
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
9790
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
8677
9791
  $as_echo_n "(cached) " >&6
8678
9792
else
8679
9793
  lt_cv_ld_exported_symbols_list=no
8680
9794
      save_LDFLAGS=$LDFLAGS
8681
9795
      echo "_main" > conftest.sym
8682
9796
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8683
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9797
      cat >conftest.$ac_ext <<_ACEOF
 
9798
/* confdefs.h.  */
 
9799
_ACEOF
 
9800
cat confdefs.h >>conftest.$ac_ext
 
9801
cat >>conftest.$ac_ext <<_ACEOF
8684
9802
/* end confdefs.h.  */
8685
9803
 
8686
9804
int
8691
9809
  return 0;
8692
9810
}
8693
9811
_ACEOF
8694
 
if ac_fn_c_try_link "$LINENO"; then :
 
9812
rm -f conftest.$ac_objext conftest$ac_exeext
 
9813
if { (ac_try="$ac_link"
 
9814
case "(($ac_try" in
 
9815
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9816
  *) ac_try_echo=$ac_try;;
 
9817
esac
 
9818
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9819
$as_echo "$ac_try_echo") >&5
 
9820
  (eval "$ac_link") 2>conftest.er1
 
9821
  ac_status=$?
 
9822
  grep -v '^ *+' conftest.er1 >conftest.err
 
9823
  rm -f conftest.er1
 
9824
  cat conftest.err >&5
 
9825
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9826
  (exit $ac_status); } && {
 
9827
         test -z "$ac_c_werror_flag" ||
 
9828
         test ! -s conftest.err
 
9829
       } && test -s conftest$ac_exeext && {
 
9830
         test "$cross_compiling" = yes ||
 
9831
         $as_test_x conftest$ac_exeext
 
9832
       }; then
8695
9833
  lt_cv_ld_exported_symbols_list=yes
8696
9834
else
8697
 
  lt_cv_ld_exported_symbols_list=no
 
9835
  $as_echo "$as_me: failed program was:" >&5
 
9836
sed 's/^/| /' conftest.$ac_ext >&5
 
9837
 
 
9838
        lt_cv_ld_exported_symbols_list=no
8698
9839
fi
8699
 
rm -f core conftest.err conftest.$ac_objext \
8700
 
    conftest$ac_exeext conftest.$ac_ext
 
9840
 
 
9841
rm -rf conftest.dSYM
 
9842
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9843
      conftest$ac_exeext conftest.$ac_ext
8701
9844
        LDFLAGS="$save_LDFLAGS"
8702
9845
 
8703
9846
fi
8704
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
9847
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
8705
9848
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8706
9849
    case $host_os in
8707
9850
    rhapsody* | darwin1.[012])
8738
9881
    ;;
8739
9882
  esac
8740
9883
 
 
9884
 
8741
9885
for ac_header in dlfcn.h
8742
 
do :
8743
 
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8744
 
"
8745
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
9886
do
 
9887
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
9888
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
9889
$as_echo_n "checking for $ac_header... " >&6; }
 
9890
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
9891
  $as_echo_n "(cached) " >&6
 
9892
else
 
9893
  cat >conftest.$ac_ext <<_ACEOF
 
9894
/* confdefs.h.  */
 
9895
_ACEOF
 
9896
cat confdefs.h >>conftest.$ac_ext
 
9897
cat >>conftest.$ac_ext <<_ACEOF
 
9898
/* end confdefs.h.  */
 
9899
$ac_includes_default
 
9900
 
 
9901
#include <$ac_header>
 
9902
_ACEOF
 
9903
rm -f conftest.$ac_objext
 
9904
if { (ac_try="$ac_compile"
 
9905
case "(($ac_try" in
 
9906
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9907
  *) ac_try_echo=$ac_try;;
 
9908
esac
 
9909
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9910
$as_echo "$ac_try_echo") >&5
 
9911
  (eval "$ac_compile") 2>conftest.er1
 
9912
  ac_status=$?
 
9913
  grep -v '^ *+' conftest.er1 >conftest.err
 
9914
  rm -f conftest.er1
 
9915
  cat conftest.err >&5
 
9916
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9917
  (exit $ac_status); } && {
 
9918
         test -z "$ac_c_werror_flag" ||
 
9919
         test ! -s conftest.err
 
9920
       } && test -s conftest.$ac_objext; then
 
9921
  eval "$as_ac_Header=yes"
 
9922
else
 
9923
  $as_echo "$as_me: failed program was:" >&5
 
9924
sed 's/^/| /' conftest.$ac_ext >&5
 
9925
 
 
9926
        eval "$as_ac_Header=no"
 
9927
fi
 
9928
 
 
9929
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9930
fi
 
9931
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
9932
                 $as_echo "$as_val"'`
 
9933
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
9934
$as_echo "$ac_res" >&6; }
 
9935
as_val=`eval 'as_val=${'$as_ac_Header'}
 
9936
                 $as_echo "$as_val"'`
 
9937
   if test "x$as_val" = x""yes; then
8746
9938
  cat >>confdefs.h <<_ACEOF
8747
 
#define HAVE_DLFCN_H 1
 
9939
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8748
9940
_ACEOF
8749
9941
 
8750
9942
fi
8767
9959
  do
8768
9960
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8769
9961
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8770
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9962
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8771
9963
$as_echo_n "checking for $ac_word... " >&6; }
8772
 
if test "${ac_cv_prog_CXX+set}" = set; then :
 
9964
if test "${ac_cv_prog_CXX+set}" = set; then
8773
9965
  $as_echo_n "(cached) " >&6
8774
9966
else
8775
9967
  if test -n "$CXX"; then
8780
9972
do
8781
9973
  IFS=$as_save_IFS
8782
9974
  test -z "$as_dir" && as_dir=.
8783
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9975
  for ac_exec_ext in '' $ac_executable_extensions; do
8784
9976
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8785
9977
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
8786
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9978
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8787
9979
    break 2
8788
9980
  fi
8789
9981
done
8790
 
  done
 
9982
done
8791
9983
IFS=$as_save_IFS
8792
9984
 
8793
9985
fi
8794
9986
fi
8795
9987
CXX=$ac_cv_prog_CXX
8796
9988
if test -n "$CXX"; then
8797
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
9989
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
8798
9990
$as_echo "$CXX" >&6; }
8799
9991
else
8800
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9992
  { $as_echo "$as_me:$LINENO: result: no" >&5
8801
9993
$as_echo "no" >&6; }
8802
9994
fi
8803
9995
 
8811
10003
do
8812
10004
  # Extract the first word of "$ac_prog", so it can be a program name with args.
8813
10005
set dummy $ac_prog; ac_word=$2
8814
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10006
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8815
10007
$as_echo_n "checking for $ac_word... " >&6; }
8816
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
10008
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
8817
10009
  $as_echo_n "(cached) " >&6
8818
10010
else
8819
10011
  if test -n "$ac_ct_CXX"; then
8824
10016
do
8825
10017
  IFS=$as_save_IFS
8826
10018
  test -z "$as_dir" && as_dir=.
8827
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10019
  for ac_exec_ext in '' $ac_executable_extensions; do
8828
10020
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8829
10021
    ac_cv_prog_ac_ct_CXX="$ac_prog"
8830
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10022
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8831
10023
    break 2
8832
10024
  fi
8833
10025
done
8834
 
  done
 
10026
done
8835
10027
IFS=$as_save_IFS
8836
10028
 
8837
10029
fi
8838
10030
fi
8839
10031
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
8840
10032
if test -n "$ac_ct_CXX"; then
8841
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
10033
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
8842
10034
$as_echo "$ac_ct_CXX" >&6; }
8843
10035
else
8844
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10036
  { $as_echo "$as_me:$LINENO: result: no" >&5
8845
10037
$as_echo "no" >&6; }
8846
10038
fi
8847
10039
 
8854
10046
  else
8855
10047
    case $cross_compiling:$ac_tool_warned in
8856
10048
yes:)
8857
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
10049
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8858
10050
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8859
10051
ac_tool_warned=yes ;;
8860
10052
esac
8865
10057
  fi
8866
10058
fi
8867
10059
# Provide some information about the compiler.
8868
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
10060
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
8869
10061
set X $ac_compile
8870
10062
ac_compiler=$2
8871
 
for ac_option in --version -v -V -qversion; do
8872
 
  { { ac_try="$ac_compiler $ac_option >&5"
8873
 
case "(($ac_try" in
8874
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8875
 
  *) ac_try_echo=$ac_try;;
8876
 
esac
8877
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8878
 
$as_echo "$ac_try_echo"; } >&5
8879
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8880
 
  ac_status=$?
8881
 
  if test -s conftest.err; then
8882
 
    sed '10a\
8883
 
... rest of stderr output deleted ...
8884
 
         10q' conftest.err >conftest.er1
8885
 
    cat conftest.er1 >&5
8886
 
    rm -f conftest.er1 conftest.err
8887
 
  fi
8888
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8889
 
  test $ac_status = 0; }
8890
 
done
 
10063
{ (ac_try="$ac_compiler --version >&5"
 
10064
case "(($ac_try" in
 
10065
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10066
  *) ac_try_echo=$ac_try;;
 
10067
esac
 
10068
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10069
$as_echo "$ac_try_echo") >&5
 
10070
  (eval "$ac_compiler --version >&5") 2>&5
 
10071
  ac_status=$?
 
10072
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10073
  (exit $ac_status); }
 
10074
{ (ac_try="$ac_compiler -v >&5"
 
10075
case "(($ac_try" in
 
10076
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10077
  *) ac_try_echo=$ac_try;;
 
10078
esac
 
10079
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10080
$as_echo "$ac_try_echo") >&5
 
10081
  (eval "$ac_compiler -v >&5") 2>&5
 
10082
  ac_status=$?
 
10083
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10084
  (exit $ac_status); }
 
10085
{ (ac_try="$ac_compiler -V >&5"
 
10086
case "(($ac_try" in
 
10087
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10088
  *) ac_try_echo=$ac_try;;
 
10089
esac
 
10090
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10091
$as_echo "$ac_try_echo") >&5
 
10092
  (eval "$ac_compiler -V >&5") 2>&5
 
10093
  ac_status=$?
 
10094
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10095
  (exit $ac_status); }
8891
10096
 
8892
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
10097
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
8893
10098
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
8894
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
10099
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
8895
10100
  $as_echo_n "(cached) " >&6
8896
10101
else
8897
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10102
  cat >conftest.$ac_ext <<_ACEOF
 
10103
/* confdefs.h.  */
 
10104
_ACEOF
 
10105
cat confdefs.h >>conftest.$ac_ext
 
10106
cat >>conftest.$ac_ext <<_ACEOF
8898
10107
/* end confdefs.h.  */
8899
10108
 
8900
10109
int
8908
10117
  return 0;
8909
10118
}
8910
10119
_ACEOF
8911
 
if ac_fn_cxx_try_compile "$LINENO"; then :
 
10120
rm -f conftest.$ac_objext
 
10121
if { (ac_try="$ac_compile"
 
10122
case "(($ac_try" in
 
10123
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10124
  *) ac_try_echo=$ac_try;;
 
10125
esac
 
10126
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10127
$as_echo "$ac_try_echo") >&5
 
10128
  (eval "$ac_compile") 2>conftest.er1
 
10129
  ac_status=$?
 
10130
  grep -v '^ *+' conftest.er1 >conftest.err
 
10131
  rm -f conftest.er1
 
10132
  cat conftest.err >&5
 
10133
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10134
  (exit $ac_status); } && {
 
10135
         test -z "$ac_cxx_werror_flag" ||
 
10136
         test ! -s conftest.err
 
10137
       } && test -s conftest.$ac_objext; then
8912
10138
  ac_compiler_gnu=yes
8913
10139
else
8914
 
  ac_compiler_gnu=no
 
10140
  $as_echo "$as_me: failed program was:" >&5
 
10141
sed 's/^/| /' conftest.$ac_ext >&5
 
10142
 
 
10143
        ac_compiler_gnu=no
8915
10144
fi
 
10145
 
8916
10146
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8917
10147
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
8918
10148
 
8919
10149
fi
8920
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
10150
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
8921
10151
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
8922
10152
if test $ac_compiler_gnu = yes; then
8923
10153
  GXX=yes
8926
10156
fi
8927
10157
ac_test_CXXFLAGS=${CXXFLAGS+set}
8928
10158
ac_save_CXXFLAGS=$CXXFLAGS
8929
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
10159
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
8930
10160
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
8931
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
10161
if test "${ac_cv_prog_cxx_g+set}" = set; then
8932
10162
  $as_echo_n "(cached) " >&6
8933
10163
else
8934
10164
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
8935
10165
   ac_cxx_werror_flag=yes
8936
10166
   ac_cv_prog_cxx_g=no
8937
10167
   CXXFLAGS="-g"
8938
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10168
   cat >conftest.$ac_ext <<_ACEOF
 
10169
/* confdefs.h.  */
 
10170
_ACEOF
 
10171
cat confdefs.h >>conftest.$ac_ext
 
10172
cat >>conftest.$ac_ext <<_ACEOF
8939
10173
/* end confdefs.h.  */
8940
10174
 
8941
10175
int
8946
10180
  return 0;
8947
10181
}
8948
10182
_ACEOF
8949
 
if ac_fn_cxx_try_compile "$LINENO"; then :
 
10183
rm -f conftest.$ac_objext
 
10184
if { (ac_try="$ac_compile"
 
10185
case "(($ac_try" in
 
10186
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10187
  *) ac_try_echo=$ac_try;;
 
10188
esac
 
10189
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10190
$as_echo "$ac_try_echo") >&5
 
10191
  (eval "$ac_compile") 2>conftest.er1
 
10192
  ac_status=$?
 
10193
  grep -v '^ *+' conftest.er1 >conftest.err
 
10194
  rm -f conftest.er1
 
10195
  cat conftest.err >&5
 
10196
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10197
  (exit $ac_status); } && {
 
10198
         test -z "$ac_cxx_werror_flag" ||
 
10199
         test ! -s conftest.err
 
10200
       } && test -s conftest.$ac_objext; then
8950
10201
  ac_cv_prog_cxx_g=yes
8951
10202
else
8952
 
  CXXFLAGS=""
8953
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10203
  $as_echo "$as_me: failed program was:" >&5
 
10204
sed 's/^/| /' conftest.$ac_ext >&5
 
10205
 
 
10206
        CXXFLAGS=""
 
10207
      cat >conftest.$ac_ext <<_ACEOF
 
10208
/* confdefs.h.  */
 
10209
_ACEOF
 
10210
cat confdefs.h >>conftest.$ac_ext
 
10211
cat >>conftest.$ac_ext <<_ACEOF
8954
10212
/* end confdefs.h.  */
8955
10213
 
8956
10214
int
8961
10219
  return 0;
8962
10220
}
8963
10221
_ACEOF
8964
 
if ac_fn_cxx_try_compile "$LINENO"; then :
 
10222
rm -f conftest.$ac_objext
 
10223
if { (ac_try="$ac_compile"
 
10224
case "(($ac_try" in
 
10225
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10226
  *) ac_try_echo=$ac_try;;
 
10227
esac
 
10228
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10229
$as_echo "$ac_try_echo") >&5
 
10230
  (eval "$ac_compile") 2>conftest.er1
 
10231
  ac_status=$?
 
10232
  grep -v '^ *+' conftest.er1 >conftest.err
 
10233
  rm -f conftest.er1
 
10234
  cat conftest.err >&5
 
10235
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10236
  (exit $ac_status); } && {
 
10237
         test -z "$ac_cxx_werror_flag" ||
 
10238
         test ! -s conftest.err
 
10239
       } && test -s conftest.$ac_objext; then
 
10240
  :
 
10241
else
 
10242
  $as_echo "$as_me: failed program was:" >&5
 
10243
sed 's/^/| /' conftest.$ac_ext >&5
8965
10244
 
8966
 
else
8967
 
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
10245
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8968
10246
         CXXFLAGS="-g"
8969
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10247
         cat >conftest.$ac_ext <<_ACEOF
 
10248
/* confdefs.h.  */
 
10249
_ACEOF
 
10250
cat confdefs.h >>conftest.$ac_ext
 
10251
cat >>conftest.$ac_ext <<_ACEOF
8970
10252
/* end confdefs.h.  */
8971
10253
 
8972
10254
int
8977
10259
  return 0;
8978
10260
}
8979
10261
_ACEOF
8980
 
if ac_fn_cxx_try_compile "$LINENO"; then :
 
10262
rm -f conftest.$ac_objext
 
10263
if { (ac_try="$ac_compile"
 
10264
case "(($ac_try" in
 
10265
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10266
  *) ac_try_echo=$ac_try;;
 
10267
esac
 
10268
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10269
$as_echo "$ac_try_echo") >&5
 
10270
  (eval "$ac_compile") 2>conftest.er1
 
10271
  ac_status=$?
 
10272
  grep -v '^ *+' conftest.er1 >conftest.err
 
10273
  rm -f conftest.er1
 
10274
  cat conftest.err >&5
 
10275
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10276
  (exit $ac_status); } && {
 
10277
         test -z "$ac_cxx_werror_flag" ||
 
10278
         test ! -s conftest.err
 
10279
       } && test -s conftest.$ac_objext; then
8981
10280
  ac_cv_prog_cxx_g=yes
8982
 
fi
8983
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8984
 
fi
8985
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8986
 
fi
 
10281
else
 
10282
  $as_echo "$as_me: failed program was:" >&5
 
10283
sed 's/^/| /' conftest.$ac_ext >&5
 
10284
 
 
10285
 
 
10286
fi
 
10287
 
 
10288
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10289
fi
 
10290
 
 
10291
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10292
fi
 
10293
 
8987
10294
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8988
10295
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8989
10296
fi
8990
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
10297
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
8991
10298
$as_echo "$ac_cv_prog_cxx_g" >&6; }
8992
10299
if test "$ac_test_CXXFLAGS" = set; then
8993
10300
  CXXFLAGS=$ac_save_CXXFLAGS
9012
10319
 
9013
10320
depcc="$CXX"  am_compiler_list=
9014
10321
 
9015
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
10322
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
9016
10323
$as_echo_n "checking dependency style of $depcc... " >&6; }
9017
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
10324
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
9018
10325
  $as_echo_n "(cached) " >&6
9019
10326
else
9020
10327
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9122
10429
fi
9123
10430
 
9124
10431
fi
9125
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
10432
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
9126
10433
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
9127
10434
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
9128
10435
 
9145
10452
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9146
10453
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9147
10454
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9148
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 
10455
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
9149
10456
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
9150
10457
if test -z "$CXXCPP"; then
9151
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
 
10458
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
9152
10459
  $as_echo_n "(cached) " >&6
9153
10460
else
9154
10461
      # Double quotes because CXXCPP needs to be expanded
9163
10470
  # <limits.h> exists even on freestanding compilers.
9164
10471
  # On the NeXT, cc -E runs the code through the compiler's parser,
9165
10472
  # not just through cpp. "Syntax error" is here to catch this case.
9166
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10473
  cat >conftest.$ac_ext <<_ACEOF
 
10474
/* confdefs.h.  */
 
10475
_ACEOF
 
10476
cat confdefs.h >>conftest.$ac_ext
 
10477
cat >>conftest.$ac_ext <<_ACEOF
9167
10478
/* end confdefs.h.  */
9168
10479
#ifdef __STDC__
9169
10480
# include <limits.h>
9172
10483
#endif
9173
10484
                     Syntax error
9174
10485
_ACEOF
9175
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
10486
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
10487
case "(($ac_try" in
 
10488
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10489
  *) ac_try_echo=$ac_try;;
 
10490
esac
 
10491
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10492
$as_echo "$ac_try_echo") >&5
 
10493
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
10494
  ac_status=$?
 
10495
  grep -v '^ *+' conftest.er1 >conftest.err
 
10496
  rm -f conftest.er1
 
10497
  cat conftest.err >&5
 
10498
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10499
  (exit $ac_status); } >/dev/null && {
 
10500
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
10501
         test ! -s conftest.err
 
10502
       }; then
 
10503
  :
 
10504
else
 
10505
  $as_echo "$as_me: failed program was:" >&5
 
10506
sed 's/^/| /' conftest.$ac_ext >&5
9176
10507
 
9177
 
else
9178
10508
  # Broken: fails on valid input.
9179
10509
continue
9180
10510
fi
 
10511
 
9181
10512
rm -f conftest.err conftest.$ac_ext
9182
10513
 
9183
10514
  # OK, works on sane cases.  Now check whether nonexistent headers
9184
10515
  # can be detected and how.
9185
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10516
  cat >conftest.$ac_ext <<_ACEOF
 
10517
/* confdefs.h.  */
 
10518
_ACEOF
 
10519
cat confdefs.h >>conftest.$ac_ext
 
10520
cat >>conftest.$ac_ext <<_ACEOF
9186
10521
/* end confdefs.h.  */
9187
10522
#include <ac_nonexistent.h>
9188
10523
_ACEOF
9189
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
10524
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
10525
case "(($ac_try" in
 
10526
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10527
  *) ac_try_echo=$ac_try;;
 
10528
esac
 
10529
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10530
$as_echo "$ac_try_echo") >&5
 
10531
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
10532
  ac_status=$?
 
10533
  grep -v '^ *+' conftest.er1 >conftest.err
 
10534
  rm -f conftest.er1
 
10535
  cat conftest.err >&5
 
10536
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10537
  (exit $ac_status); } >/dev/null && {
 
10538
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
10539
         test ! -s conftest.err
 
10540
       }; then
9190
10541
  # Broken: success on invalid input.
9191
10542
continue
9192
10543
else
 
10544
  $as_echo "$as_me: failed program was:" >&5
 
10545
sed 's/^/| /' conftest.$ac_ext >&5
 
10546
 
9193
10547
  # Passes both tests.
9194
10548
ac_preproc_ok=:
9195
10549
break
9196
10550
fi
 
10551
 
9197
10552
rm -f conftest.err conftest.$ac_ext
9198
10553
 
9199
10554
done
9200
10555
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9201
10556
rm -f conftest.err conftest.$ac_ext
9202
 
if $ac_preproc_ok; then :
 
10557
if $ac_preproc_ok; then
9203
10558
  break
9204
10559
fi
9205
10560
 
9211
10566
else
9212
10567
  ac_cv_prog_CXXCPP=$CXXCPP
9213
10568
fi
9214
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
 
10569
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
9215
10570
$as_echo "$CXXCPP" >&6; }
9216
10571
ac_preproc_ok=false
9217
10572
for ac_cxx_preproc_warn_flag in '' yes
9222
10577
  # <limits.h> exists even on freestanding compilers.
9223
10578
  # On the NeXT, cc -E runs the code through the compiler's parser,
9224
10579
  # not just through cpp. "Syntax error" is here to catch this case.
9225
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10580
  cat >conftest.$ac_ext <<_ACEOF
 
10581
/* confdefs.h.  */
 
10582
_ACEOF
 
10583
cat confdefs.h >>conftest.$ac_ext
 
10584
cat >>conftest.$ac_ext <<_ACEOF
9226
10585
/* end confdefs.h.  */
9227
10586
#ifdef __STDC__
9228
10587
# include <limits.h>
9231
10590
#endif
9232
10591
                     Syntax error
9233
10592
_ACEOF
9234
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
10593
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
10594
case "(($ac_try" in
 
10595
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10596
  *) ac_try_echo=$ac_try;;
 
10597
esac
 
10598
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10599
$as_echo "$ac_try_echo") >&5
 
10600
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
10601
  ac_status=$?
 
10602
  grep -v '^ *+' conftest.er1 >conftest.err
 
10603
  rm -f conftest.er1
 
10604
  cat conftest.err >&5
 
10605
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10606
  (exit $ac_status); } >/dev/null && {
 
10607
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
10608
         test ! -s conftest.err
 
10609
       }; then
 
10610
  :
 
10611
else
 
10612
  $as_echo "$as_me: failed program was:" >&5
 
10613
sed 's/^/| /' conftest.$ac_ext >&5
9235
10614
 
9236
 
else
9237
10615
  # Broken: fails on valid input.
9238
10616
continue
9239
10617
fi
 
10618
 
9240
10619
rm -f conftest.err conftest.$ac_ext
9241
10620
 
9242
10621
  # OK, works on sane cases.  Now check whether nonexistent headers
9243
10622
  # can be detected and how.
9244
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10623
  cat >conftest.$ac_ext <<_ACEOF
 
10624
/* confdefs.h.  */
 
10625
_ACEOF
 
10626
cat confdefs.h >>conftest.$ac_ext
 
10627
cat >>conftest.$ac_ext <<_ACEOF
9245
10628
/* end confdefs.h.  */
9246
10629
#include <ac_nonexistent.h>
9247
10630
_ACEOF
9248
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
10631
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
10632
case "(($ac_try" in
 
10633
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10634
  *) ac_try_echo=$ac_try;;
 
10635
esac
 
10636
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10637
$as_echo "$ac_try_echo") >&5
 
10638
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
10639
  ac_status=$?
 
10640
  grep -v '^ *+' conftest.er1 >conftest.err
 
10641
  rm -f conftest.er1
 
10642
  cat conftest.err >&5
 
10643
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10644
  (exit $ac_status); } >/dev/null && {
 
10645
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
10646
         test ! -s conftest.err
 
10647
       }; then
9249
10648
  # Broken: success on invalid input.
9250
10649
continue
9251
10650
else
 
10651
  $as_echo "$as_me: failed program was:" >&5
 
10652
sed 's/^/| /' conftest.$ac_ext >&5
 
10653
 
9252
10654
  # Passes both tests.
9253
10655
ac_preproc_ok=:
9254
10656
break
9255
10657
fi
 
10658
 
9256
10659
rm -f conftest.err conftest.$ac_ext
9257
10660
 
9258
10661
done
9259
10662
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9260
10663
rm -f conftest.err conftest.$ac_ext
9261
 
if $ac_preproc_ok; then :
9262
 
 
 
10664
if $ac_preproc_ok; then
 
10665
  :
9263
10666
else
9264
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
10667
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
9265
10668
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9266
10669
_lt_caught_CXX_error=yes; }
9267
10670
fi
9291
10694
 
9292
10695
 
9293
10696
            # Check whether --enable-shared was given.
9294
 
if test "${enable_shared+set}" = set; then :
 
10697
if test "${enable_shared+set}" = set; then
9295
10698
  enableval=$enable_shared; p=${PACKAGE-default}
9296
10699
    case $enableval in
9297
10700
    yes) enable_shared=yes ;;
9322
10725
 
9323
10726
 
9324
10727
  # Check whether --enable-static was given.
9325
 
if test "${enable_static+set}" = set; then :
 
10728
if test "${enable_static+set}" = set; then
9326
10729
  enableval=$enable_static; p=${PACKAGE-default}
9327
10730
    case $enableval in
9328
10731
    yes) enable_static=yes ;;
9354
10757
 
9355
10758
 
9356
10759
# Check whether --with-pic was given.
9357
 
if test "${with_pic+set}" = set; then :
 
10760
if test "${with_pic+set}" = set; then
9358
10761
  withval=$with_pic; pic_mode="$withval"
9359
10762
else
9360
10763
  pic_mode=default
9370
10773
 
9371
10774
 
9372
10775
  # Check whether --enable-fast-install was given.
9373
 
if test "${enable_fast_install+set}" = set; then :
 
10776
if test "${enable_fast_install+set}" = set; then
9374
10777
  enableval=$enable_fast_install; p=${PACKAGE-default}
9375
10778
    case $enableval in
9376
10779
    yes) enable_fast_install=yes ;;
9451
10854
   setopt NO_GLOB_SUBST
9452
10855
fi
9453
10856
 
9454
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
10857
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
9455
10858
$as_echo_n "checking for objdir... " >&6; }
9456
 
if test "${lt_cv_objdir+set}" = set; then :
 
10859
if test "${lt_cv_objdir+set}" = set; then
9457
10860
  $as_echo_n "(cached) " >&6
9458
10861
else
9459
10862
  rm -f .libs 2>/dev/null
9466
10869
fi
9467
10870
rmdir .libs 2>/dev/null
9468
10871
fi
9469
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
10872
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9470
10873
$as_echo "$lt_cv_objdir" >&6; }
9471
10874
objdir=$lt_cv_objdir
9472
10875
 
9559
10962
case $deplibs_check_method in
9560
10963
file_magic*)
9561
10964
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9562
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
10965
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9563
10966
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9564
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
10967
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9565
10968
  $as_echo_n "(cached) " >&6
9566
10969
else
9567
10970
  case $MAGIC_CMD in
9612
11015
 
9613
11016
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9614
11017
if test -n "$MAGIC_CMD"; then
9615
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
11018
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9616
11019
$as_echo "$MAGIC_CMD" >&6; }
9617
11020
else
9618
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11021
  { $as_echo "$as_me:$LINENO: result: no" >&5
9619
11022
$as_echo "no" >&6; }
9620
11023
fi
9621
11024
 
9625
11028
 
9626
11029
if test -z "$lt_cv_path_MAGIC_CMD"; then
9627
11030
  if test -n "$ac_tool_prefix"; then
9628
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
11031
    { $as_echo "$as_me:$LINENO: checking for file" >&5
9629
11032
$as_echo_n "checking for file... " >&6; }
9630
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
11033
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9631
11034
  $as_echo_n "(cached) " >&6
9632
11035
else
9633
11036
  case $MAGIC_CMD in
9678
11081
 
9679
11082
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9680
11083
if test -n "$MAGIC_CMD"; then
9681
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
11084
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9682
11085
$as_echo "$MAGIC_CMD" >&6; }
9683
11086
else
9684
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11087
  { $as_echo "$as_me:$LINENO: result: no" >&5
9685
11088
$as_echo "no" >&6; }
9686
11089
fi
9687
11090
 
9762
11165
if test "$GCC" = yes; then
9763
11166
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9764
11167
 
9765
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
11168
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9766
11169
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9767
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
11170
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9768
11171
  $as_echo_n "(cached) " >&6
9769
11172
else
9770
11173
  lt_cv_prog_compiler_rtti_exceptions=no
9780
11183
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9781
11184
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9782
11185
   -e 's:$: $lt_compiler_flag:'`
9783
 
   (eval echo "\"\$as_me:9783: $lt_compile\"" >&5)
 
11186
   (eval echo "\"\$as_me:11186: $lt_compile\"" >&5)
9784
11187
   (eval "$lt_compile" 2>conftest.err)
9785
11188
   ac_status=$?
9786
11189
   cat conftest.err >&5
9787
 
   echo "$as_me:9787: \$? = $ac_status" >&5
 
11190
   echo "$as_me:11190: \$? = $ac_status" >&5
9788
11191
   if (exit $ac_status) && test -s "$ac_outfile"; then
9789
11192
     # The compiler can only warn and ignore the option if not recognized
9790
11193
     # So say no if there are warnings other than the usual output.
9797
11200
   $RM conftest*
9798
11201
 
9799
11202
fi
9800
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
11203
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9801
11204
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9802
11205
 
9803
11206
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9817
11220
lt_prog_compiler_pic=
9818
11221
lt_prog_compiler_static=
9819
11222
 
9820
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
11223
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9821
11224
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9822
11225
 
9823
11226
  if test "$GCC" = yes; then
10089
11492
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10090
11493
    ;;
10091
11494
esac
10092
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
 
11495
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
10093
11496
$as_echo "$lt_prog_compiler_pic" >&6; }
10094
11497
 
10095
11498
 
10101
11504
# Check to make sure the PIC flag actually works.
10102
11505
#
10103
11506
if test -n "$lt_prog_compiler_pic"; then
10104
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
11507
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10105
11508
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10106
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
11509
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
10107
11510
  $as_echo_n "(cached) " >&6
10108
11511
else
10109
11512
  lt_cv_prog_compiler_pic_works=no
10119
11522
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10120
11523
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10121
11524
   -e 's:$: $lt_compiler_flag:'`
10122
 
   (eval echo "\"\$as_me:10122: $lt_compile\"" >&5)
 
11525
   (eval echo "\"\$as_me:11525: $lt_compile\"" >&5)
10123
11526
   (eval "$lt_compile" 2>conftest.err)
10124
11527
   ac_status=$?
10125
11528
   cat conftest.err >&5
10126
 
   echo "$as_me:10126: \$? = $ac_status" >&5
 
11529
   echo "$as_me:11529: \$? = $ac_status" >&5
10127
11530
   if (exit $ac_status) && test -s "$ac_outfile"; then
10128
11531
     # The compiler can only warn and ignore the option if not recognized
10129
11532
     # So say no if there are warnings other than the usual output.
10136
11539
   $RM conftest*
10137
11540
 
10138
11541
fi
10139
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
11542
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
10140
11543
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10141
11544
 
10142
11545
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10160
11563
# Check to make sure the static flag actually works.
10161
11564
#
10162
11565
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10163
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
11566
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10164
11567
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10165
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
11568
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
10166
11569
  $as_echo_n "(cached) " >&6
10167
11570
else
10168
11571
  lt_cv_prog_compiler_static_works=no
10188
11591
   LDFLAGS="$save_LDFLAGS"
10189
11592
 
10190
11593
fi
10191
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
11594
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
10192
11595
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10193
11596
 
10194
11597
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10203
11606
 
10204
11607
 
10205
11608
 
10206
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
11609
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10207
11610
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10208
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
11611
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10209
11612
  $as_echo_n "(cached) " >&6
10210
11613
else
10211
11614
  lt_cv_prog_compiler_c_o=no
10224
11627
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10225
11628
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10226
11629
   -e 's:$: $lt_compiler_flag:'`
10227
 
   (eval echo "\"\$as_me:10227: $lt_compile\"" >&5)
 
11630
   (eval echo "\"\$as_me:11630: $lt_compile\"" >&5)
10228
11631
   (eval "$lt_compile" 2>out/conftest.err)
10229
11632
   ac_status=$?
10230
11633
   cat out/conftest.err >&5
10231
 
   echo "$as_me:10231: \$? = $ac_status" >&5
 
11634
   echo "$as_me:11634: \$? = $ac_status" >&5
10232
11635
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10233
11636
   then
10234
11637
     # The compiler can only warn and ignore the option if not recognized
10250
11653
   $RM conftest*
10251
11654
 
10252
11655
fi
10253
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
11656
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10254
11657
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10255
11658
 
10256
11659
 
10258
11661
 
10259
11662
 
10260
11663
 
10261
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
11664
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10262
11665
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10263
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
11666
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10264
11667
  $as_echo_n "(cached) " >&6
10265
11668
else
10266
11669
  lt_cv_prog_compiler_c_o=no
10279
11682
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10280
11683
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10281
11684
   -e 's:$: $lt_compiler_flag:'`
10282
 
   (eval echo "\"\$as_me:10282: $lt_compile\"" >&5)
 
11685
   (eval echo "\"\$as_me:11685: $lt_compile\"" >&5)
10283
11686
   (eval "$lt_compile" 2>out/conftest.err)
10284
11687
   ac_status=$?
10285
11688
   cat out/conftest.err >&5
10286
 
   echo "$as_me:10286: \$? = $ac_status" >&5
 
11689
   echo "$as_me:11689: \$? = $ac_status" >&5
10287
11690
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10288
11691
   then
10289
11692
     # The compiler can only warn and ignore the option if not recognized
10305
11708
   $RM conftest*
10306
11709
 
10307
11710
fi
10308
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
11711
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10309
11712
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10310
11713
 
10311
11714
 
10314
11717
hard_links="nottested"
10315
11718
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10316
11719
  # do not overwrite the value of need_locks provided by the user
10317
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
11720
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10318
11721
$as_echo_n "checking if we can lock with hard links... " >&6; }
10319
11722
  hard_links=yes
10320
11723
  $RM conftest*
10322
11725
  touch conftest.a
10323
11726
  ln conftest.a conftest.b 2>&5 || hard_links=no
10324
11727
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10325
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
11728
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
10326
11729
$as_echo "$hard_links" >&6; }
10327
11730
  if test "$hard_links" = no; then
10328
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
11731
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10329
11732
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10330
11733
    need_locks=warn
10331
11734
  fi
10338
11741
 
10339
11742
 
10340
11743
 
10341
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11744
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10342
11745
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10343
11746
 
10344
11747
  runpath_var=
10398
11801
  openbsd*)
10399
11802
    with_gnu_ld=no
10400
11803
    ;;
10401
 
  linux* | k*bsd*-gnu)
10402
 
    link_all_deplibs=no
10403
 
    ;;
10404
11804
  esac
10405
11805
 
10406
11806
  ld_shlibs=yes
10583
11983
      fi
10584
11984
      ;;
10585
11985
 
10586
 
    netbsd* | netbsdelf*-gnu)
 
11986
    netbsd*)
10587
11987
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10588
11988
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10589
11989
        wlarc=
10758
12158
        if test "$aix_use_runtimelinking" = yes; then
10759
12159
          shared_flag="$shared_flag "'${wl}-G'
10760
12160
        fi
10761
 
        link_all_deplibs=no
10762
12161
      else
10763
12162
        # not using gcc
10764
12163
        if test "$host_cpu" = ia64; then
10784
12183
        allow_undefined_flag='-berok'
10785
12184
        # Determine the default libpath from the value encoded in an
10786
12185
        # empty executable.
10787
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12186
        cat >conftest.$ac_ext <<_ACEOF
 
12187
/* confdefs.h.  */
 
12188
_ACEOF
 
12189
cat confdefs.h >>conftest.$ac_ext
 
12190
cat >>conftest.$ac_ext <<_ACEOF
10788
12191
/* end confdefs.h.  */
10789
12192
 
10790
12193
int
10795
12198
  return 0;
10796
12199
}
10797
12200
_ACEOF
10798
 
if ac_fn_c_try_link "$LINENO"; then :
 
12201
rm -f conftest.$ac_objext conftest$ac_exeext
 
12202
if { (ac_try="$ac_link"
 
12203
case "(($ac_try" in
 
12204
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12205
  *) ac_try_echo=$ac_try;;
 
12206
esac
 
12207
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12208
$as_echo "$ac_try_echo") >&5
 
12209
  (eval "$ac_link") 2>conftest.er1
 
12210
  ac_status=$?
 
12211
  grep -v '^ *+' conftest.er1 >conftest.err
 
12212
  rm -f conftest.er1
 
12213
  cat conftest.err >&5
 
12214
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12215
  (exit $ac_status); } && {
 
12216
         test -z "$ac_c_werror_flag" ||
 
12217
         test ! -s conftest.err
 
12218
       } && test -s conftest$ac_exeext && {
 
12219
         test "$cross_compiling" = yes ||
 
12220
         $as_test_x conftest$ac_exeext
 
12221
       }; then
10799
12222
 
10800
12223
lt_aix_libpath_sed='
10801
12224
    /Import File Strings/,/^$/ {
10809
12232
if test -z "$aix_libpath"; then
10810
12233
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10811
12234
fi
 
12235
else
 
12236
  $as_echo "$as_me: failed program was:" >&5
 
12237
sed 's/^/| /' conftest.$ac_ext >&5
 
12238
 
 
12239
 
10812
12240
fi
10813
 
rm -f core conftest.err conftest.$ac_objext \
10814
 
    conftest$ac_exeext conftest.$ac_ext
 
12241
 
 
12242
rm -rf conftest.dSYM
 
12243
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
12244
      conftest$ac_exeext conftest.$ac_ext
10815
12245
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10816
12246
 
10817
12247
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10824
12254
        else
10825
12255
         # Determine the default libpath from the value encoded in an
10826
12256
         # empty executable.
10827
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12257
         cat >conftest.$ac_ext <<_ACEOF
 
12258
/* confdefs.h.  */
 
12259
_ACEOF
 
12260
cat confdefs.h >>conftest.$ac_ext
 
12261
cat >>conftest.$ac_ext <<_ACEOF
10828
12262
/* end confdefs.h.  */
10829
12263
 
10830
12264
int
10835
12269
  return 0;
10836
12270
}
10837
12271
_ACEOF
10838
 
if ac_fn_c_try_link "$LINENO"; then :
 
12272
rm -f conftest.$ac_objext conftest$ac_exeext
 
12273
if { (ac_try="$ac_link"
 
12274
case "(($ac_try" in
 
12275
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12276
  *) ac_try_echo=$ac_try;;
 
12277
esac
 
12278
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12279
$as_echo "$ac_try_echo") >&5
 
12280
  (eval "$ac_link") 2>conftest.er1
 
12281
  ac_status=$?
 
12282
  grep -v '^ *+' conftest.er1 >conftest.err
 
12283
  rm -f conftest.er1
 
12284
  cat conftest.err >&5
 
12285
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12286
  (exit $ac_status); } && {
 
12287
         test -z "$ac_c_werror_flag" ||
 
12288
         test ! -s conftest.err
 
12289
       } && test -s conftest$ac_exeext && {
 
12290
         test "$cross_compiling" = yes ||
 
12291
         $as_test_x conftest$ac_exeext
 
12292
       }; then
10839
12293
 
10840
12294
lt_aix_libpath_sed='
10841
12295
    /Import File Strings/,/^$/ {
10849
12303
if test -z "$aix_libpath"; then
10850
12304
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10851
12305
fi
 
12306
else
 
12307
  $as_echo "$as_me: failed program was:" >&5
 
12308
sed 's/^/| /' conftest.$ac_ext >&5
 
12309
 
 
12310
 
10852
12311
fi
10853
 
rm -f core conftest.err conftest.$ac_objext \
10854
 
    conftest$ac_exeext conftest.$ac_ext
 
12312
 
 
12313
rm -rf conftest.dSYM
 
12314
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
12315
      conftest$ac_exeext conftest.$ac_ext
10855
12316
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10856
12317
 
10857
12318
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11063
12524
        # implicitly export all symbols.
11064
12525
        save_LDFLAGS="$LDFLAGS"
11065
12526
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11066
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11067
 
/* end confdefs.h.  */
 
12527
        cat >conftest.$ac_ext <<_ACEOF
11068
12528
int foo(void) {}
11069
12529
_ACEOF
11070
 
if ac_fn_c_try_link "$LINENO"; then :
 
12530
rm -f conftest.$ac_objext conftest$ac_exeext
 
12531
if { (ac_try="$ac_link"
 
12532
case "(($ac_try" in
 
12533
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12534
  *) ac_try_echo=$ac_try;;
 
12535
esac
 
12536
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12537
$as_echo "$ac_try_echo") >&5
 
12538
  (eval "$ac_link") 2>conftest.er1
 
12539
  ac_status=$?
 
12540
  grep -v '^ *+' conftest.er1 >conftest.err
 
12541
  rm -f conftest.er1
 
12542
  cat conftest.err >&5
 
12543
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12544
  (exit $ac_status); } && {
 
12545
         test -z "$ac_c_werror_flag" ||
 
12546
         test ! -s conftest.err
 
12547
       } && test -s conftest$ac_exeext && {
 
12548
         test "$cross_compiling" = yes ||
 
12549
         $as_test_x conftest$ac_exeext
 
12550
       }; then
11071
12551
  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'
11072
12552
 
 
12553
else
 
12554
  $as_echo "$as_me: failed program was:" >&5
 
12555
sed 's/^/| /' conftest.$ac_ext >&5
 
12556
 
 
12557
 
11073
12558
fi
11074
 
rm -f core conftest.err conftest.$ac_objext \
11075
 
    conftest$ac_exeext conftest.$ac_ext
 
12559
 
 
12560
rm -rf conftest.dSYM
 
12561
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
12562
      conftest$ac_exeext conftest.$ac_ext
11076
12563
        LDFLAGS="$save_LDFLAGS"
11077
12564
      else
11078
12565
        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'
11085
12572
      link_all_deplibs=yes
11086
12573
      ;;
11087
12574
 
11088
 
    netbsd* | netbsdelf*-gnu)
 
12575
    netbsd*)
11089
12576
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11090
12577
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11091
12578
      else
11328
12815
    fi
11329
12816
  fi
11330
12817
 
11331
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
12818
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11332
12819
$as_echo "$ld_shlibs" >&6; }
11333
12820
test "$ld_shlibs" = no && can_build_shared=no
11334
12821
 
11365
12852
      # Test whether the compiler implicitly links with -lc since on some
11366
12853
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11367
12854
      # to ld, don't add -lc before -lgcc.
11368
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
12855
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11369
12856
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11370
12857
      $RM conftest*
11371
12858
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11372
12859
 
11373
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
12860
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11374
12861
  (eval $ac_compile) 2>&5
11375
12862
  ac_status=$?
11376
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11377
 
  test $ac_status = 0; } 2>conftest.err; then
 
12863
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12864
  (exit $ac_status); } 2>conftest.err; then
11378
12865
        soname=conftest
11379
12866
        lib=conftest
11380
12867
        libobjs=conftest.$ac_objext
11388
12875
        libname=conftest
11389
12876
        lt_save_allow_undefined_flag=$allow_undefined_flag
11390
12877
        allow_undefined_flag=
11391
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
12878
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
11392
12879
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11393
12880
  ac_status=$?
11394
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11395
 
  test $ac_status = 0; }
 
12881
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12882
  (exit $ac_status); }
11396
12883
        then
11397
12884
          archive_cmds_need_lc=no
11398
12885
        else
11403
12890
        cat conftest.err 1>&5
11404
12891
      fi
11405
12892
      $RM conftest*
11406
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
 
12893
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11407
12894
$as_echo "$archive_cmds_need_lc" >&6; }
11408
12895
      ;;
11409
12896
    esac
11567
13054
 
11568
13055
 
11569
13056
 
11570
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
13057
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11571
13058
$as_echo_n "checking dynamic linker characteristics... " >&6; }
11572
13059
 
11573
13060
if test "$GCC" = yes; then
11989
13476
  save_libdir=$libdir
11990
13477
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11991
13478
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11992
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13479
  cat >conftest.$ac_ext <<_ACEOF
 
13480
/* confdefs.h.  */
 
13481
_ACEOF
 
13482
cat confdefs.h >>conftest.$ac_ext
 
13483
cat >>conftest.$ac_ext <<_ACEOF
11993
13484
/* end confdefs.h.  */
11994
13485
 
11995
13486
int
12000
13491
  return 0;
12001
13492
}
12002
13493
_ACEOF
12003
 
if ac_fn_c_try_link "$LINENO"; then :
12004
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
13494
rm -f conftest.$ac_objext conftest$ac_exeext
 
13495
if { (ac_try="$ac_link"
 
13496
case "(($ac_try" in
 
13497
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13498
  *) ac_try_echo=$ac_try;;
 
13499
esac
 
13500
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13501
$as_echo "$ac_try_echo") >&5
 
13502
  (eval "$ac_link") 2>conftest.er1
 
13503
  ac_status=$?
 
13504
  grep -v '^ *+' conftest.er1 >conftest.err
 
13505
  rm -f conftest.er1
 
13506
  cat conftest.err >&5
 
13507
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13508
  (exit $ac_status); } && {
 
13509
         test -z "$ac_c_werror_flag" ||
 
13510
         test ! -s conftest.err
 
13511
       } && test -s conftest$ac_exeext && {
 
13512
         test "$cross_compiling" = yes ||
 
13513
         $as_test_x conftest$ac_exeext
 
13514
       }; then
 
13515
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
12005
13516
  shlibpath_overrides_runpath=yes
12006
13517
fi
 
13518
 
 
13519
else
 
13520
  $as_echo "$as_me: failed program was:" >&5
 
13521
sed 's/^/| /' conftest.$ac_ext >&5
 
13522
 
 
13523
 
12007
13524
fi
12008
 
rm -f core conftest.err conftest.$ac_objext \
12009
 
    conftest$ac_exeext conftest.$ac_ext
 
13525
 
 
13526
rm -rf conftest.dSYM
 
13527
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
13528
      conftest$ac_exeext conftest.$ac_ext
12010
13529
  LDFLAGS=$save_LDFLAGS
12011
13530
  libdir=$save_libdir
12012
13531
 
12015
13534
  # before this can be enabled.
12016
13535
  hardcode_into_libs=yes
12017
13536
 
 
13537
  # Add ABI-specific directories to the system library path.
 
13538
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
13539
 
12018
13540
  # Append ld.so.conf contents to the search path
12019
13541
  if test -f /etc/ld.so.conf; then
12020
13542
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12021
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
13543
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12022
13544
  fi
12023
13545
 
12024
13546
  # We used to test for /lib/ld.so.1 and disable shared libraries on
12030
13552
  dynamic_linker='GNU/Linux ld.so'
12031
13553
  ;;
12032
13554
 
12033
 
netbsdelf*-gnu)
12034
 
  version_type=linux
12035
 
  need_lib_prefix=no
12036
 
  need_version=no
12037
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12038
 
  soname_spec='${libname}${release}${shared_ext}$major'
12039
 
  shlibpath_var=LD_LIBRARY_PATH
12040
 
  shlibpath_overrides_runpath=no
12041
 
  hardcode_into_libs=yes
12042
 
  dynamic_linker='NetBSD ld.elf_so'
12043
 
  ;;
12044
 
 
12045
13555
netbsd*)
12046
13556
  version_type=sunos
12047
13557
  need_lib_prefix=no
12230
13740
  dynamic_linker=no
12231
13741
  ;;
12232
13742
esac
12233
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
13743
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12234
13744
$as_echo "$dynamic_linker" >&6; }
12235
13745
test "$dynamic_linker" = no && can_build_shared=no
12236
13746
 
12332
13842
 
12333
13843
 
12334
13844
 
12335
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
13845
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12336
13846
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12337
13847
hardcode_action=
12338
13848
if test -n "$hardcode_libdir_flag_spec" ||
12357
13867
  # directories.
12358
13868
  hardcode_action=unsupported
12359
13869
fi
12360
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
13870
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
12361
13871
$as_echo "$hardcode_action" >&6; }
12362
13872
 
12363
13873
if test "$hardcode_action" = relink ||
12402
13912
 
12403
13913
  darwin*)
12404
13914
  # if libdl is installed we need to link against it
12405
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
13915
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12406
13916
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12407
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
13917
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12408
13918
  $as_echo_n "(cached) " >&6
12409
13919
else
12410
13920
  ac_check_lib_save_LIBS=$LIBS
12411
13921
LIBS="-ldl  $LIBS"
12412
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13922
cat >conftest.$ac_ext <<_ACEOF
 
13923
/* confdefs.h.  */
 
13924
_ACEOF
 
13925
cat confdefs.h >>conftest.$ac_ext
 
13926
cat >>conftest.$ac_ext <<_ACEOF
12413
13927
/* end confdefs.h.  */
12414
13928
 
12415
13929
/* Override any GCC internal prototype to avoid an error.
12427
13941
  return 0;
12428
13942
}
12429
13943
_ACEOF
12430
 
if ac_fn_c_try_link "$LINENO"; then :
 
13944
rm -f conftest.$ac_objext conftest$ac_exeext
 
13945
if { (ac_try="$ac_link"
 
13946
case "(($ac_try" in
 
13947
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13948
  *) ac_try_echo=$ac_try;;
 
13949
esac
 
13950
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13951
$as_echo "$ac_try_echo") >&5
 
13952
  (eval "$ac_link") 2>conftest.er1
 
13953
  ac_status=$?
 
13954
  grep -v '^ *+' conftest.er1 >conftest.err
 
13955
  rm -f conftest.er1
 
13956
  cat conftest.err >&5
 
13957
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13958
  (exit $ac_status); } && {
 
13959
         test -z "$ac_c_werror_flag" ||
 
13960
         test ! -s conftest.err
 
13961
       } && test -s conftest$ac_exeext && {
 
13962
         test "$cross_compiling" = yes ||
 
13963
         $as_test_x conftest$ac_exeext
 
13964
       }; then
12431
13965
  ac_cv_lib_dl_dlopen=yes
12432
13966
else
12433
 
  ac_cv_lib_dl_dlopen=no
 
13967
  $as_echo "$as_me: failed program was:" >&5
 
13968
sed 's/^/| /' conftest.$ac_ext >&5
 
13969
 
 
13970
        ac_cv_lib_dl_dlopen=no
12434
13971
fi
12435
 
rm -f core conftest.err conftest.$ac_objext \
12436
 
    conftest$ac_exeext conftest.$ac_ext
 
13972
 
 
13973
rm -rf conftest.dSYM
 
13974
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
13975
      conftest$ac_exeext conftest.$ac_ext
12437
13976
LIBS=$ac_check_lib_save_LIBS
12438
13977
fi
12439
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
13978
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12440
13979
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12441
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
13980
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
12442
13981
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12443
13982
else
12444
13983
 
12451
13990
    ;;
12452
13991
 
12453
13992
  *)
12454
 
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12455
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
13993
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 
13994
$as_echo_n "checking for shl_load... " >&6; }
 
13995
if test "${ac_cv_func_shl_load+set}" = set; then
 
13996
  $as_echo_n "(cached) " >&6
 
13997
else
 
13998
  cat >conftest.$ac_ext <<_ACEOF
 
13999
/* confdefs.h.  */
 
14000
_ACEOF
 
14001
cat confdefs.h >>conftest.$ac_ext
 
14002
cat >>conftest.$ac_ext <<_ACEOF
 
14003
/* end confdefs.h.  */
 
14004
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
 
14005
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
14006
#define shl_load innocuous_shl_load
 
14007
 
 
14008
/* System header to define __stub macros and hopefully few prototypes,
 
14009
    which can conflict with char shl_load (); below.
 
14010
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
14011
    <limits.h> exists even on freestanding compilers.  */
 
14012
 
 
14013
#ifdef __STDC__
 
14014
# include <limits.h>
 
14015
#else
 
14016
# include <assert.h>
 
14017
#endif
 
14018
 
 
14019
#undef shl_load
 
14020
 
 
14021
/* Override any GCC internal prototype to avoid an error.
 
14022
   Use char because int might match the return type of a GCC
 
14023
   builtin and then its argument prototype would still apply.  */
 
14024
#ifdef __cplusplus
 
14025
extern "C"
 
14026
#endif
 
14027
char shl_load ();
 
14028
/* The GNU C library defines this for functions which it implements
 
14029
    to always fail with ENOSYS.  Some functions are actually named
 
14030
    something starting with __ and the normal name is an alias.  */
 
14031
#if defined __stub_shl_load || defined __stub___shl_load
 
14032
choke me
 
14033
#endif
 
14034
 
 
14035
int
 
14036
main ()
 
14037
{
 
14038
return shl_load ();
 
14039
  ;
 
14040
  return 0;
 
14041
}
 
14042
_ACEOF
 
14043
rm -f conftest.$ac_objext conftest$ac_exeext
 
14044
if { (ac_try="$ac_link"
 
14045
case "(($ac_try" in
 
14046
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14047
  *) ac_try_echo=$ac_try;;
 
14048
esac
 
14049
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14050
$as_echo "$ac_try_echo") >&5
 
14051
  (eval "$ac_link") 2>conftest.er1
 
14052
  ac_status=$?
 
14053
  grep -v '^ *+' conftest.er1 >conftest.err
 
14054
  rm -f conftest.er1
 
14055
  cat conftest.err >&5
 
14056
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14057
  (exit $ac_status); } && {
 
14058
         test -z "$ac_c_werror_flag" ||
 
14059
         test ! -s conftest.err
 
14060
       } && test -s conftest$ac_exeext && {
 
14061
         test "$cross_compiling" = yes ||
 
14062
         $as_test_x conftest$ac_exeext
 
14063
       }; then
 
14064
  ac_cv_func_shl_load=yes
 
14065
else
 
14066
  $as_echo "$as_me: failed program was:" >&5
 
14067
sed 's/^/| /' conftest.$ac_ext >&5
 
14068
 
 
14069
        ac_cv_func_shl_load=no
 
14070
fi
 
14071
 
 
14072
rm -rf conftest.dSYM
 
14073
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14074
      conftest$ac_exeext conftest.$ac_ext
 
14075
fi
 
14076
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
14077
$as_echo "$ac_cv_func_shl_load" >&6; }
 
14078
if test "x$ac_cv_func_shl_load" = x""yes; then
12456
14079
  lt_cv_dlopen="shl_load"
12457
14080
else
12458
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
14081
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12459
14082
$as_echo_n "checking for shl_load in -ldld... " >&6; }
12460
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
14083
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12461
14084
  $as_echo_n "(cached) " >&6
12462
14085
else
12463
14086
  ac_check_lib_save_LIBS=$LIBS
12464
14087
LIBS="-ldld  $LIBS"
12465
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14088
cat >conftest.$ac_ext <<_ACEOF
 
14089
/* confdefs.h.  */
 
14090
_ACEOF
 
14091
cat confdefs.h >>conftest.$ac_ext
 
14092
cat >>conftest.$ac_ext <<_ACEOF
12466
14093
/* end confdefs.h.  */
12467
14094
 
12468
14095
/* Override any GCC internal prototype to avoid an error.
12480
14107
  return 0;
12481
14108
}
12482
14109
_ACEOF
12483
 
if ac_fn_c_try_link "$LINENO"; then :
 
14110
rm -f conftest.$ac_objext conftest$ac_exeext
 
14111
if { (ac_try="$ac_link"
 
14112
case "(($ac_try" in
 
14113
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14114
  *) ac_try_echo=$ac_try;;
 
14115
esac
 
14116
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14117
$as_echo "$ac_try_echo") >&5
 
14118
  (eval "$ac_link") 2>conftest.er1
 
14119
  ac_status=$?
 
14120
  grep -v '^ *+' conftest.er1 >conftest.err
 
14121
  rm -f conftest.er1
 
14122
  cat conftest.err >&5
 
14123
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14124
  (exit $ac_status); } && {
 
14125
         test -z "$ac_c_werror_flag" ||
 
14126
         test ! -s conftest.err
 
14127
       } && test -s conftest$ac_exeext && {
 
14128
         test "$cross_compiling" = yes ||
 
14129
         $as_test_x conftest$ac_exeext
 
14130
       }; then
12484
14131
  ac_cv_lib_dld_shl_load=yes
12485
14132
else
12486
 
  ac_cv_lib_dld_shl_load=no
 
14133
  $as_echo "$as_me: failed program was:" >&5
 
14134
sed 's/^/| /' conftest.$ac_ext >&5
 
14135
 
 
14136
        ac_cv_lib_dld_shl_load=no
12487
14137
fi
12488
 
rm -f core conftest.err conftest.$ac_objext \
12489
 
    conftest$ac_exeext conftest.$ac_ext
 
14138
 
 
14139
rm -rf conftest.dSYM
 
14140
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14141
      conftest$ac_exeext conftest.$ac_ext
12490
14142
LIBS=$ac_check_lib_save_LIBS
12491
14143
fi
12492
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
14144
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12493
14145
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12494
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
14146
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
12495
14147
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12496
14148
else
12497
 
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12498
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
14149
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 
14150
$as_echo_n "checking for dlopen... " >&6; }
 
14151
if test "${ac_cv_func_dlopen+set}" = set; then
 
14152
  $as_echo_n "(cached) " >&6
 
14153
else
 
14154
  cat >conftest.$ac_ext <<_ACEOF
 
14155
/* confdefs.h.  */
 
14156
_ACEOF
 
14157
cat confdefs.h >>conftest.$ac_ext
 
14158
cat >>conftest.$ac_ext <<_ACEOF
 
14159
/* end confdefs.h.  */
 
14160
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 
14161
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
14162
#define dlopen innocuous_dlopen
 
14163
 
 
14164
/* System header to define __stub macros and hopefully few prototypes,
 
14165
    which can conflict with char dlopen (); below.
 
14166
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
14167
    <limits.h> exists even on freestanding compilers.  */
 
14168
 
 
14169
#ifdef __STDC__
 
14170
# include <limits.h>
 
14171
#else
 
14172
# include <assert.h>
 
14173
#endif
 
14174
 
 
14175
#undef dlopen
 
14176
 
 
14177
/* Override any GCC internal prototype to avoid an error.
 
14178
   Use char because int might match the return type of a GCC
 
14179
   builtin and then its argument prototype would still apply.  */
 
14180
#ifdef __cplusplus
 
14181
extern "C"
 
14182
#endif
 
14183
char dlopen ();
 
14184
/* The GNU C library defines this for functions which it implements
 
14185
    to always fail with ENOSYS.  Some functions are actually named
 
14186
    something starting with __ and the normal name is an alias.  */
 
14187
#if defined __stub_dlopen || defined __stub___dlopen
 
14188
choke me
 
14189
#endif
 
14190
 
 
14191
int
 
14192
main ()
 
14193
{
 
14194
return dlopen ();
 
14195
  ;
 
14196
  return 0;
 
14197
}
 
14198
_ACEOF
 
14199
rm -f conftest.$ac_objext conftest$ac_exeext
 
14200
if { (ac_try="$ac_link"
 
14201
case "(($ac_try" in
 
14202
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14203
  *) ac_try_echo=$ac_try;;
 
14204
esac
 
14205
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14206
$as_echo "$ac_try_echo") >&5
 
14207
  (eval "$ac_link") 2>conftest.er1
 
14208
  ac_status=$?
 
14209
  grep -v '^ *+' conftest.er1 >conftest.err
 
14210
  rm -f conftest.er1
 
14211
  cat conftest.err >&5
 
14212
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14213
  (exit $ac_status); } && {
 
14214
         test -z "$ac_c_werror_flag" ||
 
14215
         test ! -s conftest.err
 
14216
       } && test -s conftest$ac_exeext && {
 
14217
         test "$cross_compiling" = yes ||
 
14218
         $as_test_x conftest$ac_exeext
 
14219
       }; then
 
14220
  ac_cv_func_dlopen=yes
 
14221
else
 
14222
  $as_echo "$as_me: failed program was:" >&5
 
14223
sed 's/^/| /' conftest.$ac_ext >&5
 
14224
 
 
14225
        ac_cv_func_dlopen=no
 
14226
fi
 
14227
 
 
14228
rm -rf conftest.dSYM
 
14229
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14230
      conftest$ac_exeext conftest.$ac_ext
 
14231
fi
 
14232
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
14233
$as_echo "$ac_cv_func_dlopen" >&6; }
 
14234
if test "x$ac_cv_func_dlopen" = x""yes; then
12499
14235
  lt_cv_dlopen="dlopen"
12500
14236
else
12501
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
14237
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12502
14238
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12503
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
14239
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12504
14240
  $as_echo_n "(cached) " >&6
12505
14241
else
12506
14242
  ac_check_lib_save_LIBS=$LIBS
12507
14243
LIBS="-ldl  $LIBS"
12508
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14244
cat >conftest.$ac_ext <<_ACEOF
 
14245
/* confdefs.h.  */
 
14246
_ACEOF
 
14247
cat confdefs.h >>conftest.$ac_ext
 
14248
cat >>conftest.$ac_ext <<_ACEOF
12509
14249
/* end confdefs.h.  */
12510
14250
 
12511
14251
/* Override any GCC internal prototype to avoid an error.
12523
14263
  return 0;
12524
14264
}
12525
14265
_ACEOF
12526
 
if ac_fn_c_try_link "$LINENO"; then :
 
14266
rm -f conftest.$ac_objext conftest$ac_exeext
 
14267
if { (ac_try="$ac_link"
 
14268
case "(($ac_try" in
 
14269
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14270
  *) ac_try_echo=$ac_try;;
 
14271
esac
 
14272
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14273
$as_echo "$ac_try_echo") >&5
 
14274
  (eval "$ac_link") 2>conftest.er1
 
14275
  ac_status=$?
 
14276
  grep -v '^ *+' conftest.er1 >conftest.err
 
14277
  rm -f conftest.er1
 
14278
  cat conftest.err >&5
 
14279
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14280
  (exit $ac_status); } && {
 
14281
         test -z "$ac_c_werror_flag" ||
 
14282
         test ! -s conftest.err
 
14283
       } && test -s conftest$ac_exeext && {
 
14284
         test "$cross_compiling" = yes ||
 
14285
         $as_test_x conftest$ac_exeext
 
14286
       }; then
12527
14287
  ac_cv_lib_dl_dlopen=yes
12528
14288
else
12529
 
  ac_cv_lib_dl_dlopen=no
 
14289
  $as_echo "$as_me: failed program was:" >&5
 
14290
sed 's/^/| /' conftest.$ac_ext >&5
 
14291
 
 
14292
        ac_cv_lib_dl_dlopen=no
12530
14293
fi
12531
 
rm -f core conftest.err conftest.$ac_objext \
12532
 
    conftest$ac_exeext conftest.$ac_ext
 
14294
 
 
14295
rm -rf conftest.dSYM
 
14296
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14297
      conftest$ac_exeext conftest.$ac_ext
12533
14298
LIBS=$ac_check_lib_save_LIBS
12534
14299
fi
12535
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
14300
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12536
14301
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12537
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
14302
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
12538
14303
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12539
14304
else
12540
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
14305
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12541
14306
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12542
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
14307
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12543
14308
  $as_echo_n "(cached) " >&6
12544
14309
else
12545
14310
  ac_check_lib_save_LIBS=$LIBS
12546
14311
LIBS="-lsvld  $LIBS"
12547
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14312
cat >conftest.$ac_ext <<_ACEOF
 
14313
/* confdefs.h.  */
 
14314
_ACEOF
 
14315
cat confdefs.h >>conftest.$ac_ext
 
14316
cat >>conftest.$ac_ext <<_ACEOF
12548
14317
/* end confdefs.h.  */
12549
14318
 
12550
14319
/* Override any GCC internal prototype to avoid an error.
12562
14331
  return 0;
12563
14332
}
12564
14333
_ACEOF
12565
 
if ac_fn_c_try_link "$LINENO"; then :
 
14334
rm -f conftest.$ac_objext conftest$ac_exeext
 
14335
if { (ac_try="$ac_link"
 
14336
case "(($ac_try" in
 
14337
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14338
  *) ac_try_echo=$ac_try;;
 
14339
esac
 
14340
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14341
$as_echo "$ac_try_echo") >&5
 
14342
  (eval "$ac_link") 2>conftest.er1
 
14343
  ac_status=$?
 
14344
  grep -v '^ *+' conftest.er1 >conftest.err
 
14345
  rm -f conftest.er1
 
14346
  cat conftest.err >&5
 
14347
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14348
  (exit $ac_status); } && {
 
14349
         test -z "$ac_c_werror_flag" ||
 
14350
         test ! -s conftest.err
 
14351
       } && test -s conftest$ac_exeext && {
 
14352
         test "$cross_compiling" = yes ||
 
14353
         $as_test_x conftest$ac_exeext
 
14354
       }; then
12566
14355
  ac_cv_lib_svld_dlopen=yes
12567
14356
else
12568
 
  ac_cv_lib_svld_dlopen=no
 
14357
  $as_echo "$as_me: failed program was:" >&5
 
14358
sed 's/^/| /' conftest.$ac_ext >&5
 
14359
 
 
14360
        ac_cv_lib_svld_dlopen=no
12569
14361
fi
12570
 
rm -f core conftest.err conftest.$ac_objext \
12571
 
    conftest$ac_exeext conftest.$ac_ext
 
14362
 
 
14363
rm -rf conftest.dSYM
 
14364
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14365
      conftest$ac_exeext conftest.$ac_ext
12572
14366
LIBS=$ac_check_lib_save_LIBS
12573
14367
fi
12574
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
14368
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12575
14369
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12576
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
14370
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
12577
14371
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12578
14372
else
12579
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
14373
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12580
14374
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12581
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
14375
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12582
14376
  $as_echo_n "(cached) " >&6
12583
14377
else
12584
14378
  ac_check_lib_save_LIBS=$LIBS
12585
14379
LIBS="-ldld  $LIBS"
12586
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14380
cat >conftest.$ac_ext <<_ACEOF
 
14381
/* confdefs.h.  */
 
14382
_ACEOF
 
14383
cat confdefs.h >>conftest.$ac_ext
 
14384
cat >>conftest.$ac_ext <<_ACEOF
12587
14385
/* end confdefs.h.  */
12588
14386
 
12589
14387
/* Override any GCC internal prototype to avoid an error.
12601
14399
  return 0;
12602
14400
}
12603
14401
_ACEOF
12604
 
if ac_fn_c_try_link "$LINENO"; then :
 
14402
rm -f conftest.$ac_objext conftest$ac_exeext
 
14403
if { (ac_try="$ac_link"
 
14404
case "(($ac_try" in
 
14405
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14406
  *) ac_try_echo=$ac_try;;
 
14407
esac
 
14408
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14409
$as_echo "$ac_try_echo") >&5
 
14410
  (eval "$ac_link") 2>conftest.er1
 
14411
  ac_status=$?
 
14412
  grep -v '^ *+' conftest.er1 >conftest.err
 
14413
  rm -f conftest.er1
 
14414
  cat conftest.err >&5
 
14415
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14416
  (exit $ac_status); } && {
 
14417
         test -z "$ac_c_werror_flag" ||
 
14418
         test ! -s conftest.err
 
14419
       } && test -s conftest$ac_exeext && {
 
14420
         test "$cross_compiling" = yes ||
 
14421
         $as_test_x conftest$ac_exeext
 
14422
       }; then
12605
14423
  ac_cv_lib_dld_dld_link=yes
12606
14424
else
12607
 
  ac_cv_lib_dld_dld_link=no
 
14425
  $as_echo "$as_me: failed program was:" >&5
 
14426
sed 's/^/| /' conftest.$ac_ext >&5
 
14427
 
 
14428
        ac_cv_lib_dld_dld_link=no
12608
14429
fi
12609
 
rm -f core conftest.err conftest.$ac_objext \
12610
 
    conftest$ac_exeext conftest.$ac_ext
 
14430
 
 
14431
rm -rf conftest.dSYM
 
14432
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14433
      conftest$ac_exeext conftest.$ac_ext
12611
14434
LIBS=$ac_check_lib_save_LIBS
12612
14435
fi
12613
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
14436
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12614
14437
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12615
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
14438
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
12616
14439
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12617
14440
fi
12618
14441
 
12651
14474
    save_LIBS="$LIBS"
12652
14475
    LIBS="$lt_cv_dlopen_libs $LIBS"
12653
14476
 
12654
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
14477
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12655
14478
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12656
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
14479
if test "${lt_cv_dlopen_self+set}" = set; then
12657
14480
  $as_echo_n "(cached) " >&6
12658
14481
else
12659
14482
          if test "$cross_compiling" = yes; then :
12662
14485
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12663
14486
  lt_status=$lt_dlunknown
12664
14487
  cat > conftest.$ac_ext <<_LT_EOF
12665
 
#line 12665 "configure"
 
14488
#line 14488 "configure"
12666
14489
#include "confdefs.h"
12667
14490
 
12668
14491
#if HAVE_DLFCN_H
12721
14544
  return status;
12722
14545
}
12723
14546
_LT_EOF
12724
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
14547
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12725
14548
  (eval $ac_link) 2>&5
12726
14549
  ac_status=$?
12727
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12728
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
14550
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14551
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12729
14552
    (./conftest; exit; ) >&5 2>/dev/null
12730
14553
    lt_status=$?
12731
14554
    case x$lt_status in
12742
14565
 
12743
14566
 
12744
14567
fi
12745
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
14568
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12746
14569
$as_echo "$lt_cv_dlopen_self" >&6; }
12747
14570
 
12748
14571
    if test "x$lt_cv_dlopen_self" = xyes; then
12749
14572
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12750
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
14573
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12751
14574
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12752
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
14575
if test "${lt_cv_dlopen_self_static+set}" = set; then
12753
14576
  $as_echo_n "(cached) " >&6
12754
14577
else
12755
14578
          if test "$cross_compiling" = yes; then :
12758
14581
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12759
14582
  lt_status=$lt_dlunknown
12760
14583
  cat > conftest.$ac_ext <<_LT_EOF
12761
 
#line 12761 "configure"
 
14584
#line 14584 "configure"
12762
14585
#include "confdefs.h"
12763
14586
 
12764
14587
#if HAVE_DLFCN_H
12817
14640
  return status;
12818
14641
}
12819
14642
_LT_EOF
12820
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
14643
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12821
14644
  (eval $ac_link) 2>&5
12822
14645
  ac_status=$?
12823
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12824
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
14646
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14647
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12825
14648
    (./conftest; exit; ) >&5 2>/dev/null
12826
14649
    lt_status=$?
12827
14650
    case x$lt_status in
12838
14661
 
12839
14662
 
12840
14663
fi
12841
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
14664
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12842
14665
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12843
14666
    fi
12844
14667
 
12877
14700
 
12878
14701
striplib=
12879
14702
old_striplib=
12880
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
14703
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12881
14704
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12882
14705
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12883
14706
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12884
14707
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12885
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14708
  { $as_echo "$as_me:$LINENO: result: yes" >&5
12886
14709
$as_echo "yes" >&6; }
12887
14710
else
12888
14711
# FIXME - insert some real tests, host_os isn't really good enough
12891
14714
    if test -n "$STRIP" ; then
12892
14715
      striplib="$STRIP -x"
12893
14716
      old_striplib="$STRIP -S"
12894
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14717
      { $as_echo "$as_me:$LINENO: result: yes" >&5
12895
14718
$as_echo "yes" >&6; }
12896
14719
    else
12897
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14720
      { $as_echo "$as_me:$LINENO: result: no" >&5
12898
14721
$as_echo "no" >&6; }
12899
14722
    fi
12900
14723
    ;;
12901
14724
  *)
12902
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14725
    { $as_echo "$as_me:$LINENO: result: no" >&5
12903
14726
$as_echo "no" >&6; }
12904
14727
    ;;
12905
14728
  esac
12917
14740
 
12918
14741
 
12919
14742
  # Report which library types will actually be built
12920
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
14743
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12921
14744
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12922
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
14745
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
12923
14746
$as_echo "$can_build_shared" >&6; }
12924
14747
 
12925
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
14748
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12926
14749
$as_echo_n "checking whether to build shared libraries... " >&6; }
12927
14750
  test "$can_build_shared" = "no" && enable_shared=no
12928
14751
 
12943
14766
    fi
12944
14767
    ;;
12945
14768
  esac
12946
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
14769
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
12947
14770
$as_echo "$enable_shared" >&6; }
12948
14771
 
12949
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
14772
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12950
14773
$as_echo_n "checking whether to build static libraries... " >&6; }
12951
14774
  # Make sure either enable_shared or enable_static is yes.
12952
14775
  test "$enable_shared" = yes || enable_static=yes
12953
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
14776
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
12954
14777
$as_echo "$enable_static" >&6; }
12955
14778
 
12956
14779
 
13091
14914
 
13092
14915
 
13093
14916
# Check whether --with-gnu-ld was given.
13094
 
if test "${with_gnu_ld+set}" = set; then :
 
14917
if test "${with_gnu_ld+set}" = set; then
13095
14918
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13096
14919
else
13097
14920
  with_gnu_ld=no
13100
14923
ac_prog=ld
13101
14924
if test "$GCC" = yes; then
13102
14925
  # Check if gcc -print-prog-name=ld gives a path.
13103
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
14926
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13104
14927
$as_echo_n "checking for ld used by $CC... " >&6; }
13105
14928
  case $host in
13106
14929
  *-*-mingw*)
13130
14953
    ;;
13131
14954
  esac
13132
14955
elif test "$with_gnu_ld" = yes; then
13133
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
14956
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
13134
14957
$as_echo_n "checking for GNU ld... " >&6; }
13135
14958
else
13136
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
14959
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13137
14960
$as_echo_n "checking for non-GNU ld... " >&6; }
13138
14961
fi
13139
 
if test "${lt_cv_path_LD+set}" = set; then :
 
14962
if test "${lt_cv_path_LD+set}" = set; then
13140
14963
  $as_echo_n "(cached) " >&6
13141
14964
else
13142
14965
  if test -z "$LD"; then
13167
14990
 
13168
14991
LD="$lt_cv_path_LD"
13169
14992
if test -n "$LD"; then
13170
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
14993
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
13171
14994
$as_echo "$LD" >&6; }
13172
14995
else
13173
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14996
  { $as_echo "$as_me:$LINENO: result: no" >&5
13174
14997
$as_echo "no" >&6; }
13175
14998
fi
13176
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
13177
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
14999
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
15000
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
15001
   { (exit 1); exit 1; }; }
 
15002
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13178
15003
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13179
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
15004
if test "${lt_cv_prog_gnu_ld+set}" = set; then
13180
15005
  $as_echo_n "(cached) " >&6
13181
15006
else
13182
15007
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
13189
15014
  ;;
13190
15015
esac
13191
15016
fi
13192
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
15017
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13193
15018
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
13194
15019
with_gnu_ld=$lt_cv_prog_gnu_ld
13195
15020
 
13244
15069
    fi
13245
15070
 
13246
15071
    # PORTME: fill in a description of your system's C++ link characteristics
13247
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
15072
    { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13248
15073
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13249
15074
    ld_shlibs_CXX=yes
13250
15075
    case $host_os in
13345
15170
          allow_undefined_flag_CXX='-berok'
13346
15171
          # Determine the default libpath from the value encoded in an empty
13347
15172
          # executable.
13348
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15173
          cat >conftest.$ac_ext <<_ACEOF
 
15174
/* confdefs.h.  */
 
15175
_ACEOF
 
15176
cat confdefs.h >>conftest.$ac_ext
 
15177
cat >>conftest.$ac_ext <<_ACEOF
13349
15178
/* end confdefs.h.  */
13350
15179
 
13351
15180
int
13356
15185
  return 0;
13357
15186
}
13358
15187
_ACEOF
13359
 
if ac_fn_cxx_try_link "$LINENO"; then :
 
15188
rm -f conftest.$ac_objext conftest$ac_exeext
 
15189
if { (ac_try="$ac_link"
 
15190
case "(($ac_try" in
 
15191
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15192
  *) ac_try_echo=$ac_try;;
 
15193
esac
 
15194
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15195
$as_echo "$ac_try_echo") >&5
 
15196
  (eval "$ac_link") 2>conftest.er1
 
15197
  ac_status=$?
 
15198
  grep -v '^ *+' conftest.er1 >conftest.err
 
15199
  rm -f conftest.er1
 
15200
  cat conftest.err >&5
 
15201
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15202
  (exit $ac_status); } && {
 
15203
         test -z "$ac_cxx_werror_flag" ||
 
15204
         test ! -s conftest.err
 
15205
       } && test -s conftest$ac_exeext && {
 
15206
         test "$cross_compiling" = yes ||
 
15207
         $as_test_x conftest$ac_exeext
 
15208
       }; then
13360
15209
 
13361
15210
lt_aix_libpath_sed='
13362
15211
    /Import File Strings/,/^$/ {
13370
15219
if test -z "$aix_libpath"; then
13371
15220
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13372
15221
fi
 
15222
else
 
15223
  $as_echo "$as_me: failed program was:" >&5
 
15224
sed 's/^/| /' conftest.$ac_ext >&5
 
15225
 
 
15226
 
13373
15227
fi
13374
 
rm -f core conftest.err conftest.$ac_objext \
13375
 
    conftest$ac_exeext conftest.$ac_ext
 
15228
 
 
15229
rm -rf conftest.dSYM
 
15230
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
15231
      conftest$ac_exeext conftest.$ac_ext
13376
15232
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13377
15233
 
13378
15234
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13386
15242
          else
13387
15243
            # Determine the default libpath from the value encoded in an
13388
15244
            # empty executable.
13389
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15245
            cat >conftest.$ac_ext <<_ACEOF
 
15246
/* confdefs.h.  */
 
15247
_ACEOF
 
15248
cat confdefs.h >>conftest.$ac_ext
 
15249
cat >>conftest.$ac_ext <<_ACEOF
13390
15250
/* end confdefs.h.  */
13391
15251
 
13392
15252
int
13397
15257
  return 0;
13398
15258
}
13399
15259
_ACEOF
13400
 
if ac_fn_cxx_try_link "$LINENO"; then :
 
15260
rm -f conftest.$ac_objext conftest$ac_exeext
 
15261
if { (ac_try="$ac_link"
 
15262
case "(($ac_try" in
 
15263
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15264
  *) ac_try_echo=$ac_try;;
 
15265
esac
 
15266
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15267
$as_echo "$ac_try_echo") >&5
 
15268
  (eval "$ac_link") 2>conftest.er1
 
15269
  ac_status=$?
 
15270
  grep -v '^ *+' conftest.er1 >conftest.err
 
15271
  rm -f conftest.er1
 
15272
  cat conftest.err >&5
 
15273
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15274
  (exit $ac_status); } && {
 
15275
         test -z "$ac_cxx_werror_flag" ||
 
15276
         test ! -s conftest.err
 
15277
       } && test -s conftest$ac_exeext && {
 
15278
         test "$cross_compiling" = yes ||
 
15279
         $as_test_x conftest$ac_exeext
 
15280
       }; then
13401
15281
 
13402
15282
lt_aix_libpath_sed='
13403
15283
    /Import File Strings/,/^$/ {
13411
15291
if test -z "$aix_libpath"; then
13412
15292
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13413
15293
fi
 
15294
else
 
15295
  $as_echo "$as_me: failed program was:" >&5
 
15296
sed 's/^/| /' conftest.$ac_ext >&5
 
15297
 
 
15298
 
13414
15299
fi
13415
 
rm -f core conftest.err conftest.$ac_objext \
13416
 
    conftest$ac_exeext conftest.$ac_ext
 
15300
 
 
15301
rm -rf conftest.dSYM
 
15302
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
15303
      conftest$ac_exeext conftest.$ac_ext
13417
15304
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13418
15305
 
13419
15306
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14157
16044
        ;;
14158
16045
    esac
14159
16046
 
14160
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
16047
    { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14161
16048
$as_echo "$ld_shlibs_CXX" >&6; }
14162
16049
    test "$ld_shlibs_CXX" = no && can_build_shared=no
14163
16050
 
14185
16072
};
14186
16073
_LT_EOF
14187
16074
 
14188
 
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
16075
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14189
16076
  (eval $ac_compile) 2>&5
14190
16077
  ac_status=$?
14191
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14192
 
  test $ac_status = 0; }; then
 
16078
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16079
  (exit $ac_status); }; then
14193
16080
  # Parse the compiler output and extract the necessary
14194
16081
  # objects, libraries and library flags.
14195
16082
 
14370
16257
lt_prog_compiler_pic_CXX=
14371
16258
lt_prog_compiler_static_CXX=
14372
16259
 
14373
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
16260
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14374
16261
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14375
16262
 
14376
16263
  # C++ specific cases for pic, static, wl, etc.
14590
16477
            ;;
14591
16478
        esac
14592
16479
        ;;
14593
 
      netbsd* | netbsdelf*-gnu)
 
16480
      netbsd*)
14594
16481
        ;;
14595
16482
      *qnx* | *nto*)
14596
16483
        # QNX uses GNU C++, but need to define -shared option too, otherwise
14687
16574
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14688
16575
    ;;
14689
16576
esac
14690
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
 
16577
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14691
16578
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14692
16579
 
14693
16580
 
14696
16583
# Check to make sure the PIC flag actually works.
14697
16584
#
14698
16585
if test -n "$lt_prog_compiler_pic_CXX"; then
14699
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
16586
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14700
16587
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14701
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
 
16588
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
14702
16589
  $as_echo_n "(cached) " >&6
14703
16590
else
14704
16591
  lt_cv_prog_compiler_pic_works_CXX=no
14714
16601
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14715
16602
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14716
16603
   -e 's:$: $lt_compiler_flag:'`
14717
 
   (eval echo "\"\$as_me:14717: $lt_compile\"" >&5)
 
16604
   (eval echo "\"\$as_me:16604: $lt_compile\"" >&5)
14718
16605
   (eval "$lt_compile" 2>conftest.err)
14719
16606
   ac_status=$?
14720
16607
   cat conftest.err >&5
14721
 
   echo "$as_me:14721: \$? = $ac_status" >&5
 
16608
   echo "$as_me:16608: \$? = $ac_status" >&5
14722
16609
   if (exit $ac_status) && test -s "$ac_outfile"; then
14723
16610
     # The compiler can only warn and ignore the option if not recognized
14724
16611
     # So say no if there are warnings other than the usual output.
14731
16618
   $RM conftest*
14732
16619
 
14733
16620
fi
14734
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
16621
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14735
16622
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14736
16623
 
14737
16624
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14752
16639
# Check to make sure the static flag actually works.
14753
16640
#
14754
16641
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14755
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
16642
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14756
16643
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14757
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
 
16644
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
14758
16645
  $as_echo_n "(cached) " >&6
14759
16646
else
14760
16647
  lt_cv_prog_compiler_static_works_CXX=no
14780
16667
   LDFLAGS="$save_LDFLAGS"
14781
16668
 
14782
16669
fi
14783
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
16670
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14784
16671
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14785
16672
 
14786
16673
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14792
16679
 
14793
16680
 
14794
16681
 
14795
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
16682
    { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14796
16683
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14797
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
16684
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14798
16685
  $as_echo_n "(cached) " >&6
14799
16686
else
14800
16687
  lt_cv_prog_compiler_c_o_CXX=no
14813
16700
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14814
16701
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14815
16702
   -e 's:$: $lt_compiler_flag:'`
14816
 
   (eval echo "\"\$as_me:14816: $lt_compile\"" >&5)
 
16703
   (eval echo "\"\$as_me:16703: $lt_compile\"" >&5)
14817
16704
   (eval "$lt_compile" 2>out/conftest.err)
14818
16705
   ac_status=$?
14819
16706
   cat out/conftest.err >&5
14820
 
   echo "$as_me:14820: \$? = $ac_status" >&5
 
16707
   echo "$as_me:16707: \$? = $ac_status" >&5
14821
16708
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14822
16709
   then
14823
16710
     # The compiler can only warn and ignore the option if not recognized
14839
16726
   $RM conftest*
14840
16727
 
14841
16728
fi
14842
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
16729
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14843
16730
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14844
16731
 
14845
16732
 
14846
16733
 
14847
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
16734
    { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14848
16735
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14849
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
16736
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14850
16737
  $as_echo_n "(cached) " >&6
14851
16738
else
14852
16739
  lt_cv_prog_compiler_c_o_CXX=no
14865
16752
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14866
16753
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14867
16754
   -e 's:$: $lt_compiler_flag:'`
14868
 
   (eval echo "\"\$as_me:14868: $lt_compile\"" >&5)
 
16755
   (eval echo "\"\$as_me:16755: $lt_compile\"" >&5)
14869
16756
   (eval "$lt_compile" 2>out/conftest.err)
14870
16757
   ac_status=$?
14871
16758
   cat out/conftest.err >&5
14872
 
   echo "$as_me:14872: \$? = $ac_status" >&5
 
16759
   echo "$as_me:16759: \$? = $ac_status" >&5
14873
16760
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14874
16761
   then
14875
16762
     # The compiler can only warn and ignore the option if not recognized
14891
16778
   $RM conftest*
14892
16779
 
14893
16780
fi
14894
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
16781
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14895
16782
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14896
16783
 
14897
16784
 
14900
16787
hard_links="nottested"
14901
16788
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14902
16789
  # do not overwrite the value of need_locks provided by the user
14903
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
16790
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14904
16791
$as_echo_n "checking if we can lock with hard links... " >&6; }
14905
16792
  hard_links=yes
14906
16793
  $RM conftest*
14908
16795
  touch conftest.a
14909
16796
  ln conftest.a conftest.b 2>&5 || hard_links=no
14910
16797
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14911
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
16798
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
14912
16799
$as_echo "$hard_links" >&6; }
14913
16800
  if test "$hard_links" = no; then
14914
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
16801
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14915
16802
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14916
16803
    need_locks=warn
14917
16804
  fi
14921
16808
 
14922
16809
 
14923
16810
 
14924
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
16811
    { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14925
16812
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14926
16813
 
14927
16814
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14941
16828
  cygwin* | mingw* | cegcc*)
14942
16829
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14943
16830
  ;;
14944
 
  linux* | k*bsd*-gnu)
14945
 
    link_all_deplibs_CXX=no
14946
 
  ;;
14947
16831
  *)
14948
16832
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14949
16833
  ;;
14950
16834
  esac
14951
16835
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14952
16836
 
14953
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
16837
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14954
16838
$as_echo "$ld_shlibs_CXX" >&6; }
14955
16839
test "$ld_shlibs_CXX" = no && can_build_shared=no
14956
16840
 
14978
16862
      # Test whether the compiler implicitly links with -lc since on some
14979
16863
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14980
16864
      # to ld, don't add -lc before -lgcc.
14981
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
16865
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14982
16866
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14983
16867
      $RM conftest*
14984
16868
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14985
16869
 
14986
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
16870
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14987
16871
  (eval $ac_compile) 2>&5
14988
16872
  ac_status=$?
14989
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14990
 
  test $ac_status = 0; } 2>conftest.err; then
 
16873
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16874
  (exit $ac_status); } 2>conftest.err; then
14991
16875
        soname=conftest
14992
16876
        lib=conftest
14993
16877
        libobjs=conftest.$ac_objext
15001
16885
        libname=conftest
15002
16886
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15003
16887
        allow_undefined_flag_CXX=
15004
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
16888
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
15005
16889
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15006
16890
  ac_status=$?
15007
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15008
 
  test $ac_status = 0; }
 
16891
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16892
  (exit $ac_status); }
15009
16893
        then
15010
16894
          archive_cmds_need_lc_CXX=no
15011
16895
        else
15016
16900
        cat conftest.err 1>&5
15017
16901
      fi
15018
16902
      $RM conftest*
15019
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
 
16903
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
15020
16904
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
15021
16905
      ;;
15022
16906
    esac
15087
16971
 
15088
16972
 
15089
16973
 
15090
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
16974
    { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15091
16975
$as_echo_n "checking dynamic linker characteristics... " >&6; }
15092
16976
 
15093
16977
library_names_spec=
15457
17341
  save_libdir=$libdir
15458
17342
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15459
17343
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15460
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17344
  cat >conftest.$ac_ext <<_ACEOF
 
17345
/* confdefs.h.  */
 
17346
_ACEOF
 
17347
cat confdefs.h >>conftest.$ac_ext
 
17348
cat >>conftest.$ac_ext <<_ACEOF
15461
17349
/* end confdefs.h.  */
15462
17350
 
15463
17351
int
15468
17356
  return 0;
15469
17357
}
15470
17358
_ACEOF
15471
 
if ac_fn_cxx_try_link "$LINENO"; then :
15472
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
17359
rm -f conftest.$ac_objext conftest$ac_exeext
 
17360
if { (ac_try="$ac_link"
 
17361
case "(($ac_try" in
 
17362
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17363
  *) ac_try_echo=$ac_try;;
 
17364
esac
 
17365
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17366
$as_echo "$ac_try_echo") >&5
 
17367
  (eval "$ac_link") 2>conftest.er1
 
17368
  ac_status=$?
 
17369
  grep -v '^ *+' conftest.er1 >conftest.err
 
17370
  rm -f conftest.er1
 
17371
  cat conftest.err >&5
 
17372
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17373
  (exit $ac_status); } && {
 
17374
         test -z "$ac_cxx_werror_flag" ||
 
17375
         test ! -s conftest.err
 
17376
       } && test -s conftest$ac_exeext && {
 
17377
         test "$cross_compiling" = yes ||
 
17378
         $as_test_x conftest$ac_exeext
 
17379
       }; then
 
17380
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
15473
17381
  shlibpath_overrides_runpath=yes
15474
17382
fi
 
17383
 
 
17384
else
 
17385
  $as_echo "$as_me: failed program was:" >&5
 
17386
sed 's/^/| /' conftest.$ac_ext >&5
 
17387
 
 
17388
 
15475
17389
fi
15476
 
rm -f core conftest.err conftest.$ac_objext \
15477
 
    conftest$ac_exeext conftest.$ac_ext
 
17390
 
 
17391
rm -rf conftest.dSYM
 
17392
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
17393
      conftest$ac_exeext conftest.$ac_ext
15478
17394
  LDFLAGS=$save_LDFLAGS
15479
17395
  libdir=$save_libdir
15480
17396
 
15483
17399
  # before this can be enabled.
15484
17400
  hardcode_into_libs=yes
15485
17401
 
 
17402
  # Add ABI-specific directories to the system library path.
 
17403
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
17404
 
15486
17405
  # Append ld.so.conf contents to the search path
15487
17406
  if test -f /etc/ld.so.conf; then
15488
17407
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15489
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
17408
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
15490
17409
  fi
15491
17410
 
15492
17411
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15498
17417
  dynamic_linker='GNU/Linux ld.so'
15499
17418
  ;;
15500
17419
 
15501
 
netbsdelf*-gnu)
15502
 
  version_type=linux
15503
 
  need_lib_prefix=no
15504
 
  need_version=no
15505
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15506
 
  soname_spec='${libname}${release}${shared_ext}$major'
15507
 
  shlibpath_var=LD_LIBRARY_PATH
15508
 
  shlibpath_overrides_runpath=no
15509
 
  hardcode_into_libs=yes
15510
 
  dynamic_linker='NetBSD ld.elf_so'
15511
 
  ;;
15512
 
 
15513
17420
netbsd*)
15514
17421
  version_type=sunos
15515
17422
  need_lib_prefix=no
15698
17605
  dynamic_linker=no
15699
17606
  ;;
15700
17607
esac
15701
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
17608
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15702
17609
$as_echo "$dynamic_linker" >&6; }
15703
17610
test "$dynamic_linker" = no && can_build_shared=no
15704
17611
 
15749
17656
 
15750
17657
 
15751
17658
 
15752
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
17659
    { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15753
17660
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15754
17661
hardcode_action_CXX=
15755
17662
if test -n "$hardcode_libdir_flag_spec_CXX" ||
15774
17681
  # directories.
15775
17682
  hardcode_action_CXX=unsupported
15776
17683
fi
15777
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
 
17684
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15778
17685
$as_echo "$hardcode_action_CXX" >&6; }
15779
17686
 
15780
17687
if test "$hardcode_action_CXX" = relink ||
15838
17745
ac_save_ldflags=$LDFLAGS
15839
17746
 
15840
17747
# Check whether --with-sdl-prefix was given.
15841
 
if test "${with_sdl_prefix+set}" = set; then :
 
17748
if test "${with_sdl_prefix+set}" = set; then
15842
17749
  withval=$with_sdl_prefix; sdl_prefix="$withval"
15843
17750
else
15844
17751
  sdl_prefix=""
15846
17753
 
15847
17754
 
15848
17755
# Check whether --with-sdl-exec-prefix was given.
15849
 
if test "${with_sdl_exec_prefix+set}" = set; then :
 
17756
if test "${with_sdl_exec_prefix+set}" = set; then
15850
17757
  withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
15851
17758
else
15852
17759
  sdl_exec_prefix=""
15853
17760
fi
15854
17761
 
15855
17762
# Check whether --enable-sdltest was given.
15856
 
if test "${enable_sdltest+set}" = set; then :
 
17763
if test "${enable_sdltest+set}" = set; then
15857
17764
  enableval=$enable_sdltest;
15858
17765
else
15859
17766
  enable_sdltest=yes
15878
17785
  fi
15879
17786
  # Extract the first word of "sdl-config", so it can be a program name with args.
15880
17787
set dummy sdl-config; ac_word=$2
15881
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
17788
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15882
17789
$as_echo_n "checking for $ac_word... " >&6; }
15883
 
if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
 
17790
if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
15884
17791
  $as_echo_n "(cached) " >&6
15885
17792
else
15886
17793
  case $SDL_CONFIG in
15893
17800
do
15894
17801
  IFS=$as_save_IFS
15895
17802
  test -z "$as_dir" && as_dir=.
15896
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
17803
  for ac_exec_ext in '' $ac_executable_extensions; do
15897
17804
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15898
17805
    ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15899
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17806
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15900
17807
    break 2
15901
17808
  fi
15902
17809
done
15903
 
  done
 
17810
done
15904
17811
IFS=$as_save_IFS
15905
17812
 
15906
17813
  test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
15909
17816
fi
15910
17817
SDL_CONFIG=$ac_cv_path_SDL_CONFIG
15911
17818
if test -n "$SDL_CONFIG"; then
15912
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
 
17819
  { $as_echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
15913
17820
$as_echo "$SDL_CONFIG" >&6; }
15914
17821
else
15915
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17822
  { $as_echo "$as_me:$LINENO: result: no" >&5
15916
17823
$as_echo "no" >&6; }
15917
17824
fi
15918
17825
 
15919
17826
 
15920
17827
  min_sdl_version=$SDL_VERSION
15921
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
 
17828
  { $as_echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
15922
17829
$as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
15923
17830
  no_sdl=""
15924
17831
  if test "$SDL_CONFIG" = "no" ; then
15941
17848
      CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
15942
17849
      LIBS="$LIBS $SDL_LIBS"
15943
17850
      rm -f conf.sdltest
15944
 
      if test "$cross_compiling" = yes; then :
 
17851
      if test "$cross_compiling" = yes; then
15945
17852
  echo $ac_n "cross compiling; assumed OK... $ac_c"
15946
17853
else
15947
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17854
  cat >conftest.$ac_ext <<_ACEOF
 
17855
/* confdefs.h.  */
 
17856
_ACEOF
 
17857
cat confdefs.h >>conftest.$ac_ext
 
17858
cat >>conftest.$ac_ext <<_ACEOF
15948
17859
/* end confdefs.h.  */
15949
17860
 
15950
17861
#include <stdio.h>
16005
17916
 
16006
17917
 
16007
17918
_ACEOF
16008
 
if ac_fn_c_try_run "$LINENO"; then :
16009
 
 
 
17919
rm -f conftest$ac_exeext
 
17920
if { (ac_try="$ac_link"
 
17921
case "(($ac_try" in
 
17922
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17923
  *) ac_try_echo=$ac_try;;
 
17924
esac
 
17925
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17926
$as_echo "$ac_try_echo") >&5
 
17927
  (eval "$ac_link") 2>&5
 
17928
  ac_status=$?
 
17929
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17930
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
17931
  { (case "(($ac_try" in
 
17932
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17933
  *) ac_try_echo=$ac_try;;
 
17934
esac
 
17935
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17936
$as_echo "$ac_try_echo") >&5
 
17937
  (eval "$ac_try") 2>&5
 
17938
  ac_status=$?
 
17939
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17940
  (exit $ac_status); }; }; then
 
17941
  :
16010
17942
else
16011
 
  no_sdl=yes
16012
 
fi
16013
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16014
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
16015
 
fi
 
17943
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
17944
$as_echo "$as_me: failed program was:" >&5
 
17945
sed 's/^/| /' conftest.$ac_ext >&5
 
17946
 
 
17947
( exit $ac_status )
 
17948
no_sdl=yes
 
17949
fi
 
17950
rm -rf conftest.dSYM
 
17951
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
17952
fi
 
17953
 
16016
17954
 
16017
17955
       CFLAGS="$ac_save_CFLAGS"
16018
17956
       CXXFLAGS="$ac_save_CXXFLAGS"
16020
17958
     fi
16021
17959
  fi
16022
17960
  if test "x$no_sdl" = x ; then
16023
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17961
     { $as_echo "$as_me:$LINENO: result: yes" >&5
16024
17962
$as_echo "yes" >&6; }
16025
17963
     :
16026
17964
  else
16027
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17965
     { $as_echo "$as_me:$LINENO: result: no" >&5
16028
17966
$as_echo "no" >&6; }
16029
17967
     if test "$SDL_CONFIG" = "no" ; then
16030
17968
       echo "*** The sdl-config script installed by SDL could not be found"
16039
17977
          CFLAGS="$CFLAGS $SDL_CFLAGS"
16040
17978
          CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
16041
17979
          LIBS="$LIBS $SDL_LIBS"
16042
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17980
          cat >conftest.$ac_ext <<_ACEOF
 
17981
/* confdefs.h.  */
 
17982
_ACEOF
 
17983
cat confdefs.h >>conftest.$ac_ext
 
17984
cat >>conftest.$ac_ext <<_ACEOF
16043
17985
/* end confdefs.h.  */
16044
17986
 
16045
17987
#include <stdio.h>
16058
18000
  return 0;
16059
18001
}
16060
18002
_ACEOF
16061
 
if ac_fn_c_try_link "$LINENO"; then :
 
18003
rm -f conftest.$ac_objext conftest$ac_exeext
 
18004
if { (ac_try="$ac_link"
 
18005
case "(($ac_try" in
 
18006
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18007
  *) ac_try_echo=$ac_try;;
 
18008
esac
 
18009
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18010
$as_echo "$ac_try_echo") >&5
 
18011
  (eval "$ac_link") 2>conftest.er1
 
18012
  ac_status=$?
 
18013
  grep -v '^ *+' conftest.er1 >conftest.err
 
18014
  rm -f conftest.er1
 
18015
  cat conftest.err >&5
 
18016
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18017
  (exit $ac_status); } && {
 
18018
         test -z "$ac_c_werror_flag" ||
 
18019
         test ! -s conftest.err
 
18020
       } && test -s conftest$ac_exeext && {
 
18021
         test "$cross_compiling" = yes ||
 
18022
         $as_test_x conftest$ac_exeext
 
18023
       }; then
16062
18024
   echo "*** The test program compiled, but did not run. This usually means"
16063
18025
          echo "*** that the run-time linker is not finding SDL or finding the wrong"
16064
18026
          echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
16069
18031
          echo "*** If you have an old version installed, it is best to remove it, although"
16070
18032
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
16071
18033
else
16072
 
   echo "*** The test program failed to compile or link. See the file config.log for the"
 
18034
  $as_echo "$as_me: failed program was:" >&5
 
18035
sed 's/^/| /' conftest.$ac_ext >&5
 
18036
 
 
18037
         echo "*** The test program failed to compile or link. See the file config.log for the"
16073
18038
          echo "*** exact error that occured. This usually means SDL was incorrectly installed"
16074
18039
          echo "*** or that you have moved SDL since it was installed. In the latter case, you"
16075
18040
          echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
16076
18041
fi
16077
 
rm -f core conftest.err conftest.$ac_objext \
16078
 
    conftest$ac_exeext conftest.$ac_ext
 
18042
 
 
18043
rm -rf conftest.dSYM
 
18044
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
18045
      conftest$ac_exeext conftest.$ac_ext
16079
18046
          CFLAGS="$ac_save_CFLAGS"
16080
18047
          CXXFLAGS="$ac_save_CXXFLAGS"
16081
18048
          LIBS="$ac_save_LIBS"
16083
18050
     fi
16084
18051
     SDL_CFLAGS=""
16085
18052
     SDL_LIBS=""
16086
 
     as_fn_error "*** SDL version $SDL_VERSION not found!" "$LINENO" 5
 
18053
     { { $as_echo "$as_me:$LINENO: error: *** SDL version $SDL_VERSION not found!" >&5
 
18054
$as_echo "$as_me: error: *** SDL version $SDL_VERSION not found!" >&2;}
 
18055
   { (exit 1); exit 1; }; }
16087
18056
 
16088
18057
  fi
16089
18058
 
16100
18069
 
16101
18070
use_sound=1
16102
18071
# Check whether --enable-sound was given.
16103
 
if test "${enable_sound+set}" = set; then :
 
18072
if test "${enable_sound+set}" = set; then
16104
18073
  enableval=$enable_sound; use_sound="$enableval"
16105
18074
else
16106
18075
  use_sound="yes"
16116
18085
 
16117
18086
            if test $CC = "gcc" || test $CXX = "g++"; then
16118
18087
 
16119
 
       if test "$cross_compiling" = yes; then :
16120
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
18088
       if test "$cross_compiling" = yes; then
 
18089
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16121
18090
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16122
 
as_fn_error "cannot run test program while cross compiling
16123
 
See \`config.log' for more details." "$LINENO" 5; }
 
18091
{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
 
18092
See \`config.log' for more details." >&5
 
18093
$as_echo "$as_me: error: cannot run test program while cross compiling
 
18094
See \`config.log' for more details." >&2;}
 
18095
   { (exit 1); exit 1; }; }; }
16124
18096
else
16125
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
18097
  cat >conftest.$ac_ext <<_ACEOF
 
18098
/* confdefs.h.  */
 
18099
_ACEOF
 
18100
cat confdefs.h >>conftest.$ac_ext
 
18101
cat >>conftest.$ac_ext <<_ACEOF
16126
18102
/* end confdefs.h.  */
16127
18103
 
16128
18104
       #include <SDL/SDL_mixer.h>
16136
18112
       }
16137
18113
 
16138
18114
_ACEOF
16139
 
if ac_fn_c_try_run "$LINENO"; then :
16140
 
 
 
18115
rm -f conftest$ac_exeext
 
18116
if { (ac_try="$ac_link"
 
18117
case "(($ac_try" in
 
18118
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18119
  *) ac_try_echo=$ac_try;;
 
18120
esac
 
18121
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18122
$as_echo "$ac_try_echo") >&5
 
18123
  (eval "$ac_link") 2>&5
 
18124
  ac_status=$?
 
18125
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18126
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
18127
  { (case "(($ac_try" in
 
18128
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18129
  *) ac_try_echo=$ac_try;;
 
18130
esac
 
18131
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18132
$as_echo "$ac_try_echo") >&5
 
18133
  (eval "$ac_try") 2>&5
 
18134
  ac_status=$?
 
18135
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18136
  (exit $ac_status); }; }; then
 
18137
  :
16141
18138
else
16142
 
  as_fn_error "*** SDL_mixer is not installed or has not been compiled
16143
 
                         *** with ogg vorbis support" "$LINENO" 5
16144
 
fi
16145
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16146
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
16147
 
fi
16148
 
 
16149
 
 
16150
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: Test SDL_Mixer Run OK." >&5
 
18139
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
18140
$as_echo "$as_me: failed program was:" >&5
 
18141
sed 's/^/| /' conftest.$ac_ext >&5
 
18142
 
 
18143
( exit $ac_status )
 
18144
{ { $as_echo "$as_me:$LINENO: error: *** SDL_mixer is not installed or has not been compiled
 
18145
                         *** with ogg vorbis support" >&5
 
18146
$as_echo "$as_me: error: *** SDL_mixer is not installed or has not been compiled
 
18147
                         *** with ogg vorbis support" >&2;}
 
18148
   { (exit 1); exit 1; }; }
 
18149
fi
 
18150
rm -rf conftest.dSYM
 
18151
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
18152
fi
 
18153
 
 
18154
 
 
18155
 
 
18156
       { $as_echo "$as_me:$LINENO: result: Test SDL_Mixer Run OK." >&5
16151
18157
$as_echo "Test SDL_Mixer Run OK." >&6; }
16152
18158
 
16153
 
    else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Skipping SDL_Mixer Run. We are cross-compiling for windows!" >&5
 
18159
    else { $as_echo "$as_me:$LINENO: WARNING: Skipping SDL_Mixer Run. We are cross-compiling for windows!" >&5
16154
18160
$as_echo "$as_me: WARNING: Skipping SDL_Mixer Run. We are cross-compiling for windows!" >&2;}
16155
18161
    fi
16156
18162
 
16157
18163
 
16158
 
$as_echo "#define FL_SOUND 1" >>confdefs.h
 
18164
cat >>confdefs.h <<\_ACEOF
 
18165
#define FL_SOUND 1
 
18166
_ACEOF
16159
18167
 
16160
18168
 
16161
18169
    SDLSOUND_LIBS="-lSDL_mixer"
16170
18178
expat=0
16171
18179
 
16172
18180
# Check whether --with-expat was given.
16173
 
if test "${with_expat+set}" = set; then :
 
18181
if test "${with_expat+set}" = set; then
16174
18182
  withval=$with_expat;
16175
18183
                      expat=$withval
16176
18184
                      CPPFLAGS="$CPPFLAGS -I$withval/include"
16182
18190
 
16183
18191
#echo "EXPAT=$expat"
16184
18192
if test $expat = 0 ; then
16185
 
   for ac_header in expat.h
16186
 
do :
16187
 
  ac_fn_c_check_header_mongrel "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
16188
 
if test "x$ac_cv_header_expat_h" = x""yes; then :
 
18193
 
 
18194
for ac_header in expat.h
 
18195
do
 
18196
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
18197
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
18198
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
18199
$as_echo_n "checking for $ac_header... " >&6; }
 
18200
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
18201
  $as_echo_n "(cached) " >&6
 
18202
fi
 
18203
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
18204
                 $as_echo "$as_val"'`
 
18205
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
18206
$as_echo "$ac_res" >&6; }
 
18207
else
 
18208
  # Is the header compilable?
 
18209
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
18210
$as_echo_n "checking $ac_header usability... " >&6; }
 
18211
cat >conftest.$ac_ext <<_ACEOF
 
18212
/* confdefs.h.  */
 
18213
_ACEOF
 
18214
cat confdefs.h >>conftest.$ac_ext
 
18215
cat >>conftest.$ac_ext <<_ACEOF
 
18216
/* end confdefs.h.  */
 
18217
$ac_includes_default
 
18218
#include <$ac_header>
 
18219
_ACEOF
 
18220
rm -f conftest.$ac_objext
 
18221
if { (ac_try="$ac_compile"
 
18222
case "(($ac_try" in
 
18223
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18224
  *) ac_try_echo=$ac_try;;
 
18225
esac
 
18226
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18227
$as_echo "$ac_try_echo") >&5
 
18228
  (eval "$ac_compile") 2>conftest.er1
 
18229
  ac_status=$?
 
18230
  grep -v '^ *+' conftest.er1 >conftest.err
 
18231
  rm -f conftest.er1
 
18232
  cat conftest.err >&5
 
18233
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18234
  (exit $ac_status); } && {
 
18235
         test -z "$ac_c_werror_flag" ||
 
18236
         test ! -s conftest.err
 
18237
       } && test -s conftest.$ac_objext; then
 
18238
  ac_header_compiler=yes
 
18239
else
 
18240
  $as_echo "$as_me: failed program was:" >&5
 
18241
sed 's/^/| /' conftest.$ac_ext >&5
 
18242
 
 
18243
        ac_header_compiler=no
 
18244
fi
 
18245
 
 
18246
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
18247
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
18248
$as_echo "$ac_header_compiler" >&6; }
 
18249
 
 
18250
# Is the header present?
 
18251
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
18252
$as_echo_n "checking $ac_header presence... " >&6; }
 
18253
cat >conftest.$ac_ext <<_ACEOF
 
18254
/* confdefs.h.  */
 
18255
_ACEOF
 
18256
cat confdefs.h >>conftest.$ac_ext
 
18257
cat >>conftest.$ac_ext <<_ACEOF
 
18258
/* end confdefs.h.  */
 
18259
#include <$ac_header>
 
18260
_ACEOF
 
18261
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
18262
case "(($ac_try" in
 
18263
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18264
  *) ac_try_echo=$ac_try;;
 
18265
esac
 
18266
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18267
$as_echo "$ac_try_echo") >&5
 
18268
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
18269
  ac_status=$?
 
18270
  grep -v '^ *+' conftest.er1 >conftest.err
 
18271
  rm -f conftest.er1
 
18272
  cat conftest.err >&5
 
18273
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18274
  (exit $ac_status); } >/dev/null && {
 
18275
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
18276
         test ! -s conftest.err
 
18277
       }; then
 
18278
  ac_header_preproc=yes
 
18279
else
 
18280
  $as_echo "$as_me: failed program was:" >&5
 
18281
sed 's/^/| /' conftest.$ac_ext >&5
 
18282
 
 
18283
  ac_header_preproc=no
 
18284
fi
 
18285
 
 
18286
rm -f conftest.err conftest.$ac_ext
 
18287
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
18288
$as_echo "$ac_header_preproc" >&6; }
 
18289
 
 
18290
# So?  What about this header?
 
18291
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
18292
  yes:no: )
 
18293
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
18294
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
18295
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
18296
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
18297
    ac_header_preproc=yes
 
18298
    ;;
 
18299
  no:yes:* )
 
18300
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
18301
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
18302
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
18303
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
18304
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
18305
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
18306
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
18307
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
18308
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
18309
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
18310
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
18311
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
18312
    ( cat <<\_ASBOX
 
18313
## ------------------------------------------- ##
 
18314
## Report this to lordsawar-discuss@nongnu.org ##
 
18315
## ------------------------------------------- ##
 
18316
_ASBOX
 
18317
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
18318
    ;;
 
18319
esac
 
18320
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
18321
$as_echo_n "checking for $ac_header... " >&6; }
 
18322
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
18323
  $as_echo_n "(cached) " >&6
 
18324
else
 
18325
  eval "$as_ac_Header=\$ac_header_preproc"
 
18326
fi
 
18327
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
18328
                 $as_echo "$as_val"'`
 
18329
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
18330
$as_echo "$ac_res" >&6; }
 
18331
 
 
18332
fi
 
18333
as_val=`eval 'as_val=${'$as_ac_Header'}
 
18334
                 $as_echo "$as_val"'`
 
18335
   if test "x$as_val" = x""yes; then
16189
18336
  cat >>confdefs.h <<_ACEOF
16190
 
#define HAVE_EXPAT_H 1
 
18337
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16191
18338
_ACEOF
16192
18339
 
16193
18340
else
16194
 
  as_fn_error "*** Expat not found!" "$LINENO" 5
 
18341
  { { $as_echo "$as_me:$LINENO: error: *** Expat not found!" >&5
 
18342
$as_echo "$as_me: error: *** Expat not found!" >&2;}
 
18343
   { (exit 1); exit 1; }; }
16195
18344
fi
16196
18345
 
16197
18346
done
16198
18347
 
16199
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
 
18348
 
 
18349
{ $as_echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
16200
18350
$as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
16201
 
if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then :
 
18351
if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
16202
18352
  $as_echo_n "(cached) " >&6
16203
18353
else
16204
18354
  ac_check_lib_save_LIBS=$LIBS
16205
18355
LIBS="-lexpat  $LIBS"
16206
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
18356
cat >conftest.$ac_ext <<_ACEOF
 
18357
/* confdefs.h.  */
 
18358
_ACEOF
 
18359
cat confdefs.h >>conftest.$ac_ext
 
18360
cat >>conftest.$ac_ext <<_ACEOF
16207
18361
/* end confdefs.h.  */
16208
18362
 
16209
18363
/* Override any GCC internal prototype to avoid an error.
16221
18375
  return 0;
16222
18376
}
16223
18377
_ACEOF
16224
 
if ac_fn_c_try_link "$LINENO"; then :
 
18378
rm -f conftest.$ac_objext conftest$ac_exeext
 
18379
if { (ac_try="$ac_link"
 
18380
case "(($ac_try" in
 
18381
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18382
  *) ac_try_echo=$ac_try;;
 
18383
esac
 
18384
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18385
$as_echo "$ac_try_echo") >&5
 
18386
  (eval "$ac_link") 2>conftest.er1
 
18387
  ac_status=$?
 
18388
  grep -v '^ *+' conftest.er1 >conftest.err
 
18389
  rm -f conftest.er1
 
18390
  cat conftest.err >&5
 
18391
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18392
  (exit $ac_status); } && {
 
18393
         test -z "$ac_c_werror_flag" ||
 
18394
         test ! -s conftest.err
 
18395
       } && test -s conftest$ac_exeext && {
 
18396
         test "$cross_compiling" = yes ||
 
18397
         $as_test_x conftest$ac_exeext
 
18398
       }; then
16225
18399
  ac_cv_lib_expat_XML_ParserCreate=yes
16226
18400
else
16227
 
  ac_cv_lib_expat_XML_ParserCreate=no
 
18401
  $as_echo "$as_me: failed program was:" >&5
 
18402
sed 's/^/| /' conftest.$ac_ext >&5
 
18403
 
 
18404
        ac_cv_lib_expat_XML_ParserCreate=no
16228
18405
fi
16229
 
rm -f core conftest.err conftest.$ac_objext \
16230
 
    conftest$ac_exeext conftest.$ac_ext
 
18406
 
 
18407
rm -rf conftest.dSYM
 
18408
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
18409
      conftest$ac_exeext conftest.$ac_ext
16231
18410
LIBS=$ac_check_lib_save_LIBS
16232
18411
fi
16233
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
 
18412
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
16234
18413
$as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
16235
 
if test "x$ac_cv_lib_expat_XML_ParserCreate" = x""yes; then :
 
18414
if test "x$ac_cv_lib_expat_XML_ParserCreate" = x""yes; then
16236
18415
  cat >>confdefs.h <<_ACEOF
16237
18416
#define HAVE_LIBEXPAT 1
16238
18417
_ACEOF
16240
18419
  LIBS="-lexpat $LIBS"
16241
18420
 
16242
18421
else
16243
 
  as_fn_error "*** Expat not found!" "$LINENO" 5
 
18422
  { { $as_echo "$as_me:$LINENO: error: *** Expat not found!" >&5
 
18423
$as_echo "$as_me: error: *** Expat not found!" >&2;}
 
18424
   { (exit 1); exit 1; }; }
 
18425
fi
 
18426
 
 
18427
fi
 
18428
 
 
18429
libtar=0
 
18430
 
 
18431
# Check whether --with-libtar was given.
 
18432
if test "${with_libtar+set}" = set; then
 
18433
  withval=$with_libtar;
 
18434
                      libtar=$withval
 
18435
                      CPPFLAGS="$CPPFLAGS -I$withval/include"
 
18436
                      LDFLAGS="$LDFLAGS -L$withval/lib"
 
18437
                      LIBS="$LIBS -ltar"
 
18438
 
 
18439
 
 
18440
fi
 
18441
 
 
18442
if test $libtar = 0 ; then
 
18443
 
 
18444
for ac_header in libtar.h
 
18445
do
 
18446
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
18447
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
18448
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
18449
$as_echo_n "checking for $ac_header... " >&6; }
 
18450
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
18451
  $as_echo_n "(cached) " >&6
 
18452
fi
 
18453
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
18454
                 $as_echo "$as_val"'`
 
18455
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
18456
$as_echo "$ac_res" >&6; }
 
18457
else
 
18458
  # Is the header compilable?
 
18459
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
18460
$as_echo_n "checking $ac_header usability... " >&6; }
 
18461
cat >conftest.$ac_ext <<_ACEOF
 
18462
/* confdefs.h.  */
 
18463
_ACEOF
 
18464
cat confdefs.h >>conftest.$ac_ext
 
18465
cat >>conftest.$ac_ext <<_ACEOF
 
18466
/* end confdefs.h.  */
 
18467
$ac_includes_default
 
18468
#include <$ac_header>
 
18469
_ACEOF
 
18470
rm -f conftest.$ac_objext
 
18471
if { (ac_try="$ac_compile"
 
18472
case "(($ac_try" in
 
18473
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18474
  *) ac_try_echo=$ac_try;;
 
18475
esac
 
18476
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18477
$as_echo "$ac_try_echo") >&5
 
18478
  (eval "$ac_compile") 2>conftest.er1
 
18479
  ac_status=$?
 
18480
  grep -v '^ *+' conftest.er1 >conftest.err
 
18481
  rm -f conftest.er1
 
18482
  cat conftest.err >&5
 
18483
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18484
  (exit $ac_status); } && {
 
18485
         test -z "$ac_c_werror_flag" ||
 
18486
         test ! -s conftest.err
 
18487
       } && test -s conftest.$ac_objext; then
 
18488
  ac_header_compiler=yes
 
18489
else
 
18490
  $as_echo "$as_me: failed program was:" >&5
 
18491
sed 's/^/| /' conftest.$ac_ext >&5
 
18492
 
 
18493
        ac_header_compiler=no
 
18494
fi
 
18495
 
 
18496
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
18497
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
18498
$as_echo "$ac_header_compiler" >&6; }
 
18499
 
 
18500
# Is the header present?
 
18501
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
18502
$as_echo_n "checking $ac_header presence... " >&6; }
 
18503
cat >conftest.$ac_ext <<_ACEOF
 
18504
/* confdefs.h.  */
 
18505
_ACEOF
 
18506
cat confdefs.h >>conftest.$ac_ext
 
18507
cat >>conftest.$ac_ext <<_ACEOF
 
18508
/* end confdefs.h.  */
 
18509
#include <$ac_header>
 
18510
_ACEOF
 
18511
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
18512
case "(($ac_try" in
 
18513
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18514
  *) ac_try_echo=$ac_try;;
 
18515
esac
 
18516
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18517
$as_echo "$ac_try_echo") >&5
 
18518
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
18519
  ac_status=$?
 
18520
  grep -v '^ *+' conftest.er1 >conftest.err
 
18521
  rm -f conftest.er1
 
18522
  cat conftest.err >&5
 
18523
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18524
  (exit $ac_status); } >/dev/null && {
 
18525
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
18526
         test ! -s conftest.err
 
18527
       }; then
 
18528
  ac_header_preproc=yes
 
18529
else
 
18530
  $as_echo "$as_me: failed program was:" >&5
 
18531
sed 's/^/| /' conftest.$ac_ext >&5
 
18532
 
 
18533
  ac_header_preproc=no
 
18534
fi
 
18535
 
 
18536
rm -f conftest.err conftest.$ac_ext
 
18537
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
18538
$as_echo "$ac_header_preproc" >&6; }
 
18539
 
 
18540
# So?  What about this header?
 
18541
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
18542
  yes:no: )
 
18543
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
18544
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
18545
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
18546
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
18547
    ac_header_preproc=yes
 
18548
    ;;
 
18549
  no:yes:* )
 
18550
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
18551
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
18552
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
18553
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
18554
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
18555
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
18556
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
18557
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
18558
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
18559
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
18560
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
18561
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
18562
    ( cat <<\_ASBOX
 
18563
## ------------------------------------------- ##
 
18564
## Report this to lordsawar-discuss@nongnu.org ##
 
18565
## ------------------------------------------- ##
 
18566
_ASBOX
 
18567
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
18568
    ;;
 
18569
esac
 
18570
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
18571
$as_echo_n "checking for $ac_header... " >&6; }
 
18572
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
18573
  $as_echo_n "(cached) " >&6
 
18574
else
 
18575
  eval "$as_ac_Header=\$ac_header_preproc"
 
18576
fi
 
18577
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
18578
                 $as_echo "$as_val"'`
 
18579
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
18580
$as_echo "$ac_res" >&6; }
 
18581
 
 
18582
fi
 
18583
as_val=`eval 'as_val=${'$as_ac_Header'}
 
18584
                 $as_echo "$as_val"'`
 
18585
   if test "x$as_val" = x""yes; then
 
18586
  cat >>confdefs.h <<_ACEOF
 
18587
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
18588
_ACEOF
 
18589
 
 
18590
else
 
18591
  { { $as_echo "$as_me:$LINENO: error: *** Libtar not found!" >&5
 
18592
$as_echo "$as_me: error: *** Libtar not found!" >&2;}
 
18593
   { (exit 1); exit 1; }; }
 
18594
fi
 
18595
 
 
18596
done
 
18597
 
 
18598
 
 
18599
{ $as_echo "$as_me:$LINENO: checking for tar_open in -ltar" >&5
 
18600
$as_echo_n "checking for tar_open in -ltar... " >&6; }
 
18601
if test "${ac_cv_lib_tar_tar_open+set}" = set; then
 
18602
  $as_echo_n "(cached) " >&6
 
18603
else
 
18604
  ac_check_lib_save_LIBS=$LIBS
 
18605
LIBS="-ltar  $LIBS"
 
18606
cat >conftest.$ac_ext <<_ACEOF
 
18607
/* confdefs.h.  */
 
18608
_ACEOF
 
18609
cat confdefs.h >>conftest.$ac_ext
 
18610
cat >>conftest.$ac_ext <<_ACEOF
 
18611
/* end confdefs.h.  */
 
18612
 
 
18613
/* Override any GCC internal prototype to avoid an error.
 
18614
   Use char because int might match the return type of a GCC
 
18615
   builtin and then its argument prototype would still apply.  */
 
18616
#ifdef __cplusplus
 
18617
extern "C"
 
18618
#endif
 
18619
char tar_open ();
 
18620
int
 
18621
main ()
 
18622
{
 
18623
return tar_open ();
 
18624
  ;
 
18625
  return 0;
 
18626
}
 
18627
_ACEOF
 
18628
rm -f conftest.$ac_objext conftest$ac_exeext
 
18629
if { (ac_try="$ac_link"
 
18630
case "(($ac_try" in
 
18631
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18632
  *) ac_try_echo=$ac_try;;
 
18633
esac
 
18634
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18635
$as_echo "$ac_try_echo") >&5
 
18636
  (eval "$ac_link") 2>conftest.er1
 
18637
  ac_status=$?
 
18638
  grep -v '^ *+' conftest.er1 >conftest.err
 
18639
  rm -f conftest.er1
 
18640
  cat conftest.err >&5
 
18641
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18642
  (exit $ac_status); } && {
 
18643
         test -z "$ac_c_werror_flag" ||
 
18644
         test ! -s conftest.err
 
18645
       } && test -s conftest$ac_exeext && {
 
18646
         test "$cross_compiling" = yes ||
 
18647
         $as_test_x conftest$ac_exeext
 
18648
       }; then
 
18649
  ac_cv_lib_tar_tar_open=yes
 
18650
else
 
18651
  $as_echo "$as_me: failed program was:" >&5
 
18652
sed 's/^/| /' conftest.$ac_ext >&5
 
18653
 
 
18654
        ac_cv_lib_tar_tar_open=no
 
18655
fi
 
18656
 
 
18657
rm -rf conftest.dSYM
 
18658
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
18659
      conftest$ac_exeext conftest.$ac_ext
 
18660
LIBS=$ac_check_lib_save_LIBS
 
18661
fi
 
18662
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_tar_tar_open" >&5
 
18663
$as_echo "$ac_cv_lib_tar_tar_open" >&6; }
 
18664
if test "x$ac_cv_lib_tar_tar_open" = x""yes; then
 
18665
  cat >>confdefs.h <<_ACEOF
 
18666
#define HAVE_LIBTAR 1
 
18667
_ACEOF
 
18668
 
 
18669
  LIBS="-ltar $LIBS"
 
18670
 
 
18671
else
 
18672
  { { $as_echo "$as_me:$LINENO: error: *** Libtar not found!" >&5
 
18673
$as_echo "$as_me: error: *** Libtar not found!" >&2;}
 
18674
   { (exit 1); exit 1; }; }
16244
18675
fi
16245
18676
 
16246
18677
fi
16247
18678
 
16248
18679
# Check whether --enable-winlibs was given.
16249
 
if test "${enable_winlibs+set}" = set; then :
 
18680
if test "${enable_winlibs+set}" = set; then
16250
18681
  enableval=$enable_winlibs; LIBS="-lmingw32 -lws2_32 -lintl -lz -lpthreadGC2 -lpthreadGCE2 $LIBS"
16251
18682
              flrc=true;
16252
18683
 
16312
18743
 
16313
18744
# Extract the first word of "msgfmt", so it can be a program name with args.
16314
18745
set dummy msgfmt; ac_word=$2
16315
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
18746
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16316
18747
$as_echo_n "checking for $ac_word... " >&6; }
16317
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
18748
if test "${ac_cv_path_MSGFMT+set}" = set; then
16318
18749
  $as_echo_n "(cached) " >&6
16319
18750
else
16320
18751
  case "$MSGFMT" in
16344
18775
fi
16345
18776
MSGFMT="$ac_cv_path_MSGFMT"
16346
18777
if test "$MSGFMT" != ":"; then
16347
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
18778
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
16348
18779
$as_echo "$MSGFMT" >&6; }
16349
18780
else
16350
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18781
  { $as_echo "$as_me:$LINENO: result: no" >&5
16351
18782
$as_echo "no" >&6; }
16352
18783
fi
16353
18784
 
16354
18785
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
16355
18786
set dummy gmsgfmt; ac_word=$2
16356
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
18787
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16357
18788
$as_echo_n "checking for $ac_word... " >&6; }
16358
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
18789
if test "${ac_cv_path_GMSGFMT+set}" = set; then
16359
18790
  $as_echo_n "(cached) " >&6
16360
18791
else
16361
18792
  case $GMSGFMT in
16368
18799
do
16369
18800
  IFS=$as_save_IFS
16370
18801
  test -z "$as_dir" && as_dir=.
16371
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
18802
  for ac_exec_ext in '' $ac_executable_extensions; do
16372
18803
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16373
18804
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
16374
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
18805
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16375
18806
    break 2
16376
18807
  fi
16377
18808
done
16378
 
  done
 
18809
done
16379
18810
IFS=$as_save_IFS
16380
18811
 
16381
18812
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
16384
18815
fi
16385
18816
GMSGFMT=$ac_cv_path_GMSGFMT
16386
18817
if test -n "$GMSGFMT"; then
16387
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
18818
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
16388
18819
$as_echo "$GMSGFMT" >&6; }
16389
18820
else
16390
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18821
  { $as_echo "$as_me:$LINENO: result: no" >&5
16391
18822
$as_echo "no" >&6; }
16392
18823
fi
16393
18824
 
16435
18866
 
16436
18867
# Extract the first word of "xgettext", so it can be a program name with args.
16437
18868
set dummy xgettext; ac_word=$2
16438
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
18869
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16439
18870
$as_echo_n "checking for $ac_word... " >&6; }
16440
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
18871
if test "${ac_cv_path_XGETTEXT+set}" = set; then
16441
18872
  $as_echo_n "(cached) " >&6
16442
18873
else
16443
18874
  case "$XGETTEXT" in
16467
18898
fi
16468
18899
XGETTEXT="$ac_cv_path_XGETTEXT"
16469
18900
if test "$XGETTEXT" != ":"; then
16470
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
18901
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
16471
18902
$as_echo "$XGETTEXT" >&6; }
16472
18903
else
16473
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18904
  { $as_echo "$as_me:$LINENO: result: no" >&5
16474
18905
$as_echo "no" >&6; }
16475
18906
fi
16476
18907
 
16513
18944
 
16514
18945
# Extract the first word of "msgmerge", so it can be a program name with args.
16515
18946
set dummy msgmerge; ac_word=$2
16516
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
18947
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16517
18948
$as_echo_n "checking for $ac_word... " >&6; }
16518
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
18949
if test "${ac_cv_path_MSGMERGE+set}" = set; then
16519
18950
  $as_echo_n "(cached) " >&6
16520
18951
else
16521
18952
  case "$MSGMERGE" in
16544
18975
fi
16545
18976
MSGMERGE="$ac_cv_path_MSGMERGE"
16546
18977
if test "$MSGMERGE" != ":"; then
16547
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
18978
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
16548
18979
$as_echo "$MSGMERGE" >&6; }
16549
18980
else
16550
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18981
  { $as_echo "$as_me:$LINENO: result: no" >&5
16551
18982
$as_echo "no" >&6; }
16552
18983
fi
16553
18984
 
16579
19010
 
16580
19011
 
16581
19012
# Check whether --with-gnu-ld was given.
16582
 
if test "${with_gnu_ld+set}" = set; then :
 
19013
if test "${with_gnu_ld+set}" = set; then
16583
19014
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
16584
19015
else
16585
19016
  with_gnu_ld=no
16601
19032
ac_prog=ld
16602
19033
if test "$GCC" = yes; then
16603
19034
  # Check if gcc -print-prog-name=ld gives a path.
16604
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
 
19035
  { $as_echo "$as_me:$LINENO: checking for ld used by GCC" >&5
16605
19036
$as_echo_n "checking for ld used by GCC... " >&6; }
16606
19037
  case $host in
16607
19038
  *-*-mingw*)
16631
19062
    ;;
16632
19063
  esac
16633
19064
elif test "$with_gnu_ld" = yes; then
16634
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
19065
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
16635
19066
$as_echo_n "checking for GNU ld... " >&6; }
16636
19067
else
16637
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
19068
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
16638
19069
$as_echo_n "checking for non-GNU ld... " >&6; }
16639
19070
fi
16640
 
if test "${acl_cv_path_LD+set}" = set; then :
 
19071
if test "${acl_cv_path_LD+set}" = set; then
16641
19072
  $as_echo_n "(cached) " >&6
16642
19073
else
16643
19074
  if test -z "$LD"; then
16665
19096
 
16666
19097
LD="$acl_cv_path_LD"
16667
19098
if test -n "$LD"; then
16668
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
19099
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
16669
19100
$as_echo "$LD" >&6; }
16670
19101
else
16671
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19102
  { $as_echo "$as_me:$LINENO: result: no" >&5
16672
19103
$as_echo "no" >&6; }
16673
19104
fi
16674
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
16675
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
19105
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
19106
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
19107
   { (exit 1); exit 1; }; }
 
19108
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
16676
19109
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16677
 
if test "${acl_cv_prog_gnu_ld+set}" = set; then :
 
19110
if test "${acl_cv_prog_gnu_ld+set}" = set; then
16678
19111
  $as_echo_n "(cached) " >&6
16679
19112
else
16680
19113
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16685
19118
  acl_cv_prog_gnu_ld=no ;;
16686
19119
esac
16687
19120
fi
16688
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
 
19121
{ $as_echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
16689
19122
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
16690
19123
with_gnu_ld=$acl_cv_prog_gnu_ld
16691
19124
 
16692
19125
 
16693
19126
 
16694
19127
 
16695
 
                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
 
19128
                                                { $as_echo "$as_me:$LINENO: checking for shared library run path origin" >&5
16696
19129
$as_echo_n "checking for shared library run path origin... " >&6; }
16697
 
if test "${acl_cv_rpath+set}" = set; then :
 
19130
if test "${acl_cv_rpath+set}" = set; then
16698
19131
  $as_echo_n "(cached) " >&6
16699
19132
else
16700
19133
 
16705
19138
    acl_cv_rpath=done
16706
19139
 
16707
19140
fi
16708
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
 
19141
{ $as_echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
16709
19142
$as_echo "$acl_cv_rpath" >&6; }
16710
19143
  wl="$acl_cv_wl"
16711
19144
  acl_libext="$acl_cv_libext"
16717
19150
  acl_hardcode_direct="$acl_cv_hardcode_direct"
16718
19151
  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
16719
19152
    # Check whether --enable-rpath was given.
16720
 
if test "${enable_rpath+set}" = set; then :
 
19153
if test "${enable_rpath+set}" = set; then
16721
19154
  enableval=$enable_rpath; :
16722
19155
else
16723
19156
  enable_rpath=yes
16766
19199
 
16767
19200
 
16768
19201
# Check whether --with-libiconv-prefix was given.
16769
 
if test "${with_libiconv_prefix+set}" = set; then :
 
19202
if test "${with_libiconv_prefix+set}" = set; then
16770
19203
  withval=$with_libiconv_prefix;
16771
19204
    if test "X$withval" = "Xno"; then
16772
19205
      use_additional=no
17206
19639
 
17207
19640
 
17208
19641
 
17209
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
 
19642
    { $as_echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
17210
19643
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
17211
 
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
 
19644
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
17212
19645
  $as_echo_n "(cached) " >&6
17213
19646
else
17214
19647
  gt_save_LIBS="$LIBS"
17215
19648
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
17216
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
19649
     cat >conftest.$ac_ext <<_ACEOF
 
19650
/* confdefs.h.  */
 
19651
_ACEOF
 
19652
cat confdefs.h >>conftest.$ac_ext
 
19653
cat >>conftest.$ac_ext <<_ACEOF
17217
19654
/* end confdefs.h.  */
17218
19655
#include <CoreFoundation/CFPreferences.h>
17219
19656
int
17224
19661
  return 0;
17225
19662
}
17226
19663
_ACEOF
17227
 
if ac_fn_c_try_link "$LINENO"; then :
 
19664
rm -f conftest.$ac_objext conftest$ac_exeext
 
19665
if { (ac_try="$ac_link"
 
19666
case "(($ac_try" in
 
19667
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19668
  *) ac_try_echo=$ac_try;;
 
19669
esac
 
19670
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19671
$as_echo "$ac_try_echo") >&5
 
19672
  (eval "$ac_link") 2>conftest.er1
 
19673
  ac_status=$?
 
19674
  grep -v '^ *+' conftest.er1 >conftest.err
 
19675
  rm -f conftest.er1
 
19676
  cat conftest.err >&5
 
19677
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19678
  (exit $ac_status); } && {
 
19679
         test -z "$ac_c_werror_flag" ||
 
19680
         test ! -s conftest.err
 
19681
       } && test -s conftest$ac_exeext && {
 
19682
         test "$cross_compiling" = yes ||
 
19683
         $as_test_x conftest$ac_exeext
 
19684
       }; then
17228
19685
  gt_cv_func_CFPreferencesCopyAppValue=yes
17229
19686
else
17230
 
  gt_cv_func_CFPreferencesCopyAppValue=no
 
19687
  $as_echo "$as_me: failed program was:" >&5
 
19688
sed 's/^/| /' conftest.$ac_ext >&5
 
19689
 
 
19690
        gt_cv_func_CFPreferencesCopyAppValue=no
17231
19691
fi
17232
 
rm -f core conftest.err conftest.$ac_objext \
17233
 
    conftest$ac_exeext conftest.$ac_ext
 
19692
 
 
19693
rm -rf conftest.dSYM
 
19694
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
19695
      conftest$ac_exeext conftest.$ac_ext
17234
19696
     LIBS="$gt_save_LIBS"
17235
19697
fi
17236
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
 
19698
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
17237
19699
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
17238
19700
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
17239
19701
 
17240
 
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
 
19702
cat >>confdefs.h <<\_ACEOF
 
19703
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
 
19704
_ACEOF
17241
19705
 
17242
19706
  fi
17243
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
 
19707
    { $as_echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
17244
19708
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
17245
 
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
 
19709
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
17246
19710
  $as_echo_n "(cached) " >&6
17247
19711
else
17248
19712
  gt_save_LIBS="$LIBS"
17249
19713
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
17250
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
19714
     cat >conftest.$ac_ext <<_ACEOF
 
19715
/* confdefs.h.  */
 
19716
_ACEOF
 
19717
cat confdefs.h >>conftest.$ac_ext
 
19718
cat >>conftest.$ac_ext <<_ACEOF
17251
19719
/* end confdefs.h.  */
17252
19720
#include <CoreFoundation/CFLocale.h>
17253
19721
int
17258
19726
  return 0;
17259
19727
}
17260
19728
_ACEOF
17261
 
if ac_fn_c_try_link "$LINENO"; then :
 
19729
rm -f conftest.$ac_objext conftest$ac_exeext
 
19730
if { (ac_try="$ac_link"
 
19731
case "(($ac_try" in
 
19732
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19733
  *) ac_try_echo=$ac_try;;
 
19734
esac
 
19735
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19736
$as_echo "$ac_try_echo") >&5
 
19737
  (eval "$ac_link") 2>conftest.er1
 
19738
  ac_status=$?
 
19739
  grep -v '^ *+' conftest.er1 >conftest.err
 
19740
  rm -f conftest.er1
 
19741
  cat conftest.err >&5
 
19742
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19743
  (exit $ac_status); } && {
 
19744
         test -z "$ac_c_werror_flag" ||
 
19745
         test ! -s conftest.err
 
19746
       } && test -s conftest$ac_exeext && {
 
19747
         test "$cross_compiling" = yes ||
 
19748
         $as_test_x conftest$ac_exeext
 
19749
       }; then
17262
19750
  gt_cv_func_CFLocaleCopyCurrent=yes
17263
19751
else
17264
 
  gt_cv_func_CFLocaleCopyCurrent=no
 
19752
  $as_echo "$as_me: failed program was:" >&5
 
19753
sed 's/^/| /' conftest.$ac_ext >&5
 
19754
 
 
19755
        gt_cv_func_CFLocaleCopyCurrent=no
17265
19756
fi
17266
 
rm -f core conftest.err conftest.$ac_objext \
17267
 
    conftest$ac_exeext conftest.$ac_ext
 
19757
 
 
19758
rm -rf conftest.dSYM
 
19759
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
19760
      conftest$ac_exeext conftest.$ac_ext
17268
19761
     LIBS="$gt_save_LIBS"
17269
19762
fi
17270
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
 
19763
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
17271
19764
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
17272
19765
  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
17273
19766
 
17274
 
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
 
19767
cat >>confdefs.h <<\_ACEOF
 
19768
#define HAVE_CFLOCALECOPYCURRENT 1
 
19769
_ACEOF
17275
19770
 
17276
19771
  fi
17277
19772
  INTL_MACOSX_LIBS=
17316
19811
          gt_expression_test_code=
17317
19812
        fi
17318
19813
 
17319
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
 
19814
        { $as_echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
17320
19815
$as_echo_n "checking for GNU gettext in libc... " >&6; }
17321
 
if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then :
 
19816
if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then
17322
19817
  $as_echo_n "(cached) " >&6
17323
19818
else
17324
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
19819
  cat >conftest.$ac_ext <<_ACEOF
 
19820
/* confdefs.h.  */
 
19821
_ACEOF
 
19822
cat confdefs.h >>conftest.$ac_ext
 
19823
cat >>conftest.$ac_ext <<_ACEOF
17325
19824
/* end confdefs.h.  */
17326
19825
#include <libintl.h>
17327
19826
$gt_revision_test_code
17336
19835
  return 0;
17337
19836
}
17338
19837
_ACEOF
17339
 
if ac_fn_c_try_link "$LINENO"; then :
 
19838
rm -f conftest.$ac_objext conftest$ac_exeext
 
19839
if { (ac_try="$ac_link"
 
19840
case "(($ac_try" in
 
19841
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19842
  *) ac_try_echo=$ac_try;;
 
19843
esac
 
19844
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19845
$as_echo "$ac_try_echo") >&5
 
19846
  (eval "$ac_link") 2>conftest.er1
 
19847
  ac_status=$?
 
19848
  grep -v '^ *+' conftest.er1 >conftest.err
 
19849
  rm -f conftest.er1
 
19850
  cat conftest.err >&5
 
19851
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19852
  (exit $ac_status); } && {
 
19853
         test -z "$ac_c_werror_flag" ||
 
19854
         test ! -s conftest.err
 
19855
       } && test -s conftest$ac_exeext && {
 
19856
         test "$cross_compiling" = yes ||
 
19857
         $as_test_x conftest$ac_exeext
 
19858
       }; then
17340
19859
  eval "$gt_func_gnugettext_libc=yes"
17341
19860
else
17342
 
  eval "$gt_func_gnugettext_libc=no"
17343
 
fi
17344
 
rm -f core conftest.err conftest.$ac_objext \
17345
 
    conftest$ac_exeext conftest.$ac_ext
17346
 
fi
17347
 
eval ac_res=\$$gt_func_gnugettext_libc
17348
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
19861
  $as_echo "$as_me: failed program was:" >&5
 
19862
sed 's/^/| /' conftest.$ac_ext >&5
 
19863
 
 
19864
        eval "$gt_func_gnugettext_libc=no"
 
19865
fi
 
19866
 
 
19867
rm -rf conftest.dSYM
 
19868
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
19869
      conftest$ac_exeext conftest.$ac_ext
 
19870
fi
 
19871
ac_res=`eval 'as_val=${'$gt_func_gnugettext_libc'}
 
19872
                 $as_echo "$as_val"'`
 
19873
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17349
19874
$as_echo "$ac_res" >&6; }
17350
19875
 
17351
19876
        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
17379
19904
  done
17380
19905
 
17381
19906
 
17382
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
 
19907
  { $as_echo "$as_me:$LINENO: checking for iconv" >&5
17383
19908
$as_echo_n "checking for iconv... " >&6; }
17384
 
if test "${am_cv_func_iconv+set}" = set; then :
 
19909
if test "${am_cv_func_iconv+set}" = set; then
17385
19910
  $as_echo_n "(cached) " >&6
17386
19911
else
17387
19912
 
17388
19913
    am_cv_func_iconv="no, consider installing GNU libiconv"
17389
19914
    am_cv_lib_iconv=no
17390
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
19915
    cat >conftest.$ac_ext <<_ACEOF
 
19916
/* confdefs.h.  */
 
19917
_ACEOF
 
19918
cat confdefs.h >>conftest.$ac_ext
 
19919
cat >>conftest.$ac_ext <<_ACEOF
17391
19920
/* end confdefs.h.  */
17392
19921
#include <stdlib.h>
17393
19922
#include <iconv.h>
17401
19930
  return 0;
17402
19931
}
17403
19932
_ACEOF
17404
 
if ac_fn_c_try_link "$LINENO"; then :
 
19933
rm -f conftest.$ac_objext conftest$ac_exeext
 
19934
if { (ac_try="$ac_link"
 
19935
case "(($ac_try" in
 
19936
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19937
  *) ac_try_echo=$ac_try;;
 
19938
esac
 
19939
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19940
$as_echo "$ac_try_echo") >&5
 
19941
  (eval "$ac_link") 2>conftest.er1
 
19942
  ac_status=$?
 
19943
  grep -v '^ *+' conftest.er1 >conftest.err
 
19944
  rm -f conftest.er1
 
19945
  cat conftest.err >&5
 
19946
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19947
  (exit $ac_status); } && {
 
19948
         test -z "$ac_c_werror_flag" ||
 
19949
         test ! -s conftest.err
 
19950
       } && test -s conftest$ac_exeext && {
 
19951
         test "$cross_compiling" = yes ||
 
19952
         $as_test_x conftest$ac_exeext
 
19953
       }; then
17405
19954
  am_cv_func_iconv=yes
 
19955
else
 
19956
  $as_echo "$as_me: failed program was:" >&5
 
19957
sed 's/^/| /' conftest.$ac_ext >&5
 
19958
 
 
19959
 
17406
19960
fi
17407
 
rm -f core conftest.err conftest.$ac_objext \
17408
 
    conftest$ac_exeext conftest.$ac_ext
 
19961
 
 
19962
rm -rf conftest.dSYM
 
19963
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
19964
      conftest$ac_exeext conftest.$ac_ext
17409
19965
    if test "$am_cv_func_iconv" != yes; then
17410
19966
      am_save_LIBS="$LIBS"
17411
19967
      LIBS="$LIBS $LIBICONV"
17412
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
19968
      cat >conftest.$ac_ext <<_ACEOF
 
19969
/* confdefs.h.  */
 
19970
_ACEOF
 
19971
cat confdefs.h >>conftest.$ac_ext
 
19972
cat >>conftest.$ac_ext <<_ACEOF
17413
19973
/* end confdefs.h.  */
17414
19974
#include <stdlib.h>
17415
19975
#include <iconv.h>
17423
19983
  return 0;
17424
19984
}
17425
19985
_ACEOF
17426
 
if ac_fn_c_try_link "$LINENO"; then :
 
19986
rm -f conftest.$ac_objext conftest$ac_exeext
 
19987
if { (ac_try="$ac_link"
 
19988
case "(($ac_try" in
 
19989
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19990
  *) ac_try_echo=$ac_try;;
 
19991
esac
 
19992
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19993
$as_echo "$ac_try_echo") >&5
 
19994
  (eval "$ac_link") 2>conftest.er1
 
19995
  ac_status=$?
 
19996
  grep -v '^ *+' conftest.er1 >conftest.err
 
19997
  rm -f conftest.er1
 
19998
  cat conftest.err >&5
 
19999
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20000
  (exit $ac_status); } && {
 
20001
         test -z "$ac_c_werror_flag" ||
 
20002
         test ! -s conftest.err
 
20003
       } && test -s conftest$ac_exeext && {
 
20004
         test "$cross_compiling" = yes ||
 
20005
         $as_test_x conftest$ac_exeext
 
20006
       }; then
17427
20007
  am_cv_lib_iconv=yes
17428
20008
        am_cv_func_iconv=yes
 
20009
else
 
20010
  $as_echo "$as_me: failed program was:" >&5
 
20011
sed 's/^/| /' conftest.$ac_ext >&5
 
20012
 
 
20013
 
17429
20014
fi
17430
 
rm -f core conftest.err conftest.$ac_objext \
17431
 
    conftest$ac_exeext conftest.$ac_ext
 
20015
 
 
20016
rm -rf conftest.dSYM
 
20017
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20018
      conftest$ac_exeext conftest.$ac_ext
17432
20019
      LIBS="$am_save_LIBS"
17433
20020
    fi
17434
20021
 
17435
20022
fi
17436
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
 
20023
{ $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
17437
20024
$as_echo "$am_cv_func_iconv" >&6; }
17438
20025
  if test "$am_cv_func_iconv" = yes; then
17439
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
 
20026
    { $as_echo "$as_me:$LINENO: checking for working iconv" >&5
17440
20027
$as_echo_n "checking for working iconv... " >&6; }
17441
 
if test "${am_cv_func_iconv_works+set}" = set; then :
 
20028
if test "${am_cv_func_iconv_works+set}" = set; then
17442
20029
  $as_echo_n "(cached) " >&6
17443
20030
else
17444
20031
 
17446
20033
      if test $am_cv_lib_iconv = yes; then
17447
20034
        LIBS="$LIBS $LIBICONV"
17448
20035
      fi
17449
 
      if test "$cross_compiling" = yes; then :
 
20036
      if test "$cross_compiling" = yes; then
17450
20037
  case "$host_os" in
17451
20038
           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
17452
20039
           *)            am_cv_func_iconv_works="guessing yes" ;;
17453
20040
         esac
17454
20041
else
17455
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
20042
  cat >conftest.$ac_ext <<_ACEOF
 
20043
/* confdefs.h.  */
 
20044
_ACEOF
 
20045
cat confdefs.h >>conftest.$ac_ext
 
20046
cat >>conftest.$ac_ext <<_ACEOF
17456
20047
/* end confdefs.h.  */
17457
20048
 
17458
20049
#include <iconv.h>
17512
20103
  return 0;
17513
20104
}
17514
20105
_ACEOF
17515
 
if ac_fn_c_try_run "$LINENO"; then :
 
20106
rm -f conftest$ac_exeext
 
20107
if { (ac_try="$ac_link"
 
20108
case "(($ac_try" in
 
20109
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20110
  *) ac_try_echo=$ac_try;;
 
20111
esac
 
20112
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20113
$as_echo "$ac_try_echo") >&5
 
20114
  (eval "$ac_link") 2>&5
 
20115
  ac_status=$?
 
20116
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20117
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
20118
  { (case "(($ac_try" in
 
20119
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20120
  *) ac_try_echo=$ac_try;;
 
20121
esac
 
20122
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20123
$as_echo "$ac_try_echo") >&5
 
20124
  (eval "$ac_try") 2>&5
 
20125
  ac_status=$?
 
20126
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20127
  (exit $ac_status); }; }; then
17516
20128
  am_cv_func_iconv_works=yes
17517
20129
else
17518
 
  am_cv_func_iconv_works=no
17519
 
fi
17520
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17521
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
17522
 
fi
 
20130
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
20131
$as_echo "$as_me: failed program was:" >&5
 
20132
sed 's/^/| /' conftest.$ac_ext >&5
 
20133
 
 
20134
( exit $ac_status )
 
20135
am_cv_func_iconv_works=no
 
20136
fi
 
20137
rm -rf conftest.dSYM
 
20138
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
20139
fi
 
20140
 
17523
20141
 
17524
20142
      LIBS="$am_save_LIBS"
17525
20143
 
17526
20144
fi
17527
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
 
20145
{ $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv_works" >&5
17528
20146
$as_echo "$am_cv_func_iconv_works" >&6; }
17529
20147
    case "$am_cv_func_iconv_works" in
17530
20148
      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
17535
20153
  fi
17536
20154
  if test "$am_func_iconv" = yes; then
17537
20155
 
17538
 
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
 
20156
cat >>confdefs.h <<\_ACEOF
 
20157
#define HAVE_ICONV 1
 
20158
_ACEOF
17539
20159
 
17540
20160
  fi
17541
20161
  if test "$am_cv_lib_iconv" = yes; then
17542
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
 
20162
    { $as_echo "$as_me:$LINENO: checking how to link with libiconv" >&5
17543
20163
$as_echo_n "checking how to link with libiconv... " >&6; }
17544
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
 
20164
    { $as_echo "$as_me:$LINENO: result: $LIBICONV" >&5
17545
20165
$as_echo "$LIBICONV" >&6; }
17546
20166
  else
17547
20167
            CPPFLAGS="$am_save_CPPFLAGS"
17571
20191
 
17572
20192
 
17573
20193
# Check whether --with-libintl-prefix was given.
17574
 
if test "${with_libintl_prefix+set}" = set; then :
 
20194
if test "${with_libintl_prefix+set}" = set; then
17575
20195
  withval=$with_libintl_prefix;
17576
20196
    if test "X$withval" = "Xno"; then
17577
20197
      use_additional=no
17987
20607
    done
17988
20608
  fi
17989
20609
 
17990
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
 
20610
          { $as_echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
17991
20611
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
17992
 
if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then :
 
20612
if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then
17993
20613
  $as_echo_n "(cached) " >&6
17994
20614
else
17995
20615
  gt_save_CPPFLAGS="$CPPFLAGS"
17996
20616
            CPPFLAGS="$CPPFLAGS $INCINTL"
17997
20617
            gt_save_LIBS="$LIBS"
17998
20618
            LIBS="$LIBS $LIBINTL"
17999
 
                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
20619
                        cat >conftest.$ac_ext <<_ACEOF
 
20620
/* confdefs.h.  */
 
20621
_ACEOF
 
20622
cat confdefs.h >>conftest.$ac_ext
 
20623
cat >>conftest.$ac_ext <<_ACEOF
18000
20624
/* end confdefs.h.  */
18001
20625
#include <libintl.h>
18002
20626
$gt_revision_test_code
18015
20639
  return 0;
18016
20640
}
18017
20641
_ACEOF
18018
 
if ac_fn_c_try_link "$LINENO"; then :
 
20642
rm -f conftest.$ac_objext conftest$ac_exeext
 
20643
if { (ac_try="$ac_link"
 
20644
case "(($ac_try" in
 
20645
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20646
  *) ac_try_echo=$ac_try;;
 
20647
esac
 
20648
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20649
$as_echo "$ac_try_echo") >&5
 
20650
  (eval "$ac_link") 2>conftest.er1
 
20651
  ac_status=$?
 
20652
  grep -v '^ *+' conftest.er1 >conftest.err
 
20653
  rm -f conftest.er1
 
20654
  cat conftest.err >&5
 
20655
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20656
  (exit $ac_status); } && {
 
20657
         test -z "$ac_c_werror_flag" ||
 
20658
         test ! -s conftest.err
 
20659
       } && test -s conftest$ac_exeext && {
 
20660
         test "$cross_compiling" = yes ||
 
20661
         $as_test_x conftest$ac_exeext
 
20662
       }; then
18019
20663
  eval "$gt_func_gnugettext_libintl=yes"
18020
20664
else
18021
 
  eval "$gt_func_gnugettext_libintl=no"
 
20665
  $as_echo "$as_me: failed program was:" >&5
 
20666
sed 's/^/| /' conftest.$ac_ext >&5
 
20667
 
 
20668
        eval "$gt_func_gnugettext_libintl=no"
18022
20669
fi
18023
 
rm -f core conftest.err conftest.$ac_objext \
18024
 
    conftest$ac_exeext conftest.$ac_ext
 
20670
 
 
20671
rm -rf conftest.dSYM
 
20672
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20673
      conftest$ac_exeext conftest.$ac_ext
18025
20674
                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
18026
20675
              LIBS="$LIBS $LIBICONV"
18027
 
              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
20676
              cat >conftest.$ac_ext <<_ACEOF
 
20677
/* confdefs.h.  */
 
20678
_ACEOF
 
20679
cat confdefs.h >>conftest.$ac_ext
 
20680
cat >>conftest.$ac_ext <<_ACEOF
18028
20681
/* end confdefs.h.  */
18029
20682
#include <libintl.h>
18030
20683
$gt_revision_test_code
18043
20696
  return 0;
18044
20697
}
18045
20698
_ACEOF
18046
 
if ac_fn_c_try_link "$LINENO"; then :
 
20699
rm -f conftest.$ac_objext conftest$ac_exeext
 
20700
if { (ac_try="$ac_link"
 
20701
case "(($ac_try" in
 
20702
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20703
  *) ac_try_echo=$ac_try;;
 
20704
esac
 
20705
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20706
$as_echo "$ac_try_echo") >&5
 
20707
  (eval "$ac_link") 2>conftest.er1
 
20708
  ac_status=$?
 
20709
  grep -v '^ *+' conftest.er1 >conftest.err
 
20710
  rm -f conftest.er1
 
20711
  cat conftest.err >&5
 
20712
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20713
  (exit $ac_status); } && {
 
20714
         test -z "$ac_c_werror_flag" ||
 
20715
         test ! -s conftest.err
 
20716
       } && test -s conftest$ac_exeext && {
 
20717
         test "$cross_compiling" = yes ||
 
20718
         $as_test_x conftest$ac_exeext
 
20719
       }; then
18047
20720
  LIBINTL="$LIBINTL $LIBICONV"
18048
20721
                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
18049
20722
                eval "$gt_func_gnugettext_libintl=yes"
18050
20723
 
 
20724
else
 
20725
  $as_echo "$as_me: failed program was:" >&5
 
20726
sed 's/^/| /' conftest.$ac_ext >&5
 
20727
 
 
20728
 
18051
20729
fi
18052
 
rm -f core conftest.err conftest.$ac_objext \
18053
 
    conftest$ac_exeext conftest.$ac_ext
 
20730
 
 
20731
rm -rf conftest.dSYM
 
20732
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20733
      conftest$ac_exeext conftest.$ac_ext
18054
20734
            fi
18055
20735
            CPPFLAGS="$gt_save_CPPFLAGS"
18056
20736
            LIBS="$gt_save_LIBS"
18057
20737
fi
18058
 
eval ac_res=\$$gt_func_gnugettext_libintl
18059
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
20738
ac_res=`eval 'as_val=${'$gt_func_gnugettext_libintl'}
 
20739
                 $as_echo "$as_val"'`
 
20740
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18060
20741
$as_echo "$ac_res" >&6; }
18061
20742
        fi
18062
20743
 
18084
20765
    if test "$gt_use_preinstalled_gnugettext" = "yes" \
18085
20766
       || test "$nls_cv_use_gnu_gettext" = "yes"; then
18086
20767
 
18087
 
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
 
20768
cat >>confdefs.h <<\_ACEOF
 
20769
#define ENABLE_NLS 1
 
20770
_ACEOF
18088
20771
 
18089
20772
    else
18090
20773
      USE_NLS=no
18091
20774
    fi
18092
20775
  fi
18093
20776
 
18094
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
 
20777
  { $as_echo "$as_me:$LINENO: checking whether to use NLS" >&5
18095
20778
$as_echo_n "checking whether to use NLS... " >&6; }
18096
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
20779
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
18097
20780
$as_echo "$USE_NLS" >&6; }
18098
20781
  if test "$USE_NLS" = "yes"; then
18099
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
 
20782
    { $as_echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
18100
20783
$as_echo_n "checking where the gettext function comes from... " >&6; }
18101
20784
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
18102
20785
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
18107
20790
    else
18108
20791
      gt_source="included intl directory"
18109
20792
    fi
18110
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
 
20793
    { $as_echo "$as_me:$LINENO: result: $gt_source" >&5
18111
20794
$as_echo "$gt_source" >&6; }
18112
20795
  fi
18113
20796
 
18115
20798
 
18116
20799
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
18117
20800
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
18118
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
 
20801
        { $as_echo "$as_me:$LINENO: checking how to link with libintl" >&5
18119
20802
$as_echo_n "checking how to link with libintl... " >&6; }
18120
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
 
20803
        { $as_echo "$as_me:$LINENO: result: $LIBINTL" >&5
18121
20804
$as_echo "$LIBINTL" >&6; }
18122
20805
 
18123
20806
  for element in $INCINTL; do
18145
20828
      fi
18146
20829
 
18147
20830
 
18148
 
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
18149
 
 
18150
 
 
18151
 
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
 
20831
cat >>confdefs.h <<\_ACEOF
 
20832
#define HAVE_GETTEXT 1
 
20833
_ACEOF
 
20834
 
 
20835
 
 
20836
cat >>confdefs.h <<\_ACEOF
 
20837
#define HAVE_DCGETTEXT 1
 
20838
_ACEOF
18152
20839
 
18153
20840
    fi
18154
20841
 
18173
20860
        if test -n "$ac_tool_prefix"; then
18174
20861
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18175
20862
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18176
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
20863
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18177
20864
$as_echo_n "checking for $ac_word... " >&6; }
18178
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
20865
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
18179
20866
  $as_echo_n "(cached) " >&6
18180
20867
else
18181
20868
  case $PKG_CONFIG in
18188
20875
do
18189
20876
  IFS=$as_save_IFS
18190
20877
  test -z "$as_dir" && as_dir=.
18191
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
20878
  for ac_exec_ext in '' $ac_executable_extensions; do
18192
20879
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18193
20880
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18194
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20881
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18195
20882
    break 2
18196
20883
  fi
18197
20884
done
18198
 
  done
 
20885
done
18199
20886
IFS=$as_save_IFS
18200
20887
 
18201
20888
  ;;
18203
20890
fi
18204
20891
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18205
20892
if test -n "$PKG_CONFIG"; then
18206
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
20893
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
18207
20894
$as_echo "$PKG_CONFIG" >&6; }
18208
20895
else
18209
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20896
  { $as_echo "$as_me:$LINENO: result: no" >&5
18210
20897
$as_echo "no" >&6; }
18211
20898
fi
18212
20899
 
18216
20903
  ac_pt_PKG_CONFIG=$PKG_CONFIG
18217
20904
  # Extract the first word of "pkg-config", so it can be a program name with args.
18218
20905
set dummy pkg-config; ac_word=$2
18219
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
20906
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18220
20907
$as_echo_n "checking for $ac_word... " >&6; }
18221
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
20908
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
18222
20909
  $as_echo_n "(cached) " >&6
18223
20910
else
18224
20911
  case $ac_pt_PKG_CONFIG in
18231
20918
do
18232
20919
  IFS=$as_save_IFS
18233
20920
  test -z "$as_dir" && as_dir=.
18234
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
20921
  for ac_exec_ext in '' $ac_executable_extensions; do
18235
20922
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18236
20923
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18237
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20924
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18238
20925
    break 2
18239
20926
  fi
18240
20927
done
18241
 
  done
 
20928
done
18242
20929
IFS=$as_save_IFS
18243
20930
 
18244
20931
  ;;
18246
20933
fi
18247
20934
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18248
20935
if test -n "$ac_pt_PKG_CONFIG"; then
18249
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
20936
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
18250
20937
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
18251
20938
else
18252
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20939
  { $as_echo "$as_me:$LINENO: result: no" >&5
18253
20940
$as_echo "no" >&6; }
18254
20941
fi
18255
20942
 
18258
20945
  else
18259
20946
    case $cross_compiling:$ac_tool_warned in
18260
20947
yes:)
18261
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
20948
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
18262
20949
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18263
20950
ac_tool_warned=yes ;;
18264
20951
esac
18271
20958
fi
18272
20959
if test -n "$PKG_CONFIG"; then
18273
20960
        _pkg_min_version=0.9.0
18274
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
20961
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
18275
20962
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18276
20963
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18277
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
20964
                { $as_echo "$as_me:$LINENO: result: yes" >&5
18278
20965
$as_echo "yes" >&6; }
18279
20966
        else
18280
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20967
                { $as_echo "$as_me:$LINENO: result: no" >&5
18281
20968
$as_echo "no" >&6; }
18282
20969
                PKG_CONFIG=""
18283
20970
        fi
18285
20972
fi
18286
20973
 
18287
20974
pkg_failed=no
18288
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIBMM" >&5
 
20975
{ $as_echo "$as_me:$LINENO: checking for GLIBMM" >&5
18289
20976
$as_echo_n "checking for GLIBMM... " >&6; }
18290
20977
 
18291
 
if test -n "$PKG_CONFIG"; then
18292
 
    if test -n "$GLIBMM_CFLAGS"; then
18293
 
        pkg_cv_GLIBMM_CFLAGS="$GLIBMM_CFLAGS"
18294
 
    else
18295
 
        if test -n "$PKG_CONFIG" && \
18296
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4\""; } >&5
 
20978
if test -n "$GLIBMM_CFLAGS"; then
 
20979
    pkg_cv_GLIBMM_CFLAGS="$GLIBMM_CFLAGS"
 
20980
 elif test -n "$PKG_CONFIG"; then
 
20981
    if test -n "$PKG_CONFIG" && \
 
20982
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4\"") >&5
18297
20983
  ($PKG_CONFIG --exists --print-errors "glibmm-2.4") 2>&5
18298
20984
  ac_status=$?
18299
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18300
 
  test $ac_status = 0; }; then
 
20985
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20986
  (exit $ac_status); }; then
18301
20987
  pkg_cv_GLIBMM_CFLAGS=`$PKG_CONFIG --cflags "glibmm-2.4" 2>/dev/null`
18302
20988
else
18303
20989
  pkg_failed=yes
18304
20990
fi
18305
 
    fi
18306
 
else
18307
 
        pkg_failed=untried
 
20991
 else
 
20992
    pkg_failed=untried
18308
20993
fi
18309
 
if test -n "$PKG_CONFIG"; then
18310
 
    if test -n "$GLIBMM_LIBS"; then
18311
 
        pkg_cv_GLIBMM_LIBS="$GLIBMM_LIBS"
18312
 
    else
18313
 
        if test -n "$PKG_CONFIG" && \
18314
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4\""; } >&5
 
20994
if test -n "$GLIBMM_LIBS"; then
 
20995
    pkg_cv_GLIBMM_LIBS="$GLIBMM_LIBS"
 
20996
 elif test -n "$PKG_CONFIG"; then
 
20997
    if test -n "$PKG_CONFIG" && \
 
20998
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4\"") >&5
18315
20999
  ($PKG_CONFIG --exists --print-errors "glibmm-2.4") 2>&5
18316
21000
  ac_status=$?
18317
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18318
 
  test $ac_status = 0; }; then
 
21001
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21002
  (exit $ac_status); }; then
18319
21003
  pkg_cv_GLIBMM_LIBS=`$PKG_CONFIG --libs "glibmm-2.4" 2>/dev/null`
18320
21004
else
18321
21005
  pkg_failed=yes
18322
21006
fi
18323
 
    fi
18324
 
else
18325
 
        pkg_failed=untried
 
21007
 else
 
21008
    pkg_failed=untried
18326
21009
fi
18327
21010
 
18328
21011
 
18335
21018
        _pkg_short_errors_supported=no
18336
21019
fi
18337
21020
        if test $_pkg_short_errors_supported = yes; then
18338
 
                GLIBMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glibmm-2.4"`
 
21021
                GLIBMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glibmm-2.4" 2>&1`
18339
21022
        else
18340
 
                GLIBMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glibmm-2.4"`
 
21023
                GLIBMM_PKG_ERRORS=`$PKG_CONFIG --print-errors "glibmm-2.4" 2>&1`
18341
21024
        fi
18342
21025
        # Put the nasty error message in config.log where it belongs
18343
21026
        echo "$GLIBMM_PKG_ERRORS" >&5
18344
21027
 
18345
 
        as_fn_error "Package requirements (glibmm-2.4) were not met:
18346
 
 
18347
 
$GLIBMM_PKG_ERRORS
18348
 
 
18349
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
18350
 
installed software in a non-standard prefix.
18351
 
 
18352
 
Alternatively, you may set the environment variables GLIBMM_CFLAGS
18353
 
and GLIBMM_LIBS to avoid the need to call pkg-config.
18354
 
See the pkg-config man page for more details.
18355
 
" "$LINENO" 5
 
21028
        { { $as_echo "$as_me:$LINENO: error: Package requirements (glibmm-2.4) were not met:
 
21029
 
 
21030
$GLIBMM_PKG_ERRORS
 
21031
 
 
21032
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
21033
installed software in a non-standard prefix.
 
21034
 
 
21035
Alternatively, you may set the environment variables GLIBMM_CFLAGS
 
21036
and GLIBMM_LIBS to avoid the need to call pkg-config.
 
21037
See the pkg-config man page for more details.
 
21038
" >&5
 
21039
$as_echo "$as_me: error: Package requirements (glibmm-2.4) were not met:
 
21040
 
 
21041
$GLIBMM_PKG_ERRORS
 
21042
 
 
21043
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
21044
installed software in a non-standard prefix.
 
21045
 
 
21046
Alternatively, you may set the environment variables GLIBMM_CFLAGS
 
21047
and GLIBMM_LIBS to avoid the need to call pkg-config.
 
21048
See the pkg-config man page for more details.
 
21049
" >&2;}
 
21050
   { (exit 1); exit 1; }; }
18356
21051
elif test $pkg_failed = untried; then
18357
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
21052
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18358
21053
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18359
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
18360
 
is in your PATH or set the PKG_CONFIG environment variable to the full
18361
 
path to pkg-config.
18362
 
 
18363
 
Alternatively, you may set the environment variables GLIBMM_CFLAGS
18364
 
and GLIBMM_LIBS to avoid the need to call pkg-config.
18365
 
See the pkg-config man page for more details.
18366
 
 
18367
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18368
 
See \`config.log' for more details." "$LINENO" 5; }
 
21054
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
21055
is in your PATH or set the PKG_CONFIG environment variable to the full
 
21056
path to pkg-config.
 
21057
 
 
21058
Alternatively, you may set the environment variables GLIBMM_CFLAGS
 
21059
and GLIBMM_LIBS to avoid the need to call pkg-config.
 
21060
See the pkg-config man page for more details.
 
21061
 
 
21062
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
21063
See \`config.log' for more details." >&5
 
21064
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
21065
is in your PATH or set the PKG_CONFIG environment variable to the full
 
21066
path to pkg-config.
 
21067
 
 
21068
Alternatively, you may set the environment variables GLIBMM_CFLAGS
 
21069
and GLIBMM_LIBS to avoid the need to call pkg-config.
 
21070
See the pkg-config man page for more details.
 
21071
 
 
21072
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
21073
See \`config.log' for more details." >&2;}
 
21074
   { (exit 1); exit 1; }; }; }
18369
21075
else
18370
21076
        GLIBMM_CFLAGS=$pkg_cv_GLIBMM_CFLAGS
18371
21077
        GLIBMM_LIBS=$pkg_cv_GLIBMM_LIBS
18372
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
21078
        { $as_echo "$as_me:$LINENO: result: yes" >&5
18373
21079
$as_echo "yes" >&6; }
18374
21080
        :
18375
21081
fi
18380
21086
 
18381
21087
 
18382
21088
pkg_failed=no
18383
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKMM" >&5
 
21089
{ $as_echo "$as_me:$LINENO: checking for GTKMM" >&5
18384
21090
$as_echo_n "checking for GTKMM... " >&6; }
18385
21091
 
18386
 
if test -n "$PKG_CONFIG"; then
18387
 
    if test -n "$GTKMM_CFLAGS"; then
18388
 
        pkg_cv_GTKMM_CFLAGS="$GTKMM_CFLAGS"
18389
 
    else
18390
 
        if test -n "$PKG_CONFIG" && \
18391
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4\""; } >&5
 
21092
if test -n "$GTKMM_CFLAGS"; then
 
21093
    pkg_cv_GTKMM_CFLAGS="$GTKMM_CFLAGS"
 
21094
 elif test -n "$PKG_CONFIG"; then
 
21095
    if test -n "$PKG_CONFIG" && \
 
21096
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4\"") >&5
18392
21097
  ($PKG_CONFIG --exists --print-errors "gtkmm-2.4") 2>&5
18393
21098
  ac_status=$?
18394
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18395
 
  test $ac_status = 0; }; then
 
21099
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21100
  (exit $ac_status); }; then
18396
21101
  pkg_cv_GTKMM_CFLAGS=`$PKG_CONFIG --cflags "gtkmm-2.4" 2>/dev/null`
18397
21102
else
18398
21103
  pkg_failed=yes
18399
21104
fi
18400
 
    fi
18401
 
else
18402
 
        pkg_failed=untried
 
21105
 else
 
21106
    pkg_failed=untried
18403
21107
fi
18404
 
if test -n "$PKG_CONFIG"; then
18405
 
    if test -n "$GTKMM_LIBS"; then
18406
 
        pkg_cv_GTKMM_LIBS="$GTKMM_LIBS"
18407
 
    else
18408
 
        if test -n "$PKG_CONFIG" && \
18409
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4\""; } >&5
 
21108
if test -n "$GTKMM_LIBS"; then
 
21109
    pkg_cv_GTKMM_LIBS="$GTKMM_LIBS"
 
21110
 elif test -n "$PKG_CONFIG"; then
 
21111
    if test -n "$PKG_CONFIG" && \
 
21112
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4\"") >&5
18410
21113
  ($PKG_CONFIG --exists --print-errors "gtkmm-2.4") 2>&5
18411
21114
  ac_status=$?
18412
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18413
 
  test $ac_status = 0; }; then
 
21115
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21116
  (exit $ac_status); }; then
18414
21117
  pkg_cv_GTKMM_LIBS=`$PKG_CONFIG --libs "gtkmm-2.4" 2>/dev/null`
18415
21118
else
18416
21119
  pkg_failed=yes
18417
21120
fi
18418
 
    fi
18419
 
else
18420
 
        pkg_failed=untried
 
21121
 else
 
21122
    pkg_failed=untried
18421
21123
fi
18422
21124
 
18423
21125
 
18430
21132
        _pkg_short_errors_supported=no
18431
21133
fi
18432
21134
        if test $_pkg_short_errors_supported = yes; then
18433
 
                GTKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtkmm-2.4"`
 
21135
                GTKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtkmm-2.4" 2>&1`
18434
21136
        else
18435
 
                GTKMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkmm-2.4"`
 
21137
                GTKMM_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtkmm-2.4" 2>&1`
18436
21138
        fi
18437
21139
        # Put the nasty error message in config.log where it belongs
18438
21140
        echo "$GTKMM_PKG_ERRORS" >&5
18439
21141
 
18440
 
        as_fn_error "Package requirements (gtkmm-2.4) were not met:
18441
 
 
18442
 
$GTKMM_PKG_ERRORS
18443
 
 
18444
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
18445
 
installed software in a non-standard prefix.
18446
 
 
18447
 
Alternatively, you may set the environment variables GTKMM_CFLAGS
18448
 
and GTKMM_LIBS to avoid the need to call pkg-config.
18449
 
See the pkg-config man page for more details.
18450
 
" "$LINENO" 5
 
21142
        { { $as_echo "$as_me:$LINENO: error: Package requirements (gtkmm-2.4) were not met:
 
21143
 
 
21144
$GTKMM_PKG_ERRORS
 
21145
 
 
21146
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
21147
installed software in a non-standard prefix.
 
21148
 
 
21149
Alternatively, you may set the environment variables GTKMM_CFLAGS
 
21150
and GTKMM_LIBS to avoid the need to call pkg-config.
 
21151
See the pkg-config man page for more details.
 
21152
" >&5
 
21153
$as_echo "$as_me: error: Package requirements (gtkmm-2.4) were not met:
 
21154
 
 
21155
$GTKMM_PKG_ERRORS
 
21156
 
 
21157
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
21158
installed software in a non-standard prefix.
 
21159
 
 
21160
Alternatively, you may set the environment variables GTKMM_CFLAGS
 
21161
and GTKMM_LIBS to avoid the need to call pkg-config.
 
21162
See the pkg-config man page for more details.
 
21163
" >&2;}
 
21164
   { (exit 1); exit 1; }; }
18451
21165
elif test $pkg_failed = untried; then
18452
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
21166
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18453
21167
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18454
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
18455
 
is in your PATH or set the PKG_CONFIG environment variable to the full
18456
 
path to pkg-config.
18457
 
 
18458
 
Alternatively, you may set the environment variables GTKMM_CFLAGS
18459
 
and GTKMM_LIBS to avoid the need to call pkg-config.
18460
 
See the pkg-config man page for more details.
18461
 
 
18462
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18463
 
See \`config.log' for more details." "$LINENO" 5; }
 
21168
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
21169
is in your PATH or set the PKG_CONFIG environment variable to the full
 
21170
path to pkg-config.
 
21171
 
 
21172
Alternatively, you may set the environment variables GTKMM_CFLAGS
 
21173
and GTKMM_LIBS to avoid the need to call pkg-config.
 
21174
See the pkg-config man page for more details.
 
21175
 
 
21176
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
21177
See \`config.log' for more details." >&5
 
21178
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
21179
is in your PATH or set the PKG_CONFIG environment variable to the full
 
21180
path to pkg-config.
 
21181
 
 
21182
Alternatively, you may set the environment variables GTKMM_CFLAGS
 
21183
and GTKMM_LIBS to avoid the need to call pkg-config.
 
21184
See the pkg-config man page for more details.
 
21185
 
 
21186
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
21187
See \`config.log' for more details." >&2;}
 
21188
   { (exit 1); exit 1; }; }; }
18464
21189
else
18465
21190
        GTKMM_CFLAGS=$pkg_cv_GTKMM_CFLAGS
18466
21191
        GTKMM_LIBS=$pkg_cv_GTKMM_LIBS
18467
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
21192
        { $as_echo "$as_me:$LINENO: result: yes" >&5
18468
21193
$as_echo "yes" >&6; }
18469
21194
        :
18470
21195
fi
18475
21200
 
18476
21201
 
18477
21202
pkg_failed=no
18478
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNET" >&5
 
21203
{ $as_echo "$as_me:$LINENO: checking for LIBGNET" >&5
18479
21204
$as_echo_n "checking for LIBGNET... " >&6; }
18480
21205
 
18481
 
if test -n "$PKG_CONFIG"; then
18482
 
    if test -n "$LIBGNET_CFLAGS"; then
18483
 
        pkg_cv_LIBGNET_CFLAGS="$LIBGNET_CFLAGS"
18484
 
    else
18485
 
        if test -n "$PKG_CONFIG" && \
18486
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnet-2.0\""; } >&5
 
21206
if test -n "$LIBGNET_CFLAGS"; then
 
21207
    pkg_cv_LIBGNET_CFLAGS="$LIBGNET_CFLAGS"
 
21208
 elif test -n "$PKG_CONFIG"; then
 
21209
    if test -n "$PKG_CONFIG" && \
 
21210
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnet-2.0\"") >&5
18487
21211
  ($PKG_CONFIG --exists --print-errors "gnet-2.0") 2>&5
18488
21212
  ac_status=$?
18489
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18490
 
  test $ac_status = 0; }; then
 
21213
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21214
  (exit $ac_status); }; then
18491
21215
  pkg_cv_LIBGNET_CFLAGS=`$PKG_CONFIG --cflags "gnet-2.0" 2>/dev/null`
18492
21216
else
18493
21217
  pkg_failed=yes
18494
21218
fi
18495
 
    fi
18496
 
else
18497
 
        pkg_failed=untried
 
21219
 else
 
21220
    pkg_failed=untried
18498
21221
fi
18499
 
if test -n "$PKG_CONFIG"; then
18500
 
    if test -n "$LIBGNET_LIBS"; then
18501
 
        pkg_cv_LIBGNET_LIBS="$LIBGNET_LIBS"
18502
 
    else
18503
 
        if test -n "$PKG_CONFIG" && \
18504
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnet-2.0\""; } >&5
 
21222
if test -n "$LIBGNET_LIBS"; then
 
21223
    pkg_cv_LIBGNET_LIBS="$LIBGNET_LIBS"
 
21224
 elif test -n "$PKG_CONFIG"; then
 
21225
    if test -n "$PKG_CONFIG" && \
 
21226
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnet-2.0\"") >&5
18505
21227
  ($PKG_CONFIG --exists --print-errors "gnet-2.0") 2>&5
18506
21228
  ac_status=$?
18507
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18508
 
  test $ac_status = 0; }; then
 
21229
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21230
  (exit $ac_status); }; then
18509
21231
  pkg_cv_LIBGNET_LIBS=`$PKG_CONFIG --libs "gnet-2.0" 2>/dev/null`
18510
21232
else
18511
21233
  pkg_failed=yes
18512
21234
fi
18513
 
    fi
18514
 
else
18515
 
        pkg_failed=untried
 
21235
 else
 
21236
    pkg_failed=untried
18516
21237
fi
18517
21238
 
18518
21239
 
18525
21246
        _pkg_short_errors_supported=no
18526
21247
fi
18527
21248
        if test $_pkg_short_errors_supported = yes; then
18528
 
                LIBGNET_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnet-2.0"`
 
21249
                LIBGNET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gnet-2.0" 2>&1`
18529
21250
        else
18530
 
                LIBGNET_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnet-2.0"`
 
21251
                LIBGNET_PKG_ERRORS=`$PKG_CONFIG --print-errors "gnet-2.0" 2>&1`
18531
21252
        fi
18532
21253
        # Put the nasty error message in config.log where it belongs
18533
21254
        echo "$LIBGNET_PKG_ERRORS" >&5
18534
21255
 
18535
 
        as_fn_error "Package requirements (gnet-2.0) were not met:
18536
 
 
18537
 
$LIBGNET_PKG_ERRORS
18538
 
 
18539
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
18540
 
installed software in a non-standard prefix.
18541
 
 
18542
 
Alternatively, you may set the environment variables LIBGNET_CFLAGS
18543
 
and LIBGNET_LIBS to avoid the need to call pkg-config.
18544
 
See the pkg-config man page for more details.
18545
 
" "$LINENO" 5
 
21256
        { { $as_echo "$as_me:$LINENO: error: Package requirements (gnet-2.0) were not met:
 
21257
 
 
21258
$LIBGNET_PKG_ERRORS
 
21259
 
 
21260
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
21261
installed software in a non-standard prefix.
 
21262
 
 
21263
Alternatively, you may set the environment variables LIBGNET_CFLAGS
 
21264
and LIBGNET_LIBS to avoid the need to call pkg-config.
 
21265
See the pkg-config man page for more details.
 
21266
" >&5
 
21267
$as_echo "$as_me: error: Package requirements (gnet-2.0) were not met:
 
21268
 
 
21269
$LIBGNET_PKG_ERRORS
 
21270
 
 
21271
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
21272
installed software in a non-standard prefix.
 
21273
 
 
21274
Alternatively, you may set the environment variables LIBGNET_CFLAGS
 
21275
and LIBGNET_LIBS to avoid the need to call pkg-config.
 
21276
See the pkg-config man page for more details.
 
21277
" >&2;}
 
21278
   { (exit 1); exit 1; }; }
18546
21279
elif test $pkg_failed = untried; then
18547
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
21280
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18548
21281
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18549
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
18550
 
is in your PATH or set the PKG_CONFIG environment variable to the full
18551
 
path to pkg-config.
18552
 
 
18553
 
Alternatively, you may set the environment variables LIBGNET_CFLAGS
18554
 
and LIBGNET_LIBS to avoid the need to call pkg-config.
18555
 
See the pkg-config man page for more details.
18556
 
 
18557
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18558
 
See \`config.log' for more details." "$LINENO" 5; }
 
21282
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
21283
is in your PATH or set the PKG_CONFIG environment variable to the full
 
21284
path to pkg-config.
 
21285
 
 
21286
Alternatively, you may set the environment variables LIBGNET_CFLAGS
 
21287
and LIBGNET_LIBS to avoid the need to call pkg-config.
 
21288
See the pkg-config man page for more details.
 
21289
 
 
21290
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
21291
See \`config.log' for more details." >&5
 
21292
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
21293
is in your PATH or set the PKG_CONFIG environment variable to the full
 
21294
path to pkg-config.
 
21295
 
 
21296
Alternatively, you may set the environment variables LIBGNET_CFLAGS
 
21297
and LIBGNET_LIBS to avoid the need to call pkg-config.
 
21298
See the pkg-config man page for more details.
 
21299
 
 
21300
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
21301
See \`config.log' for more details." >&2;}
 
21302
   { (exit 1); exit 1; }; }; }
18559
21303
else
18560
21304
        LIBGNET_CFLAGS=$pkg_cv_LIBGNET_CFLAGS
18561
21305
        LIBGNET_LIBS=$pkg_cv_LIBGNET_LIBS
18562
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
21306
        { $as_echo "$as_me:$LINENO: result: yes" >&5
18563
21307
$as_echo "yes" >&6; }
18564
21308
        :
18565
21309
fi
18570
21314
 
18571
21315
 
18572
21316
pkg_failed=no
18573
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSIGC" >&5
 
21317
{ $as_echo "$as_me:$LINENO: checking for LIBSIGC" >&5
18574
21318
$as_echo_n "checking for LIBSIGC... " >&6; }
18575
21319
 
18576
 
if test -n "$PKG_CONFIG"; then
18577
 
    if test -n "$LIBSIGC_CFLAGS"; then
18578
 
        pkg_cv_LIBSIGC_CFLAGS="$LIBSIGC_CFLAGS"
18579
 
    else
18580
 
        if test -n "$PKG_CONFIG" && \
18581
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sigc++-2.0\""; } >&5
 
21320
if test -n "$LIBSIGC_CFLAGS"; then
 
21321
    pkg_cv_LIBSIGC_CFLAGS="$LIBSIGC_CFLAGS"
 
21322
 elif test -n "$PKG_CONFIG"; then
 
21323
    if test -n "$PKG_CONFIG" && \
 
21324
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sigc++-2.0\"") >&5
18582
21325
  ($PKG_CONFIG --exists --print-errors "sigc++-2.0") 2>&5
18583
21326
  ac_status=$?
18584
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18585
 
  test $ac_status = 0; }; then
 
21327
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21328
  (exit $ac_status); }; then
18586
21329
  pkg_cv_LIBSIGC_CFLAGS=`$PKG_CONFIG --cflags "sigc++-2.0" 2>/dev/null`
18587
21330
else
18588
21331
  pkg_failed=yes
18589
21332
fi
18590
 
    fi
18591
 
else
18592
 
        pkg_failed=untried
 
21333
 else
 
21334
    pkg_failed=untried
18593
21335
fi
18594
 
if test -n "$PKG_CONFIG"; then
18595
 
    if test -n "$LIBSIGC_LIBS"; then
18596
 
        pkg_cv_LIBSIGC_LIBS="$LIBSIGC_LIBS"
18597
 
    else
18598
 
        if test -n "$PKG_CONFIG" && \
18599
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sigc++-2.0\""; } >&5
 
21336
if test -n "$LIBSIGC_LIBS"; then
 
21337
    pkg_cv_LIBSIGC_LIBS="$LIBSIGC_LIBS"
 
21338
 elif test -n "$PKG_CONFIG"; then
 
21339
    if test -n "$PKG_CONFIG" && \
 
21340
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sigc++-2.0\"") >&5
18600
21341
  ($PKG_CONFIG --exists --print-errors "sigc++-2.0") 2>&5
18601
21342
  ac_status=$?
18602
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18603
 
  test $ac_status = 0; }; then
 
21343
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21344
  (exit $ac_status); }; then
18604
21345
  pkg_cv_LIBSIGC_LIBS=`$PKG_CONFIG --libs "sigc++-2.0" 2>/dev/null`
18605
21346
else
18606
21347
  pkg_failed=yes
18607
21348
fi
18608
 
    fi
18609
 
else
18610
 
        pkg_failed=untried
 
21349
 else
 
21350
    pkg_failed=untried
18611
21351
fi
18612
21352
 
18613
21353
 
18620
21360
        _pkg_short_errors_supported=no
18621
21361
fi
18622
21362
        if test $_pkg_short_errors_supported = yes; then
18623
 
                LIBSIGC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sigc++-2.0"`
 
21363
                LIBSIGC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sigc++-2.0" 2>&1`
18624
21364
        else
18625
 
                LIBSIGC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sigc++-2.0"`
 
21365
                LIBSIGC_PKG_ERRORS=`$PKG_CONFIG --print-errors "sigc++-2.0" 2>&1`
18626
21366
        fi
18627
21367
        # Put the nasty error message in config.log where it belongs
18628
21368
        echo "$LIBSIGC_PKG_ERRORS" >&5
18629
21369
 
18630
 
        as_fn_error "Package requirements (sigc++-2.0) were not met:
18631
 
 
18632
 
$LIBSIGC_PKG_ERRORS
18633
 
 
18634
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
18635
 
installed software in a non-standard prefix.
18636
 
 
18637
 
Alternatively, you may set the environment variables LIBSIGC_CFLAGS
18638
 
and LIBSIGC_LIBS to avoid the need to call pkg-config.
18639
 
See the pkg-config man page for more details.
18640
 
" "$LINENO" 5
 
21370
        { { $as_echo "$as_me:$LINENO: error: Package requirements (sigc++-2.0) were not met:
 
21371
 
 
21372
$LIBSIGC_PKG_ERRORS
 
21373
 
 
21374
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
21375
installed software in a non-standard prefix.
 
21376
 
 
21377
Alternatively, you may set the environment variables LIBSIGC_CFLAGS
 
21378
and LIBSIGC_LIBS to avoid the need to call pkg-config.
 
21379
See the pkg-config man page for more details.
 
21380
" >&5
 
21381
$as_echo "$as_me: error: Package requirements (sigc++-2.0) were not met:
 
21382
 
 
21383
$LIBSIGC_PKG_ERRORS
 
21384
 
 
21385
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
21386
installed software in a non-standard prefix.
 
21387
 
 
21388
Alternatively, you may set the environment variables LIBSIGC_CFLAGS
 
21389
and LIBSIGC_LIBS to avoid the need to call pkg-config.
 
21390
See the pkg-config man page for more details.
 
21391
" >&2;}
 
21392
   { (exit 1); exit 1; }; }
18641
21393
elif test $pkg_failed = untried; then
18642
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
21394
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18643
21395
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18644
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
18645
 
is in your PATH or set the PKG_CONFIG environment variable to the full
18646
 
path to pkg-config.
18647
 
 
18648
 
Alternatively, you may set the environment variables LIBSIGC_CFLAGS
18649
 
and LIBSIGC_LIBS to avoid the need to call pkg-config.
18650
 
See the pkg-config man page for more details.
18651
 
 
18652
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18653
 
See \`config.log' for more details." "$LINENO" 5; }
 
21396
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
21397
is in your PATH or set the PKG_CONFIG environment variable to the full
 
21398
path to pkg-config.
 
21399
 
 
21400
Alternatively, you may set the environment variables LIBSIGC_CFLAGS
 
21401
and LIBSIGC_LIBS to avoid the need to call pkg-config.
 
21402
See the pkg-config man page for more details.
 
21403
 
 
21404
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
21405
See \`config.log' for more details." >&5
 
21406
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
21407
is in your PATH or set the PKG_CONFIG environment variable to the full
 
21408
path to pkg-config.
 
21409
 
 
21410
Alternatively, you may set the environment variables LIBSIGC_CFLAGS
 
21411
and LIBSIGC_LIBS to avoid the need to call pkg-config.
 
21412
See the pkg-config man page for more details.
 
21413
 
 
21414
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
21415
See \`config.log' for more details." >&2;}
 
21416
   { (exit 1); exit 1; }; }; }
18654
21417
else
18655
21418
        LIBSIGC_CFLAGS=$pkg_cv_LIBSIGC_CFLAGS
18656
21419
        LIBSIGC_LIBS=$pkg_cv_LIBSIGC_LIBS
18657
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
21420
        { $as_echo "$as_me:$LINENO: result: yes" >&5
18658
21421
$as_echo "yes" >&6; }
18659
21422
        :
18660
21423
fi
18666
21429
 
18667
21430
 
18668
21431
# Check whether --enable-editor was given.
18669
 
if test "${enable_editor+set}" = set; then :
 
21432
if test "${enable_editor+set}" = set; then
18670
21433
  enableval=$enable_editor; use_editor="$enableval"
18671
21434
else
18672
21435
  use_editor="yes"
18682
21445
 
18683
21446
 
18684
21447
# Check whether --enable-pbm was given.
18685
 
if test "${enable_pbm+set}" = set; then :
 
21448
if test "${enable_pbm+set}" = set; then
18686
21449
  enableval=$enable_pbm; use_pbm="$enableval"
18687
21450
else
18688
21451
  use_pbm="yes"
18699
21462
 
18700
21463
 
18701
21464
# Check whether --with-resolution was given.
18702
 
if test "${with_resolution+set}" = set; then :
 
21465
if test "${with_resolution+set}" = set; then
18703
21466
  withval=$with_resolution; SCREEN_RESOLUTION="$withval"
18704
21467
else
18705
21468
  SCREEN_RESOLUTION="800x600"
18708
21471
 
18709
21472
 
18710
21473
# Check whether --enable-zipfiles was given.
18711
 
if test "${enable_zipfiles+set}" = set; then :
 
21474
if test "${enable_zipfiles+set}" = set; then
18712
21475
  enableval=$enable_zipfiles; zipfiles="$enableval"
18713
21476
else
18714
21477
  zipfiles="no"
18723
21486
 
18724
21487
 
18725
21488
# Check whether --enable-optimizations was given.
18726
 
if test "${enable_optimizations+set}" = set; then :
 
21489
if test "${enable_optimizations+set}" = set; then
18727
21490
  enableval=$enable_optimizations; use_opts="$enableval"
18728
21491
else
18729
21492
  use_opts="yes"
18731
21494
 
18732
21495
 
18733
21496
if test x$use_opts = xno; then
18734
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Optimizations have been disabled" >&5
 
21497
    { $as_echo "$as_me:$LINENO: WARNING: Optimizations have been disabled" >&5
18735
21498
$as_echo "$as_me: WARNING: Optimizations have been disabled" >&2;}
18736
21499
    CXXFLAGS=-g
18737
21500
fi
18745
21508
    BOOST_CPPFLAGS=''
18746
21509
 
18747
21510
# Check whether --with-boost_includedir was given.
18748
 
if test "${with_boost_includedir+set}" = set; then :
 
21511
if test "${with_boost_includedir+set}" = set; then
18749
21512
  withval=$with_boost_includedir; am_boost_dir=$withval
18750
21513
else
18751
21514
  am_boost_dir=$am_boost_dir_default
18752
21515
fi
18753
21516
 
18754
21517
 
18755
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for boost directory" >&5
 
21518
    { $as_echo "$as_me:$LINENO: checking for boost directory" >&5
18756
21519
$as_echo_n "checking for boost directory... " >&6; }
18757
21520
    if test -d $am_boost_dir/boost; then
18758
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_boost_dir/boost" >&5
 
21521
        { $as_echo "$as_me:$LINENO: result: $am_boost_dir/boost" >&5
18759
21522
$as_echo "$am_boost_dir/boost" >&6; }
18760
21523
        BOOST_CPPFLAGS="-I$am_boost_dir"
18761
21524
        old_CPPFLAGS=$CPPFLAGS
18766
21529
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18767
21530
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18768
21531
 
18769
 
        for ac_header in boost/version.hpp
18770
 
do :
18771
 
  ac_fn_cxx_check_header_mongrel "$LINENO" "boost/version.hpp" "ac_cv_header_boost_version_hpp" "$ac_includes_default"
18772
 
if test "x$ac_cv_header_boost_version_hpp" = x""yes; then :
 
21532
 
 
21533
for ac_header in boost/version.hpp
 
21534
do
 
21535
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
21536
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21537
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21538
$as_echo_n "checking for $ac_header... " >&6; }
 
21539
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21540
  $as_echo_n "(cached) " >&6
 
21541
fi
 
21542
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
21543
                 $as_echo "$as_val"'`
 
21544
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21545
$as_echo "$ac_res" >&6; }
 
21546
else
 
21547
  # Is the header compilable?
 
21548
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
21549
$as_echo_n "checking $ac_header usability... " >&6; }
 
21550
cat >conftest.$ac_ext <<_ACEOF
 
21551
/* confdefs.h.  */
 
21552
_ACEOF
 
21553
cat confdefs.h >>conftest.$ac_ext
 
21554
cat >>conftest.$ac_ext <<_ACEOF
 
21555
/* end confdefs.h.  */
 
21556
$ac_includes_default
 
21557
#include <$ac_header>
 
21558
_ACEOF
 
21559
rm -f conftest.$ac_objext
 
21560
if { (ac_try="$ac_compile"
 
21561
case "(($ac_try" in
 
21562
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21563
  *) ac_try_echo=$ac_try;;
 
21564
esac
 
21565
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21566
$as_echo "$ac_try_echo") >&5
 
21567
  (eval "$ac_compile") 2>conftest.er1
 
21568
  ac_status=$?
 
21569
  grep -v '^ *+' conftest.er1 >conftest.err
 
21570
  rm -f conftest.er1
 
21571
  cat conftest.err >&5
 
21572
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21573
  (exit $ac_status); } && {
 
21574
         test -z "$ac_cxx_werror_flag" ||
 
21575
         test ! -s conftest.err
 
21576
       } && test -s conftest.$ac_objext; then
 
21577
  ac_header_compiler=yes
 
21578
else
 
21579
  $as_echo "$as_me: failed program was:" >&5
 
21580
sed 's/^/| /' conftest.$ac_ext >&5
 
21581
 
 
21582
        ac_header_compiler=no
 
21583
fi
 
21584
 
 
21585
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21586
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21587
$as_echo "$ac_header_compiler" >&6; }
 
21588
 
 
21589
# Is the header present?
 
21590
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
21591
$as_echo_n "checking $ac_header presence... " >&6; }
 
21592
cat >conftest.$ac_ext <<_ACEOF
 
21593
/* confdefs.h.  */
 
21594
_ACEOF
 
21595
cat confdefs.h >>conftest.$ac_ext
 
21596
cat >>conftest.$ac_ext <<_ACEOF
 
21597
/* end confdefs.h.  */
 
21598
#include <$ac_header>
 
21599
_ACEOF
 
21600
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
21601
case "(($ac_try" in
 
21602
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21603
  *) ac_try_echo=$ac_try;;
 
21604
esac
 
21605
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21606
$as_echo "$ac_try_echo") >&5
 
21607
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
21608
  ac_status=$?
 
21609
  grep -v '^ *+' conftest.er1 >conftest.err
 
21610
  rm -f conftest.er1
 
21611
  cat conftest.err >&5
 
21612
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21613
  (exit $ac_status); } >/dev/null && {
 
21614
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
21615
         test ! -s conftest.err
 
21616
       }; then
 
21617
  ac_header_preproc=yes
 
21618
else
 
21619
  $as_echo "$as_me: failed program was:" >&5
 
21620
sed 's/^/| /' conftest.$ac_ext >&5
 
21621
 
 
21622
  ac_header_preproc=no
 
21623
fi
 
21624
 
 
21625
rm -f conftest.err conftest.$ac_ext
 
21626
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21627
$as_echo "$ac_header_preproc" >&6; }
 
21628
 
 
21629
# So?  What about this header?
 
21630
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
 
21631
  yes:no: )
 
21632
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
21633
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
21634
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
21635
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
21636
    ac_header_preproc=yes
 
21637
    ;;
 
21638
  no:yes:* )
 
21639
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
21640
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
21641
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
21642
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
21643
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
21644
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
21645
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
21646
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
21647
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
21648
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
21649
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
21650
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
21651
    ( cat <<\_ASBOX
 
21652
## ------------------------------------------- ##
 
21653
## Report this to lordsawar-discuss@nongnu.org ##
 
21654
## ------------------------------------------- ##
 
21655
_ASBOX
 
21656
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
21657
    ;;
 
21658
esac
 
21659
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21660
$as_echo_n "checking for $ac_header... " >&6; }
 
21661
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21662
  $as_echo_n "(cached) " >&6
 
21663
else
 
21664
  eval "$as_ac_Header=\$ac_header_preproc"
 
21665
fi
 
21666
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
21667
                 $as_echo "$as_val"'`
 
21668
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21669
$as_echo "$ac_res" >&6; }
 
21670
 
 
21671
fi
 
21672
as_val=`eval 'as_val=${'$as_ac_Header'}
 
21673
                 $as_echo "$as_val"'`
 
21674
   if test "x$as_val" = x""yes; then
18773
21675
  cat >>confdefs.h <<_ACEOF
18774
 
#define HAVE_BOOST_VERSION_HPP 1
 
21676
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18775
21677
_ACEOF
18776
21678
 :
18777
21679
else
18778
 
  as_fn_error "*** Boost library not found! Install it." "$LINENO" 5
 
21680
  { { $as_echo "$as_me:$LINENO: error: *** Boost library not found! Install it." >&5
 
21681
$as_echo "$as_me: error: *** Boost library not found! Install it." >&2;}
 
21682
   { (exit 1); exit 1; }; }
18779
21683
fi
18780
21684
 
18781
21685
done
18789
21693
        CPPFLAGS=$old_CPPFLAGS
18790
21694
 
18791
21695
    else
18792
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
 
21696
        { $as_echo "$as_me:$LINENO: result: not found" >&5
18793
21697
$as_echo "not found" >&6; }
18794
 
        as_fn_error "*** Can't find directory $am_boost_dir/boost" "$LINENO" 5
18795
 
        as_fn_error "*** Boost library not found! Install it." "$LINENO" 5
 
21698
        { { $as_echo "$as_me:$LINENO: error: *** Can't find directory $am_boost_dir/boost" >&5
 
21699
$as_echo "$as_me: error: *** Can't find directory $am_boost_dir/boost" >&2;}
 
21700
   { (exit 1); exit 1; }; }
 
21701
        { { $as_echo "$as_me:$LINENO: error: *** Boost library not found! Install it." >&5
 
21702
$as_echo "$as_me: error: *** Boost library not found! Install it." >&2;}
 
21703
   { (exit 1); exit 1; }; }
18796
21704
    fi
18797
21705
 
18798
21706
 
18807
21715
LORDSAWAR_DATADIR=${LORDSAWAR_DATADIR/'${prefix}'/$prefix}
18808
21716
 
18809
21717
 
18810
 
ac_config_files="$ac_config_files dat/Makefile dat/army/Makefile dat/army/default/Makefile dat/army/bigdefault/Makefile dat/tilesets/Makefile dat/tilesets/default/Makefile dat/tilesets/bigdefault/Makefile dat/tilesets/stark/Makefile dat/tilesets/bigstark/Makefile dat/shield/Makefile dat/shield/default/Makefile dat/shield/plain/Makefile dat/shield/dol/Makefile dat/citysets/Makefile dat/citysets/default/Makefile dat/citysets/bigdefault/Makefile dat/citysets/dol/Makefile dat/citysets/bigdol/Makefile dat/various/Makefile dat/various/items/Makefile dat/various/editor/Makefile dat/map/Makefile dat/campaign/Makefile dat/music/Makefile dat/glade/Makefile dat/glade/editor/Makefile po/Makefile.in Makefile src/Makefile doc/Makefile help/Makefile help/figures/Makefile src/editor/Makefile src/pbm/Makefile src/gui/Makefile"
 
21718
ac_config_files="$ac_config_files dat/Makefile dat/army/Makefile dat/army/default/Makefile dat/army/bigdefault/Makefile dat/tilesets/Makefile dat/tilesets/default/Makefile dat/tilesets/bigdefault/Makefile dat/tilesets/stark/Makefile dat/tilesets/bigstark/Makefile dat/tilesets/wesnoth/Makefile dat/tilesets/bigwesnoth/Makefile dat/shield/Makefile dat/shield/default/Makefile dat/shield/plain/Makefile dat/shield/dol/Makefile dat/citysets/Makefile dat/citysets/default/Makefile dat/citysets/bigdefault/Makefile dat/citysets/dol/Makefile dat/citysets/bigdol/Makefile dat/various/Makefile dat/various/items/Makefile dat/various/editor/Makefile dat/map/Makefile dat/music/Makefile dat/glade/Makefile dat/glade/editor/Makefile po/Makefile.in Makefile src/Makefile doc/Makefile help/Makefile help/figures/Makefile src/editor/Makefile src/pbm/Makefile src/gui/Makefile"
18811
21719
 
18812
21720
cat >confcache <<\_ACEOF
18813
21721
# This file is a shell script that caches the results of configure
18836
21744
    case $ac_val in #(
18837
21745
    *${as_nl}*)
18838
21746
      case $ac_var in #(
18839
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
21747
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
18840
21748
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18841
21749
      esac
18842
21750
      case $ac_var in #(
18843
21751
      _ | IFS | as_nl) ;; #(
18844
21752
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18845
 
      *) { eval $ac_var=; unset $ac_var;} ;;
 
21753
      *) $as_unset $ac_var ;;
18846
21754
      esac ;;
18847
21755
    esac
18848
21756
  done
18850
21758
  (set) 2>&1 |
18851
21759
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
18852
21760
    *${as_nl}ac_space=\ *)
18853
 
      # `set' does not quote correctly, so add quotes: double-quote
18854
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
 
21761
      # `set' does not quote correctly, so add quotes (double-quote
 
21762
      # substitution turns \\\\ into \\, and sed turns \\ into \).
18855
21763
      sed -n \
18856
21764
        "s/'/'\\\\''/g;
18857
21765
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18874
21782
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18875
21783
  if test -w "$cache_file"; then
18876
21784
    test "x$cache_file" != "x/dev/null" &&
18877
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
21785
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
18878
21786
$as_echo "$as_me: updating cache $cache_file" >&6;}
18879
21787
    cat confcache >$cache_file
18880
21788
  else
18881
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
21789
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
18882
21790
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18883
21791
  fi
18884
21792
fi
18898
21806
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18899
21807
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
18900
21808
  #    will be set to the directory where LIBOBJS objects are built.
18901
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18902
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
21809
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
21810
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
18903
21811
done
18904
21812
LIBOBJS=$ac_libobjs
18905
21813
 
18915
21823
fi
18916
21824
 
18917
21825
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18918
 
  as_fn_error "conditional \"AMDEP\" was never defined.
18919
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
21826
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
21827
Usually this means the macro was only invoked conditionally." >&5
 
21828
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
21829
Usually this means the macro was only invoked conditionally." >&2;}
 
21830
   { (exit 1); exit 1; }; }
18920
21831
fi
18921
21832
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18922
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
18923
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
21833
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
21834
Usually this means the macro was only invoked conditionally." >&5
 
21835
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
21836
Usually this means the macro was only invoked conditionally." >&2;}
 
21837
   { (exit 1); exit 1; }; }
18924
21838
fi
18925
21839
 
18926
21840
  ac_config_commands="$ac_config_commands po/stamp-it"
18927
21841
 
18928
21842
 
18929
21843
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18930
 
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
18931
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
21844
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 
21845
Usually this means the macro was only invoked conditionally." >&5
 
21846
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
21847
Usually this means the macro was only invoked conditionally." >&2;}
 
21848
   { (exit 1); exit 1; }; }
18932
21849
fi
18933
21850
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18934
 
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
18935
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
21851
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 
21852
Usually this means the macro was only invoked conditionally." >&5
 
21853
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
21854
Usually this means the macro was only invoked conditionally." >&2;}
 
21855
   { (exit 1); exit 1; }; }
18936
21856
fi
18937
21857
if test -z "${FL_RESRC_TRUE}" && test -z "${FL_RESRC_FALSE}"; then
18938
 
  as_fn_error "conditional \"FL_RESRC\" was never defined.
18939
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
21858
  { { $as_echo "$as_me:$LINENO: error: conditional \"FL_RESRC\" was never defined.
 
21859
Usually this means the macro was only invoked conditionally." >&5
 
21860
$as_echo "$as_me: error: conditional \"FL_RESRC\" was never defined.
 
21861
Usually this means the macro was only invoked conditionally." >&2;}
 
21862
   { (exit 1); exit 1; }; }
18940
21863
fi
18941
21864
if test -z "${WANT_EDITOR_TRUE}" && test -z "${WANT_EDITOR_FALSE}"; then
18942
 
  as_fn_error "conditional \"WANT_EDITOR\" was never defined.
18943
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
21865
  { { $as_echo "$as_me:$LINENO: error: conditional \"WANT_EDITOR\" was never defined.
 
21866
Usually this means the macro was only invoked conditionally." >&5
 
21867
$as_echo "$as_me: error: conditional \"WANT_EDITOR\" was never defined.
 
21868
Usually this means the macro was only invoked conditionally." >&2;}
 
21869
   { (exit 1); exit 1; }; }
18944
21870
fi
18945
21871
if test -z "${WANT_PBM_TRUE}" && test -z "${WANT_PBM_FALSE}"; then
18946
 
  as_fn_error "conditional \"WANT_PBM\" was never defined.
18947
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
21872
  { { $as_echo "$as_me:$LINENO: error: conditional \"WANT_PBM\" was never defined.
 
21873
Usually this means the macro was only invoked conditionally." >&5
 
21874
$as_echo "$as_me: error: conditional \"WANT_PBM\" was never defined.
 
21875
Usually this means the macro was only invoked conditionally." >&2;}
 
21876
   { (exit 1); exit 1; }; }
18948
21877
fi
18949
21878
 
18950
21879
: ${CONFIG_STATUS=./config.status}
18951
21880
ac_write_fail=0
18952
21881
ac_clean_files_save=$ac_clean_files
18953
21882
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18954
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
21883
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
18955
21884
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18956
 
as_write_fail=0
18957
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 
21885
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18958
21886
#! $SHELL
18959
21887
# Generated by $as_me.
18960
21888
# Run this file to recreate the current configuration.
18964
21892
debug=false
18965
21893
ac_cs_recheck=false
18966
21894
ac_cs_silent=false
18967
 
 
18968
21895
SHELL=\${CONFIG_SHELL-$SHELL}
18969
 
export SHELL
18970
 
_ASEOF
18971
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18972
 
## -------------------- ##
18973
 
## M4sh Initialization. ##
18974
 
## -------------------- ##
 
21896
_ACEOF
 
21897
 
 
21898
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
21899
## --------------------- ##
 
21900
## M4sh Initialization.  ##
 
21901
## --------------------- ##
18975
21902
 
18976
21903
# Be more Bourne compatible
18977
21904
DUALCASE=1; export DUALCASE # for MKS sh
18978
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
21905
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18979
21906
  emulate sh
18980
21907
  NULLCMD=:
18981
21908
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18983
21910
  alias -g '${1+"$@"}'='"$@"'
18984
21911
  setopt NO_GLOB_SUBST
18985
21912
else
18986
 
  case `(set -o) 2>/dev/null` in #(
18987
 
  *posix*) :
18988
 
    set -o posix ;; #(
18989
 
  *) :
18990
 
     ;;
 
21913
  case `(set -o) 2>/dev/null` in
 
21914
  *posix*) set -o posix ;;
18991
21915
esac
 
21916
 
18992
21917
fi
18993
21918
 
18994
21919
 
 
21920
 
 
21921
 
 
21922
# PATH needs CR
 
21923
# Avoid depending upon Character Ranges.
 
21924
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
21925
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
21926
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
21927
as_cr_digits='0123456789'
 
21928
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
21929
 
18995
21930
as_nl='
18996
21931
'
18997
21932
export as_nl
18999
21934
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19000
21935
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19001
21936
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19002
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
19003
 
# but without wasting forks for bash or zsh.
19004
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
19005
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19006
 
  as_echo='print -r --'
19007
 
  as_echo_n='print -rn --'
19008
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
21937
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19009
21938
  as_echo='printf %s\n'
19010
21939
  as_echo_n='printf %s'
19011
21940
else
19016
21945
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19017
21946
    as_echo_n_body='eval
19018
21947
      arg=$1;
19019
 
      case $arg in #(
 
21948
      case $arg in
19020
21949
      *"$as_nl"*)
19021
21950
        expr "X$arg" : "X\\(.*\\)$as_nl";
19022
21951
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19039
21968
  }
19040
21969
fi
19041
21970
 
 
21971
# Support unset when possible.
 
21972
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
21973
  as_unset=unset
 
21974
else
 
21975
  as_unset=false
 
21976
fi
 
21977
 
19042
21978
 
19043
21979
# IFS
19044
21980
# We need space, tab and new line, in precisely that order.  Quoting is
19048
21984
IFS=" ""        $as_nl"
19049
21985
 
19050
21986
# Find who we are.  Look in the path if we contain no directory separator.
19051
 
case $0 in #((
 
21987
case $0 in
19052
21988
  *[\\/]* ) as_myself=$0 ;;
19053
21989
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19054
21990
for as_dir in $PATH
19055
21991
do
19056
21992
  IFS=$as_save_IFS
19057
21993
  test -z "$as_dir" && as_dir=.
19058
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19059
 
  done
 
21994
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
21995
done
19060
21996
IFS=$as_save_IFS
19061
21997
 
19062
21998
     ;;
19068
22004
fi
19069
22005
if test ! -f "$as_myself"; then
19070
22006
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19071
 
  exit 1
 
22007
  { (exit 1); exit 1; }
19072
22008
fi
19073
22009
 
19074
 
# Unset variables that we do not need and which cause bugs (e.g. in
19075
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
19076
 
# suppresses any "Segmentation fault" message there.  '((' could
19077
 
# trigger a bug in pdksh 5.2.14.
19078
 
for as_var in BASH_ENV ENV MAIL MAILPATH
19079
 
do eval test x\${$as_var+set} = xset \
19080
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
22010
# Work around bugs in pre-3.0 UWIN ksh.
 
22011
for as_var in ENV MAIL MAILPATH
 
22012
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
19081
22013
done
19082
22014
PS1='$ '
19083
22015
PS2='> '
19089
22021
LANGUAGE=C
19090
22022
export LANGUAGE
19091
22023
 
19092
 
# CDPATH.
19093
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19094
 
 
19095
 
 
19096
 
# as_fn_error ERROR [LINENO LOG_FD]
19097
 
# ---------------------------------
19098
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19099
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19100
 
# script with status $?, using 1 if that was 0.
19101
 
as_fn_error ()
19102
 
{
19103
 
  as_status=$?; test $as_status -eq 0 && as_status=1
19104
 
  if test "$3"; then
19105
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19106
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
19107
 
  fi
19108
 
  $as_echo "$as_me: error: $1" >&2
19109
 
  as_fn_exit $as_status
19110
 
} # as_fn_error
19111
 
 
19112
 
 
19113
 
# as_fn_set_status STATUS
19114
 
# -----------------------
19115
 
# Set $? to STATUS, without forking.
19116
 
as_fn_set_status ()
19117
 
{
19118
 
  return $1
19119
 
} # as_fn_set_status
19120
 
 
19121
 
# as_fn_exit STATUS
19122
 
# -----------------
19123
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19124
 
as_fn_exit ()
19125
 
{
19126
 
  set +e
19127
 
  as_fn_set_status $1
19128
 
  exit $1
19129
 
} # as_fn_exit
19130
 
 
19131
 
# as_fn_unset VAR
19132
 
# ---------------
19133
 
# Portably unset VAR.
19134
 
as_fn_unset ()
19135
 
{
19136
 
  { eval $1=; unset $1;}
19137
 
}
19138
 
as_unset=as_fn_unset
19139
 
# as_fn_append VAR VALUE
19140
 
# ----------------------
19141
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
19142
 
# advantage of any shell optimizations that allow amortized linear growth over
19143
 
# repeated appends, instead of the typical quadratic growth present in naive
19144
 
# implementations.
19145
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19146
 
  eval 'as_fn_append ()
19147
 
  {
19148
 
    eval $1+=\$2
19149
 
  }'
19150
 
else
19151
 
  as_fn_append ()
19152
 
  {
19153
 
    eval $1=\$$1\$2
19154
 
  }
19155
 
fi # as_fn_append
19156
 
 
19157
 
# as_fn_arith ARG...
19158
 
# ------------------
19159
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
19160
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
19161
 
# must be portable across $(()) and expr.
19162
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19163
 
  eval 'as_fn_arith ()
19164
 
  {
19165
 
    as_val=$(( $* ))
19166
 
  }'
19167
 
else
19168
 
  as_fn_arith ()
19169
 
  {
19170
 
    as_val=`expr "$@" || test $? -eq 1`
19171
 
  }
19172
 
fi # as_fn_arith
19173
 
 
19174
 
 
 
22024
# Required to use basename.
19175
22025
if expr a : '\(a\)' >/dev/null 2>&1 &&
19176
22026
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
19177
22027
  as_expr=expr
19185
22035
  as_basename=false
19186
22036
fi
19187
22037
 
19188
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19189
 
  as_dirname=dirname
19190
 
else
19191
 
  as_dirname=false
19192
 
fi
19193
22038
 
 
22039
# Name of the executable.
19194
22040
as_me=`$as_basename -- "$0" ||
19195
22041
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19196
22042
         X"$0" : 'X\(//\)$' \| \
19210
22056
          }
19211
22057
          s/.*/./; q'`
19212
22058
 
19213
 
# Avoid depending upon Character Ranges.
19214
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19215
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19216
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19217
 
as_cr_digits='0123456789'
19218
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
22059
# CDPATH.
 
22060
$as_unset CDPATH
 
22061
 
 
22062
 
 
22063
 
 
22064
  as_lineno_1=$LINENO
 
22065
  as_lineno_2=$LINENO
 
22066
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
22067
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
22068
 
 
22069
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
22070
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
22071
  # line-number line after each line using $LINENO; the second 'sed'
 
22072
  # does the real work.  The second script uses 'N' to pair each
 
22073
  # line-number line with the line containing $LINENO, and appends
 
22074
  # trailing '-' during substitution so that $LINENO is not a special
 
22075
  # case at line end.
 
22076
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
22077
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
22078
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
22079
  sed -n '
 
22080
    p
 
22081
    /[$]LINENO/=
 
22082
  ' <$as_myself |
 
22083
    sed '
 
22084
      s/[$]LINENO.*/&-/
 
22085
      t lineno
 
22086
      b
 
22087
      :lineno
 
22088
      N
 
22089
      :loop
 
22090
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
22091
      t loop
 
22092
      s/-\n.*//
 
22093
    ' >$as_me.lineno &&
 
22094
  chmod +x "$as_me.lineno" ||
 
22095
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
22096
   { (exit 1); exit 1; }; }
 
22097
 
 
22098
  # Don't try to exec as it changes $[0], causing all sort of problems
 
22099
  # (the dirname of $[0] is not the place where we might find the
 
22100
  # original and so on.  Autoconf is especially sensitive to this).
 
22101
  . "./$as_me.lineno"
 
22102
  # Exit status is that of the last command.
 
22103
  exit
 
22104
}
 
22105
 
 
22106
 
 
22107
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
22108
  as_dirname=dirname
 
22109
else
 
22110
  as_dirname=false
 
22111
fi
19219
22112
 
19220
22113
ECHO_C= ECHO_N= ECHO_T=
19221
 
case `echo -n x` in #(((((
 
22114
case `echo -n x` in
19222
22115
-n*)
19223
 
  case `echo 'xy\c'` in
 
22116
  case `echo 'x\c'` in
19224
22117
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
19225
 
  xy)  ECHO_C='\c';;
19226
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
19227
 
       ECHO_T=' ';;
 
22118
  *)   ECHO_C='\c';;
19228
22119
  esac;;
19229
22120
*)
19230
22121
  ECHO_N='-n';;
19231
22122
esac
 
22123
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
22124
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
22125
  as_expr=expr
 
22126
else
 
22127
  as_expr=false
 
22128
fi
19232
22129
 
19233
22130
rm -f conf$$ conf$$.exe conf$$.file
19234
22131
if test -d conf$$.dir; then
19257
22154
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19258
22155
rmdir conf$$.dir 2>/dev/null
19259
22156
 
19260
 
 
19261
 
# as_fn_mkdir_p
19262
 
# -------------
19263
 
# Create "$as_dir" as a directory, including parents if necessary.
19264
 
as_fn_mkdir_p ()
19265
 
{
19266
 
 
19267
 
  case $as_dir in #(
19268
 
  -*) as_dir=./$as_dir;;
19269
 
  esac
19270
 
  test -d "$as_dir" || eval $as_mkdir_p || {
19271
 
    as_dirs=
19272
 
    while :; do
19273
 
      case $as_dir in #(
19274
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19275
 
      *) as_qdir=$as_dir;;
19276
 
      esac
19277
 
      as_dirs="'$as_qdir' $as_dirs"
19278
 
      as_dir=`$as_dirname -- "$as_dir" ||
19279
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19280
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
19281
 
         X"$as_dir" : 'X\(//\)$' \| \
19282
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19283
 
$as_echo X"$as_dir" |
19284
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19285
 
            s//\1/
19286
 
            q
19287
 
          }
19288
 
          /^X\(\/\/\)[^/].*/{
19289
 
            s//\1/
19290
 
            q
19291
 
          }
19292
 
          /^X\(\/\/\)$/{
19293
 
            s//\1/
19294
 
            q
19295
 
          }
19296
 
          /^X\(\/\).*/{
19297
 
            s//\1/
19298
 
            q
19299
 
          }
19300
 
          s/.*/./; q'`
19301
 
      test -d "$as_dir" && break
19302
 
    done
19303
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
19304
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
19305
 
 
19306
 
 
19307
 
} # as_fn_mkdir_p
19308
22157
if mkdir -p . 2>/dev/null; then
19309
 
  as_mkdir_p='mkdir -p "$as_dir"'
 
22158
  as_mkdir_p=:
19310
22159
else
19311
22160
  test -d ./-p && rmdir ./-p
19312
22161
  as_mkdir_p=false
19325
22174
      if test -d "$1"; then
19326
22175
        test -d "$1/.";
19327
22176
      else
19328
 
        case $1 in #(
 
22177
        case $1 in
19329
22178
        -*)set "./$1";;
19330
22179
        esac;
19331
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
22180
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
19332
22181
        ???[sx]*):;;*)false;;esac;fi
19333
22182
    '\'' sh
19334
22183
  '
19343
22192
 
19344
22193
 
19345
22194
exec 6>&1
19346
 
## ----------------------------------- ##
19347
 
## Main body of $CONFIG_STATUS script. ##
19348
 
## ----------------------------------- ##
19349
 
_ASEOF
19350
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19351
22195
 
19352
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19353
 
# Save the log message, to keep $0 and so on meaningful, and to
 
22196
# Save the log message, to keep $[0] and so on meaningful, and to
19354
22197
# report actual input values of CONFIG_FILES etc. instead of their
19355
22198
# values after options handling.
19356
22199
ac_log="
19357
 
This file was extended by lordsawar $as_me 0.1.6, which was
19358
 
generated by GNU Autoconf 2.64.  Invocation command line was
 
22200
This file was extended by lordsawar $as_me 0.1.8, which was
 
22201
generated by GNU Autoconf 2.63.  Invocation command line was
19359
22202
 
19360
22203
  CONFIG_FILES    = $CONFIG_FILES
19361
22204
  CONFIG_HEADERS  = $CONFIG_HEADERS
19387
22230
 
19388
22231
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19389
22232
ac_cs_usage="\
19390
 
\`$as_me' instantiates files and other configuration actions
19391
 
from templates according to the current configuration.  Unless the files
19392
 
and actions are specified as TAGs, all are instantiated by default.
 
22233
\`$as_me' instantiates files from templates according to the
 
22234
current configuration.
19393
22235
 
19394
 
Usage: $0 [OPTION]... [TAG]...
 
22236
Usage: $0 [OPTION]... [FILE]...
19395
22237
 
19396
22238
  -h, --help       print this help, then exit
19397
22239
  -V, --version    print version number and configuration settings, then exit
19413
22255
Configuration commands:
19414
22256
$config_commands
19415
22257
 
19416
 
Report bugs to <http://sv.nongnu.org/bugs/?group=lordsawar>."
 
22258
Report bugs to <bug-autoconf@gnu.org>."
19417
22259
 
19418
22260
_ACEOF
19419
22261
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19420
22262
ac_cs_version="\\
19421
 
lordsawar config.status 0.1.6
19422
 
configured by $0, generated by GNU Autoconf 2.64,
 
22263
lordsawar config.status 0.1.8
 
22264
configured by $0, generated by GNU Autoconf 2.63,
19423
22265
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
19424
22266
 
19425
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
22267
Copyright (C) 2008 Free Software Foundation, Inc.
19426
22268
This config.status script is free software; the Free Software Foundation
19427
22269
gives unlimited permission to copy, distribute and modify it."
19428
22270
 
19465
22307
    case $ac_optarg in
19466
22308
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19467
22309
    esac
19468
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
22310
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
19469
22311
    ac_need_defaults=false;;
19470
22312
  --header | --heade | --head | --hea )
19471
22313
    $ac_shift
19472
22314
    case $ac_optarg in
19473
22315
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19474
22316
    esac
19475
 
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
22317
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
19476
22318
    ac_need_defaults=false;;
19477
22319
  --he | --h)
19478
22320
    # Conflict between --help and --header
19479
 
    as_fn_error "ambiguous option: \`$1'
19480
 
Try \`$0 --help' for more information.";;
 
22321
    { $as_echo "$as_me: error: ambiguous option: $1
 
22322
Try \`$0 --help' for more information." >&2
 
22323
   { (exit 1); exit 1; }; };;
19481
22324
  --help | --hel | -h )
19482
22325
    $as_echo "$ac_cs_usage"; exit ;;
19483
22326
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19485
22328
    ac_cs_silent=: ;;
19486
22329
 
19487
22330
  # This is an error.
19488
 
  -*) as_fn_error "unrecognized option: \`$1'
19489
 
Try \`$0 --help' for more information." ;;
 
22331
  -*) { $as_echo "$as_me: error: unrecognized option: $1
 
22332
Try \`$0 --help' for more information." >&2
 
22333
   { (exit 1); exit 1; }; } ;;
19490
22334
 
19491
 
  *) as_fn_append ac_config_targets " $1"
 
22335
  *) ac_config_targets="$ac_config_targets $1"
19492
22336
     ac_need_defaults=false ;;
19493
22337
 
19494
22338
  esac
19912
22756
    "dat/tilesets/bigdefault/Makefile") CONFIG_FILES="$CONFIG_FILES dat/tilesets/bigdefault/Makefile" ;;
19913
22757
    "dat/tilesets/stark/Makefile") CONFIG_FILES="$CONFIG_FILES dat/tilesets/stark/Makefile" ;;
19914
22758
    "dat/tilesets/bigstark/Makefile") CONFIG_FILES="$CONFIG_FILES dat/tilesets/bigstark/Makefile" ;;
 
22759
    "dat/tilesets/wesnoth/Makefile") CONFIG_FILES="$CONFIG_FILES dat/tilesets/wesnoth/Makefile" ;;
 
22760
    "dat/tilesets/bigwesnoth/Makefile") CONFIG_FILES="$CONFIG_FILES dat/tilesets/bigwesnoth/Makefile" ;;
19915
22761
    "dat/shield/Makefile") CONFIG_FILES="$CONFIG_FILES dat/shield/Makefile" ;;
19916
22762
    "dat/shield/default/Makefile") CONFIG_FILES="$CONFIG_FILES dat/shield/default/Makefile" ;;
19917
22763
    "dat/shield/plain/Makefile") CONFIG_FILES="$CONFIG_FILES dat/shield/plain/Makefile" ;;
19925
22771
    "dat/various/items/Makefile") CONFIG_FILES="$CONFIG_FILES dat/various/items/Makefile" ;;
19926
22772
    "dat/various/editor/Makefile") CONFIG_FILES="$CONFIG_FILES dat/various/editor/Makefile" ;;
19927
22773
    "dat/map/Makefile") CONFIG_FILES="$CONFIG_FILES dat/map/Makefile" ;;
19928
 
    "dat/campaign/Makefile") CONFIG_FILES="$CONFIG_FILES dat/campaign/Makefile" ;;
19929
22774
    "dat/music/Makefile") CONFIG_FILES="$CONFIG_FILES dat/music/Makefile" ;;
19930
22775
    "dat/glade/Makefile") CONFIG_FILES="$CONFIG_FILES dat/glade/Makefile" ;;
19931
22776
    "dat/glade/editor/Makefile") CONFIG_FILES="$CONFIG_FILES dat/glade/editor/Makefile" ;;
19940
22785
    "src/gui/Makefile") CONFIG_FILES="$CONFIG_FILES src/gui/Makefile" ;;
19941
22786
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
19942
22787
 
19943
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
22788
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
22789
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
22790
   { (exit 1); exit 1; }; };;
19944
22791
  esac
19945
22792
done
19946
22793
 
19967
22814
  trap 'exit_status=$?
19968
22815
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
19969
22816
' 0
19970
 
  trap 'as_fn_exit 1' 1 2 13 15
 
22817
  trap '{ (exit 1); exit 1; }' 1 2 13 15
19971
22818
}
19972
22819
# Create a (secure) tmp directory for tmp files.
19973
22820
 
19978
22825
{
19979
22826
  tmp=./conf$$-$RANDOM
19980
22827
  (umask 077 && mkdir "$tmp")
19981
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
22828
} ||
 
22829
{
 
22830
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
 
22831
   { (exit 1); exit 1; }
 
22832
}
19982
22833
 
19983
22834
# Set up the scripts for CONFIG_FILES section.
19984
22835
# No need to generate them if there are no CONFIG_FILES.
19986
22837
if test -n "$CONFIG_FILES"; then
19987
22838
 
19988
22839
 
19989
 
ac_cr=`echo X | tr X '\015'`
19990
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
19991
 
# But we know of no other shell where ac_cr would be empty at this
19992
 
# point, so we can use a bashism as a fallback.
19993
 
if test "x$ac_cr" = x; then
19994
 
  eval ac_cr=\$\'\\r\'
19995
 
fi
 
22840
ac_cr='
 
 
b"'"
19996
22841
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19997
22842
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19998
 
  ac_cs_awk_cr='\r'
 
22843
  ac_cs_awk_cr='\\r'
19999
22844
else
20000
22845
  ac_cs_awk_cr=$ac_cr
20001
22846
fi
20009
22854
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20010
22855
  echo "_ACEOF"
20011
22856
} >conf$$subs.sh ||
20012
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
22857
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
22858
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
22859
   { (exit 1); exit 1; }; }
20013
22860
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
20014
22861
ac_delim='%!_!# '
20015
22862
for ac_last_try in false false false false false :; do
20016
22863
  . ./conf$$subs.sh ||
20017
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
22864
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
22865
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
22866
   { (exit 1); exit 1; }; }
20018
22867
 
20019
22868
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20020
22869
  if test $ac_delim_n = $ac_delim_num; then
20021
22870
    break
20022
22871
  elif $ac_last_try; then
20023
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
22872
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
22873
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
22874
   { (exit 1); exit 1; }; }
20024
22875
  else
20025
22876
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20026
22877
  fi
20109
22960
else
20110
22961
  cat
20111
22962
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
20112
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
22963
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
22964
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
22965
   { (exit 1); exit 1; }; }
20113
22966
_ACEOF
20114
22967
 
20115
22968
# VPATH may cause trouble with some makes, so we remove $(srcdir),
20150
23003
  if test -z "$ac_t"; then
20151
23004
    break
20152
23005
  elif $ac_last_try; then
20153
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
23006
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
23007
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
23008
   { (exit 1); exit 1; }; }
20154
23009
  else
20155
23010
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20156
23011
  fi
20235
23090
_ACAWK
20236
23091
_ACEOF
20237
23092
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20238
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
23093
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
23094
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
23095
   { (exit 1); exit 1; }; }
20239
23096
fi # test -n "$CONFIG_HEADERS"
20240
23097
 
20241
23098
 
20248
23105
  esac
20249
23106
  case $ac_mode$ac_tag in
20250
23107
  :[FHL]*:*);;
20251
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
23108
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
23109
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
 
23110
   { (exit 1); exit 1; }; };;
20252
23111
  :[FH]-) ac_tag=-:-;;
20253
23112
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20254
23113
  esac
20276
23135
           [\\/$]*) false;;
20277
23136
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20278
23137
           esac ||
20279
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
23138
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
23139
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
23140
   { (exit 1); exit 1; }; };;
20280
23141
      esac
20281
23142
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20282
 
      as_fn_append ac_file_inputs " '$ac_f'"
 
23143
      ac_file_inputs="$ac_file_inputs '$ac_f'"
20283
23144
    done
20284
23145
 
20285
23146
    # Let's still pretend it is `configure' which instantiates (i.e., don't
20290
23151
        `' by configure.'
20291
23152
    if test x"$ac_file" != x-; then
20292
23153
      configure_input="$ac_file.  $configure_input"
20293
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
23154
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
20294
23155
$as_echo "$as_me: creating $ac_file" >&6;}
20295
23156
    fi
20296
23157
    # Neutralize special characters interpreted by sed in replacement strings.
20303
23164
 
20304
23165
    case $ac_tag in
20305
23166
    *:-:* | *:-) cat >"$tmp/stdin" \
20306
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
23167
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
23168
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
23169
   { (exit 1); exit 1; }; } ;;
20307
23170
    esac
20308
23171
    ;;
20309
23172
  esac
20331
23194
            q
20332
23195
          }
20333
23196
          s/.*/./; q'`
20334
 
  as_dir="$ac_dir"; as_fn_mkdir_p
 
23197
  { as_dir="$ac_dir"
 
23198
  case $as_dir in #(
 
23199
  -*) as_dir=./$as_dir;;
 
23200
  esac
 
23201
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
23202
    as_dirs=
 
23203
    while :; do
 
23204
      case $as_dir in #(
 
23205
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
23206
      *) as_qdir=$as_dir;;
 
23207
      esac
 
23208
      as_dirs="'$as_qdir' $as_dirs"
 
23209
      as_dir=`$as_dirname -- "$as_dir" ||
 
23210
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
23211
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
23212
         X"$as_dir" : 'X\(//\)$' \| \
 
23213
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
23214
$as_echo X"$as_dir" |
 
23215
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23216
            s//\1/
 
23217
            q
 
23218
          }
 
23219
          /^X\(\/\/\)[^/].*/{
 
23220
            s//\1/
 
23221
            q
 
23222
          }
 
23223
          /^X\(\/\/\)$/{
 
23224
            s//\1/
 
23225
            q
 
23226
          }
 
23227
          /^X\(\/\).*/{
 
23228
            s//\1/
 
23229
            q
 
23230
          }
 
23231
          s/.*/./; q'`
 
23232
      test -d "$as_dir" && break
 
23233
    done
 
23234
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
23235
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
23236
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
23237
   { (exit 1); exit 1; }; }; }
20335
23238
  ac_builddir=.
20336
23239
 
20337
23240
case "$ac_dir" in
20388
23291
# If the template does not know about datarootdir, expand it.
20389
23292
# FIXME: This hack should be removed a few years after 2.60.
20390
23293
ac_datarootdir_hack=; ac_datarootdir_seen=
 
23294
 
20391
23295
ac_sed_dataroot='
20392
23296
/datarootdir/ {
20393
23297
  p
20397
23301
/@docdir@/p
20398
23302
/@infodir@/p
20399
23303
/@localedir@/p
20400
 
/@mandir@/p'
 
23304
/@mandir@/p
 
23305
'
20401
23306
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20402
23307
*datarootdir*) ac_datarootdir_seen=yes;;
20403
23308
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20404
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
23309
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20405
23310
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20406
23311
_ACEOF
20407
23312
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20411
23316
  s&@infodir@&$infodir&g
20412
23317
  s&@localedir@&$localedir&g
20413
23318
  s&@mandir@&$mandir&g
20414
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
23319
    s&\\\${datarootdir}&$datarootdir&g' ;;
20415
23320
esac
20416
23321
_ACEOF
20417
23322
 
20440
23345
$ac_datarootdir_hack
20441
23346
"
20442
23347
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
20443
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
23348
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
23349
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
23350
   { (exit 1); exit 1; }; }
20444
23351
 
20445
23352
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20446
23353
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
20447
23354
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
20448
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
23355
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20449
23356
which seems to be undefined.  Please make sure it is defined." >&5
20450
23357
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20451
23358
which seems to be undefined.  Please make sure it is defined." >&2;}
20455
23362
  -) cat "$tmp/out" && rm -f "$tmp/out";;
20456
23363
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
20457
23364
  esac \
20458
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
23365
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
23366
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
23367
   { (exit 1); exit 1; }; }
20459
23368
 ;;
20460
23369
  :H)
20461
23370
  #
20466
23375
      $as_echo "/* $configure_input  */" \
20467
23376
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
20468
23377
    } >"$tmp/config.h" \
20469
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
23378
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
23379
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
23380
   { (exit 1); exit 1; }; }
20470
23381
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
20471
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
23382
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20472
23383
$as_echo "$as_me: $ac_file is unchanged" >&6;}
20473
23384
    else
20474
23385
      rm -f "$ac_file"
20475
23386
      mv "$tmp/config.h" "$ac_file" \
20476
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
23387
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
23388
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
23389
   { (exit 1); exit 1; }; }
20477
23390
    fi
20478
23391
  else
20479
23392
    $as_echo "/* $configure_input  */" \
20480
23393
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
20481
 
      || as_fn_error "could not create -" "$LINENO" 5
 
23394
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
23395
$as_echo "$as_me: error: could not create -" >&2;}
 
23396
   { (exit 1); exit 1; }; }
20482
23397
  fi
20483
23398
# Compute "$ac_file"'s index in $config_headers.
20484
23399
_am_arg="$ac_file"
20516
23431
          s/.*/./; q'`/stamp-h$_am_stamp_count
20517
23432
 ;;
20518
23433
 
20519
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
23434
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
20520
23435
$as_echo "$as_me: executing $ac_file commands" >&6;}
20521
23436
 ;;
20522
23437
  esac
20611
23526
            q
20612
23527
          }
20613
23528
          s/.*/./; q'`
20614
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
23529
      { as_dir=$dirpart/$fdir
 
23530
  case $as_dir in #(
 
23531
  -*) as_dir=./$as_dir;;
 
23532
  esac
 
23533
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
23534
    as_dirs=
 
23535
    while :; do
 
23536
      case $as_dir in #(
 
23537
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
23538
      *) as_qdir=$as_dir;;
 
23539
      esac
 
23540
      as_dirs="'$as_qdir' $as_dirs"
 
23541
      as_dir=`$as_dirname -- "$as_dir" ||
 
23542
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
23543
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
23544
         X"$as_dir" : 'X\(//\)$' \| \
 
23545
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
23546
$as_echo X"$as_dir" |
 
23547
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23548
            s//\1/
 
23549
            q
 
23550
          }
 
23551
          /^X\(\/\/\)[^/].*/{
 
23552
            s//\1/
 
23553
            q
 
23554
          }
 
23555
          /^X\(\/\/\)$/{
 
23556
            s//\1/
 
23557
            q
 
23558
          }
 
23559
          /^X\(\/\).*/{
 
23560
            s//\1/
 
23561
            q
 
23562
          }
 
23563
          s/.*/./; q'`
 
23564
      test -d "$as_dir" && break
 
23565
    done
 
23566
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
23567
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
23568
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
23569
   { (exit 1); exit 1; }; }; }
20615
23570
      # echo "creating $dirpart/$file"
20616
23571
      echo '# dummy' > "$dirpart/$file"
20617
23572
    done
21538
24493
    done ;;
21539
24494
    "po/stamp-it":C)
21540
24495
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
21541
 
       as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
 
24496
       { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
 
24497
$as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
 
24498
   { (exit 1); exit 1; }; }
21542
24499
    fi
21543
24500
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
21544
24501
    >"po/stamp-it.tmp"
21561
24518
done # for ac_tag
21562
24519
 
21563
24520
 
21564
 
as_fn_exit 0
 
24521
{ (exit 0); exit 0; }
21565
24522
_ACEOF
 
24523
chmod +x $CONFIG_STATUS
21566
24524
ac_clean_files=$ac_clean_files_save
21567
24525
 
21568
24526
test $ac_write_fail = 0 ||
21569
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
24527
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
24528
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
24529
   { (exit 1); exit 1; }; }
21570
24530
 
21571
24531
 
21572
24532
# configure is writing to config.log, and then calls config.status.
21587
24547
  exec 5>>config.log
21588
24548
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21589
24549
  # would make configure fail if this is the last instruction.
21590
 
  $ac_cs_success || as_fn_exit $?
 
24550
  $ac_cs_success || { (exit 1); exit 1; }
21591
24551
fi
21592
24552
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21593
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
24553
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21594
24554
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21595
24555
fi
21596
24556