~ubuntu-branches/debian/sid/gsmartcontrol/sid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Giuseppe Iuculano
  • Date: 2011-07-15 14:59:29 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110715145929-2o1o4phm5w1rwttz
Tags: 0.8.6-1
* [dbb993d] Updated my email address and removed DM-Upload-Allowed
  control field
* [b681b5b] Imported Upstream version 0.8.6
* [ab9bb7a] Refreshed patches
* [a909506] Bump to Standards-Version 3.9.2, no changes needed
* [48dd13d] Switch to dpkg-source 3.0 (quilt) format

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.63 for GSmartControl 0.8.5.
 
3
# Generated by GNU Autoconf 2.65 for GSmartControl 0.8.6.
 
4
#
4
5
#
5
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
 
8
# Inc.
 
9
#
 
10
#
7
11
# This configure script is free software; the Free Software Foundation
8
12
# gives unlimited permission to copy, distribute and modify it.
9
 
## --------------------- ##
10
 
## M4sh Initialization.  ##
11
 
## --------------------- ##
 
13
## -------------------- ##
 
14
## M4sh Initialization. ##
 
15
## -------------------- ##
12
16
 
13
17
# Be more Bourne compatible
14
18
DUALCASE=1; export DUALCASE # for MKS sh
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16
20
  emulate sh
17
21
  NULLCMD=:
18
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20
24
  alias -g '${1+"$@"}'='"$@"'
21
25
  setopt NO_GLOB_SUBST
22
26
else
23
 
  case `(set -o) 2>/dev/null` in
24
 
  *posix*) set -o posix ;;
 
27
  case `(set -o) 2>/dev/null` in #(
 
28
  *posix*) :
 
29
    set -o posix ;; #(
 
30
  *) :
 
31
     ;;
25
32
esac
26
 
 
27
33
fi
28
34
 
29
35
 
30
 
 
31
 
 
32
 
# PATH needs CR
33
 
# Avoid depending upon Character Ranges.
34
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
 
as_cr_digits='0123456789'
38
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
 
 
40
36
as_nl='
41
37
'
42
38
export as_nl
44
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
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
48
50
  as_echo='printf %s\n'
49
51
  as_echo_n='printf %s'
50
52
else
55
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56
58
    as_echo_n_body='eval
57
59
      arg=$1;
58
 
      case $arg in
 
60
      case $arg in #(
59
61
      *"$as_nl"*)
60
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
61
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
78
80
  }
79
81
fi
80
82
 
81
 
# Support unset when possible.
82
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83
 
  as_unset=unset
84
 
else
85
 
  as_unset=false
86
 
fi
87
 
 
88
83
 
89
84
# IFS
90
85
# We need space, tab and new line, in precisely that order.  Quoting is
94
89
IFS=" ""        $as_nl"
95
90
 
96
91
# Find who we are.  Look in the path if we contain no directory separator.
97
 
case $0 in
 
92
case $0 in #((
98
93
  *[\\/]* ) as_myself=$0 ;;
99
94
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100
95
for as_dir in $PATH
101
96
do
102
97
  IFS=$as_save_IFS
103
98
  test -z "$as_dir" && as_dir=.
104
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105
 
done
 
99
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
100
  done
106
101
IFS=$as_save_IFS
107
102
 
108
103
     ;;
114
109
fi
115
110
if test ! -f "$as_myself"; then
116
111
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
 
  { (exit 1); exit 1; }
 
112
  exit 1
118
113
fi
119
114
 
120
 
# Work around bugs in pre-3.0 UWIN ksh.
121
 
for as_var in ENV MAIL MAILPATH
122
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
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 || :
123
122
done
124
123
PS1='$ '
125
124
PS2='> '
131
130
LANGUAGE=C
132
131
export LANGUAGE
133
132
 
134
 
# Required to use basename.
135
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
136
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
137
 
  as_expr=expr
138
 
else
139
 
  as_expr=false
140
 
fi
141
 
 
142
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143
 
  as_basename=basename
144
 
else
145
 
  as_basename=false
146
 
fi
147
 
 
148
 
 
149
 
# Name of the executable.
150
 
as_me=`$as_basename -- "$0" ||
151
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152
 
         X"$0" : 'X\(//\)$' \| \
153
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154
 
$as_echo X/"$0" |
155
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
156
 
            s//\1/
157
 
            q
158
 
          }
159
 
          /^X\/\(\/\/\)$/{
160
 
            s//\1/
161
 
            q
162
 
          }
163
 
          /^X\/\(\/\).*/{
164
 
            s//\1/
165
 
            q
166
 
          }
167
 
          s/.*/./; q'`
168
 
 
169
133
# CDPATH.
170
 
$as_unset CDPATH
171
 
 
 
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
172
135
 
173
136
if test "x$CONFIG_SHELL" = x; then
174
 
  if (eval ":") 2>/dev/null; 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 :
175
176
  as_have_required=yes
176
177
else
177
178
  as_have_required=no
178
179
fi
179
 
 
180
 
  if test $as_have_required = yes &&     (eval ":
181
 
(as_func_return () {
182
 
  (exit \$1)
183
 
}
184
 
as_func_success () {
185
 
  as_func_return 0
186
 
}
187
 
as_func_failure () {
188
 
  as_func_return 1
189
 
}
190
 
as_func_ret_success () {
191
 
  return 0
192
 
}
193
 
as_func_ret_failure () {
194
 
  return 1
195
 
}
196
 
 
197
 
exitcode=0
198
 
if as_func_success; then
199
 
  :
200
 
else
201
 
  exitcode=1
202
 
  echo as_func_success failed.
203
 
fi
204
 
 
205
 
if as_func_failure; then
206
 
  exitcode=1
207
 
  echo as_func_failure succeeded.
208
 
fi
209
 
 
210
 
if as_func_ret_success; then
211
 
  :
212
 
else
213
 
  exitcode=1
214
 
  echo as_func_ret_success failed.
215
 
fi
216
 
 
217
 
if as_func_ret_failure; then
218
 
  exitcode=1
219
 
  echo as_func_ret_failure succeeded.
220
 
fi
221
 
 
222
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223
 
  :
224
 
else
225
 
  exitcode=1
226
 
  echo positional parameters were not saved.
227
 
fi
228
 
 
229
 
test \$exitcode = 0) || { (exit 1); exit 1; }
230
 
 
231
 
(
232
 
  as_lineno_1=\$LINENO
233
 
  as_lineno_2=\$LINENO
234
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236
 
") 2> /dev/null; then
237
 
  :
238
 
else
239
 
  as_candidate_shells=
240
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
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
241
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242
186
do
243
187
  IFS=$as_save_IFS
244
188
  test -z "$as_dir" && as_dir=.
245
 
  case $as_dir in
 
189
  as_found=:
 
190
  case $as_dir in #(
246
191
         /*)
247
192
           for as_base in sh bash ksh sh5; do
248
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
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
249
202
           done;;
250
203
       esac
 
204
  as_found=false
251
205
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; }
252
210
IFS=$as_save_IFS
253
211
 
254
212
 
255
 
      for as_shell in $as_candidate_shells $SHELL; do
256
 
         # Try only shells that exist, to save several forks.
257
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
259
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260
 
  emulate sh
261
 
  NULLCMD=:
262
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263
 
  # is contrary to our usage.  Disable this feature.
264
 
  alias -g '${1+"$@"}'='"$@"'
265
 
  setopt NO_GLOB_SUBST
266
 
else
267
 
  case `(set -o) 2>/dev/null` in
268
 
  *posix*) set -o posix ;;
269
 
esac
270
 
 
271
 
fi
272
 
 
273
 
 
274
 
:
275
 
_ASEOF
276
 
}; then
277
 
  CONFIG_SHELL=$as_shell
278
 
               as_have_required=yes
279
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
280
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281
 
  emulate sh
282
 
  NULLCMD=:
283
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284
 
  # is contrary to our usage.  Disable this feature.
285
 
  alias -g '${1+"$@"}'='"$@"'
286
 
  setopt NO_GLOB_SUBST
287
 
else
288
 
  case `(set -o) 2>/dev/null` in
289
 
  *posix*) set -o posix ;;
290
 
esac
291
 
 
292
 
fi
293
 
 
294
 
 
295
 
:
296
 
(as_func_return () {
297
 
  (exit $1)
298
 
}
299
 
as_func_success () {
300
 
  as_func_return 0
301
 
}
302
 
as_func_failure () {
303
 
  as_func_return 1
304
 
}
305
 
as_func_ret_success () {
306
 
  return 0
307
 
}
308
 
as_func_ret_failure () {
309
 
  return 1
310
 
}
311
 
 
312
 
exitcode=0
313
 
if as_func_success; then
314
 
  :
315
 
else
316
 
  exitcode=1
317
 
  echo as_func_success failed.
318
 
fi
319
 
 
320
 
if as_func_failure; then
321
 
  exitcode=1
322
 
  echo as_func_failure succeeded.
323
 
fi
324
 
 
325
 
if as_func_ret_success; then
326
 
  :
327
 
else
328
 
  exitcode=1
329
 
  echo as_func_ret_success failed.
330
 
fi
331
 
 
332
 
if as_func_ret_failure; then
333
 
  exitcode=1
334
 
  echo as_func_ret_failure succeeded.
335
 
fi
336
 
 
337
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
338
 
  :
339
 
else
340
 
  exitcode=1
341
 
  echo positional parameters were not saved.
342
 
fi
343
 
 
344
 
test $exitcode = 0) || { (exit 1); exit 1; }
345
 
 
346
 
(
347
 
  as_lineno_1=$LINENO
348
 
  as_lineno_2=$LINENO
349
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
350
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351
 
 
352
 
_ASEOF
353
 
}; then
354
 
  break
355
 
fi
356
 
 
357
 
fi
358
 
 
359
 
      done
360
 
 
361
 
      if test "x$CONFIG_SHELL" != x; then
362
 
  for as_var in BASH_ENV ENV
363
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364
 
        done
 
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
365
220
        export CONFIG_SHELL
366
221
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367
222
fi
368
223
 
369
 
 
370
 
    if test $as_have_required = no; then
371
 
  echo This script requires a shell more modern than all the
372
 
      echo shells that I found on your system.  Please install a
373
 
      echo modern shell, or manually run the script under such a
374
 
      echo shell if you do have one.
375
 
      { (exit 1); exit 1; }
376
 
fi
377
 
 
378
 
 
379
 
fi
380
 
 
381
 
fi
382
 
 
383
 
 
384
 
 
385
 
(eval "as_func_return () {
386
 
  (exit \$1)
387
 
}
388
 
as_func_success () {
389
 
  as_func_return 0
390
 
}
391
 
as_func_failure () {
392
 
  as_func_return 1
393
 
}
394
 
as_func_ret_success () {
395
 
  return 0
396
 
}
397
 
as_func_ret_failure () {
398
 
  return 1
399
 
}
400
 
 
401
 
exitcode=0
402
 
if as_func_success; then
403
 
  :
404
 
else
405
 
  exitcode=1
406
 
  echo as_func_success failed.
407
 
fi
408
 
 
409
 
if as_func_failure; then
410
 
  exitcode=1
411
 
  echo as_func_failure succeeded.
412
 
fi
413
 
 
414
 
if as_func_ret_success; then
415
 
  :
416
 
else
417
 
  exitcode=1
418
 
  echo as_func_ret_success failed.
419
 
fi
420
 
 
421
 
if as_func_ret_failure; then
422
 
  exitcode=1
423
 
  echo as_func_ret_failure succeeded.
424
 
fi
425
 
 
426
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427
 
  :
428
 
else
429
 
  exitcode=1
430
 
  echo positional parameters were not saved.
431
 
fi
432
 
 
433
 
test \$exitcode = 0") || {
434
 
  echo No shell found that supports shell functions.
435
 
  echo Please tell bug-autoconf@gnu.org about your system,
436
 
  echo including any error possibly output before this message.
437
 
  echo This can help us improve future autoconf versions.
438
 
  echo Configuration will now proceed without shell functions.
439
 
}
440
 
 
441
 
 
442
 
 
443
 
  as_lineno_1=$LINENO
444
 
  as_lineno_2=$LINENO
445
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
446
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447
 
 
448
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
450
 
  # line-number line after each line using $LINENO; the second 'sed'
451
 
  # does the real work.  The second script uses 'N' to pair each
452
 
  # line-number line with the line containing $LINENO, and appends
453
 
  # trailing '-' during substitution so that $LINENO is not a special
454
 
  # case at line end.
455
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
457
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
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 about your system,
 
232
$0: including any error possibly output before this
 
233
$0: message. Then install a modern shell, or manually run
 
234
$0: the script under such a shell if you do have one."
 
235
  fi
 
236
  exit 1
 
237
fi
 
238
fi
 
239
fi
 
240
SHELL=${CONFIG_SHELL-/bin/sh}
 
241
export SHELL
 
242
# Unset more variables known to interfere with behavior of common tools.
 
243
CLICOLOR_FORCE= GREP_OPTIONS=
 
244
unset CLICOLOR_FORCE GREP_OPTIONS
 
245
 
 
246
## --------------------- ##
 
247
## M4sh Shell Functions. ##
 
248
## --------------------- ##
 
249
# as_fn_unset VAR
 
250
# ---------------
 
251
# Portably unset VAR.
 
252
as_fn_unset ()
 
253
{
 
254
  { eval $1=; unset $1;}
 
255
}
 
256
as_unset=as_fn_unset
 
257
 
 
258
# as_fn_set_status STATUS
 
259
# -----------------------
 
260
# Set $? to STATUS, without forking.
 
261
as_fn_set_status ()
 
262
{
 
263
  return $1
 
264
} # as_fn_set_status
 
265
 
 
266
# as_fn_exit STATUS
 
267
# -----------------
 
268
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
269
as_fn_exit ()
 
270
{
 
271
  set +e
 
272
  as_fn_set_status $1
 
273
  exit $1
 
274
} # as_fn_exit
 
275
 
 
276
# as_fn_mkdir_p
 
277
# -------------
 
278
# Create "$as_dir" as a directory, including parents if necessary.
 
279
as_fn_mkdir_p ()
 
280
{
 
281
 
 
282
  case $as_dir in #(
 
283
  -*) as_dir=./$as_dir;;
 
284
  esac
 
285
  test -d "$as_dir" || eval $as_mkdir_p || {
 
286
    as_dirs=
 
287
    while :; do
 
288
      case $as_dir in #(
 
289
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
290
      *) as_qdir=$as_dir;;
 
291
      esac
 
292
      as_dirs="'$as_qdir' $as_dirs"
 
293
      as_dir=`$as_dirname -- "$as_dir" ||
 
294
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
295
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
296
         X"$as_dir" : 'X\(//\)$' \| \
 
297
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
298
$as_echo X"$as_dir" |
 
299
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
300
            s//\1/
 
301
            q
 
302
          }
 
303
          /^X\(\/\/\)[^/].*/{
 
304
            s//\1/
 
305
            q
 
306
          }
 
307
          /^X\(\/\/\)$/{
 
308
            s//\1/
 
309
            q
 
310
          }
 
311
          /^X\(\/\).*/{
 
312
            s//\1/
 
313
            q
 
314
          }
 
315
          s/.*/./; q'`
 
316
      test -d "$as_dir" && break
 
317
    done
 
318
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
319
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
320
 
 
321
 
 
322
} # as_fn_mkdir_p
 
323
# as_fn_append VAR VALUE
 
324
# ----------------------
 
325
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
326
# advantage of any shell optimizations that allow amortized linear growth over
 
327
# repeated appends, instead of the typical quadratic growth present in naive
 
328
# implementations.
 
329
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
330
  eval 'as_fn_append ()
 
331
  {
 
332
    eval $1+=\$2
 
333
  }'
 
334
else
 
335
  as_fn_append ()
 
336
  {
 
337
    eval $1=\$$1\$2
 
338
  }
 
339
fi # as_fn_append
 
340
 
 
341
# as_fn_arith ARG...
 
342
# ------------------
 
343
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
344
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
345
# must be portable across $(()) and expr.
 
346
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
347
  eval 'as_fn_arith ()
 
348
  {
 
349
    as_val=$(( $* ))
 
350
  }'
 
351
else
 
352
  as_fn_arith ()
 
353
  {
 
354
    as_val=`expr "$@" || test $? -eq 1`
 
355
  }
 
356
fi # as_fn_arith
 
357
 
 
358
 
 
359
# as_fn_error ERROR [LINENO LOG_FD]
 
360
# ---------------------------------
 
361
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
362
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
363
# script with status $?, using 1 if that was 0.
 
364
as_fn_error ()
 
365
{
 
366
  as_status=$?; test $as_status -eq 0 && as_status=1
 
367
  if test "$3"; then
 
368
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
369
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
370
  fi
 
371
  $as_echo "$as_me: error: $1" >&2
 
372
  as_fn_exit $as_status
 
373
} # as_fn_error
 
374
 
 
375
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
376
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
377
  as_expr=expr
 
378
else
 
379
  as_expr=false
 
380
fi
 
381
 
 
382
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
383
  as_basename=basename
 
384
else
 
385
  as_basename=false
 
386
fi
 
387
 
 
388
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
389
  as_dirname=dirname
 
390
else
 
391
  as_dirname=false
 
392
fi
 
393
 
 
394
as_me=`$as_basename -- "$0" ||
 
395
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
396
         X"$0" : 'X\(//\)$' \| \
 
397
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
398
$as_echo X/"$0" |
 
399
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
400
            s//\1/
 
401
            q
 
402
          }
 
403
          /^X\/\(\/\/\)$/{
 
404
            s//\1/
 
405
            q
 
406
          }
 
407
          /^X\/\(\/\).*/{
 
408
            s//\1/
 
409
            q
 
410
          }
 
411
          s/.*/./; q'`
 
412
 
 
413
# Avoid depending upon Character Ranges.
 
414
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
415
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
416
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
417
as_cr_digits='0123456789'
 
418
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
419
 
 
420
 
 
421
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
422
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
423
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
424
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
425
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
458
426
  sed -n '
459
427
    p
460
428
    /[$]LINENO/=
471
439
      s/-\n.*//
472
440
    ' >$as_me.lineno &&
473
441
  chmod +x "$as_me.lineno" ||
474
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475
 
   { (exit 1); exit 1; }; }
 
442
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
476
443
 
477
444
  # Don't try to exec as it changes $[0], causing all sort of problems
478
445
  # (the dirname of $[0] is not the place where we might find the
482
449
  exit
483
450
}
484
451
 
485
 
 
486
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487
 
  as_dirname=dirname
488
 
else
489
 
  as_dirname=false
490
 
fi
491
 
 
492
452
ECHO_C= ECHO_N= ECHO_T=
493
 
case `echo -n x` in
 
453
case `echo -n x` in #(((((
494
454
-n*)
495
 
  case `echo 'x\c'` in
 
455
  case `echo 'xy\c'` in
496
456
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
497
 
  *)   ECHO_C='\c';;
 
457
  xy)  ECHO_C='\c';;
 
458
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
459
       ECHO_T=' ';;
498
460
  esac;;
499
461
*)
500
462
  ECHO_N='-n';;
501
463
esac
502
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
503
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
504
 
  as_expr=expr
505
 
else
506
 
  as_expr=false
507
 
fi
508
464
 
509
465
rm -f conf$$ conf$$.exe conf$$.file
510
466
if test -d conf$$.dir; then
534
490
rmdir conf$$.dir 2>/dev/null
535
491
 
536
492
if mkdir -p . 2>/dev/null; then
537
 
  as_mkdir_p=:
 
493
  as_mkdir_p='mkdir -p "$as_dir"'
538
494
else
539
495
  test -d ./-p && rmdir ./-p
540
496
  as_mkdir_p=false
553
509
      if test -d "$1"; then
554
510
        test -d "$1/.";
555
511
      else
556
 
        case $1 in
 
512
        case $1 in #(
557
513
        -*)set "./$1";;
558
514
        esac;
559
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
515
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
560
516
        ???[sx]*):;;*)false;;esac;fi
561
517
    '\'' sh
562
518
  '
570
526
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571
527
 
572
528
 
573
 
 
574
 
exec 7<&0 </dev/null 6>&1
 
529
test -n "$DJDIR" || exec 7<&0 </dev/null
 
530
exec 6>&1
575
531
 
576
532
# Name of the host.
577
533
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
589
545
subdirs=
590
546
MFLAGS=
591
547
MAKEFLAGS=
592
 
SHELL=${CONFIG_SHELL-/bin/sh}
593
548
 
594
549
# Identity of this package.
595
550
PACKAGE_NAME='GSmartControl'
596
551
PACKAGE_TARNAME='gsmartcontrol'
597
 
PACKAGE_VERSION='0.8.5'
598
 
PACKAGE_STRING='GSmartControl 0.8.5'
 
552
PACKAGE_VERSION='0.8.6'
 
553
PACKAGE_STRING='GSmartControl 0.8.6'
599
554
PACKAGE_BUGREPORT=''
 
555
PACKAGE_URL=''
600
556
 
601
557
ac_unique_file="configure.ac"
602
558
# Factoring default headers for most tests.
635
591
# include <unistd.h>
636
592
#endif"
637
593
 
638
 
ac_subst_vars='LTLIBOBJS
 
594
ac_subst_vars='am__EXEEXT_FALSE
 
595
am__EXEEXT_TRUE
 
596
LTLIBOBJS
639
597
LIBOBJS
640
598
AUTODIRS
641
599
RES_TARGETS
642
600
RES_DIST
643
601
RES_LIBADD
 
602
WINDOWS_ARCH
 
603
GTK_INSTALLER_NAME
644
604
WINDOWS_BINDIR
645
605
NSIS_EXEC
646
606
pcre_config_binary
830
790
program_transform_name
831
791
prefix
832
792
exec_prefix
 
793
PACKAGE_URL
833
794
PACKAGE_BUGREPORT
834
795
PACKAGE_STRING
835
796
PACKAGE_VERSION
855
816
with_nsis
856
817
enable_nsis_wine
857
818
with_windows_bindir
 
819
with_windows_gtk_name
858
820
'
859
821
      ac_precious_vars='build_alias
860
822
host_alias
985
947
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
986
948
    # Reject names that are not valid shell variable names.
987
949
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
988
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
989
 
   { (exit 1); exit 1; }; }
 
950
      as_fn_error "invalid feature name: $ac_useropt"
990
951
    ac_useropt_orig=$ac_useropt
991
952
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
992
953
    case $ac_user_opts in
1012
973
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1013
974
    # Reject names that are not valid shell variable names.
1014
975
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1015
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1016
 
   { (exit 1); exit 1; }; }
 
976
      as_fn_error "invalid feature name: $ac_useropt"
1017
977
    ac_useropt_orig=$ac_useropt
1018
978
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1019
979
    case $ac_user_opts in
1217
1177
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1218
1178
    # Reject names that are not valid shell variable names.
1219
1179
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1220
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1221
 
   { (exit 1); exit 1; }; }
 
1180
      as_fn_error "invalid package name: $ac_useropt"
1222
1181
    ac_useropt_orig=$ac_useropt
1223
1182
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1224
1183
    case $ac_user_opts in
1234
1193
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1235
1194
    # Reject names that are not valid shell variable names.
1236
1195
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1237
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1238
 
   { (exit 1); exit 1; }; }
 
1196
      as_fn_error "invalid package name: $ac_useropt"
1239
1197
    ac_useropt_orig=$ac_useropt
1240
1198
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1241
1199
    case $ac_user_opts in
1265
1223
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1266
1224
    x_libraries=$ac_optarg ;;
1267
1225
 
1268
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1269
 
Try \`$0 --help' for more information." >&2
1270
 
   { (exit 1); exit 1; }; }
 
1226
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1227
Try \`$0 --help' for more information."
1271
1228
    ;;
1272
1229
 
1273
1230
  *=*)
1274
1231
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1275
1232
    # Reject names that are not valid shell variable names.
1276
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1277
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1278
 
   { (exit 1); exit 1; }; }
 
1233
    case $ac_envvar in #(
 
1234
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1235
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1236
    esac
1279
1237
    eval $ac_envvar=\$ac_optarg
1280
1238
    export $ac_envvar ;;
1281
1239
 
1292
1250
 
1293
1251
if test -n "$ac_prev"; then
1294
1252
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1295
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1296
 
   { (exit 1); exit 1; }; }
 
1253
  as_fn_error "missing argument to $ac_option"
1297
1254
fi
1298
1255
 
1299
1256
if test -n "$ac_unrecognized_opts"; then
1300
1257
  case $enable_option_checking in
1301
1258
    no) ;;
1302
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1303
 
   { (exit 1); exit 1; }; } ;;
 
1259
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1304
1260
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1305
1261
  esac
1306
1262
fi
1323
1279
    [\\/$]* | ?:[\\/]* )  continue;;
1324
1280
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1325
1281
  esac
1326
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1327
 
   { (exit 1); exit 1; }; }
 
1282
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1328
1283
done
1329
1284
 
1330
1285
# There might be people who depend on the old broken behavior: `$host'
1354
1309
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1355
1310
ac_ls_di=`ls -di .` &&
1356
1311
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1357
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1358
 
   { (exit 1); exit 1; }; }
 
1312
  as_fn_error "working directory cannot be determined"
1359
1313
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1360
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1361
 
   { (exit 1); exit 1; }; }
 
1314
  as_fn_error "pwd does not report name of working directory"
1362
1315
 
1363
1316
 
1364
1317
# Find the source files, if location was not specified.
1397
1350
fi
1398
1351
if test ! -r "$srcdir/$ac_unique_file"; then
1399
1352
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1400
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1401
 
   { (exit 1); exit 1; }; }
 
1353
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1402
1354
fi
1403
1355
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1404
1356
ac_abs_confdir=`(
1405
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1406
 
   { (exit 1); exit 1; }; }
 
1357
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1407
1358
        pwd)`
1408
1359
# When building in place, set srcdir=.
1409
1360
if test "$ac_abs_confdir" = "$ac_pwd"; then
1429
1380
  # Omit some internal or obsolete options to make the list less imposing.
1430
1381
  # This message is too long to be a string in the A/UX 3.1 sh.
1431
1382
  cat <<_ACEOF
1432
 
\`configure' configures GSmartControl 0.8.5 to adapt to many kinds of systems.
 
1383
\`configure' configures GSmartControl 0.8.6 to adapt to many kinds of systems.
1433
1384
 
1434
1385
Usage: $0 [OPTION]... [VAR=VALUE]...
1435
1386
 
1500
1451
 
1501
1452
if test -n "$ac_init_help"; then
1502
1453
  case $ac_init_help in
1503
 
     short | recursive ) echo "Configuration of GSmartControl 0.8.5:";;
 
1454
     short | recursive ) echo "Configuration of GSmartControl 0.8.6:";;
1504
1455
   esac
1505
1456
  cat <<\_ACEOF
1506
1457
 
1554
1505
                          specify makensis.exe location to support making NSIS
1555
1506
                          packages (default: "C:\Program
1556
1507
                          Files\NSIS\makensis.exe" for windows,
1557
 
                          "~/.wine/drive_c/Program Files/NSIS/makensis.exe"
1558
 
                          for others)
 
1508
                          "~/.wine/drive_c/Program
 
1509
                          Files/NSIS/Unicode/makensis.exe" for others)
1559
1510
  --with-windows-bindir   specify location of Windows dlls and executables
1560
1511
                          when making Windows packages (default:
1561
1512
                          /cross/w32/target/bin)
 
1513
  --with-windows-gtk-name specify name of Windows GTK+ runtime (installer and
 
1514
                          unpacked directory) when making Windows packages. It
 
1515
                          will be looked in windows-bindir.
1562
1516
 
1563
1517
Some influential environment variables:
1564
1518
  CC          C compiler command
1566
1520
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1567
1521
              nonstandard directory <lib dir>
1568
1522
  LIBS        libraries to pass to the linker, e.g. -l<library>
1569
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1523
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1570
1524
              you have headers in a nonstandard directory <include dir>
1571
1525
  CXX         C++ compiler command
1572
1526
  CXXFLAGS    C++ compiler flags
1589
1543
Use these variables to override the choices made by `configure' or to help
1590
1544
it to find libraries and programs with nonstandard names/locations.
1591
1545
 
 
1546
Report bugs to the package provider.
1592
1547
_ACEOF
1593
1548
ac_status=$?
1594
1549
fi
1651
1606
test -n "$ac_init_help" && exit $ac_status
1652
1607
if $ac_init_version; then
1653
1608
  cat <<\_ACEOF
1654
 
GSmartControl configure 0.8.5
1655
 
generated by GNU Autoconf 2.63
 
1609
GSmartControl configure 0.8.6
 
1610
generated by GNU Autoconf 2.65
1656
1611
 
1657
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1658
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1612
Copyright (C) 2009 Free Software Foundation, Inc.
1659
1613
This configure script is free software; the Free Software Foundation
1660
1614
gives unlimited permission to copy, distribute and modify it.
1661
1615
_ACEOF
1662
1616
  exit
1663
1617
fi
 
1618
 
 
1619
## ------------------------ ##
 
1620
## Autoconf initialization. ##
 
1621
## ------------------------ ##
 
1622
 
 
1623
# ac_fn_c_try_compile LINENO
 
1624
# --------------------------
 
1625
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1626
ac_fn_c_try_compile ()
 
1627
{
 
1628
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1629
  rm -f conftest.$ac_objext
 
1630
  if { { ac_try="$ac_compile"
 
1631
case "(($ac_try" in
 
1632
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1633
  *) ac_try_echo=$ac_try;;
 
1634
esac
 
1635
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1636
$as_echo "$ac_try_echo"; } >&5
 
1637
  (eval "$ac_compile") 2>conftest.err
 
1638
  ac_status=$?
 
1639
  if test -s conftest.err; then
 
1640
    grep -v '^ *+' conftest.err >conftest.er1
 
1641
    cat conftest.er1 >&5
 
1642
    mv -f conftest.er1 conftest.err
 
1643
  fi
 
1644
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1645
  test $ac_status = 0; } && {
 
1646
         test -z "$ac_c_werror_flag" ||
 
1647
         test ! -s conftest.err
 
1648
       } && test -s conftest.$ac_objext; then :
 
1649
  ac_retval=0
 
1650
else
 
1651
  $as_echo "$as_me: failed program was:" >&5
 
1652
sed 's/^/| /' conftest.$ac_ext >&5
 
1653
 
 
1654
        ac_retval=1
 
1655
fi
 
1656
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1657
  as_fn_set_status $ac_retval
 
1658
 
 
1659
} # ac_fn_c_try_compile
 
1660
 
 
1661
# ac_fn_cxx_try_compile LINENO
 
1662
# ----------------------------
 
1663
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1664
ac_fn_cxx_try_compile ()
 
1665
{
 
1666
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1667
  rm -f conftest.$ac_objext
 
1668
  if { { ac_try="$ac_compile"
 
1669
case "(($ac_try" in
 
1670
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1671
  *) ac_try_echo=$ac_try;;
 
1672
esac
 
1673
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1674
$as_echo "$ac_try_echo"; } >&5
 
1675
  (eval "$ac_compile") 2>conftest.err
 
1676
  ac_status=$?
 
1677
  if test -s conftest.err; then
 
1678
    grep -v '^ *+' conftest.err >conftest.er1
 
1679
    cat conftest.er1 >&5
 
1680
    mv -f conftest.er1 conftest.err
 
1681
  fi
 
1682
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1683
  test $ac_status = 0; } && {
 
1684
         test -z "$ac_cxx_werror_flag" ||
 
1685
         test ! -s conftest.err
 
1686
       } && test -s conftest.$ac_objext; then :
 
1687
  ac_retval=0
 
1688
else
 
1689
  $as_echo "$as_me: failed program was:" >&5
 
1690
sed 's/^/| /' conftest.$ac_ext >&5
 
1691
 
 
1692
        ac_retval=1
 
1693
fi
 
1694
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1695
  as_fn_set_status $ac_retval
 
1696
 
 
1697
} # ac_fn_cxx_try_compile
 
1698
 
 
1699
# ac_fn_cxx_try_cpp LINENO
 
1700
# ------------------------
 
1701
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1702
ac_fn_cxx_try_cpp ()
 
1703
{
 
1704
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1705
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1706
case "(($ac_try" in
 
1707
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1708
  *) ac_try_echo=$ac_try;;
 
1709
esac
 
1710
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1711
$as_echo "$ac_try_echo"; } >&5
 
1712
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1713
  ac_status=$?
 
1714
  if test -s conftest.err; then
 
1715
    grep -v '^ *+' conftest.err >conftest.er1
 
1716
    cat conftest.er1 >&5
 
1717
    mv -f conftest.er1 conftest.err
 
1718
  fi
 
1719
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1720
  test $ac_status = 0; } >/dev/null && {
 
1721
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
1722
         test ! -s conftest.err
 
1723
       }; then :
 
1724
  ac_retval=0
 
1725
else
 
1726
  $as_echo "$as_me: failed program was:" >&5
 
1727
sed 's/^/| /' conftest.$ac_ext >&5
 
1728
 
 
1729
    ac_retval=1
 
1730
fi
 
1731
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1732
  as_fn_set_status $ac_retval
 
1733
 
 
1734
} # ac_fn_cxx_try_cpp
 
1735
 
 
1736
# ac_fn_cxx_try_run LINENO
 
1737
# ------------------------
 
1738
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1739
# that executables *can* be run.
 
1740
ac_fn_cxx_try_run ()
 
1741
{
 
1742
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1743
  if { { ac_try="$ac_link"
 
1744
case "(($ac_try" in
 
1745
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1746
  *) ac_try_echo=$ac_try;;
 
1747
esac
 
1748
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1749
$as_echo "$ac_try_echo"; } >&5
 
1750
  (eval "$ac_link") 2>&5
 
1751
  ac_status=$?
 
1752
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1753
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1754
  { { case "(($ac_try" in
 
1755
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1756
  *) ac_try_echo=$ac_try;;
 
1757
esac
 
1758
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1759
$as_echo "$ac_try_echo"; } >&5
 
1760
  (eval "$ac_try") 2>&5
 
1761
  ac_status=$?
 
1762
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1763
  test $ac_status = 0; }; }; then :
 
1764
  ac_retval=0
 
1765
else
 
1766
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1767
       $as_echo "$as_me: failed program was:" >&5
 
1768
sed 's/^/| /' conftest.$ac_ext >&5
 
1769
 
 
1770
       ac_retval=$ac_status
 
1771
fi
 
1772
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1773
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1774
  as_fn_set_status $ac_retval
 
1775
 
 
1776
} # ac_fn_cxx_try_run
 
1777
 
 
1778
# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
 
1779
# ---------------------------------------------------------
 
1780
# Tests whether HEADER exists and can be compiled using the include files in
 
1781
# INCLUDES, setting the cache variable VAR accordingly.
 
1782
ac_fn_cxx_check_header_compile ()
 
1783
{
 
1784
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1785
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1786
$as_echo_n "checking for $2... " >&6; }
 
1787
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1788
  $as_echo_n "(cached) " >&6
 
1789
else
 
1790
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1791
/* end confdefs.h.  */
 
1792
$4
 
1793
#include <$2>
 
1794
_ACEOF
 
1795
if ac_fn_cxx_try_compile "$LINENO"; then :
 
1796
  eval "$3=yes"
 
1797
else
 
1798
  eval "$3=no"
 
1799
fi
 
1800
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1801
fi
 
1802
eval ac_res=\$$3
 
1803
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1804
$as_echo "$ac_res" >&6; }
 
1805
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1806
 
 
1807
} # ac_fn_cxx_check_header_compile
 
1808
 
 
1809
# ac_fn_c_find_intX_t LINENO BITS VAR
 
1810
# -----------------------------------
 
1811
# Finds a signed integer type with width BITS, setting cache variable VAR
 
1812
# accordingly.
 
1813
ac_fn_c_find_intX_t ()
 
1814
{
 
1815
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1816
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
 
1817
$as_echo_n "checking for int$2_t... " >&6; }
 
1818
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1819
  $as_echo_n "(cached) " >&6
 
1820
else
 
1821
  eval "$3=no"
 
1822
     # Order is important - never check a type that is potentially smaller
 
1823
     # than half of the expected target width.
 
1824
     for ac_type in int$2_t 'int' 'long int' \
 
1825
         'long long int' 'short int' 'signed char'; do
 
1826
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1827
/* end confdefs.h.  */
 
1828
$ac_includes_default
 
1829
int
 
1830
main ()
 
1831
{
 
1832
static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 };
 
1833
             0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
 
1834
test_array [0] = 0
 
1835
 
 
1836
  ;
 
1837
  return 0;
 
1838
}
 
1839
_ACEOF
 
1840
if ac_fn_cxx_try_compile "$LINENO"; then :
 
1841
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1842
/* end confdefs.h.  */
 
1843
$ac_includes_default
 
1844
int
 
1845
main ()
 
1846
{
 
1847
static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 };
 
1848
                ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
 
1849
                 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
 
1850
test_array [0] = 0
 
1851
 
 
1852
  ;
 
1853
  return 0;
 
1854
}
 
1855
_ACEOF
 
1856
if ac_fn_cxx_try_compile "$LINENO"; then :
 
1857
 
 
1858
else
 
1859
  case $ac_type in #(
 
1860
  int$2_t) :
 
1861
    eval "$3=yes" ;; #(
 
1862
  *) :
 
1863
    eval "$3=\$ac_type" ;;
 
1864
esac
 
1865
fi
 
1866
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1867
fi
 
1868
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1869
       eval as_val=\$$3
 
1870
   if test "x$as_val" = x""no; then :
 
1871
 
 
1872
else
 
1873
  break
 
1874
fi
 
1875
     done
 
1876
fi
 
1877
eval ac_res=\$$3
 
1878
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1879
$as_echo "$ac_res" >&6; }
 
1880
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1881
 
 
1882
} # ac_fn_c_find_intX_t
 
1883
 
 
1884
# ac_fn_c_find_uintX_t LINENO BITS VAR
 
1885
# ------------------------------------
 
1886
# Finds an unsigned integer type with width BITS, setting cache variable VAR
 
1887
# accordingly.
 
1888
ac_fn_c_find_uintX_t ()
 
1889
{
 
1890
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1891
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
 
1892
$as_echo_n "checking for uint$2_t... " >&6; }
 
1893
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1894
  $as_echo_n "(cached) " >&6
 
1895
else
 
1896
  eval "$3=no"
 
1897
     # Order is important - never check a type that is potentially smaller
 
1898
     # than half of the expected target width.
 
1899
     for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
 
1900
         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
 
1901
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1902
/* end confdefs.h.  */
 
1903
$ac_includes_default
 
1904
int
 
1905
main ()
 
1906
{
 
1907
static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
 
1908
test_array [0] = 0
 
1909
 
 
1910
  ;
 
1911
  return 0;
 
1912
}
 
1913
_ACEOF
 
1914
if ac_fn_cxx_try_compile "$LINENO"; then :
 
1915
  case $ac_type in #(
 
1916
  uint$2_t) :
 
1917
    eval "$3=yes" ;; #(
 
1918
  *) :
 
1919
    eval "$3=\$ac_type" ;;
 
1920
esac
 
1921
fi
 
1922
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1923
       eval as_val=\$$3
 
1924
   if test "x$as_val" = x""no; then :
 
1925
 
 
1926
else
 
1927
  break
 
1928
fi
 
1929
     done
 
1930
fi
 
1931
eval ac_res=\$$3
 
1932
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1933
$as_echo "$ac_res" >&6; }
 
1934
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1935
 
 
1936
} # ac_fn_c_find_uintX_t
 
1937
 
 
1938
# ac_fn_cxx_try_link LINENO
 
1939
# -------------------------
 
1940
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1941
ac_fn_cxx_try_link ()
 
1942
{
 
1943
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1944
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1945
  if { { ac_try="$ac_link"
 
1946
case "(($ac_try" in
 
1947
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1948
  *) ac_try_echo=$ac_try;;
 
1949
esac
 
1950
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1951
$as_echo "$ac_try_echo"; } >&5
 
1952
  (eval "$ac_link") 2>conftest.err
 
1953
  ac_status=$?
 
1954
  if test -s conftest.err; then
 
1955
    grep -v '^ *+' conftest.err >conftest.er1
 
1956
    cat conftest.er1 >&5
 
1957
    mv -f conftest.er1 conftest.err
 
1958
  fi
 
1959
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1960
  test $ac_status = 0; } && {
 
1961
         test -z "$ac_cxx_werror_flag" ||
 
1962
         test ! -s conftest.err
 
1963
       } && test -s conftest$ac_exeext && {
 
1964
         test "$cross_compiling" = yes ||
 
1965
         $as_test_x conftest$ac_exeext
 
1966
       }; then :
 
1967
  ac_retval=0
 
1968
else
 
1969
  $as_echo "$as_me: failed program was:" >&5
 
1970
sed 's/^/| /' conftest.$ac_ext >&5
 
1971
 
 
1972
        ac_retval=1
 
1973
fi
 
1974
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1975
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1976
  # interfere with the next link command; also delete a directory that is
 
1977
  # left behind by Apple's compiler.  We do this before executing the actions.
 
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
  as_fn_set_status $ac_retval
 
1981
 
 
1982
} # ac_fn_cxx_try_link
 
1983
 
 
1984
# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
 
1985
# ---------------------------------------------
 
1986
# Tests whether TYPE exists after having included INCLUDES, setting cache
 
1987
# variable VAR accordingly.
 
1988
ac_fn_cxx_check_type ()
 
1989
{
 
1990
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1991
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1992
$as_echo_n "checking for $2... " >&6; }
 
1993
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1994
  $as_echo_n "(cached) " >&6
 
1995
else
 
1996
  eval "$3=no"
 
1997
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1998
/* end confdefs.h.  */
 
1999
$4
 
2000
int
 
2001
main ()
 
2002
{
 
2003
if (sizeof ($2))
 
2004
         return 0;
 
2005
  ;
 
2006
  return 0;
 
2007
}
 
2008
_ACEOF
 
2009
if ac_fn_cxx_try_compile "$LINENO"; then :
 
2010
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2011
/* end confdefs.h.  */
 
2012
$4
 
2013
int
 
2014
main ()
 
2015
{
 
2016
if (sizeof (($2)))
 
2017
            return 0;
 
2018
  ;
 
2019
  return 0;
 
2020
}
 
2021
_ACEOF
 
2022
if ac_fn_cxx_try_compile "$LINENO"; then :
 
2023
 
 
2024
else
 
2025
  eval "$3=yes"
 
2026
fi
 
2027
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2028
fi
 
2029
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2030
fi
 
2031
eval ac_res=\$$3
 
2032
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2033
$as_echo "$ac_res" >&6; }
 
2034
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2035
 
 
2036
} # ac_fn_cxx_check_type
 
2037
 
 
2038
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2039
# ---------------------------------------------------------
 
2040
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2041
# the include files in INCLUDES and setting the cache variable VAR
 
2042
# accordingly.
 
2043
ac_fn_cxx_check_header_mongrel ()
 
2044
{
 
2045
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2046
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2047
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2048
$as_echo_n "checking for $2... " >&6; }
 
2049
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2050
  $as_echo_n "(cached) " >&6
 
2051
fi
 
2052
eval ac_res=\$$3
 
2053
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2054
$as_echo "$ac_res" >&6; }
 
2055
else
 
2056
  # Is the header compilable?
 
2057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2058
$as_echo_n "checking $2 usability... " >&6; }
 
2059
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2060
/* end confdefs.h.  */
 
2061
$4
 
2062
#include <$2>
 
2063
_ACEOF
 
2064
if ac_fn_cxx_try_compile "$LINENO"; then :
 
2065
  ac_header_compiler=yes
 
2066
else
 
2067
  ac_header_compiler=no
 
2068
fi
 
2069
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2071
$as_echo "$ac_header_compiler" >&6; }
 
2072
 
 
2073
# Is the header present?
 
2074
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2075
$as_echo_n "checking $2 presence... " >&6; }
 
2076
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2077
/* end confdefs.h.  */
 
2078
#include <$2>
 
2079
_ACEOF
 
2080
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
2081
  ac_header_preproc=yes
 
2082
else
 
2083
  ac_header_preproc=no
 
2084
fi
 
2085
rm -f conftest.err conftest.$ac_ext
 
2086
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2087
$as_echo "$ac_header_preproc" >&6; }
 
2088
 
 
2089
# So?  What about this header?
 
2090
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
 
2091
  yes:no: )
 
2092
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2093
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2094
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2095
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2096
    ;;
 
2097
  no:yes:* )
 
2098
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2099
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2100
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2101
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2102
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2103
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2104
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2105
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2106
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2107
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2108
    ;;
 
2109
esac
 
2110
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2111
$as_echo_n "checking for $2... " >&6; }
 
2112
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2113
  $as_echo_n "(cached) " >&6
 
2114
else
 
2115
  eval "$3=\$ac_header_compiler"
 
2116
fi
 
2117
eval ac_res=\$$3
 
2118
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2119
$as_echo "$ac_res" >&6; }
 
2120
fi
 
2121
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2122
 
 
2123
} # ac_fn_cxx_check_header_mongrel
 
2124
 
 
2125
# ac_fn_cxx_check_func LINENO FUNC VAR
 
2126
# ------------------------------------
 
2127
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
2128
ac_fn_cxx_check_func ()
 
2129
{
 
2130
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2131
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2132
$as_echo_n "checking for $2... " >&6; }
 
2133
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2134
  $as_echo_n "(cached) " >&6
 
2135
else
 
2136
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2137
/* end confdefs.h.  */
 
2138
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
2139
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
2140
#define $2 innocuous_$2
 
2141
 
 
2142
/* System header to define __stub macros and hopefully few prototypes,
 
2143
    which can conflict with char $2 (); below.
 
2144
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2145
    <limits.h> exists even on freestanding compilers.  */
 
2146
 
 
2147
#ifdef __STDC__
 
2148
# include <limits.h>
 
2149
#else
 
2150
# include <assert.h>
 
2151
#endif
 
2152
 
 
2153
#undef $2
 
2154
 
 
2155
/* Override any GCC internal prototype to avoid an error.
 
2156
   Use char because int might match the return type of a GCC
 
2157
   builtin and then its argument prototype would still apply.  */
 
2158
#ifdef __cplusplus
 
2159
extern "C"
 
2160
#endif
 
2161
char $2 ();
 
2162
/* The GNU C library defines this for functions which it implements
 
2163
    to always fail with ENOSYS.  Some functions are actually named
 
2164
    something starting with __ and the normal name is an alias.  */
 
2165
#if defined __stub_$2 || defined __stub___$2
 
2166
choke me
 
2167
#endif
 
2168
 
 
2169
int
 
2170
main ()
 
2171
{
 
2172
return $2 ();
 
2173
  ;
 
2174
  return 0;
 
2175
}
 
2176
_ACEOF
 
2177
if ac_fn_cxx_try_link "$LINENO"; then :
 
2178
  eval "$3=yes"
 
2179
else
 
2180
  eval "$3=no"
 
2181
fi
 
2182
rm -f core conftest.err conftest.$ac_objext \
 
2183
    conftest$ac_exeext conftest.$ac_ext
 
2184
fi
 
2185
eval ac_res=\$$3
 
2186
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2187
$as_echo "$ac_res" >&6; }
 
2188
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2189
 
 
2190
} # ac_fn_cxx_check_func
 
2191
 
 
2192
# ac_fn_cxx_check_decl LINENO SYMBOL VAR
 
2193
# --------------------------------------
 
2194
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
 
2195
ac_fn_cxx_check_decl ()
 
2196
{
 
2197
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2198
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
 
2199
$as_echo_n "checking whether $2 is declared... " >&6; }
 
2200
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2201
  $as_echo_n "(cached) " >&6
 
2202
else
 
2203
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2204
/* end confdefs.h.  */
 
2205
$4
 
2206
int
 
2207
main ()
 
2208
{
 
2209
#ifndef $2
 
2210
  (void) $2;
 
2211
#endif
 
2212
 
 
2213
  ;
 
2214
  return 0;
 
2215
}
 
2216
_ACEOF
 
2217
if ac_fn_cxx_try_compile "$LINENO"; then :
 
2218
  eval "$3=yes"
 
2219
else
 
2220
  eval "$3=no"
 
2221
fi
 
2222
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2223
fi
 
2224
eval ac_res=\$$3
 
2225
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2226
$as_echo "$ac_res" >&6; }
 
2227
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2228
 
 
2229
} # ac_fn_cxx_check_decl
1664
2230
cat >config.log <<_ACEOF
1665
2231
This file contains any messages produced by compilers while
1666
2232
running configure, to aid debugging if configure makes a mistake.
1667
2233
 
1668
 
It was created by GSmartControl $as_me 0.8.5, which was
1669
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
2234
It was created by GSmartControl $as_me 0.8.6, which was
 
2235
generated by GNU Autoconf 2.65.  Invocation command line was
1670
2236
 
1671
2237
  $ $0 $@
1672
2238
 
1702
2268
do
1703
2269
  IFS=$as_save_IFS
1704
2270
  test -z "$as_dir" && as_dir=.
1705
 
  $as_echo "PATH: $as_dir"
1706
 
done
 
2271
    $as_echo "PATH: $as_dir"
 
2272
  done
1707
2273
IFS=$as_save_IFS
1708
2274
 
1709
2275
} >&5
1740
2306
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1741
2307
    esac
1742
2308
    case $ac_pass in
1743
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2309
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1744
2310
    2)
1745
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2311
      as_fn_append ac_configure_args1 " '$ac_arg'"
1746
2312
      if test $ac_must_keep_next = true; then
1747
2313
        ac_must_keep_next=false # Got value, back to normal.
1748
2314
      else
1758
2324
          -* ) ac_must_keep_next=true ;;
1759
2325
        esac
1760
2326
      fi
1761
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2327
      as_fn_append ac_configure_args " '$ac_arg'"
1762
2328
      ;;
1763
2329
    esac
1764
2330
  done
1765
2331
done
1766
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1767
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2332
{ ac_configure_args0=; unset ac_configure_args0;}
 
2333
{ ac_configure_args1=; unset ac_configure_args1;}
1768
2334
 
1769
2335
# When interrupted or exit'd, cleanup temporary files, and complete
1770
2336
# config.log.  We remove comments because anyway the quotes in there
1789
2355
    case $ac_val in #(
1790
2356
    *${as_nl}*)
1791
2357
      case $ac_var in #(
1792
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2358
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1793
2359
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1794
2360
      esac
1795
2361
      case $ac_var in #(
1796
2362
      _ | IFS | as_nl) ;; #(
1797
2363
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1798
 
      *) $as_unset $ac_var ;;
 
2364
      *) { eval $ac_var=; unset $ac_var;} ;;
1799
2365
      esac ;;
1800
2366
    esac
1801
2367
  done
1867
2433
    exit $exit_status
1868
2434
' 0
1869
2435
for ac_signal in 1 2 13 15; do
1870
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2436
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1871
2437
done
1872
2438
ac_signal=0
1873
2439
 
1874
2440
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1875
2441
rm -f -r conftest* confdefs.h
1876
2442
 
 
2443
$as_echo "/* confdefs.h */" > confdefs.h
 
2444
 
1877
2445
# Predefined preprocessor variables.
1878
2446
 
1879
2447
cat >>confdefs.h <<_ACEOF
1880
2448
#define PACKAGE_NAME "$PACKAGE_NAME"
1881
2449
_ACEOF
1882
2450
 
1883
 
 
1884
2451
cat >>confdefs.h <<_ACEOF
1885
2452
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1886
2453
_ACEOF
1887
2454
 
1888
 
 
1889
2455
cat >>confdefs.h <<_ACEOF
1890
2456
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1891
2457
_ACEOF
1892
2458
 
1893
 
 
1894
2459
cat >>confdefs.h <<_ACEOF
1895
2460
#define PACKAGE_STRING "$PACKAGE_STRING"
1896
2461
_ACEOF
1897
2462
 
1898
 
 
1899
2463
cat >>confdefs.h <<_ACEOF
1900
2464
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1901
2465
_ACEOF
1902
2466
 
 
2467
cat >>confdefs.h <<_ACEOF
 
2468
#define PACKAGE_URL "$PACKAGE_URL"
 
2469
_ACEOF
 
2470
 
1903
2471
 
1904
2472
# Let the site file select an alternate cache file if it wants to.
1905
2473
# Prefer an explicitly selected file to automatically selected ones.
1917
2485
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1918
2486
do
1919
2487
  test "x$ac_site_file" = xNONE && continue
1920
 
  if test -r "$ac_site_file"; then
1921
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2488
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2489
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1922
2490
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1923
2491
    sed 's/^/| /' "$ac_site_file" >&5
1924
2492
    . "$ac_site_file"
1926
2494
done
1927
2495
 
1928
2496
if test -r "$cache_file"; then
1929
 
  # Some versions of bash will fail to source /dev/null (special
1930
 
  # files actually), so we avoid doing that.
1931
 
  if test -f "$cache_file"; then
1932
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2497
  # Some versions of bash will fail to source /dev/null (special files
 
2498
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2499
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2500
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1933
2501
$as_echo "$as_me: loading cache $cache_file" >&6;}
1934
2502
    case $cache_file in
1935
2503
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1937
2505
    esac
1938
2506
  fi
1939
2507
else
1940
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2508
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1941
2509
$as_echo "$as_me: creating cache $cache_file" >&6;}
1942
2510
  >$cache_file
1943
2511
fi
1952
2520
  eval ac_new_val=\$ac_env_${ac_var}_value
1953
2521
  case $ac_old_set,$ac_new_set in
1954
2522
    set,)
1955
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2523
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1956
2524
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1957
2525
      ac_cache_corrupted=: ;;
1958
2526
    ,set)
1959
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2527
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1960
2528
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1961
2529
      ac_cache_corrupted=: ;;
1962
2530
    ,);;
1966
2534
        ac_old_val_w=`echo x $ac_old_val`
1967
2535
        ac_new_val_w=`echo x $ac_new_val`
1968
2536
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1969
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2537
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1970
2538
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1971
2539
          ac_cache_corrupted=:
1972
2540
        else
1973
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2541
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1974
2542
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1975
2543
          eval $ac_var=\$ac_old_val
1976
2544
        fi
1977
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2545
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1978
2546
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1979
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2547
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1980
2548
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1981
2549
      fi;;
1982
2550
  esac
1988
2556
    esac
1989
2557
    case " $ac_configure_args " in
1990
2558
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1991
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2559
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1992
2560
    esac
1993
2561
  fi
1994
2562
done
1995
2563
if $ac_cache_corrupted; then
1996
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2564
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1997
2565
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1998
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2566
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1999
2567
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2000
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2001
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2002
 
   { (exit 1); exit 1; }; }
 
2568
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2003
2569
fi
2004
 
 
2005
 
 
2006
 
 
2007
 
 
2008
 
 
2009
 
 
2010
 
 
2011
 
 
2012
 
 
2013
 
 
2014
 
 
2015
 
 
2016
 
 
2017
 
 
2018
 
 
2019
 
 
2020
 
 
2021
 
 
2022
 
 
2023
 
 
2024
 
 
2025
 
 
2026
 
 
2027
 
 
 
2570
## -------------------- ##
 
2571
## Main body of script. ##
 
2572
## -------------------- ##
2028
2573
 
2029
2574
ac_ext=c
2030
2575
ac_cpp='$CPP $CPPFLAGS'
2040
2585
 
2041
2586
ac_aux_dir=
2042
2587
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2043
 
  if test -f "$ac_dir/install-sh"; then
2044
 
    ac_aux_dir=$ac_dir
2045
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2046
 
    break
2047
 
  elif test -f "$ac_dir/install.sh"; then
2048
 
    ac_aux_dir=$ac_dir
2049
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2050
 
    break
2051
 
  elif test -f "$ac_dir/shtool"; then
2052
 
    ac_aux_dir=$ac_dir
2053
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2054
 
    break
2055
 
  fi
 
2588
  for ac_t in install-sh install.sh shtool; do
 
2589
    if test -f "$ac_dir/$ac_t"; then
 
2590
      ac_aux_dir=$ac_dir
 
2591
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2592
      break 2
 
2593
    fi
 
2594
  done
2056
2595
done
2057
2596
if test -z "$ac_aux_dir"; then
2058
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2059
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2060
 
   { (exit 1); exit 1; }; }
 
2597
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2061
2598
fi
2062
2599
 
2063
2600
# These three variables are undocumented and unsupported,
2071
2608
 
2072
2609
# Make sure we can run config.sub.
2073
2610
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2074
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2075
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2076
 
   { (exit 1); exit 1; }; }
 
2611
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2077
2612
 
2078
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
2613
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2079
2614
$as_echo_n "checking build system type... " >&6; }
2080
 
if test "${ac_cv_build+set}" = set; then
 
2615
if test "${ac_cv_build+set}" = set; then :
2081
2616
  $as_echo_n "(cached) " >&6
2082
2617
else
2083
2618
  ac_build_alias=$build_alias
2084
2619
test "x$ac_build_alias" = x &&
2085
2620
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2086
2621
test "x$ac_build_alias" = x &&
2087
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2088
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2089
 
   { (exit 1); exit 1; }; }
 
2622
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2090
2623
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2091
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2092
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2093
 
   { (exit 1); exit 1; }; }
 
2624
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2094
2625
 
2095
2626
fi
2096
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2627
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2097
2628
$as_echo "$ac_cv_build" >&6; }
2098
2629
case $ac_cv_build in
2099
2630
*-*-*) ;;
2100
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2101
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2102
 
   { (exit 1); exit 1; }; };;
 
2631
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2103
2632
esac
2104
2633
build=$ac_cv_build
2105
2634
ac_save_IFS=$IFS; IFS='-'
2115
2644
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2116
2645
 
2117
2646
 
2118
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
2647
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2119
2648
$as_echo_n "checking host system type... " >&6; }
2120
 
if test "${ac_cv_host+set}" = set; then
 
2649
if test "${ac_cv_host+set}" = set; then :
2121
2650
  $as_echo_n "(cached) " >&6
2122
2651
else
2123
2652
  if test "x$host_alias" = x; then
2124
2653
  ac_cv_host=$ac_cv_build
2125
2654
else
2126
2655
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2127
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2128
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2129
 
   { (exit 1); exit 1; }; }
 
2656
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2130
2657
fi
2131
2658
 
2132
2659
fi
2133
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2660
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2134
2661
$as_echo "$ac_cv_host" >&6; }
2135
2662
case $ac_cv_host in
2136
2663
*-*-*) ;;
2137
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2138
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2139
 
   { (exit 1); exit 1; }; };;
 
2664
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2140
2665
esac
2141
2666
host=$ac_cv_host
2142
2667
ac_save_IFS=$IFS; IFS='-'
2152
2677
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2153
2678
 
2154
2679
 
2155
 
{ $as_echo "$as_me:$LINENO: checking target system type" >&5
 
2680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2156
2681
$as_echo_n "checking target system type... " >&6; }
2157
 
if test "${ac_cv_target+set}" = set; then
 
2682
if test "${ac_cv_target+set}" = set; then :
2158
2683
  $as_echo_n "(cached) " >&6
2159
2684
else
2160
2685
  if test "x$target_alias" = x; then
2161
2686
  ac_cv_target=$ac_cv_host
2162
2687
else
2163
2688
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2164
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2165
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2166
 
   { (exit 1); exit 1; }; }
 
2689
    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2167
2690
fi
2168
2691
 
2169
2692
fi
2170
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 
2693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2171
2694
$as_echo "$ac_cv_target" >&6; }
2172
2695
case $ac_cv_target in
2173
2696
*-*-*) ;;
2174
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2175
 
$as_echo "$as_me: error: invalid value of canonical target" >&2;}
2176
 
   { (exit 1); exit 1; }; };;
 
2697
*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2177
2698
esac
2178
2699
target=$ac_cv_target
2179
2700
ac_save_IFS=$IFS; IFS='-'
2196
2717
    NONENONEs,x,x, &&
2197
2718
  program_prefix=${target_alias}-
2198
2719
 
2199
 
am__api_version='1.10'
 
2720
am__api_version='1.11'
2200
2721
 
2201
2722
# Find a good install program.  We prefer a C program (faster),
2202
2723
# so one script is as good as another.  But avoid the broken or
2212
2733
# OS/2's system install, which has a completely different semantic
2213
2734
# ./install, which can be erroneously created by make from ./install.sh.
2214
2735
# Reject install programs that cannot install multiple files.
2215
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2736
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2216
2737
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2217
2738
if test -z "$INSTALL"; then
2218
 
if test "${ac_cv_path_install+set}" = set; then
 
2739
if test "${ac_cv_path_install+set}" = set; then :
2219
2740
  $as_echo_n "(cached) " >&6
2220
2741
else
2221
2742
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2223
2744
do
2224
2745
  IFS=$as_save_IFS
2225
2746
  test -z "$as_dir" && as_dir=.
2226
 
  # Account for people who put trailing slashes in PATH elements.
2227
 
case $as_dir/ in
2228
 
  ./ | .// | /cC/* | \
 
2747
    # Account for people who put trailing slashes in PATH elements.
 
2748
case $as_dir/ in #((
 
2749
  ./ | .// | /[cC]/* | \
2229
2750
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2230
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2751
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2231
2752
  /usr/ucb/* ) ;;
2232
2753
  *)
2233
2754
    # OSF1 and SCO ODT 3.0 have their own names for install.
2264
2785
    ;;
2265
2786
esac
2266
2787
 
2267
 
done
 
2788
  done
2268
2789
IFS=$as_save_IFS
2269
2790
 
2270
2791
rm -rf conftest.one conftest.two conftest.dir
2280
2801
    INSTALL=$ac_install_sh
2281
2802
  fi
2282
2803
fi
2283
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2804
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2284
2805
$as_echo "$INSTALL" >&6; }
2285
2806
 
2286
2807
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2291
2812
 
2292
2813
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2293
2814
 
2294
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2815
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2295
2816
$as_echo_n "checking whether build environment is sane... " >&6; }
2296
2817
# Just in case
2297
2818
sleep 1
2298
2819
echo timestamp > conftest.file
 
2820
# Reject unsafe characters in $srcdir or the absolute working directory
 
2821
# name.  Accept space and tab only in the latter.
 
2822
am_lf='
 
2823
'
 
2824
case `pwd` in
 
2825
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2826
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2827
esac
 
2828
case $srcdir in
 
2829
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2830
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2831
esac
 
2832
 
2299
2833
# Do `set' in a subshell so we don't clobber the current shell's
2300
2834
# arguments.  Must try -L first in case configure is actually a
2301
2835
# symlink; some systems play weird games with the mod time of symlinks
2302
2836
# (eg FreeBSD returns the mod time of the symlink's containing
2303
2837
# directory).
2304
2838
if (
2305
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2839
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2306
2840
   if test "$*" = "X"; then
2307
2841
      # -L didn't work.
2308
 
      set X `ls -t $srcdir/configure conftest.file`
 
2842
      set X `ls -t "$srcdir/configure" conftest.file`
2309
2843
   fi
2310
2844
   rm -f conftest.file
2311
2845
   if test "$*" != "X $srcdir/configure conftest.file" \
2315
2849
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2316
2850
      # broken ls alias from the environment.  This has actually
2317
2851
      # happened.  Such a system could not be considered "sane".
2318
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2319
 
alias in your environment" >&5
2320
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2321
 
alias in your environment" >&2;}
2322
 
   { (exit 1); exit 1; }; }
 
2852
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2853
alias in your environment" "$LINENO" 5
2323
2854
   fi
2324
2855
 
2325
2856
   test "$2" = conftest.file
2328
2859
   # Ok.
2329
2860
   :
2330
2861
else
2331
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2332
 
Check your system clock" >&5
2333
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2334
 
Check your system clock" >&2;}
2335
 
   { (exit 1); exit 1; }; }
 
2862
   as_fn_error "newly created file is older than distributed files!
 
2863
Check your system clock" "$LINENO" 5
2336
2864
fi
2337
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2865
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2338
2866
$as_echo "yes" >&6; }
2339
2867
test "$program_prefix" != NONE &&
2340
2868
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2349
2877
# expand $ac_aux_dir to an absolute path
2350
2878
am_aux_dir=`cd $ac_aux_dir && pwd`
2351
2879
 
2352
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2880
if test x"${MISSING+set}" != xset; then
 
2881
  case $am_aux_dir in
 
2882
  *\ * | *\     *)
 
2883
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2884
  *)
 
2885
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2886
  esac
 
2887
fi
2353
2888
# Use eval to expand $SHELL
2354
2889
if eval "$MISSING --run true"; then
2355
2890
  am_missing_run="$MISSING --run "
2356
2891
else
2357
2892
  am_missing_run=
2358
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2893
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2359
2894
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2360
2895
fi
2361
2896
 
2362
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2897
if test x"${install_sh}" != xset; then
 
2898
  case $am_aux_dir in
 
2899
  *\ * | *\     *)
 
2900
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2901
  *)
 
2902
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2903
  esac
 
2904
fi
 
2905
 
 
2906
# Installed binaries are usually stripped using `strip' when the user
 
2907
# run `make install-strip'.  However `strip' might not be the right
 
2908
# tool to use in cross-compilation environments, therefore Automake
 
2909
# will honor the `STRIP' environment variable to overrule this program.
 
2910
if test "$cross_compiling" != no; then
 
2911
  if test -n "$ac_tool_prefix"; then
 
2912
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2913
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2914
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2915
$as_echo_n "checking for $ac_word... " >&6; }
 
2916
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2917
  $as_echo_n "(cached) " >&6
 
2918
else
 
2919
  if test -n "$STRIP"; then
 
2920
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2921
else
 
2922
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2923
for as_dir in $PATH
 
2924
do
 
2925
  IFS=$as_save_IFS
 
2926
  test -z "$as_dir" && as_dir=.
 
2927
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2928
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2929
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2930
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2931
    break 2
 
2932
  fi
 
2933
done
 
2934
  done
 
2935
IFS=$as_save_IFS
 
2936
 
 
2937
fi
 
2938
fi
 
2939
STRIP=$ac_cv_prog_STRIP
 
2940
if test -n "$STRIP"; then
 
2941
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2942
$as_echo "$STRIP" >&6; }
 
2943
else
 
2944
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2945
$as_echo "no" >&6; }
 
2946
fi
 
2947
 
 
2948
 
 
2949
fi
 
2950
if test -z "$ac_cv_prog_STRIP"; then
 
2951
  ac_ct_STRIP=$STRIP
 
2952
  # Extract the first word of "strip", so it can be a program name with args.
 
2953
set dummy strip; ac_word=$2
 
2954
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2955
$as_echo_n "checking for $ac_word... " >&6; }
 
2956
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2957
  $as_echo_n "(cached) " >&6
 
2958
else
 
2959
  if test -n "$ac_ct_STRIP"; then
 
2960
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2961
else
 
2962
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2963
for as_dir in $PATH
 
2964
do
 
2965
  IFS=$as_save_IFS
 
2966
  test -z "$as_dir" && as_dir=.
 
2967
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2968
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2969
    ac_cv_prog_ac_ct_STRIP="strip"
 
2970
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2971
    break 2
 
2972
  fi
 
2973
done
 
2974
  done
 
2975
IFS=$as_save_IFS
 
2976
 
 
2977
fi
 
2978
fi
 
2979
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2980
if test -n "$ac_ct_STRIP"; then
 
2981
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2982
$as_echo "$ac_ct_STRIP" >&6; }
 
2983
else
 
2984
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2985
$as_echo "no" >&6; }
 
2986
fi
 
2987
 
 
2988
  if test "x$ac_ct_STRIP" = x; then
 
2989
    STRIP=":"
 
2990
  else
 
2991
    case $cross_compiling:$ac_tool_warned in
 
2992
yes:)
 
2993
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2994
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2995
ac_tool_warned=yes ;;
 
2996
esac
 
2997
    STRIP=$ac_ct_STRIP
 
2998
  fi
 
2999
else
 
3000
  STRIP="$ac_cv_prog_STRIP"
 
3001
fi
 
3002
 
 
3003
fi
 
3004
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
3005
 
 
3006
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2363
3007
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2364
3008
if test -z "$MKDIR_P"; then
2365
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
3009
  if test "${ac_cv_path_mkdir+set}" = set; then :
2366
3010
  $as_echo_n "(cached) " >&6
2367
3011
else
2368
3012
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2370
3014
do
2371
3015
  IFS=$as_save_IFS
2372
3016
  test -z "$as_dir" && as_dir=.
2373
 
  for ac_prog in mkdir gmkdir; do
 
3017
    for ac_prog in mkdir gmkdir; do
2374
3018
         for ac_exec_ext in '' $ac_executable_extensions; do
2375
3019
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2376
3020
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2382
3026
           esac
2383
3027
         done
2384
3028
       done
2385
 
done
 
3029
  done
2386
3030
IFS=$as_save_IFS
2387
3031
 
2388
3032
fi
2389
3033
 
 
3034
  test -d ./--version && rmdir ./--version
2390
3035
  if test "${ac_cv_path_mkdir+set}" = set; then
2391
3036
    MKDIR_P="$ac_cv_path_mkdir -p"
2392
3037
  else
2394
3039
    # value for MKDIR_P within a source directory, because that will
2395
3040
    # break other packages using the cache if that directory is
2396
3041
    # removed, or if the value is a relative name.
2397
 
    test -d ./--version && rmdir ./--version
2398
3042
    MKDIR_P="$ac_install_sh -d"
2399
3043
  fi
2400
3044
fi
2401
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
3045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2402
3046
$as_echo "$MKDIR_P" >&6; }
2403
3047
 
2404
3048
mkdir_p="$MKDIR_P"
2411
3055
do
2412
3056
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2413
3057
set dummy $ac_prog; ac_word=$2
2414
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2415
3059
$as_echo_n "checking for $ac_word... " >&6; }
2416
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
3060
if test "${ac_cv_prog_AWK+set}" = set; then :
2417
3061
  $as_echo_n "(cached) " >&6
2418
3062
else
2419
3063
  if test -n "$AWK"; then
2424
3068
do
2425
3069
  IFS=$as_save_IFS
2426
3070
  test -z "$as_dir" && as_dir=.
2427
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3071
    for ac_exec_ext in '' $ac_executable_extensions; do
2428
3072
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2429
3073
    ac_cv_prog_AWK="$ac_prog"
2430
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3074
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2431
3075
    break 2
2432
3076
  fi
2433
3077
done
2434
 
done
 
3078
  done
2435
3079
IFS=$as_save_IFS
2436
3080
 
2437
3081
fi
2438
3082
fi
2439
3083
AWK=$ac_cv_prog_AWK
2440
3084
if test -n "$AWK"; then
2441
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
3085
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2442
3086
$as_echo "$AWK" >&6; }
2443
3087
else
2444
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3088
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2445
3089
$as_echo "no" >&6; }
2446
3090
fi
2447
3091
 
2449
3093
  test -n "$AWK" && break
2450
3094
done
2451
3095
 
2452
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3096
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2453
3097
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2454
3098
set x ${MAKE-make}
2455
3099
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2456
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
3100
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2457
3101
  $as_echo_n "(cached) " >&6
2458
3102
else
2459
3103
  cat >conftest.make <<\_ACEOF
2471
3115
rm -f conftest.make
2472
3116
fi
2473
3117
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2474
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
3118
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2475
3119
$as_echo "yes" >&6; }
2476
3120
  SET_MAKE=
2477
3121
else
2478
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3122
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2479
3123
$as_echo "no" >&6; }
2480
3124
  SET_MAKE="MAKE=${MAKE-make}"
2481
3125
fi
2495
3139
  am__isrc=' -I$(srcdir)'
2496
3140
  # test to see if srcdir already configured
2497
3141
  if test -f $srcdir/config.status; then
2498
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2499
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2500
 
   { (exit 1); exit 1; }; }
 
3142
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2501
3143
  fi
2502
3144
fi
2503
3145
 
2513
3155
 
2514
3156
# Define the identity of the package.
2515
3157
 PACKAGE='gsmartcontrol'
2516
 
 VERSION='0.8.5'
 
3158
 VERSION='0.8.6'
2517
3159
 
2518
3160
 
2519
3161
cat >>confdefs.h <<_ACEOF
2541
3183
 
2542
3184
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2543
3185
 
2544
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2545
 
 
2546
 
# Installed binaries are usually stripped using `strip' when the user
2547
 
# run `make install-strip'.  However `strip' might not be the right
2548
 
# tool to use in cross-compilation environments, therefore Automake
2549
 
# will honor the `STRIP' environment variable to overrule this program.
2550
 
if test "$cross_compiling" != no; then
2551
 
  if test -n "$ac_tool_prefix"; then
2552
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2553
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2554
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2555
 
$as_echo_n "checking for $ac_word... " >&6; }
2556
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2557
 
  $as_echo_n "(cached) " >&6
2558
 
else
2559
 
  if test -n "$STRIP"; then
2560
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2561
 
else
2562
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2563
 
for as_dir in $PATH
2564
 
do
2565
 
  IFS=$as_save_IFS
2566
 
  test -z "$as_dir" && as_dir=.
2567
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2568
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2569
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2570
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2571
 
    break 2
2572
 
  fi
2573
 
done
2574
 
done
2575
 
IFS=$as_save_IFS
2576
 
 
2577
 
fi
2578
 
fi
2579
 
STRIP=$ac_cv_prog_STRIP
2580
 
if test -n "$STRIP"; then
2581
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2582
 
$as_echo "$STRIP" >&6; }
2583
 
else
2584
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2585
 
$as_echo "no" >&6; }
2586
 
fi
2587
 
 
2588
 
 
2589
 
fi
2590
 
if test -z "$ac_cv_prog_STRIP"; then
2591
 
  ac_ct_STRIP=$STRIP
2592
 
  # Extract the first word of "strip", so it can be a program name with args.
2593
 
set dummy strip; ac_word=$2
2594
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2595
 
$as_echo_n "checking for $ac_word... " >&6; }
2596
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2597
 
  $as_echo_n "(cached) " >&6
2598
 
else
2599
 
  if test -n "$ac_ct_STRIP"; then
2600
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2601
 
else
2602
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2603
 
for as_dir in $PATH
2604
 
do
2605
 
  IFS=$as_save_IFS
2606
 
  test -z "$as_dir" && as_dir=.
2607
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2608
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2609
 
    ac_cv_prog_ac_ct_STRIP="strip"
2610
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2611
 
    break 2
2612
 
  fi
2613
 
done
2614
 
done
2615
 
IFS=$as_save_IFS
2616
 
 
2617
 
fi
2618
 
fi
2619
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2620
 
if test -n "$ac_ct_STRIP"; then
2621
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2622
 
$as_echo "$ac_ct_STRIP" >&6; }
2623
 
else
2624
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2625
 
$as_echo "no" >&6; }
2626
 
fi
2627
 
 
2628
 
  if test "x$ac_ct_STRIP" = x; then
2629
 
    STRIP=":"
2630
 
  else
2631
 
    case $cross_compiling:$ac_tool_warned in
2632
 
yes:)
2633
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2634
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2635
 
ac_tool_warned=yes ;;
2636
 
esac
2637
 
    STRIP=$ac_ct_STRIP
2638
 
  fi
2639
 
else
2640
 
  STRIP="$ac_cv_prog_STRIP"
2641
 
fi
2642
 
 
2643
 
fi
2644
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2645
 
 
2646
3186
# We need awk for the "check" target.  The system "awk" is bad on
2647
3187
# some platforms.
2648
3188
# Always define AMTAR for backward compatibility.
2661
3201
 
2662
3202
 
2663
3203
        # Check whether --enable-user-flags was given.
2664
 
if test "${enable_user_flags+set}" = set; then
 
3204
if test "${enable_user_flags+set}" = set; then :
2665
3205
  enableval=$enable_user_flags; app_cv_compiler_user_flags=${enableval}
2666
3206
else
2667
3207
  app_cv_compiler_user_flags=yes
2668
3208
fi
2669
3209
 
2670
3210
 
2671
 
        { $as_echo "$as_me:$LINENO: Enable user-specified compiler flags: $app_cv_compiler_user_flags" >&5
 
3211
        { $as_echo "$as_me:${as_lineno-$LINENO}: Enable user-specified compiler flags: $app_cv_compiler_user_flags" >&5
2672
3212
$as_echo "$as_me: Enable user-specified compiler flags: $app_cv_compiler_user_flags" >&6;}
2673
3213
 
2674
3214
        # Reset user-supplied flags if requested.
2690
3230
if test -n "$ac_tool_prefix"; then
2691
3231
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2692
3232
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2693
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3233
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2694
3234
$as_echo_n "checking for $ac_word... " >&6; }
2695
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3235
if test "${ac_cv_prog_CC+set}" = set; then :
2696
3236
  $as_echo_n "(cached) " >&6
2697
3237
else
2698
3238
  if test -n "$CC"; then
2703
3243
do
2704
3244
  IFS=$as_save_IFS
2705
3245
  test -z "$as_dir" && as_dir=.
2706
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3246
    for ac_exec_ext in '' $ac_executable_extensions; do
2707
3247
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2708
3248
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2709
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3249
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2710
3250
    break 2
2711
3251
  fi
2712
3252
done
2713
 
done
 
3253
  done
2714
3254
IFS=$as_save_IFS
2715
3255
 
2716
3256
fi
2717
3257
fi
2718
3258
CC=$ac_cv_prog_CC
2719
3259
if test -n "$CC"; then
2720
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3260
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2721
3261
$as_echo "$CC" >&6; }
2722
3262
else
2723
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3263
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2724
3264
$as_echo "no" >&6; }
2725
3265
fi
2726
3266
 
2730
3270
  ac_ct_CC=$CC
2731
3271
  # Extract the first word of "gcc", so it can be a program name with args.
2732
3272
set dummy gcc; ac_word=$2
2733
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3273
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2734
3274
$as_echo_n "checking for $ac_word... " >&6; }
2735
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3275
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2736
3276
  $as_echo_n "(cached) " >&6
2737
3277
else
2738
3278
  if test -n "$ac_ct_CC"; then
2743
3283
do
2744
3284
  IFS=$as_save_IFS
2745
3285
  test -z "$as_dir" && as_dir=.
2746
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3286
    for ac_exec_ext in '' $ac_executable_extensions; do
2747
3287
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2748
3288
    ac_cv_prog_ac_ct_CC="gcc"
2749
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3289
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2750
3290
    break 2
2751
3291
  fi
2752
3292
done
2753
 
done
 
3293
  done
2754
3294
IFS=$as_save_IFS
2755
3295
 
2756
3296
fi
2757
3297
fi
2758
3298
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2759
3299
if test -n "$ac_ct_CC"; then
2760
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3300
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2761
3301
$as_echo "$ac_ct_CC" >&6; }
2762
3302
else
2763
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3303
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2764
3304
$as_echo "no" >&6; }
2765
3305
fi
2766
3306
 
2769
3309
  else
2770
3310
    case $cross_compiling:$ac_tool_warned in
2771
3311
yes:)
2772
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3312
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2773
3313
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2774
3314
ac_tool_warned=yes ;;
2775
3315
esac
2783
3323
          if test -n "$ac_tool_prefix"; then
2784
3324
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2785
3325
set dummy ${ac_tool_prefix}cc; ac_word=$2
2786
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2787
3327
$as_echo_n "checking for $ac_word... " >&6; }
2788
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3328
if test "${ac_cv_prog_CC+set}" = set; then :
2789
3329
  $as_echo_n "(cached) " >&6
2790
3330
else
2791
3331
  if test -n "$CC"; then
2796
3336
do
2797
3337
  IFS=$as_save_IFS
2798
3338
  test -z "$as_dir" && as_dir=.
2799
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3339
    for ac_exec_ext in '' $ac_executable_extensions; do
2800
3340
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2801
3341
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2802
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3342
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2803
3343
    break 2
2804
3344
  fi
2805
3345
done
2806
 
done
 
3346
  done
2807
3347
IFS=$as_save_IFS
2808
3348
 
2809
3349
fi
2810
3350
fi
2811
3351
CC=$ac_cv_prog_CC
2812
3352
if test -n "$CC"; then
2813
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3353
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2814
3354
$as_echo "$CC" >&6; }
2815
3355
else
2816
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3356
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2817
3357
$as_echo "no" >&6; }
2818
3358
fi
2819
3359
 
2823
3363
if test -z "$CC"; then
2824
3364
  # Extract the first word of "cc", so it can be a program name with args.
2825
3365
set dummy cc; ac_word=$2
2826
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2827
3367
$as_echo_n "checking for $ac_word... " >&6; }
2828
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3368
if test "${ac_cv_prog_CC+set}" = set; then :
2829
3369
  $as_echo_n "(cached) " >&6
2830
3370
else
2831
3371
  if test -n "$CC"; then
2837
3377
do
2838
3378
  IFS=$as_save_IFS
2839
3379
  test -z "$as_dir" && as_dir=.
2840
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3380
    for ac_exec_ext in '' $ac_executable_extensions; do
2841
3381
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2842
3382
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2843
3383
       ac_prog_rejected=yes
2844
3384
       continue
2845
3385
     fi
2846
3386
    ac_cv_prog_CC="cc"
2847
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3387
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2848
3388
    break 2
2849
3389
  fi
2850
3390
done
2851
 
done
 
3391
  done
2852
3392
IFS=$as_save_IFS
2853
3393
 
2854
3394
if test $ac_prog_rejected = yes; then
2867
3407
fi
2868
3408
CC=$ac_cv_prog_CC
2869
3409
if test -n "$CC"; then
2870
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3410
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2871
3411
$as_echo "$CC" >&6; }
2872
3412
else
2873
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3413
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2874
3414
$as_echo "no" >&6; }
2875
3415
fi
2876
3416
 
2882
3422
  do
2883
3423
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2884
3424
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2885
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3425
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2886
3426
$as_echo_n "checking for $ac_word... " >&6; }
2887
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3427
if test "${ac_cv_prog_CC+set}" = set; then :
2888
3428
  $as_echo_n "(cached) " >&6
2889
3429
else
2890
3430
  if test -n "$CC"; then
2895
3435
do
2896
3436
  IFS=$as_save_IFS
2897
3437
  test -z "$as_dir" && as_dir=.
2898
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3438
    for ac_exec_ext in '' $ac_executable_extensions; do
2899
3439
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2900
3440
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2901
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3441
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2902
3442
    break 2
2903
3443
  fi
2904
3444
done
2905
 
done
 
3445
  done
2906
3446
IFS=$as_save_IFS
2907
3447
 
2908
3448
fi
2909
3449
fi
2910
3450
CC=$ac_cv_prog_CC
2911
3451
if test -n "$CC"; then
2912
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3452
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2913
3453
$as_echo "$CC" >&6; }
2914
3454
else
2915
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3455
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2916
3456
$as_echo "no" >&6; }
2917
3457
fi
2918
3458
 
2926
3466
do
2927
3467
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2928
3468
set dummy $ac_prog; ac_word=$2
2929
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2930
3470
$as_echo_n "checking for $ac_word... " >&6; }
2931
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3471
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2932
3472
  $as_echo_n "(cached) " >&6
2933
3473
else
2934
3474
  if test -n "$ac_ct_CC"; then
2939
3479
do
2940
3480
  IFS=$as_save_IFS
2941
3481
  test -z "$as_dir" && as_dir=.
2942
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3482
    for ac_exec_ext in '' $ac_executable_extensions; do
2943
3483
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2944
3484
    ac_cv_prog_ac_ct_CC="$ac_prog"
2945
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3485
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2946
3486
    break 2
2947
3487
  fi
2948
3488
done
2949
 
done
 
3489
  done
2950
3490
IFS=$as_save_IFS
2951
3491
 
2952
3492
fi
2953
3493
fi
2954
3494
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2955
3495
if test -n "$ac_ct_CC"; then
2956
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3496
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2957
3497
$as_echo "$ac_ct_CC" >&6; }
2958
3498
else
2959
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3499
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2960
3500
$as_echo "no" >&6; }
2961
3501
fi
2962
3502
 
2969
3509
  else
2970
3510
    case $cross_compiling:$ac_tool_warned in
2971
3511
yes:)
2972
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3512
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2973
3513
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2974
3514
ac_tool_warned=yes ;;
2975
3515
esac
2980
3520
fi
2981
3521
 
2982
3522
 
2983
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3523
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2984
3524
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2985
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2986
 
See \`config.log' for more details." >&5
2987
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2988
 
See \`config.log' for more details." >&2;}
2989
 
   { (exit 1); exit 1; }; }; }
 
3525
as_fn_error "no acceptable C compiler found in \$PATH
 
3526
See \`config.log' for more details." "$LINENO" 5; }
2990
3527
 
2991
3528
# Provide some information about the compiler.
2992
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3529
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2993
3530
set X $ac_compile
2994
3531
ac_compiler=$2
2995
 
{ (ac_try="$ac_compiler --version >&5"
2996
 
case "(($ac_try" in
2997
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2998
 
  *) ac_try_echo=$ac_try;;
2999
 
esac
3000
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3001
 
$as_echo "$ac_try_echo") >&5
3002
 
  (eval "$ac_compiler --version >&5") 2>&5
3003
 
  ac_status=$?
3004
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005
 
  (exit $ac_status); }
3006
 
{ (ac_try="$ac_compiler -v >&5"
3007
 
case "(($ac_try" in
3008
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3009
 
  *) ac_try_echo=$ac_try;;
3010
 
esac
3011
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3012
 
$as_echo "$ac_try_echo") >&5
3013
 
  (eval "$ac_compiler -v >&5") 2>&5
3014
 
  ac_status=$?
3015
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016
 
  (exit $ac_status); }
3017
 
{ (ac_try="$ac_compiler -V >&5"
3018
 
case "(($ac_try" in
3019
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3020
 
  *) ac_try_echo=$ac_try;;
3021
 
esac
3022
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3023
 
$as_echo "$ac_try_echo") >&5
3024
 
  (eval "$ac_compiler -V >&5") 2>&5
3025
 
  ac_status=$?
3026
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027
 
  (exit $ac_status); }
 
3532
for ac_option in --version -v -V -qversion; do
 
3533
  { { ac_try="$ac_compiler $ac_option >&5"
 
3534
case "(($ac_try" in
 
3535
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3536
  *) ac_try_echo=$ac_try;;
 
3537
esac
 
3538
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3539
$as_echo "$ac_try_echo"; } >&5
 
3540
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3541
  ac_status=$?
 
3542
  if test -s conftest.err; then
 
3543
    sed '10a\
 
3544
... rest of stderr output deleted ...
 
3545
         10q' conftest.err >conftest.er1
 
3546
    cat conftest.er1 >&5
 
3547
  fi
 
3548
  rm -f conftest.er1 conftest.err
 
3549
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3550
  test $ac_status = 0; }
 
3551
done
3028
3552
 
3029
 
cat >conftest.$ac_ext <<_ACEOF
3030
 
/* confdefs.h.  */
3031
 
_ACEOF
3032
 
cat confdefs.h >>conftest.$ac_ext
3033
 
cat >>conftest.$ac_ext <<_ACEOF
 
3553
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3034
3554
/* end confdefs.h.  */
3035
3555
 
3036
3556
int
3046
3566
# Try to create an executable without -o first, disregard a.out.
3047
3567
# It will help us diagnose broken compilers, and finding out an intuition
3048
3568
# of exeext.
3049
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3050
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3569
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3570
$as_echo_n "checking whether the C compiler works... " >&6; }
3051
3571
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3052
3572
 
3053
3573
# The possible output files:
3063
3583
done
3064
3584
rm -f $ac_rmfiles
3065
3585
 
3066
 
if { (ac_try="$ac_link_default"
 
3586
if { { ac_try="$ac_link_default"
3067
3587
case "(($ac_try" in
3068
3588
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3069
3589
  *) ac_try_echo=$ac_try;;
3070
3590
esac
3071
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3072
 
$as_echo "$ac_try_echo") >&5
 
3591
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3592
$as_echo "$ac_try_echo"; } >&5
3073
3593
  (eval "$ac_link_default") 2>&5
3074
3594
  ac_status=$?
3075
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076
 
  (exit $ac_status); }; then
 
3595
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3596
  test $ac_status = 0; }; then :
3077
3597
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3078
3598
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3079
3599
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3090
3610
        # certainly right.
3091
3611
        break;;
3092
3612
    *.* )
3093
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3613
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3094
3614
        then :; else
3095
3615
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3096
3616
        fi
3109
3629
else
3110
3630
  ac_file=''
3111
3631
fi
 
3632
if test -z "$ac_file"; then :
 
3633
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3634
$as_echo "no" >&6; }
 
3635
$as_echo "$as_me: failed program was:" >&5
 
3636
sed 's/^/| /' conftest.$ac_ext >&5
3112
3637
 
3113
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3638
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3639
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3640
{ as_fn_set_status 77
 
3641
as_fn_error "C compiler cannot create executables
 
3642
See \`config.log' for more details." "$LINENO" 5; }; }
 
3643
else
 
3644
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3645
$as_echo "yes" >&6; }
 
3646
fi
 
3647
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3648
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3649
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3114
3650
$as_echo "$ac_file" >&6; }
3115
 
if test -z "$ac_file"; then
3116
 
  $as_echo "$as_me: failed program was:" >&5
3117
 
sed 's/^/| /' conftest.$ac_ext >&5
3118
 
 
3119
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3120
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3121
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3122
 
See \`config.log' for more details." >&5
3123
 
$as_echo "$as_me: error: C compiler cannot create executables
3124
 
See \`config.log' for more details." >&2;}
3125
 
   { (exit 77); exit 77; }; }; }
3126
 
fi
3127
 
 
3128
3651
ac_exeext=$ac_cv_exeext
3129
3652
 
3130
 
# Check that the compiler produces executables we can run.  If not, either
3131
 
# the compiler is broken, or we cross compile.
3132
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3133
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3134
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3135
 
# If not cross compiling, check that we can run a simple program.
3136
 
if test "$cross_compiling" != yes; then
3137
 
  if { ac_try='./$ac_file'
3138
 
  { (case "(($ac_try" in
3139
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3140
 
  *) ac_try_echo=$ac_try;;
3141
 
esac
3142
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3143
 
$as_echo "$ac_try_echo") >&5
3144
 
  (eval "$ac_try") 2>&5
3145
 
  ac_status=$?
3146
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147
 
  (exit $ac_status); }; }; then
3148
 
    cross_compiling=no
3149
 
  else
3150
 
    if test "$cross_compiling" = maybe; then
3151
 
        cross_compiling=yes
3152
 
    else
3153
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3154
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3155
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3156
 
If you meant to cross compile, use \`--host'.
3157
 
See \`config.log' for more details." >&5
3158
 
$as_echo "$as_me: error: cannot run C compiled programs.
3159
 
If you meant to cross compile, use \`--host'.
3160
 
See \`config.log' for more details." >&2;}
3161
 
   { (exit 1); exit 1; }; }; }
3162
 
    fi
3163
 
  fi
3164
 
fi
3165
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3166
 
$as_echo "yes" >&6; }
3167
 
 
3168
3653
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3169
3654
ac_clean_files=$ac_clean_files_save
3170
 
# Check that the compiler produces executables we can run.  If not, either
3171
 
# the compiler is broken, or we cross compile.
3172
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3173
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3174
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3175
 
$as_echo "$cross_compiling" >&6; }
3176
 
 
3177
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3655
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3178
3656
$as_echo_n "checking for suffix of executables... " >&6; }
3179
 
if { (ac_try="$ac_link"
 
3657
if { { ac_try="$ac_link"
3180
3658
case "(($ac_try" in
3181
3659
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3182
3660
  *) ac_try_echo=$ac_try;;
3183
3661
esac
3184
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3185
 
$as_echo "$ac_try_echo") >&5
 
3662
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3663
$as_echo "$ac_try_echo"; } >&5
3186
3664
  (eval "$ac_link") 2>&5
3187
3665
  ac_status=$?
3188
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189
 
  (exit $ac_status); }; then
 
3666
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3667
  test $ac_status = 0; }; then :
3190
3668
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3191
3669
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3192
3670
# work properly (i.e., refer to `conftest.exe'), while it won't with
3201
3679
  esac
3202
3680
done
3203
3681
else
3204
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3682
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3205
3683
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3206
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3207
 
See \`config.log' for more details." >&5
3208
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3209
 
See \`config.log' for more details." >&2;}
3210
 
   { (exit 1); exit 1; }; }; }
 
3684
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3685
See \`config.log' for more details." "$LINENO" 5; }
3211
3686
fi
3212
 
 
3213
 
rm -f conftest$ac_cv_exeext
3214
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3687
rm -f conftest conftest$ac_cv_exeext
 
3688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3215
3689
$as_echo "$ac_cv_exeext" >&6; }
3216
3690
 
3217
3691
rm -f conftest.$ac_ext
3218
3692
EXEEXT=$ac_cv_exeext
3219
3693
ac_exeext=$EXEEXT
3220
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3694
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3695
/* end confdefs.h.  */
 
3696
#include <stdio.h>
 
3697
int
 
3698
main ()
 
3699
{
 
3700
FILE *f = fopen ("conftest.out", "w");
 
3701
 return ferror (f) || fclose (f) != 0;
 
3702
 
 
3703
  ;
 
3704
  return 0;
 
3705
}
 
3706
_ACEOF
 
3707
ac_clean_files="$ac_clean_files conftest.out"
 
3708
# Check that the compiler produces executables we can run.  If not, either
 
3709
# the compiler is broken, or we cross compile.
 
3710
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3711
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3712
if test "$cross_compiling" != yes; then
 
3713
  { { ac_try="$ac_link"
 
3714
case "(($ac_try" in
 
3715
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3716
  *) ac_try_echo=$ac_try;;
 
3717
esac
 
3718
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3719
$as_echo "$ac_try_echo"; } >&5
 
3720
  (eval "$ac_link") 2>&5
 
3721
  ac_status=$?
 
3722
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3723
  test $ac_status = 0; }
 
3724
  if { ac_try='./conftest$ac_cv_exeext'
 
3725
  { { case "(($ac_try" in
 
3726
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3727
  *) ac_try_echo=$ac_try;;
 
3728
esac
 
3729
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3730
$as_echo "$ac_try_echo"; } >&5
 
3731
  (eval "$ac_try") 2>&5
 
3732
  ac_status=$?
 
3733
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3734
  test $ac_status = 0; }; }; then
 
3735
    cross_compiling=no
 
3736
  else
 
3737
    if test "$cross_compiling" = maybe; then
 
3738
        cross_compiling=yes
 
3739
    else
 
3740
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3741
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3742
as_fn_error "cannot run C compiled programs.
 
3743
If you meant to cross compile, use \`--host'.
 
3744
See \`config.log' for more details." "$LINENO" 5; }
 
3745
    fi
 
3746
  fi
 
3747
fi
 
3748
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3749
$as_echo "$cross_compiling" >&6; }
 
3750
 
 
3751
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3752
ac_clean_files=$ac_clean_files_save
 
3753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3221
3754
$as_echo_n "checking for suffix of object files... " >&6; }
3222
 
if test "${ac_cv_objext+set}" = set; then
 
3755
if test "${ac_cv_objext+set}" = set; then :
3223
3756
  $as_echo_n "(cached) " >&6
3224
3757
else
3225
 
  cat >conftest.$ac_ext <<_ACEOF
3226
 
/* confdefs.h.  */
3227
 
_ACEOF
3228
 
cat confdefs.h >>conftest.$ac_ext
3229
 
cat >>conftest.$ac_ext <<_ACEOF
 
3758
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3230
3759
/* end confdefs.h.  */
3231
3760
 
3232
3761
int
3238
3767
}
3239
3768
_ACEOF
3240
3769
rm -f conftest.o conftest.obj
3241
 
if { (ac_try="$ac_compile"
 
3770
if { { ac_try="$ac_compile"
3242
3771
case "(($ac_try" in
3243
3772
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3244
3773
  *) ac_try_echo=$ac_try;;
3245
3774
esac
3246
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3247
 
$as_echo "$ac_try_echo") >&5
 
3775
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3776
$as_echo "$ac_try_echo"; } >&5
3248
3777
  (eval "$ac_compile") 2>&5
3249
3778
  ac_status=$?
3250
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251
 
  (exit $ac_status); }; then
 
3779
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3780
  test $ac_status = 0; }; then :
3252
3781
  for ac_file in conftest.o conftest.obj conftest.*; do
3253
3782
  test -f "$ac_file" || continue;
3254
3783
  case $ac_file in
3261
3790
  $as_echo "$as_me: failed program was:" >&5
3262
3791
sed 's/^/| /' conftest.$ac_ext >&5
3263
3792
 
3264
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3793
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3265
3794
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3266
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3267
 
See \`config.log' for more details." >&5
3268
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3269
 
See \`config.log' for more details." >&2;}
3270
 
   { (exit 1); exit 1; }; }; }
 
3795
as_fn_error "cannot compute suffix of object files: cannot compile
 
3796
See \`config.log' for more details." "$LINENO" 5; }
3271
3797
fi
3272
 
 
3273
3798
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3274
3799
fi
3275
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3800
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3276
3801
$as_echo "$ac_cv_objext" >&6; }
3277
3802
OBJEXT=$ac_cv_objext
3278
3803
ac_objext=$OBJEXT
3279
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3804
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3280
3805
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3281
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3806
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3282
3807
  $as_echo_n "(cached) " >&6
3283
3808
else
3284
 
  cat >conftest.$ac_ext <<_ACEOF
3285
 
/* confdefs.h.  */
3286
 
_ACEOF
3287
 
cat confdefs.h >>conftest.$ac_ext
3288
 
cat >>conftest.$ac_ext <<_ACEOF
 
3809
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3289
3810
/* end confdefs.h.  */
3290
3811
 
3291
3812
int
3299
3820
  return 0;
3300
3821
}
3301
3822
_ACEOF
3302
 
rm -f conftest.$ac_objext
3303
 
if { (ac_try="$ac_compile"
3304
 
case "(($ac_try" in
3305
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3306
 
  *) ac_try_echo=$ac_try;;
3307
 
esac
3308
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3309
 
$as_echo "$ac_try_echo") >&5
3310
 
  (eval "$ac_compile") 2>conftest.er1
3311
 
  ac_status=$?
3312
 
  grep -v '^ *+' conftest.er1 >conftest.err
3313
 
  rm -f conftest.er1
3314
 
  cat conftest.err >&5
3315
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316
 
  (exit $ac_status); } && {
3317
 
         test -z "$ac_c_werror_flag" ||
3318
 
         test ! -s conftest.err
3319
 
       } && test -s conftest.$ac_objext; then
 
3823
if ac_fn_c_try_compile "$LINENO"; then :
3320
3824
  ac_compiler_gnu=yes
3321
3825
else
3322
 
  $as_echo "$as_me: failed program was:" >&5
3323
 
sed 's/^/| /' conftest.$ac_ext >&5
3324
 
 
3325
 
        ac_compiler_gnu=no
 
3826
  ac_compiler_gnu=no
3326
3827
fi
3327
 
 
3328
3828
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3329
3829
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3330
3830
 
3331
3831
fi
3332
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3832
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3333
3833
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3334
3834
if test $ac_compiler_gnu = yes; then
3335
3835
  GCC=yes
3338
3838
fi
3339
3839
ac_test_CFLAGS=${CFLAGS+set}
3340
3840
ac_save_CFLAGS=$CFLAGS
3341
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3841
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3342
3842
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3343
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3843
if test "${ac_cv_prog_cc_g+set}" = set; then :
3344
3844
  $as_echo_n "(cached) " >&6
3345
3845
else
3346
3846
  ac_save_c_werror_flag=$ac_c_werror_flag
3347
3847
   ac_c_werror_flag=yes
3348
3848
   ac_cv_prog_cc_g=no
3349
3849
   CFLAGS="-g"
3350
 
   cat >conftest.$ac_ext <<_ACEOF
3351
 
/* confdefs.h.  */
3352
 
_ACEOF
3353
 
cat confdefs.h >>conftest.$ac_ext
3354
 
cat >>conftest.$ac_ext <<_ACEOF
 
3850
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3355
3851
/* end confdefs.h.  */
3356
3852
 
3357
3853
int
3362
3858
  return 0;
3363
3859
}
3364
3860
_ACEOF
3365
 
rm -f conftest.$ac_objext
3366
 
if { (ac_try="$ac_compile"
3367
 
case "(($ac_try" in
3368
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3369
 
  *) ac_try_echo=$ac_try;;
3370
 
esac
3371
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3372
 
$as_echo "$ac_try_echo") >&5
3373
 
  (eval "$ac_compile") 2>conftest.er1
3374
 
  ac_status=$?
3375
 
  grep -v '^ *+' conftest.er1 >conftest.err
3376
 
  rm -f conftest.er1
3377
 
  cat conftest.err >&5
3378
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3379
 
  (exit $ac_status); } && {
3380
 
         test -z "$ac_c_werror_flag" ||
3381
 
         test ! -s conftest.err
3382
 
       } && test -s conftest.$ac_objext; then
 
3861
if ac_fn_c_try_compile "$LINENO"; then :
3383
3862
  ac_cv_prog_cc_g=yes
3384
3863
else
3385
 
  $as_echo "$as_me: failed program was:" >&5
3386
 
sed 's/^/| /' conftest.$ac_ext >&5
3387
 
 
3388
 
        CFLAGS=""
3389
 
      cat >conftest.$ac_ext <<_ACEOF
3390
 
/* confdefs.h.  */
3391
 
_ACEOF
3392
 
cat confdefs.h >>conftest.$ac_ext
3393
 
cat >>conftest.$ac_ext <<_ACEOF
 
3864
  CFLAGS=""
 
3865
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3394
3866
/* end confdefs.h.  */
3395
3867
 
3396
3868
int
3401
3873
  return 0;
3402
3874
}
3403
3875
_ACEOF
3404
 
rm -f conftest.$ac_objext
3405
 
if { (ac_try="$ac_compile"
3406
 
case "(($ac_try" in
3407
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3408
 
  *) ac_try_echo=$ac_try;;
3409
 
esac
3410
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3411
 
$as_echo "$ac_try_echo") >&5
3412
 
  (eval "$ac_compile") 2>conftest.er1
3413
 
  ac_status=$?
3414
 
  grep -v '^ *+' conftest.er1 >conftest.err
3415
 
  rm -f conftest.er1
3416
 
  cat conftest.err >&5
3417
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418
 
  (exit $ac_status); } && {
3419
 
         test -z "$ac_c_werror_flag" ||
3420
 
         test ! -s conftest.err
3421
 
       } && test -s conftest.$ac_objext; then
3422
 
  :
 
3876
if ac_fn_c_try_compile "$LINENO"; then :
 
3877
 
3423
3878
else
3424
 
  $as_echo "$as_me: failed program was:" >&5
3425
 
sed 's/^/| /' conftest.$ac_ext >&5
3426
 
 
3427
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3879
  ac_c_werror_flag=$ac_save_c_werror_flag
3428
3880
         CFLAGS="-g"
3429
 
         cat >conftest.$ac_ext <<_ACEOF
3430
 
/* confdefs.h.  */
3431
 
_ACEOF
3432
 
cat confdefs.h >>conftest.$ac_ext
3433
 
cat >>conftest.$ac_ext <<_ACEOF
 
3881
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434
3882
/* end confdefs.h.  */
3435
3883
 
3436
3884
int
3441
3889
  return 0;
3442
3890
}
3443
3891
_ACEOF
3444
 
rm -f conftest.$ac_objext
3445
 
if { (ac_try="$ac_compile"
3446
 
case "(($ac_try" in
3447
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3448
 
  *) ac_try_echo=$ac_try;;
3449
 
esac
3450
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3451
 
$as_echo "$ac_try_echo") >&5
3452
 
  (eval "$ac_compile") 2>conftest.er1
3453
 
  ac_status=$?
3454
 
  grep -v '^ *+' conftest.er1 >conftest.err
3455
 
  rm -f conftest.er1
3456
 
  cat conftest.err >&5
3457
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458
 
  (exit $ac_status); } && {
3459
 
         test -z "$ac_c_werror_flag" ||
3460
 
         test ! -s conftest.err
3461
 
       } && test -s conftest.$ac_objext; then
 
3892
if ac_fn_c_try_compile "$LINENO"; then :
3462
3893
  ac_cv_prog_cc_g=yes
3463
 
else
3464
 
  $as_echo "$as_me: failed program was:" >&5
3465
 
sed 's/^/| /' conftest.$ac_ext >&5
3466
 
 
3467
 
 
3468
 
fi
3469
 
 
3470
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3471
 
fi
3472
 
 
3473
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3474
 
fi
3475
 
 
 
3894
fi
 
3895
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3896
fi
 
3897
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3898
fi
3476
3899
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3477
3900
   ac_c_werror_flag=$ac_save_c_werror_flag
3478
3901
fi
3479
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3902
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3480
3903
$as_echo "$ac_cv_prog_cc_g" >&6; }
3481
3904
if test "$ac_test_CFLAGS" = set; then
3482
3905
  CFLAGS=$ac_save_CFLAGS
3493
3916
    CFLAGS=
3494
3917
  fi
3495
3918
fi
3496
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3919
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3497
3920
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3498
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3921
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3499
3922
  $as_echo_n "(cached) " >&6
3500
3923
else
3501
3924
  ac_cv_prog_cc_c89=no
3502
3925
ac_save_CC=$CC
3503
 
cat >conftest.$ac_ext <<_ACEOF
3504
 
/* confdefs.h.  */
3505
 
_ACEOF
3506
 
cat confdefs.h >>conftest.$ac_ext
3507
 
cat >>conftest.$ac_ext <<_ACEOF
 
3926
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3508
3927
/* end confdefs.h.  */
3509
3928
#include <stdarg.h>
3510
3929
#include <stdio.h>
3561
3980
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3562
3981
do
3563
3982
  CC="$ac_save_CC $ac_arg"
3564
 
  rm -f conftest.$ac_objext
3565
 
if { (ac_try="$ac_compile"
3566
 
case "(($ac_try" in
3567
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3568
 
  *) ac_try_echo=$ac_try;;
3569
 
esac
3570
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3571
 
$as_echo "$ac_try_echo") >&5
3572
 
  (eval "$ac_compile") 2>conftest.er1
3573
 
  ac_status=$?
3574
 
  grep -v '^ *+' conftest.er1 >conftest.err
3575
 
  rm -f conftest.er1
3576
 
  cat conftest.err >&5
3577
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3578
 
  (exit $ac_status); } && {
3579
 
         test -z "$ac_c_werror_flag" ||
3580
 
         test ! -s conftest.err
3581
 
       } && test -s conftest.$ac_objext; then
 
3983
  if ac_fn_c_try_compile "$LINENO"; then :
3582
3984
  ac_cv_prog_cc_c89=$ac_arg
3583
 
else
3584
 
  $as_echo "$as_me: failed program was:" >&5
3585
 
sed 's/^/| /' conftest.$ac_ext >&5
3586
 
 
3587
 
 
3588
3985
fi
3589
 
 
3590
3986
rm -f core conftest.err conftest.$ac_objext
3591
3987
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3592
3988
done
3597
3993
# AC_CACHE_VAL
3598
3994
case "x$ac_cv_prog_cc_c89" in
3599
3995
  x)
3600
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3996
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3601
3997
$as_echo "none needed" >&6; } ;;
3602
3998
  xno)
3603
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3999
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3604
4000
$as_echo "unsupported" >&6; } ;;
3605
4001
  *)
3606
4002
    CC="$CC $ac_cv_prog_cc_c89"
3607
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
4003
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3608
4004
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3609
4005
esac
 
4006
if test "x$ac_cv_prog_cc_c89" != xno; then :
3610
4007
 
 
4008
fi
3611
4009
 
3612
4010
ac_ext=c
3613
4011
ac_cpp='$CPP $CPPFLAGS'
3622
4020
am_make=${MAKE-make}
3623
4021
cat > confinc << 'END'
3624
4022
am__doit:
3625
 
        @echo done
 
4023
        @echo this is the am__doit target
3626
4024
.PHONY: am__doit
3627
4025
END
3628
4026
# If we don't find an include directive, just comment out the code.
3629
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
4027
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3630
4028
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3631
4029
am__include="#"
3632
4030
am__quote=
3633
4031
_am_result=none
3634
4032
# First try GNU make style include.
3635
4033
echo "include confinc" > confmf
3636
 
# We grep out `Entering directory' and `Leaving directory'
3637
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3638
 
# In particular we don't look at `^make:' because GNU make might
3639
 
# be invoked under some other name (usually "gmake"), in which
3640
 
# case it prints its new name instead of `make'.
3641
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3642
 
   am__include=include
3643
 
   am__quote=
3644
 
   _am_result=GNU
3645
 
fi
 
4034
# Ignore all kinds of additional output from `make'.
 
4035
case `$am_make -s -f confmf 2> /dev/null` in #(
 
4036
*the\ am__doit\ target*)
 
4037
  am__include=include
 
4038
  am__quote=
 
4039
  _am_result=GNU
 
4040
  ;;
 
4041
esac
3646
4042
# Now try BSD make style include.
3647
4043
if test "$am__include" = "#"; then
3648
4044
   echo '.include "confinc"' > confmf
3649
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3650
 
      am__include=.include
3651
 
      am__quote="\""
3652
 
      _am_result=BSD
3653
 
   fi
 
4045
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
4046
   *the\ am__doit\ target*)
 
4047
     am__include=.include
 
4048
     am__quote="\""
 
4049
     _am_result=BSD
 
4050
     ;;
 
4051
   esac
3654
4052
fi
3655
4053
 
3656
4054
 
3657
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
4055
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3658
4056
$as_echo "$_am_result" >&6; }
3659
4057
rm -f confinc confmf
3660
4058
 
3661
4059
# Check whether --enable-dependency-tracking was given.
3662
 
if test "${enable_dependency_tracking+set}" = set; then
 
4060
if test "${enable_dependency_tracking+set}" = set; then :
3663
4061
  enableval=$enable_dependency_tracking;
3664
4062
fi
3665
4063
 
3679
4077
 
3680
4078
depcc="$CC"   am_compiler_list=
3681
4079
 
3682
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4080
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3683
4081
$as_echo_n "checking dependency style of $depcc... " >&6; }
3684
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
4082
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3685
4083
  $as_echo_n "(cached) " >&6
3686
4084
else
3687
4085
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3707
4105
  if test "$am_compiler_list" = ""; then
3708
4106
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3709
4107
  fi
 
4108
  am__universal=false
 
4109
  case " $depcc " in #(
 
4110
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4111
     esac
 
4112
 
3710
4113
  for depmode in $am_compiler_list; do
3711
4114
    # Setup a source with many dependencies, because some compilers
3712
4115
    # like to wrap large dependency lists on column 80 (with \), and
3724
4127
    done
3725
4128
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3726
4129
 
 
4130
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4131
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4132
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4133
    # versions had trouble with output in subdirs
 
4134
    am__obj=sub/conftest.${OBJEXT-o}
 
4135
    am__minus_obj="-o $am__obj"
3727
4136
    case $depmode in
 
4137
    gcc)
 
4138
      # This depmode causes a compiler race in universal mode.
 
4139
      test "$am__universal" = false || continue
 
4140
      ;;
3728
4141
    nosideeffect)
3729
4142
      # after this tag, mechanisms are not by side-effect, so they'll
3730
4143
      # only be used when explicitly requested
3734
4147
        break
3735
4148
      fi
3736
4149
      ;;
 
4150
    msvisualcpp | msvcmsys)
 
4151
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4152
      # not run yet.  These depmodes are late enough in the game, and
 
4153
      # so weak that their functioning should not be impacted.
 
4154
      am__obj=conftest.${OBJEXT-o}
 
4155
      am__minus_obj=
 
4156
      ;;
3737
4157
    none) break ;;
3738
4158
    esac
3739
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3740
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3741
 
    # handle `-M -o', and we need to detect this.
3742
4159
    if depmode=$depmode \
3743
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4160
       source=sub/conftest.c object=$am__obj \
3744
4161
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3745
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4162
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3746
4163
         >/dev/null 2>conftest.err &&
3747
4164
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3748
4165
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3749
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4166
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3750
4167
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3751
4168
      # icc doesn't choke on unknown options, it will just issue warnings
3752
4169
      # or remarks (even with -Werror).  So we grep stderr for any message
3770
4187
fi
3771
4188
 
3772
4189
fi
3773
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3774
4191
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3775
4192
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3776
4193
 
3803
4220
  do
3804
4221
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3805
4222
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3806
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3807
4224
$as_echo_n "checking for $ac_word... " >&6; }
3808
 
if test "${ac_cv_prog_CXX+set}" = set; then
 
4225
if test "${ac_cv_prog_CXX+set}" = set; then :
3809
4226
  $as_echo_n "(cached) " >&6
3810
4227
else
3811
4228
  if test -n "$CXX"; then
3816
4233
do
3817
4234
  IFS=$as_save_IFS
3818
4235
  test -z "$as_dir" && as_dir=.
3819
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4236
    for ac_exec_ext in '' $ac_executable_extensions; do
3820
4237
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3821
4238
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3822
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4239
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3823
4240
    break 2
3824
4241
  fi
3825
4242
done
3826
 
done
 
4243
  done
3827
4244
IFS=$as_save_IFS
3828
4245
 
3829
4246
fi
3830
4247
fi
3831
4248
CXX=$ac_cv_prog_CXX
3832
4249
if test -n "$CXX"; then
3833
 
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
 
4250
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3834
4251
$as_echo "$CXX" >&6; }
3835
4252
else
3836
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4253
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3837
4254
$as_echo "no" >&6; }
3838
4255
fi
3839
4256
 
3847
4264
do
3848
4265
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3849
4266
set dummy $ac_prog; ac_word=$2
3850
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4267
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3851
4268
$as_echo_n "checking for $ac_word... " >&6; }
3852
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 
4269
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3853
4270
  $as_echo_n "(cached) " >&6
3854
4271
else
3855
4272
  if test -n "$ac_ct_CXX"; then
3860
4277
do
3861
4278
  IFS=$as_save_IFS
3862
4279
  test -z "$as_dir" && as_dir=.
3863
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4280
    for ac_exec_ext in '' $ac_executable_extensions; do
3864
4281
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3865
4282
    ac_cv_prog_ac_ct_CXX="$ac_prog"
3866
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4283
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3867
4284
    break 2
3868
4285
  fi
3869
4286
done
3870
 
done
 
4287
  done
3871
4288
IFS=$as_save_IFS
3872
4289
 
3873
4290
fi
3874
4291
fi
3875
4292
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3876
4293
if test -n "$ac_ct_CXX"; then
3877
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
4294
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3878
4295
$as_echo "$ac_ct_CXX" >&6; }
3879
4296
else
3880
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4297
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3881
4298
$as_echo "no" >&6; }
3882
4299
fi
3883
4300
 
3890
4307
  else
3891
4308
    case $cross_compiling:$ac_tool_warned in
3892
4309
yes:)
3893
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4310
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3894
4311
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3895
4312
ac_tool_warned=yes ;;
3896
4313
esac
3901
4318
  fi
3902
4319
fi
3903
4320
# Provide some information about the compiler.
3904
 
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
4321
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3905
4322
set X $ac_compile
3906
4323
ac_compiler=$2
3907
 
{ (ac_try="$ac_compiler --version >&5"
3908
 
case "(($ac_try" in
3909
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3910
 
  *) ac_try_echo=$ac_try;;
3911
 
esac
3912
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3913
 
$as_echo "$ac_try_echo") >&5
3914
 
  (eval "$ac_compiler --version >&5") 2>&5
3915
 
  ac_status=$?
3916
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3917
 
  (exit $ac_status); }
3918
 
{ (ac_try="$ac_compiler -v >&5"
3919
 
case "(($ac_try" in
3920
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3921
 
  *) ac_try_echo=$ac_try;;
3922
 
esac
3923
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3924
 
$as_echo "$ac_try_echo") >&5
3925
 
  (eval "$ac_compiler -v >&5") 2>&5
3926
 
  ac_status=$?
3927
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3928
 
  (exit $ac_status); }
3929
 
{ (ac_try="$ac_compiler -V >&5"
3930
 
case "(($ac_try" in
3931
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3932
 
  *) ac_try_echo=$ac_try;;
3933
 
esac
3934
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3935
 
$as_echo "$ac_try_echo") >&5
3936
 
  (eval "$ac_compiler -V >&5") 2>&5
3937
 
  ac_status=$?
3938
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3939
 
  (exit $ac_status); }
 
4324
for ac_option in --version -v -V -qversion; do
 
4325
  { { ac_try="$ac_compiler $ac_option >&5"
 
4326
case "(($ac_try" in
 
4327
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4328
  *) ac_try_echo=$ac_try;;
 
4329
esac
 
4330
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4331
$as_echo "$ac_try_echo"; } >&5
 
4332
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4333
  ac_status=$?
 
4334
  if test -s conftest.err; then
 
4335
    sed '10a\
 
4336
... rest of stderr output deleted ...
 
4337
         10q' conftest.err >conftest.er1
 
4338
    cat conftest.er1 >&5
 
4339
  fi
 
4340
  rm -f conftest.er1 conftest.err
 
4341
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4342
  test $ac_status = 0; }
 
4343
done
3940
4344
 
3941
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
4345
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3942
4346
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3943
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 
4347
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3944
4348
  $as_echo_n "(cached) " >&6
3945
4349
else
3946
 
  cat >conftest.$ac_ext <<_ACEOF
3947
 
/* confdefs.h.  */
3948
 
_ACEOF
3949
 
cat confdefs.h >>conftest.$ac_ext
3950
 
cat >>conftest.$ac_ext <<_ACEOF
 
4350
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951
4351
/* end confdefs.h.  */
3952
4352
 
3953
4353
int
3961
4361
  return 0;
3962
4362
}
3963
4363
_ACEOF
3964
 
rm -f conftest.$ac_objext
3965
 
if { (ac_try="$ac_compile"
3966
 
case "(($ac_try" in
3967
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3968
 
  *) ac_try_echo=$ac_try;;
3969
 
esac
3970
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3971
 
$as_echo "$ac_try_echo") >&5
3972
 
  (eval "$ac_compile") 2>conftest.er1
3973
 
  ac_status=$?
3974
 
  grep -v '^ *+' conftest.er1 >conftest.err
3975
 
  rm -f conftest.er1
3976
 
  cat conftest.err >&5
3977
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3978
 
  (exit $ac_status); } && {
3979
 
         test -z "$ac_cxx_werror_flag" ||
3980
 
         test ! -s conftest.err
3981
 
       } && test -s conftest.$ac_objext; then
 
4364
if ac_fn_cxx_try_compile "$LINENO"; then :
3982
4365
  ac_compiler_gnu=yes
3983
4366
else
3984
 
  $as_echo "$as_me: failed program was:" >&5
3985
 
sed 's/^/| /' conftest.$ac_ext >&5
3986
 
 
3987
 
        ac_compiler_gnu=no
 
4367
  ac_compiler_gnu=no
3988
4368
fi
3989
 
 
3990
4369
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3991
4370
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3992
4371
 
3993
4372
fi
3994
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
4373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3995
4374
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3996
4375
if test $ac_compiler_gnu = yes; then
3997
4376
  GXX=yes
4000
4379
fi
4001
4380
ac_test_CXXFLAGS=${CXXFLAGS+set}
4002
4381
ac_save_CXXFLAGS=$CXXFLAGS
4003
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
4382
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4004
4383
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4005
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
 
4384
if test "${ac_cv_prog_cxx_g+set}" = set; then :
4006
4385
  $as_echo_n "(cached) " >&6
4007
4386
else
4008
4387
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4009
4388
   ac_cxx_werror_flag=yes
4010
4389
   ac_cv_prog_cxx_g=no
4011
4390
   CXXFLAGS="-g"
4012
 
   cat >conftest.$ac_ext <<_ACEOF
4013
 
/* confdefs.h.  */
4014
 
_ACEOF
4015
 
cat confdefs.h >>conftest.$ac_ext
4016
 
cat >>conftest.$ac_ext <<_ACEOF
 
4391
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4017
4392
/* end confdefs.h.  */
4018
4393
 
4019
4394
int
4024
4399
  return 0;
4025
4400
}
4026
4401
_ACEOF
4027
 
rm -f conftest.$ac_objext
4028
 
if { (ac_try="$ac_compile"
4029
 
case "(($ac_try" in
4030
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4031
 
  *) ac_try_echo=$ac_try;;
4032
 
esac
4033
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4034
 
$as_echo "$ac_try_echo") >&5
4035
 
  (eval "$ac_compile") 2>conftest.er1
4036
 
  ac_status=$?
4037
 
  grep -v '^ *+' conftest.er1 >conftest.err
4038
 
  rm -f conftest.er1
4039
 
  cat conftest.err >&5
4040
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041
 
  (exit $ac_status); } && {
4042
 
         test -z "$ac_cxx_werror_flag" ||
4043
 
         test ! -s conftest.err
4044
 
       } && test -s conftest.$ac_objext; then
 
4402
if ac_fn_cxx_try_compile "$LINENO"; then :
4045
4403
  ac_cv_prog_cxx_g=yes
4046
4404
else
4047
 
  $as_echo "$as_me: failed program was:" >&5
4048
 
sed 's/^/| /' conftest.$ac_ext >&5
4049
 
 
4050
 
        CXXFLAGS=""
4051
 
      cat >conftest.$ac_ext <<_ACEOF
4052
 
/* confdefs.h.  */
4053
 
_ACEOF
4054
 
cat confdefs.h >>conftest.$ac_ext
4055
 
cat >>conftest.$ac_ext <<_ACEOF
 
4405
  CXXFLAGS=""
 
4406
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4056
4407
/* end confdefs.h.  */
4057
4408
 
4058
4409
int
4063
4414
  return 0;
4064
4415
}
4065
4416
_ACEOF
4066
 
rm -f conftest.$ac_objext
4067
 
if { (ac_try="$ac_compile"
4068
 
case "(($ac_try" in
4069
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4070
 
  *) ac_try_echo=$ac_try;;
4071
 
esac
4072
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4073
 
$as_echo "$ac_try_echo") >&5
4074
 
  (eval "$ac_compile") 2>conftest.er1
4075
 
  ac_status=$?
4076
 
  grep -v '^ *+' conftest.er1 >conftest.err
4077
 
  rm -f conftest.er1
4078
 
  cat conftest.err >&5
4079
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4080
 
  (exit $ac_status); } && {
4081
 
         test -z "$ac_cxx_werror_flag" ||
4082
 
         test ! -s conftest.err
4083
 
       } && test -s conftest.$ac_objext; then
4084
 
  :
 
4417
if ac_fn_cxx_try_compile "$LINENO"; then :
 
4418
 
4085
4419
else
4086
 
  $as_echo "$as_me: failed program was:" >&5
4087
 
sed 's/^/| /' conftest.$ac_ext >&5
4088
 
 
4089
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
4420
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4090
4421
         CXXFLAGS="-g"
4091
 
         cat >conftest.$ac_ext <<_ACEOF
4092
 
/* confdefs.h.  */
4093
 
_ACEOF
4094
 
cat confdefs.h >>conftest.$ac_ext
4095
 
cat >>conftest.$ac_ext <<_ACEOF
 
4422
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4096
4423
/* end confdefs.h.  */
4097
4424
 
4098
4425
int
4103
4430
  return 0;
4104
4431
}
4105
4432
_ACEOF
4106
 
rm -f conftest.$ac_objext
4107
 
if { (ac_try="$ac_compile"
4108
 
case "(($ac_try" in
4109
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4110
 
  *) ac_try_echo=$ac_try;;
4111
 
esac
4112
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4113
 
$as_echo "$ac_try_echo") >&5
4114
 
  (eval "$ac_compile") 2>conftest.er1
4115
 
  ac_status=$?
4116
 
  grep -v '^ *+' conftest.er1 >conftest.err
4117
 
  rm -f conftest.er1
4118
 
  cat conftest.err >&5
4119
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4120
 
  (exit $ac_status); } && {
4121
 
         test -z "$ac_cxx_werror_flag" ||
4122
 
         test ! -s conftest.err
4123
 
       } && test -s conftest.$ac_objext; then
 
4433
if ac_fn_cxx_try_compile "$LINENO"; then :
4124
4434
  ac_cv_prog_cxx_g=yes
4125
 
else
4126
 
  $as_echo "$as_me: failed program was:" >&5
4127
 
sed 's/^/| /' conftest.$ac_ext >&5
4128
 
 
4129
 
 
4130
 
fi
4131
 
 
4132
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4133
 
fi
4134
 
 
4135
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4136
 
fi
4137
 
 
 
4435
fi
 
4436
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4437
fi
 
4438
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4439
fi
4138
4440
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4139
4441
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4140
4442
fi
4141
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
4443
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4142
4444
$as_echo "$ac_cv_prog_cxx_g" >&6; }
4143
4445
if test "$ac_test_CXXFLAGS" = set; then
4144
4446
  CXXFLAGS=$ac_save_CXXFLAGS
4163
4465
 
4164
4466
depcc="$CXX"  am_compiler_list=
4165
4467
 
4166
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4167
4469
$as_echo_n "checking dependency style of $depcc... " >&6; }
4168
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 
4470
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4169
4471
  $as_echo_n "(cached) " >&6
4170
4472
else
4171
4473
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4191
4493
  if test "$am_compiler_list" = ""; then
4192
4494
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4193
4495
  fi
 
4496
  am__universal=false
 
4497
  case " $depcc " in #(
 
4498
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4499
     esac
 
4500
 
4194
4501
  for depmode in $am_compiler_list; do
4195
4502
    # Setup a source with many dependencies, because some compilers
4196
4503
    # like to wrap large dependency lists on column 80 (with \), and
4208
4515
    done
4209
4516
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4210
4517
 
 
4518
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4519
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4520
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4521
    # versions had trouble with output in subdirs
 
4522
    am__obj=sub/conftest.${OBJEXT-o}
 
4523
    am__minus_obj="-o $am__obj"
4211
4524
    case $depmode in
 
4525
    gcc)
 
4526
      # This depmode causes a compiler race in universal mode.
 
4527
      test "$am__universal" = false || continue
 
4528
      ;;
4212
4529
    nosideeffect)
4213
4530
      # after this tag, mechanisms are not by side-effect, so they'll
4214
4531
      # only be used when explicitly requested
4218
4535
        break
4219
4536
      fi
4220
4537
      ;;
 
4538
    msvisualcpp | msvcmsys)
 
4539
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4540
      # not run yet.  These depmodes are late enough in the game, and
 
4541
      # so weak that their functioning should not be impacted.
 
4542
      am__obj=conftest.${OBJEXT-o}
 
4543
      am__minus_obj=
 
4544
      ;;
4221
4545
    none) break ;;
4222
4546
    esac
4223
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4224
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4225
 
    # handle `-M -o', and we need to detect this.
4226
4547
    if depmode=$depmode \
4227
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4548
       source=sub/conftest.c object=$am__obj \
4228
4549
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4229
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4550
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4230
4551
         >/dev/null 2>conftest.err &&
4231
4552
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4232
4553
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4233
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4554
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4234
4555
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4235
4556
      # icc doesn't choke on unknown options, it will just issue warnings
4236
4557
      # or remarks (even with -Werror).  So we grep stderr for any message
4254
4575
fi
4255
4576
 
4256
4577
fi
4257
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
4578
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4258
4579
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4259
4580
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4260
4581
 
4286
4607
if test -n "$ac_tool_prefix"; then
4287
4608
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4288
4609
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4289
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4610
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4290
4611
$as_echo_n "checking for $ac_word... " >&6; }
4291
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
4612
if test "${ac_cv_prog_RANLIB+set}" = set; then :
4292
4613
  $as_echo_n "(cached) " >&6
4293
4614
else
4294
4615
  if test -n "$RANLIB"; then
4299
4620
do
4300
4621
  IFS=$as_save_IFS
4301
4622
  test -z "$as_dir" && as_dir=.
4302
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4623
    for ac_exec_ext in '' $ac_executable_extensions; do
4303
4624
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4304
4625
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4305
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4626
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4306
4627
    break 2
4307
4628
  fi
4308
4629
done
4309
 
done
 
4630
  done
4310
4631
IFS=$as_save_IFS
4311
4632
 
4312
4633
fi
4313
4634
fi
4314
4635
RANLIB=$ac_cv_prog_RANLIB
4315
4636
if test -n "$RANLIB"; then
4316
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
4637
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4317
4638
$as_echo "$RANLIB" >&6; }
4318
4639
else
4319
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4640
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4320
4641
$as_echo "no" >&6; }
4321
4642
fi
4322
4643
 
4326
4647
  ac_ct_RANLIB=$RANLIB
4327
4648
  # Extract the first word of "ranlib", so it can be a program name with args.
4328
4649
set dummy ranlib; ac_word=$2
4329
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4650
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4330
4651
$as_echo_n "checking for $ac_word... " >&6; }
4331
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
4652
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4332
4653
  $as_echo_n "(cached) " >&6
4333
4654
else
4334
4655
  if test -n "$ac_ct_RANLIB"; then
4339
4660
do
4340
4661
  IFS=$as_save_IFS
4341
4662
  test -z "$as_dir" && as_dir=.
4342
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4663
    for ac_exec_ext in '' $ac_executable_extensions; do
4343
4664
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4344
4665
    ac_cv_prog_ac_ct_RANLIB="ranlib"
4345
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4666
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4346
4667
    break 2
4347
4668
  fi
4348
4669
done
4349
 
done
 
4670
  done
4350
4671
IFS=$as_save_IFS
4351
4672
 
4352
4673
fi
4353
4674
fi
4354
4675
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4355
4676
if test -n "$ac_ct_RANLIB"; then
4356
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
4677
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4357
4678
$as_echo "$ac_ct_RANLIB" >&6; }
4358
4679
else
4359
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4680
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4360
4681
$as_echo "no" >&6; }
4361
4682
fi
4362
4683
 
4365
4686
  else
4366
4687
    case $cross_compiling:$ac_tool_warned in
4367
4688
yes:)
4368
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4689
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4369
4690
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4370
4691
ac_tool_warned=yes ;;
4371
4692
esac
4380
4701
if test -n "$ac_tool_prefix"; then
4381
4702
  # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4382
4703
set dummy ${ac_tool_prefix}windres; ac_word=$2
4383
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4384
4705
$as_echo_n "checking for $ac_word... " >&6; }
4385
 
if test "${ac_cv_prog_WINDRES+set}" = set; then
 
4706
if test "${ac_cv_prog_WINDRES+set}" = set; then :
4386
4707
  $as_echo_n "(cached) " >&6
4387
4708
else
4388
4709
  if test -n "$WINDRES"; then
4393
4714
do
4394
4715
  IFS=$as_save_IFS
4395
4716
  test -z "$as_dir" && as_dir=.
4396
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4717
    for ac_exec_ext in '' $ac_executable_extensions; do
4397
4718
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4398
4719
    ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
4399
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4720
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4400
4721
    break 2
4401
4722
  fi
4402
4723
done
4403
 
done
 
4724
  done
4404
4725
IFS=$as_save_IFS
4405
4726
 
4406
4727
fi
4407
4728
fi
4408
4729
WINDRES=$ac_cv_prog_WINDRES
4409
4730
if test -n "$WINDRES"; then
4410
 
  { $as_echo "$as_me:$LINENO: result: $WINDRES" >&5
 
4731
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
4411
4732
$as_echo "$WINDRES" >&6; }
4412
4733
else
4413
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4734
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4414
4735
$as_echo "no" >&6; }
4415
4736
fi
4416
4737
 
4420
4741
  ac_ct_WINDRES=$WINDRES
4421
4742
  # Extract the first word of "windres", so it can be a program name with args.
4422
4743
set dummy windres; ac_word=$2
4423
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4744
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4424
4745
$as_echo_n "checking for $ac_word... " >&6; }
4425
 
if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
 
4746
if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then :
4426
4747
  $as_echo_n "(cached) " >&6
4427
4748
else
4428
4749
  if test -n "$ac_ct_WINDRES"; then
4433
4754
do
4434
4755
  IFS=$as_save_IFS
4435
4756
  test -z "$as_dir" && as_dir=.
4436
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4757
    for ac_exec_ext in '' $ac_executable_extensions; do
4437
4758
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4438
4759
    ac_cv_prog_ac_ct_WINDRES="windres"
4439
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4760
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4440
4761
    break 2
4441
4762
  fi
4442
4763
done
4443
 
done
 
4764
  done
4444
4765
IFS=$as_save_IFS
4445
4766
 
4446
4767
fi
4447
4768
fi
4448
4769
ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
4449
4770
if test -n "$ac_ct_WINDRES"; then
4450
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
 
4771
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
4451
4772
$as_echo "$ac_ct_WINDRES" >&6; }
4452
4773
else
4453
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4774
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4454
4775
$as_echo "no" >&6; }
4455
4776
fi
4456
4777
 
4459
4780
  else
4460
4781
    case $cross_compiling:$ac_tool_warned in
4461
4782
yes:)
4462
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4783
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4463
4784
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4464
4785
ac_tool_warned=yes ;;
4465
4786
esac
4474
4795
# AC_CHECK_TOOL(STRIP, strip)
4475
4796
 
4476
4797
# Defines LN_S, needed for man page installation.
4477
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4798
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4478
4799
$as_echo_n "checking whether ln -s works... " >&6; }
4479
4800
LN_S=$as_ln_s
4480
4801
if test "$LN_S" = "ln -s"; then
4481
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4802
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4482
4803
$as_echo "yes" >&6; }
4483
4804
else
4484
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4805
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4485
4806
$as_echo "no, using $LN_S" >&6; }
4486
4807
fi
4487
4808
 
4498
4819
# detect compiler vendor (sets $ax_cv_cxx_compiler_vendor)
4499
4820
 
4500
4821
 
4501
 
{ $as_echo "$as_me:$LINENO: checking for C++ compiler vendor" >&5
 
4822
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler vendor" >&5
4502
4823
$as_echo_n "checking for C++ compiler vendor... " >&6; }
4503
 
if test "${ax_cv_cxx_compiler_vendor+set}" = set; then
 
4824
if test "${ax_cv_cxx_compiler_vendor+set}" = set; then :
4504
4825
  $as_echo_n "(cached) " >&6
4505
4826
else
4506
4827
  ax_cv_cxx_compiler_vendor=unknown
4507
4828
  # note: don't check for gcc first since some other compilers define __GNUC__
4508
4829
  for ventest in intel:__ICC,__ECC,__INTEL_COMPILER ibm:__xlc__,__xlC__,__IBMC__,__IBMCPP__ pathscale:__PATHCC__,__PATHSCALE__ gnu:__GNUC__ sun:__SUNPRO_C,__SUNPRO_CC hp:__HP_cc,__HP_aCC dec:__DECC,__DECCXX,__DECC_VER,__DECCXX_VER borland:__BORLANDC__,__TURBOC__ comeau:__COMO__ cray:_CRAYC kai:__KCC lcc:__LCC__ metrowerks:__MWERKS__ sgi:__sgi,sgi microsoft:_MSC_VER watcom:__WATCOMC__ portland:__PGI; do
4509
4830
    vencpp="defined("`echo $ventest | cut -d: -f2 | sed 's/,/) || defined(/g'`")"
4510
 
    cat >conftest.$ac_ext <<_ACEOF
4511
 
/* confdefs.h.  */
4512
 
_ACEOF
4513
 
cat confdefs.h >>conftest.$ac_ext
4514
 
cat >>conftest.$ac_ext <<_ACEOF
 
4831
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4515
4832
/* end confdefs.h.  */
4516
4833
 
4517
4834
int
4526
4843
  return 0;
4527
4844
}
4528
4845
_ACEOF
4529
 
rm -f conftest.$ac_objext
4530
 
if { (ac_try="$ac_compile"
4531
 
case "(($ac_try" in
4532
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4533
 
  *) ac_try_echo=$ac_try;;
4534
 
esac
4535
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4536
 
$as_echo "$ac_try_echo") >&5
4537
 
  (eval "$ac_compile") 2>conftest.er1
4538
 
  ac_status=$?
4539
 
  grep -v '^ *+' conftest.er1 >conftest.err
4540
 
  rm -f conftest.er1
4541
 
  cat conftest.err >&5
4542
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4543
 
  (exit $ac_status); } && {
4544
 
         test -z "$ac_cxx_werror_flag" ||
4545
 
         test ! -s conftest.err
4546
 
       } && test -s conftest.$ac_objext; then
 
4846
if ac_fn_cxx_try_compile "$LINENO"; then :
4547
4847
  ax_cv_cxx_compiler_vendor=`echo $ventest | cut -d: -f1`; break
4548
 
else
4549
 
  $as_echo "$as_me: failed program was:" >&5
4550
 
sed 's/^/| /' conftest.$ac_ext >&5
4551
 
 
4552
 
 
4553
4848
fi
4554
 
 
4555
4849
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4556
4850
  done
4557
4851
 
4558
4852
fi
4559
 
{ $as_echo "$as_me:$LINENO: result: $ax_cv_cxx_compiler_vendor" >&5
 
4853
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compiler_vendor" >&5
4560
4854
$as_echo "$ax_cv_cxx_compiler_vendor" >&6; }
4561
4855
 
4562
4856
 
4566
4860
        # These requirements check compile-time presence, not that they were called
4567
4861
 
4568
4862
 
4569
 
        { $as_echo "$as_me:$LINENO: checking for target OS kernel" >&5
 
4863
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target OS kernel" >&5
4570
4864
$as_echo_n "checking for target OS kernel... " >&6; }
4571
4865
 
4572
4866
        app_cv_target_os_kernel="";
4576
4870
        # NOTE: This works only on target compilers!
4577
4871
        if test "x${ax_cv_cxx_compiler_vendor}" = "x"; then
4578
4872
                # msg_result is needed to print the checking... message.
4579
 
                { $as_echo "$as_me:$LINENO: result: error" >&5
 
4873
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
4580
4874
$as_echo "error" >&6; }
4581
 
                { { $as_echo "$as_me:$LINENO: error: ax_cv_cxx_compiler_vendor not set." >&5
4582
 
$as_echo "$as_me: error: ax_cv_cxx_compiler_vendor not set." >&2;}
4583
 
   { (exit 1); exit 1; }; }
 
4875
                as_fn_error "ax_cv_cxx_compiler_vendor not set." "$LINENO" 5
4584
4876
        fi
4585
4877
 
4586
4878
        # "build" - the type of system on which the package is being configured and compiled.
4589
4881
 
4590
4882
        if test "xtarget" != "xbuild" && test "xtarget" != "xhost" && test "xtarget" != "xtarget"; then
4591
4883
                # msg_result is needed to print the checking... message.
4592
 
                { $as_echo "$as_me:$LINENO: result: error" >&5
 
4884
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
4593
4885
$as_echo "error" >&6; }
4594
 
                { { $as_echo "$as_me:$LINENO: error: Triplet name must be build, host or target." >&5
4595
 
$as_echo "$as_me: error: Triplet name must be build, host or target." >&2;}
4596
 
   { (exit 1); exit 1; }; }
 
4886
                as_fn_error "Triplet name must be build, host or target." "$LINENO" 5
4597
4887
        fi
4598
4888
 
4599
4889
        case "$target" in
4614
4904
 
4615
4905
                x86_64-*-mingw* | x86_64-*-cygwin*)
4616
4906
                        # mingw64 defines the same stuff as 32-bit one, plus _WIN64, __MINGW64__, etc... .
 
4907
                        # Keep in mind that if you're generating a 32-bit application, the kernel will
 
4908
                        # be windows32 even if you run it on 64-bit Windows.
4617
4909
                        app_cv_target_os_kernel="windows64";
4618
4910
                        app_cv_target_os_kernel_macro="WINDOWS64";
4619
4911
                        ;;
4680
4972
 
4681
4973
        if test "x${app_cv_target_os_kernel}" = "xlinux"; then
4682
4974
 
4683
 
cat >>confdefs.h <<\_ACEOF
4684
 
#define CONFIG_KERNEL_LINUX 1
4685
 
_ACEOF
 
4975
$as_echo "#define CONFIG_KERNEL_LINUX 1" >>confdefs.h
4686
4976
 
4687
4977
        fi
4688
4978
        if test "x${app_cv_target_os_kernel}" = "xwindows32"; then
4689
4979
 
4690
 
cat >>confdefs.h <<\_ACEOF
4691
 
#define CONFIG_KERNEL_WINDOWS32 1
4692
 
_ACEOF
 
4980
$as_echo "#define CONFIG_KERNEL_WINDOWS32 1" >>confdefs.h
4693
4981
 
4694
4982
        fi
4695
4983
        if test "x${app_cv_target_os_kernel}" = "xwindows64"; then
4696
4984
 
4697
 
cat >>confdefs.h <<\_ACEOF
4698
 
#define CONFIG_KERNEL_WINDOWS64 1
4699
 
_ACEOF
 
4985
$as_echo "#define CONFIG_KERNEL_WINDOWS64 1" >>confdefs.h
4700
4986
 
4701
4987
        fi
4702
4988
        if test "x${app_cv_target_os_kernel}" = "xinterix"; then
4703
4989
 
4704
 
cat >>confdefs.h <<\_ACEOF
4705
 
#define CONFIG_KERNEL_INTERIX 1
4706
 
_ACEOF
 
4990
$as_echo "#define CONFIG_KERNEL_INTERIX 1" >>confdefs.h
4707
4991
 
4708
4992
        fi
4709
4993
        if test "x${app_cv_target_os_kernel}" = "xfreebsd"; then
4710
4994
 
4711
 
cat >>confdefs.h <<\_ACEOF
4712
 
#define CONFIG_KERNEL_FREEBSD 1
4713
 
_ACEOF
 
4995
$as_echo "#define CONFIG_KERNEL_FREEBSD 1" >>confdefs.h
4714
4996
 
4715
4997
        fi
4716
4998
        if test "x${app_cv_target_os_kernel}" = "xdragonfly"; then
4717
4999
 
4718
 
cat >>confdefs.h <<\_ACEOF
4719
 
#define CONFIG_KERNEL_DRAGONFLY 1
4720
 
_ACEOF
 
5000
$as_echo "#define CONFIG_KERNEL_DRAGONFLY 1" >>confdefs.h
4721
5001
 
4722
5002
        fi
4723
5003
        if test "x${app_cv_target_os_kernel}" = "xopenbsd"; then
4724
5004
 
4725
 
cat >>confdefs.h <<\_ACEOF
4726
 
#define CONFIG_KERNEL_OPENBSD 1
4727
 
_ACEOF
 
5005
$as_echo "#define CONFIG_KERNEL_OPENBSD 1" >>confdefs.h
4728
5006
 
4729
5007
        fi
4730
5008
        if test "x${app_cv_target_os_kernel}" = "xnetbsd"; then
4731
5009
 
4732
 
cat >>confdefs.h <<\_ACEOF
4733
 
#define CONFIG_KERNEL_NETBSD 1
4734
 
_ACEOF
 
5010
$as_echo "#define CONFIG_KERNEL_NETBSD 1" >>confdefs.h
4735
5011
 
4736
5012
        fi
4737
5013
        if test "x${app_cv_target_os_kernel}" = "xsolaris"; then
4738
5014
 
4739
 
cat >>confdefs.h <<\_ACEOF
4740
 
#define CONFIG_KERNEL_SOLARIS 1
4741
 
_ACEOF
 
5015
$as_echo "#define CONFIG_KERNEL_SOLARIS 1" >>confdefs.h
4742
5016
 
4743
5017
        fi
4744
5018
        if test "x${app_cv_target_os_kernel}" = "xdarwin"; then
4745
5019
 
4746
 
cat >>confdefs.h <<\_ACEOF
4747
 
#define CONFIG_KERNEL_DARWIN 1
4748
 
_ACEOF
 
5020
$as_echo "#define CONFIG_KERNEL_DARWIN 1" >>confdefs.h
4749
5021
 
4750
5022
        fi
4751
5023
        if test "x${app_cv_target_os_kernel}" = "xqnx"; then
4752
5024
 
4753
 
cat >>confdefs.h <<\_ACEOF
4754
 
#define CONFIG_KERNEL_QNX 1
4755
 
_ACEOF
 
5025
$as_echo "#define CONFIG_KERNEL_QNX 1" >>confdefs.h
4756
5026
 
4757
5027
        fi
4758
5028
        if test "x${app_cv_target_os_kernel}" = "xunknown"; then
4759
5029
 
4760
 
cat >>confdefs.h <<\_ACEOF
4761
 
#define CONFIG_KERNEL_UNKNOWN 1
4762
 
_ACEOF
 
5030
$as_echo "#define CONFIG_KERNEL_UNKNOWN 1" >>confdefs.h
4763
5031
 
4764
5032
        fi
4765
5033
 
4878
5146
        if test "x${app_cv_target_os_kernel}" = "xwindows32" || test "x${app_cv_target_os_kernel}" = "xwindows64" \
4879
5147
                        || test "x${app_cv_target_os_kernel}" = "xinterix"; then
4880
5148
 
4881
 
cat >>confdefs.h <<\_ACEOF
4882
 
#define CONFIG_KERNEL_FAMILY_WINDOWS 1
4883
 
_ACEOF
 
5149
$as_echo "#define CONFIG_KERNEL_FAMILY_WINDOWS 1" >>confdefs.h
4884
5150
 
4885
5151
        fi
4886
5152
 
4887
5153
 
4888
 
        { $as_echo "$as_me:$LINENO: result: ${app_cv_target_os_kernel}" >&5
 
5154
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${app_cv_target_os_kernel}" >&5
4889
5155
$as_echo "${app_cv_target_os_kernel}" >&6; }
4890
5156
 
4891
5157
 
4892
5158
        # These requirements check compile-time presence, not that they were called
4893
5159
 
4894
5160
 
4895
 
        { $as_echo "$as_me:$LINENO: checking for target OS userland environment" >&5
 
5161
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target OS userland environment" >&5
4896
5162
$as_echo_n "checking for target OS userland environment... " >&6; }
4897
5163
 
4898
5164
        app_cv_target_os_env="";
4902
5168
        # NOTE: This works only on target compilers!
4903
5169
        if test "x${ax_cv_cxx_compiler_vendor}" = "x"; then
4904
5170
                # msg_result is needed to print the checking... message.
4905
 
                { $as_echo "$as_me:$LINENO: result: error" >&5
 
5171
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
4906
5172
$as_echo "error" >&6; }
4907
 
                { { $as_echo "$as_me:$LINENO: error: ax_cv_cxx_compiler_vendor not set." >&5
4908
 
$as_echo "$as_me: error: ax_cv_cxx_compiler_vendor not set." >&2;}
4909
 
   { (exit 1); exit 1; }; }
 
5173
                as_fn_error "ax_cv_cxx_compiler_vendor not set." "$LINENO" 5
4910
5174
        fi
4911
5175
 
4912
5176
        # "build" - the type of system on which the package is being configured and compiled.
4915
5179
 
4916
5180
        if test "xtarget" != "xbuild" && test "xtarget" != "xhost" && test "xtarget" != "xtarget"; then
4917
5181
                # msg_result is needed to print the checking... message.
4918
 
                { $as_echo "$as_me:$LINENO: result: error" >&5
 
5182
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
4919
5183
$as_echo "error" >&6; }
4920
 
                { { $as_echo "$as_me:$LINENO: error: Triplet name must be build, host or target." >&5
4921
 
$as_echo "$as_me: error: Triplet name must be build, host or target." >&2;}
4922
 
   { (exit 1); exit 1; }; }
 
5184
                as_fn_error "Triplet name must be build, host or target." "$LINENO" 5
4923
5185
        fi
4924
5186
 
4925
5187
        case "$target" in
4989
5251
 
4990
5252
        if test "x${app_cv_target_os_env}" = "xcygwin"; then
4991
5253
 
4992
 
cat >>confdefs.h <<\_ACEOF
4993
 
#define CONFIG_OS_ENV_CYGWIN 1
4994
 
_ACEOF
 
5254
$as_echo "#define CONFIG_OS_ENV_CYGWIN 1" >>confdefs.h
4995
5255
 
4996
5256
        fi
4997
5257
        if test "x${app_cv_target_os_env}" = "xmingw32"; then
4998
5258
 
4999
 
cat >>confdefs.h <<\_ACEOF
5000
 
#define CONFIG_OS_ENV_MINGW32 1
5001
 
_ACEOF
 
5259
$as_echo "#define CONFIG_OS_ENV_MINGW32 1" >>confdefs.h
5002
5260
 
5003
5261
        fi
5004
5262
        if test "x${app_cv_target_os_env}" = "xmingw64"; then
5005
5263
 
5006
 
cat >>confdefs.h <<\_ACEOF
5007
 
#define CONFIG_OS_ENV_MINGW64 1
5008
 
_ACEOF
 
5264
$as_echo "#define CONFIG_OS_ENV_MINGW64 1" >>confdefs.h
5009
5265
 
5010
5266
        fi
5011
5267
        if test "x${app_cv_target_os_env}" = "xinterix"; then
5012
5268
 
5013
 
cat >>confdefs.h <<\_ACEOF
5014
 
#define CONFIG_OS_ENV_INTERIX 1
5015
 
_ACEOF
 
5269
$as_echo "#define CONFIG_OS_ENV_INTERIX 1" >>confdefs.h
5016
5270
 
5017
5271
        fi
5018
5272
        if test "x${app_cv_target_os_env}" = "xgnu"; then
5019
5273
 
5020
 
cat >>confdefs.h <<\_ACEOF
5021
 
#define CONFIG_OS_ENV_GNU 1
5022
 
_ACEOF
 
5274
$as_echo "#define CONFIG_OS_ENV_GNU 1" >>confdefs.h
5023
5275
 
5024
5276
        fi
5025
5277
        if test "x${app_cv_target_os_env}" = "xfreebsd"; then
5026
5278
 
5027
 
cat >>confdefs.h <<\_ACEOF
5028
 
#define CONFIG_OS_ENV_FREEBSD 1
5029
 
_ACEOF
 
5279
$as_echo "#define CONFIG_OS_ENV_FREEBSD 1" >>confdefs.h
5030
5280
 
5031
5281
        fi
5032
5282
        if test "x${app_cv_target_os_env}" = "xdragonfly"; then
5033
5283
 
5034
 
cat >>confdefs.h <<\_ACEOF
5035
 
#define CONFIG_OS_ENV_DRAGONFLY 1
5036
 
_ACEOF
 
5284
$as_echo "#define CONFIG_OS_ENV_DRAGONFLY 1" >>confdefs.h
5037
5285
 
5038
5286
        fi
5039
5287
        if test "x${app_cv_target_os_env}" = "xopenbsd"; then
5040
5288
 
5041
 
cat >>confdefs.h <<\_ACEOF
5042
 
#define CONFIG_OS_ENV_OPENBSD 1
5043
 
_ACEOF
 
5289
$as_echo "#define CONFIG_OS_ENV_OPENBSD 1" >>confdefs.h
5044
5290
 
5045
5291
        fi
5046
5292
        if test "x${app_cv_target_os_env}" = "xnetbsd"; then
5047
5293
 
5048
 
cat >>confdefs.h <<\_ACEOF
5049
 
#define CONFIG_OS_ENV_NETBSD 1
5050
 
_ACEOF
 
5294
$as_echo "#define CONFIG_OS_ENV_NETBSD 1" >>confdefs.h
5051
5295
 
5052
5296
        fi
5053
5297
        if test "x${app_cv_target_os_env}" = "xsolaris"; then
5054
5298
 
5055
 
cat >>confdefs.h <<\_ACEOF
5056
 
#define CONFIG_OS_ENV_SOLARIS 1
5057
 
_ACEOF
 
5299
$as_echo "#define CONFIG_OS_ENV_SOLARIS 1" >>confdefs.h
5058
5300
 
5059
5301
        fi
5060
5302
        if test "x${app_cv_target_os_env}" = "xdarwin"; then
5061
5303
 
5062
 
cat >>confdefs.h <<\_ACEOF
5063
 
#define CONFIG_OS_ENV_DARWIN 1
5064
 
_ACEOF
 
5304
$as_echo "#define CONFIG_OS_ENV_DARWIN 1" >>confdefs.h
5065
5305
 
5066
5306
        fi
5067
5307
        if test "x${app_cv_target_os_env}" = "xqnx"; then
5068
5308
 
5069
 
cat >>confdefs.h <<\_ACEOF
5070
 
#define CONFIG_OS_ENV_QNX 1
5071
 
_ACEOF
 
5309
$as_echo "#define CONFIG_OS_ENV_QNX 1" >>confdefs.h
5072
5310
 
5073
5311
        fi
5074
5312
        if test "x${app_cv_target_os_env}" = "xunknown"; then
5075
5313
 
5076
 
cat >>confdefs.h <<\_ACEOF
5077
 
#define CONFIG_OS_ENV_UNKNOWN 1
5078
 
_ACEOF
 
5314
$as_echo "#define CONFIG_OS_ENV_UNKNOWN 1" >>confdefs.h
5079
5315
 
5080
5316
        fi
5081
5317
 
5186
5422
 
5187
5423
 
5188
5424
 
5189
 
        { $as_echo "$as_me:$LINENO: result: ${app_cv_target_os_env}" >&5
 
5425
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${app_cv_target_os_env}" >&5
5190
5426
$as_echo "${app_cv_target_os_env}" >&6; }
5191
5427
 
5192
5428
 
5193
5429
        # These requirements check compile-time presence, not that they were called
5194
5430
 
5195
5431
 
5196
 
        { $as_echo "$as_me:$LINENO: checking for build OS kernel" >&5
 
5432
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build OS kernel" >&5
5197
5433
$as_echo_n "checking for build OS kernel... " >&6; }
5198
5434
 
5199
5435
        app_cv_build_os_kernel="";
5203
5439
        # NOTE: This works only on target compilers!
5204
5440
        if test "x${ax_cv_cxx_compiler_vendor}" = "x"; then
5205
5441
                # msg_result is needed to print the checking... message.
5206
 
                { $as_echo "$as_me:$LINENO: result: error" >&5
 
5442
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
5207
5443
$as_echo "error" >&6; }
5208
 
                { { $as_echo "$as_me:$LINENO: error: ax_cv_cxx_compiler_vendor not set." >&5
5209
 
$as_echo "$as_me: error: ax_cv_cxx_compiler_vendor not set." >&2;}
5210
 
   { (exit 1); exit 1; }; }
 
5444
                as_fn_error "ax_cv_cxx_compiler_vendor not set." "$LINENO" 5
5211
5445
        fi
5212
5446
 
5213
5447
        # "build" - the type of system on which the package is being configured and compiled.
5216
5450
 
5217
5451
        if test "xbuild" != "xbuild" && test "xbuild" != "xhost" && test "xbuild" != "xtarget"; then
5218
5452
                # msg_result is needed to print the checking... message.
5219
 
                { $as_echo "$as_me:$LINENO: result: error" >&5
 
5453
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
5220
5454
$as_echo "error" >&6; }
5221
 
                { { $as_echo "$as_me:$LINENO: error: Triplet name must be build, host or target." >&5
5222
 
$as_echo "$as_me: error: Triplet name must be build, host or target." >&2;}
5223
 
   { (exit 1); exit 1; }; }
 
5455
                as_fn_error "Triplet name must be build, host or target." "$LINENO" 5
5224
5456
        fi
5225
5457
 
5226
5458
        case "$build" in
5241
5473
 
5242
5474
                x86_64-*-mingw* | x86_64-*-cygwin*)
5243
5475
                        # mingw64 defines the same stuff as 32-bit one, plus _WIN64, __MINGW64__, etc... .
 
5476
                        # Keep in mind that if you're generating a 32-bit application, the kernel will
 
5477
                        # be windows32 even if you run it on 64-bit Windows.
5244
5478
                        app_cv_build_os_kernel="windows64";
5245
5479
                        app_cv_build_os_kernel_macro="WINDOWS64";
5246
5480
                        ;;
5307
5541
 
5308
5542
        if test "x${app_cv_build_os_kernel}" = "xlinux"; then
5309
5543
 
5310
 
cat >>confdefs.h <<\_ACEOF
5311
 
#define CONFIG_HOST_KERNEL_LINUX 1
5312
 
_ACEOF
 
5544
$as_echo "#define CONFIG_HOST_KERNEL_LINUX 1" >>confdefs.h
5313
5545
 
5314
5546
        fi
5315
5547
        if test "x${app_cv_build_os_kernel}" = "xwindows32"; then
5316
5548
 
5317
 
cat >>confdefs.h <<\_ACEOF
5318
 
#define CONFIG_HOST_KERNEL_WINDOWS32 1
5319
 
_ACEOF
 
5549
$as_echo "#define CONFIG_HOST_KERNEL_WINDOWS32 1" >>confdefs.h
5320
5550
 
5321
5551
        fi
5322
5552
        if test "x${app_cv_build_os_kernel}" = "xwindows64"; then
5323
5553
 
5324
 
cat >>confdefs.h <<\_ACEOF
5325
 
#define CONFIG_HOST_KERNEL_WINDOWS64 1
5326
 
_ACEOF
 
5554
$as_echo "#define CONFIG_HOST_KERNEL_WINDOWS64 1" >>confdefs.h
5327
5555
 
5328
5556
        fi
5329
5557
        if test "x${app_cv_build_os_kernel}" = "xinterix"; then
5330
5558
 
5331
 
cat >>confdefs.h <<\_ACEOF
5332
 
#define CONFIG_HOST_KERNEL_INTERIX 1
5333
 
_ACEOF
 
5559
$as_echo "#define CONFIG_HOST_KERNEL_INTERIX 1" >>confdefs.h
5334
5560
 
5335
5561
        fi
5336
5562
        if test "x${app_cv_build_os_kernel}" = "xfreebsd"; then
5337
5563
 
5338
 
cat >>confdefs.h <<\_ACEOF
5339
 
#define CONFIG_HOST_KERNEL_FREEBSD 1
5340
 
_ACEOF
 
5564
$as_echo "#define CONFIG_HOST_KERNEL_FREEBSD 1" >>confdefs.h
5341
5565
 
5342
5566
        fi
5343
5567
        if test "x${app_cv_build_os_kernel}" = "xdragonfly"; then
5344
5568
 
5345
 
cat >>confdefs.h <<\_ACEOF
5346
 
#define CONFIG_HOST_KERNEL_DRAGONFLY 1
5347
 
_ACEOF
 
5569
$as_echo "#define CONFIG_HOST_KERNEL_DRAGONFLY 1" >>confdefs.h
5348
5570
 
5349
5571
        fi
5350
5572
        if test "x${app_cv_build_os_kernel}" = "xopenbsd"; then
5351
5573
 
5352
 
cat >>confdefs.h <<\_ACEOF
5353
 
#define CONFIG_HOST_KERNEL_OPENBSD 1
5354
 
_ACEOF
 
5574
$as_echo "#define CONFIG_HOST_KERNEL_OPENBSD 1" >>confdefs.h
5355
5575
 
5356
5576
        fi
5357
5577
        if test "x${app_cv_build_os_kernel}" = "xnetbsd"; then
5358
5578
 
5359
 
cat >>confdefs.h <<\_ACEOF
5360
 
#define CONFIG_HOST_KERNEL_NETBSD 1
5361
 
_ACEOF
 
5579
$as_echo "#define CONFIG_HOST_KERNEL_NETBSD 1" >>confdefs.h
5362
5580
 
5363
5581
        fi
5364
5582
        if test "x${app_cv_build_os_kernel}" = "xsolaris"; then
5365
5583
 
5366
 
cat >>confdefs.h <<\_ACEOF
5367
 
#define CONFIG_HOST_KERNEL_SOLARIS 1
5368
 
_ACEOF
 
5584
$as_echo "#define CONFIG_HOST_KERNEL_SOLARIS 1" >>confdefs.h
5369
5585
 
5370
5586
        fi
5371
5587
        if test "x${app_cv_build_os_kernel}" = "xdarwin"; then
5372
5588
 
5373
 
cat >>confdefs.h <<\_ACEOF
5374
 
#define CONFIG_HOST_KERNEL_DARWIN 1
5375
 
_ACEOF
 
5589
$as_echo "#define CONFIG_HOST_KERNEL_DARWIN 1" >>confdefs.h
5376
5590
 
5377
5591
        fi
5378
5592
        if test "x${app_cv_build_os_kernel}" = "xqnx"; then
5379
5593
 
5380
 
cat >>confdefs.h <<\_ACEOF
5381
 
#define CONFIG_HOST_KERNEL_QNX 1
5382
 
_ACEOF
 
5594
$as_echo "#define CONFIG_HOST_KERNEL_QNX 1" >>confdefs.h
5383
5595
 
5384
5596
        fi
5385
5597
        if test "x${app_cv_build_os_kernel}" = "xunknown"; then
5386
5598
 
5387
 
cat >>confdefs.h <<\_ACEOF
5388
 
#define CONFIG_HOST_KERNEL_UNKNOWN 1
5389
 
_ACEOF
 
5599
$as_echo "#define CONFIG_HOST_KERNEL_UNKNOWN 1" >>confdefs.h
5390
5600
 
5391
5601
        fi
5392
5602
 
5505
5715
        if test "x${app_cv_build_os_kernel}" = "xwindows32" || test "x${app_cv_build_os_kernel}" = "xwindows64" \
5506
5716
                        || test "x${app_cv_build_os_kernel}" = "xinterix"; then
5507
5717
 
5508
 
cat >>confdefs.h <<\_ACEOF
5509
 
#define CONFIG_HOST_KERNEL_FAMILY_WINDOWS 1
5510
 
_ACEOF
 
5718
$as_echo "#define CONFIG_HOST_KERNEL_FAMILY_WINDOWS 1" >>confdefs.h
5511
5719
 
5512
5720
        fi
5513
5721
 
5514
5722
 
5515
 
        { $as_echo "$as_me:$LINENO: result: ${app_cv_build_os_kernel}" >&5
 
5723
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${app_cv_build_os_kernel}" >&5
5516
5724
$as_echo "${app_cv_build_os_kernel}" >&6; }
5517
5725
 
5518
5726
 
5533
5741
        # ---- Common compiler options (warnings, etc...)
5534
5742
 
5535
5743
        # Check whether --enable-common-options was given.
5536
 
if test "${enable_common_options+set}" = set; then
 
5744
if test "${enable_common_options+set}" = set; then :
5537
5745
  enableval=$enable_common_options; app_cv_compiler_common_options=${enableval}
5538
5746
else
5539
5747
  app_cv_compiler_common_options=auto
5549
5757
                # for pretty message
5550
5758
                app_cv_compiler_common_options="none";
5551
5759
        fi
5552
 
        { $as_echo "$as_me:$LINENO: Enable common compiler flags for: $app_cv_compiler_common_options" >&5
 
5760
        { $as_echo "$as_me:${as_lineno-$LINENO}: Enable common compiler flags for: $app_cv_compiler_common_options" >&5
5553
5761
$as_echo "$as_me: Enable common compiler flags for: $app_cv_compiler_common_options" >&6;}
5554
5762
 
5555
5763
 
5568
5776
                                app_cv_compiler_options_ldflags="$app_cv_compiler_options_ldflags -mms-bitfields"
5569
5777
                        fi
5570
5778
 
5571
 
                        # Note: Disabled -Wconversion, it was causing lots of silly warnings under x86-64.
5572
5779
                        app_cv_compiler_tmp_var="-Wall -Wcast-align -Wcast-qual -Wconversion \
5573
5780
-Wctor-dtor-privacy -Wfloat-equal -Wnon-virtual-dtor -Woverloaded-virtual \
5574
5781
-Wpointer-arith -Wshadow -Wsign-compare -Wsign-promo -Wundef -Wwrite-strings";
5611
5818
        # ---- Compiler options for debug builds
5612
5819
 
5613
5820
        # Check whether --enable-debug-options was given.
5614
 
if test "${enable_debug_options+set}" = set; then
 
5821
if test "${enable_debug_options+set}" = set; then :
5615
5822
  enableval=$enable_debug_options; app_cv_compiler_debug_options=${enableval}
5616
5823
else
5617
5824
  app_cv_compiler_debug_options=none
5627
5834
                # for pretty message
5628
5835
                app_cv_compiler_debug_options="none";
5629
5836
        fi
5630
 
        { $as_echo "$as_me:$LINENO: Enable debug build flags for: $app_cv_compiler_debug_options" >&5
 
5837
        { $as_echo "$as_me:${as_lineno-$LINENO}: Enable debug build flags for: $app_cv_compiler_debug_options" >&5
5631
5838
$as_echo "$as_me: Enable debug build flags for: $app_cv_compiler_debug_options" >&6;}
5632
5839
 
5633
5840
 
5635
5842
 
5636
5843
                # Define DEBUG and DEBUG_BUILD for debug builds (through config.h).
5637
5844
 
5638
 
cat >>confdefs.h <<\_ACEOF
5639
 
#define DEBUG 1
5640
 
_ACEOF
5641
 
 
5642
 
 
5643
 
cat >>confdefs.h <<\_ACEOF
5644
 
#define DEBUG_BUILD 1
5645
 
_ACEOF
 
5845
$as_echo "#define DEBUG 1" >>confdefs.h
 
5846
 
 
5847
 
 
5848
$as_echo "#define DEBUG_BUILD 1" >>confdefs.h
5646
5849
 
5647
5850
 
5648
5851
                # gcc, mingw
5676
5879
        # ---- Compiler options for optimized builds
5677
5880
 
5678
5881
        # Check whether --enable-optimize-options was given.
5679
 
if test "${enable_optimize_options+set}" = set; then
 
5882
if test "${enable_optimize_options+set}" = set; then :
5680
5883
  enableval=$enable_optimize_options; app_cv_compiler_optimize_options=${enableval}
5681
5884
else
5682
5885
  app_cv_compiler_optimize_options=none
5692
5895
                # for pretty message
5693
5896
                app_cv_compiler_optimize_options="none";
5694
5897
        fi
5695
 
        { $as_echo "$as_me:$LINENO: Enable optimized build flags for: $app_cv_compiler_optimize_options" >&5
 
5898
        { $as_echo "$as_me:${as_lineno-$LINENO}: Enable optimized build flags for: $app_cv_compiler_optimize_options" >&5
5696
5899
$as_echo "$as_me: Enable optimized build flags for: $app_cv_compiler_optimize_options" >&6;}
5697
5900
 
5698
5901
 
5734
5937
        # ---- Compiler options for GCC pch support
5735
5938
 
5736
5939
        # Check whether --enable-gcc-pch was given.
5737
 
if test "${enable_gcc_pch+set}" = set; then
 
5940
if test "${enable_gcc_pch+set}" = set; then :
5738
5941
  enableval=$enable_gcc_pch; app_cv_compiler_gcc_pch=${enableval}
5739
5942
else
5740
5943
  app_cv_compiler_gcc_pch=no
5741
5944
fi
5742
5945
 
5743
5946
 
5744
 
        { $as_echo "$as_me:$LINENO: Enable GCC precompiled header usage: $app_cv_compiler_gcc_pch" >&5
 
5947
        { $as_echo "$as_me:${as_lineno-$LINENO}: Enable GCC precompiled header usage: $app_cv_compiler_gcc_pch" >&5
5745
5948
$as_echo "$as_me: Enable GCC precompiled header usage: $app_cv_compiler_gcc_pch" >&6;}
5746
5949
 
5747
5950
        # Don't check the vendor here - it's disabled by default, so it's on the user.
5758
5961
        # -mconsole - opposite of -mwindows, default.
5759
5962
 
5760
5963
        # Check whether --enable-windows-console was given.
5761
 
if test "${enable_windows_console+set}" = set; then
 
5964
if test "${enable_windows_console+set}" = set; then :
5762
5965
  enableval=$enable_windows_console; app_cv_compiler_windows_console=${enableval}
5763
5966
else
5764
5967
  app_cv_compiler_windows_console=auto
5782
5985
                        # specify -mconsole even if it's the default - it should override the user-supplied setting
5783
5986
                        app_cv_compiler_options_ldflags="$app_cv_compiler_options_ldflags -mconsole";
5784
5987
                fi
5785
 
                { $as_echo "$as_me:$LINENO: Enable windows console: $app_cv_compiler_windows_console" >&5
 
5988
                { $as_echo "$as_me:${as_lineno-$LINENO}: Enable windows console: $app_cv_compiler_windows_console" >&5
5786
5989
$as_echo "$as_me: Enable windows console: $app_cv_compiler_windows_console" >&6;}
5787
5990
        fi
5788
5991
 
5807
6010
        fi
5808
6011
 
5809
6012
 
5810
 
        { $as_echo "$as_me:$LINENO: Compiler-specific build options:" >&5
 
6013
        { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler-specific build options:" >&5
5811
6014
$as_echo "$as_me: Compiler-specific build options:" >&6;}
5812
 
        { $as_echo "$as_me:$LINENO: CFLAGS: $app_cv_compiler_options_cflags" >&5
 
6015
        { $as_echo "$as_me:${as_lineno-$LINENO}: CFLAGS: $app_cv_compiler_options_cflags" >&5
5813
6016
$as_echo "$as_me: CFLAGS: $app_cv_compiler_options_cflags" >&6;}
5814
 
        { $as_echo "$as_me:$LINENO: CXXFLAGS: $app_cv_compiler_options_cxxflags" >&5
 
6017
        { $as_echo "$as_me:${as_lineno-$LINENO}: CXXFLAGS: $app_cv_compiler_options_cxxflags" >&5
5815
6018
$as_echo "$as_me: CXXFLAGS: $app_cv_compiler_options_cxxflags" >&6;}
5816
 
        { $as_echo "$as_me:$LINENO: LDFLAGS: $app_cv_compiler_options_ldflags" >&5
 
6019
        { $as_echo "$as_me:${as_lineno-$LINENO}: LDFLAGS: $app_cv_compiler_options_ldflags" >&5
5817
6020
$as_echo "$as_me: LDFLAGS: $app_cv_compiler_options_ldflags" >&6;}
5818
6021
 
5819
6022
 
5830
6033
 
5831
6034
 
5832
6035
 
5833
 
        { $as_echo "$as_me:$LINENO: checking for target thread support flags" >&5
 
6036
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target thread support flags" >&5
5834
6037
$as_echo_n "checking for target thread support flags... " >&6; }
5835
6038
 
5836
6039
        app_cv_target_thread_cflags="";
5842
6045
        # NOTE: This works only on target compilers!
5843
6046
        if test "x${ax_cv_cxx_compiler_vendor}" = "x"; then
5844
6047
                # msg_result is needed to print the checking... message.
5845
 
                { $as_echo "$as_me:$LINENO: result: error" >&5
 
6048
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
5846
6049
$as_echo "error" >&6; }
5847
 
                { { $as_echo "$as_me:$LINENO: error: ax_cv_cxx_compiler_vendor not set." >&5
5848
 
$as_echo "$as_me: error: ax_cv_cxx_compiler_vendor not set." >&2;}
5849
 
   { (exit 1); exit 1; }; }
 
6050
                as_fn_error "ax_cv_cxx_compiler_vendor not set." "$LINENO" 5
5850
6051
        fi
5851
6052
        if test "x${app_cv_target_os_kernel}" = "x"; then
5852
6053
                # msg_result is needed to print the checking... message.
5853
 
                { $as_echo "$as_me:$LINENO: result: error" >&5
 
6054
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
5854
6055
$as_echo "error" >&6; }
5855
 
                { { $as_echo "$as_me:$LINENO: error: app_cv_target_os_kernel not set." >&5
5856
 
$as_echo "$as_me: error: app_cv_target_os_kernel not set." >&2;}
5857
 
   { (exit 1); exit 1; }; }
 
6056
                as_fn_error "app_cv_target_os_kernel not set." "$LINENO" 5
5858
6057
        fi
5859
6058
        if test "x${app_cv_target_os_env}" = "x"; then
5860
6059
                # msg_result is needed to print the checking... message.
5861
 
                { $as_echo "$as_me:$LINENO: result: error" >&5
 
6060
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
5862
6061
$as_echo "error" >&6; }
5863
 
                { { $as_echo "$as_me:$LINENO: error: app_cv_target_os_env not set." >&5
5864
 
$as_echo "$as_me: error: app_cv_target_os_env not set." >&2;}
5865
 
   { (exit 1); exit 1; }; }
 
6062
                as_fn_error "app_cv_target_os_env not set." "$LINENO" 5
5866
6063
        fi
5867
6064
 
5868
6065
 
5996
6193
 
5997
6194
 
5998
6195
        if test "$app_cv_target_thread_found" = "no"; then
5999
 
                { $as_echo "$as_me:$LINENO: WARNING: Cannot detect compiler thread support. Set CFLAGS, CXXFLAGS and LIBS manually." >&5
 
6196
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot detect compiler thread support. Set CFLAGS, CXXFLAGS and LIBS manually." >&5
6000
6197
$as_echo "$as_me: WARNING: Cannot detect compiler thread support. Set CFLAGS, CXXFLAGS and LIBS manually." >&2;}
6001
6198
 
6002
6199
        else
6003
 
                { $as_echo "$as_me:$LINENO: result: CFLAGS: $app_cv_target_thread_cflags;  CXXFLAGS: $app_cv_target_thread_cxxflags;  LIBS: $app_cv_target_thread_libs" >&5
 
6200
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: CFLAGS: $app_cv_target_thread_cflags;  CXXFLAGS: $app_cv_target_thread_cxxflags;  LIBS: $app_cv_target_thread_libs" >&5
6004
6201
$as_echo "CFLAGS: $app_cv_target_thread_cflags;  CXXFLAGS: $app_cv_target_thread_cxxflags;  LIBS: $app_cv_target_thread_libs" >&6; }
6005
6202
 
6006
6203
                if test "x$CFLAGS" = "x"; then
6029
6226
 
6030
6227
 
6031
6228
 
6032
 
        { $as_echo "$as_me:$LINENO: checking for target system extension flags" >&5
 
6229
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system extension flags" >&5
6033
6230
$as_echo_n "checking for target system extension flags... " >&6; }
6034
6231
 
6035
6232
        app_cv_target_extension_cflags="";
6041
6238
        # NOTE: This works only on target compilers!
6042
6239
        if test "x${ax_cv_cxx_compiler_vendor}" = "x"; then
6043
6240
                # msg_result is needed to print the checking... message.
6044
 
                { $as_echo "$as_me:$LINENO: result: error" >&5
 
6241
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
6045
6242
$as_echo "error" >&6; }
6046
 
                { { $as_echo "$as_me:$LINENO: error: ax_cv_cxx_compiler_vendor not set." >&5
6047
 
$as_echo "$as_me: error: ax_cv_cxx_compiler_vendor not set." >&2;}
6048
 
   { (exit 1); exit 1; }; }
 
6243
                as_fn_error "ax_cv_cxx_compiler_vendor not set." "$LINENO" 5
6049
6244
        fi
6050
6245
        if test "x${app_cv_target_os_kernel}" = "x"; then
6051
6246
                # msg_result is needed to print the checking... message.
6052
 
                { $as_echo "$as_me:$LINENO: result: error" >&5
 
6247
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
6053
6248
$as_echo "error" >&6; }
6054
 
                { { $as_echo "$as_me:$LINENO: error: app_cv_target_os_kernel not set." >&5
6055
 
$as_echo "$as_me: error: app_cv_target_os_kernel not set." >&2;}
6056
 
   { (exit 1); exit 1; }; }
 
6249
                as_fn_error "app_cv_target_os_kernel not set." "$LINENO" 5
6057
6250
        fi
6058
6251
        if test "x${app_cv_target_os_env}" = "x"; then
6059
6252
                # msg_result is needed to print the checking... message.
6060
 
                { $as_echo "$as_me:$LINENO: result: error" >&5
 
6253
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
6061
6254
$as_echo "error" >&6; }
6062
 
                { { $as_echo "$as_me:$LINENO: error: app_cv_target_os_env not set." >&5
6063
 
$as_echo "$as_me: error: app_cv_target_os_env not set." >&2;}
6064
 
   { (exit 1); exit 1; }; }
 
6255
                as_fn_error "app_cv_target_os_env not set." "$LINENO" 5
6065
6256
        fi
6066
6257
 
6067
6258
 
6126
6317
        esac
6127
6318
 
6128
6319
 
6129
 
        { $as_echo "$as_me:$LINENO: result: CFLAGS: $app_cv_target_extension_cflags;  CXXFLAGS: $app_cv_target_extension_cxxflags;  LIBS: $app_cv_target_extension_libs" >&5
 
6320
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: CFLAGS: $app_cv_target_extension_cflags;  CXXFLAGS: $app_cv_target_extension_cxxflags;  LIBS: $app_cv_target_extension_libs" >&5
6130
6321
$as_echo "CFLAGS: $app_cv_target_extension_cflags;  CXXFLAGS: $app_cv_target_extension_cxxflags;  LIBS: $app_cv_target_extension_libs" >&6; }
6131
6322
 
6132
6323
        if test "x$CFLAGS" = "x"; then
6149
6340
 
6150
6341
# Arrange large file support (define _FILE_OFFSET_BITS 64, etc...)
6151
6342
# Check whether --enable-largefile was given.
6152
 
if test "${enable_largefile+set}" = set; then
 
6343
if test "${enable_largefile+set}" = set; then :
6153
6344
  enableval=$enable_largefile;
6154
6345
fi
6155
6346
 
6156
6347
if test "$enable_largefile" != no; then
6157
6348
 
6158
 
  { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
 
6349
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6159
6350
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6160
 
if test "${ac_cv_sys_largefile_CC+set}" = set; then
 
6351
if test "${ac_cv_sys_largefile_CC+set}" = set; then :
6161
6352
  $as_echo_n "(cached) " >&6
6162
6353
else
6163
6354
  ac_cv_sys_largefile_CC=no
6166
6357
       while :; do
6167
6358
         # IRIX 6.2 and later do not support large files by default,
6168
6359
         # so use the C compiler's -n32 option if that helps.
6169
 
         cat >conftest.$ac_ext <<_ACEOF
6170
 
/* confdefs.h.  */
6171
 
_ACEOF
6172
 
cat confdefs.h >>conftest.$ac_ext
6173
 
cat >>conftest.$ac_ext <<_ACEOF
 
6360
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6174
6361
/* end confdefs.h.  */
6175
6362
#include <sys/types.h>
6176
6363
 /* Check that off_t can represent 2**63 - 1 correctly.
6189
6376
  return 0;
6190
6377
}
6191
6378
_ACEOF
6192
 
         rm -f conftest.$ac_objext
6193
 
if { (ac_try="$ac_compile"
6194
 
case "(($ac_try" in
6195
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6196
 
  *) ac_try_echo=$ac_try;;
6197
 
esac
6198
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6199
 
$as_echo "$ac_try_echo") >&5
6200
 
  (eval "$ac_compile") 2>conftest.er1
6201
 
  ac_status=$?
6202
 
  grep -v '^ *+' conftest.er1 >conftest.err
6203
 
  rm -f conftest.er1
6204
 
  cat conftest.err >&5
6205
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6206
 
  (exit $ac_status); } && {
6207
 
         test -z "$ac_cxx_werror_flag" ||
6208
 
         test ! -s conftest.err
6209
 
       } && test -s conftest.$ac_objext; then
 
6379
         if ac_fn_cxx_try_compile "$LINENO"; then :
6210
6380
  break
6211
 
else
6212
 
  $as_echo "$as_me: failed program was:" >&5
6213
 
sed 's/^/| /' conftest.$ac_ext >&5
6214
 
 
6215
 
 
6216
6381
fi
6217
 
 
6218
6382
rm -f core conftest.err conftest.$ac_objext
6219
6383
         CC="$CC -n32"
6220
 
         rm -f conftest.$ac_objext
6221
 
if { (ac_try="$ac_compile"
6222
 
case "(($ac_try" in
6223
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6224
 
  *) ac_try_echo=$ac_try;;
6225
 
esac
6226
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6227
 
$as_echo "$ac_try_echo") >&5
6228
 
  (eval "$ac_compile") 2>conftest.er1
6229
 
  ac_status=$?
6230
 
  grep -v '^ *+' conftest.er1 >conftest.err
6231
 
  rm -f conftest.er1
6232
 
  cat conftest.err >&5
6233
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6234
 
  (exit $ac_status); } && {
6235
 
         test -z "$ac_cxx_werror_flag" ||
6236
 
         test ! -s conftest.err
6237
 
       } && test -s conftest.$ac_objext; then
 
6384
         if ac_fn_cxx_try_compile "$LINENO"; then :
6238
6385
  ac_cv_sys_largefile_CC=' -n32'; break
6239
 
else
6240
 
  $as_echo "$as_me: failed program was:" >&5
6241
 
sed 's/^/| /' conftest.$ac_ext >&5
6242
 
 
6243
 
 
6244
6386
fi
6245
 
 
6246
6387
rm -f core conftest.err conftest.$ac_objext
6247
6388
         break
6248
6389
       done
6250
6391
       rm -f conftest.$ac_ext
6251
6392
    fi
6252
6393
fi
6253
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
 
6394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6254
6395
$as_echo "$ac_cv_sys_largefile_CC" >&6; }
6255
6396
  if test "$ac_cv_sys_largefile_CC" != no; then
6256
6397
    CC=$CC$ac_cv_sys_largefile_CC
6257
6398
  fi
6258
6399
 
6259
 
  { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
 
6400
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6260
6401
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6261
 
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
 
6402
if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
6262
6403
  $as_echo_n "(cached) " >&6
6263
6404
else
6264
6405
  while :; do
6265
 
  cat >conftest.$ac_ext <<_ACEOF
6266
 
/* confdefs.h.  */
6267
 
_ACEOF
6268
 
cat confdefs.h >>conftest.$ac_ext
6269
 
cat >>conftest.$ac_ext <<_ACEOF
 
6406
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6270
6407
/* end confdefs.h.  */
6271
6408
#include <sys/types.h>
6272
6409
 /* Check that off_t can represent 2**63 - 1 correctly.
6285
6422
  return 0;
6286
6423
}
6287
6424
_ACEOF
6288
 
rm -f conftest.$ac_objext
6289
 
if { (ac_try="$ac_compile"
6290
 
case "(($ac_try" in
6291
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6292
 
  *) ac_try_echo=$ac_try;;
6293
 
esac
6294
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6295
 
$as_echo "$ac_try_echo") >&5
6296
 
  (eval "$ac_compile") 2>conftest.er1
6297
 
  ac_status=$?
6298
 
  grep -v '^ *+' conftest.er1 >conftest.err
6299
 
  rm -f conftest.er1
6300
 
  cat conftest.err >&5
6301
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6302
 
  (exit $ac_status); } && {
6303
 
         test -z "$ac_cxx_werror_flag" ||
6304
 
         test ! -s conftest.err
6305
 
       } && test -s conftest.$ac_objext; then
 
6425
if ac_fn_cxx_try_compile "$LINENO"; then :
6306
6426
  ac_cv_sys_file_offset_bits=no; break
6307
 
else
6308
 
  $as_echo "$as_me: failed program was:" >&5
6309
 
sed 's/^/| /' conftest.$ac_ext >&5
6310
 
 
6311
 
 
6312
6427
fi
6313
 
 
6314
6428
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6315
 
  cat >conftest.$ac_ext <<_ACEOF
6316
 
/* confdefs.h.  */
6317
 
_ACEOF
6318
 
cat confdefs.h >>conftest.$ac_ext
6319
 
cat >>conftest.$ac_ext <<_ACEOF
 
6429
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6320
6430
/* end confdefs.h.  */
6321
6431
#define _FILE_OFFSET_BITS 64
6322
6432
#include <sys/types.h>
6336
6446
  return 0;
6337
6447
}
6338
6448
_ACEOF
6339
 
rm -f conftest.$ac_objext
6340
 
if { (ac_try="$ac_compile"
6341
 
case "(($ac_try" in
6342
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6343
 
  *) ac_try_echo=$ac_try;;
6344
 
esac
6345
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6346
 
$as_echo "$ac_try_echo") >&5
6347
 
  (eval "$ac_compile") 2>conftest.er1
6348
 
  ac_status=$?
6349
 
  grep -v '^ *+' conftest.er1 >conftest.err
6350
 
  rm -f conftest.er1
6351
 
  cat conftest.err >&5
6352
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6353
 
  (exit $ac_status); } && {
6354
 
         test -z "$ac_cxx_werror_flag" ||
6355
 
         test ! -s conftest.err
6356
 
       } && test -s conftest.$ac_objext; then
 
6449
if ac_fn_cxx_try_compile "$LINENO"; then :
6357
6450
  ac_cv_sys_file_offset_bits=64; break
6358
 
else
6359
 
  $as_echo "$as_me: failed program was:" >&5
6360
 
sed 's/^/| /' conftest.$ac_ext >&5
6361
 
 
6362
 
 
6363
6451
fi
6364
 
 
6365
6452
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6366
6453
  ac_cv_sys_file_offset_bits=unknown
6367
6454
  break
6368
6455
done
6369
6456
fi
6370
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
 
6457
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6371
6458
$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6372
6459
case $ac_cv_sys_file_offset_bits in #(
6373
6460
  no | unknown) ;;
6379
6466
esac
6380
6467
rm -rf conftest*
6381
6468
  if test $ac_cv_sys_file_offset_bits = unknown; then
6382
 
    { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
 
6469
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6383
6470
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6384
 
if test "${ac_cv_sys_large_files+set}" = set; then
 
6471
if test "${ac_cv_sys_large_files+set}" = set; then :
6385
6472
  $as_echo_n "(cached) " >&6
6386
6473
else
6387
6474
  while :; do
6388
 
  cat >conftest.$ac_ext <<_ACEOF
6389
 
/* confdefs.h.  */
6390
 
_ACEOF
6391
 
cat confdefs.h >>conftest.$ac_ext
6392
 
cat >>conftest.$ac_ext <<_ACEOF
 
6475
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6393
6476
/* end confdefs.h.  */
6394
6477
#include <sys/types.h>
6395
6478
 /* Check that off_t can represent 2**63 - 1 correctly.
6408
6491
  return 0;
6409
6492
}
6410
6493
_ACEOF
6411
 
rm -f conftest.$ac_objext
6412
 
if { (ac_try="$ac_compile"
6413
 
case "(($ac_try" in
6414
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6415
 
  *) ac_try_echo=$ac_try;;
6416
 
esac
6417
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6418
 
$as_echo "$ac_try_echo") >&5
6419
 
  (eval "$ac_compile") 2>conftest.er1
6420
 
  ac_status=$?
6421
 
  grep -v '^ *+' conftest.er1 >conftest.err
6422
 
  rm -f conftest.er1
6423
 
  cat conftest.err >&5
6424
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6425
 
  (exit $ac_status); } && {
6426
 
         test -z "$ac_cxx_werror_flag" ||
6427
 
         test ! -s conftest.err
6428
 
       } && test -s conftest.$ac_objext; then
 
6494
if ac_fn_cxx_try_compile "$LINENO"; then :
6429
6495
  ac_cv_sys_large_files=no; break
6430
 
else
6431
 
  $as_echo "$as_me: failed program was:" >&5
6432
 
sed 's/^/| /' conftest.$ac_ext >&5
6433
 
 
6434
 
 
6435
6496
fi
6436
 
 
6437
6497
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6438
 
  cat >conftest.$ac_ext <<_ACEOF
6439
 
/* confdefs.h.  */
6440
 
_ACEOF
6441
 
cat confdefs.h >>conftest.$ac_ext
6442
 
cat >>conftest.$ac_ext <<_ACEOF
 
6498
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6443
6499
/* end confdefs.h.  */
6444
6500
#define _LARGE_FILES 1
6445
6501
#include <sys/types.h>
6459
6515
  return 0;
6460
6516
}
6461
6517
_ACEOF
6462
 
rm -f conftest.$ac_objext
6463
 
if { (ac_try="$ac_compile"
6464
 
case "(($ac_try" in
6465
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6466
 
  *) ac_try_echo=$ac_try;;
6467
 
esac
6468
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6469
 
$as_echo "$ac_try_echo") >&5
6470
 
  (eval "$ac_compile") 2>conftest.er1
6471
 
  ac_status=$?
6472
 
  grep -v '^ *+' conftest.er1 >conftest.err
6473
 
  rm -f conftest.er1
6474
 
  cat conftest.err >&5
6475
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476
 
  (exit $ac_status); } && {
6477
 
         test -z "$ac_cxx_werror_flag" ||
6478
 
         test ! -s conftest.err
6479
 
       } && test -s conftest.$ac_objext; then
 
6518
if ac_fn_cxx_try_compile "$LINENO"; then :
6480
6519
  ac_cv_sys_large_files=1; break
6481
 
else
6482
 
  $as_echo "$as_me: failed program was:" >&5
6483
 
sed 's/^/| /' conftest.$ac_ext >&5
6484
 
 
6485
 
 
6486
6520
fi
6487
 
 
6488
6521
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6489
6522
  ac_cv_sys_large_files=unknown
6490
6523
  break
6491
6524
done
6492
6525
fi
6493
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
 
6526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6494
6527
$as_echo "$ac_cv_sys_large_files" >&6; }
6495
6528
case $ac_cv_sys_large_files in #(
6496
6529
  no | unknown) ;;
6515
6548
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6516
6549
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6517
6550
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6518
 
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
6551
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6519
6552
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6520
6553
if test -z "$CXXCPP"; then
6521
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
 
6554
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
6522
6555
  $as_echo_n "(cached) " >&6
6523
6556
else
6524
6557
      # Double quotes because CXXCPP needs to be expanded
6533
6566
  # <limits.h> exists even on freestanding compilers.
6534
6567
  # On the NeXT, cc -E runs the code through the compiler's parser,
6535
6568
  # not just through cpp. "Syntax error" is here to catch this case.
6536
 
  cat >conftest.$ac_ext <<_ACEOF
6537
 
/* confdefs.h.  */
6538
 
_ACEOF
6539
 
cat confdefs.h >>conftest.$ac_ext
6540
 
cat >>conftest.$ac_ext <<_ACEOF
 
6569
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6541
6570
/* end confdefs.h.  */
6542
6571
#ifdef __STDC__
6543
6572
# include <limits.h>
6546
6575
#endif
6547
6576
                     Syntax error
6548
6577
_ACEOF
6549
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6550
 
case "(($ac_try" in
6551
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6552
 
  *) ac_try_echo=$ac_try;;
6553
 
esac
6554
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6555
 
$as_echo "$ac_try_echo") >&5
6556
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6557
 
  ac_status=$?
6558
 
  grep -v '^ *+' conftest.er1 >conftest.err
6559
 
  rm -f conftest.er1
6560
 
  cat conftest.err >&5
6561
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6562
 
  (exit $ac_status); } >/dev/null && {
6563
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6564
 
         test ! -s conftest.err
6565
 
       }; then
6566
 
  :
 
6578
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
6579
 
6567
6580
else
6568
 
  $as_echo "$as_me: failed program was:" >&5
6569
 
sed 's/^/| /' conftest.$ac_ext >&5
6570
 
 
6571
6581
  # Broken: fails on valid input.
6572
6582
continue
6573
6583
fi
6574
 
 
6575
6584
rm -f conftest.err conftest.$ac_ext
6576
6585
 
6577
6586
  # OK, works on sane cases.  Now check whether nonexistent headers
6578
6587
  # can be detected and how.
6579
 
  cat >conftest.$ac_ext <<_ACEOF
6580
 
/* confdefs.h.  */
6581
 
_ACEOF
6582
 
cat confdefs.h >>conftest.$ac_ext
6583
 
cat >>conftest.$ac_ext <<_ACEOF
 
6588
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6584
6589
/* end confdefs.h.  */
6585
6590
#include <ac_nonexistent.h>
6586
6591
_ACEOF
6587
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6588
 
case "(($ac_try" in
6589
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6590
 
  *) ac_try_echo=$ac_try;;
6591
 
esac
6592
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6593
 
$as_echo "$ac_try_echo") >&5
6594
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6595
 
  ac_status=$?
6596
 
  grep -v '^ *+' conftest.er1 >conftest.err
6597
 
  rm -f conftest.er1
6598
 
  cat conftest.err >&5
6599
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6600
 
  (exit $ac_status); } >/dev/null && {
6601
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6602
 
         test ! -s conftest.err
6603
 
       }; then
 
6592
if ac_fn_cxx_try_cpp "$LINENO"; then :
6604
6593
  # Broken: success on invalid input.
6605
6594
continue
6606
6595
else
6607
 
  $as_echo "$as_me: failed program was:" >&5
6608
 
sed 's/^/| /' conftest.$ac_ext >&5
6609
 
 
6610
6596
  # Passes both tests.
6611
6597
ac_preproc_ok=:
6612
6598
break
6613
6599
fi
6614
 
 
6615
6600
rm -f conftest.err conftest.$ac_ext
6616
6601
 
6617
6602
done
6618
6603
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6619
6604
rm -f conftest.err conftest.$ac_ext
6620
 
if $ac_preproc_ok; then
 
6605
if $ac_preproc_ok; then :
6621
6606
  break
6622
6607
fi
6623
6608
 
6629
6614
else
6630
6615
  ac_cv_prog_CXXCPP=$CXXCPP
6631
6616
fi
6632
 
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
6617
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
6633
6618
$as_echo "$CXXCPP" >&6; }
6634
6619
ac_preproc_ok=false
6635
6620
for ac_cxx_preproc_warn_flag in '' yes
6640
6625
  # <limits.h> exists even on freestanding compilers.
6641
6626
  # On the NeXT, cc -E runs the code through the compiler's parser,
6642
6627
  # not just through cpp. "Syntax error" is here to catch this case.
6643
 
  cat >conftest.$ac_ext <<_ACEOF
6644
 
/* confdefs.h.  */
6645
 
_ACEOF
6646
 
cat confdefs.h >>conftest.$ac_ext
6647
 
cat >>conftest.$ac_ext <<_ACEOF
 
6628
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6648
6629
/* end confdefs.h.  */
6649
6630
#ifdef __STDC__
6650
6631
# include <limits.h>
6653
6634
#endif
6654
6635
                     Syntax error
6655
6636
_ACEOF
6656
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6657
 
case "(($ac_try" in
6658
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6659
 
  *) ac_try_echo=$ac_try;;
6660
 
esac
6661
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6662
 
$as_echo "$ac_try_echo") >&5
6663
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6664
 
  ac_status=$?
6665
 
  grep -v '^ *+' conftest.er1 >conftest.err
6666
 
  rm -f conftest.er1
6667
 
  cat conftest.err >&5
6668
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6669
 
  (exit $ac_status); } >/dev/null && {
6670
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6671
 
         test ! -s conftest.err
6672
 
       }; then
6673
 
  :
 
6637
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
6638
 
6674
6639
else
6675
 
  $as_echo "$as_me: failed program was:" >&5
6676
 
sed 's/^/| /' conftest.$ac_ext >&5
6677
 
 
6678
6640
  # Broken: fails on valid input.
6679
6641
continue
6680
6642
fi
6681
 
 
6682
6643
rm -f conftest.err conftest.$ac_ext
6683
6644
 
6684
6645
  # OK, works on sane cases.  Now check whether nonexistent headers
6685
6646
  # can be detected and how.
6686
 
  cat >conftest.$ac_ext <<_ACEOF
6687
 
/* confdefs.h.  */
6688
 
_ACEOF
6689
 
cat confdefs.h >>conftest.$ac_ext
6690
 
cat >>conftest.$ac_ext <<_ACEOF
 
6647
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6691
6648
/* end confdefs.h.  */
6692
6649
#include <ac_nonexistent.h>
6693
6650
_ACEOF
6694
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6695
 
case "(($ac_try" in
6696
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6697
 
  *) ac_try_echo=$ac_try;;
6698
 
esac
6699
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6700
 
$as_echo "$ac_try_echo") >&5
6701
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6702
 
  ac_status=$?
6703
 
  grep -v '^ *+' conftest.er1 >conftest.err
6704
 
  rm -f conftest.er1
6705
 
  cat conftest.err >&5
6706
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707
 
  (exit $ac_status); } >/dev/null && {
6708
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6709
 
         test ! -s conftest.err
6710
 
       }; then
 
6651
if ac_fn_cxx_try_cpp "$LINENO"; then :
6711
6652
  # Broken: success on invalid input.
6712
6653
continue
6713
6654
else
6714
 
  $as_echo "$as_me: failed program was:" >&5
6715
 
sed 's/^/| /' conftest.$ac_ext >&5
6716
 
 
6717
6655
  # Passes both tests.
6718
6656
ac_preproc_ok=:
6719
6657
break
6720
6658
fi
6721
 
 
6722
6659
rm -f conftest.err conftest.$ac_ext
6723
6660
 
6724
6661
done
6725
6662
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6726
6663
rm -f conftest.err conftest.$ac_ext
6727
 
if $ac_preproc_ok; then
6728
 
  :
 
6664
if $ac_preproc_ok; then :
 
6665
 
6729
6666
else
6730
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
6667
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6731
6668
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6732
 
{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6733
 
See \`config.log' for more details." >&5
6734
 
$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6735
 
See \`config.log' for more details." >&2;}
6736
 
   { (exit 1); exit 1; }; }; }
 
6669
as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
 
6670
See \`config.log' for more details." "$LINENO" 5; }
6737
6671
fi
6738
6672
 
6739
6673
ac_ext=cpp
6743
6677
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6744
6678
 
6745
6679
 
6746
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
6680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6747
6681
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6748
 
if test "${ac_cv_path_GREP+set}" = set; then
 
6682
if test "${ac_cv_path_GREP+set}" = set; then :
6749
6683
  $as_echo_n "(cached) " >&6
6750
6684
else
6751
6685
  if test -z "$GREP"; then
6756
6690
do
6757
6691
  IFS=$as_save_IFS
6758
6692
  test -z "$as_dir" && as_dir=.
6759
 
  for ac_prog in grep ggrep; do
 
6693
    for ac_prog in grep ggrep; do
6760
6694
    for ac_exec_ext in '' $ac_executable_extensions; do
6761
6695
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6762
6696
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6776
6710
    $as_echo 'GREP' >> "conftest.nl"
6777
6711
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6778
6712
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6779
 
    ac_count=`expr $ac_count + 1`
 
6713
    as_fn_arith $ac_count + 1 && ac_count=$as_val
6780
6714
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
6781
6715
      # Best one so far, save it but keep looking for a better one
6782
6716
      ac_cv_path_GREP="$ac_path_GREP"
6791
6725
      $ac_path_GREP_found && break 3
6792
6726
    done
6793
6727
  done
6794
 
done
 
6728
  done
6795
6729
IFS=$as_save_IFS
6796
6730
  if test -z "$ac_cv_path_GREP"; then
6797
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6798
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6799
 
   { (exit 1); exit 1; }; }
 
6731
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6800
6732
  fi
6801
6733
else
6802
6734
  ac_cv_path_GREP=$GREP
6803
6735
fi
6804
6736
 
6805
6737
fi
6806
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
6738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6807
6739
$as_echo "$ac_cv_path_GREP" >&6; }
6808
6740
 GREP="$ac_cv_path_GREP"
6809
6741
 
6810
6742
 
6811
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
6743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6812
6744
$as_echo_n "checking for egrep... " >&6; }
6813
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
6745
if test "${ac_cv_path_EGREP+set}" = set; then :
6814
6746
  $as_echo_n "(cached) " >&6
6815
6747
else
6816
6748
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6824
6756
do
6825
6757
  IFS=$as_save_IFS
6826
6758
  test -z "$as_dir" && as_dir=.
6827
 
  for ac_prog in egrep; do
 
6759
    for ac_prog in egrep; do
6828
6760
    for ac_exec_ext in '' $ac_executable_extensions; do
6829
6761
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6830
6762
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6844
6776
    $as_echo 'EGREP' >> "conftest.nl"
6845
6777
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6846
6778
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6847
 
    ac_count=`expr $ac_count + 1`
 
6779
    as_fn_arith $ac_count + 1 && ac_count=$as_val
6848
6780
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6849
6781
      # Best one so far, save it but keep looking for a better one
6850
6782
      ac_cv_path_EGREP="$ac_path_EGREP"
6859
6791
      $ac_path_EGREP_found && break 3
6860
6792
    done
6861
6793
  done
6862
 
done
 
6794
  done
6863
6795
IFS=$as_save_IFS
6864
6796
  if test -z "$ac_cv_path_EGREP"; then
6865
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6866
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6867
 
   { (exit 1); exit 1; }; }
 
6797
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6868
6798
  fi
6869
6799
else
6870
6800
  ac_cv_path_EGREP=$EGREP
6872
6802
 
6873
6803
   fi
6874
6804
fi
6875
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
6805
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6876
6806
$as_echo "$ac_cv_path_EGREP" >&6; }
6877
6807
 EGREP="$ac_cv_path_EGREP"
6878
6808
 
6879
6809
 
6880
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
6810
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6881
6811
$as_echo_n "checking for ANSI C header files... " >&6; }
6882
 
if test "${ac_cv_header_stdc+set}" = set; then
 
6812
if test "${ac_cv_header_stdc+set}" = set; then :
6883
6813
  $as_echo_n "(cached) " >&6
6884
6814
else
6885
 
  cat >conftest.$ac_ext <<_ACEOF
6886
 
/* confdefs.h.  */
6887
 
_ACEOF
6888
 
cat confdefs.h >>conftest.$ac_ext
6889
 
cat >>conftest.$ac_ext <<_ACEOF
 
6815
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6890
6816
/* end confdefs.h.  */
6891
6817
#include <stdlib.h>
6892
6818
#include <stdarg.h>
6901
6827
  return 0;
6902
6828
}
6903
6829
_ACEOF
6904
 
rm -f conftest.$ac_objext
6905
 
if { (ac_try="$ac_compile"
6906
 
case "(($ac_try" in
6907
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6908
 
  *) ac_try_echo=$ac_try;;
6909
 
esac
6910
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6911
 
$as_echo "$ac_try_echo") >&5
6912
 
  (eval "$ac_compile") 2>conftest.er1
6913
 
  ac_status=$?
6914
 
  grep -v '^ *+' conftest.er1 >conftest.err
6915
 
  rm -f conftest.er1
6916
 
  cat conftest.err >&5
6917
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6918
 
  (exit $ac_status); } && {
6919
 
         test -z "$ac_cxx_werror_flag" ||
6920
 
         test ! -s conftest.err
6921
 
       } && test -s conftest.$ac_objext; then
 
6830
if ac_fn_cxx_try_compile "$LINENO"; then :
6922
6831
  ac_cv_header_stdc=yes
6923
6832
else
6924
 
  $as_echo "$as_me: failed program was:" >&5
6925
 
sed 's/^/| /' conftest.$ac_ext >&5
6926
 
 
6927
 
        ac_cv_header_stdc=no
 
6833
  ac_cv_header_stdc=no
6928
6834
fi
6929
 
 
6930
6835
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6931
6836
 
6932
6837
if test $ac_cv_header_stdc = yes; then
6933
6838
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6934
 
  cat >conftest.$ac_ext <<_ACEOF
6935
 
/* confdefs.h.  */
6936
 
_ACEOF
6937
 
cat confdefs.h >>conftest.$ac_ext
6938
 
cat >>conftest.$ac_ext <<_ACEOF
 
6839
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6939
6840
/* end confdefs.h.  */
6940
6841
#include <string.h>
6941
6842
 
6942
6843
_ACEOF
6943
6844
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6944
 
  $EGREP "memchr" >/dev/null 2>&1; then
6945
 
  :
 
6845
  $EGREP "memchr" >/dev/null 2>&1; then :
 
6846
 
6946
6847
else
6947
6848
  ac_cv_header_stdc=no
6948
6849
fi
6952
6853
 
6953
6854
if test $ac_cv_header_stdc = yes; then
6954
6855
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6955
 
  cat >conftest.$ac_ext <<_ACEOF
6956
 
/* confdefs.h.  */
6957
 
_ACEOF
6958
 
cat confdefs.h >>conftest.$ac_ext
6959
 
cat >>conftest.$ac_ext <<_ACEOF
 
6856
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6960
6857
/* end confdefs.h.  */
6961
6858
#include <stdlib.h>
6962
6859
 
6963
6860
_ACEOF
6964
6861
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6965
 
  $EGREP "free" >/dev/null 2>&1; then
6966
 
  :
 
6862
  $EGREP "free" >/dev/null 2>&1; then :
 
6863
 
6967
6864
else
6968
6865
  ac_cv_header_stdc=no
6969
6866
fi
6973
6870
 
6974
6871
if test $ac_cv_header_stdc = yes; then
6975
6872
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6976
 
  if test "$cross_compiling" = yes; then
 
6873
  if test "$cross_compiling" = yes; then :
6977
6874
  :
6978
6875
else
6979
 
  cat >conftest.$ac_ext <<_ACEOF
6980
 
/* confdefs.h.  */
6981
 
_ACEOF
6982
 
cat confdefs.h >>conftest.$ac_ext
6983
 
cat >>conftest.$ac_ext <<_ACEOF
 
6876
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6984
6877
/* end confdefs.h.  */
6985
6878
#include <ctype.h>
6986
6879
#include <stdlib.h>
7007
6900
  return 0;
7008
6901
}
7009
6902
_ACEOF
7010
 
rm -f conftest$ac_exeext
7011
 
if { (ac_try="$ac_link"
7012
 
case "(($ac_try" in
7013
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7014
 
  *) ac_try_echo=$ac_try;;
7015
 
esac
7016
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7017
 
$as_echo "$ac_try_echo") >&5
7018
 
  (eval "$ac_link") 2>&5
7019
 
  ac_status=$?
7020
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7022
 
  { (case "(($ac_try" in
7023
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7024
 
  *) ac_try_echo=$ac_try;;
7025
 
esac
7026
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7027
 
$as_echo "$ac_try_echo") >&5
7028
 
  (eval "$ac_try") 2>&5
7029
 
  ac_status=$?
7030
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7031
 
  (exit $ac_status); }; }; then
7032
 
  :
 
6903
if ac_fn_cxx_try_run "$LINENO"; then :
 
6904
 
7033
6905
else
7034
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
7035
 
$as_echo "$as_me: failed program was:" >&5
7036
 
sed 's/^/| /' conftest.$ac_ext >&5
7037
 
 
7038
 
( exit $ac_status )
7039
 
ac_cv_header_stdc=no
7040
 
fi
7041
 
rm -rf conftest.dSYM
7042
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7043
 
fi
7044
 
 
7045
 
 
7046
 
fi
7047
 
fi
7048
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
6906
  ac_cv_header_stdc=no
 
6907
fi
 
6908
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
6909
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
6910
fi
 
6911
 
 
6912
fi
 
6913
fi
 
6914
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7049
6915
$as_echo "$ac_cv_header_stdc" >&6; }
7050
6916
if test $ac_cv_header_stdc = yes; then
7051
6917
 
7052
 
cat >>confdefs.h <<\_ACEOF
7053
 
#define STDC_HEADERS 1
7054
 
_ACEOF
 
6918
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7055
6919
 
7056
6920
fi
7057
6921
 
7058
6922
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7059
 
 
7060
 
 
7061
 
 
7062
 
 
7063
 
 
7064
 
 
7065
 
 
7066
 
 
7067
 
 
7068
6923
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7069
6924
                  inttypes.h stdint.h unistd.h
7070
 
do
7071
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7072
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7073
 
$as_echo_n "checking for $ac_header... " >&6; }
7074
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7075
 
  $as_echo_n "(cached) " >&6
7076
 
else
7077
 
  cat >conftest.$ac_ext <<_ACEOF
7078
 
/* confdefs.h.  */
7079
 
_ACEOF
7080
 
cat confdefs.h >>conftest.$ac_ext
7081
 
cat >>conftest.$ac_ext <<_ACEOF
7082
 
/* end confdefs.h.  */
7083
 
$ac_includes_default
7084
 
 
7085
 
#include <$ac_header>
7086
 
_ACEOF
7087
 
rm -f conftest.$ac_objext
7088
 
if { (ac_try="$ac_compile"
7089
 
case "(($ac_try" in
7090
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7091
 
  *) ac_try_echo=$ac_try;;
7092
 
esac
7093
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7094
 
$as_echo "$ac_try_echo") >&5
7095
 
  (eval "$ac_compile") 2>conftest.er1
7096
 
  ac_status=$?
7097
 
  grep -v '^ *+' conftest.er1 >conftest.err
7098
 
  rm -f conftest.er1
7099
 
  cat conftest.err >&5
7100
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7101
 
  (exit $ac_status); } && {
7102
 
         test -z "$ac_cxx_werror_flag" ||
7103
 
         test ! -s conftest.err
7104
 
       } && test -s conftest.$ac_objext; then
7105
 
  eval "$as_ac_Header=yes"
7106
 
else
7107
 
  $as_echo "$as_me: failed program was:" >&5
7108
 
sed 's/^/| /' conftest.$ac_ext >&5
7109
 
 
7110
 
        eval "$as_ac_Header=no"
7111
 
fi
7112
 
 
7113
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7114
 
fi
7115
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7116
 
                 $as_echo "$as_val"'`
7117
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7118
 
$as_echo "$ac_res" >&6; }
7119
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7120
 
                 $as_echo "$as_val"'`
7121
 
   if test "x$as_val" = x""yes; then
 
6925
do :
 
6926
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6927
ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
6928
"
 
6929
eval as_val=\$$as_ac_Header
 
6930
   if test "x$as_val" = x""yes; then :
7122
6931
  cat >>confdefs.h <<_ACEOF
7123
6932
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7124
6933
_ACEOF
7128
6937
done
7129
6938
 
7130
6939
 
7131
 
 
7132
 
  { $as_echo "$as_me:$LINENO: checking for int8_t" >&5
7133
 
$as_echo_n "checking for int8_t... " >&6; }
7134
 
if test "${ac_cv_c_int8_t+set}" = set; then
7135
 
  $as_echo_n "(cached) " >&6
7136
 
else
7137
 
  ac_cv_c_int8_t=no
7138
 
     for ac_type in 'int8_t' 'int' 'long int' \
7139
 
         'long long int' 'short int' 'signed char'; do
7140
 
       cat >conftest.$ac_ext <<_ACEOF
7141
 
/* confdefs.h.  */
7142
 
_ACEOF
7143
 
cat confdefs.h >>conftest.$ac_ext
7144
 
cat >>conftest.$ac_ext <<_ACEOF
7145
 
/* end confdefs.h.  */
7146
 
$ac_includes_default
7147
 
int
7148
 
main ()
7149
 
{
7150
 
static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 1))];
7151
 
test_array [0] = 0
7152
 
 
7153
 
  ;
7154
 
  return 0;
7155
 
}
7156
 
_ACEOF
7157
 
rm -f conftest.$ac_objext
7158
 
if { (ac_try="$ac_compile"
7159
 
case "(($ac_try" in
7160
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7161
 
  *) ac_try_echo=$ac_try;;
7162
 
esac
7163
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7164
 
$as_echo "$ac_try_echo") >&5
7165
 
  (eval "$ac_compile") 2>conftest.er1
7166
 
  ac_status=$?
7167
 
  grep -v '^ *+' conftest.er1 >conftest.err
7168
 
  rm -f conftest.er1
7169
 
  cat conftest.err >&5
7170
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7171
 
  (exit $ac_status); } && {
7172
 
         test -z "$ac_cxx_werror_flag" ||
7173
 
         test ! -s conftest.err
7174
 
       } && test -s conftest.$ac_objext; then
7175
 
  cat >conftest.$ac_ext <<_ACEOF
7176
 
/* confdefs.h.  */
7177
 
_ACEOF
7178
 
cat confdefs.h >>conftest.$ac_ext
7179
 
cat >>conftest.$ac_ext <<_ACEOF
7180
 
/* end confdefs.h.  */
7181
 
$ac_includes_default
7182
 
int
7183
 
main ()
7184
 
{
7185
 
static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 1)
7186
 
                 < ($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 2))];
7187
 
test_array [0] = 0
7188
 
 
7189
 
  ;
7190
 
  return 0;
7191
 
}
7192
 
_ACEOF
7193
 
rm -f conftest.$ac_objext
7194
 
if { (ac_try="$ac_compile"
7195
 
case "(($ac_try" in
7196
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7197
 
  *) ac_try_echo=$ac_try;;
7198
 
esac
7199
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7200
 
$as_echo "$ac_try_echo") >&5
7201
 
  (eval "$ac_compile") 2>conftest.er1
7202
 
  ac_status=$?
7203
 
  grep -v '^ *+' conftest.er1 >conftest.err
7204
 
  rm -f conftest.er1
7205
 
  cat conftest.err >&5
7206
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7207
 
  (exit $ac_status); } && {
7208
 
         test -z "$ac_cxx_werror_flag" ||
7209
 
         test ! -s conftest.err
7210
 
       } && test -s conftest.$ac_objext; then
7211
 
  :
7212
 
else
7213
 
  $as_echo "$as_me: failed program was:" >&5
7214
 
sed 's/^/| /' conftest.$ac_ext >&5
7215
 
 
7216
 
        case $ac_type in
7217
 
  int8_t) ac_cv_c_int8_t=yes ;;
7218
 
  *) ac_cv_c_int8_t=$ac_type ;;
7219
 
esac
7220
 
 
7221
 
fi
7222
 
 
7223
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7224
 
else
7225
 
  $as_echo "$as_me: failed program was:" >&5
7226
 
sed 's/^/| /' conftest.$ac_ext >&5
7227
 
 
7228
 
 
7229
 
fi
7230
 
 
7231
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7232
 
       test "$ac_cv_c_int8_t" != no && break
7233
 
     done
7234
 
fi
7235
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_int8_t" >&5
7236
 
$as_echo "$ac_cv_c_int8_t" >&6; }
7237
 
  case $ac_cv_c_int8_t in #(
 
6940
ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
 
6941
case $ac_cv_c_int8_t in #(
7238
6942
  no|yes) ;; #(
7239
6943
  *)
7240
6944
 
7242
6946
#define int8_t $ac_cv_c_int8_t
7243
6947
_ACEOF
7244
6948
;;
7245
 
  esac
7246
 
 
7247
 
 
7248
 
  { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
7249
 
$as_echo_n "checking for uint8_t... " >&6; }
7250
 
if test "${ac_cv_c_uint8_t+set}" = set; then
7251
 
  $as_echo_n "(cached) " >&6
7252
 
else
7253
 
  ac_cv_c_uint8_t=no
7254
 
     for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \
7255
 
         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
7256
 
       cat >conftest.$ac_ext <<_ACEOF
7257
 
/* confdefs.h.  */
7258
 
_ACEOF
7259
 
cat confdefs.h >>conftest.$ac_ext
7260
 
cat >>conftest.$ac_ext <<_ACEOF
7261
 
/* end confdefs.h.  */
7262
 
$ac_includes_default
7263
 
int
7264
 
main ()
7265
 
{
7266
 
static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
7267
 
test_array [0] = 0
7268
 
 
7269
 
  ;
7270
 
  return 0;
7271
 
}
7272
 
_ACEOF
7273
 
rm -f conftest.$ac_objext
7274
 
if { (ac_try="$ac_compile"
7275
 
case "(($ac_try" in
7276
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7277
 
  *) ac_try_echo=$ac_try;;
7278
 
esac
7279
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7280
 
$as_echo "$ac_try_echo") >&5
7281
 
  (eval "$ac_compile") 2>conftest.er1
7282
 
  ac_status=$?
7283
 
  grep -v '^ *+' conftest.er1 >conftest.err
7284
 
  rm -f conftest.er1
7285
 
  cat conftest.err >&5
7286
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7287
 
  (exit $ac_status); } && {
7288
 
         test -z "$ac_cxx_werror_flag" ||
7289
 
         test ! -s conftest.err
7290
 
       } && test -s conftest.$ac_objext; then
7291
 
  case $ac_type in
7292
 
  uint8_t) ac_cv_c_uint8_t=yes ;;
7293
 
  *) ac_cv_c_uint8_t=$ac_type ;;
7294
 
esac
7295
 
 
7296
 
else
7297
 
  $as_echo "$as_me: failed program was:" >&5
7298
 
sed 's/^/| /' conftest.$ac_ext >&5
7299
 
 
7300
 
 
7301
 
fi
7302
 
 
7303
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7304
 
       test "$ac_cv_c_uint8_t" != no && break
7305
 
     done
7306
 
fi
7307
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
7308
 
$as_echo "$ac_cv_c_uint8_t" >&6; }
7309
 
  case $ac_cv_c_uint8_t in #(
 
6949
esac
 
6950
 
 
6951
ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
 
6952
case $ac_cv_c_uint8_t in #(
7310
6953
  no|yes) ;; #(
7311
6954
  *)
7312
6955
 
7313
 
cat >>confdefs.h <<\_ACEOF
7314
 
#define _UINT8_T 1
7315
 
_ACEOF
 
6956
$as_echo "#define _UINT8_T 1" >>confdefs.h
7316
6957
 
7317
6958
 
7318
6959
cat >>confdefs.h <<_ACEOF
7321
6962
;;
7322
6963
  esac
7323
6964
 
7324
 
 
7325
 
  { $as_echo "$as_me:$LINENO: checking for int16_t" >&5
7326
 
$as_echo_n "checking for int16_t... " >&6; }
7327
 
if test "${ac_cv_c_int16_t+set}" = set; then
7328
 
  $as_echo_n "(cached) " >&6
7329
 
else
7330
 
  ac_cv_c_int16_t=no
7331
 
     for ac_type in 'int16_t' 'int' 'long int' \
7332
 
         'long long int' 'short int' 'signed char'; do
7333
 
       cat >conftest.$ac_ext <<_ACEOF
7334
 
/* confdefs.h.  */
7335
 
_ACEOF
7336
 
cat confdefs.h >>conftest.$ac_ext
7337
 
cat >>conftest.$ac_ext <<_ACEOF
7338
 
/* end confdefs.h.  */
7339
 
$ac_includes_default
7340
 
int
7341
 
main ()
7342
 
{
7343
 
static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1))];
7344
 
test_array [0] = 0
7345
 
 
7346
 
  ;
7347
 
  return 0;
7348
 
}
7349
 
_ACEOF
7350
 
rm -f conftest.$ac_objext
7351
 
if { (ac_try="$ac_compile"
7352
 
case "(($ac_try" in
7353
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7354
 
  *) ac_try_echo=$ac_try;;
7355
 
esac
7356
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7357
 
$as_echo "$ac_try_echo") >&5
7358
 
  (eval "$ac_compile") 2>conftest.er1
7359
 
  ac_status=$?
7360
 
  grep -v '^ *+' conftest.er1 >conftest.err
7361
 
  rm -f conftest.er1
7362
 
  cat conftest.err >&5
7363
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364
 
  (exit $ac_status); } && {
7365
 
         test -z "$ac_cxx_werror_flag" ||
7366
 
         test ! -s conftest.err
7367
 
       } && test -s conftest.$ac_objext; then
7368
 
  cat >conftest.$ac_ext <<_ACEOF
7369
 
/* confdefs.h.  */
7370
 
_ACEOF
7371
 
cat confdefs.h >>conftest.$ac_ext
7372
 
cat >>conftest.$ac_ext <<_ACEOF
7373
 
/* end confdefs.h.  */
7374
 
$ac_includes_default
7375
 
int
7376
 
main ()
7377
 
{
7378
 
static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1)
7379
 
                 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 2))];
7380
 
test_array [0] = 0
7381
 
 
7382
 
  ;
7383
 
  return 0;
7384
 
}
7385
 
_ACEOF
7386
 
rm -f conftest.$ac_objext
7387
 
if { (ac_try="$ac_compile"
7388
 
case "(($ac_try" in
7389
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7390
 
  *) ac_try_echo=$ac_try;;
7391
 
esac
7392
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7393
 
$as_echo "$ac_try_echo") >&5
7394
 
  (eval "$ac_compile") 2>conftest.er1
7395
 
  ac_status=$?
7396
 
  grep -v '^ *+' conftest.er1 >conftest.err
7397
 
  rm -f conftest.er1
7398
 
  cat conftest.err >&5
7399
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7400
 
  (exit $ac_status); } && {
7401
 
         test -z "$ac_cxx_werror_flag" ||
7402
 
         test ! -s conftest.err
7403
 
       } && test -s conftest.$ac_objext; then
7404
 
  :
7405
 
else
7406
 
  $as_echo "$as_me: failed program was:" >&5
7407
 
sed 's/^/| /' conftest.$ac_ext >&5
7408
 
 
7409
 
        case $ac_type in
7410
 
  int16_t) ac_cv_c_int16_t=yes ;;
7411
 
  *) ac_cv_c_int16_t=$ac_type ;;
7412
 
esac
7413
 
 
7414
 
fi
7415
 
 
7416
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7417
 
else
7418
 
  $as_echo "$as_me: failed program was:" >&5
7419
 
sed 's/^/| /' conftest.$ac_ext >&5
7420
 
 
7421
 
 
7422
 
fi
7423
 
 
7424
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7425
 
       test "$ac_cv_c_int16_t" != no && break
7426
 
     done
7427
 
fi
7428
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_int16_t" >&5
7429
 
$as_echo "$ac_cv_c_int16_t" >&6; }
7430
 
  case $ac_cv_c_int16_t in #(
 
6965
ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
 
6966
case $ac_cv_c_int16_t in #(
7431
6967
  no|yes) ;; #(
7432
6968
  *)
7433
6969
 
7435
6971
#define int16_t $ac_cv_c_int16_t
7436
6972
_ACEOF
7437
6973
;;
7438
 
  esac
7439
 
 
7440
 
 
7441
 
  { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
7442
 
$as_echo_n "checking for uint16_t... " >&6; }
7443
 
if test "${ac_cv_c_uint16_t+set}" = set; then
7444
 
  $as_echo_n "(cached) " >&6
7445
 
else
7446
 
  ac_cv_c_uint16_t=no
7447
 
     for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
7448
 
         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
7449
 
       cat >conftest.$ac_ext <<_ACEOF
7450
 
/* confdefs.h.  */
7451
 
_ACEOF
7452
 
cat confdefs.h >>conftest.$ac_ext
7453
 
cat >>conftest.$ac_ext <<_ACEOF
7454
 
/* end confdefs.h.  */
7455
 
$ac_includes_default
7456
 
int
7457
 
main ()
7458
 
{
7459
 
static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
7460
 
test_array [0] = 0
7461
 
 
7462
 
  ;
7463
 
  return 0;
7464
 
}
7465
 
_ACEOF
7466
 
rm -f conftest.$ac_objext
7467
 
if { (ac_try="$ac_compile"
7468
 
case "(($ac_try" in
7469
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7470
 
  *) ac_try_echo=$ac_try;;
7471
 
esac
7472
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7473
 
$as_echo "$ac_try_echo") >&5
7474
 
  (eval "$ac_compile") 2>conftest.er1
7475
 
  ac_status=$?
7476
 
  grep -v '^ *+' conftest.er1 >conftest.err
7477
 
  rm -f conftest.er1
7478
 
  cat conftest.err >&5
7479
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480
 
  (exit $ac_status); } && {
7481
 
         test -z "$ac_cxx_werror_flag" ||
7482
 
         test ! -s conftest.err
7483
 
       } && test -s conftest.$ac_objext; then
7484
 
  case $ac_type in
7485
 
  uint16_t) ac_cv_c_uint16_t=yes ;;
7486
 
  *) ac_cv_c_uint16_t=$ac_type ;;
7487
 
esac
7488
 
 
7489
 
else
7490
 
  $as_echo "$as_me: failed program was:" >&5
7491
 
sed 's/^/| /' conftest.$ac_ext >&5
7492
 
 
7493
 
 
7494
 
fi
7495
 
 
7496
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7497
 
       test "$ac_cv_c_uint16_t" != no && break
7498
 
     done
7499
 
fi
7500
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
7501
 
$as_echo "$ac_cv_c_uint16_t" >&6; }
7502
 
  case $ac_cv_c_uint16_t in #(
 
6974
esac
 
6975
 
 
6976
ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
 
6977
case $ac_cv_c_uint16_t in #(
7503
6978
  no|yes) ;; #(
7504
6979
  *)
7505
6980
 
7510
6985
;;
7511
6986
  esac
7512
6987
 
7513
 
 
7514
 
  { $as_echo "$as_me:$LINENO: checking for int32_t" >&5
7515
 
$as_echo_n "checking for int32_t... " >&6; }
7516
 
if test "${ac_cv_c_int32_t+set}" = set; then
7517
 
  $as_echo_n "(cached) " >&6
7518
 
else
7519
 
  ac_cv_c_int32_t=no
7520
 
     for ac_type in 'int32_t' 'int' 'long int' \
7521
 
         'long long int' 'short int' 'signed char'; do
7522
 
       cat >conftest.$ac_ext <<_ACEOF
7523
 
/* confdefs.h.  */
7524
 
_ACEOF
7525
 
cat confdefs.h >>conftest.$ac_ext
7526
 
cat >>conftest.$ac_ext <<_ACEOF
7527
 
/* end confdefs.h.  */
7528
 
$ac_includes_default
7529
 
int
7530
 
main ()
7531
 
{
7532
 
static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1))];
7533
 
test_array [0] = 0
7534
 
 
7535
 
  ;
7536
 
  return 0;
7537
 
}
7538
 
_ACEOF
7539
 
rm -f conftest.$ac_objext
7540
 
if { (ac_try="$ac_compile"
7541
 
case "(($ac_try" in
7542
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7543
 
  *) ac_try_echo=$ac_try;;
7544
 
esac
7545
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7546
 
$as_echo "$ac_try_echo") >&5
7547
 
  (eval "$ac_compile") 2>conftest.er1
7548
 
  ac_status=$?
7549
 
  grep -v '^ *+' conftest.er1 >conftest.err
7550
 
  rm -f conftest.er1
7551
 
  cat conftest.err >&5
7552
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553
 
  (exit $ac_status); } && {
7554
 
         test -z "$ac_cxx_werror_flag" ||
7555
 
         test ! -s conftest.err
7556
 
       } && test -s conftest.$ac_objext; then
7557
 
  cat >conftest.$ac_ext <<_ACEOF
7558
 
/* confdefs.h.  */
7559
 
_ACEOF
7560
 
cat confdefs.h >>conftest.$ac_ext
7561
 
cat >>conftest.$ac_ext <<_ACEOF
7562
 
/* end confdefs.h.  */
7563
 
$ac_includes_default
7564
 
int
7565
 
main ()
7566
 
{
7567
 
static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1)
7568
 
                 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 2))];
7569
 
test_array [0] = 0
7570
 
 
7571
 
  ;
7572
 
  return 0;
7573
 
}
7574
 
_ACEOF
7575
 
rm -f conftest.$ac_objext
7576
 
if { (ac_try="$ac_compile"
7577
 
case "(($ac_try" in
7578
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7579
 
  *) ac_try_echo=$ac_try;;
7580
 
esac
7581
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7582
 
$as_echo "$ac_try_echo") >&5
7583
 
  (eval "$ac_compile") 2>conftest.er1
7584
 
  ac_status=$?
7585
 
  grep -v '^ *+' conftest.er1 >conftest.err
7586
 
  rm -f conftest.er1
7587
 
  cat conftest.err >&5
7588
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7589
 
  (exit $ac_status); } && {
7590
 
         test -z "$ac_cxx_werror_flag" ||
7591
 
         test ! -s conftest.err
7592
 
       } && test -s conftest.$ac_objext; then
7593
 
  :
7594
 
else
7595
 
  $as_echo "$as_me: failed program was:" >&5
7596
 
sed 's/^/| /' conftest.$ac_ext >&5
7597
 
 
7598
 
        case $ac_type in
7599
 
  int32_t) ac_cv_c_int32_t=yes ;;
7600
 
  *) ac_cv_c_int32_t=$ac_type ;;
7601
 
esac
7602
 
 
7603
 
fi
7604
 
 
7605
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7606
 
else
7607
 
  $as_echo "$as_me: failed program was:" >&5
7608
 
sed 's/^/| /' conftest.$ac_ext >&5
7609
 
 
7610
 
 
7611
 
fi
7612
 
 
7613
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7614
 
       test "$ac_cv_c_int32_t" != no && break
7615
 
     done
7616
 
fi
7617
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_int32_t" >&5
7618
 
$as_echo "$ac_cv_c_int32_t" >&6; }
7619
 
  case $ac_cv_c_int32_t in #(
 
6988
ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
 
6989
case $ac_cv_c_int32_t in #(
7620
6990
  no|yes) ;; #(
7621
6991
  *)
7622
6992
 
7624
6994
#define int32_t $ac_cv_c_int32_t
7625
6995
_ACEOF
7626
6996
;;
7627
 
  esac
7628
 
 
7629
 
 
7630
 
  { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
7631
 
$as_echo_n "checking for uint32_t... " >&6; }
7632
 
if test "${ac_cv_c_uint32_t+set}" = set; then
7633
 
  $as_echo_n "(cached) " >&6
7634
 
else
7635
 
  ac_cv_c_uint32_t=no
7636
 
     for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \
7637
 
         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
7638
 
       cat >conftest.$ac_ext <<_ACEOF
7639
 
/* confdefs.h.  */
7640
 
_ACEOF
7641
 
cat confdefs.h >>conftest.$ac_ext
7642
 
cat >>conftest.$ac_ext <<_ACEOF
7643
 
/* end confdefs.h.  */
7644
 
$ac_includes_default
7645
 
int
7646
 
main ()
7647
 
{
7648
 
static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
7649
 
test_array [0] = 0
7650
 
 
7651
 
  ;
7652
 
  return 0;
7653
 
}
7654
 
_ACEOF
7655
 
rm -f conftest.$ac_objext
7656
 
if { (ac_try="$ac_compile"
7657
 
case "(($ac_try" in
7658
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7659
 
  *) ac_try_echo=$ac_try;;
7660
 
esac
7661
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7662
 
$as_echo "$ac_try_echo") >&5
7663
 
  (eval "$ac_compile") 2>conftest.er1
7664
 
  ac_status=$?
7665
 
  grep -v '^ *+' conftest.er1 >conftest.err
7666
 
  rm -f conftest.er1
7667
 
  cat conftest.err >&5
7668
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669
 
  (exit $ac_status); } && {
7670
 
         test -z "$ac_cxx_werror_flag" ||
7671
 
         test ! -s conftest.err
7672
 
       } && test -s conftest.$ac_objext; then
7673
 
  case $ac_type in
7674
 
  uint32_t) ac_cv_c_uint32_t=yes ;;
7675
 
  *) ac_cv_c_uint32_t=$ac_type ;;
7676
 
esac
7677
 
 
7678
 
else
7679
 
  $as_echo "$as_me: failed program was:" >&5
7680
 
sed 's/^/| /' conftest.$ac_ext >&5
7681
 
 
7682
 
 
7683
 
fi
7684
 
 
7685
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7686
 
       test "$ac_cv_c_uint32_t" != no && break
7687
 
     done
7688
 
fi
7689
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
7690
 
$as_echo "$ac_cv_c_uint32_t" >&6; }
7691
 
  case $ac_cv_c_uint32_t in #(
 
6997
esac
 
6998
 
 
6999
ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
 
7000
case $ac_cv_c_uint32_t in #(
7692
7001
  no|yes) ;; #(
7693
7002
  *)
7694
7003
 
7695
 
cat >>confdefs.h <<\_ACEOF
7696
 
#define _UINT32_T 1
7697
 
_ACEOF
 
7004
$as_echo "#define _UINT32_T 1" >>confdefs.h
7698
7005
 
7699
7006
 
7700
7007
cat >>confdefs.h <<_ACEOF
7703
7010
;;
7704
7011
  esac
7705
7012
 
7706
 
 
7707
 
  { $as_echo "$as_me:$LINENO: checking for int64_t" >&5
7708
 
$as_echo_n "checking for int64_t... " >&6; }
7709
 
if test "${ac_cv_c_int64_t+set}" = set; then
7710
 
  $as_echo_n "(cached) " >&6
7711
 
else
7712
 
  ac_cv_c_int64_t=no
7713
 
     for ac_type in 'int64_t' 'int' 'long int' \
7714
 
         'long long int' 'short int' 'signed char'; do
7715
 
       cat >conftest.$ac_ext <<_ACEOF
7716
 
/* confdefs.h.  */
7717
 
_ACEOF
7718
 
cat confdefs.h >>conftest.$ac_ext
7719
 
cat >>conftest.$ac_ext <<_ACEOF
7720
 
/* end confdefs.h.  */
7721
 
$ac_includes_default
7722
 
int
7723
 
main ()
7724
 
{
7725
 
static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 1))];
7726
 
test_array [0] = 0
7727
 
 
7728
 
  ;
7729
 
  return 0;
7730
 
}
7731
 
_ACEOF
7732
 
rm -f conftest.$ac_objext
7733
 
if { (ac_try="$ac_compile"
7734
 
case "(($ac_try" in
7735
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7736
 
  *) ac_try_echo=$ac_try;;
7737
 
esac
7738
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7739
 
$as_echo "$ac_try_echo") >&5
7740
 
  (eval "$ac_compile") 2>conftest.er1
7741
 
  ac_status=$?
7742
 
  grep -v '^ *+' conftest.er1 >conftest.err
7743
 
  rm -f conftest.er1
7744
 
  cat conftest.err >&5
7745
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7746
 
  (exit $ac_status); } && {
7747
 
         test -z "$ac_cxx_werror_flag" ||
7748
 
         test ! -s conftest.err
7749
 
       } && test -s conftest.$ac_objext; then
7750
 
  cat >conftest.$ac_ext <<_ACEOF
7751
 
/* confdefs.h.  */
7752
 
_ACEOF
7753
 
cat confdefs.h >>conftest.$ac_ext
7754
 
cat >>conftest.$ac_ext <<_ACEOF
7755
 
/* end confdefs.h.  */
7756
 
$ac_includes_default
7757
 
int
7758
 
main ()
7759
 
{
7760
 
static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 1)
7761
 
                 < ($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 2))];
7762
 
test_array [0] = 0
7763
 
 
7764
 
  ;
7765
 
  return 0;
7766
 
}
7767
 
_ACEOF
7768
 
rm -f conftest.$ac_objext
7769
 
if { (ac_try="$ac_compile"
7770
 
case "(($ac_try" in
7771
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7772
 
  *) ac_try_echo=$ac_try;;
7773
 
esac
7774
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7775
 
$as_echo "$ac_try_echo") >&5
7776
 
  (eval "$ac_compile") 2>conftest.er1
7777
 
  ac_status=$?
7778
 
  grep -v '^ *+' conftest.er1 >conftest.err
7779
 
  rm -f conftest.er1
7780
 
  cat conftest.err >&5
7781
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7782
 
  (exit $ac_status); } && {
7783
 
         test -z "$ac_cxx_werror_flag" ||
7784
 
         test ! -s conftest.err
7785
 
       } && test -s conftest.$ac_objext; then
7786
 
  :
7787
 
else
7788
 
  $as_echo "$as_me: failed program was:" >&5
7789
 
sed 's/^/| /' conftest.$ac_ext >&5
7790
 
 
7791
 
        case $ac_type in
7792
 
  int64_t) ac_cv_c_int64_t=yes ;;
7793
 
  *) ac_cv_c_int64_t=$ac_type ;;
7794
 
esac
7795
 
 
7796
 
fi
7797
 
 
7798
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7799
 
else
7800
 
  $as_echo "$as_me: failed program was:" >&5
7801
 
sed 's/^/| /' conftest.$ac_ext >&5
7802
 
 
7803
 
 
7804
 
fi
7805
 
 
7806
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7807
 
       test "$ac_cv_c_int64_t" != no && break
7808
 
     done
7809
 
fi
7810
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_int64_t" >&5
7811
 
$as_echo "$ac_cv_c_int64_t" >&6; }
7812
 
  case $ac_cv_c_int64_t in #(
 
7013
ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
 
7014
case $ac_cv_c_int64_t in #(
7813
7015
  no|yes) ;; #(
7814
7016
  *)
7815
7017
 
7817
7019
#define int64_t $ac_cv_c_int64_t
7818
7020
_ACEOF
7819
7021
;;
7820
 
  esac
7821
 
 
7822
 
 
7823
 
  { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
7824
 
$as_echo_n "checking for uint64_t... " >&6; }
7825
 
if test "${ac_cv_c_uint64_t+set}" = set; then
7826
 
  $as_echo_n "(cached) " >&6
7827
 
else
7828
 
  ac_cv_c_uint64_t=no
7829
 
     for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \
7830
 
         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
7831
 
       cat >conftest.$ac_ext <<_ACEOF
7832
 
/* confdefs.h.  */
7833
 
_ACEOF
7834
 
cat confdefs.h >>conftest.$ac_ext
7835
 
cat >>conftest.$ac_ext <<_ACEOF
7836
 
/* end confdefs.h.  */
7837
 
$ac_includes_default
7838
 
int
7839
 
main ()
7840
 
{
7841
 
static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)];
7842
 
test_array [0] = 0
7843
 
 
7844
 
  ;
7845
 
  return 0;
7846
 
}
7847
 
_ACEOF
7848
 
rm -f conftest.$ac_objext
7849
 
if { (ac_try="$ac_compile"
7850
 
case "(($ac_try" in
7851
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7852
 
  *) ac_try_echo=$ac_try;;
7853
 
esac
7854
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7855
 
$as_echo "$ac_try_echo") >&5
7856
 
  (eval "$ac_compile") 2>conftest.er1
7857
 
  ac_status=$?
7858
 
  grep -v '^ *+' conftest.er1 >conftest.err
7859
 
  rm -f conftest.er1
7860
 
  cat conftest.err >&5
7861
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7862
 
  (exit $ac_status); } && {
7863
 
         test -z "$ac_cxx_werror_flag" ||
7864
 
         test ! -s conftest.err
7865
 
       } && test -s conftest.$ac_objext; then
7866
 
  case $ac_type in
7867
 
  uint64_t) ac_cv_c_uint64_t=yes ;;
7868
 
  *) ac_cv_c_uint64_t=$ac_type ;;
7869
 
esac
7870
 
 
7871
 
else
7872
 
  $as_echo "$as_me: failed program was:" >&5
7873
 
sed 's/^/| /' conftest.$ac_ext >&5
7874
 
 
7875
 
 
7876
 
fi
7877
 
 
7878
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7879
 
       test "$ac_cv_c_uint64_t" != no && break
7880
 
     done
7881
 
fi
7882
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5
7883
 
$as_echo "$ac_cv_c_uint64_t" >&6; }
7884
 
  case $ac_cv_c_uint64_t in #(
 
7022
esac
 
7023
 
 
7024
ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
 
7025
case $ac_cv_c_uint64_t in #(
7885
7026
  no|yes) ;; #(
7886
7027
  *)
7887
7028
 
7888
 
cat >>confdefs.h <<\_ACEOF
7889
 
#define _UINT64_T 1
7890
 
_ACEOF
 
7029
$as_echo "#define _UINT64_T 1" >>confdefs.h
7891
7030
 
7892
7031
 
7893
7032
cat >>confdefs.h <<_ACEOF
7897
7036
  esac
7898
7037
 
7899
7038
 
7900
 
  { $as_echo "$as_me:$LINENO: checking for long long int" >&5
 
7039
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
7901
7040
$as_echo_n "checking for long long int... " >&6; }
7902
 
if test "${ac_cv_type_long_long_int+set}" = set; then
 
7041
if test "${ac_cv_type_long_long_int+set}" = set; then :
7903
7042
  $as_echo_n "(cached) " >&6
7904
7043
else
7905
 
  cat >conftest.$ac_ext <<_ACEOF
 
7044
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7045
/* end confdefs.h.  */
7906
7046
 
7907
 
  /* confdefs.h.  */
7908
 
_ACEOF
7909
 
cat confdefs.h >>conftest.$ac_ext
7910
 
cat >>conftest.$ac_ext <<_ACEOF
7911
 
/* end confdefs.h.  */
7912
 
/* Test preprocessor.  */
 
7047
  /* Test preprocessor.  */
7913
7048
      #if ! (-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
7914
7049
        error in preprocessor;
7915
7050
      #endif
7941
7076
}
7942
7077
 
7943
7078
_ACEOF
7944
 
rm -f conftest.$ac_objext conftest$ac_exeext
7945
 
if { (ac_try="$ac_link"
7946
 
case "(($ac_try" in
7947
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7948
 
  *) ac_try_echo=$ac_try;;
7949
 
esac
7950
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7951
 
$as_echo "$ac_try_echo") >&5
7952
 
  (eval "$ac_link") 2>conftest.er1
7953
 
  ac_status=$?
7954
 
  grep -v '^ *+' conftest.er1 >conftest.err
7955
 
  rm -f conftest.er1
7956
 
  cat conftest.err >&5
7957
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7958
 
  (exit $ac_status); } && {
7959
 
         test -z "$ac_cxx_werror_flag" ||
7960
 
         test ! -s conftest.err
7961
 
       } && test -s conftest$ac_exeext && {
7962
 
         test "$cross_compiling" = yes ||
7963
 
         $as_test_x conftest$ac_exeext
7964
 
       }; then
7965
 
                        if test "$cross_compiling" = yes; then
 
7079
if ac_fn_cxx_try_link "$LINENO"; then :
 
7080
                        if test "$cross_compiling" = yes; then :
7966
7081
  ac_cv_type_long_long_int=yes
7967
7082
else
7968
 
  cat >conftest.$ac_ext <<_ACEOF
7969
 
/* confdefs.h.  */
7970
 
_ACEOF
7971
 
cat confdefs.h >>conftest.$ac_ext
7972
 
cat >>conftest.$ac_ext <<_ACEOF
 
7083
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7973
7084
/* end confdefs.h.  */
7974
7085
#include <limits.h>
7975
7086
               #ifndef LLONG_MAX
7995
7106
  return 0;
7996
7107
}
7997
7108
_ACEOF
7998
 
rm -f conftest$ac_exeext
7999
 
if { (ac_try="$ac_link"
8000
 
case "(($ac_try" in
8001
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8002
 
  *) ac_try_echo=$ac_try;;
8003
 
esac
8004
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8005
 
$as_echo "$ac_try_echo") >&5
8006
 
  (eval "$ac_link") 2>&5
8007
 
  ac_status=$?
8008
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8009
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8010
 
  { (case "(($ac_try" in
8011
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8012
 
  *) ac_try_echo=$ac_try;;
8013
 
esac
8014
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8015
 
$as_echo "$ac_try_echo") >&5
8016
 
  (eval "$ac_try") 2>&5
8017
 
  ac_status=$?
8018
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8019
 
  (exit $ac_status); }; }; then
 
7109
if ac_fn_cxx_try_run "$LINENO"; then :
8020
7110
  ac_cv_type_long_long_int=yes
8021
7111
else
8022
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
8023
 
$as_echo "$as_me: failed program was:" >&5
8024
 
sed 's/^/| /' conftest.$ac_ext >&5
8025
 
 
8026
 
( exit $ac_status )
8027
 
ac_cv_type_long_long_int=no
8028
 
fi
8029
 
rm -rf conftest.dSYM
8030
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8031
 
fi
8032
 
 
 
7112
  ac_cv_type_long_long_int=no
 
7113
fi
 
7114
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
7115
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
7116
fi
8033
7117
 
8034
7118
else
8035
 
  $as_echo "$as_me: failed program was:" >&5
8036
 
sed 's/^/| /' conftest.$ac_ext >&5
8037
 
 
8038
 
        ac_cv_type_long_long_int=no
8039
 
fi
8040
 
 
8041
 
rm -rf conftest.dSYM
8042
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8043
 
      conftest$ac_exeext conftest.$ac_ext
8044
 
fi
8045
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
 
7119
  ac_cv_type_long_long_int=no
 
7120
fi
 
7121
rm -f core conftest.err conftest.$ac_objext \
 
7122
    conftest$ac_exeext conftest.$ac_ext
 
7123
fi
 
7124
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
8046
7125
$as_echo "$ac_cv_type_long_long_int" >&6; }
8047
7126
  if test $ac_cv_type_long_long_int = yes; then
8048
7127
 
8049
 
cat >>confdefs.h <<\_ACEOF
8050
 
#define HAVE_LONG_LONG_INT 1
8051
 
_ACEOF
 
7128
$as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
8052
7129
 
8053
7130
  fi
8054
7131
 
8055
7132
 
8056
7133
 
8057
 
  { $as_echo "$as_me:$LINENO: checking for intmax_t" >&5
8058
 
$as_echo_n "checking for intmax_t... " >&6; }
8059
 
if test "${ac_cv_type_intmax_t+set}" = set; then
8060
 
  $as_echo_n "(cached) " >&6
8061
 
else
8062
 
  ac_cv_type_intmax_t=no
8063
 
cat >conftest.$ac_ext <<_ACEOF
8064
 
/* confdefs.h.  */
8065
 
_ACEOF
8066
 
cat confdefs.h >>conftest.$ac_ext
8067
 
cat >>conftest.$ac_ext <<_ACEOF
8068
 
/* end confdefs.h.  */
8069
 
$ac_includes_default
8070
 
int
8071
 
main ()
8072
 
{
8073
 
if (sizeof (intmax_t))
8074
 
       return 0;
8075
 
  ;
8076
 
  return 0;
8077
 
}
8078
 
_ACEOF
8079
 
rm -f conftest.$ac_objext
8080
 
if { (ac_try="$ac_compile"
8081
 
case "(($ac_try" in
8082
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8083
 
  *) ac_try_echo=$ac_try;;
8084
 
esac
8085
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8086
 
$as_echo "$ac_try_echo") >&5
8087
 
  (eval "$ac_compile") 2>conftest.er1
8088
 
  ac_status=$?
8089
 
  grep -v '^ *+' conftest.er1 >conftest.err
8090
 
  rm -f conftest.er1
8091
 
  cat conftest.err >&5
8092
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8093
 
  (exit $ac_status); } && {
8094
 
         test -z "$ac_cxx_werror_flag" ||
8095
 
         test ! -s conftest.err
8096
 
       } && test -s conftest.$ac_objext; then
8097
 
  cat >conftest.$ac_ext <<_ACEOF
8098
 
/* confdefs.h.  */
8099
 
_ACEOF
8100
 
cat confdefs.h >>conftest.$ac_ext
8101
 
cat >>conftest.$ac_ext <<_ACEOF
8102
 
/* end confdefs.h.  */
8103
 
$ac_includes_default
8104
 
int
8105
 
main ()
8106
 
{
8107
 
if (sizeof ((intmax_t)))
8108
 
          return 0;
8109
 
  ;
8110
 
  return 0;
8111
 
}
8112
 
_ACEOF
8113
 
rm -f conftest.$ac_objext
8114
 
if { (ac_try="$ac_compile"
8115
 
case "(($ac_try" in
8116
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8117
 
  *) ac_try_echo=$ac_try;;
8118
 
esac
8119
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8120
 
$as_echo "$ac_try_echo") >&5
8121
 
  (eval "$ac_compile") 2>conftest.er1
8122
 
  ac_status=$?
8123
 
  grep -v '^ *+' conftest.er1 >conftest.err
8124
 
  rm -f conftest.er1
8125
 
  cat conftest.err >&5
8126
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127
 
  (exit $ac_status); } && {
8128
 
         test -z "$ac_cxx_werror_flag" ||
8129
 
         test ! -s conftest.err
8130
 
       } && test -s conftest.$ac_objext; then
8131
 
  :
8132
 
else
8133
 
  $as_echo "$as_me: failed program was:" >&5
8134
 
sed 's/^/| /' conftest.$ac_ext >&5
8135
 
 
8136
 
        ac_cv_type_intmax_t=yes
8137
 
fi
8138
 
 
8139
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8140
 
else
8141
 
  $as_echo "$as_me: failed program was:" >&5
8142
 
sed 's/^/| /' conftest.$ac_ext >&5
8143
 
 
8144
 
 
8145
 
fi
8146
 
 
8147
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8148
 
fi
8149
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
8150
 
$as_echo "$ac_cv_type_intmax_t" >&6; }
8151
 
if test "x$ac_cv_type_intmax_t" = x""yes; then
8152
 
 
8153
 
cat >>confdefs.h <<\_ACEOF
8154
 
#define HAVE_INTMAX_T 1
8155
 
_ACEOF
 
7134
  ac_fn_cxx_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "$ac_includes_default"
 
7135
if test "x$ac_cv_type_intmax_t" = x""yes; then :
 
7136
 
 
7137
$as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h
8156
7138
 
8157
7139
else
8158
7140
  test $ac_cv_type_long_long_int = yes \
8167
7149
 
8168
7150
 
8169
7151
 
8170
 
  { $as_echo "$as_me:$LINENO: checking for unsigned long long int" >&5
 
7152
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
8171
7153
$as_echo_n "checking for unsigned long long int... " >&6; }
8172
 
if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then
 
7154
if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then :
8173
7155
  $as_echo_n "(cached) " >&6
8174
7156
else
8175
 
  cat >conftest.$ac_ext <<_ACEOF
 
7157
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7158
/* end confdefs.h.  */
8176
7159
 
8177
 
  /* confdefs.h.  */
8178
 
_ACEOF
8179
 
cat confdefs.h >>conftest.$ac_ext
8180
 
cat >>conftest.$ac_ext <<_ACEOF
8181
 
/* end confdefs.h.  */
8182
 
/* Test preprocessor.  */
 
7160
  /* Test preprocessor.  */
8183
7161
      #if ! (-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
8184
7162
        error in preprocessor;
8185
7163
      #endif
8211
7189
}
8212
7190
 
8213
7191
_ACEOF
8214
 
rm -f conftest.$ac_objext conftest$ac_exeext
8215
 
if { (ac_try="$ac_link"
8216
 
case "(($ac_try" in
8217
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8218
 
  *) ac_try_echo=$ac_try;;
8219
 
esac
8220
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8221
 
$as_echo "$ac_try_echo") >&5
8222
 
  (eval "$ac_link") 2>conftest.er1
8223
 
  ac_status=$?
8224
 
  grep -v '^ *+' conftest.er1 >conftest.err
8225
 
  rm -f conftest.er1
8226
 
  cat conftest.err >&5
8227
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228
 
  (exit $ac_status); } && {
8229
 
         test -z "$ac_cxx_werror_flag" ||
8230
 
         test ! -s conftest.err
8231
 
       } && test -s conftest$ac_exeext && {
8232
 
         test "$cross_compiling" = yes ||
8233
 
         $as_test_x conftest$ac_exeext
8234
 
       }; then
 
7192
if ac_fn_cxx_try_link "$LINENO"; then :
8235
7193
  ac_cv_type_unsigned_long_long_int=yes
8236
7194
else
8237
 
  $as_echo "$as_me: failed program was:" >&5
8238
 
sed 's/^/| /' conftest.$ac_ext >&5
8239
 
 
8240
 
        ac_cv_type_unsigned_long_long_int=no
8241
 
fi
8242
 
 
8243
 
rm -rf conftest.dSYM
8244
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8245
 
      conftest$ac_exeext conftest.$ac_ext
8246
 
fi
8247
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long_int" >&5
 
7195
  ac_cv_type_unsigned_long_long_int=no
 
7196
fi
 
7197
rm -f core conftest.err conftest.$ac_objext \
 
7198
    conftest$ac_exeext conftest.$ac_ext
 
7199
fi
 
7200
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
8248
7201
$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
8249
7202
  if test $ac_cv_type_unsigned_long_long_int = yes; then
8250
7203
 
8251
 
cat >>confdefs.h <<\_ACEOF
8252
 
#define HAVE_UNSIGNED_LONG_LONG_INT 1
8253
 
_ACEOF
 
7204
$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
8254
7205
 
8255
7206
  fi
8256
7207
 
8257
7208
 
8258
7209
 
8259
 
  { $as_echo "$as_me:$LINENO: checking for uintmax_t" >&5
8260
 
$as_echo_n "checking for uintmax_t... " >&6; }
8261
 
if test "${ac_cv_type_uintmax_t+set}" = set; then
8262
 
  $as_echo_n "(cached) " >&6
8263
 
else
8264
 
  ac_cv_type_uintmax_t=no
8265
 
cat >conftest.$ac_ext <<_ACEOF
8266
 
/* confdefs.h.  */
8267
 
_ACEOF
8268
 
cat confdefs.h >>conftest.$ac_ext
8269
 
cat >>conftest.$ac_ext <<_ACEOF
8270
 
/* end confdefs.h.  */
8271
 
$ac_includes_default
8272
 
int
8273
 
main ()
8274
 
{
8275
 
if (sizeof (uintmax_t))
8276
 
       return 0;
8277
 
  ;
8278
 
  return 0;
8279
 
}
8280
 
_ACEOF
8281
 
rm -f conftest.$ac_objext
8282
 
if { (ac_try="$ac_compile"
8283
 
case "(($ac_try" in
8284
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8285
 
  *) ac_try_echo=$ac_try;;
8286
 
esac
8287
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8288
 
$as_echo "$ac_try_echo") >&5
8289
 
  (eval "$ac_compile") 2>conftest.er1
8290
 
  ac_status=$?
8291
 
  grep -v '^ *+' conftest.er1 >conftest.err
8292
 
  rm -f conftest.er1
8293
 
  cat conftest.err >&5
8294
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8295
 
  (exit $ac_status); } && {
8296
 
         test -z "$ac_cxx_werror_flag" ||
8297
 
         test ! -s conftest.err
8298
 
       } && test -s conftest.$ac_objext; then
8299
 
  cat >conftest.$ac_ext <<_ACEOF
8300
 
/* confdefs.h.  */
8301
 
_ACEOF
8302
 
cat confdefs.h >>conftest.$ac_ext
8303
 
cat >>conftest.$ac_ext <<_ACEOF
8304
 
/* end confdefs.h.  */
8305
 
$ac_includes_default
8306
 
int
8307
 
main ()
8308
 
{
8309
 
if (sizeof ((uintmax_t)))
8310
 
          return 0;
8311
 
  ;
8312
 
  return 0;
8313
 
}
8314
 
_ACEOF
8315
 
rm -f conftest.$ac_objext
8316
 
if { (ac_try="$ac_compile"
8317
 
case "(($ac_try" in
8318
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8319
 
  *) ac_try_echo=$ac_try;;
8320
 
esac
8321
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8322
 
$as_echo "$ac_try_echo") >&5
8323
 
  (eval "$ac_compile") 2>conftest.er1
8324
 
  ac_status=$?
8325
 
  grep -v '^ *+' conftest.er1 >conftest.err
8326
 
  rm -f conftest.er1
8327
 
  cat conftest.err >&5
8328
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8329
 
  (exit $ac_status); } && {
8330
 
         test -z "$ac_cxx_werror_flag" ||
8331
 
         test ! -s conftest.err
8332
 
       } && test -s conftest.$ac_objext; then
8333
 
  :
8334
 
else
8335
 
  $as_echo "$as_me: failed program was:" >&5
8336
 
sed 's/^/| /' conftest.$ac_ext >&5
8337
 
 
8338
 
        ac_cv_type_uintmax_t=yes
8339
 
fi
8340
 
 
8341
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8342
 
else
8343
 
  $as_echo "$as_me: failed program was:" >&5
8344
 
sed 's/^/| /' conftest.$ac_ext >&5
8345
 
 
8346
 
 
8347
 
fi
8348
 
 
8349
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8350
 
fi
8351
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
8352
 
$as_echo "$ac_cv_type_uintmax_t" >&6; }
8353
 
if test "x$ac_cv_type_uintmax_t" = x""yes; then
8354
 
 
8355
 
cat >>confdefs.h <<\_ACEOF
8356
 
#define HAVE_UINTMAX_T 1
8357
 
_ACEOF
 
7210
  ac_fn_cxx_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "$ac_includes_default"
 
7211
if test "x$ac_cv_type_uintmax_t" = x""yes; then :
 
7212
 
 
7213
$as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
8358
7214
 
8359
7215
else
8360
7216
  test $ac_cv_type_unsigned_long_long_int = yes \
8370
7226
 
8371
7227
 
8372
7228
 
8373
 
  { $as_echo "$as_me:$LINENO: checking for long long int" >&5
 
7229
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
8374
7230
$as_echo_n "checking for long long int... " >&6; }
8375
 
if test "${ac_cv_type_long_long_int+set}" = set; then
 
7231
if test "${ac_cv_type_long_long_int+set}" = set; then :
8376
7232
  $as_echo_n "(cached) " >&6
8377
7233
else
8378
 
  cat >conftest.$ac_ext <<_ACEOF
 
7234
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7235
/* end confdefs.h.  */
8379
7236
 
8380
 
  /* confdefs.h.  */
8381
 
_ACEOF
8382
 
cat confdefs.h >>conftest.$ac_ext
8383
 
cat >>conftest.$ac_ext <<_ACEOF
8384
 
/* end confdefs.h.  */
8385
 
/* Test preprocessor.  */
 
7237
  /* Test preprocessor.  */
8386
7238
      #if ! (-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
8387
7239
        error in preprocessor;
8388
7240
      #endif
8414
7266
}
8415
7267
 
8416
7268
_ACEOF
8417
 
rm -f conftest.$ac_objext conftest$ac_exeext
8418
 
if { (ac_try="$ac_link"
8419
 
case "(($ac_try" in
8420
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8421
 
  *) ac_try_echo=$ac_try;;
8422
 
esac
8423
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8424
 
$as_echo "$ac_try_echo") >&5
8425
 
  (eval "$ac_link") 2>conftest.er1
8426
 
  ac_status=$?
8427
 
  grep -v '^ *+' conftest.er1 >conftest.err
8428
 
  rm -f conftest.er1
8429
 
  cat conftest.err >&5
8430
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8431
 
  (exit $ac_status); } && {
8432
 
         test -z "$ac_cxx_werror_flag" ||
8433
 
         test ! -s conftest.err
8434
 
       } && test -s conftest$ac_exeext && {
8435
 
         test "$cross_compiling" = yes ||
8436
 
         $as_test_x conftest$ac_exeext
8437
 
       }; then
8438
 
                        if test "$cross_compiling" = yes; then
 
7269
if ac_fn_cxx_try_link "$LINENO"; then :
 
7270
                        if test "$cross_compiling" = yes; then :
8439
7271
  ac_cv_type_long_long_int=yes
8440
7272
else
8441
 
  cat >conftest.$ac_ext <<_ACEOF
8442
 
/* confdefs.h.  */
8443
 
_ACEOF
8444
 
cat confdefs.h >>conftest.$ac_ext
8445
 
cat >>conftest.$ac_ext <<_ACEOF
 
7273
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8446
7274
/* end confdefs.h.  */
8447
7275
#include <limits.h>
8448
7276
               #ifndef LLONG_MAX
8468
7296
  return 0;
8469
7297
}
8470
7298
_ACEOF
8471
 
rm -f conftest$ac_exeext
8472
 
if { (ac_try="$ac_link"
8473
 
case "(($ac_try" in
8474
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8475
 
  *) ac_try_echo=$ac_try;;
8476
 
esac
8477
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8478
 
$as_echo "$ac_try_echo") >&5
8479
 
  (eval "$ac_link") 2>&5
8480
 
  ac_status=$?
8481
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8482
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8483
 
  { (case "(($ac_try" in
8484
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8485
 
  *) ac_try_echo=$ac_try;;
8486
 
esac
8487
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8488
 
$as_echo "$ac_try_echo") >&5
8489
 
  (eval "$ac_try") 2>&5
8490
 
  ac_status=$?
8491
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8492
 
  (exit $ac_status); }; }; then
 
7299
if ac_fn_cxx_try_run "$LINENO"; then :
8493
7300
  ac_cv_type_long_long_int=yes
8494
7301
else
8495
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
8496
 
$as_echo "$as_me: failed program was:" >&5
8497
 
sed 's/^/| /' conftest.$ac_ext >&5
8498
 
 
8499
 
( exit $ac_status )
8500
 
ac_cv_type_long_long_int=no
8501
 
fi
8502
 
rm -rf conftest.dSYM
8503
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8504
 
fi
8505
 
 
 
7302
  ac_cv_type_long_long_int=no
 
7303
fi
 
7304
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
7305
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
7306
fi
8506
7307
 
8507
7308
else
8508
 
  $as_echo "$as_me: failed program was:" >&5
8509
 
sed 's/^/| /' conftest.$ac_ext >&5
8510
 
 
8511
 
        ac_cv_type_long_long_int=no
8512
 
fi
8513
 
 
8514
 
rm -rf conftest.dSYM
8515
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8516
 
      conftest$ac_exeext conftest.$ac_ext
8517
 
fi
8518
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
 
7309
  ac_cv_type_long_long_int=no
 
7310
fi
 
7311
rm -f core conftest.err conftest.$ac_objext \
 
7312
    conftest$ac_exeext conftest.$ac_ext
 
7313
fi
 
7314
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
8519
7315
$as_echo "$ac_cv_type_long_long_int" >&6; }
8520
7316
  if test $ac_cv_type_long_long_int = yes; then
8521
7317
 
8522
 
cat >>confdefs.h <<\_ACEOF
8523
 
#define HAVE_LONG_LONG_INT 1
8524
 
_ACEOF
 
7318
$as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
8525
7319
 
8526
7320
  fi
8527
7321
 
8528
7322
 
8529
 
  { $as_echo "$as_me:$LINENO: checking for unsigned long long int" >&5
 
7323
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
8530
7324
$as_echo_n "checking for unsigned long long int... " >&6; }
8531
 
if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then
 
7325
if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then :
8532
7326
  $as_echo_n "(cached) " >&6
8533
7327
else
8534
 
  cat >conftest.$ac_ext <<_ACEOF
8535
 
 
8536
 
  /* confdefs.h.  */
8537
 
_ACEOF
8538
 
cat confdefs.h >>conftest.$ac_ext
8539
 
cat >>conftest.$ac_ext <<_ACEOF
 
7328
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8540
7329
/* end confdefs.h.  */
8541
 
/* Test preprocessor.  */
 
7330
 
 
7331
  /* Test preprocessor.  */
8542
7332
      #if ! (-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
8543
7333
        error in preprocessor;
8544
7334
      #endif
8570
7360
}
8571
7361
 
8572
7362
_ACEOF
8573
 
rm -f conftest.$ac_objext conftest$ac_exeext
8574
 
if { (ac_try="$ac_link"
8575
 
case "(($ac_try" in
8576
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8577
 
  *) ac_try_echo=$ac_try;;
8578
 
esac
8579
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8580
 
$as_echo "$ac_try_echo") >&5
8581
 
  (eval "$ac_link") 2>conftest.er1
8582
 
  ac_status=$?
8583
 
  grep -v '^ *+' conftest.er1 >conftest.err
8584
 
  rm -f conftest.er1
8585
 
  cat conftest.err >&5
8586
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587
 
  (exit $ac_status); } && {
8588
 
         test -z "$ac_cxx_werror_flag" ||
8589
 
         test ! -s conftest.err
8590
 
       } && test -s conftest$ac_exeext && {
8591
 
         test "$cross_compiling" = yes ||
8592
 
         $as_test_x conftest$ac_exeext
8593
 
       }; then
 
7363
if ac_fn_cxx_try_link "$LINENO"; then :
8594
7364
  ac_cv_type_unsigned_long_long_int=yes
8595
7365
else
8596
 
  $as_echo "$as_me: failed program was:" >&5
8597
 
sed 's/^/| /' conftest.$ac_ext >&5
8598
 
 
8599
 
        ac_cv_type_unsigned_long_long_int=no
8600
 
fi
8601
 
 
8602
 
rm -rf conftest.dSYM
8603
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8604
 
      conftest$ac_exeext conftest.$ac_ext
8605
 
fi
8606
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long_int" >&5
 
7366
  ac_cv_type_unsigned_long_long_int=no
 
7367
fi
 
7368
rm -f core conftest.err conftest.$ac_objext \
 
7369
    conftest$ac_exeext conftest.$ac_ext
 
7370
fi
 
7371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
8607
7372
$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
8608
7373
  if test $ac_cv_type_unsigned_long_long_int = yes; then
8609
7374
 
8610
 
cat >>confdefs.h <<\_ACEOF
8611
 
#define HAVE_UNSIGNED_LONG_LONG_INT 1
8612
 
_ACEOF
 
7375
$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
8613
7376
 
8614
7377
  fi
8615
7378
 
8619
7382
# ------------- Language / Standard Library checks
8620
7383
 
8621
7384
# detect RTTI (defines HAVE_RTTI)
8622
 
{ $as_echo "$as_me:$LINENO: checking whether the compiler supports Run-Time Type Identification" >&5
 
7385
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports Run-Time Type Identification" >&5
8623
7386
$as_echo_n "checking whether the compiler supports Run-Time Type Identification... " >&6; }
8624
 
if test "${ac_cv_cxx_rtti+set}" = set; then
 
7387
if test "${ac_cv_cxx_rtti+set}" = set; then :
8625
7388
  $as_echo_n "(cached) " >&6
8626
7389
else
8627
7390
  ac_ext=cpp
8630
7393
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8631
7394
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8632
7395
 
8633
 
                cat >conftest.$ac_ext <<_ACEOF
8634
 
/* confdefs.h.  */
8635
 
_ACEOF
8636
 
cat confdefs.h >>conftest.$ac_ext
8637
 
cat >>conftest.$ac_ext <<_ACEOF
 
7396
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8638
7397
/* end confdefs.h.  */
8639
7398
#include <typeinfo>
8640
7399
                        class Base {
8660
7419
  return 0;
8661
7420
}
8662
7421
_ACEOF
8663
 
rm -f conftest.$ac_objext
8664
 
if { (ac_try="$ac_compile"
8665
 
case "(($ac_try" in
8666
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8667
 
  *) ac_try_echo=$ac_try;;
8668
 
esac
8669
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8670
 
$as_echo "$ac_try_echo") >&5
8671
 
  (eval "$ac_compile") 2>conftest.er1
8672
 
  ac_status=$?
8673
 
  grep -v '^ *+' conftest.er1 >conftest.err
8674
 
  rm -f conftest.er1
8675
 
  cat conftest.err >&5
8676
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8677
 
  (exit $ac_status); } && {
8678
 
         test -z "$ac_cxx_werror_flag" ||
8679
 
         test ! -s conftest.err
8680
 
       } && test -s conftest.$ac_objext; then
 
7422
if ac_fn_cxx_try_compile "$LINENO"; then :
8681
7423
  ac_cv_cxx_rtti=yes
8682
7424
else
8683
 
  $as_echo "$as_me: failed program was:" >&5
8684
 
sed 's/^/| /' conftest.$ac_ext >&5
8685
 
 
8686
 
        ac_cv_cxx_rtti=no
 
7425
  ac_cv_cxx_rtti=no
8687
7426
fi
8688
 
 
8689
7427
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8690
7428
                ac_ext=cpp
8691
7429
ac_cpp='$CXXCPP $CPPFLAGS'
8695
7433
 
8696
7434
 
8697
7435
fi
8698
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_rtti" >&5
 
7436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_rtti" >&5
8699
7437
$as_echo "$ac_cv_cxx_rtti" >&6; }
8700
7438
        if test "$ac_cv_cxx_rtti" = yes; then
8701
7439
 
8702
 
cat >>confdefs.h <<\_ACEOF
8703
 
#define HAVE_RTTI 1
8704
 
_ACEOF
 
7440
$as_echo "#define HAVE_RTTI 1" >>confdefs.h
8705
7441
 
8706
7442
        else
8707
7443
 
8708
 
cat >>confdefs.h <<\_ACEOF
8709
 
#define HAVE_RTTI 0
8710
 
_ACEOF
 
7444
$as_echo "#define HAVE_RTTI 0" >>confdefs.h
8711
7445
 
8712
7446
        fi
8713
7447
 
8714
7448
 
8715
7449
# detect exception support (defines HAVE_EXCEPTIONS)
8716
 
{ $as_echo "$as_me:$LINENO: checking whether the compiler supports exceptions" >&5
 
7450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports exceptions" >&5
8717
7451
$as_echo_n "checking whether the compiler supports exceptions... " >&6; }
8718
 
if test "${ac_cv_cxx_exceptions+set}" = set; then
 
7452
if test "${ac_cv_cxx_exceptions+set}" = set; then :
8719
7453
  $as_echo_n "(cached) " >&6
8720
7454
else
8721
7455
  ac_ext=cpp
8724
7458
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8725
7459
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8726
7460
 
8727
 
                cat >conftest.$ac_ext <<_ACEOF
8728
 
/* confdefs.h.  */
8729
 
_ACEOF
8730
 
cat confdefs.h >>conftest.$ac_ext
8731
 
cat >>conftest.$ac_ext <<_ACEOF
 
7461
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8732
7462
/* end confdefs.h.  */
8733
7463
 
8734
7464
int
8739
7469
  return 0;
8740
7470
}
8741
7471
_ACEOF
8742
 
rm -f conftest.$ac_objext
8743
 
if { (ac_try="$ac_compile"
8744
 
case "(($ac_try" in
8745
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8746
 
  *) ac_try_echo=$ac_try;;
8747
 
esac
8748
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8749
 
$as_echo "$ac_try_echo") >&5
8750
 
  (eval "$ac_compile") 2>conftest.er1
8751
 
  ac_status=$?
8752
 
  grep -v '^ *+' conftest.er1 >conftest.err
8753
 
  rm -f conftest.er1
8754
 
  cat conftest.err >&5
8755
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756
 
  (exit $ac_status); } && {
8757
 
         test -z "$ac_cxx_werror_flag" ||
8758
 
         test ! -s conftest.err
8759
 
       } && test -s conftest.$ac_objext; then
 
7472
if ac_fn_cxx_try_compile "$LINENO"; then :
8760
7473
  ac_cv_cxx_exceptions=yes
8761
7474
else
8762
 
  $as_echo "$as_me: failed program was:" >&5
8763
 
sed 's/^/| /' conftest.$ac_ext >&5
8764
 
 
8765
 
        ac_cv_cxx_exceptions=no
 
7475
  ac_cv_cxx_exceptions=no
8766
7476
fi
8767
 
 
8768
7477
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8769
7478
                ac_ext=cpp
8770
7479
ac_cpp='$CXXCPP $CPPFLAGS'
8774
7483
 
8775
7484
 
8776
7485
fi
8777
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_exceptions" >&5
 
7486
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_exceptions" >&5
8778
7487
$as_echo "$ac_cv_cxx_exceptions" >&6; }
8779
7488
 
8780
7489
        if test "$ac_cv_cxx_exceptions" = yes; then
8781
7490
 
8782
 
cat >>confdefs.h <<\_ACEOF
8783
 
#define HAVE_EXCEPTIONS 1
8784
 
_ACEOF
 
7491
$as_echo "#define HAVE_EXCEPTIONS 1" >>confdefs.h
8785
7492
 
8786
7493
        else
8787
7494
 
8788
 
cat >>confdefs.h <<\_ACEOF
8789
 
#define HAVE_EXCEPTIONS 0
8790
 
_ACEOF
 
7495
$as_echo "#define HAVE_EXCEPTIONS 0" >>confdefs.h
8791
7496
 
8792
7497
        fi
8793
7498
 
8794
7499
 
8795
7500
 
8796
7501
# detect abi::__cxa_demangle (defines HAVE_GCC_ABI_DEMANGLE)
8797
 
{ $as_echo "$as_me:$LINENO: checking whether the compiler supports GCC C++ ABI name demangling" >&5
 
7502
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GCC C++ ABI name demangling" >&5
8798
7503
$as_echo_n "checking whether the compiler supports GCC C++ ABI name demangling... " >&6; }
8799
 
if test "${ac_cv_cxx_gcc_abi_demangle+set}" = set; then
 
7504
if test "${ac_cv_cxx_gcc_abi_demangle+set}" = set; then :
8800
7505
  $as_echo_n "(cached) " >&6
8801
7506
else
8802
7507
  ac_ext=cpp
8805
7510
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8806
7511
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8807
7512
 
8808
 
                cat >conftest.$ac_ext <<_ACEOF
8809
 
/* confdefs.h.  */
8810
 
_ACEOF
8811
 
cat confdefs.h >>conftest.$ac_ext
8812
 
cat >>conftest.$ac_ext <<_ACEOF
 
7513
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8813
7514
/* end confdefs.h.  */
8814
7515
 
8815
7516
                        #include <typeinfo>
8839
7540
  return 0;
8840
7541
}
8841
7542
_ACEOF
8842
 
rm -f conftest.$ac_objext
8843
 
if { (ac_try="$ac_compile"
8844
 
case "(($ac_try" in
8845
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8846
 
  *) ac_try_echo=$ac_try;;
8847
 
esac
8848
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8849
 
$as_echo "$ac_try_echo") >&5
8850
 
  (eval "$ac_compile") 2>conftest.er1
8851
 
  ac_status=$?
8852
 
  grep -v '^ *+' conftest.er1 >conftest.err
8853
 
  rm -f conftest.er1
8854
 
  cat conftest.err >&5
8855
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8856
 
  (exit $ac_status); } && {
8857
 
         test -z "$ac_cxx_werror_flag" ||
8858
 
         test ! -s conftest.err
8859
 
       } && test -s conftest.$ac_objext; then
 
7543
if ac_fn_cxx_try_compile "$LINENO"; then :
8860
7544
  ac_cv_cxx_gcc_abi_demangle=yes
8861
7545
else
8862
 
  $as_echo "$as_me: failed program was:" >&5
8863
 
sed 's/^/| /' conftest.$ac_ext >&5
8864
 
 
8865
 
        ac_cv_cxx_gcc_abi_demangle=no
 
7546
  ac_cv_cxx_gcc_abi_demangle=no
8866
7547
fi
8867
 
 
8868
7548
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8869
7549
                ac_ext=cpp
8870
7550
ac_cpp='$CXXCPP $CPPFLAGS'
8874
7554
 
8875
7555
 
8876
7556
fi
8877
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_gcc_abi_demangle" >&5
 
7557
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_gcc_abi_demangle" >&5
8878
7558
$as_echo "$ac_cv_cxx_gcc_abi_demangle" >&6; }
8879
7559
        if test "$ac_cv_cxx_gcc_abi_demangle" = yes; then
8880
7560
 
8881
 
cat >>confdefs.h <<\_ACEOF
8882
 
#define HAVE_GCC_ABI_DEMANGLE 1
8883
 
_ACEOF
 
7561
$as_echo "#define HAVE_GCC_ABI_DEMANGLE 1" >>confdefs.h
8884
7562
 
8885
7563
        else
8886
7564
 
8887
 
cat >>confdefs.h <<\_ACEOF
8888
 
#define HAVE_GCC_ABI_DEMANGLE 0
8889
 
_ACEOF
 
7565
$as_echo "#define HAVE_GCC_ABI_DEMANGLE 0" >>confdefs.h
8890
7566
 
8891
7567
        fi
8892
7568
 
8893
7569
 
8894
7570
# detect __gnu_cxx::__verbose_terminate_handler (defines HAVE_VERBOSE_TERMINATE_HANDLER.)
8895
 
{ $as_echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
 
7571
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5
8896
7572
$as_echo_n "checking whether the compiler implements namespaces... " >&6; }
8897
 
if test "${ac_cv_cxx_namespaces+set}" = set; then
 
7573
if test "${ac_cv_cxx_namespaces+set}" = set; then :
8898
7574
  $as_echo_n "(cached) " >&6
8899
7575
else
8900
7576
  ac_ext=cpp
8903
7579
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8904
7580
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8905
7581
 
8906
 
                cat >conftest.$ac_ext <<_ACEOF
8907
 
/* confdefs.h.  */
8908
 
_ACEOF
8909
 
cat confdefs.h >>conftest.$ac_ext
8910
 
cat >>conftest.$ac_ext <<_ACEOF
 
7582
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8911
7583
/* end confdefs.h.  */
8912
7584
namespace Outer { namespace Inner { int i = 0; }}
8913
7585
int
8918
7590
  return 0;
8919
7591
}
8920
7592
_ACEOF
8921
 
rm -f conftest.$ac_objext
8922
 
if { (ac_try="$ac_compile"
8923
 
case "(($ac_try" in
8924
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8925
 
  *) ac_try_echo=$ac_try;;
8926
 
esac
8927
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8928
 
$as_echo "$ac_try_echo") >&5
8929
 
  (eval "$ac_compile") 2>conftest.er1
8930
 
  ac_status=$?
8931
 
  grep -v '^ *+' conftest.er1 >conftest.err
8932
 
  rm -f conftest.er1
8933
 
  cat conftest.err >&5
8934
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8935
 
  (exit $ac_status); } && {
8936
 
         test -z "$ac_cxx_werror_flag" ||
8937
 
         test ! -s conftest.err
8938
 
       } && test -s conftest.$ac_objext; then
 
7593
if ac_fn_cxx_try_compile "$LINENO"; then :
8939
7594
  ac_cv_cxx_namespaces=yes
8940
7595
else
8941
 
  $as_echo "$as_me: failed program was:" >&5
8942
 
sed 's/^/| /' conftest.$ac_ext >&5
8943
 
 
8944
 
        ac_cv_cxx_namespaces=no
 
7596
  ac_cv_cxx_namespaces=no
8945
7597
fi
8946
 
 
8947
7598
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8948
7599
                ac_ext=cpp
8949
7600
ac_cpp='$CXXCPP $CPPFLAGS'
8953
7604
 
8954
7605
 
8955
7606
fi
8956
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
 
7607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_namespaces" >&5
8957
7608
$as_echo "$ac_cv_cxx_namespaces" >&6; }
8958
7609
        if test "$ac_cv_cxx_namespaces" = yes; then
8959
7610
 
8960
 
cat >>confdefs.h <<\_ACEOF
8961
 
#define HAVE_NAMESPACES 1
8962
 
_ACEOF
 
7611
$as_echo "#define HAVE_NAMESPACES 1" >>confdefs.h
8963
7612
 
8964
7613
        else
8965
7614
 
8966
 
cat >>confdefs.h <<\_ACEOF
8967
 
#define HAVE_NAMESPACES 0
8968
 
_ACEOF
 
7615
$as_echo "#define HAVE_NAMESPACES 0" >>confdefs.h
8969
7616
 
8970
7617
        fi
8971
7618
 
8972
 
{ $as_echo "$as_me:$LINENO: checking whether the compiler has __gnu_cxx::__verbose_terminate_handler" >&5
 
7619
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler has __gnu_cxx::__verbose_terminate_handler" >&5
8973
7620
$as_echo_n "checking whether the compiler has __gnu_cxx::__verbose_terminate_handler... " >&6; }
8974
 
if test "${ac_cv_verbose_terminate_handler+set}" = set; then
 
7621
if test "${ac_cv_verbose_terminate_handler+set}" = set; then :
8975
7622
  $as_echo_n "(cached) " >&6
8976
7623
else
8977
7624
 
8983
7630
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8984
7631
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8985
7632
 
8986
 
                cat >conftest.$ac_ext <<_ACEOF
8987
 
/* confdefs.h.  */
8988
 
_ACEOF
8989
 
cat confdefs.h >>conftest.$ac_ext
8990
 
cat >>conftest.$ac_ext <<_ACEOF
 
7633
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8991
7634
/* end confdefs.h.  */
8992
7635
#include <exception>
8993
7636
int
8998
7641
  return 0;
8999
7642
}
9000
7643
_ACEOF
9001
 
rm -f conftest.$ac_objext
9002
 
if { (ac_try="$ac_compile"
9003
 
case "(($ac_try" in
9004
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9005
 
  *) ac_try_echo=$ac_try;;
9006
 
esac
9007
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9008
 
$as_echo "$ac_try_echo") >&5
9009
 
  (eval "$ac_compile") 2>conftest.er1
9010
 
  ac_status=$?
9011
 
  grep -v '^ *+' conftest.er1 >conftest.err
9012
 
  rm -f conftest.er1
9013
 
  cat conftest.err >&5
9014
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9015
 
  (exit $ac_status); } && {
9016
 
         test -z "$ac_cxx_werror_flag" ||
9017
 
         test ! -s conftest.err
9018
 
       } && test -s conftest.$ac_objext; then
 
7644
if ac_fn_cxx_try_compile "$LINENO"; then :
9019
7645
  ac_cv_verbose_terminate_handler=yes
9020
7646
else
9021
 
  $as_echo "$as_me: failed program was:" >&5
9022
 
sed 's/^/| /' conftest.$ac_ext >&5
9023
 
 
9024
 
        ac_cv_verbose_terminate_handler=no
 
7647
  ac_cv_verbose_terminate_handler=no
9025
7648
fi
9026
 
 
9027
7649
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9028
7650
                ac_ext=cpp
9029
7651
ac_cpp='$CXXCPP $CPPFLAGS'
9033
7655
 
9034
7656
 
9035
7657
fi
9036
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_verbose_terminate_handler" >&5
 
7658
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_verbose_terminate_handler" >&5
9037
7659
$as_echo "$ac_cv_verbose_terminate_handler" >&6; }
9038
7660
        if test "$ac_cv_verbose_terminate_handler" = yes; then
9039
7661
 
9040
 
cat >>confdefs.h <<\_ACEOF
9041
 
#define HAVE_VERBOSE_TERMINATE_HANDLER 1
9042
 
_ACEOF
 
7662
$as_echo "#define HAVE_VERBOSE_TERMINATE_HANDLER 1" >>confdefs.h
9043
7663
 
9044
7664
        else
9045
7665
 
9046
 
cat >>confdefs.h <<\_ACEOF
9047
 
#define HAVE_VERBOSE_TERMINATE_HANDLER 0
9048
 
_ACEOF
 
7666
$as_echo "#define HAVE_VERBOSE_TERMINATE_HANDLER 0" >>confdefs.h
9049
7667
 
9050
7668
        fi
9051
7669
 
9052
7670
 
9053
7671
# detect __func__ support (defines HAVE_CXX___func__)
9054
7672
 
9055
 
        { $as_echo "$as_me:$LINENO: checking whether $CXX recognizes __func__" >&5
 
7673
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX recognizes __func__" >&5
9056
7674
$as_echo_n "checking whether $CXX recognizes __func__... " >&6; }
9057
 
if test "${app_cv_cxx___func__+set}" = set; then
 
7675
if test "${app_cv_cxx___func__+set}" = set; then :
9058
7676
  $as_echo_n "(cached) " >&6
9059
7677
else
9060
7678
 
9064
7682
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9065
7683
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9066
7684
 
9067
 
                cat >conftest.$ac_ext <<_ACEOF
9068
 
/* confdefs.h.  */
9069
 
_ACEOF
9070
 
cat confdefs.h >>conftest.$ac_ext
9071
 
cat >>conftest.$ac_ext <<_ACEOF
 
7685
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9072
7686
/* end confdefs.h.  */
9073
7687
 
9074
7688
int
9079
7693
  return 0;
9080
7694
}
9081
7695
_ACEOF
9082
 
rm -f conftest.$ac_objext
9083
 
if { (ac_try="$ac_compile"
9084
 
case "(($ac_try" in
9085
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9086
 
  *) ac_try_echo=$ac_try;;
9087
 
esac
9088
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9089
 
$as_echo "$ac_try_echo") >&5
9090
 
  (eval "$ac_compile") 2>conftest.er1
9091
 
  ac_status=$?
9092
 
  grep -v '^ *+' conftest.er1 >conftest.err
9093
 
  rm -f conftest.er1
9094
 
  cat conftest.err >&5
9095
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9096
 
  (exit $ac_status); } && {
9097
 
         test -z "$ac_cxx_werror_flag" ||
9098
 
         test ! -s conftest.err
9099
 
       } && test -s conftest.$ac_objext; then
 
7696
if ac_fn_cxx_try_compile "$LINENO"; then :
9100
7697
  app_cv_cxx___func__=yes
9101
7698
else
9102
 
  $as_echo "$as_me: failed program was:" >&5
9103
 
sed 's/^/| /' conftest.$ac_ext >&5
9104
 
 
9105
 
        app_cv_cxx___func__=no
 
7699
  app_cv_cxx___func__=no
9106
7700
fi
9107
 
 
9108
7701
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9109
7702
                ac_ext=cpp
9110
7703
ac_cpp='$CXXCPP $CPPFLAGS'
9114
7707
 
9115
7708
 
9116
7709
fi
9117
 
{ $as_echo "$as_me:$LINENO: result: $app_cv_cxx___func__" >&5
 
7710
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $app_cv_cxx___func__" >&5
9118
7711
$as_echo "$app_cv_cxx___func__" >&6; }
9119
7712
        if test "x$app_cv_cxx___func__" = "xyes"; then
9120
7713
 
9121
 
cat >>confdefs.h <<\_ACEOF
9122
 
#define HAVE_CXX___func__ 1
9123
 
_ACEOF
 
7714
$as_echo "#define HAVE_CXX___func__ 1" >>confdefs.h
9124
7715
 
9125
7716
        else
9126
7717
 
9127
 
cat >>confdefs.h <<\_ACEOF
9128
 
#define HAVE_CXX___func__ 0
9129
 
_ACEOF
 
7718
$as_echo "#define HAVE_CXX___func__ 0" >>confdefs.h
9130
7719
 
9131
7720
        fi
9132
7721
 
9133
7722
 
9134
7723
# detect __FUNCTION__ support (defines HAVE_CXX___FUNCTION__)
9135
7724
 
9136
 
        { $as_echo "$as_me:$LINENO: checking whether $CXX recognizes __FUNCTION__" >&5
 
7725
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX recognizes __FUNCTION__" >&5
9137
7726
$as_echo_n "checking whether $CXX recognizes __FUNCTION__... " >&6; }
9138
 
if test "${app_cv_cxx___FUNCTION__+set}" = set; then
 
7727
if test "${app_cv_cxx___FUNCTION__+set}" = set; then :
9139
7728
  $as_echo_n "(cached) " >&6
9140
7729
else
9141
7730
 
9145
7734
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9146
7735
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9147
7736
 
9148
 
                cat >conftest.$ac_ext <<_ACEOF
9149
 
/* confdefs.h.  */
9150
 
_ACEOF
9151
 
cat confdefs.h >>conftest.$ac_ext
9152
 
cat >>conftest.$ac_ext <<_ACEOF
 
7737
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9153
7738
/* end confdefs.h.  */
9154
7739
 
9155
7740
int
9160
7745
  return 0;
9161
7746
}
9162
7747
_ACEOF
9163
 
rm -f conftest.$ac_objext
9164
 
if { (ac_try="$ac_compile"
9165
 
case "(($ac_try" in
9166
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9167
 
  *) ac_try_echo=$ac_try;;
9168
 
esac
9169
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9170
 
$as_echo "$ac_try_echo") >&5
9171
 
  (eval "$ac_compile") 2>conftest.er1
9172
 
  ac_status=$?
9173
 
  grep -v '^ *+' conftest.er1 >conftest.err
9174
 
  rm -f conftest.er1
9175
 
  cat conftest.err >&5
9176
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9177
 
  (exit $ac_status); } && {
9178
 
         test -z "$ac_cxx_werror_flag" ||
9179
 
         test ! -s conftest.err
9180
 
       } && test -s conftest.$ac_objext; then
 
7748
if ac_fn_cxx_try_compile "$LINENO"; then :
9181
7749
  app_cv_cxx___FUNCTION__=yes
9182
7750
else
9183
 
  $as_echo "$as_me: failed program was:" >&5
9184
 
sed 's/^/| /' conftest.$ac_ext >&5
9185
 
 
9186
 
        app_cv_cxx___FUNCTION__=no
 
7751
  app_cv_cxx___FUNCTION__=no
9187
7752
fi
9188
 
 
9189
7753
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9190
7754
                ac_ext=cpp
9191
7755
ac_cpp='$CXXCPP $CPPFLAGS'
9195
7759
 
9196
7760
 
9197
7761
fi
9198
 
{ $as_echo "$as_me:$LINENO: result: $app_cv_cxx___FUNCTION__" >&5
 
7762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $app_cv_cxx___FUNCTION__" >&5
9199
7763
$as_echo "$app_cv_cxx___FUNCTION__" >&6; }
9200
7764
        if test "x$app_cv_cxx___FUNCTION__" = "xyes"; then
9201
7765
 
9202
 
cat >>confdefs.h <<\_ACEOF
9203
 
#define HAVE_CXX___FUNCTION__ 1
9204
 
_ACEOF
 
7766
$as_echo "#define HAVE_CXX___FUNCTION__ 1" >>confdefs.h
9205
7767
 
9206
7768
        else
9207
7769
 
9208
 
cat >>confdefs.h <<\_ACEOF
9209
 
#define HAVE_CXX___FUNCTION__ 0
9210
 
_ACEOF
 
7770
$as_echo "#define HAVE_CXX___FUNCTION__ 0" >>confdefs.h
9211
7771
 
9212
7772
        fi
9213
7773
 
9215
7775
# detect if the compiler accepts extern "C" function pointer overloads
9216
7776
# (defines HAVE_CXX_EXTERN_C_OVERLOAD)
9217
7777
 
9218
 
        { $as_echo "$as_me:$LINENO: checking whether $CXX accepts extern C function pointer overload" >&5
 
7778
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts extern C function pointer overload" >&5
9219
7779
$as_echo_n "checking whether $CXX accepts extern C function pointer overload... " >&6; }
9220
 
if test "${ac_cv_cxx_extern_c_overload+set}" = set; then
 
7780
if test "${ac_cv_cxx_extern_c_overload+set}" = set; then :
9221
7781
  $as_echo_n "(cached) " >&6
9222
7782
else
9223
7783
 
9227
7787
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9228
7788
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9229
7789
 
9230
 
                cat >conftest.$ac_ext <<_ACEOF
9231
 
/* confdefs.h.  */
9232
 
_ACEOF
9233
 
cat confdefs.h >>conftest.$ac_ext
9234
 
cat >>conftest.$ac_ext <<_ACEOF
 
7790
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9235
7791
/* end confdefs.h.  */
9236
7792
 
9237
7793
                        extern "C" { typedef void (*c_func_t)(void); }
9247
7803
  return 0;
9248
7804
}
9249
7805
_ACEOF
9250
 
rm -f conftest.$ac_objext
9251
 
if { (ac_try="$ac_compile"
9252
 
case "(($ac_try" in
9253
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9254
 
  *) ac_try_echo=$ac_try;;
9255
 
esac
9256
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9257
 
$as_echo "$ac_try_echo") >&5
9258
 
  (eval "$ac_compile") 2>conftest.er1
9259
 
  ac_status=$?
9260
 
  grep -v '^ *+' conftest.er1 >conftest.err
9261
 
  rm -f conftest.er1
9262
 
  cat conftest.err >&5
9263
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9264
 
  (exit $ac_status); } && {
9265
 
         test -z "$ac_cxx_werror_flag" ||
9266
 
         test ! -s conftest.err
9267
 
       } && test -s conftest.$ac_objext; then
 
7806
if ac_fn_cxx_try_compile "$LINENO"; then :
9268
7807
  ac_cv_cxx_extern_c_overload=yes
9269
7808
else
9270
 
  $as_echo "$as_me: failed program was:" >&5
9271
 
sed 's/^/| /' conftest.$ac_ext >&5
9272
 
 
9273
 
        ac_cv_cxx_extern_c_overload=no
 
7809
  ac_cv_cxx_extern_c_overload=no
9274
7810
fi
9275
 
 
9276
7811
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9277
7812
                ac_ext=cpp
9278
7813
ac_cpp='$CXXCPP $CPPFLAGS'
9282
7817
 
9283
7818
 
9284
7819
fi
9285
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_extern_c_overload" >&5
 
7820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_extern_c_overload" >&5
9286
7821
$as_echo "$ac_cv_cxx_extern_c_overload" >&6; }
9287
7822
        if test "x$ac_cv_cxx_extern_c_overload" = "xyes"; then
9288
7823
 
9289
 
cat >>confdefs.h <<\_ACEOF
9290
 
#define HAVE_CXX_EXTERN_C_OVERLOAD 1
9291
 
_ACEOF
 
7824
$as_echo "#define HAVE_CXX_EXTERN_C_OVERLOAD 1" >>confdefs.h
9292
7825
 
9293
7826
        else
9294
7827
 
9295
 
cat >>confdefs.h <<\_ACEOF
9296
 
#define HAVE_CXX_EXTERN_C_OVERLOAD 0
9297
 
_ACEOF
 
7828
$as_echo "#define HAVE_CXX_EXTERN_C_OVERLOAD 0" >>confdefs.h
9298
7829
 
9299
7830
        fi
9300
7831
 
9301
7832
 
9302
7833
 
9303
7834
# This may be needed for pch support
9304
 
 
9305
7835
for ac_header in stdc++.h
9306
 
do
9307
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9308
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9309
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9310
 
$as_echo_n "checking for $ac_header... " >&6; }
9311
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9312
 
  $as_echo_n "(cached) " >&6
9313
 
fi
9314
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
9315
 
                 $as_echo "$as_val"'`
9316
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9317
 
$as_echo "$ac_res" >&6; }
9318
 
else
9319
 
  # Is the header compilable?
9320
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9321
 
$as_echo_n "checking $ac_header usability... " >&6; }
9322
 
cat >conftest.$ac_ext <<_ACEOF
9323
 
/* confdefs.h.  */
9324
 
_ACEOF
9325
 
cat confdefs.h >>conftest.$ac_ext
9326
 
cat >>conftest.$ac_ext <<_ACEOF
9327
 
/* end confdefs.h.  */
9328
 
$ac_includes_default
9329
 
#include <$ac_header>
9330
 
_ACEOF
9331
 
rm -f conftest.$ac_objext
9332
 
if { (ac_try="$ac_compile"
9333
 
case "(($ac_try" in
9334
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9335
 
  *) ac_try_echo=$ac_try;;
9336
 
esac
9337
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9338
 
$as_echo "$ac_try_echo") >&5
9339
 
  (eval "$ac_compile") 2>conftest.er1
9340
 
  ac_status=$?
9341
 
  grep -v '^ *+' conftest.er1 >conftest.err
9342
 
  rm -f conftest.er1
9343
 
  cat conftest.err >&5
9344
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9345
 
  (exit $ac_status); } && {
9346
 
         test -z "$ac_cxx_werror_flag" ||
9347
 
         test ! -s conftest.err
9348
 
       } && test -s conftest.$ac_objext; then
9349
 
  ac_header_compiler=yes
9350
 
else
9351
 
  $as_echo "$as_me: failed program was:" >&5
9352
 
sed 's/^/| /' conftest.$ac_ext >&5
9353
 
 
9354
 
        ac_header_compiler=no
9355
 
fi
9356
 
 
9357
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9358
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9359
 
$as_echo "$ac_header_compiler" >&6; }
9360
 
 
9361
 
# Is the header present?
9362
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9363
 
$as_echo_n "checking $ac_header presence... " >&6; }
9364
 
cat >conftest.$ac_ext <<_ACEOF
9365
 
/* confdefs.h.  */
9366
 
_ACEOF
9367
 
cat confdefs.h >>conftest.$ac_ext
9368
 
cat >>conftest.$ac_ext <<_ACEOF
9369
 
/* end confdefs.h.  */
9370
 
#include <$ac_header>
9371
 
_ACEOF
9372
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
9373
 
case "(($ac_try" in
9374
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9375
 
  *) ac_try_echo=$ac_try;;
9376
 
esac
9377
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9378
 
$as_echo "$ac_try_echo") >&5
9379
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9380
 
  ac_status=$?
9381
 
  grep -v '^ *+' conftest.er1 >conftest.err
9382
 
  rm -f conftest.er1
9383
 
  cat conftest.err >&5
9384
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9385
 
  (exit $ac_status); } >/dev/null && {
9386
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9387
 
         test ! -s conftest.err
9388
 
       }; then
9389
 
  ac_header_preproc=yes
9390
 
else
9391
 
  $as_echo "$as_me: failed program was:" >&5
9392
 
sed 's/^/| /' conftest.$ac_ext >&5
9393
 
 
9394
 
  ac_header_preproc=no
9395
 
fi
9396
 
 
9397
 
rm -f conftest.err conftest.$ac_ext
9398
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9399
 
$as_echo "$ac_header_preproc" >&6; }
9400
 
 
9401
 
# So?  What about this header?
9402
 
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9403
 
  yes:no: )
9404
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9405
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9406
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9407
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9408
 
    ac_header_preproc=yes
9409
 
    ;;
9410
 
  no:yes:* )
9411
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9412
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9413
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
9414
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
9415
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9416
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9417
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
9418
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
9419
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9420
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9421
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9422
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9423
 
 
9424
 
    ;;
9425
 
esac
9426
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9427
 
$as_echo_n "checking for $ac_header... " >&6; }
9428
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9429
 
  $as_echo_n "(cached) " >&6
9430
 
else
9431
 
  eval "$as_ac_Header=\$ac_header_preproc"
9432
 
fi
9433
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
9434
 
                 $as_echo "$as_val"'`
9435
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9436
 
$as_echo "$ac_res" >&6; }
9437
 
 
9438
 
fi
9439
 
as_val=`eval 'as_val=${'$as_ac_Header'}
9440
 
                 $as_echo "$as_val"'`
9441
 
   if test "x$as_val" = x""yes; then
 
7836
do :
 
7837
  ac_fn_cxx_check_header_mongrel "$LINENO" "stdc++.h" "ac_cv_header_stdcpp_h" "$ac_includes_default"
 
7838
if test "x$ac_cv_header_stdcpp_h" = x""yes; then :
9442
7839
  cat >>confdefs.h <<_ACEOF
9443
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7840
#define HAVE_STDC___H 1
9444
7841
_ACEOF
9445
7842
 
9446
7843
fi
9449
7846
 
9450
7847
 
9451
7848
# pcrecpp needs this (break on first function found)
9452
 
 
9453
 
 
9454
7849
for ac_func in strtoll _strtoi64
9455
 
do
9456
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9457
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
9458
 
$as_echo_n "checking for $ac_func... " >&6; }
9459
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9460
 
  $as_echo_n "(cached) " >&6
9461
 
else
9462
 
  cat >conftest.$ac_ext <<_ACEOF
9463
 
/* confdefs.h.  */
9464
 
_ACEOF
9465
 
cat confdefs.h >>conftest.$ac_ext
9466
 
cat >>conftest.$ac_ext <<_ACEOF
9467
 
/* end confdefs.h.  */
9468
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9469
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9470
 
#define $ac_func innocuous_$ac_func
9471
 
 
9472
 
/* System header to define __stub macros and hopefully few prototypes,
9473
 
    which can conflict with char $ac_func (); below.
9474
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9475
 
    <limits.h> exists even on freestanding compilers.  */
9476
 
 
9477
 
#ifdef __STDC__
9478
 
# include <limits.h>
9479
 
#else
9480
 
# include <assert.h>
9481
 
#endif
9482
 
 
9483
 
#undef $ac_func
9484
 
 
9485
 
/* Override any GCC internal prototype to avoid an error.
9486
 
   Use char because int might match the return type of a GCC
9487
 
   builtin and then its argument prototype would still apply.  */
9488
 
#ifdef __cplusplus
9489
 
extern "C"
9490
 
#endif
9491
 
char $ac_func ();
9492
 
/* The GNU C library defines this for functions which it implements
9493
 
    to always fail with ENOSYS.  Some functions are actually named
9494
 
    something starting with __ and the normal name is an alias.  */
9495
 
#if defined __stub_$ac_func || defined __stub___$ac_func
9496
 
choke me
9497
 
#endif
9498
 
 
9499
 
int
9500
 
main ()
9501
 
{
9502
 
return $ac_func ();
9503
 
  ;
9504
 
  return 0;
9505
 
}
9506
 
_ACEOF
9507
 
rm -f conftest.$ac_objext conftest$ac_exeext
9508
 
if { (ac_try="$ac_link"
9509
 
case "(($ac_try" in
9510
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9511
 
  *) ac_try_echo=$ac_try;;
9512
 
esac
9513
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9514
 
$as_echo "$ac_try_echo") >&5
9515
 
  (eval "$ac_link") 2>conftest.er1
9516
 
  ac_status=$?
9517
 
  grep -v '^ *+' conftest.er1 >conftest.err
9518
 
  rm -f conftest.er1
9519
 
  cat conftest.err >&5
9520
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9521
 
  (exit $ac_status); } && {
9522
 
         test -z "$ac_cxx_werror_flag" ||
9523
 
         test ! -s conftest.err
9524
 
       } && test -s conftest$ac_exeext && {
9525
 
         test "$cross_compiling" = yes ||
9526
 
         $as_test_x conftest$ac_exeext
9527
 
       }; then
9528
 
  eval "$as_ac_var=yes"
9529
 
else
9530
 
  $as_echo "$as_me: failed program was:" >&5
9531
 
sed 's/^/| /' conftest.$ac_ext >&5
9532
 
 
9533
 
        eval "$as_ac_var=no"
9534
 
fi
9535
 
 
9536
 
rm -rf conftest.dSYM
9537
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9538
 
      conftest$ac_exeext conftest.$ac_ext
9539
 
fi
9540
 
ac_res=`eval 'as_val=${'$as_ac_var'}
9541
 
                 $as_echo "$as_val"'`
9542
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9543
 
$as_echo "$ac_res" >&6; }
9544
 
as_val=`eval 'as_val=${'$as_ac_var'}
9545
 
                 $as_echo "$as_val"'`
9546
 
   if test "x$as_val" = x""yes; then
 
7850
do :
 
7851
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
7852
ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
7853
eval as_val=\$$as_ac_var
 
7854
   if test "x$as_val" = x""yes; then :
9547
7855
  cat >>confdefs.h <<_ACEOF
9548
7856
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9549
7857
_ACEOF
9558
7866
# defining them still leads to undefined symbols at link time, so we don't do it.
9559
7867
# Header check is the best way to determine availability.
9560
7868
# This defines HAVE_DECL_<symbol> to 1 or 0.
9561
 
{ $as_echo "$as_me:$LINENO: checking whether strtof is declared" >&5
9562
 
$as_echo_n "checking whether strtof is declared... " >&6; }
9563
 
if test "${ac_cv_have_decl_strtof+set}" = set; then
9564
 
  $as_echo_n "(cached) " >&6
9565
 
else
9566
 
  cat >conftest.$ac_ext <<_ACEOF
9567
 
/* confdefs.h.  */
9568
 
_ACEOF
9569
 
cat confdefs.h >>conftest.$ac_ext
9570
 
cat >>conftest.$ac_ext <<_ACEOF
9571
 
/* end confdefs.h.  */
9572
 
#include <stdlib.h>
9573
 
 
9574
 
int
9575
 
main ()
9576
 
{
9577
 
#ifndef strtof
9578
 
  (void) strtof;
9579
 
#endif
9580
 
 
9581
 
  ;
9582
 
  return 0;
9583
 
}
9584
 
_ACEOF
9585
 
rm -f conftest.$ac_objext
9586
 
if { (ac_try="$ac_compile"
9587
 
case "(($ac_try" in
9588
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9589
 
  *) ac_try_echo=$ac_try;;
9590
 
esac
9591
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9592
 
$as_echo "$ac_try_echo") >&5
9593
 
  (eval "$ac_compile") 2>conftest.er1
9594
 
  ac_status=$?
9595
 
  grep -v '^ *+' conftest.er1 >conftest.err
9596
 
  rm -f conftest.er1
9597
 
  cat conftest.err >&5
9598
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599
 
  (exit $ac_status); } && {
9600
 
         test -z "$ac_cxx_werror_flag" ||
9601
 
         test ! -s conftest.err
9602
 
       } && test -s conftest.$ac_objext; then
9603
 
  ac_cv_have_decl_strtof=yes
9604
 
else
9605
 
  $as_echo "$as_me: failed program was:" >&5
9606
 
sed 's/^/| /' conftest.$ac_ext >&5
9607
 
 
9608
 
        ac_cv_have_decl_strtof=no
9609
 
fi
9610
 
 
9611
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9612
 
fi
9613
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtof" >&5
9614
 
$as_echo "$ac_cv_have_decl_strtof" >&6; }
9615
 
if test "x$ac_cv_have_decl_strtof" = x""yes; then
9616
 
 
9617
 
cat >>confdefs.h <<_ACEOF
9618
 
#define HAVE_DECL_STRTOF 1
9619
 
_ACEOF
9620
 
 
9621
 
 
9622
 
else
9623
 
  cat >>confdefs.h <<_ACEOF
9624
 
#define HAVE_DECL_STRTOF 0
9625
 
_ACEOF
9626
 
 
9627
 
 
9628
 
fi
9629
 
{ $as_echo "$as_me:$LINENO: checking whether strtold is declared" >&5
9630
 
$as_echo_n "checking whether strtold is declared... " >&6; }
9631
 
if test "${ac_cv_have_decl_strtold+set}" = set; then
9632
 
  $as_echo_n "(cached) " >&6
9633
 
else
9634
 
  cat >conftest.$ac_ext <<_ACEOF
9635
 
/* confdefs.h.  */
9636
 
_ACEOF
9637
 
cat confdefs.h >>conftest.$ac_ext
9638
 
cat >>conftest.$ac_ext <<_ACEOF
9639
 
/* end confdefs.h.  */
9640
 
#include <stdlib.h>
9641
 
 
9642
 
int
9643
 
main ()
9644
 
{
9645
 
#ifndef strtold
9646
 
  (void) strtold;
9647
 
#endif
9648
 
 
9649
 
  ;
9650
 
  return 0;
9651
 
}
9652
 
_ACEOF
9653
 
rm -f conftest.$ac_objext
9654
 
if { (ac_try="$ac_compile"
9655
 
case "(($ac_try" in
9656
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9657
 
  *) ac_try_echo=$ac_try;;
9658
 
esac
9659
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9660
 
$as_echo "$ac_try_echo") >&5
9661
 
  (eval "$ac_compile") 2>conftest.er1
9662
 
  ac_status=$?
9663
 
  grep -v '^ *+' conftest.er1 >conftest.err
9664
 
  rm -f conftest.er1
9665
 
  cat conftest.err >&5
9666
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667
 
  (exit $ac_status); } && {
9668
 
         test -z "$ac_cxx_werror_flag" ||
9669
 
         test ! -s conftest.err
9670
 
       } && test -s conftest.$ac_objext; then
9671
 
  ac_cv_have_decl_strtold=yes
9672
 
else
9673
 
  $as_echo "$as_me: failed program was:" >&5
9674
 
sed 's/^/| /' conftest.$ac_ext >&5
9675
 
 
9676
 
        ac_cv_have_decl_strtold=no
9677
 
fi
9678
 
 
9679
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9680
 
fi
9681
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtold" >&5
9682
 
$as_echo "$ac_cv_have_decl_strtold" >&6; }
9683
 
if test "x$ac_cv_have_decl_strtold" = x""yes; then
9684
 
 
9685
 
cat >>confdefs.h <<_ACEOF
9686
 
#define HAVE_DECL_STRTOLD 1
9687
 
_ACEOF
9688
 
 
9689
 
 
9690
 
else
9691
 
  cat >>confdefs.h <<_ACEOF
9692
 
#define HAVE_DECL_STRTOLD 0
9693
 
_ACEOF
9694
 
 
9695
 
 
9696
 
fi
9697
 
 
 
7869
ac_fn_cxx_check_decl "$LINENO" "strtof" "ac_cv_have_decl_strtof" "#include <stdlib.h>
 
7870
"
 
7871
if test "x$ac_cv_have_decl_strtof" = x""yes; then :
 
7872
  ac_have_decl=1
 
7873
else
 
7874
  ac_have_decl=0
 
7875
fi
 
7876
 
 
7877
cat >>confdefs.h <<_ACEOF
 
7878
#define HAVE_DECL_STRTOF $ac_have_decl
 
7879
_ACEOF
 
7880
ac_fn_cxx_check_decl "$LINENO" "strtold" "ac_cv_have_decl_strtold" "#include <stdlib.h>
 
7881
"
 
7882
if test "x$ac_cv_have_decl_strtold" = x""yes; then :
 
7883
  ac_have_decl=1
 
7884
else
 
7885
  ac_have_decl=0
 
7886
fi
 
7887
 
 
7888
cat >>confdefs.h <<_ACEOF
 
7889
#define HAVE_DECL_STRTOLD $ac_have_decl
 
7890
_ACEOF
9698
7891
 
9699
7892
# link check only:
9700
7893
# AC_CHECK_FUNCS([strtof strtold])
9708
7901
# Non-standard feature checks
9709
7902
 
9710
7903
# getrawpartition() for netbsd and openbsd in -lutil.
9711
 
{ $as_echo "$as_me:$LINENO: checking for getrawpartition in -lutil" >&5
 
7904
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for getrawpartition in -lutil" >&5
9712
7905
$as_echo_n "checking for getrawpartition in -lutil... " >&6; }
9713
 
if test "${ac_cv_lib_util_getrawpartition+set}" = set; then
 
7906
if test "${ac_cv_lib_util_getrawpartition+set}" = set; then :
9714
7907
  $as_echo_n "(cached) " >&6
9715
7908
else
9716
7909
  ac_check_lib_save_LIBS=$LIBS
9717
7910
LIBS="-lutil  $LIBS"
9718
 
cat >conftest.$ac_ext <<_ACEOF
9719
 
/* confdefs.h.  */
9720
 
_ACEOF
9721
 
cat confdefs.h >>conftest.$ac_ext
9722
 
cat >>conftest.$ac_ext <<_ACEOF
 
7911
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9723
7912
/* end confdefs.h.  */
9724
7913
 
9725
7914
/* Override any GCC internal prototype to avoid an error.
9737
7926
  return 0;
9738
7927
}
9739
7928
_ACEOF
9740
 
rm -f conftest.$ac_objext conftest$ac_exeext
9741
 
if { (ac_try="$ac_link"
9742
 
case "(($ac_try" in
9743
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9744
 
  *) ac_try_echo=$ac_try;;
9745
 
esac
9746
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9747
 
$as_echo "$ac_try_echo") >&5
9748
 
  (eval "$ac_link") 2>conftest.er1
9749
 
  ac_status=$?
9750
 
  grep -v '^ *+' conftest.er1 >conftest.err
9751
 
  rm -f conftest.er1
9752
 
  cat conftest.err >&5
9753
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9754
 
  (exit $ac_status); } && {
9755
 
         test -z "$ac_cxx_werror_flag" ||
9756
 
         test ! -s conftest.err
9757
 
       } && test -s conftest$ac_exeext && {
9758
 
         test "$cross_compiling" = yes ||
9759
 
         $as_test_x conftest$ac_exeext
9760
 
       }; then
 
7929
if ac_fn_cxx_try_link "$LINENO"; then :
9761
7930
  ac_cv_lib_util_getrawpartition=yes
9762
7931
else
9763
 
  $as_echo "$as_me: failed program was:" >&5
9764
 
sed 's/^/| /' conftest.$ac_ext >&5
9765
 
 
9766
 
        ac_cv_lib_util_getrawpartition=no
 
7932
  ac_cv_lib_util_getrawpartition=no
9767
7933
fi
9768
 
 
9769
 
rm -rf conftest.dSYM
9770
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9771
 
      conftest$ac_exeext conftest.$ac_ext
 
7934
rm -f core conftest.err conftest.$ac_objext \
 
7935
    conftest$ac_exeext conftest.$ac_ext
9772
7936
LIBS=$ac_check_lib_save_LIBS
9773
7937
fi
9774
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_getrawpartition" >&5
 
7938
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getrawpartition" >&5
9775
7939
$as_echo "$ac_cv_lib_util_getrawpartition" >&6; }
9776
 
if test "x$ac_cv_lib_util_getrawpartition" = x""yes; then
 
7940
if test "x$ac_cv_lib_util_getrawpartition" = x""yes; then :
9777
7941
        LIBS="$LIBS -lutil"
9778
7942
fi
9779
7943
 
9786
7950
 
9787
7951
# enable / disable compilation of tests
9788
7952
# Check whether --enable-tests was given.
9789
 
if test "${enable_tests+set}" = set; then
 
7953
if test "${enable_tests+set}" = set; then :
9790
7954
  enableval=$enable_tests; with_tests=${enableval}
9791
7955
else
9792
7956
  with_tests=no
9809
7973
 
9810
7974
 
9811
7975
# Check whether --enable-abort-if-no-gtkmm was given.
9812
 
if test "${enable_abort_if_no_gtkmm+set}" = set; then
 
7976
if test "${enable_abort_if_no_gtkmm+set}" = set; then :
9813
7977
  enableval=$enable_abort_if_no_gtkmm; app_cv_abort_if_no_gtkmm=${enableval}
9814
7978
else
9815
7979
  app_cv_abort_if_no_gtkmm=yes
9816
7980
fi
9817
7981
 
9818
7982
 
9819
 
{ $as_echo "$as_me:$LINENO: Abort if no gtkmm is found: $app_cv_abort_if_no_gtkmm" >&5
 
7983
{ $as_echo "$as_me:${as_lineno-$LINENO}: Abort if no gtkmm is found: $app_cv_abort_if_no_gtkmm" >&5
9820
7984
$as_echo "$as_me: Abort if no gtkmm is found: $app_cv_abort_if_no_gtkmm" >&6;}
9821
7985
 
9822
7986
# iconview is available since 2.6.0. gthread is not enabled by default.
9831
7995
        if test -n "$ac_tool_prefix"; then
9832
7996
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9833
7997
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9834
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9835
7999
$as_echo_n "checking for $ac_word... " >&6; }
9836
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
8000
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
9837
8001
  $as_echo_n "(cached) " >&6
9838
8002
else
9839
8003
  case $PKG_CONFIG in
9846
8010
do
9847
8011
  IFS=$as_save_IFS
9848
8012
  test -z "$as_dir" && as_dir=.
9849
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8013
    for ac_exec_ext in '' $ac_executable_extensions; do
9850
8014
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9851
8015
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9852
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8016
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9853
8017
    break 2
9854
8018
  fi
9855
8019
done
9856
 
done
 
8020
  done
9857
8021
IFS=$as_save_IFS
9858
8022
 
9859
8023
  ;;
9861
8025
fi
9862
8026
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9863
8027
if test -n "$PKG_CONFIG"; then
9864
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
8028
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9865
8029
$as_echo "$PKG_CONFIG" >&6; }
9866
8030
else
9867
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8031
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9868
8032
$as_echo "no" >&6; }
9869
8033
fi
9870
8034
 
9874
8038
  ac_pt_PKG_CONFIG=$PKG_CONFIG
9875
8039
  # Extract the first word of "pkg-config", so it can be a program name with args.
9876
8040
set dummy pkg-config; ac_word=$2
9877
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8041
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9878
8042
$as_echo_n "checking for $ac_word... " >&6; }
9879
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
8043
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
9880
8044
  $as_echo_n "(cached) " >&6
9881
8045
else
9882
8046
  case $ac_pt_PKG_CONFIG in
9889
8053
do
9890
8054
  IFS=$as_save_IFS
9891
8055
  test -z "$as_dir" && as_dir=.
9892
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8056
    for ac_exec_ext in '' $ac_executable_extensions; do
9893
8057
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9894
8058
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9895
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8059
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9896
8060
    break 2
9897
8061
  fi
9898
8062
done
9899
 
done
 
8063
  done
9900
8064
IFS=$as_save_IFS
9901
8065
 
9902
8066
  ;;
9904
8068
fi
9905
8069
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9906
8070
if test -n "$ac_pt_PKG_CONFIG"; then
9907
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
8071
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
9908
8072
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
9909
8073
else
9910
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8074
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9911
8075
$as_echo "no" >&6; }
9912
8076
fi
9913
8077
 
9916
8080
  else
9917
8081
    case $cross_compiling:$ac_tool_warned in
9918
8082
yes:)
9919
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8083
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9920
8084
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9921
8085
ac_tool_warned=yes ;;
9922
8086
esac
9929
8093
fi
9930
8094
if test -n "$PKG_CONFIG"; then
9931
8095
        _pkg_min_version=0.9.0
9932
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
8096
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
9933
8097
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
9934
8098
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9935
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
8099
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9936
8100
$as_echo "yes" >&6; }
9937
8101
        else
9938
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
8102
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9939
8103
$as_echo "no" >&6; }
9940
8104
                PKG_CONFIG=""
9941
8105
        fi
9943
8107
fi
9944
8108
 
9945
8109
pkg_failed=no
9946
 
{ $as_echo "$as_me:$LINENO: checking for GTKMM" >&5
 
8110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKMM" >&5
9947
8111
$as_echo_n "checking for GTKMM... " >&6; }
9948
8112
 
9949
8113
if test -n "$GTKMM_CFLAGS"; then
9950
8114
    pkg_cv_GTKMM_CFLAGS="$GTKMM_CFLAGS"
9951
8115
 elif test -n "$PKG_CONFIG"; then
9952
8116
    if test -n "$PKG_CONFIG" && \
9953
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
 
8117
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5
9954
8118
  ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
9955
8119
  ac_status=$?
9956
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9957
 
  (exit $ac_status); }; then
 
8120
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8121
  test $ac_status = 0; }; then
9958
8122
  pkg_cv_GTKMM_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null`
9959
8123
else
9960
8124
  pkg_failed=yes
9966
8130
    pkg_cv_GTKMM_LIBS="$GTKMM_LIBS"
9967
8131
 elif test -n "$PKG_CONFIG"; then
9968
8132
    if test -n "$PKG_CONFIG" && \
9969
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
 
8133
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5
9970
8134
  ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
9971
8135
  ac_status=$?
9972
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9973
 
  (exit $ac_status); }; then
 
8136
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8137
  test $ac_status = 0; }; then
9974
8138
  pkg_cv_GTKMM_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null`
9975
8139
else
9976
8140
  pkg_failed=yes
9996
8160
        # Put the nasty error message in config.log where it belongs
9997
8161
        echo "$GTKMM_PKG_ERRORS" >&5
9998
8162
 
9999
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
8163
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10000
8164
$as_echo "no" >&6; }
10001
8165
                gtkmm_found="no"
10002
8166
elif test $pkg_failed = untried; then
10004
8168
else
10005
8169
        GTKMM_CFLAGS=$pkg_cv_GTKMM_CFLAGS
10006
8170
        GTKMM_LIBS=$pkg_cv_GTKMM_LIBS
10007
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
8171
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10008
8172
$as_echo "yes" >&6; }
10009
8173
        gtkmm_found="yes"
10010
8174
fi
10011
8175
 
10012
8176
if test "x$gtkmm_found" = "xyes"; then
10013
8177
 
10014
 
cat >>confdefs.h <<\_ACEOF
10015
 
#define ENABLE_GLIB 1
10016
 
_ACEOF
10017
 
 
10018
 
 
10019
 
cat >>confdefs.h <<\_ACEOF
10020
 
#define ENABLE_GLIBMM 1
10021
 
_ACEOF
 
8178
$as_echo "#define ENABLE_GLIB 1" >>confdefs.h
 
8179
 
 
8180
 
 
8181
$as_echo "#define ENABLE_GLIBMM 1" >>confdefs.h
10022
8182
 
10023
8183
else
10024
8184
 
10025
 
cat >>confdefs.h <<\_ACEOF
10026
 
#define ENABLE_GLIB 0
10027
 
_ACEOF
10028
 
 
10029
 
 
10030
 
cat >>confdefs.h <<\_ACEOF
10031
 
#define ENABLE_GLIBMM 0
10032
 
_ACEOF
 
8185
$as_echo "#define ENABLE_GLIB 0" >>confdefs.h
 
8186
 
 
8187
 
 
8188
$as_echo "#define ENABLE_GLIBMM 0" >>confdefs.h
10033
8189
 
10034
8190
fi
10035
8191
 
10036
8192
if test "x$gtkmm_found" = "xno"; then
10037
8193
        if test "x$app_cv_abort_if_no_gtkmm" = "xno"; then
10038
 
                { $as_echo "$as_me:$LINENO: WARNING: $GTKMM_PKG_ERRORS" >&5
 
8194
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $GTKMM_PKG_ERRORS" >&5
10039
8195
$as_echo "$as_me: WARNING: $GTKMM_PKG_ERRORS" >&2;}
10040
 
                { $as_echo "$as_me:$LINENO: WARNING: The program will be unable to compile fully." >&5
 
8196
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The program will be unable to compile fully." >&5
10041
8197
$as_echo "$as_me: WARNING: The program will be unable to compile fully." >&2;}
10042
8198
        else
10043
 
                { { $as_echo "$as_me:$LINENO: error: $GTKMM_PKG_ERRORS" >&5
10044
 
$as_echo "$as_me: error: $GTKMM_PKG_ERRORS" >&2;}
10045
 
   { (exit 1); exit 1; }; }
 
8199
                as_fn_error "$GTKMM_PKG_ERRORS" "$LINENO" 5
10046
8200
        fi
10047
8201
fi
10048
8202
 
10061
8215
 
10062
8216
 
10063
8217
        # Check whether --enable-abort-if-no-glade-reader was given.
10064
 
if test "${enable_abort_if_no_glade_reader+set}" = set; then
 
8218
if test "${enable_abort_if_no_glade_reader+set}" = set; then :
10065
8219
  enableval=$enable_abort_if_no_glade_reader; app_cv_abort_if_no_glade_reader=${enableval}
10066
8220
else
10067
8221
  app_cv_abort_if_no_glade_reader=yes
10068
8222
fi
10069
8223
 
10070
8224
 
10071
 
        { $as_echo "$as_me:$LINENO: Abort if no glade file reader is found: $app_cv_abort_if_no_glade_reader" >&5
 
8225
        { $as_echo "$as_me:${as_lineno-$LINENO}: Abort if no glade file reader is found: $app_cv_abort_if_no_glade_reader" >&5
10072
8226
$as_echo "$as_me: Abort if no glade file reader is found: $app_cv_abort_if_no_glade_reader" >&6;}
10073
8227
 
10074
8228
        # This is just in case
10098
8252
        # to do it this way. If put inside a shell conditional, it still shows up in configure help.
10099
8253
 
10100
8254
        # Check whether --enable-libglade was given.
10101
 
if test "${enable_libglade+set}" = set; then
 
8255
if test "${enable_libglade+set}" = set; then :
10102
8256
  enableval=$enable_libglade; with_libglade=${enableval}
10103
8257
else
10104
8258
  with_libglade=auto
10109
8263
        # Try gtkbuilder first
10110
8264
        if test "x$with_libglade" = "xno" || test "x$with_libglade" = "xauto"; then
10111
8265
                if test -n "$PKG_CONFIG" && \
10112
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$app_cv_gld_reader_gtk_pkg_name >= 2.12.0\"") >&5
 
8266
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$app_cv_gld_reader_gtk_pkg_name >= 2.12.0\""; } >&5
10113
8267
  ($PKG_CONFIG --exists --print-errors "$app_cv_gld_reader_gtk_pkg_name >= 2.12.0") 2>&5
10114
8268
  ac_status=$?
10115
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10116
 
  (exit $ac_status); }; then
 
8269
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8270
  test $ac_status = 0; }; then
10117
8271
  app_cv_gld_reader="gtkbuilder"
10118
8272
fi
10119
8273
        fi
10120
8274
        if test "$with_libglade" = "no" && test "$app_cv_gld_reader" = "none"; then
10121
 
                { { $as_echo "$as_me:$LINENO: error: GtkBuilder support not found (you need $app_cv_gld_reader_gtk_name version 2.12 or higher). Try using $app_cv_gld_reader_libglade_name instead." >&5
10122
 
$as_echo "$as_me: error: GtkBuilder support not found (you need $app_cv_gld_reader_gtk_name version 2.12 or higher). Try using $app_cv_gld_reader_libglade_name instead." >&2;}
10123
 
   { (exit 1); exit 1; }; }
 
8275
                as_fn_error "GtkBuilder support not found (you need $app_cv_gld_reader_gtk_name version 2.12 or higher). Try using $app_cv_gld_reader_libglade_name instead." "$LINENO" 5
10124
8276
        fi
10125
8277
 
10126
8278
        # libglade specified, or auto and no gtkbuilder. gtkmm2.4-compatible libglademm is >= 2.4.0.
10130
8282
                        # libglade
10131
8283
 
10132
8284
pkg_failed=no
10133
 
{ $as_echo "$as_me:$LINENO: checking for LIBGLADE" >&5
 
8285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLADE" >&5
10134
8286
$as_echo_n "checking for LIBGLADE... " >&6; }
10135
8287
 
10136
8288
if test -n "$LIBGLADE_CFLAGS"; then
10137
8289
    pkg_cv_LIBGLADE_CFLAGS="$LIBGLADE_CFLAGS"
10138
8290
 elif test -n "$PKG_CONFIG"; then
10139
8291
    if test -n "$PKG_CONFIG" && \
10140
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$app_cv_gld_reader_libglade_pkg_name >= 2.4.0\"") >&5
 
8292
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$app_cv_gld_reader_libglade_pkg_name >= 2.4.0\""; } >&5
10141
8293
  ($PKG_CONFIG --exists --print-errors "$app_cv_gld_reader_libglade_pkg_name >= 2.4.0") 2>&5
10142
8294
  ac_status=$?
10143
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10144
 
  (exit $ac_status); }; then
 
8295
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8296
  test $ac_status = 0; }; then
10145
8297
  pkg_cv_LIBGLADE_CFLAGS=`$PKG_CONFIG --cflags "$app_cv_gld_reader_libglade_pkg_name >= 2.4.0" 2>/dev/null`
10146
8298
else
10147
8299
  pkg_failed=yes
10153
8305
    pkg_cv_LIBGLADE_LIBS="$LIBGLADE_LIBS"
10154
8306
 elif test -n "$PKG_CONFIG"; then
10155
8307
    if test -n "$PKG_CONFIG" && \
10156
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$app_cv_gld_reader_libglade_pkg_name >= 2.4.0\"") >&5
 
8308
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$app_cv_gld_reader_libglade_pkg_name >= 2.4.0\""; } >&5
10157
8309
  ($PKG_CONFIG --exists --print-errors "$app_cv_gld_reader_libglade_pkg_name >= 2.4.0") 2>&5
10158
8310
  ac_status=$?
10159
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10160
 
  (exit $ac_status); }; then
 
8311
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8312
  test $ac_status = 0; }; then
10161
8313
  pkg_cv_LIBGLADE_LIBS=`$PKG_CONFIG --libs "$app_cv_gld_reader_libglade_pkg_name >= 2.4.0" 2>/dev/null`
10162
8314
else
10163
8315
  pkg_failed=yes
10183
8335
        # Put the nasty error message in config.log where it belongs
10184
8336
        echo "$LIBGLADE_PKG_ERRORS" >&5
10185
8337
 
10186
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
8338
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10187
8339
$as_echo "no" >&6; }
10188
 
                { $as_echo "$as_me:$LINENO: WARNING: $LIBGLADE_PKG_ERRORS" >&5
 
8340
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBGLADE_PKG_ERRORS" >&5
10189
8341
$as_echo "$as_me: WARNING: $LIBGLADE_PKG_ERRORS" >&2;}
10190
8342
elif test $pkg_failed = untried; then
10191
 
        { $as_echo "$as_me:$LINENO: WARNING: $LIBGLADE_PKG_ERRORS" >&5
 
8343
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBGLADE_PKG_ERRORS" >&5
10192
8344
$as_echo "$as_me: WARNING: $LIBGLADE_PKG_ERRORS" >&2;}
10193
8345
else
10194
8346
        LIBGLADE_CFLAGS=$pkg_cv_LIBGLADE_CFLAGS
10195
8347
        LIBGLADE_LIBS=$pkg_cv_LIBGLADE_LIBS
10196
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
8348
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10197
8349
$as_echo "yes" >&6; }
10198
8350
        app_cv_gld_reader="libglade"
10199
8351
fi
10204
8356
                        # libglademm
10205
8357
 
10206
8358
pkg_failed=no
10207
 
{ $as_echo "$as_me:$LINENO: checking for LIBGLADEMM" >&5
 
8359
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLADEMM" >&5
10208
8360
$as_echo_n "checking for LIBGLADEMM... " >&6; }
10209
8361
 
10210
8362
if test -n "$LIBGLADEMM_CFLAGS"; then
10211
8363
    pkg_cv_LIBGLADEMM_CFLAGS="$LIBGLADEMM_CFLAGS"
10212
8364
 elif test -n "$PKG_CONFIG"; then
10213
8365
    if test -n "$PKG_CONFIG" && \
10214
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$app_cv_gld_reader_libglade_pkg_name >= 2.4.0\"") >&5
 
8366
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$app_cv_gld_reader_libglade_pkg_name >= 2.4.0\""; } >&5
10215
8367
  ($PKG_CONFIG --exists --print-errors "$app_cv_gld_reader_libglade_pkg_name >= 2.4.0") 2>&5
10216
8368
  ac_status=$?
10217
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10218
 
  (exit $ac_status); }; then
 
8369
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8370
  test $ac_status = 0; }; then
10219
8371
  pkg_cv_LIBGLADEMM_CFLAGS=`$PKG_CONFIG --cflags "$app_cv_gld_reader_libglade_pkg_name >= 2.4.0" 2>/dev/null`
10220
8372
else
10221
8373
  pkg_failed=yes
10227
8379
    pkg_cv_LIBGLADEMM_LIBS="$LIBGLADEMM_LIBS"
10228
8380
 elif test -n "$PKG_CONFIG"; then
10229
8381
    if test -n "$PKG_CONFIG" && \
10230
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$app_cv_gld_reader_libglade_pkg_name >= 2.4.0\"") >&5
 
8382
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$app_cv_gld_reader_libglade_pkg_name >= 2.4.0\""; } >&5
10231
8383
  ($PKG_CONFIG --exists --print-errors "$app_cv_gld_reader_libglade_pkg_name >= 2.4.0") 2>&5
10232
8384
  ac_status=$?
10233
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10234
 
  (exit $ac_status); }; then
 
8385
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8386
  test $ac_status = 0; }; then
10235
8387
  pkg_cv_LIBGLADEMM_LIBS=`$PKG_CONFIG --libs "$app_cv_gld_reader_libglade_pkg_name >= 2.4.0" 2>/dev/null`
10236
8388
else
10237
8389
  pkg_failed=yes
10257
8409
        # Put the nasty error message in config.log where it belongs
10258
8410
        echo "$LIBGLADEMM_PKG_ERRORS" >&5
10259
8411
 
10260
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
8412
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10261
8413
$as_echo "no" >&6; }
10262
 
                { $as_echo "$as_me:$LINENO: WARNING: $LIBGLADEMM_PKG_ERRORS" >&5
 
8414
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBGLADEMM_PKG_ERRORS" >&5
10263
8415
$as_echo "$as_me: WARNING: $LIBGLADEMM_PKG_ERRORS" >&2;}
10264
8416
elif test $pkg_failed = untried; then
10265
 
        { $as_echo "$as_me:$LINENO: WARNING: $LIBGLADEMM_PKG_ERRORS" >&5
 
8417
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBGLADEMM_PKG_ERRORS" >&5
10266
8418
$as_echo "$as_me: WARNING: $LIBGLADEMM_PKG_ERRORS" >&2;}
10267
8419
else
10268
8420
        LIBGLADEMM_CFLAGS=$pkg_cv_LIBGLADEMM_CFLAGS
10269
8421
        LIBGLADEMM_LIBS=$pkg_cv_LIBGLADEMM_LIBS
10270
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
8422
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10271
8423
$as_echo "yes" >&6; }
10272
8424
        app_cv_gld_reader="libglade"
10273
8425
fi
10281
8433
        fi
10282
8434
 
10283
8435
        if test "x$with_libglade" = "xyes" && test "x$app_cv_gld_reader" = "xnone"; then
10284
 
                { { $as_echo "$as_me:$LINENO: error: $app_cv_gld_reader_libglade_name not found. Try building with GtkBuilder support (you need $app_cv_gld_reader_gtk_name version 2.12 or higher)." >&5
10285
 
$as_echo "$as_me: error: $app_cv_gld_reader_libglade_name not found. Try building with GtkBuilder support (you need $app_cv_gld_reader_gtk_name version 2.12 or higher)." >&2;}
10286
 
   { (exit 1); exit 1; }; }
 
8436
                as_fn_error "$app_cv_gld_reader_libglade_name not found. Try building with GtkBuilder support (you need $app_cv_gld_reader_gtk_name version 2.12 or higher)." "$LINENO" 5
10287
8437
        fi
10288
8438
 
10289
8439
        # still not found.
10290
8440
        if test "$app_cv_gld_reader" = "none"; then
10291
8441
                if test "x$app_cv_abort_if_no_glade_reader" = "xno"; then
10292
 
                        { $as_echo "$as_me:$LINENO: WARNING: $LIBGLADE_PKG_ERRORS" >&5
 
8442
                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBGLADE_PKG_ERRORS" >&5
10293
8443
$as_echo "$as_me: WARNING: $LIBGLADE_PKG_ERRORS" >&2;}
10294
 
                        { $as_echo "$as_me:$LINENO: WARNING: Neither GtkBuilder nor $app_cv_gld_reader_libglade_name found. The program will be unable to compile fully." >&5
 
8444
                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Neither GtkBuilder nor $app_cv_gld_reader_libglade_name found. The program will be unable to compile fully." >&5
10295
8445
$as_echo "$as_me: WARNING: Neither GtkBuilder nor $app_cv_gld_reader_libglade_name found. The program will be unable to compile fully." >&2;}
10296
8446
                else
10297
 
                        { $as_echo "$as_me:$LINENO: WARNING: Neither GtkBuilder nor $app_cv_gld_reader_libglade_name found." >&5
 
8447
                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Neither GtkBuilder nor $app_cv_gld_reader_libglade_name found." >&5
10298
8448
$as_echo "$as_me: WARNING: Neither GtkBuilder nor $app_cv_gld_reader_libglade_name found." >&2;}
10299
 
                        { { $as_echo "$as_me:$LINENO: error: $LIBGLADE_PKG_ERRORS" >&5
10300
 
$as_echo "$as_me: error: $LIBGLADE_PKG_ERRORS" >&2;}
10301
 
   { (exit 1); exit 1; }; }
 
8449
                        as_fn_error "$LIBGLADE_PKG_ERRORS" "$LINENO" 5
10302
8450
                fi
10303
8451
        fi
10304
8452
 
10345
8493
        # export to config.h
10346
8494
        if test "$app_cv_gld_reader" = "libglade"; then
10347
8495
 
10348
 
cat >>confdefs.h <<\_ACEOF
10349
 
#define ENABLE_LIBGLADE 1
10350
 
_ACEOF
 
8496
$as_echo "#define ENABLE_LIBGLADE 1" >>confdefs.h
10351
8497
 
10352
8498
        else
10353
8499
 
10354
 
cat >>confdefs.h <<\_ACEOF
10355
 
#define ENABLE_LIBGLADE 0
10356
 
_ACEOF
 
8500
$as_echo "#define ENABLE_LIBGLADE 0" >>confdefs.h
10357
8501
 
10358
8502
        fi
10359
8503
        if test "$app_cv_gld_reader" = "gtkbuilder"; then
10360
8504
 
10361
 
cat >>confdefs.h <<\_ACEOF
10362
 
#define ENABLE_GTKBUILDER 1
10363
 
_ACEOF
 
8505
$as_echo "#define ENABLE_GTKBUILDER 1" >>confdefs.h
10364
8506
 
10365
8507
        else
10366
8508
 
10367
 
cat >>confdefs.h <<\_ACEOF
10368
 
#define ENABLE_GTKBUILDER 1
10369
 
_ACEOF
 
8509
$as_echo "#define ENABLE_GTKBUILDER 1" >>confdefs.h
10370
8510
 
10371
8511
        fi
10372
8512
 
10373
8513
        # If we move this to the start, some messages get in between, so we have to have it here.
10374
 
        { $as_echo "$as_me:$LINENO: checking for glade file support" >&5
 
8514
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glade file support" >&5
10375
8515
$as_echo_n "checking for glade file support... " >&6; }
10376
8516
 
10377
 
        { $as_echo "$as_me:$LINENO: result: $app_cv_gld_reader" >&5
 
8517
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $app_cv_gld_reader" >&5
10378
8518
$as_echo "$app_cv_gld_reader" >&6; }
10379
8519
 
10380
8520
 
10397
8537
# try pkg-config first
10398
8538
 
10399
8539
pkg_failed=no
10400
 
{ $as_echo "$as_me:$LINENO: checking for PCRE" >&5
 
8540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCRE" >&5
10401
8541
$as_echo_n "checking for PCRE... " >&6; }
10402
8542
 
10403
8543
if test -n "$PCRE_CFLAGS"; then
10404
8544
    pkg_cv_PCRE_CFLAGS="$PCRE_CFLAGS"
10405
8545
 elif test -n "$PKG_CONFIG"; then
10406
8546
    if test -n "$PKG_CONFIG" && \
10407
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpcre\"") >&5
 
8547
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre\""; } >&5
10408
8548
  ($PKG_CONFIG --exists --print-errors "libpcre") 2>&5
10409
8549
  ac_status=$?
10410
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10411
 
  (exit $ac_status); }; then
 
8550
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8551
  test $ac_status = 0; }; then
10412
8552
  pkg_cv_PCRE_CFLAGS=`$PKG_CONFIG --cflags "libpcre" 2>/dev/null`
10413
8553
else
10414
8554
  pkg_failed=yes
10420
8560
    pkg_cv_PCRE_LIBS="$PCRE_LIBS"
10421
8561
 elif test -n "$PKG_CONFIG"; then
10422
8562
    if test -n "$PKG_CONFIG" && \
10423
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpcre\"") >&5
 
8563
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre\""; } >&5
10424
8564
  ($PKG_CONFIG --exists --print-errors "libpcre") 2>&5
10425
8565
  ac_status=$?
10426
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10427
 
  (exit $ac_status); }; then
 
8566
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8567
  test $ac_status = 0; }; then
10428
8568
  pkg_cv_PCRE_LIBS=`$PKG_CONFIG --libs "libpcre" 2>/dev/null`
10429
8569
else
10430
8570
  pkg_failed=yes
10450
8590
        # Put the nasty error message in config.log where it belongs
10451
8591
        echo "$PCRE_PKG_ERRORS" >&5
10452
8592
 
10453
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
8593
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10454
8594
$as_echo "no" >&6; }
10455
8595
                pcre_found=no
10456
8596
elif test $pkg_failed = untried; then
10458
8598
else
10459
8599
        PCRE_CFLAGS=$pkg_cv_PCRE_CFLAGS
10460
8600
        PCRE_LIBS=$pkg_cv_PCRE_LIBS
10461
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
8601
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10462
8602
$as_echo "yes" >&6; }
10463
8603
        pcre_found=yes
10464
8604
fi
10467
8607
if test "x$pcre_found" = "xno"; then
10468
8608
        # Extract the first word of "pcre-config", so it can be a program name with args.
10469
8609
set dummy pcre-config; ac_word=$2
10470
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8610
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10471
8611
$as_echo_n "checking for $ac_word... " >&6; }
10472
 
if test "${ac_cv_path_pcre_config_binary+set}" = set; then
 
8612
if test "${ac_cv_path_pcre_config_binary+set}" = set; then :
10473
8613
  $as_echo_n "(cached) " >&6
10474
8614
else
10475
8615
  case $pcre_config_binary in
10482
8622
do
10483
8623
  IFS=$as_save_IFS
10484
8624
  test -z "$as_dir" && as_dir=.
10485
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8625
    for ac_exec_ext in '' $ac_executable_extensions; do
10486
8626
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10487
8627
    ac_cv_path_pcre_config_binary="$as_dir/$ac_word$ac_exec_ext"
10488
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8628
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10489
8629
    break 2
10490
8630
  fi
10491
8631
done
10492
 
done
 
8632
  done
10493
8633
IFS=$as_save_IFS
10494
8634
 
10495
8635
  ;;
10497
8637
fi
10498
8638
pcre_config_binary=$ac_cv_path_pcre_config_binary
10499
8639
if test -n "$pcre_config_binary"; then
10500
 
  { $as_echo "$as_me:$LINENO: result: $pcre_config_binary" >&5
 
8640
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pcre_config_binary" >&5
10501
8641
$as_echo "$pcre_config_binary" >&6; }
10502
8642
else
10503
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8643
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10504
8644
$as_echo "no" >&6; }
10505
8645
fi
10506
8646
 
10510
8650
                PCRE_LIBS="`pcre-config --libs`"
10511
8651
        else
10512
8652
                # AC_MSG_ERROR([Could not find pcre through pkg-config and pcre-config. Make sure the pcre libraries are installed])
10513
 
                { { $as_echo "$as_me:$LINENO: error: $PCRE_PKG_ERRORS" >&5
10514
 
$as_echo "$as_me: error: $PCRE_PKG_ERRORS" >&2;}
10515
 
   { (exit 1); exit 1; }; }
 
8653
                as_fn_error "$PCRE_PKG_ERRORS" "$LINENO" 5
10516
8654
        fi
10517
8655
fi
10518
8656
 
10546
8684
 
10547
8685
 
10548
8686
# Check whether --with-nsis was given.
10549
 
if test "${with_nsis+set}" = set; then
 
8687
if test "${with_nsis+set}" = set; then :
10550
8688
  withval=$with_nsis; with_nsis=${withval}
10551
8689
else
10552
8690
  with_nsis=auto
10554
8692
 
10555
8693
 
10556
8694
# Check whether --enable-nsis-wine was given.
10557
 
if test "${enable_nsis_wine+set}" = set; then
 
8695
if test "${enable_nsis_wine+set}" = set; then :
10558
8696
  enableval=$enable_nsis_wine; with_nsis_wine=${enableval}
10559
8697
else
10560
8698
  with_nsis_wine=yes
10563
8701
 
10564
8702
 
10565
8703
# Check whether --with-windows-bindir was given.
10566
 
if test "${with_windows_bindir+set}" = set; then
 
8704
if test "${with_windows_bindir+set}" = set; then :
10567
8705
  withval=$with_windows_bindir; with_windows_bindir=${withval}
10568
8706
else
10569
8707
  with_windows_bindir=auto
10570
8708
fi
10571
8709
 
10572
8710
 
 
8711
 
 
8712
# Check whether --with-windows-gtk-name was given.
 
8713
if test "${with_windows_gtk_name+set}" = set; then :
 
8714
  withval=$with_windows_gtk_name; with_windows_gtk_name=${withval}
 
8715
else
 
8716
  with_windows_gtk_name=
 
8717
fi
 
8718
 
 
8719
 
10573
8720
if test "x$with_nsis" = "xauto" || test "x$with_nsis" = "x"; then
10574
 
        if test "x$app_cv_build_os_kernel" = "xwindows"; then
10575
 
                with_nsis="~/\".wine/drive_c/Program Files/NSIS/makensis.exe\"";
10576
 
        else
 
8721
        # if building on windows, use native paths
 
8722
        if test "x$app_cv_build_os_kernel" = "xwindows32" || test "x$app_cv_build_os_kernel" = "xwindows64"; then
10577
8723
                with_nsis="\"C:\\Program Files\\NSIS\\makensis.exe\"";
 
8724
        else
 
8725
                with_nsis="~/\".wine/drive_c/Program Files/NSIS/Unicode/makensis.exe\"";
10578
8726
        fi
10579
8727
fi
10580
8728
 
10581
8729
if test "x$with_nsis_wine" = "xauto"; then
10582
 
        if test "x$app_cv_build_os_kernel" = "xwindows"; then
 
8730
        # if not building on windows, use wine
 
8731
        if test "x$app_cv_build_os_kernel" = "xwindows32" || test "x$app_cv_build_os_kernel" = "xwindows64"; then
10583
8732
                with_nsis_wine="no";
10584
8733
        else
10585
8734
                with_nsis_wine="yes";
10596
8745
fi
10597
8746
WINDOWS_BINDIR="$with_windows_bindir";
10598
8747
 
 
8748
GTK_INSTALLER_NAME="$with_windows_gtk_name";
 
8749
 
 
8750
 
 
8751
 
 
8752
 
 
8753
 
 
8754
 
 
8755
# -------------------------------------------------------------------------------------
 
8756
 
 
8757
# -------------------------------------------------------------------------------------
 
8758
 
 
8759
 
 
8760
# Win32 security manifest support
 
8761
 
 
8762
WINDOWS_ARCH=""
 
8763
if test "x$app_cv_target_os_kernel" = "xwindows32"; then
 
8764
        WINDOWS_ARCH="x86"
 
8765
elif test "x$app_cv_target_os_kernel" = "xwindows64"; then
 
8766
        WINDOWS_ARCH="amd64"
 
8767
fi
10599
8768
 
10600
8769
 
10601
8770
 
10606
8775
 
10607
8776
 
10608
8777
RES_FILES="src/res/gsc_about_dialog.glade \
 
8778
        src/res/gsc_add_device_window.glade \
10609
8779
        src/res/gsc_executor_log_window.glade \
10610
8780
        src/res/gsc_help_window.glade \
10611
8781
        src/res/gsc_info_window.glade \
10714
8884
 
10715
8885
ADDITIONAL_FLAGS="-DPACKAGE_PKGDATA_DIR=\"\\\"\$(pkgdatadir)\\\"\" \
10716
8886
-DPACKAGE_SYSCONF_DIR=\"\\\"\$(sysconfdir)\\\"\" \
10717
 
-DTOP_SRC_DIR=\"\\\"\$(top_srcdir)\\\"\""
 
8887
-DTOP_SRC_DIR=\"\\\"\$(top_srcdir)\\\"\" \
 
8888
-DHZ_USE_GLOBAL_MACROS=1"
10718
8889
 
10719
8890
#CFLAGS="$CFLAGS $ADDITIONAL_FLAGS"
10720
8891
CXXFLAGS="$CXXFLAGS $ADDITIONAL_FLAGS"
10731
8902
# with pgi and older sunstudio (the one in solaris10, for example).
10732
8903
# Note: some gcc-frontend-based compilers may have to be added here
10733
8904
# (e.g. gccfss (gcc frontend / sun backend), etc...).
10734
 
if test "$ax_cv_cxx_compiler_vendor" = "gnu" || test "$ax_cv_cxx_compiler_vendor" = "intel" \
10735
 
                || test "$ax_cv_cxx_compiler_vendor" = "pathscale"; then
10736
 
        # This auto-includes this file when compiling any file. Benefits include pch support.
10737
 
        ADDITIONAL_INCLUDES="$ADDITIONAL_INCLUDES -include global_macros.h"
10738
 
else  # sun, pgi, others...
10739
 
        # This forces the file to be included manually.
10740
 
        ADDITIONAL_INCLUDES="$ADDITIONAL_INCLUDES -DHZ_NO_COMPILER_AUTOINCLUDE"
 
8905
# We use -include only when using pch.
 
8906
if test "x$app_cv_compiler_gcc_pch" = "xyes"; then
 
8907
        if test "$ax_cv_cxx_compiler_vendor" = "gnu" || test "$ax_cv_cxx_compiler_vendor" = "intel" || test "$ax_cv_cxx_compiler_vendor" = "pathscale"; then
 
8908
                # This auto-includes this file when compiling any file. Benefits include pch support.
 
8909
                ADDITIONAL_INCLUDES="$ADDITIONAL_INCLUDES -include global_macros.h"
 
8910
        fi
10741
8911
fi
10742
8912
 
10743
8913
# our flags must be before all the others
10788
8958
 
10789
8959
# print them out for debug purposes
10790
8960
 
10791
 
{ $as_echo "$as_me:$LINENO:
 
8961
{ $as_echo "$as_me:${as_lineno-$LINENO}:
10792
8962
CXXFLAGS:
10793
8963
$CXXFLAGS
10794
8964
LDFLAGS:
10816
8986
# -------------------------------------------------------------------------------------
10817
8987
 
10818
8988
 
10819
 
ac_config_files="$ac_config_files data/gsmartcontrol.desktop data/nsis/distribution.txt data/nsis/gsmartcontrol.nsi debian.dist/changelog src/gsc_winres.rc gsmartcontrol.spec version compilation_flags"
 
8989
ac_config_files="$ac_config_files data/gsmartcontrol.desktop data/nsis/distribution.txt data/nsis/distribution-nogtk.txt data/nsis/gsmartcontrol.nsi debian.dist/changelog src/gsc_winres.rc src/gsmartcontrol.exe.manifest gsmartcontrol.spec version compilation_flags"
10820
8990
 
10821
8991
 
10822
8992
 
10857
9027
    case $ac_val in #(
10858
9028
    *${as_nl}*)
10859
9029
      case $ac_var in #(
10860
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
9030
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
10861
9031
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
10862
9032
      esac
10863
9033
      case $ac_var in #(
10864
9034
      _ | IFS | as_nl) ;; #(
10865
9035
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
10866
 
      *) $as_unset $ac_var ;;
 
9036
      *) { eval $ac_var=; unset $ac_var;} ;;
10867
9037
      esac ;;
10868
9038
    esac
10869
9039
  done
10871
9041
  (set) 2>&1 |
10872
9042
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
10873
9043
    *${as_nl}ac_space=\ *)
10874
 
      # `set' does not quote correctly, so add quotes (double-quote
10875
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
9044
      # `set' does not quote correctly, so add quotes: double-quote
 
9045
      # substitution turns \\\\ into \\, and sed turns \\ into \.
10876
9046
      sed -n \
10877
9047
        "s/'/'\\\\''/g;
10878
9048
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10895
9065
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
10896
9066
  if test -w "$cache_file"; then
10897
9067
    test "x$cache_file" != "x/dev/null" &&
10898
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
9068
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
10899
9069
$as_echo "$as_me: updating cache $cache_file" >&6;}
10900
9070
    cat confcache >$cache_file
10901
9071
  else
10902
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
9072
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
10903
9073
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10904
9074
  fi
10905
9075
fi
10919
9089
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
10920
9090
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
10921
9091
  #    will be set to the directory where LIBOBJS objects are built.
10922
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10923
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
9092
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
9093
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
10924
9094
done
10925
9095
LIBOBJS=$ac_libobjs
10926
9096
 
10927
9097
LTLIBOBJS=$ac_ltlibobjs
10928
9098
 
10929
9099
 
 
9100
 if test -n "$EXEEXT"; then
 
9101
  am__EXEEXT_TRUE=
 
9102
  am__EXEEXT_FALSE='#'
 
9103
else
 
9104
  am__EXEEXT_TRUE='#'
 
9105
  am__EXEEXT_FALSE=
 
9106
fi
 
9107
 
10930
9108
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10931
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
10932
 
Usually this means the macro was only invoked conditionally." >&5
10933
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
10934
 
Usually this means the macro was only invoked conditionally." >&2;}
10935
 
   { (exit 1); exit 1; }; }
 
9109
  as_fn_error "conditional \"AMDEP\" was never defined.
 
9110
Usually this means the macro was only invoked conditionally." "$LINENO" 5
10936
9111
fi
10937
9112
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10938
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10939
 
Usually this means the macro was only invoked conditionally." >&5
10940
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10941
 
Usually this means the macro was only invoked conditionally." >&2;}
10942
 
   { (exit 1); exit 1; }; }
 
9113
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
9114
Usually this means the macro was only invoked conditionally." "$LINENO" 5
10943
9115
fi
10944
9116
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
10945
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
10946
 
Usually this means the macro was only invoked conditionally." >&5
10947
 
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
10948
 
Usually this means the macro was only invoked conditionally." >&2;}
10949
 
   { (exit 1); exit 1; }; }
 
9117
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
9118
Usually this means the macro was only invoked conditionally." "$LINENO" 5
10950
9119
fi
10951
9120
if test -z "${TARGET_OS_KERNEL_LINUX_TRUE}" && test -z "${TARGET_OS_KERNEL_LINUX_FALSE}"; then
10952
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_KERNEL_LINUX\" was never defined.
10953
 
Usually this means the macro was only invoked conditionally." >&5
10954
 
$as_echo "$as_me: error: conditional \"TARGET_OS_KERNEL_LINUX\" was never defined.
10955
 
Usually this means the macro was only invoked conditionally." >&2;}
10956
 
   { (exit 1); exit 1; }; }
 
9121
  as_fn_error "conditional \"TARGET_OS_KERNEL_LINUX\" was never defined.
 
9122
Usually this means the macro was only invoked conditionally." "$LINENO" 5
10957
9123
fi
10958
9124
if test -z "${TARGET_OS_KERNEL_WINDOWS32_TRUE}" && test -z "${TARGET_OS_KERNEL_WINDOWS32_FALSE}"; then
10959
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_KERNEL_WINDOWS32\" was never defined.
10960
 
Usually this means the macro was only invoked conditionally." >&5
10961
 
$as_echo "$as_me: error: conditional \"TARGET_OS_KERNEL_WINDOWS32\" was never defined.
10962
 
Usually this means the macro was only invoked conditionally." >&2;}
10963
 
   { (exit 1); exit 1; }; }
 
9125
  as_fn_error "conditional \"TARGET_OS_KERNEL_WINDOWS32\" was never defined.
 
9126
Usually this means the macro was only invoked conditionally." "$LINENO" 5
10964
9127
fi
10965
9128
if test -z "${TARGET_OS_KERNEL_WINDOWS64_TRUE}" && test -z "${TARGET_OS_KERNEL_WINDOWS64_FALSE}"; then
10966
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_KERNEL_WINDOWS64\" was never defined.
10967
 
Usually this means the macro was only invoked conditionally." >&5
10968
 
$as_echo "$as_me: error: conditional \"TARGET_OS_KERNEL_WINDOWS64\" was never defined.
10969
 
Usually this means the macro was only invoked conditionally." >&2;}
10970
 
   { (exit 1); exit 1; }; }
 
9129
  as_fn_error "conditional \"TARGET_OS_KERNEL_WINDOWS64\" was never defined.
 
9130
Usually this means the macro was only invoked conditionally." "$LINENO" 5
10971
9131
fi
10972
9132
if test -z "${TARGET_OS_KERNEL_INTERIX_TRUE}" && test -z "${TARGET_OS_KERNEL_INTERIX_FALSE}"; then
10973
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_KERNEL_INTERIX\" was never defined.
10974
 
Usually this means the macro was only invoked conditionally." >&5
10975
 
$as_echo "$as_me: error: conditional \"TARGET_OS_KERNEL_INTERIX\" was never defined.
10976
 
Usually this means the macro was only invoked conditionally." >&2;}
10977
 
   { (exit 1); exit 1; }; }
 
9133
  as_fn_error "conditional \"TARGET_OS_KERNEL_INTERIX\" was never defined.
 
9134
Usually this means the macro was only invoked conditionally." "$LINENO" 5
10978
9135
fi
10979
9136
if test -z "${TARGET_OS_KERNEL_FREEBSD_TRUE}" && test -z "${TARGET_OS_KERNEL_FREEBSD_FALSE}"; then
10980
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_KERNEL_FREEBSD\" was never defined.
10981
 
Usually this means the macro was only invoked conditionally." >&5
10982
 
$as_echo "$as_me: error: conditional \"TARGET_OS_KERNEL_FREEBSD\" was never defined.
10983
 
Usually this means the macro was only invoked conditionally." >&2;}
10984
 
   { (exit 1); exit 1; }; }
 
9137
  as_fn_error "conditional \"TARGET_OS_KERNEL_FREEBSD\" was never defined.
 
9138
Usually this means the macro was only invoked conditionally." "$LINENO" 5
10985
9139
fi
10986
9140
if test -z "${TARGET_OS_KERNEL_DRAGONFLY_TRUE}" && test -z "${TARGET_OS_KERNEL_DRAGONFLY_FALSE}"; then
10987
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_KERNEL_DRAGONFLY\" was never defined.
10988
 
Usually this means the macro was only invoked conditionally." >&5
10989
 
$as_echo "$as_me: error: conditional \"TARGET_OS_KERNEL_DRAGONFLY\" was never defined.
10990
 
Usually this means the macro was only invoked conditionally." >&2;}
10991
 
   { (exit 1); exit 1; }; }
 
9141
  as_fn_error "conditional \"TARGET_OS_KERNEL_DRAGONFLY\" was never defined.
 
9142
Usually this means the macro was only invoked conditionally." "$LINENO" 5
10992
9143
fi
10993
9144
if test -z "${TARGET_OS_KERNEL_OPENBSD_TRUE}" && test -z "${TARGET_OS_KERNEL_OPENBSD_FALSE}"; then
10994
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_KERNEL_OPENBSD\" was never defined.
10995
 
Usually this means the macro was only invoked conditionally." >&5
10996
 
$as_echo "$as_me: error: conditional \"TARGET_OS_KERNEL_OPENBSD\" was never defined.
10997
 
Usually this means the macro was only invoked conditionally." >&2;}
10998
 
   { (exit 1); exit 1; }; }
 
9145
  as_fn_error "conditional \"TARGET_OS_KERNEL_OPENBSD\" was never defined.
 
9146
Usually this means the macro was only invoked conditionally." "$LINENO" 5
10999
9147
fi
11000
9148
if test -z "${TARGET_OS_KERNEL_NETBSD_TRUE}" && test -z "${TARGET_OS_KERNEL_NETBSD_FALSE}"; then
11001
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_KERNEL_NETBSD\" was never defined.
11002
 
Usually this means the macro was only invoked conditionally." >&5
11003
 
$as_echo "$as_me: error: conditional \"TARGET_OS_KERNEL_NETBSD\" was never defined.
11004
 
Usually this means the macro was only invoked conditionally." >&2;}
11005
 
   { (exit 1); exit 1; }; }
 
9149
  as_fn_error "conditional \"TARGET_OS_KERNEL_NETBSD\" was never defined.
 
9150
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11006
9151
fi
11007
9152
if test -z "${TARGET_OS_KERNEL_SOLARIS_TRUE}" && test -z "${TARGET_OS_KERNEL_SOLARIS_FALSE}"; then
11008
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_KERNEL_SOLARIS\" was never defined.
11009
 
Usually this means the macro was only invoked conditionally." >&5
11010
 
$as_echo "$as_me: error: conditional \"TARGET_OS_KERNEL_SOLARIS\" was never defined.
11011
 
Usually this means the macro was only invoked conditionally." >&2;}
11012
 
   { (exit 1); exit 1; }; }
 
9153
  as_fn_error "conditional \"TARGET_OS_KERNEL_SOLARIS\" was never defined.
 
9154
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11013
9155
fi
11014
9156
if test -z "${TARGET_OS_KERNEL_DARWIN_TRUE}" && test -z "${TARGET_OS_KERNEL_DARWIN_FALSE}"; then
11015
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_KERNEL_DARWIN\" was never defined.
11016
 
Usually this means the macro was only invoked conditionally." >&5
11017
 
$as_echo "$as_me: error: conditional \"TARGET_OS_KERNEL_DARWIN\" was never defined.
11018
 
Usually this means the macro was only invoked conditionally." >&2;}
11019
 
   { (exit 1); exit 1; }; }
 
9157
  as_fn_error "conditional \"TARGET_OS_KERNEL_DARWIN\" was never defined.
 
9158
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11020
9159
fi
11021
9160
if test -z "${TARGET_OS_KERNEL_QNX_TRUE}" && test -z "${TARGET_OS_KERNEL_QNX_FALSE}"; then
11022
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_KERNEL_QNX\" was never defined.
11023
 
Usually this means the macro was only invoked conditionally." >&5
11024
 
$as_echo "$as_me: error: conditional \"TARGET_OS_KERNEL_QNX\" was never defined.
11025
 
Usually this means the macro was only invoked conditionally." >&2;}
11026
 
   { (exit 1); exit 1; }; }
 
9161
  as_fn_error "conditional \"TARGET_OS_KERNEL_QNX\" was never defined.
 
9162
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11027
9163
fi
11028
9164
if test -z "${TARGET_OS_KERNEL_UNKNOWN_TRUE}" && test -z "${TARGET_OS_KERNEL_UNKNOWN_FALSE}"; then
11029
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_KERNEL_UNKNOWN\" was never defined.
11030
 
Usually this means the macro was only invoked conditionally." >&5
11031
 
$as_echo "$as_me: error: conditional \"TARGET_OS_KERNEL_UNKNOWN\" was never defined.
11032
 
Usually this means the macro was only invoked conditionally." >&2;}
11033
 
   { (exit 1); exit 1; }; }
 
9165
  as_fn_error "conditional \"TARGET_OS_KERNEL_UNKNOWN\" was never defined.
 
9166
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11034
9167
fi
11035
9168
if test -z "${TARGET_OS_KERNEL_FAMILY_WINDOWS_TRUE}" && test -z "${TARGET_OS_KERNEL_FAMILY_WINDOWS_FALSE}"; then
11036
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_KERNEL_FAMILY_WINDOWS\" was never defined.
11037
 
Usually this means the macro was only invoked conditionally." >&5
11038
 
$as_echo "$as_me: error: conditional \"TARGET_OS_KERNEL_FAMILY_WINDOWS\" was never defined.
11039
 
Usually this means the macro was only invoked conditionally." >&2;}
11040
 
   { (exit 1); exit 1; }; }
 
9169
  as_fn_error "conditional \"TARGET_OS_KERNEL_FAMILY_WINDOWS\" was never defined.
 
9170
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11041
9171
fi
11042
9172
if test -z "${TARGET_OS_ENV_CYGWIN_TRUE}" && test -z "${TARGET_OS_ENV_CYGWIN_FALSE}"; then
11043
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_ENV_CYGWIN\" was never defined.
11044
 
Usually this means the macro was only invoked conditionally." >&5
11045
 
$as_echo "$as_me: error: conditional \"TARGET_OS_ENV_CYGWIN\" was never defined.
11046
 
Usually this means the macro was only invoked conditionally." >&2;}
11047
 
   { (exit 1); exit 1; }; }
 
9173
  as_fn_error "conditional \"TARGET_OS_ENV_CYGWIN\" was never defined.
 
9174
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11048
9175
fi
11049
9176
if test -z "${TARGET_OS_ENV_MINGW32_TRUE}" && test -z "${TARGET_OS_ENV_MINGW32_FALSE}"; then
11050
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_ENV_MINGW32\" was never defined.
11051
 
Usually this means the macro was only invoked conditionally." >&5
11052
 
$as_echo "$as_me: error: conditional \"TARGET_OS_ENV_MINGW32\" was never defined.
11053
 
Usually this means the macro was only invoked conditionally." >&2;}
11054
 
   { (exit 1); exit 1; }; }
 
9177
  as_fn_error "conditional \"TARGET_OS_ENV_MINGW32\" was never defined.
 
9178
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11055
9179
fi
11056
9180
if test -z "${TARGET_OS_ENV_MINGW64_TRUE}" && test -z "${TARGET_OS_ENV_MINGW64_FALSE}"; then
11057
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_ENV_MINGW64\" was never defined.
11058
 
Usually this means the macro was only invoked conditionally." >&5
11059
 
$as_echo "$as_me: error: conditional \"TARGET_OS_ENV_MINGW64\" was never defined.
11060
 
Usually this means the macro was only invoked conditionally." >&2;}
11061
 
   { (exit 1); exit 1; }; }
 
9181
  as_fn_error "conditional \"TARGET_OS_ENV_MINGW64\" was never defined.
 
9182
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11062
9183
fi
11063
9184
if test -z "${TARGET_OS_ENV_INTERIX_TRUE}" && test -z "${TARGET_OS_ENV_INTERIX_FALSE}"; then
11064
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_ENV_INTERIX\" was never defined.
11065
 
Usually this means the macro was only invoked conditionally." >&5
11066
 
$as_echo "$as_me: error: conditional \"TARGET_OS_ENV_INTERIX\" was never defined.
11067
 
Usually this means the macro was only invoked conditionally." >&2;}
11068
 
   { (exit 1); exit 1; }; }
 
9185
  as_fn_error "conditional \"TARGET_OS_ENV_INTERIX\" was never defined.
 
9186
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11069
9187
fi
11070
9188
if test -z "${TARGET_OS_ENV_GNU_TRUE}" && test -z "${TARGET_OS_ENV_GNU_FALSE}"; then
11071
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_ENV_GNU\" was never defined.
11072
 
Usually this means the macro was only invoked conditionally." >&5
11073
 
$as_echo "$as_me: error: conditional \"TARGET_OS_ENV_GNU\" was never defined.
11074
 
Usually this means the macro was only invoked conditionally." >&2;}
11075
 
   { (exit 1); exit 1; }; }
 
9189
  as_fn_error "conditional \"TARGET_OS_ENV_GNU\" was never defined.
 
9190
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11076
9191
fi
11077
9192
if test -z "${TARGET_OS_ENV_FREEBSD_TRUE}" && test -z "${TARGET_OS_ENV_FREEBSD_FALSE}"; then
11078
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_ENV_FREEBSD\" was never defined.
11079
 
Usually this means the macro was only invoked conditionally." >&5
11080
 
$as_echo "$as_me: error: conditional \"TARGET_OS_ENV_FREEBSD\" was never defined.
11081
 
Usually this means the macro was only invoked conditionally." >&2;}
11082
 
   { (exit 1); exit 1; }; }
 
9193
  as_fn_error "conditional \"TARGET_OS_ENV_FREEBSD\" was never defined.
 
9194
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11083
9195
fi
11084
9196
if test -z "${TARGET_OS_ENV_DRAGONFLY_TRUE}" && test -z "${TARGET_OS_ENV_DRAGONFLY_FALSE}"; then
11085
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_ENV_DRAGONFLY\" was never defined.
11086
 
Usually this means the macro was only invoked conditionally." >&5
11087
 
$as_echo "$as_me: error: conditional \"TARGET_OS_ENV_DRAGONFLY\" was never defined.
11088
 
Usually this means the macro was only invoked conditionally." >&2;}
11089
 
   { (exit 1); exit 1; }; }
 
9197
  as_fn_error "conditional \"TARGET_OS_ENV_DRAGONFLY\" was never defined.
 
9198
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11090
9199
fi
11091
9200
if test -z "${TARGET_OS_ENV_OPENBSD_TRUE}" && test -z "${TARGET_OS_ENV_OPENBSD_FALSE}"; then
11092
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_ENV_OPENBSD\" was never defined.
11093
 
Usually this means the macro was only invoked conditionally." >&5
11094
 
$as_echo "$as_me: error: conditional \"TARGET_OS_ENV_OPENBSD\" was never defined.
11095
 
Usually this means the macro was only invoked conditionally." >&2;}
11096
 
   { (exit 1); exit 1; }; }
 
9201
  as_fn_error "conditional \"TARGET_OS_ENV_OPENBSD\" was never defined.
 
9202
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11097
9203
fi
11098
9204
if test -z "${TARGET_OS_ENV_NETBSD_TRUE}" && test -z "${TARGET_OS_ENV_NETBSD_FALSE}"; then
11099
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_ENV_NETBSD\" was never defined.
11100
 
Usually this means the macro was only invoked conditionally." >&5
11101
 
$as_echo "$as_me: error: conditional \"TARGET_OS_ENV_NETBSD\" was never defined.
11102
 
Usually this means the macro was only invoked conditionally." >&2;}
11103
 
   { (exit 1); exit 1; }; }
 
9205
  as_fn_error "conditional \"TARGET_OS_ENV_NETBSD\" was never defined.
 
9206
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11104
9207
fi
11105
9208
if test -z "${TARGET_OS_ENV_SOLARIS_TRUE}" && test -z "${TARGET_OS_ENV_SOLARIS_FALSE}"; then
11106
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_ENV_SOLARIS\" was never defined.
11107
 
Usually this means the macro was only invoked conditionally." >&5
11108
 
$as_echo "$as_me: error: conditional \"TARGET_OS_ENV_SOLARIS\" was never defined.
11109
 
Usually this means the macro was only invoked conditionally." >&2;}
11110
 
   { (exit 1); exit 1; }; }
 
9209
  as_fn_error "conditional \"TARGET_OS_ENV_SOLARIS\" was never defined.
 
9210
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11111
9211
fi
11112
9212
if test -z "${TARGET_OS_ENV_DARWIN_TRUE}" && test -z "${TARGET_OS_ENV_DARWIN_FALSE}"; then
11113
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_ENV_DARWIN\" was never defined.
11114
 
Usually this means the macro was only invoked conditionally." >&5
11115
 
$as_echo "$as_me: error: conditional \"TARGET_OS_ENV_DARWIN\" was never defined.
11116
 
Usually this means the macro was only invoked conditionally." >&2;}
11117
 
   { (exit 1); exit 1; }; }
 
9213
  as_fn_error "conditional \"TARGET_OS_ENV_DARWIN\" was never defined.
 
9214
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11118
9215
fi
11119
9216
if test -z "${TARGET_OS_ENV_QNX_TRUE}" && test -z "${TARGET_OS_ENV_QNX_FALSE}"; then
11120
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_ENV_QNX\" was never defined.
11121
 
Usually this means the macro was only invoked conditionally." >&5
11122
 
$as_echo "$as_me: error: conditional \"TARGET_OS_ENV_QNX\" was never defined.
11123
 
Usually this means the macro was only invoked conditionally." >&2;}
11124
 
   { (exit 1); exit 1; }; }
 
9217
  as_fn_error "conditional \"TARGET_OS_ENV_QNX\" was never defined.
 
9218
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11125
9219
fi
11126
9220
if test -z "${TARGET_OS_ENV_UNKNOWN_TRUE}" && test -z "${TARGET_OS_ENV_UNKNOWN_FALSE}"; then
11127
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"TARGET_OS_ENV_UNKNOWN\" was never defined.
11128
 
Usually this means the macro was only invoked conditionally." >&5
11129
 
$as_echo "$as_me: error: conditional \"TARGET_OS_ENV_UNKNOWN\" was never defined.
11130
 
Usually this means the macro was only invoked conditionally." >&2;}
11131
 
   { (exit 1); exit 1; }; }
 
9221
  as_fn_error "conditional \"TARGET_OS_ENV_UNKNOWN\" was never defined.
 
9222
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11132
9223
fi
11133
9224
if test -z "${BUILD_OS_KERNEL_LINUX_TRUE}" && test -z "${BUILD_OS_KERNEL_LINUX_FALSE}"; then
11134
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_OS_KERNEL_LINUX\" was never defined.
11135
 
Usually this means the macro was only invoked conditionally." >&5
11136
 
$as_echo "$as_me: error: conditional \"BUILD_OS_KERNEL_LINUX\" was never defined.
11137
 
Usually this means the macro was only invoked conditionally." >&2;}
11138
 
   { (exit 1); exit 1; }; }
 
9225
  as_fn_error "conditional \"BUILD_OS_KERNEL_LINUX\" was never defined.
 
9226
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11139
9227
fi
11140
9228
if test -z "${BUILD_OS_KERNEL_WINDOWS32_TRUE}" && test -z "${BUILD_OS_KERNEL_WINDOWS32_FALSE}"; then
11141
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_OS_KERNEL_WINDOWS32\" was never defined.
11142
 
Usually this means the macro was only invoked conditionally." >&5
11143
 
$as_echo "$as_me: error: conditional \"BUILD_OS_KERNEL_WINDOWS32\" was never defined.
11144
 
Usually this means the macro was only invoked conditionally." >&2;}
11145
 
   { (exit 1); exit 1; }; }
 
9229
  as_fn_error "conditional \"BUILD_OS_KERNEL_WINDOWS32\" was never defined.
 
9230
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11146
9231
fi
11147
9232
if test -z "${BUILD_OS_KERNEL_WINDOWS64_TRUE}" && test -z "${BUILD_OS_KERNEL_WINDOWS64_FALSE}"; then
11148
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_OS_KERNEL_WINDOWS64\" was never defined.
11149
 
Usually this means the macro was only invoked conditionally." >&5
11150
 
$as_echo "$as_me: error: conditional \"BUILD_OS_KERNEL_WINDOWS64\" was never defined.
11151
 
Usually this means the macro was only invoked conditionally." >&2;}
11152
 
   { (exit 1); exit 1; }; }
 
9233
  as_fn_error "conditional \"BUILD_OS_KERNEL_WINDOWS64\" was never defined.
 
9234
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11153
9235
fi
11154
9236
if test -z "${BUILD_OS_KERNEL_INTERIX_TRUE}" && test -z "${BUILD_OS_KERNEL_INTERIX_FALSE}"; then
11155
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_OS_KERNEL_INTERIX\" was never defined.
11156
 
Usually this means the macro was only invoked conditionally." >&5
11157
 
$as_echo "$as_me: error: conditional \"BUILD_OS_KERNEL_INTERIX\" was never defined.
11158
 
Usually this means the macro was only invoked conditionally." >&2;}
11159
 
   { (exit 1); exit 1; }; }
 
9237
  as_fn_error "conditional \"BUILD_OS_KERNEL_INTERIX\" was never defined.
 
9238
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11160
9239
fi
11161
9240
if test -z "${BUILD_OS_KERNEL_FREEBSD_TRUE}" && test -z "${BUILD_OS_KERNEL_FREEBSD_FALSE}"; then
11162
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_OS_KERNEL_FREEBSD\" was never defined.
11163
 
Usually this means the macro was only invoked conditionally." >&5
11164
 
$as_echo "$as_me: error: conditional \"BUILD_OS_KERNEL_FREEBSD\" was never defined.
11165
 
Usually this means the macro was only invoked conditionally." >&2;}
11166
 
   { (exit 1); exit 1; }; }
 
9241
  as_fn_error "conditional \"BUILD_OS_KERNEL_FREEBSD\" was never defined.
 
9242
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11167
9243
fi
11168
9244
if test -z "${BUILD_OS_KERNEL_DRAGONFLY_TRUE}" && test -z "${BUILD_OS_KERNEL_DRAGONFLY_FALSE}"; then
11169
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_OS_KERNEL_DRAGONFLY\" was never defined.
11170
 
Usually this means the macro was only invoked conditionally." >&5
11171
 
$as_echo "$as_me: error: conditional \"BUILD_OS_KERNEL_DRAGONFLY\" was never defined.
11172
 
Usually this means the macro was only invoked conditionally." >&2;}
11173
 
   { (exit 1); exit 1; }; }
 
9245
  as_fn_error "conditional \"BUILD_OS_KERNEL_DRAGONFLY\" was never defined.
 
9246
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11174
9247
fi
11175
9248
if test -z "${BUILD_OS_KERNEL_OPENBSD_TRUE}" && test -z "${BUILD_OS_KERNEL_OPENBSD_FALSE}"; then
11176
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_OS_KERNEL_OPENBSD\" was never defined.
11177
 
Usually this means the macro was only invoked conditionally." >&5
11178
 
$as_echo "$as_me: error: conditional \"BUILD_OS_KERNEL_OPENBSD\" was never defined.
11179
 
Usually this means the macro was only invoked conditionally." >&2;}
11180
 
   { (exit 1); exit 1; }; }
 
9249
  as_fn_error "conditional \"BUILD_OS_KERNEL_OPENBSD\" was never defined.
 
9250
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11181
9251
fi
11182
9252
if test -z "${BUILD_OS_KERNEL_NETBSD_TRUE}" && test -z "${BUILD_OS_KERNEL_NETBSD_FALSE}"; then
11183
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_OS_KERNEL_NETBSD\" was never defined.
11184
 
Usually this means the macro was only invoked conditionally." >&5
11185
 
$as_echo "$as_me: error: conditional \"BUILD_OS_KERNEL_NETBSD\" was never defined.
11186
 
Usually this means the macro was only invoked conditionally." >&2;}
11187
 
   { (exit 1); exit 1; }; }
 
9253
  as_fn_error "conditional \"BUILD_OS_KERNEL_NETBSD\" was never defined.
 
9254
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11188
9255
fi
11189
9256
if test -z "${BUILD_OS_KERNEL_SOLARIS_TRUE}" && test -z "${BUILD_OS_KERNEL_SOLARIS_FALSE}"; then
11190
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_OS_KERNEL_SOLARIS\" was never defined.
11191
 
Usually this means the macro was only invoked conditionally." >&5
11192
 
$as_echo "$as_me: error: conditional \"BUILD_OS_KERNEL_SOLARIS\" was never defined.
11193
 
Usually this means the macro was only invoked conditionally." >&2;}
11194
 
   { (exit 1); exit 1; }; }
 
9257
  as_fn_error "conditional \"BUILD_OS_KERNEL_SOLARIS\" was never defined.
 
9258
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11195
9259
fi
11196
9260
if test -z "${BUILD_OS_KERNEL_DARWIN_TRUE}" && test -z "${BUILD_OS_KERNEL_DARWIN_FALSE}"; then
11197
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_OS_KERNEL_DARWIN\" was never defined.
11198
 
Usually this means the macro was only invoked conditionally." >&5
11199
 
$as_echo "$as_me: error: conditional \"BUILD_OS_KERNEL_DARWIN\" was never defined.
11200
 
Usually this means the macro was only invoked conditionally." >&2;}
11201
 
   { (exit 1); exit 1; }; }
 
9261
  as_fn_error "conditional \"BUILD_OS_KERNEL_DARWIN\" was never defined.
 
9262
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11202
9263
fi
11203
9264
if test -z "${BUILD_OS_KERNEL_QNX_TRUE}" && test -z "${BUILD_OS_KERNEL_QNX_FALSE}"; then
11204
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_OS_KERNEL_QNX\" was never defined.
11205
 
Usually this means the macro was only invoked conditionally." >&5
11206
 
$as_echo "$as_me: error: conditional \"BUILD_OS_KERNEL_QNX\" was never defined.
11207
 
Usually this means the macro was only invoked conditionally." >&2;}
11208
 
   { (exit 1); exit 1; }; }
 
9265
  as_fn_error "conditional \"BUILD_OS_KERNEL_QNX\" was never defined.
 
9266
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11209
9267
fi
11210
9268
if test -z "${BUILD_OS_KERNEL_UNKNOWN_TRUE}" && test -z "${BUILD_OS_KERNEL_UNKNOWN_FALSE}"; then
11211
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_OS_KERNEL_UNKNOWN\" was never defined.
11212
 
Usually this means the macro was only invoked conditionally." >&5
11213
 
$as_echo "$as_me: error: conditional \"BUILD_OS_KERNEL_UNKNOWN\" was never defined.
11214
 
Usually this means the macro was only invoked conditionally." >&2;}
11215
 
   { (exit 1); exit 1; }; }
 
9269
  as_fn_error "conditional \"BUILD_OS_KERNEL_UNKNOWN\" was never defined.
 
9270
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11216
9271
fi
11217
9272
if test -z "${BUILD_OS_KERNEL_FAMILY_WINDOWS_TRUE}" && test -z "${BUILD_OS_KERNEL_FAMILY_WINDOWS_FALSE}"; then
11218
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_OS_KERNEL_FAMILY_WINDOWS\" was never defined.
11219
 
Usually this means the macro was only invoked conditionally." >&5
11220
 
$as_echo "$as_me: error: conditional \"BUILD_OS_KERNEL_FAMILY_WINDOWS\" was never defined.
11221
 
Usually this means the macro was only invoked conditionally." >&2;}
11222
 
   { (exit 1); exit 1; }; }
 
9273
  as_fn_error "conditional \"BUILD_OS_KERNEL_FAMILY_WINDOWS\" was never defined.
 
9274
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11223
9275
fi
11224
9276
if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
11225
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_TESTS\" was never defined.
11226
 
Usually this means the macro was only invoked conditionally." >&5
11227
 
$as_echo "$as_me: error: conditional \"ENABLE_TESTS\" was never defined.
11228
 
Usually this means the macro was only invoked conditionally." >&2;}
11229
 
   { (exit 1); exit 1; }; }
 
9277
  as_fn_error "conditional \"ENABLE_TESTS\" was never defined.
 
9278
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11230
9279
fi
11231
9280
if test -z "${ENABLE_LIBGLADE_TRUE}" && test -z "${ENABLE_LIBGLADE_FALSE}"; then
11232
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_LIBGLADE\" was never defined.
11233
 
Usually this means the macro was only invoked conditionally." >&5
11234
 
$as_echo "$as_me: error: conditional \"ENABLE_LIBGLADE\" was never defined.
11235
 
Usually this means the macro was only invoked conditionally." >&2;}
11236
 
   { (exit 1); exit 1; }; }
 
9281
  as_fn_error "conditional \"ENABLE_LIBGLADE\" was never defined.
 
9282
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11237
9283
fi
11238
9284
if test -z "${ENABLE_GTKBUILDER_TRUE}" && test -z "${ENABLE_GTKBUILDER_FALSE}"; then
11239
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_GTKBUILDER\" was never defined.
11240
 
Usually this means the macro was only invoked conditionally." >&5
11241
 
$as_echo "$as_me: error: conditional \"ENABLE_GTKBUILDER\" was never defined.
11242
 
Usually this means the macro was only invoked conditionally." >&2;}
11243
 
   { (exit 1); exit 1; }; }
 
9285
  as_fn_error "conditional \"ENABLE_GTKBUILDER\" was never defined.
 
9286
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11244
9287
fi
11245
9288
 
11246
9289
: ${CONFIG_STATUS=./config.status}
11247
9290
ac_write_fail=0
11248
9291
ac_clean_files_save=$ac_clean_files
11249
9292
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11250
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
9293
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11251
9294
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11252
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
9295
as_write_fail=0
 
9296
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11253
9297
#! $SHELL
11254
9298
# Generated by $as_me.
11255
9299
# Run this file to recreate the current configuration.
11259
9303
debug=false
11260
9304
ac_cs_recheck=false
11261
9305
ac_cs_silent=false
 
9306
 
11262
9307
SHELL=\${CONFIG_SHELL-$SHELL}
11263
 
_ACEOF
11264
 
 
11265
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11266
 
## --------------------- ##
11267
 
## M4sh Initialization.  ##
11268
 
## --------------------- ##
 
9308
export SHELL
 
9309
_ASEOF
 
9310
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
9311
## -------------------- ##
 
9312
## M4sh Initialization. ##
 
9313
## -------------------- ##
11269
9314
 
11270
9315
# Be more Bourne compatible
11271
9316
DUALCASE=1; export DUALCASE # for MKS sh
11272
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
9317
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11273
9318
  emulate sh
11274
9319
  NULLCMD=:
11275
9320
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11277
9322
  alias -g '${1+"$@"}'='"$@"'
11278
9323
  setopt NO_GLOB_SUBST
11279
9324
else
11280
 
  case `(set -o) 2>/dev/null` in
11281
 
  *posix*) set -o posix ;;
 
9325
  case `(set -o) 2>/dev/null` in #(
 
9326
  *posix*) :
 
9327
    set -o posix ;; #(
 
9328
  *) :
 
9329
     ;;
11282
9330
esac
11283
 
 
11284
9331
fi
11285
9332
 
11286
9333
 
11287
 
 
11288
 
 
11289
 
# PATH needs CR
11290
 
# Avoid depending upon Character Ranges.
11291
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11292
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11293
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11294
 
as_cr_digits='0123456789'
11295
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
11296
 
 
11297
9334
as_nl='
11298
9335
'
11299
9336
export as_nl
11301
9338
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11302
9339
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11303
9340
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11304
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
9341
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
9342
# but without wasting forks for bash or zsh.
 
9343
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
9344
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
9345
  as_echo='print -r --'
 
9346
  as_echo_n='print -rn --'
 
9347
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11305
9348
  as_echo='printf %s\n'
11306
9349
  as_echo_n='printf %s'
11307
9350
else
11312
9355
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11313
9356
    as_echo_n_body='eval
11314
9357
      arg=$1;
11315
 
      case $arg in
 
9358
      case $arg in #(
11316
9359
      *"$as_nl"*)
11317
9360
        expr "X$arg" : "X\\(.*\\)$as_nl";
11318
9361
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11335
9378
  }
11336
9379
fi
11337
9380
 
11338
 
# Support unset when possible.
11339
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11340
 
  as_unset=unset
11341
 
else
11342
 
  as_unset=false
11343
 
fi
11344
 
 
11345
9381
 
11346
9382
# IFS
11347
9383
# We need space, tab and new line, in precisely that order.  Quoting is
11351
9387
IFS=" ""        $as_nl"
11352
9388
 
11353
9389
# Find who we are.  Look in the path if we contain no directory separator.
11354
 
case $0 in
 
9390
case $0 in #((
11355
9391
  *[\\/]* ) as_myself=$0 ;;
11356
9392
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11357
9393
for as_dir in $PATH
11358
9394
do
11359
9395
  IFS=$as_save_IFS
11360
9396
  test -z "$as_dir" && as_dir=.
11361
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11362
 
done
 
9397
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
9398
  done
11363
9399
IFS=$as_save_IFS
11364
9400
 
11365
9401
     ;;
11371
9407
fi
11372
9408
if test ! -f "$as_myself"; then
11373
9409
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11374
 
  { (exit 1); exit 1; }
 
9410
  exit 1
11375
9411
fi
11376
9412
 
11377
 
# Work around bugs in pre-3.0 UWIN ksh.
11378
 
for as_var in ENV MAIL MAILPATH
11379
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
9413
# Unset variables that we do not need and which cause bugs (e.g. in
 
9414
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
9415
# suppresses any "Segmentation fault" message there.  '((' could
 
9416
# trigger a bug in pdksh 5.2.14.
 
9417
for as_var in BASH_ENV ENV MAIL MAILPATH
 
9418
do eval test x\${$as_var+set} = xset \
 
9419
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11380
9420
done
11381
9421
PS1='$ '
11382
9422
PS2='> '
11388
9428
LANGUAGE=C
11389
9429
export LANGUAGE
11390
9430
 
11391
 
# Required to use basename.
 
9431
# CDPATH.
 
9432
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
9433
 
 
9434
 
 
9435
# as_fn_error ERROR [LINENO LOG_FD]
 
9436
# ---------------------------------
 
9437
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
9438
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
9439
# script with status $?, using 1 if that was 0.
 
9440
as_fn_error ()
 
9441
{
 
9442
  as_status=$?; test $as_status -eq 0 && as_status=1
 
9443
  if test "$3"; then
 
9444
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
9445
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
9446
  fi
 
9447
  $as_echo "$as_me: error: $1" >&2
 
9448
  as_fn_exit $as_status
 
9449
} # as_fn_error
 
9450
 
 
9451
 
 
9452
# as_fn_set_status STATUS
 
9453
# -----------------------
 
9454
# Set $? to STATUS, without forking.
 
9455
as_fn_set_status ()
 
9456
{
 
9457
  return $1
 
9458
} # as_fn_set_status
 
9459
 
 
9460
# as_fn_exit STATUS
 
9461
# -----------------
 
9462
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
9463
as_fn_exit ()
 
9464
{
 
9465
  set +e
 
9466
  as_fn_set_status $1
 
9467
  exit $1
 
9468
} # as_fn_exit
 
9469
 
 
9470
# as_fn_unset VAR
 
9471
# ---------------
 
9472
# Portably unset VAR.
 
9473
as_fn_unset ()
 
9474
{
 
9475
  { eval $1=; unset $1;}
 
9476
}
 
9477
as_unset=as_fn_unset
 
9478
# as_fn_append VAR VALUE
 
9479
# ----------------------
 
9480
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
9481
# advantage of any shell optimizations that allow amortized linear growth over
 
9482
# repeated appends, instead of the typical quadratic growth present in naive
 
9483
# implementations.
 
9484
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
9485
  eval 'as_fn_append ()
 
9486
  {
 
9487
    eval $1+=\$2
 
9488
  }'
 
9489
else
 
9490
  as_fn_append ()
 
9491
  {
 
9492
    eval $1=\$$1\$2
 
9493
  }
 
9494
fi # as_fn_append
 
9495
 
 
9496
# as_fn_arith ARG...
 
9497
# ------------------
 
9498
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
9499
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
9500
# must be portable across $(()) and expr.
 
9501
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
9502
  eval 'as_fn_arith ()
 
9503
  {
 
9504
    as_val=$(( $* ))
 
9505
  }'
 
9506
else
 
9507
  as_fn_arith ()
 
9508
  {
 
9509
    as_val=`expr "$@" || test $? -eq 1`
 
9510
  }
 
9511
fi # as_fn_arith
 
9512
 
 
9513
 
11392
9514
if expr a : '\(a\)' >/dev/null 2>&1 &&
11393
9515
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
11394
9516
  as_expr=expr
11402
9524
  as_basename=false
11403
9525
fi
11404
9526
 
 
9527
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
9528
  as_dirname=dirname
 
9529
else
 
9530
  as_dirname=false
 
9531
fi
11405
9532
 
11406
 
# Name of the executable.
11407
9533
as_me=`$as_basename -- "$0" ||
11408
9534
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11409
9535
         X"$0" : 'X\(//\)$' \| \
11423
9549
          }
11424
9550
          s/.*/./; q'`
11425
9551
 
11426
 
# CDPATH.
11427
 
$as_unset CDPATH
11428
 
 
11429
 
 
11430
 
 
11431
 
  as_lineno_1=$LINENO
11432
 
  as_lineno_2=$LINENO
11433
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
11434
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
11435
 
 
11436
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11437
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
11438
 
  # line-number line after each line using $LINENO; the second 'sed'
11439
 
  # does the real work.  The second script uses 'N' to pair each
11440
 
  # line-number line with the line containing $LINENO, and appends
11441
 
  # trailing '-' during substitution so that $LINENO is not a special
11442
 
  # case at line end.
11443
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11444
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
11445
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
11446
 
  sed -n '
11447
 
    p
11448
 
    /[$]LINENO/=
11449
 
  ' <$as_myself |
11450
 
    sed '
11451
 
      s/[$]LINENO.*/&-/
11452
 
      t lineno
11453
 
      b
11454
 
      :lineno
11455
 
      N
11456
 
      :loop
11457
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11458
 
      t loop
11459
 
      s/-\n.*//
11460
 
    ' >$as_me.lineno &&
11461
 
  chmod +x "$as_me.lineno" ||
11462
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11463
 
   { (exit 1); exit 1; }; }
11464
 
 
11465
 
  # Don't try to exec as it changes $[0], causing all sort of problems
11466
 
  # (the dirname of $[0] is not the place where we might find the
11467
 
  # original and so on.  Autoconf is especially sensitive to this).
11468
 
  . "./$as_me.lineno"
11469
 
  # Exit status is that of the last command.
11470
 
  exit
11471
 
}
11472
 
 
11473
 
 
11474
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11475
 
  as_dirname=dirname
11476
 
else
11477
 
  as_dirname=false
11478
 
fi
 
9552
# Avoid depending upon Character Ranges.
 
9553
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
9554
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
9555
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
9556
as_cr_digits='0123456789'
 
9557
as_cr_alnum=$as_cr_Letters$as_cr_digits
11479
9558
 
11480
9559
ECHO_C= ECHO_N= ECHO_T=
11481
 
case `echo -n x` in
 
9560
case `echo -n x` in #(((((
11482
9561
-n*)
11483
 
  case `echo 'x\c'` in
 
9562
  case `echo 'xy\c'` in
11484
9563
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
11485
 
  *)   ECHO_C='\c';;
 
9564
  xy)  ECHO_C='\c';;
 
9565
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
9566
       ECHO_T=' ';;
11486
9567
  esac;;
11487
9568
*)
11488
9569
  ECHO_N='-n';;
11489
9570
esac
11490
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
11491
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
11492
 
  as_expr=expr
11493
 
else
11494
 
  as_expr=false
11495
 
fi
11496
9571
 
11497
9572
rm -f conf$$ conf$$.exe conf$$.file
11498
9573
if test -d conf$$.dir; then
11521
9596
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11522
9597
rmdir conf$$.dir 2>/dev/null
11523
9598
 
 
9599
 
 
9600
# as_fn_mkdir_p
 
9601
# -------------
 
9602
# Create "$as_dir" as a directory, including parents if necessary.
 
9603
as_fn_mkdir_p ()
 
9604
{
 
9605
 
 
9606
  case $as_dir in #(
 
9607
  -*) as_dir=./$as_dir;;
 
9608
  esac
 
9609
  test -d "$as_dir" || eval $as_mkdir_p || {
 
9610
    as_dirs=
 
9611
    while :; do
 
9612
      case $as_dir in #(
 
9613
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
9614
      *) as_qdir=$as_dir;;
 
9615
      esac
 
9616
      as_dirs="'$as_qdir' $as_dirs"
 
9617
      as_dir=`$as_dirname -- "$as_dir" ||
 
9618
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
9619
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
9620
         X"$as_dir" : 'X\(//\)$' \| \
 
9621
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
9622
$as_echo X"$as_dir" |
 
9623
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
9624
            s//\1/
 
9625
            q
 
9626
          }
 
9627
          /^X\(\/\/\)[^/].*/{
 
9628
            s//\1/
 
9629
            q
 
9630
          }
 
9631
          /^X\(\/\/\)$/{
 
9632
            s//\1/
 
9633
            q
 
9634
          }
 
9635
          /^X\(\/\).*/{
 
9636
            s//\1/
 
9637
            q
 
9638
          }
 
9639
          s/.*/./; q'`
 
9640
      test -d "$as_dir" && break
 
9641
    done
 
9642
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
9643
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
9644
 
 
9645
 
 
9646
} # as_fn_mkdir_p
11524
9647
if mkdir -p . 2>/dev/null; then
11525
 
  as_mkdir_p=:
 
9648
  as_mkdir_p='mkdir -p "$as_dir"'
11526
9649
else
11527
9650
  test -d ./-p && rmdir ./-p
11528
9651
  as_mkdir_p=false
11541
9664
      if test -d "$1"; then
11542
9665
        test -d "$1/.";
11543
9666
      else
11544
 
        case $1 in
 
9667
        case $1 in #(
11545
9668
        -*)set "./$1";;
11546
9669
        esac;
11547
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
9670
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11548
9671
        ???[sx]*):;;*)false;;esac;fi
11549
9672
    '\'' sh
11550
9673
  '
11559
9682
 
11560
9683
 
11561
9684
exec 6>&1
 
9685
## ----------------------------------- ##
 
9686
## Main body of $CONFIG_STATUS script. ##
 
9687
## ----------------------------------- ##
 
9688
_ASEOF
 
9689
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
11562
9690
 
11563
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
9691
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
9692
# Save the log message, to keep $0 and so on meaningful, and to
11564
9693
# report actual input values of CONFIG_FILES etc. instead of their
11565
9694
# values after options handling.
11566
9695
ac_log="
11567
 
This file was extended by GSmartControl $as_me 0.8.5, which was
11568
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
9696
This file was extended by GSmartControl $as_me 0.8.6, which was
 
9697
generated by GNU Autoconf 2.65.  Invocation command line was
11569
9698
 
11570
9699
  CONFIG_FILES    = $CONFIG_FILES
11571
9700
  CONFIG_HEADERS  = $CONFIG_HEADERS
11597
9726
 
11598
9727
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11599
9728
ac_cs_usage="\
11600
 
\`$as_me' instantiates files from templates according to the
11601
 
current configuration.
 
9729
\`$as_me' instantiates files and other configuration actions
 
9730
from templates according to the current configuration.  Unless the files
 
9731
and actions are specified as TAGs, all are instantiated by default.
11602
9732
 
11603
 
Usage: $0 [OPTION]... [FILE]...
 
9733
Usage: $0 [OPTION]... [TAG]...
11604
9734
 
11605
9735
  -h, --help       print this help, then exit
11606
9736
  -V, --version    print version number and configuration settings, then exit
 
9737
      --config     print configuration, then exit
11607
9738
  -q, --quiet, --silent
11608
9739
                   do not print progress messages
11609
9740
  -d, --debug      don't remove temporary files
11622
9753
Configuration commands:
11623
9754
$config_commands
11624
9755
 
11625
 
Report bugs to <bug-autoconf@gnu.org>."
 
9756
Report bugs to the package provider."
11626
9757
 
11627
9758
_ACEOF
11628
9759
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
9760
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11629
9761
ac_cs_version="\\
11630
 
GSmartControl config.status 0.8.5
11631
 
configured by $0, generated by GNU Autoconf 2.63,
11632
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
9762
GSmartControl config.status 0.8.6
 
9763
configured by $0, generated by GNU Autoconf 2.65,
 
9764
  with options \\"\$ac_cs_config\\"
11633
9765
 
11634
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
9766
Copyright (C) 2009 Free Software Foundation, Inc.
11635
9767
This config.status script is free software; the Free Software Foundation
11636
9768
gives unlimited permission to copy, distribute and modify it."
11637
9769
 
11667
9799
    ac_cs_recheck=: ;;
11668
9800
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11669
9801
    $as_echo "$ac_cs_version"; exit ;;
 
9802
  --config | --confi | --conf | --con | --co | --c )
 
9803
    $as_echo "$ac_cs_config"; exit ;;
11670
9804
  --debug | --debu | --deb | --de | --d | -d )
11671
9805
    debug=: ;;
11672
9806
  --file | --fil | --fi | --f )
11674
9808
    case $ac_optarg in
11675
9809
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11676
9810
    esac
11677
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
9811
    as_fn_append CONFIG_FILES " '$ac_optarg'"
11678
9812
    ac_need_defaults=false;;
11679
9813
  --header | --heade | --head | --hea )
11680
9814
    $ac_shift
11681
9815
    case $ac_optarg in
11682
9816
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11683
9817
    esac
11684
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
9818
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
11685
9819
    ac_need_defaults=false;;
11686
9820
  --he | --h)
11687
9821
    # Conflict between --help and --header
11688
 
    { $as_echo "$as_me: error: ambiguous option: $1
11689
 
Try \`$0 --help' for more information." >&2
11690
 
   { (exit 1); exit 1; }; };;
 
9822
    as_fn_error "ambiguous option: \`$1'
 
9823
Try \`$0 --help' for more information.";;
11691
9824
  --help | --hel | -h )
11692
9825
    $as_echo "$ac_cs_usage"; exit ;;
11693
9826
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11695
9828
    ac_cs_silent=: ;;
11696
9829
 
11697
9830
  # This is an error.
11698
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
11699
 
Try \`$0 --help' for more information." >&2
11700
 
   { (exit 1); exit 1; }; } ;;
 
9831
  -*) as_fn_error "unrecognized option: \`$1'
 
9832
Try \`$0 --help' for more information." ;;
11701
9833
 
11702
 
  *) ac_config_targets="$ac_config_targets $1"
 
9834
  *) as_fn_append ac_config_targets " $1"
11703
9835
     ac_need_defaults=false ;;
11704
9836
 
11705
9837
  esac
11754
9886
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11755
9887
    "data/gsmartcontrol.desktop") CONFIG_FILES="$CONFIG_FILES data/gsmartcontrol.desktop" ;;
11756
9888
    "data/nsis/distribution.txt") CONFIG_FILES="$CONFIG_FILES data/nsis/distribution.txt" ;;
 
9889
    "data/nsis/distribution-nogtk.txt") CONFIG_FILES="$CONFIG_FILES data/nsis/distribution-nogtk.txt" ;;
11757
9890
    "data/nsis/gsmartcontrol.nsi") CONFIG_FILES="$CONFIG_FILES data/nsis/gsmartcontrol.nsi" ;;
11758
9891
    "debian.dist/changelog") CONFIG_FILES="$CONFIG_FILES debian.dist/changelog" ;;
11759
9892
    "src/gsc_winres.rc") CONFIG_FILES="$CONFIG_FILES src/gsc_winres.rc" ;;
 
9893
    "src/gsmartcontrol.exe.manifest") CONFIG_FILES="$CONFIG_FILES src/gsmartcontrol.exe.manifest" ;;
11760
9894
    "gsmartcontrol.spec") CONFIG_FILES="$CONFIG_FILES gsmartcontrol.spec" ;;
11761
9895
    "version") CONFIG_FILES="$CONFIG_FILES version" ;;
11762
9896
    "compilation_flags") CONFIG_FILES="$CONFIG_FILES compilation_flags" ;;
11782
9916
    "data/nsis/Makefile") CONFIG_FILES="$CONFIG_FILES data/nsis/Makefile" ;;
11783
9917
    "debian.dist/Makefile") CONFIG_FILES="$CONFIG_FILES debian.dist/Makefile" ;;
11784
9918
 
11785
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11786
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11787
 
   { (exit 1); exit 1; }; };;
 
9919
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11788
9920
  esac
11789
9921
done
11790
9922
 
11811
9943
  trap 'exit_status=$?
11812
9944
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11813
9945
' 0
11814
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
9946
  trap 'as_fn_exit 1' 1 2 13 15
11815
9947
}
11816
9948
# Create a (secure) tmp directory for tmp files.
11817
9949
 
11822
9954
{
11823
9955
  tmp=./conf$$-$RANDOM
11824
9956
  (umask 077 && mkdir "$tmp")
11825
 
} ||
11826
 
{
11827
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
11828
 
   { (exit 1); exit 1; }
11829
 
}
 
9957
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
11830
9958
 
11831
9959
# Set up the scripts for CONFIG_FILES section.
11832
9960
# No need to generate them if there are no CONFIG_FILES.
11834
9962
if test -n "$CONFIG_FILES"; then
11835
9963
 
11836
9964
 
11837
 
ac_cr='
 
 
b"'"
 
9965
ac_cr=`echo X | tr X '\015'`
 
9966
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
9967
# But we know of no other shell where ac_cr would be empty at this
 
9968
# point, so we can use a bashism as a fallback.
 
9969
if test "x$ac_cr" = x; then
 
9970
  eval ac_cr=\$\'\\r\'
 
9971
fi
11838
9972
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11839
9973
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11840
 
  ac_cs_awk_cr='\\r'
 
9974
  ac_cs_awk_cr='\r'
11841
9975
else
11842
9976
  ac_cs_awk_cr=$ac_cr
11843
9977
fi
11851
9985
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11852
9986
  echo "_ACEOF"
11853
9987
} >conf$$subs.sh ||
11854
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11855
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11856
 
   { (exit 1); exit 1; }; }
 
9988
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
11857
9989
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
11858
9990
ac_delim='%!_!# '
11859
9991
for ac_last_try in false false false false false :; do
11860
9992
  . ./conf$$subs.sh ||
11861
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11862
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11863
 
   { (exit 1); exit 1; }; }
 
9993
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
11864
9994
 
11865
9995
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
11866
9996
  if test $ac_delim_n = $ac_delim_num; then
11867
9997
    break
11868
9998
  elif $ac_last_try; then
11869
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11870
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11871
 
   { (exit 1); exit 1; }; }
 
9999
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
11872
10000
  else
11873
10001
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11874
10002
  fi
11890
10018
t delim
11891
10019
:nl
11892
10020
h
11893
 
s/\(.\{148\}\).*/\1/
 
10021
s/\(.\{148\}\)..*/\1/
11894
10022
t more1
11895
10023
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
11896
10024
p
11904
10032
t nl
11905
10033
:delim
11906
10034
h
11907
 
s/\(.\{148\}\).*/\1/
 
10035
s/\(.\{148\}\)..*/\1/
11908
10036
t more2
11909
10037
s/["\\]/\\&/g; s/^/"/; s/$/"/
11910
10038
p
11957
10085
else
11958
10086
  cat
11959
10087
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
11960
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
11961
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
11962
 
   { (exit 1); exit 1; }; }
 
10088
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
11963
10089
_ACEOF
11964
10090
 
11965
10091
# VPATH may cause trouble with some makes, so we remove $(srcdir),
12000
10126
  if test -z "$ac_t"; then
12001
10127
    break
12002
10128
  elif $ac_last_try; then
12003
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
12004
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
12005
 
   { (exit 1); exit 1; }; }
 
10129
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
12006
10130
  else
12007
10131
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12008
10132
  fi
12087
10211
_ACAWK
12088
10212
_ACEOF
12089
10213
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12090
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
12091
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
12092
 
   { (exit 1); exit 1; }; }
 
10214
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
12093
10215
fi # test -n "$CONFIG_HEADERS"
12094
10216
 
12095
10217
 
12102
10224
  esac
12103
10225
  case $ac_mode$ac_tag in
12104
10226
  :[FHL]*:*);;
12105
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
12106
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
12107
 
   { (exit 1); exit 1; }; };;
 
10227
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
12108
10228
  :[FH]-) ac_tag=-:-;;
12109
10229
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12110
10230
  esac
12132
10252
           [\\/$]*) false;;
12133
10253
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12134
10254
           esac ||
12135
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
12136
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
12137
 
   { (exit 1); exit 1; }; };;
 
10255
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12138
10256
      esac
12139
10257
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12140
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
10258
      as_fn_append ac_file_inputs " '$ac_f'"
12141
10259
    done
12142
10260
 
12143
10261
    # Let's still pretend it is `configure' which instantiates (i.e., don't
12148
10266
        `' by configure.'
12149
10267
    if test x"$ac_file" != x-; then
12150
10268
      configure_input="$ac_file.  $configure_input"
12151
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
10269
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12152
10270
$as_echo "$as_me: creating $ac_file" >&6;}
12153
10271
    fi
12154
10272
    # Neutralize special characters interpreted by sed in replacement strings.
12161
10279
 
12162
10280
    case $ac_tag in
12163
10281
    *:-:* | *:-) cat >"$tmp/stdin" \
12164
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12165
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
12166
 
   { (exit 1); exit 1; }; } ;;
 
10282
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
12167
10283
    esac
12168
10284
    ;;
12169
10285
  esac
12191
10307
            q
12192
10308
          }
12193
10309
          s/.*/./; q'`
12194
 
  { as_dir="$ac_dir"
12195
 
  case $as_dir in #(
12196
 
  -*) as_dir=./$as_dir;;
12197
 
  esac
12198
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12199
 
    as_dirs=
12200
 
    while :; do
12201
 
      case $as_dir in #(
12202
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12203
 
      *) as_qdir=$as_dir;;
12204
 
      esac
12205
 
      as_dirs="'$as_qdir' $as_dirs"
12206
 
      as_dir=`$as_dirname -- "$as_dir" ||
12207
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12208
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12209
 
         X"$as_dir" : 'X\(//\)$' \| \
12210
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12211
 
$as_echo X"$as_dir" |
12212
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12213
 
            s//\1/
12214
 
            q
12215
 
          }
12216
 
          /^X\(\/\/\)[^/].*/{
12217
 
            s//\1/
12218
 
            q
12219
 
          }
12220
 
          /^X\(\/\/\)$/{
12221
 
            s//\1/
12222
 
            q
12223
 
          }
12224
 
          /^X\(\/\).*/{
12225
 
            s//\1/
12226
 
            q
12227
 
          }
12228
 
          s/.*/./; q'`
12229
 
      test -d "$as_dir" && break
12230
 
    done
12231
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12232
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12233
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
12234
 
   { (exit 1); exit 1; }; }; }
 
10310
  as_dir="$ac_dir"; as_fn_mkdir_p
12235
10311
  ac_builddir=.
12236
10312
 
12237
10313
case "$ac_dir" in
12288
10364
# If the template does not know about datarootdir, expand it.
12289
10365
# FIXME: This hack should be removed a few years after 2.60.
12290
10366
ac_datarootdir_hack=; ac_datarootdir_seen=
12291
 
 
12292
10367
ac_sed_dataroot='
12293
10368
/datarootdir/ {
12294
10369
  p
12298
10373
/@docdir@/p
12299
10374
/@infodir@/p
12300
10375
/@localedir@/p
12301
 
/@mandir@/p
12302
 
'
 
10376
/@mandir@/p'
12303
10377
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12304
10378
*datarootdir*) ac_datarootdir_seen=yes;;
12305
10379
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12306
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
10380
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12307
10381
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12308
10382
_ACEOF
12309
10383
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12313
10387
  s&@infodir@&$infodir&g
12314
10388
  s&@localedir@&$localedir&g
12315
10389
  s&@mandir@&$mandir&g
12316
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
10390
  s&\\\${datarootdir}&$datarootdir&g' ;;
12317
10391
esac
12318
10392
_ACEOF
12319
10393
 
12342
10416
$ac_datarootdir_hack
12343
10417
"
12344
10418
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
12345
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12346
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
12347
 
   { (exit 1); exit 1; }; }
 
10419
  || as_fn_error "could not create $ac_file" "$LINENO" 5
12348
10420
 
12349
10421
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12350
10422
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12351
10423
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
12352
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
10424
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12353
10425
which seems to be undefined.  Please make sure it is defined." >&5
12354
10426
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12355
10427
which seems to be undefined.  Please make sure it is defined." >&2;}
12359
10431
  -) cat "$tmp/out" && rm -f "$tmp/out";;
12360
10432
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12361
10433
  esac \
12362
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12363
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
12364
 
   { (exit 1); exit 1; }; }
 
10434
  || as_fn_error "could not create $ac_file" "$LINENO" 5
12365
10435
 ;;
12366
10436
  :H)
12367
10437
  #
12372
10442
      $as_echo "/* $configure_input  */" \
12373
10443
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12374
10444
    } >"$tmp/config.h" \
12375
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12376
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
12377
 
   { (exit 1); exit 1; }; }
 
10445
      || as_fn_error "could not create $ac_file" "$LINENO" 5
12378
10446
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12379
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
10447
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12380
10448
$as_echo "$as_me: $ac_file is unchanged" >&6;}
12381
10449
    else
12382
10450
      rm -f "$ac_file"
12383
10451
      mv "$tmp/config.h" "$ac_file" \
12384
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12385
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
12386
 
   { (exit 1); exit 1; }; }
 
10452
        || as_fn_error "could not create $ac_file" "$LINENO" 5
12387
10453
    fi
12388
10454
  else
12389
10455
    $as_echo "/* $configure_input  */" \
12390
10456
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12391
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
12392
 
$as_echo "$as_me: error: could not create -" >&2;}
12393
 
   { (exit 1); exit 1; }; }
 
10457
      || as_fn_error "could not create -" "$LINENO" 5
12394
10458
  fi
12395
10459
# Compute "$ac_file"'s index in $config_headers.
12396
10460
_am_arg="$ac_file"
12428
10492
          s/.*/./; q'`/stamp-h$_am_stamp_count
12429
10493
 ;;
12430
10494
 
12431
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
10495
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12432
10496
$as_echo "$as_me: executing $ac_file commands" >&6;}
12433
10497
 ;;
12434
10498
  esac
12435
10499
 
12436
10500
 
12437
10501
  case $ac_file$ac_mode in
12438
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
12439
 
  # Strip MF so we end up with the name of the file.
12440
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
12441
 
  # Check whether this is an Automake generated Makefile or not.
12442
 
  # We used to match only the files named `Makefile.in', but
12443
 
  # some people rename them; so instead we look at the file content.
12444
 
  # Grep'ing the first line is not enough: some people post-process
12445
 
  # each Makefile.in and add a new line on top of each file to say so.
12446
 
  # Grep'ing the whole file is not good either: AIX grep has a line
12447
 
  # limit of 2048, but all sed's we know have understand at least 4000.
12448
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12449
 
    dirpart=`$as_dirname -- "$mf" ||
 
10502
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
10503
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
10504
  # are listed without --file.  Let's play safe and only enable the eval
 
10505
  # if we detect the quoting.
 
10506
  case $CONFIG_FILES in
 
10507
  *\'*) eval set x "$CONFIG_FILES" ;;
 
10508
  *)   set x $CONFIG_FILES ;;
 
10509
  esac
 
10510
  shift
 
10511
  for mf
 
10512
  do
 
10513
    # Strip MF so we end up with the name of the file.
 
10514
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
10515
    # Check whether this is an Automake generated Makefile or not.
 
10516
    # We used to match only the files named `Makefile.in', but
 
10517
    # some people rename them; so instead we look at the file content.
 
10518
    # Grep'ing the first line is not enough: some people post-process
 
10519
    # each Makefile.in and add a new line on top of each file to say so.
 
10520
    # Grep'ing the whole file is not good either: AIX grep has a line
 
10521
    # limit of 2048, but all sed's we know have understand at least 4000.
 
10522
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
10523
      dirpart=`$as_dirname -- "$mf" ||
12450
10524
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12451
10525
         X"$mf" : 'X\(//\)[^/]' \| \
12452
10526
         X"$mf" : 'X\(//\)$' \| \
12469
10543
            q
12470
10544
          }
12471
10545
          s/.*/./; q'`
12472
 
  else
12473
 
    continue
12474
 
  fi
12475
 
  # Extract the definition of DEPDIR, am__include, and am__quote
12476
 
  # from the Makefile without running `make'.
12477
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12478
 
  test -z "$DEPDIR" && continue
12479
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
12480
 
  test -z "am__include" && continue
12481
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12482
 
  # When using ansi2knr, U may be empty or an underscore; expand it
12483
 
  U=`sed -n 's/^U = //p' < "$mf"`
12484
 
  # Find all dependency output files, they are included files with
12485
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
12486
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
12487
 
  # expansion.
12488
 
  for file in `sed -n "
12489
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12490
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12491
 
    # Make sure the directory exists.
12492
 
    test -f "$dirpart/$file" && continue
12493
 
    fdir=`$as_dirname -- "$file" ||
 
10546
    else
 
10547
      continue
 
10548
    fi
 
10549
    # Extract the definition of DEPDIR, am__include, and am__quote
 
10550
    # from the Makefile without running `make'.
 
10551
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
10552
    test -z "$DEPDIR" && continue
 
10553
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
10554
    test -z "am__include" && continue
 
10555
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
10556
    # When using ansi2knr, U may be empty or an underscore; expand it
 
10557
    U=`sed -n 's/^U = //p' < "$mf"`
 
10558
    # Find all dependency output files, they are included files with
 
10559
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
10560
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
10561
    # expansion.
 
10562
    for file in `sed -n "
 
10563
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
10564
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
10565
      # Make sure the directory exists.
 
10566
      test -f "$dirpart/$file" && continue
 
10567
      fdir=`$as_dirname -- "$file" ||
12494
10568
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12495
10569
         X"$file" : 'X\(//\)[^/]' \| \
12496
10570
         X"$file" : 'X\(//\)$' \| \
12513
10587
            q
12514
10588
          }
12515
10589
          s/.*/./; q'`
12516
 
    { as_dir=$dirpart/$fdir
12517
 
  case $as_dir in #(
12518
 
  -*) as_dir=./$as_dir;;
12519
 
  esac
12520
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12521
 
    as_dirs=
12522
 
    while :; do
12523
 
      case $as_dir in #(
12524
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12525
 
      *) as_qdir=$as_dir;;
12526
 
      esac
12527
 
      as_dirs="'$as_qdir' $as_dirs"
12528
 
      as_dir=`$as_dirname -- "$as_dir" ||
12529
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12530
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12531
 
         X"$as_dir" : 'X\(//\)$' \| \
12532
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12533
 
$as_echo X"$as_dir" |
12534
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12535
 
            s//\1/
12536
 
            q
12537
 
          }
12538
 
          /^X\(\/\/\)[^/].*/{
12539
 
            s//\1/
12540
 
            q
12541
 
          }
12542
 
          /^X\(\/\/\)$/{
12543
 
            s//\1/
12544
 
            q
12545
 
          }
12546
 
          /^X\(\/\).*/{
12547
 
            s//\1/
12548
 
            q
12549
 
          }
12550
 
          s/.*/./; q'`
12551
 
      test -d "$as_dir" && break
 
10590
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
10591
      # echo "creating $dirpart/$file"
 
10592
      echo '# dummy' > "$dirpart/$file"
12552
10593
    done
12553
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12554
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12555
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
12556
 
   { (exit 1); exit 1; }; }; }
12557
 
    # echo "creating $dirpart/$file"
12558
 
    echo '# dummy' > "$dirpart/$file"
12559
10594
  done
12560
 
done
 
10595
}
12561
10596
 ;;
12562
10597
    "data/gsmartcontrol-root":F) chmod +x data/gsmartcontrol-root ;;
12563
10598
 
12565
10600
done # for ac_tag
12566
10601
 
12567
10602
 
12568
 
{ (exit 0); exit 0; }
 
10603
as_fn_exit 0
12569
10604
_ACEOF
12570
 
chmod +x $CONFIG_STATUS
12571
10605
ac_clean_files=$ac_clean_files_save
12572
10606
 
12573
10607
test $ac_write_fail = 0 ||
12574
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
12575
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
12576
 
   { (exit 1); exit 1; }; }
 
10608
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
12577
10609
 
12578
10610
 
12579
10611
# configure is writing to config.log, and then calls config.status.
12594
10626
  exec 5>>config.log
12595
10627
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12596
10628
  # would make configure fail if this is the last instruction.
12597
 
  $ac_cs_success || { (exit 1); exit 1; }
 
10629
  $ac_cs_success || as_fn_exit $?
12598
10630
fi
12599
10631
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
12600
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
10632
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
12601
10633
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
12602
10634
fi
12603
10635