~ubuntu-branches/debian/squeeze/binutils/squeeze

« back to all changes in this revision

Viewing changes to gold/configure

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-09-10 17:05:30 UTC
  • mfrom: (1.4.5 upstream) (6.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090910170530-wa6gpju9pq5c56on
Tags: 2.19.91.20090910-1
* Snapshot, taken from the 2.20 release branch 20090910, corresponding
  to the 2.19.90 upstream snapshot.
* Fix Thumb-2 shared libraries (Daniel Jacobowitz), patch taken
  from the trunk.

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.59 for gold 0.1.
4
 
#
5
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
3
# Generated by GNU Autoconf 2.64 for gold 0.1.
 
4
#
 
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
 
7
# Foundation, Inc.
 
8
#
6
9
# This configure script is free software; the Free Software Foundation
7
10
# gives unlimited permission to copy, distribute and modify it.
8
 
## --------------------- ##
9
 
## M4sh Initialization.  ##
10
 
## --------------------- ##
 
11
## -------------------- ##
 
12
## M4sh Initialization. ##
 
13
## -------------------- ##
11
14
 
12
 
# Be Bourne compatible
13
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
15
# Be more Bourne compatible
 
16
DUALCASE=1; export DUALCASE # for MKS sh
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14
18
  emulate sh
15
19
  NULLCMD=:
16
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17
21
  # is contrary to our usage.  Disable this feature.
18
22
  alias -g '${1+"$@"}'='"$@"'
19
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20
 
  set -o posix
21
 
fi
22
 
DUALCASE=1; export DUALCASE # for MKS sh
23
 
 
24
 
# Support unset when possible.
25
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26
 
  as_unset=unset
27
 
else
28
 
  as_unset=false
29
 
fi
30
 
 
31
 
 
32
 
# Work around bugs in pre-3.0 UWIN ksh.
33
 
$as_unset ENV MAIL MAILPATH
 
23
  setopt NO_GLOB_SUBST
 
24
else
 
25
  case `(set -o) 2>/dev/null` in #(
 
26
  *posix*) :
 
27
    set -o posix ;; #(
 
28
  *) :
 
29
     ;;
 
30
esac
 
31
fi
 
32
 
 
33
 
 
34
as_nl='
 
35
'
 
36
export as_nl
 
37
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
38
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
39
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
40
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
41
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
42
# but without wasting forks for bash or zsh.
 
43
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
44
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
  as_echo='print -r --'
 
46
  as_echo_n='print -rn --'
 
47
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
48
  as_echo='printf %s\n'
 
49
  as_echo_n='printf %s'
 
50
else
 
51
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
52
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
53
    as_echo_n='/usr/ucb/echo -n'
 
54
  else
 
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
56
    as_echo_n_body='eval
 
57
      arg=$1;
 
58
      case $arg in #(
 
59
      *"$as_nl"*)
 
60
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
61
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
62
      esac;
 
63
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
64
    '
 
65
    export as_echo_n_body
 
66
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
67
  fi
 
68
  export as_echo_body
 
69
  as_echo='sh -c $as_echo_body as_echo'
 
70
fi
 
71
 
 
72
# The user is always right.
 
73
if test "${PATH_SEPARATOR+set}" != set; then
 
74
  PATH_SEPARATOR=:
 
75
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
76
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
77
      PATH_SEPARATOR=';'
 
78
  }
 
79
fi
 
80
 
 
81
 
 
82
# IFS
 
83
# We need space, tab and new line, in precisely that order.  Quoting is
 
84
# there to prevent editors from complaining about space-tab.
 
85
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
86
# splitting by setting IFS to empty value.)
 
87
IFS=" ""        $as_nl"
 
88
 
 
89
# Find who we are.  Look in the path if we contain no directory separator.
 
90
case $0 in #((
 
91
  *[\\/]* ) as_myself=$0 ;;
 
92
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
93
for as_dir in $PATH
 
94
do
 
95
  IFS=$as_save_IFS
 
96
  test -z "$as_dir" && as_dir=.
 
97
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
98
  done
 
99
IFS=$as_save_IFS
 
100
 
 
101
     ;;
 
102
esac
 
103
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
104
# in which case we are not to be found in the path.
 
105
if test "x$as_myself" = x; then
 
106
  as_myself=$0
 
107
fi
 
108
if test ! -f "$as_myself"; then
 
109
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
110
  exit 1
 
111
fi
 
112
 
 
113
# Unset variables that we do not need and which cause bugs (e.g. in
 
114
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
115
# suppresses any "Segmentation fault" message there.  '((' could
 
116
# trigger a bug in pdksh 5.2.14.
 
117
for as_var in BASH_ENV ENV MAIL MAILPATH
 
118
do eval test x\${$as_var+set} = xset \
 
119
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
120
done
34
121
PS1='$ '
35
122
PS2='> '
36
123
PS4='+ '
37
124
 
38
125
# NLS nuisances.
39
 
for as_var in \
40
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42
 
  LC_TELEPHONE LC_TIME
 
126
LC_ALL=C
 
127
export LC_ALL
 
128
LANGUAGE=C
 
129
export LANGUAGE
 
130
 
 
131
# CDPATH.
 
132
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
133
 
 
134
if test "x$CONFIG_SHELL" = x; then
 
135
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
136
  emulate sh
 
137
  NULLCMD=:
 
138
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
139
  # is contrary to our usage.  Disable this feature.
 
140
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
141
  setopt NO_GLOB_SUBST
 
142
else
 
143
  case \`(set -o) 2>/dev/null\` in #(
 
144
  *posix*) :
 
145
    set -o posix ;; #(
 
146
  *) :
 
147
     ;;
 
148
esac
 
149
fi
 
150
"
 
151
  as_required="as_fn_return () { (exit \$1); }
 
152
as_fn_success () { as_fn_return 0; }
 
153
as_fn_failure () { as_fn_return 1; }
 
154
as_fn_ret_success () { return 0; }
 
155
as_fn_ret_failure () { return 1; }
 
156
 
 
157
exitcode=0
 
158
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
159
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
160
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
161
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
162
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
163
 
 
164
else
 
165
  exitcode=1; echo positional parameters were not saved.
 
166
fi
 
167
test x\$exitcode = x0 || exit 1"
 
168
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
169
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
170
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
171
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
172
test \$(( 1 + 1 )) = 2 || exit 1"
 
173
  if (eval "$as_required") 2>/dev/null; then :
 
174
  as_have_required=yes
 
175
else
 
176
  as_have_required=no
 
177
fi
 
178
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
179
 
 
180
else
 
181
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
182
as_found=false
 
183
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
43
184
do
44
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
 
    eval $as_var=C; export $as_var
 
185
  IFS=$as_save_IFS
 
186
  test -z "$as_dir" && as_dir=.
 
187
  as_found=:
 
188
  case $as_dir in #(
 
189
         /*)
 
190
           for as_base in sh bash ksh sh5; do
 
191
             # Try only shells that exist, to save several forks.
 
192
             as_shell=$as_dir/$as_base
 
193
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
194
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
195
  CONFIG_SHELL=$as_shell as_have_required=yes
 
196
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
197
  break 2
 
198
fi
 
199
fi
 
200
           done;;
 
201
       esac
 
202
  as_found=false
 
203
done
 
204
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
205
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
206
  CONFIG_SHELL=$SHELL as_have_required=yes
 
207
fi; }
 
208
IFS=$as_save_IFS
 
209
 
 
210
 
 
211
      if test "x$CONFIG_SHELL" != x; then :
 
212
  # We cannot yet assume a decent shell, so we have to provide a
 
213
        # neutralization value for shells without unset; and this also
 
214
        # works around shells that cannot unset nonexistent variables.
 
215
        BASH_ENV=/dev/null
 
216
        ENV=/dev/null
 
217
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
218
        export CONFIG_SHELL
 
219
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
220
fi
 
221
 
 
222
    if test x$as_have_required = xno; then :
 
223
  $as_echo "$0: This script requires a shell more modern than all"
 
224
  $as_echo "$0: the shells that I found on your system."
 
225
  if test x${ZSH_VERSION+set} = xset ; then
 
226
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
227
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
46
228
  else
47
 
    $as_unset $as_var
48
 
  fi
49
 
done
50
 
 
51
 
# Required to use basename.
52
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
229
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
230
$0: including any error possibly output before this
 
231
$0: message. Then install a modern shell, or manually run
 
232
$0: the script under such a shell if you do have one."
 
233
  fi
 
234
  exit 1
 
235
fi
 
236
fi
 
237
fi
 
238
SHELL=${CONFIG_SHELL-/bin/sh}
 
239
export SHELL
 
240
# Unset more variables known to interfere with behavior of common tools.
 
241
CLICOLOR_FORCE= GREP_OPTIONS=
 
242
unset CLICOLOR_FORCE GREP_OPTIONS
 
243
 
 
244
## --------------------- ##
 
245
## M4sh Shell Functions. ##
 
246
## --------------------- ##
 
247
# as_fn_unset VAR
 
248
# ---------------
 
249
# Portably unset VAR.
 
250
as_fn_unset ()
 
251
{
 
252
  { eval $1=; unset $1;}
 
253
}
 
254
as_unset=as_fn_unset
 
255
 
 
256
# as_fn_set_status STATUS
 
257
# -----------------------
 
258
# Set $? to STATUS, without forking.
 
259
as_fn_set_status ()
 
260
{
 
261
  return $1
 
262
} # as_fn_set_status
 
263
 
 
264
# as_fn_exit STATUS
 
265
# -----------------
 
266
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
267
as_fn_exit ()
 
268
{
 
269
  set +e
 
270
  as_fn_set_status $1
 
271
  exit $1
 
272
} # as_fn_exit
 
273
 
 
274
# as_fn_mkdir_p
 
275
# -------------
 
276
# Create "$as_dir" as a directory, including parents if necessary.
 
277
as_fn_mkdir_p ()
 
278
{
 
279
 
 
280
  case $as_dir in #(
 
281
  -*) as_dir=./$as_dir;;
 
282
  esac
 
283
  test -d "$as_dir" || eval $as_mkdir_p || {
 
284
    as_dirs=
 
285
    while :; do
 
286
      case $as_dir in #(
 
287
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
288
      *) as_qdir=$as_dir;;
 
289
      esac
 
290
      as_dirs="'$as_qdir' $as_dirs"
 
291
      as_dir=`$as_dirname -- "$as_dir" ||
 
292
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
293
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
294
         X"$as_dir" : 'X\(//\)$' \| \
 
295
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
296
$as_echo X"$as_dir" |
 
297
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
298
            s//\1/
 
299
            q
 
300
          }
 
301
          /^X\(\/\/\)[^/].*/{
 
302
            s//\1/
 
303
            q
 
304
          }
 
305
          /^X\(\/\/\)$/{
 
306
            s//\1/
 
307
            q
 
308
          }
 
309
          /^X\(\/\).*/{
 
310
            s//\1/
 
311
            q
 
312
          }
 
313
          s/.*/./; q'`
 
314
      test -d "$as_dir" && break
 
315
    done
 
316
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
317
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
318
 
 
319
 
 
320
} # as_fn_mkdir_p
 
321
# as_fn_append VAR VALUE
 
322
# ----------------------
 
323
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
324
# advantage of any shell optimizations that allow amortized linear growth over
 
325
# repeated appends, instead of the typical quadratic growth present in naive
 
326
# implementations.
 
327
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
328
  eval 'as_fn_append ()
 
329
  {
 
330
    eval $1+=\$2
 
331
  }'
 
332
else
 
333
  as_fn_append ()
 
334
  {
 
335
    eval $1=\$$1\$2
 
336
  }
 
337
fi # as_fn_append
 
338
 
 
339
# as_fn_arith ARG...
 
340
# ------------------
 
341
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
342
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
343
# must be portable across $(()) and expr.
 
344
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
345
  eval 'as_fn_arith ()
 
346
  {
 
347
    as_val=$(( $* ))
 
348
  }'
 
349
else
 
350
  as_fn_arith ()
 
351
  {
 
352
    as_val=`expr "$@" || test $? -eq 1`
 
353
  }
 
354
fi # as_fn_arith
 
355
 
 
356
 
 
357
# as_fn_error ERROR [LINENO LOG_FD]
 
358
# ---------------------------------
 
359
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
360
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
361
# script with status $?, using 1 if that was 0.
 
362
as_fn_error ()
 
363
{
 
364
  as_status=$?; test $as_status -eq 0 && as_status=1
 
365
  if test "$3"; then
 
366
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
367
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
368
  fi
 
369
  $as_echo "$as_me: error: $1" >&2
 
370
  as_fn_exit $as_status
 
371
} # as_fn_error
 
372
 
 
373
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
374
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
53
375
  as_expr=expr
54
376
else
55
377
  as_expr=false
56
378
fi
57
379
 
58
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
380
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59
381
  as_basename=basename
60
382
else
61
383
  as_basename=false
62
384
fi
63
385
 
 
386
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
387
  as_dirname=dirname
 
388
else
 
389
  as_dirname=false
 
390
fi
64
391
 
65
 
# Name of the executable.
66
 
as_me=`$as_basename "$0" ||
 
392
as_me=`$as_basename -- "$0" ||
67
393
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
394
         X"$0" : 'X\(//\)$' \| \
69
 
         X"$0" : 'X\(/\)$' \| \
70
 
         .     : '\(.\)' 2>/dev/null ||
71
 
echo X/"$0" |
72
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
74
 
          /^X\/\(\/\).*/{ s//\1/; q; }
75
 
          s/.*/./; q'`
76
 
 
77
 
 
78
 
# PATH needs CR, and LINENO needs CR and PATH.
 
395
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
396
$as_echo X/"$0" |
 
397
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
398
            s//\1/
 
399
            q
 
400
          }
 
401
          /^X\/\(\/\/\)$/{
 
402
            s//\1/
 
403
            q
 
404
          }
 
405
          /^X\/\(\/\).*/{
 
406
            s//\1/
 
407
            q
 
408
          }
 
409
          s/.*/./; q'`
 
410
 
79
411
# Avoid depending upon Character Ranges.
80
412
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
413
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83
415
as_cr_digits='0123456789'
84
416
as_cr_alnum=$as_cr_Letters$as_cr_digits
85
417
 
86
 
# The user is always right.
87
 
if test "${PATH_SEPARATOR+set}" != set; then
88
 
  echo "#! /bin/sh" >conf$$.sh
89
 
  echo  "exit 0"   >>conf$$.sh
90
 
  chmod +x conf$$.sh
91
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92
 
    PATH_SEPARATOR=';'
93
 
  else
94
 
    PATH_SEPARATOR=:
95
 
  fi
96
 
  rm -f conf$$.sh
97
 
fi
98
 
 
99
 
 
100
 
  as_lineno_1=$LINENO
101
 
  as_lineno_2=$LINENO
102
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
104
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105
 
  # Find who we are.  Look in the path if we contain no path at all
106
 
  # relative or not.
107
 
  case $0 in
108
 
    *[\\/]* ) as_myself=$0 ;;
109
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110
 
for as_dir in $PATH
111
 
do
112
 
  IFS=$as_save_IFS
113
 
  test -z "$as_dir" && as_dir=.
114
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115
 
done
116
 
 
117
 
       ;;
118
 
  esac
119
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
120
 
  # in which case we are not to be found in the path.
121
 
  if test "x$as_myself" = x; then
122
 
    as_myself=$0
123
 
  fi
124
 
  if test ! -f "$as_myself"; then
125
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
 
   { (exit 1); exit 1; }; }
127
 
  fi
128
 
  case $CONFIG_SHELL in
129
 
  '')
130
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132
 
do
133
 
  IFS=$as_save_IFS
134
 
  test -z "$as_dir" && as_dir=.
135
 
  for as_base in sh bash ksh sh5; do
136
 
         case $as_dir in
137
 
         /*)
138
 
           if ("$as_dir/$as_base" -c '
139
 
  as_lineno_1=$LINENO
140
 
  as_lineno_2=$LINENO
141
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
143
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
 
             CONFIG_SHELL=$as_dir/$as_base
147
 
             export CONFIG_SHELL
148
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149
 
           fi;;
150
 
         esac
151
 
       done
152
 
done
153
 
;;
154
 
  esac
155
 
 
156
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
158
 
  # line-number line before each line; the second 'sed' does the real
159
 
  # work.  The second script uses 'N' to pair each line-number line
160
 
  # with the numbered line, and appends trailing '-' during
161
 
  # substitution so that $LINENO is not a special case at line end.
162
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164
 
  sed '=' <$as_myself |
 
418
 
 
419
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
420
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
421
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
422
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
423
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
424
  sed -n '
 
425
    p
 
426
    /[$]LINENO/=
 
427
  ' <$as_myself |
165
428
    sed '
 
429
      s/[$]LINENO.*/&-/
 
430
      t lineno
 
431
      b
 
432
      :lineno
166
433
      N
167
 
      s,$,-,
168
 
      : loop
169
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
434
      :loop
 
435
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
170
436
      t loop
171
 
      s,-$,,
172
 
      s,^['$as_cr_digits']*\n,,
 
437
      s/-\n.*//
173
438
    ' >$as_me.lineno &&
174
 
  chmod +x $as_me.lineno ||
175
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
 
   { (exit 1); exit 1; }; }
 
439
  chmod +x "$as_me.lineno" ||
 
440
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
177
441
 
178
442
  # Don't try to exec as it changes $[0], causing all sort of problems
179
443
  # (the dirname of $[0] is not the place where we might find the
180
 
  # original and so on.  Autoconf is especially sensible to this).
181
 
  . ./$as_me.lineno
 
444
  # original and so on.  Autoconf is especially sensitive to this).
 
445
  . "./$as_me.lineno"
182
446
  # Exit status is that of the last command.
183
447
  exit
184
448
}
185
449
 
186
 
 
187
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
 
  *c*,-n*) ECHO_N= ECHO_C='
189
 
' ECHO_T='      ' ;;
190
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
450
ECHO_C= ECHO_N= ECHO_T=
 
451
case `echo -n x` in #(((((
 
452
-n*)
 
453
  case `echo 'xy\c'` in
 
454
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
455
  xy)  ECHO_C='\c';;
 
456
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
457
       ECHO_T=' ';;
 
458
  esac;;
 
459
*)
 
460
  ECHO_N='-n';;
192
461
esac
193
462
 
194
 
if expr a : '\(a\)' >/dev/null 2>&1; then
195
 
  as_expr=expr
 
463
rm -f conf$$ conf$$.exe conf$$.file
 
464
if test -d conf$$.dir; then
 
465
  rm -f conf$$.dir/conf$$.file
196
466
else
197
 
  as_expr=false
 
467
  rm -f conf$$.dir
 
468
  mkdir conf$$.dir 2>/dev/null
198
469
fi
199
 
 
200
 
rm -f conf$$ conf$$.exe conf$$.file
201
 
echo >conf$$.file
202
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
 
  # We could just check for DJGPP; but this test a) works b) is more generic
204
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
 
  if test -f conf$$.exe; then
206
 
    # Don't use ln at all; we don't have any links
 
470
if (echo >conf$$.file) 2>/dev/null; then
 
471
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
472
    as_ln_s='ln -s'
 
473
    # ... but there are two gotchas:
 
474
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
475
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
476
    # In both cases, we have to default to `cp -p'.
 
477
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
478
      as_ln_s='cp -p'
 
479
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
480
    as_ln_s=ln
 
481
  else
207
482
    as_ln_s='cp -p'
208
 
  else
209
 
    as_ln_s='ln -s'
210
483
  fi
211
 
elif ln conf$$.file conf$$ 2>/dev/null; then
212
 
  as_ln_s=ln
213
484
else
214
485
  as_ln_s='cp -p'
215
486
fi
216
 
rm -f conf$$ conf$$.exe conf$$.file
 
487
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
488
rmdir conf$$.dir 2>/dev/null
217
489
 
218
490
if mkdir -p . 2>/dev/null; then
219
 
  as_mkdir_p=:
 
491
  as_mkdir_p='mkdir -p "$as_dir"'
220
492
else
221
493
  test -d ./-p && rmdir ./-p
222
494
  as_mkdir_p=false
223
495
fi
224
496
 
225
 
as_executable_p="test -f"
 
497
if test -x / >/dev/null 2>&1; then
 
498
  as_test_x='test -x'
 
499
else
 
500
  if ls -dL / >/dev/null 2>&1; then
 
501
    as_ls_L_option=L
 
502
  else
 
503
    as_ls_L_option=
 
504
  fi
 
505
  as_test_x='
 
506
    eval sh -c '\''
 
507
      if test -d "$1"; then
 
508
        test -d "$1/.";
 
509
      else
 
510
        case $1 in #(
 
511
        -*)set "./$1";;
 
512
        esac;
 
513
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
514
        ???[sx]*):;;*)false;;esac;fi
 
515
    '\'' sh
 
516
  '
 
517
fi
 
518
as_executable_p=$as_test_x
226
519
 
227
520
# Sed expression to map a string onto a valid CPP name.
228
521
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
524
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
525
 
233
526
 
234
 
# IFS
235
 
# We need space, tab and new line, in precisely that order.
236
 
as_nl='
237
 
'
238
 
IFS="   $as_nl"
239
 
 
240
 
# CDPATH.
241
 
$as_unset CDPATH
242
 
 
 
527
exec 7<&0 </dev/null 6>&1
243
528
 
244
529
# Name of the host.
245
530
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246
531
# so uname gets run too.
247
532
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
533
 
249
 
exec 6>&1
250
 
 
251
534
#
252
535
# Initializations.
253
536
#
254
537
ac_default_prefix=/usr/local
 
538
ac_clean_files=
255
539
ac_config_libobj_dir=.
 
540
LIBOBJS=
256
541
cross_compiling=no
257
542
subdirs=
258
543
MFLAGS=
259
544
MAKEFLAGS=
260
 
SHELL=${CONFIG_SHELL-/bin/sh}
261
 
 
262
 
# Maximum number of lines to put in a shell here document.
263
 
# This variable seems obsolete.  It should probably be removed, and
264
 
# only ac_max_sed_lines should be used.
265
 
: ${ac_max_here_lines=38}
266
545
 
267
546
# Identity of this package.
268
547
PACKAGE_NAME='gold'
270
549
PACKAGE_VERSION='0.1'
271
550
PACKAGE_STRING='gold 0.1'
272
551
PACKAGE_BUGREPORT=''
 
552
PACKAGE_URL=''
273
553
 
274
554
ac_unique_file="gold.cc"
275
555
# Factoring default headers for most tests.
276
556
ac_includes_default="\
277
557
#include <stdio.h>
278
 
#if HAVE_SYS_TYPES_H
 
558
#ifdef HAVE_SYS_TYPES_H
279
559
# include <sys/types.h>
280
560
#endif
281
 
#if HAVE_SYS_STAT_H
 
561
#ifdef HAVE_SYS_STAT_H
282
562
# include <sys/stat.h>
283
563
#endif
284
 
#if STDC_HEADERS
 
564
#ifdef STDC_HEADERS
285
565
# include <stdlib.h>
286
566
# include <stddef.h>
287
567
#else
288
 
# if HAVE_STDLIB_H
 
568
# ifdef HAVE_STDLIB_H
289
569
#  include <stdlib.h>
290
570
# endif
291
571
#endif
292
 
#if HAVE_STRING_H
293
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
572
#ifdef HAVE_STRING_H
 
573
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
294
574
#  include <memory.h>
295
575
# endif
296
576
# include <string.h>
297
577
#endif
298
 
#if HAVE_STRINGS_H
 
578
#ifdef HAVE_STRINGS_H
299
579
# include <strings.h>
300
580
#endif
301
 
#if HAVE_INTTYPES_H
 
581
#ifdef HAVE_INTTYPES_H
302
582
# include <inttypes.h>
303
 
#else
304
 
# if HAVE_STDINT_H
305
 
#  include <stdint.h>
306
 
# endif
307
 
#endif
308
 
#if HAVE_UNISTD_H
 
583
#endif
 
584
#ifdef HAVE_STDINT_H
 
585
# include <stdint.h>
 
586
#endif
 
587
#ifdef HAVE_UNISTD_H
309
588
# include <unistd.h>
310
589
#endif"
311
590
 
312
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar THREADS_TRUE THREADS_FALSE PLUGINS_TRUE PLUGINS_FALSE TARGETOBJS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE YACC RANLIB ac_ct_RANLIB LN_S USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE NATIVE_LINKER_TRUE NATIVE_LINKER_FALSE GCC_TRUE GCC_FALSE FN_PTRS_IN_SO_WITHOUT_PIC_TRUE FN_PTRS_IN_SO_WITHOUT_PIC_FALSE MCMODEL_MEDIUM_TRUE MCMODEL_MEDIUM_FALSE TLS_TRUE TLS_FALSE STATIC_TLS_TRUE STATIC_TLS_FALSE OMP_SUPPORT_TRUE OMP_SUPPORT_FALSE TLS_GNU2_DIALECT_TRUE TLS_GNU2_DIALECT_FALSE TLS_DESCRIPTORS_TRUE TLS_DESCRIPTORS_FALSE CONSTRUCTOR_PRIORITY_TRUE CONSTRUCTOR_PRIORITY_FALSE RANDOM_SEED_CFLAGS WARN_CFLAGS NO_WERROR WARN_CXXFLAGS LFS_CFLAGS LIBOBJS CPP EGREP HAVE_ZLIB_TRUE HAVE_ZLIB_FALSE CXXCPP MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LTLIBOBJS'
 
591
ac_subst_vars='am__EXEEXT_FALSE
 
592
am__EXEEXT_TRUE
 
593
LTLIBOBJS
 
594
MAINT
 
595
MAINTAINER_MODE_FALSE
 
596
MAINTAINER_MODE_TRUE
 
597
CXXCPP
 
598
HAVE_ZLIB_FALSE
 
599
HAVE_ZLIB_TRUE
 
600
LIBOBJS
 
601
LFS_CFLAGS
 
602
WARN_CXXFLAGS
 
603
NO_WERROR
 
604
WARN_CFLAGS
 
605
RANDOM_SEED_CFLAGS
 
606
CONSTRUCTOR_PRIORITY_FALSE
 
607
CONSTRUCTOR_PRIORITY_TRUE
 
608
TLS_DESCRIPTORS_FALSE
 
609
TLS_DESCRIPTORS_TRUE
 
610
TLS_GNU2_DIALECT_FALSE
 
611
TLS_GNU2_DIALECT_TRUE
 
612
OMP_SUPPORT_FALSE
 
613
OMP_SUPPORT_TRUE
 
614
STATIC_TLS_FALSE
 
615
STATIC_TLS_TRUE
 
616
TLS_FALSE
 
617
TLS_TRUE
 
618
MCMODEL_MEDIUM_FALSE
 
619
MCMODEL_MEDIUM_TRUE
 
620
FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
 
621
FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
 
622
GCC_FALSE
 
623
GCC_TRUE
 
624
NATIVE_LINKER_FALSE
 
625
NATIVE_LINKER_TRUE
 
626
MSGMERGE
 
627
MSGFMT
 
628
MKINSTALLDIRS
 
629
CATOBJEXT
 
630
GENCAT
 
631
INSTOBJEXT
 
632
DATADIRNAME
 
633
CATALOGS
 
634
POSUB
 
635
GMSGFMT
 
636
XGETTEXT
 
637
INCINTL
 
638
LIBINTL_DEP
 
639
LIBINTL
 
640
USE_NLS
 
641
EGREP
 
642
GREP
 
643
CPP
 
644
LN_S
 
645
RANLIB
 
646
YFLAGS
 
647
YACC
 
648
am__fastdepCXX_FALSE
 
649
am__fastdepCXX_TRUE
 
650
CXXDEPMODE
 
651
ac_ct_CXX
 
652
CXXFLAGS
 
653
CXX
 
654
am__fastdepCC_FALSE
 
655
am__fastdepCC_TRUE
 
656
CCDEPMODE
 
657
AMDEPBACKSLASH
 
658
AMDEP_FALSE
 
659
AMDEP_TRUE
 
660
am__quote
 
661
am__include
 
662
DEPDIR
 
663
OBJEXT
 
664
EXEEXT
 
665
ac_ct_CC
 
666
CPPFLAGS
 
667
LDFLAGS
 
668
CFLAGS
 
669
CC
 
670
TARGETOBJS
 
671
PLUGINS_FALSE
 
672
PLUGINS_TRUE
 
673
THREADS_FALSE
 
674
THREADS_TRUE
 
675
am__untar
 
676
am__tar
 
677
AMTAR
 
678
am__leading_dot
 
679
SET_MAKE
 
680
AWK
 
681
mkdir_p
 
682
MKDIR_P
 
683
INSTALL_STRIP_PROGRAM
 
684
STRIP
 
685
install_sh
 
686
MAKEINFO
 
687
AUTOHEADER
 
688
AUTOMAKE
 
689
AUTOCONF
 
690
ACLOCAL
 
691
VERSION
 
692
PACKAGE
 
693
CYGPATH_W
 
694
am__isrc
 
695
INSTALL_DATA
 
696
INSTALL_SCRIPT
 
697
INSTALL_PROGRAM
 
698
target_os
 
699
target_vendor
 
700
target_cpu
 
701
target
 
702
host_os
 
703
host_vendor
 
704
host_cpu
 
705
host
 
706
build_os
 
707
build_vendor
 
708
build_cpu
 
709
build
 
710
target_alias
 
711
host_alias
 
712
build_alias
 
713
LIBS
 
714
ECHO_T
 
715
ECHO_N
 
716
ECHO_C
 
717
DEFS
 
718
mandir
 
719
localedir
 
720
libdir
 
721
psdir
 
722
pdfdir
 
723
dvidir
 
724
htmldir
 
725
infodir
 
726
docdir
 
727
oldincludedir
 
728
includedir
 
729
localstatedir
 
730
sharedstatedir
 
731
sysconfdir
 
732
datadir
 
733
datarootdir
 
734
libexecdir
 
735
sbindir
 
736
bindir
 
737
program_transform_name
 
738
prefix
 
739
exec_prefix
 
740
PACKAGE_URL
 
741
PACKAGE_BUGREPORT
 
742
PACKAGE_STRING
 
743
PACKAGE_VERSION
 
744
PACKAGE_TARNAME
 
745
PACKAGE_NAME
 
746
PATH_SEPARATOR
 
747
SHELL'
313
748
ac_subst_files=''
314
 
ac_pwd=`pwd`
 
749
ac_user_opts='
 
750
enable_option_checking
 
751
with_sysroot
 
752
enable_threads
 
753
enable_plugins
 
754
enable_targets
 
755
enable_dependency_tracking
 
756
enable_nls
 
757
enable_werror
 
758
enable_build_warnings
 
759
enable_maintainer_mode
 
760
'
 
761
      ac_precious_vars='build_alias
 
762
host_alias
 
763
target_alias
 
764
CC
 
765
CFLAGS
 
766
LDFLAGS
 
767
LIBS
 
768
CPPFLAGS
 
769
CXX
 
770
CXXFLAGS
 
771
CCC
 
772
YACC
 
773
YFLAGS
 
774
CPP
 
775
CXXCPP'
 
776
 
315
777
 
316
778
# Initialize some variables set by options.
317
779
ac_init_help=
318
780
ac_init_version=false
 
781
ac_unrecognized_opts=
 
782
ac_unrecognized_sep=
319
783
# The variables have the same names as the options, with
320
784
# dashes changed to underlines.
321
785
cache_file=/dev/null
338
802
# and all the variables that are supposed to be based on exec_prefix
339
803
# by default will actually change.
340
804
# Use braces instead of parens because sh, perl, etc. also accept them.
 
805
# (The list follows the same order as the GNU Coding Standards.)
341
806
bindir='${exec_prefix}/bin'
342
807
sbindir='${exec_prefix}/sbin'
343
808
libexecdir='${exec_prefix}/libexec'
344
 
datadir='${prefix}/share'
 
809
datarootdir='${prefix}/share'
 
810
datadir='${datarootdir}'
345
811
sysconfdir='${prefix}/etc'
346
812
sharedstatedir='${prefix}/com'
347
813
localstatedir='${prefix}/var'
348
 
libdir='${exec_prefix}/lib'
349
814
includedir='${prefix}/include'
350
815
oldincludedir='/usr/include'
351
 
infodir='${prefix}/info'
352
 
mandir='${prefix}/man'
 
816
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
817
infodir='${datarootdir}/info'
 
818
htmldir='${docdir}'
 
819
dvidir='${docdir}'
 
820
pdfdir='${docdir}'
 
821
psdir='${docdir}'
 
822
libdir='${exec_prefix}/lib'
 
823
localedir='${datarootdir}/locale'
 
824
mandir='${datarootdir}/man'
353
825
 
354
826
ac_prev=
 
827
ac_dashdash=
355
828
for ac_option
356
829
do
357
830
  # If the previous option needs an argument, assign it.
358
831
  if test -n "$ac_prev"; then
359
 
    eval "$ac_prev=\$ac_option"
 
832
    eval $ac_prev=\$ac_option
360
833
    ac_prev=
361
834
    continue
362
835
  fi
363
836
 
364
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
837
  case $ac_option in
 
838
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
839
  *)    ac_optarg=yes ;;
 
840
  esac
365
841
 
366
842
  # Accept the important Cygnus configure options, so we can diagnose typos.
367
843
 
368
 
  case $ac_option in
 
844
  case $ac_dashdash$ac_option in
 
845
  --)
 
846
    ac_dashdash=yes ;;
369
847
 
370
848
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
371
849
    ac_prev=bindir ;;
387
865
  --config-cache | -C)
388
866
    cache_file=config.cache ;;
389
867
 
390
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
868
  -datadir | --datadir | --datadi | --datad)
391
869
    ac_prev=datadir ;;
392
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393
 
  | --da=*)
 
870
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
394
871
    datadir=$ac_optarg ;;
395
872
 
 
873
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
874
  | --dataroo | --dataro | --datar)
 
875
    ac_prev=datarootdir ;;
 
876
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
877
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
878
    datarootdir=$ac_optarg ;;
 
879
 
396
880
  -disable-* | --disable-*)
397
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
881
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398
882
    # Reject names that are not valid shell variable names.
399
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401
 
   { (exit 1); exit 1; }; }
402
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403
 
    eval "enable_$ac_feature=no" ;;
 
883
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
884
      as_fn_error "invalid feature name: $ac_useropt"
 
885
    ac_useropt_orig=$ac_useropt
 
886
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
887
    case $ac_user_opts in
 
888
      *"
 
889
"enable_$ac_useropt"
 
890
"*) ;;
 
891
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
892
         ac_unrecognized_sep=', ';;
 
893
    esac
 
894
    eval enable_$ac_useropt=no ;;
 
895
 
 
896
  -docdir | --docdir | --docdi | --doc | --do)
 
897
    ac_prev=docdir ;;
 
898
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
899
    docdir=$ac_optarg ;;
 
900
 
 
901
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
902
    ac_prev=dvidir ;;
 
903
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
904
    dvidir=$ac_optarg ;;
404
905
 
405
906
  -enable-* | --enable-*)
406
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
907
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407
908
    # Reject names that are not valid shell variable names.
408
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410
 
   { (exit 1); exit 1; }; }
411
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412
 
    case $ac_option in
413
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414
 
      *) ac_optarg=yes ;;
 
909
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
910
      as_fn_error "invalid feature name: $ac_useropt"
 
911
    ac_useropt_orig=$ac_useropt
 
912
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
913
    case $ac_user_opts in
 
914
      *"
 
915
"enable_$ac_useropt"
 
916
"*) ;;
 
917
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
918
         ac_unrecognized_sep=', ';;
415
919
    esac
416
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
920
    eval enable_$ac_useropt=\$ac_optarg ;;
417
921
 
418
922
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419
923
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
440
944
  -host=* | --host=* | --hos=* | --ho=*)
441
945
    host_alias=$ac_optarg ;;
442
946
 
 
947
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
948
    ac_prev=htmldir ;;
 
949
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
950
  | --ht=*)
 
951
    htmldir=$ac_optarg ;;
 
952
 
443
953
  -includedir | --includedir | --includedi | --included | --include \
444
954
  | --includ | --inclu | --incl | --inc)
445
955
    ac_prev=includedir ;;
464
974
  | --libexe=* | --libex=* | --libe=*)
465
975
    libexecdir=$ac_optarg ;;
466
976
 
 
977
  -localedir | --localedir | --localedi | --localed | --locale)
 
978
    ac_prev=localedir ;;
 
979
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
980
    localedir=$ac_optarg ;;
 
981
 
467
982
  -localstatedir | --localstatedir | --localstatedi | --localstated \
468
 
  | --localstate | --localstat | --localsta | --localst \
469
 
  | --locals | --local | --loca | --loc | --lo)
 
983
  | --localstate | --localstat | --localsta | --localst | --locals)
470
984
    ac_prev=localstatedir ;;
471
985
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
473
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
986
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
474
987
    localstatedir=$ac_optarg ;;
475
988
 
476
989
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
535
1048
  | --progr-tra=* | --program-tr=* | --program-t=*)
536
1049
    program_transform_name=$ac_optarg ;;
537
1050
 
 
1051
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1052
    ac_prev=pdfdir ;;
 
1053
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1054
    pdfdir=$ac_optarg ;;
 
1055
 
 
1056
  -psdir | --psdir | --psdi | --psd | --ps)
 
1057
    ac_prev=psdir ;;
 
1058
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1059
    psdir=$ac_optarg ;;
 
1060
 
538
1061
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
539
1062
  | -silent | --silent | --silen | --sile | --sil)
540
1063
    silent=yes ;;
585
1108
    ac_init_version=: ;;
586
1109
 
587
1110
  -with-* | --with-*)
588
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1111
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589
1112
    # Reject names that are not valid shell variable names.
590
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
592
 
   { (exit 1); exit 1; }; }
593
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
594
 
    case $ac_option in
595
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596
 
      *) ac_optarg=yes ;;
 
1113
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1114
      as_fn_error "invalid package name: $ac_useropt"
 
1115
    ac_useropt_orig=$ac_useropt
 
1116
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1117
    case $ac_user_opts in
 
1118
      *"
 
1119
"with_$ac_useropt"
 
1120
"*) ;;
 
1121
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1122
         ac_unrecognized_sep=', ';;
597
1123
    esac
598
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1124
    eval with_$ac_useropt=\$ac_optarg ;;
599
1125
 
600
1126
  -without-* | --without-*)
601
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1127
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602
1128
    # Reject names that are not valid shell variable names.
603
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
605
 
   { (exit 1); exit 1; }; }
606
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
607
 
    eval "with_$ac_package=no" ;;
 
1129
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1130
      as_fn_error "invalid package name: $ac_useropt"
 
1131
    ac_useropt_orig=$ac_useropt
 
1132
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1133
    case $ac_user_opts in
 
1134
      *"
 
1135
"with_$ac_useropt"
 
1136
"*) ;;
 
1137
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1138
         ac_unrecognized_sep=', ';;
 
1139
    esac
 
1140
    eval with_$ac_useropt=no ;;
608
1141
 
609
1142
  --x)
610
1143
    # Obsolete; use --with-x.
624
1157
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
625
1158
    x_libraries=$ac_optarg ;;
626
1159
 
627
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
628
 
Try \`$0 --help' for more information." >&2
629
 
   { (exit 1); exit 1; }; }
 
1160
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1161
Try \`$0 --help' for more information."
630
1162
    ;;
631
1163
 
632
1164
  *=*)
633
1165
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
634
1166
    # Reject names that are not valid shell variable names.
635
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637
 
   { (exit 1); exit 1; }; }
638
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639
 
    eval "$ac_envvar='$ac_optarg'"
 
1167
    case $ac_envvar in #(
 
1168
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1169
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1170
    esac
 
1171
    eval $ac_envvar=\$ac_optarg
640
1172
    export $ac_envvar ;;
641
1173
 
642
1174
  *)
643
1175
    # FIXME: should be removed in autoconf 3.0.
644
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1176
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645
1177
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
646
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1178
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647
1179
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
648
1180
    ;;
649
1181
 
652
1184
 
653
1185
if test -n "$ac_prev"; then
654
1186
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
656
 
   { (exit 1); exit 1; }; }
657
 
fi
658
 
 
659
 
# Be sure to have absolute paths.
660
 
for ac_var in exec_prefix prefix
661
 
do
662
 
  eval ac_val=$`echo $ac_var`
663
 
  case $ac_val in
664
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666
 
   { (exit 1); exit 1; }; };;
667
 
  esac
668
 
done
669
 
 
670
 
# Be sure to have absolute paths.
671
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672
 
              localstatedir libdir includedir oldincludedir infodir mandir
673
 
do
674
 
  eval ac_val=$`echo $ac_var`
675
 
  case $ac_val in
676
 
    [\\/$]* | ?:[\\/]* ) ;;
677
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678
 
   { (exit 1); exit 1; }; };;
679
 
  esac
 
1187
  as_fn_error "missing argument to $ac_option"
 
1188
fi
 
1189
 
 
1190
if test -n "$ac_unrecognized_opts"; then
 
1191
  case $enable_option_checking in
 
1192
    no) ;;
 
1193
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1194
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1195
  esac
 
1196
fi
 
1197
 
 
1198
# Check all directory arguments for consistency.
 
1199
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1200
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1201
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1202
                libdir localedir mandir
 
1203
do
 
1204
  eval ac_val=\$$ac_var
 
1205
  # Remove trailing slashes.
 
1206
  case $ac_val in
 
1207
    */ )
 
1208
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1209
      eval $ac_var=\$ac_val;;
 
1210
  esac
 
1211
  # Be sure to have absolute directory names.
 
1212
  case $ac_val in
 
1213
    [\\/$]* | ?:[\\/]* )  continue;;
 
1214
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1215
  esac
 
1216
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
680
1217
done
681
1218
 
682
1219
# There might be people who depend on the old broken behavior: `$host'
690
1227
if test "x$host_alias" != x; then
691
1228
  if test "x$build_alias" = x; then
692
1229
    cross_compiling=maybe
693
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1230
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694
1231
    If a cross compiler is detected then cross compile mode will be used." >&2
695
1232
  elif test "x$build_alias" != "x$host_alias"; then
696
1233
    cross_compiling=yes
703
1240
test "$silent" = yes && exec 6>/dev/null
704
1241
 
705
1242
 
 
1243
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1244
ac_ls_di=`ls -di .` &&
 
1245
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1246
  as_fn_error "working directory cannot be determined"
 
1247
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1248
  as_fn_error "pwd does not report name of working directory"
 
1249
 
 
1250
 
706
1251
# Find the source files, if location was not specified.
707
1252
if test -z "$srcdir"; then
708
1253
  ac_srcdir_defaulted=yes
709
 
  # Try the directory containing this script, then its parent.
710
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
711
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712
 
         X"$0" : 'X\(//\)[^/]' \| \
713
 
         X"$0" : 'X\(//\)$' \| \
714
 
         X"$0" : 'X\(/\)' \| \
715
 
         .     : '\(.\)' 2>/dev/null ||
716
 
echo X"$0" |
717
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719
 
          /^X\(\/\/\)$/{ s//\1/; q; }
720
 
          /^X\(\/\).*/{ s//\1/; q; }
721
 
          s/.*/./; q'`
 
1254
  # Try the directory containing this script, then the parent directory.
 
1255
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1256
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1257
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1258
         X"$as_myself" : 'X\(//\)$' \| \
 
1259
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1260
$as_echo X"$as_myself" |
 
1261
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1262
            s//\1/
 
1263
            q
 
1264
          }
 
1265
          /^X\(\/\/\)[^/].*/{
 
1266
            s//\1/
 
1267
            q
 
1268
          }
 
1269
          /^X\(\/\/\)$/{
 
1270
            s//\1/
 
1271
            q
 
1272
          }
 
1273
          /^X\(\/\).*/{
 
1274
            s//\1/
 
1275
            q
 
1276
          }
 
1277
          s/.*/./; q'`
722
1278
  srcdir=$ac_confdir
723
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1279
  if test ! -r "$srcdir/$ac_unique_file"; then
724
1280
    srcdir=..
725
1281
  fi
726
1282
else
727
1283
  ac_srcdir_defaulted=no
728
1284
fi
729
 
if test ! -r $srcdir/$ac_unique_file; then
730
 
  if test "$ac_srcdir_defaulted" = yes; then
731
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732
 
   { (exit 1); exit 1; }; }
733
 
  else
734
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735
 
   { (exit 1); exit 1; }; }
736
 
  fi
737
 
fi
738
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
739
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740
 
   { (exit 1); exit 1; }; }
741
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742
 
ac_env_build_alias_set=${build_alias+set}
743
 
ac_env_build_alias_value=$build_alias
744
 
ac_cv_env_build_alias_set=${build_alias+set}
745
 
ac_cv_env_build_alias_value=$build_alias
746
 
ac_env_host_alias_set=${host_alias+set}
747
 
ac_env_host_alias_value=$host_alias
748
 
ac_cv_env_host_alias_set=${host_alias+set}
749
 
ac_cv_env_host_alias_value=$host_alias
750
 
ac_env_target_alias_set=${target_alias+set}
751
 
ac_env_target_alias_value=$target_alias
752
 
ac_cv_env_target_alias_set=${target_alias+set}
753
 
ac_cv_env_target_alias_value=$target_alias
754
 
ac_env_CC_set=${CC+set}
755
 
ac_env_CC_value=$CC
756
 
ac_cv_env_CC_set=${CC+set}
757
 
ac_cv_env_CC_value=$CC
758
 
ac_env_CFLAGS_set=${CFLAGS+set}
759
 
ac_env_CFLAGS_value=$CFLAGS
760
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
761
 
ac_cv_env_CFLAGS_value=$CFLAGS
762
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
763
 
ac_env_LDFLAGS_value=$LDFLAGS
764
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
766
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767
 
ac_env_CPPFLAGS_value=$CPPFLAGS
768
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
770
 
ac_env_CXX_set=${CXX+set}
771
 
ac_env_CXX_value=$CXX
772
 
ac_cv_env_CXX_set=${CXX+set}
773
 
ac_cv_env_CXX_value=$CXX
774
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
775
 
ac_env_CXXFLAGS_value=$CXXFLAGS
776
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
777
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
778
 
ac_env_CPP_set=${CPP+set}
779
 
ac_env_CPP_value=$CPP
780
 
ac_cv_env_CPP_set=${CPP+set}
781
 
ac_cv_env_CPP_value=$CPP
782
 
ac_env_CXXCPP_set=${CXXCPP+set}
783
 
ac_env_CXXCPP_value=$CXXCPP
784
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
785
 
ac_cv_env_CXXCPP_value=$CXXCPP
 
1285
if test ! -r "$srcdir/$ac_unique_file"; then
 
1286
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1287
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1288
fi
 
1289
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1290
ac_abs_confdir=`(
 
1291
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1292
        pwd)`
 
1293
# When building in place, set srcdir=.
 
1294
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1295
  srcdir=.
 
1296
fi
 
1297
# Remove unnecessary trailing slashes from srcdir.
 
1298
# Double slashes in file names in object file debugging info
 
1299
# mess up M-x gdb in Emacs.
 
1300
case $srcdir in
 
1301
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1302
esac
 
1303
for ac_var in $ac_precious_vars; do
 
1304
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1305
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1306
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1307
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1308
done
786
1309
 
787
1310
#
788
1311
# Report the --help message.
811
1334
  -n, --no-create         do not create output files
812
1335
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
813
1336
 
814
 
_ACEOF
815
 
 
816
 
  cat <<_ACEOF
817
1337
Installation directories:
818
1338
  --prefix=PREFIX         install architecture-independent files in PREFIX
819
 
                          [$ac_default_prefix]
 
1339
                          [$ac_default_prefix]
820
1340
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
821
 
                          [PREFIX]
 
1341
                          [PREFIX]
822
1342
 
823
1343
By default, \`make install' will install all the files in
824
1344
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
828
1348
For better control, use the options below.
829
1349
 
830
1350
Fine tuning of the installation directories:
831
 
  --bindir=DIR           user executables [EPREFIX/bin]
832
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
833
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
834
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
835
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
836
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
837
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
838
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
839
 
  --includedir=DIR       C header files [PREFIX/include]
840
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
841
 
  --infodir=DIR          info documentation [PREFIX/info]
842
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1351
  --bindir=DIR            user executables [EPREFIX/bin]
 
1352
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1353
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1354
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1355
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1356
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1357
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1358
  --includedir=DIR        C header files [PREFIX/include]
 
1359
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1360
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1361
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1362
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1363
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1364
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1365
  --docdir=DIR            documentation root [DATAROOTDIR/doc/gold]
 
1366
  --htmldir=DIR           html documentation [DOCDIR]
 
1367
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1368
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1369
  --psdir=DIR             ps documentation [DOCDIR]
843
1370
_ACEOF
844
1371
 
845
1372
  cat <<\_ACEOF
863
1390
  cat <<\_ACEOF
864
1391
 
865
1392
Optional Features:
 
1393
  --disable-option-checking  ignore unrecognized --enable/--with options
866
1394
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
867
1395
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
868
1396
  --enable-threads        multi-threaded linking
886
1414
  CFLAGS      C compiler flags
887
1415
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
888
1416
              nonstandard directory <lib dir>
889
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
890
 
              headers in a nonstandard directory <include dir>
 
1417
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1418
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1419
              you have headers in a nonstandard directory <include dir>
891
1420
  CXX         C++ compiler command
892
1421
  CXXFLAGS    C++ compiler flags
 
1422
  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
 
1423
              the first program found out of: `bison -y', `byacc', `yacc'.
 
1424
  YFLAGS      The list of arguments that will be passed by default to $YACC.
 
1425
              This script will default YFLAGS to the empty string to avoid a
 
1426
              default value of `-d' given by some make applications.
893
1427
  CPP         C preprocessor
894
1428
  CXXCPP      C++ preprocessor
895
1429
 
896
1430
Use these variables to override the choices made by `configure' or to help
897
1431
it to find libraries and programs with nonstandard names/locations.
898
1432
 
 
1433
Report bugs to the package provider.
899
1434
_ACEOF
 
1435
ac_status=$?
900
1436
fi
901
1437
 
902
1438
if test "$ac_init_help" = "recursive"; then
903
1439
  # If there are subdirs, report their specific --help.
904
 
  ac_popdir=`pwd`
905
1440
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
906
 
    test -d $ac_dir || continue
 
1441
    test -d "$ac_dir" ||
 
1442
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1443
      continue
907
1444
    ac_builddir=.
908
1445
 
909
 
if test "$ac_dir" != .; then
910
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
911
 
  # A "../" for each directory in $ac_dir_suffix.
912
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
913
 
else
914
 
  ac_dir_suffix= ac_top_builddir=
915
 
fi
 
1446
case "$ac_dir" in
 
1447
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1448
*)
 
1449
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1450
  # A ".." for each directory in $ac_dir_suffix.
 
1451
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1452
  case $ac_top_builddir_sub in
 
1453
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1454
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1455
  esac ;;
 
1456
esac
 
1457
ac_abs_top_builddir=$ac_pwd
 
1458
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1459
# for backward compatibility:
 
1460
ac_top_builddir=$ac_top_build_prefix
916
1461
 
917
1462
case $srcdir in
918
 
  .)  # No --srcdir option.  We are building in place.
 
1463
  .)  # We are building in place.
919
1464
    ac_srcdir=.
920
 
    if test -z "$ac_top_builddir"; then
921
 
       ac_top_srcdir=.
922
 
    else
923
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
924
 
    fi ;;
925
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1465
    ac_top_srcdir=$ac_top_builddir_sub
 
1466
    ac_abs_top_srcdir=$ac_pwd ;;
 
1467
  [\\/]* | ?:[\\/]* )  # Absolute name.
926
1468
    ac_srcdir=$srcdir$ac_dir_suffix;
927
 
    ac_top_srcdir=$srcdir ;;
928
 
  *) # Relative path.
929
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
930
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
931
 
esac
932
 
 
933
 
# Do not use `cd foo && pwd` to compute absolute paths, because
934
 
# the directories may not exist.
935
 
case `pwd` in
936
 
.) ac_abs_builddir="$ac_dir";;
937
 
*)
938
 
  case "$ac_dir" in
939
 
  .) ac_abs_builddir=`pwd`;;
940
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
941
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
942
 
  esac;;
943
 
esac
944
 
case $ac_abs_builddir in
945
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
946
 
*)
947
 
  case ${ac_top_builddir}. in
948
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
949
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
950
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
951
 
  esac;;
952
 
esac
953
 
case $ac_abs_builddir in
954
 
.) ac_abs_srcdir=$ac_srcdir;;
955
 
*)
956
 
  case $ac_srcdir in
957
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
958
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
959
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
960
 
  esac;;
961
 
esac
962
 
case $ac_abs_builddir in
963
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
964
 
*)
965
 
  case $ac_top_srcdir in
966
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
967
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
968
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
969
 
  esac;;
970
 
esac
971
 
 
972
 
    cd $ac_dir
973
 
    # Check for guested configure; otherwise get Cygnus style configure.
974
 
    if test -f $ac_srcdir/configure.gnu; then
975
 
      echo
976
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
977
 
    elif test -f $ac_srcdir/configure; then
978
 
      echo
979
 
      $SHELL $ac_srcdir/configure  --help=recursive
980
 
    elif test -f $ac_srcdir/configure.ac ||
981
 
           test -f $ac_srcdir/configure.in; then
982
 
      echo
983
 
      $ac_configure --help
 
1469
    ac_top_srcdir=$srcdir
 
1470
    ac_abs_top_srcdir=$srcdir ;;
 
1471
  *) # Relative name.
 
1472
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1473
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1474
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1475
esac
 
1476
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1477
 
 
1478
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1479
    # Check for guested configure.
 
1480
    if test -f "$ac_srcdir/configure.gnu"; then
 
1481
      echo &&
 
1482
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1483
    elif test -f "$ac_srcdir/configure"; then
 
1484
      echo &&
 
1485
      $SHELL "$ac_srcdir/configure" --help=recursive
984
1486
    else
985
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
986
 
    fi
987
 
    cd $ac_popdir
 
1487
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1488
    fi || ac_status=$?
 
1489
    cd "$ac_pwd" || { ac_status=$?; break; }
988
1490
  done
989
1491
fi
990
1492
 
991
 
test -n "$ac_init_help" && exit 0
 
1493
test -n "$ac_init_help" && exit $ac_status
992
1494
if $ac_init_version; then
993
1495
  cat <<\_ACEOF
994
1496
gold configure 0.1
995
 
generated by GNU Autoconf 2.59
 
1497
generated by GNU Autoconf 2.64
996
1498
 
997
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1499
Copyright (C) 2009 Free Software Foundation, Inc.
998
1500
This configure script is free software; the Free Software Foundation
999
1501
gives unlimited permission to copy, distribute and modify it.
1000
1502
_ACEOF
1001
 
  exit 0
1002
 
fi
1003
 
exec 5>config.log
1004
 
cat >&5 <<_ACEOF
 
1503
  exit
 
1504
fi
 
1505
 
 
1506
## ------------------------ ##
 
1507
## Autoconf initialization. ##
 
1508
## ------------------------ ##
 
1509
 
 
1510
# ac_fn_c_try_compile LINENO
 
1511
# --------------------------
 
1512
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1513
ac_fn_c_try_compile ()
 
1514
{
 
1515
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1516
  rm -f conftest.$ac_objext
 
1517
  if { { ac_try="$ac_compile"
 
1518
case "(($ac_try" in
 
1519
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1520
  *) ac_try_echo=$ac_try;;
 
1521
esac
 
1522
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1523
$as_echo "$ac_try_echo"; } >&5
 
1524
  (eval "$ac_compile") 2>conftest.err
 
1525
  ac_status=$?
 
1526
  if test -s conftest.err; then
 
1527
    grep -v '^ *+' conftest.err >conftest.er1
 
1528
    cat conftest.er1 >&5
 
1529
    mv -f conftest.er1 conftest.err
 
1530
  fi
 
1531
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1532
  test $ac_status = 0; } && {
 
1533
         test -z "$ac_c_werror_flag" ||
 
1534
         test ! -s conftest.err
 
1535
       } && test -s conftest.$ac_objext; then :
 
1536
  ac_retval=0
 
1537
else
 
1538
  $as_echo "$as_me: failed program was:" >&5
 
1539
sed 's/^/| /' conftest.$ac_ext >&5
 
1540
 
 
1541
        ac_retval=1
 
1542
fi
 
1543
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1544
  return $ac_retval
 
1545
 
 
1546
} # ac_fn_c_try_compile
 
1547
 
 
1548
# ac_fn_cxx_try_compile LINENO
 
1549
# ----------------------------
 
1550
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1551
ac_fn_cxx_try_compile ()
 
1552
{
 
1553
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1554
  rm -f conftest.$ac_objext
 
1555
  if { { ac_try="$ac_compile"
 
1556
case "(($ac_try" in
 
1557
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1558
  *) ac_try_echo=$ac_try;;
 
1559
esac
 
1560
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1561
$as_echo "$ac_try_echo"; } >&5
 
1562
  (eval "$ac_compile") 2>conftest.err
 
1563
  ac_status=$?
 
1564
  if test -s conftest.err; then
 
1565
    grep -v '^ *+' conftest.err >conftest.er1
 
1566
    cat conftest.er1 >&5
 
1567
    mv -f conftest.er1 conftest.err
 
1568
  fi
 
1569
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1570
  test $ac_status = 0; } && {
 
1571
         test -z "$ac_cxx_werror_flag" ||
 
1572
         test ! -s conftest.err
 
1573
       } && test -s conftest.$ac_objext; then :
 
1574
  ac_retval=0
 
1575
else
 
1576
  $as_echo "$as_me: failed program was:" >&5
 
1577
sed 's/^/| /' conftest.$ac_ext >&5
 
1578
 
 
1579
        ac_retval=1
 
1580
fi
 
1581
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1582
  return $ac_retval
 
1583
 
 
1584
} # ac_fn_cxx_try_compile
 
1585
 
 
1586
# ac_fn_c_try_cpp LINENO
 
1587
# ----------------------
 
1588
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1589
ac_fn_c_try_cpp ()
 
1590
{
 
1591
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1592
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1593
case "(($ac_try" in
 
1594
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1595
  *) ac_try_echo=$ac_try;;
 
1596
esac
 
1597
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1598
$as_echo "$ac_try_echo"; } >&5
 
1599
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1600
  ac_status=$?
 
1601
  if test -s conftest.err; then
 
1602
    grep -v '^ *+' conftest.err >conftest.er1
 
1603
    cat conftest.er1 >&5
 
1604
    mv -f conftest.er1 conftest.err
 
1605
  fi
 
1606
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1607
  test $ac_status = 0; } >/dev/null && {
 
1608
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1609
         test ! -s conftest.err
 
1610
       }; then :
 
1611
  ac_retval=0
 
1612
else
 
1613
  $as_echo "$as_me: failed program was:" >&5
 
1614
sed 's/^/| /' conftest.$ac_ext >&5
 
1615
 
 
1616
    ac_retval=1
 
1617
fi
 
1618
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1619
  return $ac_retval
 
1620
 
 
1621
} # ac_fn_c_try_cpp
 
1622
 
 
1623
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1624
# -------------------------------------------------------
 
1625
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1626
# the include files in INCLUDES and setting the cache variable VAR
 
1627
# accordingly.
 
1628
ac_fn_c_check_header_mongrel ()
 
1629
{
 
1630
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1631
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1632
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1633
$as_echo_n "checking for $2... " >&6; }
 
1634
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1635
  $as_echo_n "(cached) " >&6
 
1636
fi
 
1637
eval ac_res=\$$3
 
1638
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1639
$as_echo "$ac_res" >&6; }
 
1640
else
 
1641
  # Is the header compilable?
 
1642
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1643
$as_echo_n "checking $2 usability... " >&6; }
 
1644
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1645
/* end confdefs.h.  */
 
1646
$4
 
1647
#include <$2>
 
1648
_ACEOF
 
1649
if ac_fn_c_try_compile "$LINENO"; then :
 
1650
  ac_header_compiler=yes
 
1651
else
 
1652
  ac_header_compiler=no
 
1653
fi
 
1654
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1656
$as_echo "$ac_header_compiler" >&6; }
 
1657
 
 
1658
# Is the header present?
 
1659
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1660
$as_echo_n "checking $2 presence... " >&6; }
 
1661
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1662
/* end confdefs.h.  */
 
1663
#include <$2>
 
1664
_ACEOF
 
1665
if ac_fn_c_try_cpp "$LINENO"; then :
 
1666
  ac_header_preproc=yes
 
1667
else
 
1668
  ac_header_preproc=no
 
1669
fi
 
1670
rm -f conftest.err conftest.$ac_ext
 
1671
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1672
$as_echo "$ac_header_preproc" >&6; }
 
1673
 
 
1674
# So?  What about this header?
 
1675
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1676
  yes:no: )
 
1677
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1678
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1679
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1680
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1681
    ;;
 
1682
  no:yes:* )
 
1683
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1684
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1685
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1686
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1687
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1688
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1689
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1690
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1691
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1692
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1693
    ;;
 
1694
esac
 
1695
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1696
$as_echo_n "checking for $2... " >&6; }
 
1697
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1698
  $as_echo_n "(cached) " >&6
 
1699
else
 
1700
  eval "$3=\$ac_header_compiler"
 
1701
fi
 
1702
eval ac_res=\$$3
 
1703
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1704
$as_echo "$ac_res" >&6; }
 
1705
fi
 
1706
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1707
 
 
1708
} # ac_fn_c_check_header_mongrel
 
1709
 
 
1710
# ac_fn_c_try_run LINENO
 
1711
# ----------------------
 
1712
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1713
# that executables *can* be run.
 
1714
ac_fn_c_try_run ()
 
1715
{
 
1716
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1717
  if { { ac_try="$ac_link"
 
1718
case "(($ac_try" in
 
1719
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1720
  *) ac_try_echo=$ac_try;;
 
1721
esac
 
1722
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1723
$as_echo "$ac_try_echo"; } >&5
 
1724
  (eval "$ac_link") 2>&5
 
1725
  ac_status=$?
 
1726
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1727
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1728
  { { case "(($ac_try" in
 
1729
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1730
  *) ac_try_echo=$ac_try;;
 
1731
esac
 
1732
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1733
$as_echo "$ac_try_echo"; } >&5
 
1734
  (eval "$ac_try") 2>&5
 
1735
  ac_status=$?
 
1736
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1737
  test $ac_status = 0; }; }; then :
 
1738
  ac_retval=0
 
1739
else
 
1740
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1741
       $as_echo "$as_me: failed program was:" >&5
 
1742
sed 's/^/| /' conftest.$ac_ext >&5
 
1743
 
 
1744
       ac_retval=$ac_status
 
1745
fi
 
1746
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1747
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1748
  return $ac_retval
 
1749
 
 
1750
} # ac_fn_c_try_run
 
1751
 
 
1752
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1753
# -------------------------------------------------------
 
1754
# Tests whether HEADER exists and can be compiled using the include files in
 
1755
# INCLUDES, setting the cache variable VAR accordingly.
 
1756
ac_fn_c_check_header_compile ()
 
1757
{
 
1758
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1759
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1760
$as_echo_n "checking for $2... " >&6; }
 
1761
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1762
  $as_echo_n "(cached) " >&6
 
1763
else
 
1764
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1765
/* end confdefs.h.  */
 
1766
$4
 
1767
#include <$2>
 
1768
_ACEOF
 
1769
if ac_fn_c_try_compile "$LINENO"; then :
 
1770
  eval "$3=yes"
 
1771
else
 
1772
  eval "$3=no"
 
1773
fi
 
1774
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1775
fi
 
1776
eval ac_res=\$$3
 
1777
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1778
$as_echo "$ac_res" >&6; }
 
1779
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1780
 
 
1781
} # ac_fn_c_check_header_compile
 
1782
 
 
1783
# ac_fn_c_try_link LINENO
 
1784
# -----------------------
 
1785
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1786
ac_fn_c_try_link ()
 
1787
{
 
1788
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1789
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1790
  if { { ac_try="$ac_link"
 
1791
case "(($ac_try" in
 
1792
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1793
  *) ac_try_echo=$ac_try;;
 
1794
esac
 
1795
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1796
$as_echo "$ac_try_echo"; } >&5
 
1797
  (eval "$ac_link") 2>conftest.err
 
1798
  ac_status=$?
 
1799
  if test -s conftest.err; then
 
1800
    grep -v '^ *+' conftest.err >conftest.er1
 
1801
    cat conftest.er1 >&5
 
1802
    mv -f conftest.er1 conftest.err
 
1803
  fi
 
1804
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1805
  test $ac_status = 0; } && {
 
1806
         test -z "$ac_c_werror_flag" ||
 
1807
         test ! -s conftest.err
 
1808
       } && test -s conftest$ac_exeext && {
 
1809
         test "$cross_compiling" = yes ||
 
1810
         $as_test_x conftest$ac_exeext
 
1811
       }; then :
 
1812
  ac_retval=0
 
1813
else
 
1814
  $as_echo "$as_me: failed program was:" >&5
 
1815
sed 's/^/| /' conftest.$ac_ext >&5
 
1816
 
 
1817
        ac_retval=1
 
1818
fi
 
1819
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1820
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1821
  # interfere with the next link command; also delete a directory that is
 
1822
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1823
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1824
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1825
  return $ac_retval
 
1826
 
 
1827
} # ac_fn_c_try_link
 
1828
 
 
1829
# ac_fn_c_check_func LINENO FUNC VAR
 
1830
# ----------------------------------
 
1831
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1832
ac_fn_c_check_func ()
 
1833
{
 
1834
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1835
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1836
$as_echo_n "checking for $2... " >&6; }
 
1837
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1838
  $as_echo_n "(cached) " >&6
 
1839
else
 
1840
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1841
/* end confdefs.h.  */
 
1842
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1843
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1844
#define $2 innocuous_$2
 
1845
 
 
1846
/* System header to define __stub macros and hopefully few prototypes,
 
1847
    which can conflict with char $2 (); below.
 
1848
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1849
    <limits.h> exists even on freestanding compilers.  */
 
1850
 
 
1851
#ifdef __STDC__
 
1852
# include <limits.h>
 
1853
#else
 
1854
# include <assert.h>
 
1855
#endif
 
1856
 
 
1857
#undef $2
 
1858
 
 
1859
/* Override any GCC internal prototype to avoid an error.
 
1860
   Use char because int might match the return type of a GCC
 
1861
   builtin and then its argument prototype would still apply.  */
 
1862
#ifdef __cplusplus
 
1863
extern "C"
 
1864
#endif
 
1865
char $2 ();
 
1866
/* The GNU C library defines this for functions which it implements
 
1867
    to always fail with ENOSYS.  Some functions are actually named
 
1868
    something starting with __ and the normal name is an alias.  */
 
1869
#if defined __stub_$2 || defined __stub___$2
 
1870
choke me
 
1871
#endif
 
1872
 
 
1873
int
 
1874
main ()
 
1875
{
 
1876
return $2 ();
 
1877
  ;
 
1878
  return 0;
 
1879
}
 
1880
_ACEOF
 
1881
if ac_fn_c_try_link "$LINENO"; then :
 
1882
  eval "$3=yes"
 
1883
else
 
1884
  eval "$3=no"
 
1885
fi
 
1886
rm -f core conftest.err conftest.$ac_objext \
 
1887
    conftest$ac_exeext conftest.$ac_ext
 
1888
fi
 
1889
eval ac_res=\$$3
 
1890
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1891
$as_echo "$ac_res" >&6; }
 
1892
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1893
 
 
1894
} # ac_fn_c_check_func
 
1895
 
 
1896
# ac_fn_c_check_decl LINENO SYMBOL VAR
 
1897
# ------------------------------------
 
1898
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
 
1899
ac_fn_c_check_decl ()
 
1900
{
 
1901
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1902
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
 
1903
$as_echo_n "checking whether $2 is declared... " >&6; }
 
1904
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1905
  $as_echo_n "(cached) " >&6
 
1906
else
 
1907
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1908
/* end confdefs.h.  */
 
1909
$4
 
1910
int
 
1911
main ()
 
1912
{
 
1913
#ifndef $2
 
1914
  (void) $2;
 
1915
#endif
 
1916
 
 
1917
  ;
 
1918
  return 0;
 
1919
}
 
1920
_ACEOF
 
1921
if ac_fn_c_try_compile "$LINENO"; then :
 
1922
  eval "$3=yes"
 
1923
else
 
1924
  eval "$3=no"
 
1925
fi
 
1926
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1927
fi
 
1928
eval ac_res=\$$3
 
1929
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1930
$as_echo "$ac_res" >&6; }
 
1931
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1932
 
 
1933
} # ac_fn_c_check_decl
 
1934
 
 
1935
# ac_fn_cxx_try_cpp LINENO
 
1936
# ------------------------
 
1937
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1938
ac_fn_cxx_try_cpp ()
 
1939
{
 
1940
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1941
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1942
case "(($ac_try" in
 
1943
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1944
  *) ac_try_echo=$ac_try;;
 
1945
esac
 
1946
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1947
$as_echo "$ac_try_echo"; } >&5
 
1948
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1949
  ac_status=$?
 
1950
  if test -s conftest.err; then
 
1951
    grep -v '^ *+' conftest.err >conftest.er1
 
1952
    cat conftest.er1 >&5
 
1953
    mv -f conftest.er1 conftest.err
 
1954
  fi
 
1955
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1956
  test $ac_status = 0; } >/dev/null && {
 
1957
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
1958
         test ! -s conftest.err
 
1959
       }; then :
 
1960
  ac_retval=0
 
1961
else
 
1962
  $as_echo "$as_me: failed program was:" >&5
 
1963
sed 's/^/| /' conftest.$ac_ext >&5
 
1964
 
 
1965
    ac_retval=1
 
1966
fi
 
1967
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1968
  return $ac_retval
 
1969
 
 
1970
} # ac_fn_cxx_try_cpp
 
1971
 
 
1972
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1973
# ---------------------------------------------------------
 
1974
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1975
# the include files in INCLUDES and setting the cache variable VAR
 
1976
# accordingly.
 
1977
ac_fn_cxx_check_header_mongrel ()
 
1978
{
 
1979
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1980
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1981
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1982
$as_echo_n "checking for $2... " >&6; }
 
1983
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1984
  $as_echo_n "(cached) " >&6
 
1985
fi
 
1986
eval ac_res=\$$3
 
1987
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1988
$as_echo "$ac_res" >&6; }
 
1989
else
 
1990
  # Is the header compilable?
 
1991
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1992
$as_echo_n "checking $2 usability... " >&6; }
 
1993
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1994
/* end confdefs.h.  */
 
1995
$4
 
1996
#include <$2>
 
1997
_ACEOF
 
1998
if ac_fn_cxx_try_compile "$LINENO"; then :
 
1999
  ac_header_compiler=yes
 
2000
else
 
2001
  ac_header_compiler=no
 
2002
fi
 
2003
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2004
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2005
$as_echo "$ac_header_compiler" >&6; }
 
2006
 
 
2007
# Is the header present?
 
2008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2009
$as_echo_n "checking $2 presence... " >&6; }
 
2010
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2011
/* end confdefs.h.  */
 
2012
#include <$2>
 
2013
_ACEOF
 
2014
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
2015
  ac_header_preproc=yes
 
2016
else
 
2017
  ac_header_preproc=no
 
2018
fi
 
2019
rm -f conftest.err conftest.$ac_ext
 
2020
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2021
$as_echo "$ac_header_preproc" >&6; }
 
2022
 
 
2023
# So?  What about this header?
 
2024
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
 
2025
  yes:no: )
 
2026
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2027
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2028
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2029
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2030
    ;;
 
2031
  no:yes:* )
 
2032
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2033
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2034
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2035
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2036
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2037
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2038
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2039
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2040
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2041
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2042
    ;;
 
2043
esac
 
2044
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2045
$as_echo_n "checking for $2... " >&6; }
 
2046
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2047
  $as_echo_n "(cached) " >&6
 
2048
else
 
2049
  eval "$3=\$ac_header_compiler"
 
2050
fi
 
2051
eval ac_res=\$$3
 
2052
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2053
$as_echo "$ac_res" >&6; }
 
2054
fi
 
2055
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2056
 
 
2057
} # ac_fn_cxx_check_header_mongrel
 
2058
 
 
2059
# ac_fn_cxx_try_link LINENO
 
2060
# -------------------------
 
2061
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
2062
ac_fn_cxx_try_link ()
 
2063
{
 
2064
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2065
  rm -f conftest.$ac_objext conftest$ac_exeext
 
2066
  if { { ac_try="$ac_link"
 
2067
case "(($ac_try" in
 
2068
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2069
  *) ac_try_echo=$ac_try;;
 
2070
esac
 
2071
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2072
$as_echo "$ac_try_echo"; } >&5
 
2073
  (eval "$ac_link") 2>conftest.err
 
2074
  ac_status=$?
 
2075
  if test -s conftest.err; then
 
2076
    grep -v '^ *+' conftest.err >conftest.er1
 
2077
    cat conftest.er1 >&5
 
2078
    mv -f conftest.er1 conftest.err
 
2079
  fi
 
2080
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2081
  test $ac_status = 0; } && {
 
2082
         test -z "$ac_cxx_werror_flag" ||
 
2083
         test ! -s conftest.err
 
2084
       } && test -s conftest$ac_exeext && {
 
2085
         test "$cross_compiling" = yes ||
 
2086
         $as_test_x conftest$ac_exeext
 
2087
       }; then :
 
2088
  ac_retval=0
 
2089
else
 
2090
  $as_echo "$as_me: failed program was:" >&5
 
2091
sed 's/^/| /' conftest.$ac_ext >&5
 
2092
 
 
2093
        ac_retval=1
 
2094
fi
 
2095
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
2096
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
2097
  # interfere with the next link command; also delete a directory that is
 
2098
  # left behind by Apple's compiler.  We do this before executing the actions.
 
2099
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2100
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2101
  return $ac_retval
 
2102
 
 
2103
} # ac_fn_cxx_try_link
 
2104
 
 
2105
# ac_fn_cxx_check_func LINENO FUNC VAR
 
2106
# ------------------------------------
 
2107
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
2108
ac_fn_cxx_check_func ()
 
2109
{
 
2110
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2111
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2112
$as_echo_n "checking for $2... " >&6; }
 
2113
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2114
  $as_echo_n "(cached) " >&6
 
2115
else
 
2116
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2117
/* end confdefs.h.  */
 
2118
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
2119
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
2120
#define $2 innocuous_$2
 
2121
 
 
2122
/* System header to define __stub macros and hopefully few prototypes,
 
2123
    which can conflict with char $2 (); below.
 
2124
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2125
    <limits.h> exists even on freestanding compilers.  */
 
2126
 
 
2127
#ifdef __STDC__
 
2128
# include <limits.h>
 
2129
#else
 
2130
# include <assert.h>
 
2131
#endif
 
2132
 
 
2133
#undef $2
 
2134
 
 
2135
/* Override any GCC internal prototype to avoid an error.
 
2136
   Use char because int might match the return type of a GCC
 
2137
   builtin and then its argument prototype would still apply.  */
 
2138
#ifdef __cplusplus
 
2139
extern "C"
 
2140
#endif
 
2141
char $2 ();
 
2142
/* The GNU C library defines this for functions which it implements
 
2143
    to always fail with ENOSYS.  Some functions are actually named
 
2144
    something starting with __ and the normal name is an alias.  */
 
2145
#if defined __stub_$2 || defined __stub___$2
 
2146
choke me
 
2147
#endif
 
2148
 
 
2149
int
 
2150
main ()
 
2151
{
 
2152
return $2 ();
 
2153
  ;
 
2154
  return 0;
 
2155
}
 
2156
_ACEOF
 
2157
if ac_fn_cxx_try_link "$LINENO"; then :
 
2158
  eval "$3=yes"
 
2159
else
 
2160
  eval "$3=no"
 
2161
fi
 
2162
rm -f core conftest.err conftest.$ac_objext \
 
2163
    conftest$ac_exeext conftest.$ac_ext
 
2164
fi
 
2165
eval ac_res=\$$3
 
2166
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2167
$as_echo "$ac_res" >&6; }
 
2168
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2169
 
 
2170
} # ac_fn_cxx_check_func
 
2171
 
 
2172
# ac_fn_cxx_check_decl LINENO SYMBOL VAR
 
2173
# --------------------------------------
 
2174
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
 
2175
ac_fn_cxx_check_decl ()
 
2176
{
 
2177
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2178
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
 
2179
$as_echo_n "checking whether $2 is declared... " >&6; }
 
2180
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2181
  $as_echo_n "(cached) " >&6
 
2182
else
 
2183
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2184
/* end confdefs.h.  */
 
2185
$4
 
2186
int
 
2187
main ()
 
2188
{
 
2189
#ifndef $2
 
2190
  (void) $2;
 
2191
#endif
 
2192
 
 
2193
  ;
 
2194
  return 0;
 
2195
}
 
2196
_ACEOF
 
2197
if ac_fn_cxx_try_compile "$LINENO"; then :
 
2198
  eval "$3=yes"
 
2199
else
 
2200
  eval "$3=no"
 
2201
fi
 
2202
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2203
fi
 
2204
eval ac_res=\$$3
 
2205
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2206
$as_echo "$ac_res" >&6; }
 
2207
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2208
 
 
2209
} # ac_fn_cxx_check_decl
 
2210
cat >config.log <<_ACEOF
1005
2211
This file contains any messages produced by compilers while
1006
2212
running configure, to aid debugging if configure makes a mistake.
1007
2213
 
1008
2214
It was created by gold $as_me 0.1, which was
1009
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
2215
generated by GNU Autoconf 2.64.  Invocation command line was
1010
2216
 
1011
2217
  $ $0 $@
1012
2218
 
1013
2219
_ACEOF
 
2220
exec 5>>config.log
1014
2221
{
1015
2222
cat <<_ASUNAME
1016
2223
## --------- ##
1029
2236
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1030
2237
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1031
2238
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1032
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
2239
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1033
2240
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1034
2241
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1035
2242
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1041
2248
do
1042
2249
  IFS=$as_save_IFS
1043
2250
  test -z "$as_dir" && as_dir=.
1044
 
  echo "PATH: $as_dir"
1045
 
done
 
2251
    $as_echo "PATH: $as_dir"
 
2252
  done
 
2253
IFS=$as_save_IFS
1046
2254
 
1047
2255
} >&5
1048
2256
 
1064
2272
ac_configure_args=
1065
2273
ac_configure_args0=
1066
2274
ac_configure_args1=
1067
 
ac_sep=
1068
2275
ac_must_keep_next=false
1069
2276
for ac_pass in 1 2
1070
2277
do
1075
2282
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1076
2283
    | -silent | --silent | --silen | --sile | --sil)
1077
2284
      continue ;;
1078
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1079
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2285
    *\'*)
 
2286
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1080
2287
    esac
1081
2288
    case $ac_pass in
1082
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2289
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1083
2290
    2)
1084
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2291
      as_fn_append ac_configure_args1 " '$ac_arg'"
1085
2292
      if test $ac_must_keep_next = true; then
1086
2293
        ac_must_keep_next=false # Got value, back to normal.
1087
2294
      else
1097
2304
          -* ) ac_must_keep_next=true ;;
1098
2305
        esac
1099
2306
      fi
1100
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1101
 
      # Get rid of the leading space.
1102
 
      ac_sep=" "
 
2307
      as_fn_append ac_configure_args " '$ac_arg'"
1103
2308
      ;;
1104
2309
    esac
1105
2310
  done
1106
2311
done
1107
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1108
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2312
{ ac_configure_args0=; unset ac_configure_args0;}
 
2313
{ ac_configure_args1=; unset ac_configure_args1;}
1109
2314
 
1110
2315
# When interrupted or exit'd, cleanup temporary files, and complete
1111
2316
# config.log.  We remove comments because anyway the quotes in there
1112
2317
# would cause problems or look ugly.
1113
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1114
 
# such as our DU 5.0 friend, will then `close' the trap.
 
2318
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
2319
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1115
2320
trap 'exit_status=$?
1116
2321
  # Save into config.log some information that might help in debugging.
1117
2322
  {
1124
2329
_ASBOX
1125
2330
    echo
1126
2331
    # The following way of writing the cache mishandles newlines in values,
1127
 
{
 
2332
(
 
2333
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
2334
    eval ac_val=\$$ac_var
 
2335
    case $ac_val in #(
 
2336
    *${as_nl}*)
 
2337
      case $ac_var in #(
 
2338
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2339
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2340
      esac
 
2341
      case $ac_var in #(
 
2342
      _ | IFS | as_nl) ;; #(
 
2343
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2344
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2345
      esac ;;
 
2346
    esac
 
2347
  done
1128
2348
  (set) 2>&1 |
1129
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1130
 
    *ac_space=\ *)
 
2349
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
2350
    *${as_nl}ac_space=\ *)
1131
2351
      sed -n \
1132
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1133
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1134
 
      ;;
 
2352
        "s/'\''/'\''\\\\'\'''\''/g;
 
2353
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
2354
      ;; #(
1135
2355
    *)
1136
 
      sed -n \
1137
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
2356
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1138
2357
      ;;
1139
 
    esac;
1140
 
}
 
2358
    esac |
 
2359
    sort
 
2360
)
1141
2361
    echo
1142
2362
 
1143
2363
    cat <<\_ASBOX
1148
2368
    echo
1149
2369
    for ac_var in $ac_subst_vars
1150
2370
    do
1151
 
      eval ac_val=$`echo $ac_var`
1152
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
2371
      eval ac_val=\$$ac_var
 
2372
      case $ac_val in
 
2373
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2374
      esac
 
2375
      $as_echo "$ac_var='\''$ac_val'\''"
1153
2376
    done | sort
1154
2377
    echo
1155
2378
 
1156
2379
    if test -n "$ac_subst_files"; then
1157
2380
      cat <<\_ASBOX
1158
 
## ------------- ##
1159
 
## Output files. ##
1160
 
## ------------- ##
 
2381
## ------------------- ##
 
2382
## File substitutions. ##
 
2383
## ------------------- ##
1161
2384
_ASBOX
1162
2385
      echo
1163
2386
      for ac_var in $ac_subst_files
1164
2387
      do
1165
 
        eval ac_val=$`echo $ac_var`
1166
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
2388
        eval ac_val=\$$ac_var
 
2389
        case $ac_val in
 
2390
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2391
        esac
 
2392
        $as_echo "$ac_var='\''$ac_val'\''"
1167
2393
      done | sort
1168
2394
      echo
1169
2395
    fi
1175
2401
## ----------- ##
1176
2402
_ASBOX
1177
2403
      echo
1178
 
      sed "/^$/d" confdefs.h | sort
 
2404
      cat confdefs.h
1179
2405
      echo
1180
2406
    fi
1181
2407
    test "$ac_signal" != 0 &&
1182
 
      echo "$as_me: caught signal $ac_signal"
1183
 
    echo "$as_me: exit $exit_status"
 
2408
      $as_echo "$as_me: caught signal $ac_signal"
 
2409
    $as_echo "$as_me: exit $exit_status"
1184
2410
  } >&5
1185
 
  rm -f core *.core &&
1186
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
2411
  rm -f core *.core core.conftest.* &&
 
2412
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1187
2413
    exit $exit_status
1188
 
     ' 0
 
2414
' 0
1189
2415
for ac_signal in 1 2 13 15; do
1190
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2416
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1191
2417
done
1192
2418
ac_signal=0
1193
2419
 
1194
2420
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1195
 
rm -rf conftest* confdefs.h
1196
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1197
 
echo >confdefs.h
 
2421
rm -f -r conftest* confdefs.h
 
2422
 
 
2423
$as_echo "/* confdefs.h */" > confdefs.h
1198
2424
 
1199
2425
# Predefined preprocessor variables.
1200
2426
 
1202
2428
#define PACKAGE_NAME "$PACKAGE_NAME"
1203
2429
_ACEOF
1204
2430
 
1205
 
 
1206
2431
cat >>confdefs.h <<_ACEOF
1207
2432
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1208
2433
_ACEOF
1209
2434
 
1210
 
 
1211
2435
cat >>confdefs.h <<_ACEOF
1212
2436
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1213
2437
_ACEOF
1214
2438
 
1215
 
 
1216
2439
cat >>confdefs.h <<_ACEOF
1217
2440
#define PACKAGE_STRING "$PACKAGE_STRING"
1218
2441
_ACEOF
1219
2442
 
1220
 
 
1221
2443
cat >>confdefs.h <<_ACEOF
1222
2444
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1223
2445
_ACEOF
1224
2446
 
 
2447
cat >>confdefs.h <<_ACEOF
 
2448
#define PACKAGE_URL "$PACKAGE_URL"
 
2449
_ACEOF
 
2450
 
1225
2451
 
1226
2452
# Let the site file select an alternate cache file if it wants to.
1227
 
# Prefer explicitly selected file to automatically selected ones.
1228
 
if test -z "$CONFIG_SITE"; then
1229
 
  if test "x$prefix" != xNONE; then
1230
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1231
 
  else
1232
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1233
 
  fi
 
2453
# Prefer an explicitly selected file to automatically selected ones.
 
2454
ac_site_file1=NONE
 
2455
ac_site_file2=NONE
 
2456
if test -n "$CONFIG_SITE"; then
 
2457
  ac_site_file1=$CONFIG_SITE
 
2458
elif test "x$prefix" != xNONE; then
 
2459
  ac_site_file1=$prefix/share/config.site
 
2460
  ac_site_file2=$prefix/etc/config.site
 
2461
else
 
2462
  ac_site_file1=$ac_default_prefix/share/config.site
 
2463
  ac_site_file2=$ac_default_prefix/etc/config.site
1234
2464
fi
1235
 
for ac_site_file in $CONFIG_SITE; do
 
2465
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2466
do
 
2467
  test "x$ac_site_file" = xNONE && continue
1236
2468
  if test -r "$ac_site_file"; then
1237
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1238
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
2469
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2470
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1239
2471
    sed 's/^/| /' "$ac_site_file" >&5
1240
2472
    . "$ac_site_file"
1241
2473
  fi
1245
2477
  # Some versions of bash will fail to source /dev/null (special
1246
2478
  # files actually), so we avoid doing that.
1247
2479
  if test -f "$cache_file"; then
1248
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1249
 
echo "$as_me: loading cache $cache_file" >&6;}
 
2480
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2481
$as_echo "$as_me: loading cache $cache_file" >&6;}
1250
2482
    case $cache_file in
1251
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1252
 
      *)                      . ./$cache_file;;
 
2483
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2484
      *)                      . "./$cache_file";;
1253
2485
    esac
1254
2486
  fi
1255
2487
else
1256
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1257
 
echo "$as_me: creating cache $cache_file" >&6;}
 
2488
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2489
$as_echo "$as_me: creating cache $cache_file" >&6;}
1258
2490
  >$cache_file
1259
2491
fi
1260
2492
 
1261
2493
# Check that the precious variables saved in the cache have kept the same
1262
2494
# value.
1263
2495
ac_cache_corrupted=false
1264
 
for ac_var in `(set) 2>&1 |
1265
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
2496
for ac_var in $ac_precious_vars; do
1266
2497
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1267
2498
  eval ac_new_set=\$ac_env_${ac_var}_set
1268
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1269
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
2499
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2500
  eval ac_new_val=\$ac_env_${ac_var}_value
1270
2501
  case $ac_old_set,$ac_new_set in
1271
2502
    set,)
1272
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1273
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2503
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2504
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1274
2505
      ac_cache_corrupted=: ;;
1275
2506
    ,set)
1276
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1277
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2507
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2508
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1278
2509
      ac_cache_corrupted=: ;;
1279
2510
    ,);;
1280
2511
    *)
1281
2512
      if test "x$ac_old_val" != "x$ac_new_val"; then
1282
 
        # differences in whitespace do not lead to failure.
1283
 
        ac_old_val_w=`echo x $ac_old_val`
1284
 
        ac_new_val_w=`echo x $ac_new_val`
1285
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1286
 
          { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1287
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1288
 
          ac_cache_corrupted=:
1289
 
        else
1290
 
          { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1291
 
echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1292
 
          eval $ac_var=\$ac_old_val
1293
 
        fi
1294
 
        { echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1295
 
echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1296
 
        { echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1297
 
echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
2513
        # differences in whitespace do not lead to failure.
 
2514
        ac_old_val_w=`echo x $ac_old_val`
 
2515
        ac_new_val_w=`echo x $ac_new_val`
 
2516
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2517
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2518
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2519
          ac_cache_corrupted=:
 
2520
        else
 
2521
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2522
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2523
          eval $ac_var=\$ac_old_val
 
2524
        fi
 
2525
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2526
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2527
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2528
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1298
2529
      fi;;
1299
2530
  esac
1300
2531
  # Pass precious variables to config.status.
1301
2532
  if test "$ac_new_set" = set; then
1302
2533
    case $ac_new_val in
1303
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1304
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2534
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1305
2535
    *) ac_arg=$ac_var=$ac_new_val ;;
1306
2536
    esac
1307
2537
    case " $ac_configure_args " in
1308
2538
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1309
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2539
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1310
2540
    esac
1311
2541
  fi
1312
2542
done
1313
2543
if $ac_cache_corrupted; then
1314
 
  { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1315
 
echo "$as_me: error: in \`$ac_pwd':" >&2;}
1316
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1317
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1318
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1319
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1320
 
   { (exit 1); exit 1; }; }
 
2544
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2545
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2546
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2547
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2548
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1321
2549
fi
 
2550
## -------------------- ##
 
2551
## Main body of script. ##
 
2552
## -------------------- ##
1322
2553
 
1323
2554
ac_ext=c
1324
2555
ac_cpp='$CPP $CPPFLAGS'
1332
2563
 
1333
2564
 
1334
2565
 
1335
 
 
1336
 
 
1337
 
 
1338
 
 
1339
 
 
1340
 
 
1341
 
 
1342
 
 
1343
 
 
1344
 
 
1345
 
 
1346
 
 
1347
 
 
1348
 
 
1349
 
 
1350
 
 
1351
 
 
1352
 
 
1353
 
 
1354
 
 
1355
 
 
1356
 
 
1357
 
 
1358
 
 
1359
 
 
1360
2566
ac_aux_dir=
1361
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1362
 
  if test -f $ac_dir/install-sh; then
1363
 
    ac_aux_dir=$ac_dir
1364
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
1365
 
    break
1366
 
  elif test -f $ac_dir/install.sh; then
1367
 
    ac_aux_dir=$ac_dir
1368
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
1369
 
    break
1370
 
  elif test -f $ac_dir/shtool; then
1371
 
    ac_aux_dir=$ac_dir
1372
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
1373
 
    break
1374
 
  fi
 
2567
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2568
  for ac_t in install-sh install.sh shtool; do
 
2569
    if test -f "$ac_dir/$ac_t"; then
 
2570
      ac_aux_dir=$ac_dir
 
2571
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2572
      break 2
 
2573
    fi
 
2574
  done
1375
2575
done
1376
2576
if test -z "$ac_aux_dir"; then
1377
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1378
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1379
 
   { (exit 1); exit 1; }; }
 
2577
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1380
2578
fi
1381
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1382
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1383
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2579
 
 
2580
# These three variables are undocumented and unsupported,
 
2581
# and are intended to be withdrawn in a future Autoconf release.
 
2582
# They can cause serious problems if a builder's source tree is in a directory
 
2583
# whose full name contains unusual characters.
 
2584
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2585
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2586
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2587
 
1384
2588
 
1385
2589
# Make sure we can run config.sub.
1386
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
1387
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1388
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1389
 
   { (exit 1); exit 1; }; }
 
2590
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2591
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1390
2592
 
1391
 
echo "$as_me:$LINENO: checking build system type" >&5
1392
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
1393
 
if test "${ac_cv_build+set}" = set; then
1394
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2593
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
2594
$as_echo_n "checking build system type... " >&6; }
 
2595
if test "${ac_cv_build+set}" = set; then :
 
2596
  $as_echo_n "(cached) " >&6
1395
2597
else
1396
 
  ac_cv_build_alias=$build_alias
1397
 
test -z "$ac_cv_build_alias" &&
1398
 
  ac_cv_build_alias=`$ac_config_guess`
1399
 
test -z "$ac_cv_build_alias" &&
1400
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1401
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1402
 
   { (exit 1); exit 1; }; }
1403
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1404
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1405
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1406
 
   { (exit 1); exit 1; }; }
 
2598
  ac_build_alias=$build_alias
 
2599
test "x$ac_build_alias" = x &&
 
2600
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2601
test "x$ac_build_alias" = x &&
 
2602
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
2603
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2604
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1407
2605
 
1408
2606
fi
1409
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1410
 
echo "${ECHO_T}$ac_cv_build" >&6
 
2607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
2608
$as_echo "$ac_cv_build" >&6; }
 
2609
case $ac_cv_build in
 
2610
*-*-*) ;;
 
2611
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
2612
esac
1411
2613
build=$ac_cv_build
1412
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1413
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1414
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1415
 
 
1416
 
 
1417
 
echo "$as_me:$LINENO: checking host system type" >&5
1418
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
1419
 
if test "${ac_cv_host+set}" = set; then
1420
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1421
 
else
1422
 
  ac_cv_host_alias=$host_alias
1423
 
test -z "$ac_cv_host_alias" &&
1424
 
  ac_cv_host_alias=$ac_cv_build_alias
1425
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1426
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1427
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1428
 
   { (exit 1); exit 1; }; }
1429
 
 
1430
 
fi
1431
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1432
 
echo "${ECHO_T}$ac_cv_host" >&6
 
2614
ac_save_IFS=$IFS; IFS='-'
 
2615
set x $ac_cv_build
 
2616
shift
 
2617
build_cpu=$1
 
2618
build_vendor=$2
 
2619
shift; shift
 
2620
# Remember, the first character of IFS is used to create $*,
 
2621
# except with old shells:
 
2622
build_os=$*
 
2623
IFS=$ac_save_IFS
 
2624
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2625
 
 
2626
 
 
2627
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
2628
$as_echo_n "checking host system type... " >&6; }
 
2629
if test "${ac_cv_host+set}" = set; then :
 
2630
  $as_echo_n "(cached) " >&6
 
2631
else
 
2632
  if test "x$host_alias" = x; then
 
2633
  ac_cv_host=$ac_cv_build
 
2634
else
 
2635
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2636
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
2637
fi
 
2638
 
 
2639
fi
 
2640
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
2641
$as_echo "$ac_cv_host" >&6; }
 
2642
case $ac_cv_host in
 
2643
*-*-*) ;;
 
2644
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
2645
esac
1433
2646
host=$ac_cv_host
1434
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1435
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1436
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1437
 
 
1438
 
 
1439
 
echo "$as_me:$LINENO: checking target system type" >&5
1440
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6
1441
 
if test "${ac_cv_target+set}" = set; then
1442
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1443
 
else
1444
 
  ac_cv_target_alias=$target_alias
1445
 
test "x$ac_cv_target_alias" = "x" &&
1446
 
  ac_cv_target_alias=$ac_cv_host_alias
1447
 
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1448
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1449
 
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1450
 
   { (exit 1); exit 1; }; }
1451
 
 
1452
 
fi
1453
 
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1454
 
echo "${ECHO_T}$ac_cv_target" >&6
 
2647
ac_save_IFS=$IFS; IFS='-'
 
2648
set x $ac_cv_host
 
2649
shift
 
2650
host_cpu=$1
 
2651
host_vendor=$2
 
2652
shift; shift
 
2653
# Remember, the first character of IFS is used to create $*,
 
2654
# except with old shells:
 
2655
host_os=$*
 
2656
IFS=$ac_save_IFS
 
2657
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
2658
 
 
2659
 
 
2660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 
2661
$as_echo_n "checking target system type... " >&6; }
 
2662
if test "${ac_cv_target+set}" = set; then :
 
2663
  $as_echo_n "(cached) " >&6
 
2664
else
 
2665
  if test "x$target_alias" = x; then
 
2666
  ac_cv_target=$ac_cv_host
 
2667
else
 
2668
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 
2669
    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 
2670
fi
 
2671
 
 
2672
fi
 
2673
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
 
2674
$as_echo "$ac_cv_target" >&6; }
 
2675
case $ac_cv_target in
 
2676
*-*-*) ;;
 
2677
*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
 
2678
esac
1455
2679
target=$ac_cv_target
1456
 
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1457
 
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1458
 
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
2680
ac_save_IFS=$IFS; IFS='-'
 
2681
set x $ac_cv_target
 
2682
shift
 
2683
target_cpu=$1
 
2684
target_vendor=$2
 
2685
shift; shift
 
2686
# Remember, the first character of IFS is used to create $*,
 
2687
# except with old shells:
 
2688
target_os=$*
 
2689
IFS=$ac_save_IFS
 
2690
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1459
2691
 
1460
2692
 
1461
2693
# The aliases save the names the user supplied, while $host etc.
1465
2697
    NONENONEs,x,x, &&
1466
2698
  program_prefix=${target_alias}-
1467
2699
 
1468
 
am__api_version="1.9"
 
2700
am__api_version='1.11'
 
2701
 
1469
2702
# Find a good install program.  We prefer a C program (faster),
1470
2703
# so one script is as good as another.  But avoid the broken or
1471
2704
# incompatible versions:
1480
2713
# OS/2's system install, which has a completely different semantic
1481
2714
# ./install, which can be erroneously created by make from ./install.sh.
1482
2715
# Reject install programs that cannot install multiple files.
1483
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1484
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2716
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2717
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1485
2718
if test -z "$INSTALL"; then
1486
 
if test "${ac_cv_path_install+set}" = set; then
1487
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2719
if test "${ac_cv_path_install+set}" = set; then :
 
2720
  $as_echo_n "(cached) " >&6
1488
2721
else
1489
2722
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1490
2723
for as_dir in $PATH
1491
2724
do
1492
2725
  IFS=$as_save_IFS
1493
2726
  test -z "$as_dir" && as_dir=.
1494
 
  # Account for people who put trailing slashes in PATH elements.
1495
 
case $as_dir/ in
1496
 
  ./ | .// | /cC/* | \
 
2727
    # Account for people who put trailing slashes in PATH elements.
 
2728
case $as_dir/ in #((
 
2729
  ./ | .// | /[cC]/* | \
1497
2730
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1498
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2731
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1499
2732
  /usr/ucb/* ) ;;
1500
2733
  *)
1501
2734
    # OSF1 and SCO ODT 3.0 have their own names for install.
1503
2736
    # by default.
1504
2737
    for ac_prog in ginstall scoinst install; do
1505
2738
      for ac_exec_ext in '' $ac_executable_extensions; do
1506
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2739
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1507
2740
          if test $ac_prog = install &&
1508
2741
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1509
2742
            # AIX install.  It has an incompatible calling convention.
1531
2764
    done
1532
2765
    ;;
1533
2766
esac
1534
 
done
 
2767
 
 
2768
  done
 
2769
IFS=$as_save_IFS
1535
2770
 
1536
2771
rm -rf conftest.one conftest.two conftest.dir
1537
2772
 
1546
2781
    INSTALL=$ac_install_sh
1547
2782
  fi
1548
2783
fi
1549
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1550
 
echo "${ECHO_T}$INSTALL" >&6
 
2784
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2785
$as_echo "$INSTALL" >&6; }
1551
2786
 
1552
2787
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1553
2788
# It thinks the first close brace ends the variable substitution.
1557
2792
 
1558
2793
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1559
2794
 
1560
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1561
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2795
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2796
$as_echo_n "checking whether build environment is sane... " >&6; }
1562
2797
# Just in case
1563
2798
sleep 1
1564
2799
echo timestamp > conftest.file
 
2800
# Reject unsafe characters in $srcdir or the absolute working directory
 
2801
# name.  Accept space and tab only in the latter.
 
2802
am_lf='
 
2803
'
 
2804
case `pwd` in
 
2805
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2806
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2807
esac
 
2808
case $srcdir in
 
2809
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2810
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2811
esac
 
2812
 
1565
2813
# Do `set' in a subshell so we don't clobber the current shell's
1566
2814
# arguments.  Must try -L first in case configure is actually a
1567
2815
# symlink; some systems play weird games with the mod time of symlinks
1568
2816
# (eg FreeBSD returns the mod time of the symlink's containing
1569
2817
# directory).
1570
2818
if (
1571
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2819
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1572
2820
   if test "$*" = "X"; then
1573
2821
      # -L didn't work.
1574
 
      set X `ls -t $srcdir/configure conftest.file`
 
2822
      set X `ls -t "$srcdir/configure" conftest.file`
1575
2823
   fi
1576
2824
   rm -f conftest.file
1577
2825
   if test "$*" != "X $srcdir/configure conftest.file" \
1581
2829
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1582
2830
      # broken ls alias from the environment.  This has actually
1583
2831
      # happened.  Such a system could not be considered "sane".
1584
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1585
 
alias in your environment" >&5
1586
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1587
 
alias in your environment" >&2;}
1588
 
   { (exit 1); exit 1; }; }
 
2832
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2833
alias in your environment" "$LINENO" 5
1589
2834
   fi
1590
2835
 
1591
2836
   test "$2" = conftest.file
1594
2839
   # Ok.
1595
2840
   :
1596
2841
else
1597
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1598
 
Check your system clock" >&5
1599
 
echo "$as_me: error: newly created file is older than distributed files!
1600
 
Check your system clock" >&2;}
1601
 
   { (exit 1); exit 1; }; }
 
2842
   as_fn_error "newly created file is older than distributed files!
 
2843
Check your system clock" "$LINENO" 5
1602
2844
fi
1603
 
echo "$as_me:$LINENO: result: yes" >&5
1604
 
echo "${ECHO_T}yes" >&6
 
2845
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2846
$as_echo "yes" >&6; }
1605
2847
test "$program_prefix" != NONE &&
1606
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2848
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1607
2849
# Use a double $ so make ignores it.
1608
2850
test "$program_suffix" != NONE &&
1609
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1610
 
# Double any \ or $.  echo might interpret backslashes.
 
2851
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2852
# Double any \ or $.
1611
2853
# By default was `s,x,x', remove it if useless.
1612
 
cat <<\_ACEOF >conftest.sed
1613
 
s/[\\$]/&&/g;s/;s,x,x,$//
1614
 
_ACEOF
1615
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1616
 
rm conftest.sed
 
2854
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2855
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1617
2856
 
1618
2857
# expand $ac_aux_dir to an absolute path
1619
2858
am_aux_dir=`cd $ac_aux_dir && pwd`
1620
2859
 
1621
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2860
if test x"${MISSING+set}" != xset; then
 
2861
  case $am_aux_dir in
 
2862
  *\ * | *\     *)
 
2863
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2864
  *)
 
2865
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2866
  esac
 
2867
fi
1622
2868
# Use eval to expand $SHELL
1623
2869
if eval "$MISSING --run true"; then
1624
2870
  am_missing_run="$MISSING --run "
1625
2871
else
1626
2872
  am_missing_run=
1627
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1628
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1629
 
fi
1630
 
 
1631
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1632
 
  # We used to keeping the `.' as first argument, in order to
1633
 
  # allow $(mkdir_p) to be used without argument.  As in
1634
 
  #   $(mkdir_p) $(somedir)
1635
 
  # where $(somedir) is conditionally defined.  However this is wrong
1636
 
  # for two reasons:
1637
 
  #  1. if the package is installed by a user who cannot write `.'
1638
 
  #     make install will fail,
1639
 
  #  2. the above comment should most certainly read
1640
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
1641
 
  #     so it does not work when $(somedir) is undefined and
1642
 
  #     $(DESTDIR) is not.
1643
 
  #  To support the latter case, we have to write
1644
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1645
 
  #  so the `.' trick is pointless.
1646
 
  mkdir_p='mkdir -p --'
1647
 
else
1648
 
  # On NextStep and OpenStep, the `mkdir' command does not
1649
 
  # recognize any option.  It will interpret all options as
1650
 
  # directories to create, and then abort because `.' already
1651
 
  # exists.
1652
 
  for d in ./-p ./--version;
1653
 
  do
1654
 
    test -d $d && rmdir $d
1655
 
  done
1656
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1657
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
1658
 
    mkdir_p='$(mkinstalldirs)'
1659
 
  else
1660
 
    mkdir_p='$(install_sh) -d'
1661
 
  fi
1662
 
fi
 
2873
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2874
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2875
fi
 
2876
 
 
2877
if test x"${install_sh}" != xset; then
 
2878
  case $am_aux_dir in
 
2879
  *\ * | *\     *)
 
2880
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2881
  *)
 
2882
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2883
  esac
 
2884
fi
 
2885
 
 
2886
# Installed binaries are usually stripped using `strip' when the user
 
2887
# run `make install-strip'.  However `strip' might not be the right
 
2888
# tool to use in cross-compilation environments, therefore Automake
 
2889
# will honor the `STRIP' environment variable to overrule this program.
 
2890
if test "$cross_compiling" != no; then
 
2891
  if test -n "$ac_tool_prefix"; then
 
2892
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2893
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2894
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2895
$as_echo_n "checking for $ac_word... " >&6; }
 
2896
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2897
  $as_echo_n "(cached) " >&6
 
2898
else
 
2899
  if test -n "$STRIP"; then
 
2900
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2901
else
 
2902
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2903
for as_dir in $PATH
 
2904
do
 
2905
  IFS=$as_save_IFS
 
2906
  test -z "$as_dir" && as_dir=.
 
2907
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2908
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2909
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2910
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2911
    break 2
 
2912
  fi
 
2913
done
 
2914
  done
 
2915
IFS=$as_save_IFS
 
2916
 
 
2917
fi
 
2918
fi
 
2919
STRIP=$ac_cv_prog_STRIP
 
2920
if test -n "$STRIP"; then
 
2921
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2922
$as_echo "$STRIP" >&6; }
 
2923
else
 
2924
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2925
$as_echo "no" >&6; }
 
2926
fi
 
2927
 
 
2928
 
 
2929
fi
 
2930
if test -z "$ac_cv_prog_STRIP"; then
 
2931
  ac_ct_STRIP=$STRIP
 
2932
  # Extract the first word of "strip", so it can be a program name with args.
 
2933
set dummy strip; ac_word=$2
 
2934
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2935
$as_echo_n "checking for $ac_word... " >&6; }
 
2936
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2937
  $as_echo_n "(cached) " >&6
 
2938
else
 
2939
  if test -n "$ac_ct_STRIP"; then
 
2940
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2941
else
 
2942
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2943
for as_dir in $PATH
 
2944
do
 
2945
  IFS=$as_save_IFS
 
2946
  test -z "$as_dir" && as_dir=.
 
2947
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2948
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2949
    ac_cv_prog_ac_ct_STRIP="strip"
 
2950
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2951
    break 2
 
2952
  fi
 
2953
done
 
2954
  done
 
2955
IFS=$as_save_IFS
 
2956
 
 
2957
fi
 
2958
fi
 
2959
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2960
if test -n "$ac_ct_STRIP"; then
 
2961
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2962
$as_echo "$ac_ct_STRIP" >&6; }
 
2963
else
 
2964
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2965
$as_echo "no" >&6; }
 
2966
fi
 
2967
 
 
2968
  if test "x$ac_ct_STRIP" = x; then
 
2969
    STRIP=":"
 
2970
  else
 
2971
    case $cross_compiling:$ac_tool_warned in
 
2972
yes:)
 
2973
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2974
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2975
ac_tool_warned=yes ;;
 
2976
esac
 
2977
    STRIP=$ac_ct_STRIP
 
2978
  fi
 
2979
else
 
2980
  STRIP="$ac_cv_prog_STRIP"
 
2981
fi
 
2982
 
 
2983
fi
 
2984
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2985
 
 
2986
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2987
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2988
if test -z "$MKDIR_P"; then
 
2989
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2990
  $as_echo_n "(cached) " >&6
 
2991
else
 
2992
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2993
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2994
do
 
2995
  IFS=$as_save_IFS
 
2996
  test -z "$as_dir" && as_dir=.
 
2997
    for ac_prog in mkdir gmkdir; do
 
2998
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2999
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
3000
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
3001
             'mkdir (GNU coreutils) '* | \
 
3002
             'mkdir (coreutils) '* | \
 
3003
             'mkdir (fileutils) '4.1*)
 
3004
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
3005
               break 3;;
 
3006
           esac
 
3007
         done
 
3008
       done
 
3009
  done
 
3010
IFS=$as_save_IFS
 
3011
 
 
3012
fi
 
3013
 
 
3014
  if test "${ac_cv_path_mkdir+set}" = set; then
 
3015
    MKDIR_P="$ac_cv_path_mkdir -p"
 
3016
  else
 
3017
    # As a last resort, use the slow shell script.  Don't cache a
 
3018
    # value for MKDIR_P within a source directory, because that will
 
3019
    # break other packages using the cache if that directory is
 
3020
    # removed, or if the value is a relative name.
 
3021
    test -d ./--version && rmdir ./--version
 
3022
    MKDIR_P="$ac_install_sh -d"
 
3023
  fi
 
3024
fi
 
3025
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
3026
$as_echo "$MKDIR_P" >&6; }
 
3027
 
 
3028
mkdir_p="$MKDIR_P"
 
3029
case $mkdir_p in
 
3030
  [\\/$]* | ?:[\\/]*) ;;
 
3031
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
3032
esac
1663
3033
 
1664
3034
for ac_prog in gawk mawk nawk awk
1665
3035
do
1666
3036
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1667
3037
set dummy $ac_prog; ac_word=$2
1668
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1669
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1670
 
if test "${ac_cv_prog_AWK+set}" = set; then
1671
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3038
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3039
$as_echo_n "checking for $ac_word... " >&6; }
 
3040
if test "${ac_cv_prog_AWK+set}" = set; then :
 
3041
  $as_echo_n "(cached) " >&6
1672
3042
else
1673
3043
  if test -n "$AWK"; then
1674
3044
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1678
3048
do
1679
3049
  IFS=$as_save_IFS
1680
3050
  test -z "$as_dir" && as_dir=.
1681
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1682
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3051
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3052
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1683
3053
    ac_cv_prog_AWK="$ac_prog"
1684
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3054
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1685
3055
    break 2
1686
3056
  fi
1687
3057
done
1688
 
done
 
3058
  done
 
3059
IFS=$as_save_IFS
1689
3060
 
1690
3061
fi
1691
3062
fi
1692
3063
AWK=$ac_cv_prog_AWK
1693
3064
if test -n "$AWK"; then
1694
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1695
 
echo "${ECHO_T}$AWK" >&6
 
3065
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
3066
$as_echo "$AWK" >&6; }
1696
3067
else
1697
 
  echo "$as_me:$LINENO: result: no" >&5
1698
 
echo "${ECHO_T}no" >&6
 
3068
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3069
$as_echo "no" >&6; }
1699
3070
fi
1700
3071
 
 
3072
 
1701
3073
  test -n "$AWK" && break
1702
3074
done
1703
3075
 
1704
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1705
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1706
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1707
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1708
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3076
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3077
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
3078
set x ${MAKE-make}
 
3079
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
3080
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
3081
  $as_echo_n "(cached) " >&6
1709
3082
else
1710
3083
  cat >conftest.make <<\_ACEOF
 
3084
SHELL = /bin/sh
1711
3085
all:
1712
 
        @echo 'ac_maketemp="$(MAKE)"'
 
3086
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1713
3087
_ACEOF
1714
3088
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1715
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1716
 
if test -n "$ac_maketemp"; then
1717
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1718
 
else
1719
 
  eval ac_cv_prog_make_${ac_make}_set=no
1720
 
fi
 
3089
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
3090
  *@@@%%%=?*=@@@%%%*)
 
3091
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
3092
  *)
 
3093
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
3094
esac
1721
3095
rm -f conftest.make
1722
3096
fi
1723
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1724
 
  echo "$as_me:$LINENO: result: yes" >&5
1725
 
echo "${ECHO_T}yes" >&6
 
3097
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
3098
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3099
$as_echo "yes" >&6; }
1726
3100
  SET_MAKE=
1727
3101
else
1728
 
  echo "$as_me:$LINENO: result: no" >&5
1729
 
echo "${ECHO_T}no" >&6
 
3102
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3103
$as_echo "no" >&6; }
1730
3104
  SET_MAKE="MAKE=${MAKE-make}"
1731
3105
fi
1732
3106
 
1739
3113
fi
1740
3114
rmdir .tst 2>/dev/null
1741
3115
 
1742
 
# test to see if srcdir already configured
1743
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1744
 
   test -f $srcdir/config.status; then
1745
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1746
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1747
 
   { (exit 1); exit 1; }; }
 
3116
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
3117
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
3118
  # is not polluted with repeated "-I."
 
3119
  am__isrc=' -I$(srcdir)'
 
3120
  # test to see if srcdir already configured
 
3121
  if test -f $srcdir/config.status; then
 
3122
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
3123
  fi
1748
3124
fi
1749
3125
 
1750
3126
# test whether we have cygpath
1787
3163
 
1788
3164
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1789
3165
 
1790
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1791
 
 
1792
 
# Installed binaries are usually stripped using `strip' when the user
1793
 
# run `make install-strip'.  However `strip' might not be the right
1794
 
# tool to use in cross-compilation environments, therefore Automake
1795
 
# will honor the `STRIP' environment variable to overrule this program.
1796
 
if test "$cross_compiling" != no; then
1797
 
  if test -n "$ac_tool_prefix"; then
1798
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1799
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
1800
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1801
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1802
 
if test "${ac_cv_prog_STRIP+set}" = set; then
1803
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1804
 
else
1805
 
  if test -n "$STRIP"; then
1806
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1807
 
else
1808
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1809
 
for as_dir in $PATH
1810
 
do
1811
 
  IFS=$as_save_IFS
1812
 
  test -z "$as_dir" && as_dir=.
1813
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1814
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1815
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1816
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1817
 
    break 2
1818
 
  fi
1819
 
done
1820
 
done
1821
 
 
1822
 
fi
1823
 
fi
1824
 
STRIP=$ac_cv_prog_STRIP
1825
 
if test -n "$STRIP"; then
1826
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1827
 
echo "${ECHO_T}$STRIP" >&6
1828
 
else
1829
 
  echo "$as_me:$LINENO: result: no" >&5
1830
 
echo "${ECHO_T}no" >&6
1831
 
fi
1832
 
 
1833
 
fi
1834
 
if test -z "$ac_cv_prog_STRIP"; then
1835
 
  ac_ct_STRIP=$STRIP
1836
 
  # Extract the first word of "strip", so it can be a program name with args.
1837
 
set dummy strip; ac_word=$2
1838
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1839
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1840
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1841
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1842
 
else
1843
 
  if test -n "$ac_ct_STRIP"; then
1844
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1845
 
else
1846
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1847
 
for as_dir in $PATH
1848
 
do
1849
 
  IFS=$as_save_IFS
1850
 
  test -z "$as_dir" && as_dir=.
1851
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1852
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1853
 
    ac_cv_prog_ac_ct_STRIP="strip"
1854
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1855
 
    break 2
1856
 
  fi
1857
 
done
1858
 
done
1859
 
 
1860
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1861
 
fi
1862
 
fi
1863
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1864
 
if test -n "$ac_ct_STRIP"; then
1865
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1866
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
1867
 
else
1868
 
  echo "$as_me:$LINENO: result: no" >&5
1869
 
echo "${ECHO_T}no" >&6
1870
 
fi
1871
 
 
1872
 
  STRIP=$ac_ct_STRIP
1873
 
else
1874
 
  STRIP="$ac_cv_prog_STRIP"
1875
 
fi
1876
 
 
1877
 
fi
1878
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1879
 
 
1880
3166
# We need awk for the "check" target.  The system "awk" is bad on
1881
3167
# some platforms.
1882
3168
# Always define AMTAR for backward compatibility.
1890
3176
 
1891
3177
 
1892
3178
 
1893
 
          ac_config_headers="$ac_config_headers config.h:config.in"
1894
 
 
1895
 
 
1896
 
 
1897
 
# Check whether --with-sysroot or --without-sysroot was given.
1898
 
if test "${with_sysroot+set}" = set; then
1899
 
  withval="$with_sysroot"
1900
 
  sysroot=$withval
 
3179
ac_config_headers="$ac_config_headers config.h:config.in"
 
3180
 
 
3181
 
 
3182
 
 
3183
# Check whether --with-sysroot was given.
 
3184
if test "${with_sysroot+set}" = set; then :
 
3185
  withval=$with_sysroot; sysroot=$withval
1901
3186
else
1902
3187
  sysroot=no
1903
 
fi;
 
3188
fi
 
3189
 
1904
3190
 
1905
3191
if test "$sysroot" = "yes"; then
1906
3192
  sysroot='${exec_prefix}/${target_alias}/sys-root'
1931
3217
_ACEOF
1932
3218
 
1933
3219
 
1934
 
# Check whether --enable-threads or --disable-threads was given.
1935
 
if test "${enable_threads+set}" = set; then
1936
 
  enableval="$enable_threads"
1937
 
  case "${enableval}" in
 
3220
# Check whether --enable-threads was given.
 
3221
if test "${enable_threads+set}" = set; then :
 
3222
  enableval=$enable_threads; case "${enableval}" in
1938
3223
  yes | "") threads=yes ;;
1939
3224
  no) threads=no ;;
1940
3225
  *) threads=yes ;;
1941
3226
 esac
1942
3227
else
1943
3228
  threads=no
1944
 
fi;
1945
 
if test "$threads" = "yes"; then
1946
 
 
1947
 
cat >>confdefs.h <<\_ACEOF
1948
 
#define ENABLE_THREADS 1
1949
 
_ACEOF
1950
 
 
1951
 
fi
1952
 
 
1953
 
 
1954
 
if test "$threads" = "yes"; then
 
3229
fi
 
3230
 
 
3231
if test "$threads" = "yes"; then
 
3232
 
 
3233
$as_echo "#define ENABLE_THREADS 1" >>confdefs.h
 
3234
 
 
3235
fi
 
3236
 if test "$threads" = "yes"; then
1955
3237
  THREADS_TRUE=
1956
3238
  THREADS_FALSE='#'
1957
3239
else
1960
3242
fi
1961
3243
 
1962
3244
 
1963
 
# Check whether --enable-plugins or --disable-plugins was given.
1964
 
if test "${enable_plugins+set}" = set; then
1965
 
  enableval="$enable_plugins"
1966
 
  case "${enableval}" in
 
3245
# Check whether --enable-plugins was given.
 
3246
if test "${enable_plugins+set}" = set; then :
 
3247
  enableval=$enable_plugins; case "${enableval}" in
1967
3248
  yes | "") plugins=yes ;;
1968
3249
  no) plugins=no ;;
1969
3250
  *) plugins=yes ;;
1970
3251
 esac
1971
3252
else
1972
3253
  plugins=no
1973
 
fi;
1974
 
if test "$plugins" = "yes"; then
1975
 
 
1976
 
cat >>confdefs.h <<\_ACEOF
1977
 
#define ENABLE_PLUGINS 1
1978
 
_ACEOF
1979
 
 
1980
 
fi
1981
 
 
1982
 
 
1983
 
if test "$plugins" = "yes"; then
 
3254
fi
 
3255
 
 
3256
if test "$plugins" = "yes"; then
 
3257
 
 
3258
$as_echo "#define ENABLE_PLUGINS 1" >>confdefs.h
 
3259
 
 
3260
fi
 
3261
 if test "$plugins" = "yes"; then
1984
3262
  PLUGINS_TRUE=
1985
3263
  PLUGINS_FALSE='#'
1986
3264
else
1989
3267
fi
1990
3268
 
1991
3269
 
1992
 
# Check whether --enable-targets or --disable-targets was given.
1993
 
if test "${enable_targets+set}" = set; then
1994
 
  enableval="$enable_targets"
1995
 
  case "${enableval}" in
 
3270
# Check whether --enable-targets was given.
 
3271
if test "${enable_targets+set}" = set; then :
 
3272
  enableval=$enable_targets; case "${enableval}" in
1996
3273
  yes | "")
1997
 
    { { echo "$as_me:$LINENO: error: --enable-targets option must specify target names or 'all'" >&5
1998
 
echo "$as_me: error: --enable-targets option must specify target names or 'all'" >&2;}
1999
 
   { (exit 1); exit 1; }; }
 
3274
    as_fn_error "--enable-targets option must specify target names or 'all'" "$LINENO" 5
2000
3275
    ;;
2001
3276
  no)
2002
3277
    enable_targets=
2009
3284
  # For now, enable all targets by default
2010
3285
 enable_targets=all
2011
3286
 
2012
 
fi;
 
3287
fi
 
3288
 
2013
3289
 
2014
3290
# Canonicalize the enabled targets.
2015
3291
if test -n "$enable_targets"; then
2046
3322
    . ${srcdir}/configure.tgt
2047
3323
 
2048
3324
    if test "$targ_obj" = "UNKNOWN"; then
2049
 
      { { echo "$as_me:$LINENO: error: \"unsupported target $targ\"" >&5
2050
 
echo "$as_me: error: \"unsupported target $targ\"" >&2;}
2051
 
   { (exit 1); exit 1; }; }
 
3325
      as_fn_error "\"unsupported target $targ\"" "$LINENO" 5
2052
3326
    else
2053
3327
      targetobjs="$targetobjs ${targ_obj}.\$(OBJEXT)"
2054
3328
      if test "$targ_extra_obj" != ""; then
2087
3361
 
2088
3362
if test -n "$targ_32_little"; then
2089
3363
 
2090
 
cat >>confdefs.h <<\_ACEOF
2091
 
#define HAVE_TARGET_32_LITTLE 1
2092
 
_ACEOF
 
3364
$as_echo "#define HAVE_TARGET_32_LITTLE 1" >>confdefs.h
2093
3365
 
2094
3366
fi
2095
3367
if test -n "$targ_32_big"; then
2096
3368
 
2097
 
cat >>confdefs.h <<\_ACEOF
2098
 
#define HAVE_TARGET_32_BIG 1
2099
 
_ACEOF
 
3369
$as_echo "#define HAVE_TARGET_32_BIG 1" >>confdefs.h
2100
3370
 
2101
3371
fi
2102
3372
if test -n "$targ_64_little"; then
2103
3373
 
2104
 
cat >>confdefs.h <<\_ACEOF
2105
 
#define HAVE_TARGET_64_LITTLE 1
2106
 
_ACEOF
 
3374
$as_echo "#define HAVE_TARGET_64_LITTLE 1" >>confdefs.h
2107
3375
 
2108
3376
fi
2109
3377
if test -n "$targ_64_big"; then
2110
3378
 
2111
 
cat >>confdefs.h <<\_ACEOF
2112
 
#define HAVE_TARGET_64_BIG 1
2113
 
_ACEOF
 
3379
$as_echo "#define HAVE_TARGET_64_BIG 1" >>confdefs.h
2114
3380
 
2115
3381
fi
2116
3382
 
2150
3416
if test -n "$ac_tool_prefix"; then
2151
3417
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2152
3418
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2153
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2154
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2155
 
if test "${ac_cv_prog_CC+set}" = set; then
2156
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3419
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3420
$as_echo_n "checking for $ac_word... " >&6; }
 
3421
if test "${ac_cv_prog_CC+set}" = set; then :
 
3422
  $as_echo_n "(cached) " >&6
2157
3423
else
2158
3424
  if test -n "$CC"; then
2159
3425
  ac_cv_prog_CC="$CC" # Let the user override the test.
2163
3429
do
2164
3430
  IFS=$as_save_IFS
2165
3431
  test -z "$as_dir" && as_dir=.
2166
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2167
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3432
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3433
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2168
3434
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2169
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3435
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2170
3436
    break 2
2171
3437
  fi
2172
3438
done
2173
 
done
 
3439
  done
 
3440
IFS=$as_save_IFS
2174
3441
 
2175
3442
fi
2176
3443
fi
2177
3444
CC=$ac_cv_prog_CC
2178
3445
if test -n "$CC"; then
2179
 
  echo "$as_me:$LINENO: result: $CC" >&5
2180
 
echo "${ECHO_T}$CC" >&6
 
3446
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3447
$as_echo "$CC" >&6; }
2181
3448
else
2182
 
  echo "$as_me:$LINENO: result: no" >&5
2183
 
echo "${ECHO_T}no" >&6
 
3449
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3450
$as_echo "no" >&6; }
2184
3451
fi
 
3452
 
2185
3453
 
2186
3454
fi
2187
3455
if test -z "$ac_cv_prog_CC"; then
2188
3456
  ac_ct_CC=$CC
2189
3457
  # Extract the first word of "gcc", so it can be a program name with args.
2190
3458
set dummy gcc; ac_word=$2
2191
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2192
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2193
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2194
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3459
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3460
$as_echo_n "checking for $ac_word... " >&6; }
 
3461
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3462
  $as_echo_n "(cached) " >&6
2195
3463
else
2196
3464
  if test -n "$ac_ct_CC"; then
2197
3465
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2201
3469
do
2202
3470
  IFS=$as_save_IFS
2203
3471
  test -z "$as_dir" && as_dir=.
2204
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2205
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3472
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3473
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2206
3474
    ac_cv_prog_ac_ct_CC="gcc"
2207
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3475
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2208
3476
    break 2
2209
3477
  fi
2210
3478
done
2211
 
done
 
3479
  done
 
3480
IFS=$as_save_IFS
2212
3481
 
2213
3482
fi
2214
3483
fi
2215
3484
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2216
3485
if test -n "$ac_ct_CC"; then
2217
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2218
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
3486
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3487
$as_echo "$ac_ct_CC" >&6; }
2219
3488
else
2220
 
  echo "$as_me:$LINENO: result: no" >&5
2221
 
echo "${ECHO_T}no" >&6
 
3489
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3490
$as_echo "no" >&6; }
2222
3491
fi
2223
3492
 
2224
 
  CC=$ac_ct_CC
 
3493
  if test "x$ac_ct_CC" = x; then
 
3494
    CC=""
 
3495
  else
 
3496
    case $cross_compiling:$ac_tool_warned in
 
3497
yes:)
 
3498
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3499
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3500
ac_tool_warned=yes ;;
 
3501
esac
 
3502
    CC=$ac_ct_CC
 
3503
  fi
2225
3504
else
2226
3505
  CC="$ac_cv_prog_CC"
2227
3506
fi
2228
3507
 
2229
3508
if test -z "$CC"; then
2230
 
  if test -n "$ac_tool_prefix"; then
2231
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3509
          if test -n "$ac_tool_prefix"; then
 
3510
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2232
3511
set dummy ${ac_tool_prefix}cc; ac_word=$2
2233
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2234
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2235
 
if test "${ac_cv_prog_CC+set}" = set; then
2236
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3512
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3513
$as_echo_n "checking for $ac_word... " >&6; }
 
3514
if test "${ac_cv_prog_CC+set}" = set; then :
 
3515
  $as_echo_n "(cached) " >&6
2237
3516
else
2238
3517
  if test -n "$CC"; then
2239
3518
  ac_cv_prog_CC="$CC" # Let the user override the test.
2243
3522
do
2244
3523
  IFS=$as_save_IFS
2245
3524
  test -z "$as_dir" && as_dir=.
2246
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2247
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3525
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3526
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2248
3527
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2249
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3528
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2250
3529
    break 2
2251
3530
  fi
2252
3531
done
2253
 
done
 
3532
  done
 
3533
IFS=$as_save_IFS
2254
3534
 
2255
3535
fi
2256
3536
fi
2257
3537
CC=$ac_cv_prog_CC
2258
3538
if test -n "$CC"; then
2259
 
  echo "$as_me:$LINENO: result: $CC" >&5
2260
 
echo "${ECHO_T}$CC" >&6
2261
 
else
2262
 
  echo "$as_me:$LINENO: result: no" >&5
2263
 
echo "${ECHO_T}no" >&6
2264
 
fi
2265
 
 
2266
 
fi
2267
 
if test -z "$ac_cv_prog_CC"; then
2268
 
  ac_ct_CC=$CC
2269
 
  # Extract the first word of "cc", so it can be a program name with args.
2270
 
set dummy cc; ac_word=$2
2271
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2272
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2273
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2274
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2275
 
else
2276
 
  if test -n "$ac_ct_CC"; then
2277
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2278
 
else
2279
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2280
 
for as_dir in $PATH
2281
 
do
2282
 
  IFS=$as_save_IFS
2283
 
  test -z "$as_dir" && as_dir=.
2284
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2285
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2286
 
    ac_cv_prog_ac_ct_CC="cc"
2287
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2288
 
    break 2
 
3539
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3540
$as_echo "$CC" >&6; }
 
3541
else
 
3542
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3543
$as_echo "no" >&6; }
 
3544
fi
 
3545
 
 
3546
 
2289
3547
  fi
2290
 
done
2291
 
done
2292
 
 
2293
 
fi
2294
 
fi
2295
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2296
 
if test -n "$ac_ct_CC"; then
2297
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2298
 
echo "${ECHO_T}$ac_ct_CC" >&6
2299
 
else
2300
 
  echo "$as_me:$LINENO: result: no" >&5
2301
 
echo "${ECHO_T}no" >&6
2302
 
fi
2303
 
 
2304
 
  CC=$ac_ct_CC
2305
 
else
2306
 
  CC="$ac_cv_prog_CC"
2307
 
fi
2308
 
 
2309
3548
fi
2310
3549
if test -z "$CC"; then
2311
3550
  # Extract the first word of "cc", so it can be a program name with args.
2312
3551
set dummy cc; ac_word=$2
2313
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2314
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2315
 
if test "${ac_cv_prog_CC+set}" = set; then
2316
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3552
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3553
$as_echo_n "checking for $ac_word... " >&6; }
 
3554
if test "${ac_cv_prog_CC+set}" = set; then :
 
3555
  $as_echo_n "(cached) " >&6
2317
3556
else
2318
3557
  if test -n "$CC"; then
2319
3558
  ac_cv_prog_CC="$CC" # Let the user override the test.
2324
3563
do
2325
3564
  IFS=$as_save_IFS
2326
3565
  test -z "$as_dir" && as_dir=.
2327
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2328
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3566
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3567
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2329
3568
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2330
3569
       ac_prog_rejected=yes
2331
3570
       continue
2332
3571
     fi
2333
3572
    ac_cv_prog_CC="cc"
2334
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3573
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2335
3574
    break 2
2336
3575
  fi
2337
3576
done
2338
 
done
 
3577
  done
 
3578
IFS=$as_save_IFS
2339
3579
 
2340
3580
if test $ac_prog_rejected = yes; then
2341
3581
  # We found a bogon in the path, so make sure we never use it.
2353
3593
fi
2354
3594
CC=$ac_cv_prog_CC
2355
3595
if test -n "$CC"; then
2356
 
  echo "$as_me:$LINENO: result: $CC" >&5
2357
 
echo "${ECHO_T}$CC" >&6
 
3596
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3597
$as_echo "$CC" >&6; }
2358
3598
else
2359
 
  echo "$as_me:$LINENO: result: no" >&5
2360
 
echo "${ECHO_T}no" >&6
 
3599
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3600
$as_echo "no" >&6; }
2361
3601
fi
 
3602
 
2362
3603
 
2363
3604
fi
2364
3605
if test -z "$CC"; then
2365
3606
  if test -n "$ac_tool_prefix"; then
2366
 
  for ac_prog in cl
 
3607
  for ac_prog in cl.exe
2367
3608
  do
2368
3609
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2369
3610
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2370
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2371
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2372
 
if test "${ac_cv_prog_CC+set}" = set; then
2373
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3611
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3612
$as_echo_n "checking for $ac_word... " >&6; }
 
3613
if test "${ac_cv_prog_CC+set}" = set; then :
 
3614
  $as_echo_n "(cached) " >&6
2374
3615
else
2375
3616
  if test -n "$CC"; then
2376
3617
  ac_cv_prog_CC="$CC" # Let the user override the test.
2380
3621
do
2381
3622
  IFS=$as_save_IFS
2382
3623
  test -z "$as_dir" && as_dir=.
2383
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2384
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3624
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3625
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2385
3626
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2386
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3627
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2387
3628
    break 2
2388
3629
  fi
2389
3630
done
2390
 
done
 
3631
  done
 
3632
IFS=$as_save_IFS
2391
3633
 
2392
3634
fi
2393
3635
fi
2394
3636
CC=$ac_cv_prog_CC
2395
3637
if test -n "$CC"; then
2396
 
  echo "$as_me:$LINENO: result: $CC" >&5
2397
 
echo "${ECHO_T}$CC" >&6
 
3638
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3639
$as_echo "$CC" >&6; }
2398
3640
else
2399
 
  echo "$as_me:$LINENO: result: no" >&5
2400
 
echo "${ECHO_T}no" >&6
 
3641
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3642
$as_echo "no" >&6; }
2401
3643
fi
2402
3644
 
 
3645
 
2403
3646
    test -n "$CC" && break
2404
3647
  done
2405
3648
fi
2406
3649
if test -z "$CC"; then
2407
3650
  ac_ct_CC=$CC
2408
 
  for ac_prog in cl
 
3651
  for ac_prog in cl.exe
2409
3652
do
2410
3653
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2411
3654
set dummy $ac_prog; ac_word=$2
2412
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2413
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2414
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2415
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3655
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3656
$as_echo_n "checking for $ac_word... " >&6; }
 
3657
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3658
  $as_echo_n "(cached) " >&6
2416
3659
else
2417
3660
  if test -n "$ac_ct_CC"; then
2418
3661
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2422
3665
do
2423
3666
  IFS=$as_save_IFS
2424
3667
  test -z "$as_dir" && as_dir=.
2425
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2426
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3668
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3669
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2427
3670
    ac_cv_prog_ac_ct_CC="$ac_prog"
2428
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3671
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2429
3672
    break 2
2430
3673
  fi
2431
3674
done
2432
 
done
 
3675
  done
 
3676
IFS=$as_save_IFS
2433
3677
 
2434
3678
fi
2435
3679
fi
2436
3680
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2437
3681
if test -n "$ac_ct_CC"; then
2438
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2439
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
3682
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3683
$as_echo "$ac_ct_CC" >&6; }
2440
3684
else
2441
 
  echo "$as_me:$LINENO: result: no" >&5
2442
 
echo "${ECHO_T}no" >&6
 
3685
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3686
$as_echo "no" >&6; }
2443
3687
fi
2444
3688
 
 
3689
 
2445
3690
  test -n "$ac_ct_CC" && break
2446
3691
done
2447
3692
 
2448
 
  CC=$ac_ct_CC
2449
 
fi
2450
 
 
2451
 
fi
2452
 
 
2453
 
 
2454
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2455
 
echo "$as_me: error: in \`$ac_pwd':" >&2;}
2456
 
{ { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2457
 
See \`config.log' for more details." >&5
2458
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
2459
 
See \`config.log' for more details." >&2;}
2460
 
   { (exit 1); exit 1; }; }; }
 
3693
  if test "x$ac_ct_CC" = x; then
 
3694
    CC=""
 
3695
  else
 
3696
    case $cross_compiling:$ac_tool_warned in
 
3697
yes:)
 
3698
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3699
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3700
ac_tool_warned=yes ;;
 
3701
esac
 
3702
    CC=$ac_ct_CC
 
3703
  fi
 
3704
fi
 
3705
 
 
3706
fi
 
3707
 
 
3708
 
 
3709
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3710
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3711
as_fn_error "no acceptable C compiler found in \$PATH
 
3712
See \`config.log' for more details." "$LINENO" 5; }
2461
3713
 
2462
3714
# Provide some information about the compiler.
2463
 
echo "$as_me:$LINENO:" \
2464
 
     "checking for C compiler version" >&5
2465
 
ac_compiler=`set X $ac_compile; echo $2`
2466
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2467
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2468
 
  ac_status=$?
2469
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2470
 
  (exit $ac_status); }
2471
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2472
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2473
 
  ac_status=$?
2474
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475
 
  (exit $ac_status); }
2476
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2477
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
2478
 
  ac_status=$?
2479
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480
 
  (exit $ac_status); }
 
3715
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3716
set X $ac_compile
 
3717
ac_compiler=$2
 
3718
for ac_option in --version -v -V -qversion; do
 
3719
  { { ac_try="$ac_compiler $ac_option >&5"
 
3720
case "(($ac_try" in
 
3721
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3722
  *) ac_try_echo=$ac_try;;
 
3723
esac
 
3724
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3725
$as_echo "$ac_try_echo"; } >&5
 
3726
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3727
  ac_status=$?
 
3728
  if test -s conftest.err; then
 
3729
    sed '10a\
 
3730
... rest of stderr output deleted ...
 
3731
         10q' conftest.err >conftest.er1
 
3732
    cat conftest.er1 >&5
 
3733
    rm -f conftest.er1 conftest.err
 
3734
  fi
 
3735
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3736
  test $ac_status = 0; }
 
3737
done
2481
3738
 
2482
 
cat >conftest.$ac_ext <<_ACEOF
2483
 
/* confdefs.h.  */
2484
 
_ACEOF
2485
 
cat confdefs.h >>conftest.$ac_ext
2486
 
cat >>conftest.$ac_ext <<_ACEOF
 
3739
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2487
3740
/* end confdefs.h.  */
2488
3741
 
2489
3742
int
2495
3748
}
2496
3749
_ACEOF
2497
3750
ac_clean_files_save=$ac_clean_files
2498
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3751
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2499
3752
# Try to create an executable without -o first, disregard a.out.
2500
3753
# It will help us diagnose broken compilers, and finding out an intuition
2501
3754
# of exeext.
2502
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2503
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2504
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2505
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2506
 
  (eval $ac_link_default) 2>&5
 
3755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3756
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3757
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3758
 
 
3759
# The possible output files:
 
3760
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3761
 
 
3762
ac_rmfiles=
 
3763
for ac_file in $ac_files
 
3764
do
 
3765
  case $ac_file in
 
3766
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3767
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3768
  esac
 
3769
done
 
3770
rm -f $ac_rmfiles
 
3771
 
 
3772
if { { ac_try="$ac_link_default"
 
3773
case "(($ac_try" in
 
3774
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3775
  *) ac_try_echo=$ac_try;;
 
3776
esac
 
3777
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3778
$as_echo "$ac_try_echo"; } >&5
 
3779
  (eval "$ac_link_default") 2>&5
2507
3780
  ac_status=$?
2508
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509
 
  (exit $ac_status); }; then
2510
 
  # Find the output, starting from the most likely.  This scheme is
2511
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2512
 
# resort.
2513
 
 
2514
 
# Be careful to initialize this variable, since it used to be cached.
2515
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2516
 
ac_cv_exeext=
2517
 
# b.out is created by i960 compilers.
2518
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
3781
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3782
  test $ac_status = 0; }; then :
 
3783
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3784
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3785
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3786
# so that the user can short-circuit this test for compilers unknown to
 
3787
# Autoconf.
 
3788
for ac_file in $ac_files ''
2519
3789
do
2520
3790
  test -f "$ac_file" || continue
2521
3791
  case $ac_file in
2522
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2523
 
        ;;
2524
 
    conftest.$ac_ext )
2525
 
        # This is the source file.
 
3792
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2526
3793
        ;;
2527
3794
    [ab].out )
2528
3795
        # We found the default executable, but exeext='' is most
2529
3796
        # certainly right.
2530
3797
        break;;
2531
3798
    *.* )
2532
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2533
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2534
 
        # but it would be cool to find out if it's true.  Does anybody
2535
 
        # maintain Libtool? --akim.
2536
 
        export ac_cv_exeext
 
3799
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3800
        then :; else
 
3801
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3802
        fi
 
3803
        # We set ac_cv_exeext here because the later test for it is not
 
3804
        # safe: cross compilers may not add the suffix if given an `-o'
 
3805
        # argument, so we may need to know it at that point already.
 
3806
        # Even if this section looks crufty: it has the advantage of
 
3807
        # actually working.
2537
3808
        break;;
2538
3809
    * )
2539
3810
        break;;
2540
3811
  esac
2541
3812
done
 
3813
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3814
 
2542
3815
else
2543
 
  echo "$as_me: failed program was:" >&5
 
3816
  ac_file=''
 
3817
fi
 
3818
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3819
$as_echo "$ac_file" >&6; }
 
3820
if test -z "$ac_file"; then :
 
3821
  $as_echo "$as_me: failed program was:" >&5
2544
3822
sed 's/^/| /' conftest.$ac_ext >&5
2545
3823
 
2546
 
{ { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2547
 
echo "$as_me: error: in \`$ac_pwd':" >&2;}
2548
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2549
 
See \`config.log' for more details." >&5
2550
 
echo "$as_me: error: C compiler cannot create executables
2551
 
See \`config.log' for more details." >&2;}
2552
 
   { (exit 77); exit 77; }; }; }
 
3824
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3825
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3826
{ as_fn_set_status 77
 
3827
as_fn_error "C compiler cannot create executables
 
3828
See \`config.log' for more details." "$LINENO" 5; }; }
2553
3829
fi
2554
 
 
2555
3830
ac_exeext=$ac_cv_exeext
2556
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2557
 
echo "${ECHO_T}$ac_file" >&6
2558
3831
 
2559
 
# Check the compiler produces executables we can run.  If not, either
 
3832
# Check that the compiler produces executables we can run.  If not, either
2560
3833
# the compiler is broken, or we cross compile.
2561
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2562
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2563
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 
3834
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3835
$as_echo_n "checking whether the C compiler works... " >&6; }
2564
3836
# If not cross compiling, check that we can run a simple program.
2565
3837
if test "$cross_compiling" != yes; then
2566
3838
  if { ac_try='./$ac_file'
2567
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2568
 
  (eval $ac_try) 2>&5
 
3839
  { { case "(($ac_try" in
 
3840
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3841
  *) ac_try_echo=$ac_try;;
 
3842
esac
 
3843
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3844
$as_echo "$ac_try_echo"; } >&5
 
3845
  (eval "$ac_try") 2>&5
2569
3846
  ac_status=$?
2570
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571
 
  (exit $ac_status); }; }; then
 
3847
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3848
  test $ac_status = 0; }; }; then
2572
3849
    cross_compiling=no
2573
3850
  else
2574
3851
    if test "$cross_compiling" = maybe; then
2575
3852
        cross_compiling=yes
2576
3853
    else
2577
 
        { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2578
 
echo "$as_me: error: in \`$ac_pwd':" >&2;}
2579
 
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2580
 
If you meant to cross compile, use \`--host'.
2581
 
See \`config.log' for more details." >&5
2582
 
echo "$as_me: error: cannot run C compiled programs.
2583
 
If you meant to cross compile, use \`--host'.
2584
 
See \`config.log' for more details." >&2;}
2585
 
   { (exit 1); exit 1; }; }; }
 
3854
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3855
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3856
as_fn_error "cannot run C compiled programs.
 
3857
If you meant to cross compile, use \`--host'.
 
3858
See \`config.log' for more details." "$LINENO" 5; }
2586
3859
    fi
2587
3860
  fi
2588
3861
fi
2589
 
echo "$as_me:$LINENO: result: yes" >&5
2590
 
echo "${ECHO_T}yes" >&6
 
3862
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3863
$as_echo "yes" >&6; }
2591
3864
 
2592
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3865
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2593
3866
ac_clean_files=$ac_clean_files_save
2594
 
# Check the compiler produces executables we can run.  If not, either
 
3867
# Check that the compiler produces executables we can run.  If not, either
2595
3868
# the compiler is broken, or we cross compile.
2596
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2597
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2598
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2599
 
echo "${ECHO_T}$cross_compiling" >&6
 
3869
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3870
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3871
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3872
$as_echo "$cross_compiling" >&6; }
2600
3873
 
2601
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2602
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2603
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2604
 
  (eval $ac_link) 2>&5
 
3874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3875
$as_echo_n "checking for suffix of executables... " >&6; }
 
3876
if { { ac_try="$ac_link"
 
3877
case "(($ac_try" in
 
3878
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3879
  *) ac_try_echo=$ac_try;;
 
3880
esac
 
3881
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3882
$as_echo "$ac_try_echo"; } >&5
 
3883
  (eval "$ac_link") 2>&5
2605
3884
  ac_status=$?
2606
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607
 
  (exit $ac_status); }; then
 
3885
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3886
  test $ac_status = 0; }; then :
2608
3887
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2609
3888
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2610
3889
# work properly (i.e., refer to `conftest.exe'), while it won't with
2612
3891
for ac_file in conftest.exe conftest conftest.*; do
2613
3892
  test -f "$ac_file" || continue
2614
3893
  case $ac_file in
2615
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3894
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2616
3895
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2617
 
          export ac_cv_exeext
2618
3896
          break;;
2619
3897
    * ) break;;
2620
3898
  esac
2621
3899
done
2622
3900
else
2623
 
  { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2624
 
echo "$as_me: error: in \`$ac_pwd':" >&2;}
2625
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2626
 
See \`config.log' for more details." >&5
2627
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2628
 
See \`config.log' for more details." >&2;}
2629
 
   { (exit 1); exit 1; }; }; }
 
3901
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3902
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3903
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3904
See \`config.log' for more details." "$LINENO" 5; }
2630
3905
fi
2631
 
 
2632
3906
rm -f conftest$ac_cv_exeext
2633
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2634
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3907
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3908
$as_echo "$ac_cv_exeext" >&6; }
2635
3909
 
2636
3910
rm -f conftest.$ac_ext
2637
3911
EXEEXT=$ac_cv_exeext
2638
3912
ac_exeext=$EXEEXT
2639
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2640
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2641
 
if test "${ac_cv_objext+set}" = set; then
2642
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3913
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3914
$as_echo_n "checking for suffix of object files... " >&6; }
 
3915
if test "${ac_cv_objext+set}" = set; then :
 
3916
  $as_echo_n "(cached) " >&6
2643
3917
else
2644
 
  cat >conftest.$ac_ext <<_ACEOF
2645
 
/* confdefs.h.  */
2646
 
_ACEOF
2647
 
cat confdefs.h >>conftest.$ac_ext
2648
 
cat >>conftest.$ac_ext <<_ACEOF
 
3918
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2649
3919
/* end confdefs.h.  */
2650
3920
 
2651
3921
int
2657
3927
}
2658
3928
_ACEOF
2659
3929
rm -f conftest.o conftest.obj
2660
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2661
 
  (eval $ac_compile) 2>&5
 
3930
if { { ac_try="$ac_compile"
 
3931
case "(($ac_try" in
 
3932
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3933
  *) ac_try_echo=$ac_try;;
 
3934
esac
 
3935
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3936
$as_echo "$ac_try_echo"; } >&5
 
3937
  (eval "$ac_compile") 2>&5
2662
3938
  ac_status=$?
2663
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664
 
  (exit $ac_status); }; then
2665
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3939
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3940
  test $ac_status = 0; }; then :
 
3941
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3942
  test -f "$ac_file" || continue;
2666
3943
  case $ac_file in
2667
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3944
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2668
3945
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2669
3946
       break;;
2670
3947
  esac
2671
3948
done
2672
3949
else
2673
 
  echo "$as_me: failed program was:" >&5
 
3950
  $as_echo "$as_me: failed program was:" >&5
2674
3951
sed 's/^/| /' conftest.$ac_ext >&5
2675
3952
 
2676
 
{ { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2677
 
echo "$as_me: error: in \`$ac_pwd':" >&2;}
2678
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2679
 
See \`config.log' for more details." >&5
2680
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2681
 
See \`config.log' for more details." >&2;}
2682
 
   { (exit 1); exit 1; }; }; }
 
3953
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3954
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3955
as_fn_error "cannot compute suffix of object files: cannot compile
 
3956
See \`config.log' for more details." "$LINENO" 5; }
2683
3957
fi
2684
 
 
2685
3958
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2686
3959
fi
2687
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2688
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3960
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3961
$as_echo "$ac_cv_objext" >&6; }
2689
3962
OBJEXT=$ac_cv_objext
2690
3963
ac_objext=$OBJEXT
2691
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2692
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2693
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2694
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3964
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3965
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3966
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3967
  $as_echo_n "(cached) " >&6
2695
3968
else
2696
 
  cat >conftest.$ac_ext <<_ACEOF
2697
 
/* confdefs.h.  */
2698
 
_ACEOF
2699
 
cat confdefs.h >>conftest.$ac_ext
2700
 
cat >>conftest.$ac_ext <<_ACEOF
 
3969
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2701
3970
/* end confdefs.h.  */
2702
3971
 
2703
3972
int
2711
3980
  return 0;
2712
3981
}
2713
3982
_ACEOF
2714
 
rm -f conftest.$ac_objext
2715
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2716
 
  (eval $ac_compile) 2>conftest.er1
2717
 
  ac_status=$?
2718
 
  grep -v '^ *+' conftest.er1 >conftest.err
2719
 
  rm -f conftest.er1
2720
 
  cat conftest.err >&5
2721
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722
 
  (exit $ac_status); } &&
2723
 
         { ac_try='test -z "$ac_c_werror_flag"
2724
 
                         || test ! -s conftest.err'
2725
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2726
 
  (eval $ac_try) 2>&5
2727
 
  ac_status=$?
2728
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2729
 
  (exit $ac_status); }; } &&
2730
 
         { ac_try='test -s conftest.$ac_objext'
2731
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2732
 
  (eval $ac_try) 2>&5
2733
 
  ac_status=$?
2734
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735
 
  (exit $ac_status); }; }; then
 
3983
if ac_fn_c_try_compile "$LINENO"; then :
2736
3984
  ac_compiler_gnu=yes
2737
3985
else
2738
 
  echo "$as_me: failed program was:" >&5
2739
 
sed 's/^/| /' conftest.$ac_ext >&5
2740
 
 
2741
 
ac_compiler_gnu=no
 
3986
  ac_compiler_gnu=no
2742
3987
fi
2743
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3988
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2744
3989
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2745
3990
 
2746
3991
fi
2747
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2748
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2749
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3992
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3993
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3994
if test $ac_compiler_gnu = yes; then
 
3995
  GCC=yes
 
3996
else
 
3997
  GCC=
 
3998
fi
2750
3999
ac_test_CFLAGS=${CFLAGS+set}
2751
4000
ac_save_CFLAGS=$CFLAGS
2752
 
CFLAGS="-g"
2753
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2754
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2755
 
if test "${ac_cv_prog_cc_g+set}" = set; then
2756
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2757
 
else
2758
 
  cat >conftest.$ac_ext <<_ACEOF
2759
 
/* confdefs.h.  */
2760
 
_ACEOF
2761
 
cat confdefs.h >>conftest.$ac_ext
2762
 
cat >>conftest.$ac_ext <<_ACEOF
2763
 
/* end confdefs.h.  */
2764
 
 
2765
 
int
2766
 
main ()
2767
 
{
2768
 
 
2769
 
  ;
2770
 
  return 0;
2771
 
}
2772
 
_ACEOF
2773
 
rm -f conftest.$ac_objext
2774
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2775
 
  (eval $ac_compile) 2>conftest.er1
2776
 
  ac_status=$?
2777
 
  grep -v '^ *+' conftest.er1 >conftest.err
2778
 
  rm -f conftest.er1
2779
 
  cat conftest.err >&5
2780
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781
 
  (exit $ac_status); } &&
2782
 
         { ac_try='test -z "$ac_c_werror_flag"
2783
 
                         || test ! -s conftest.err'
2784
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2785
 
  (eval $ac_try) 2>&5
2786
 
  ac_status=$?
2787
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788
 
  (exit $ac_status); }; } &&
2789
 
         { ac_try='test -s conftest.$ac_objext'
2790
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2791
 
  (eval $ac_try) 2>&5
2792
 
  ac_status=$?
2793
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794
 
  (exit $ac_status); }; }; then
2795
 
  ac_cv_prog_cc_g=yes
2796
 
else
2797
 
  echo "$as_me: failed program was:" >&5
2798
 
sed 's/^/| /' conftest.$ac_ext >&5
2799
 
 
2800
 
ac_cv_prog_cc_g=no
2801
 
fi
2802
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2803
 
fi
2804
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2805
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
4001
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
4002
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
4003
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4004
  $as_echo_n "(cached) " >&6
 
4005
else
 
4006
  ac_save_c_werror_flag=$ac_c_werror_flag
 
4007
   ac_c_werror_flag=yes
 
4008
   ac_cv_prog_cc_g=no
 
4009
   CFLAGS="-g"
 
4010
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4011
/* end confdefs.h.  */
 
4012
 
 
4013
int
 
4014
main ()
 
4015
{
 
4016
 
 
4017
  ;
 
4018
  return 0;
 
4019
}
 
4020
_ACEOF
 
4021
if ac_fn_c_try_compile "$LINENO"; then :
 
4022
  ac_cv_prog_cc_g=yes
 
4023
else
 
4024
  CFLAGS=""
 
4025
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4026
/* end confdefs.h.  */
 
4027
 
 
4028
int
 
4029
main ()
 
4030
{
 
4031
 
 
4032
  ;
 
4033
  return 0;
 
4034
}
 
4035
_ACEOF
 
4036
if ac_fn_c_try_compile "$LINENO"; then :
 
4037
 
 
4038
else
 
4039
  ac_c_werror_flag=$ac_save_c_werror_flag
 
4040
         CFLAGS="-g"
 
4041
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4042
/* end confdefs.h.  */
 
4043
 
 
4044
int
 
4045
main ()
 
4046
{
 
4047
 
 
4048
  ;
 
4049
  return 0;
 
4050
}
 
4051
_ACEOF
 
4052
if ac_fn_c_try_compile "$LINENO"; then :
 
4053
  ac_cv_prog_cc_g=yes
 
4054
fi
 
4055
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4056
fi
 
4057
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4058
fi
 
4059
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4060
   ac_c_werror_flag=$ac_save_c_werror_flag
 
4061
fi
 
4062
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
4063
$as_echo "$ac_cv_prog_cc_g" >&6; }
2806
4064
if test "$ac_test_CFLAGS" = set; then
2807
4065
  CFLAGS=$ac_save_CFLAGS
2808
4066
elif test $ac_cv_prog_cc_g = yes; then
2818
4076
    CFLAGS=
2819
4077
  fi
2820
4078
fi
2821
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2822
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2823
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2824
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4079
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
4080
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
4081
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4082
  $as_echo_n "(cached) " >&6
2825
4083
else
2826
 
  ac_cv_prog_cc_stdc=no
 
4084
  ac_cv_prog_cc_c89=no
2827
4085
ac_save_CC=$CC
2828
 
cat >conftest.$ac_ext <<_ACEOF
2829
 
/* confdefs.h.  */
2830
 
_ACEOF
2831
 
cat confdefs.h >>conftest.$ac_ext
2832
 
cat >>conftest.$ac_ext <<_ACEOF
 
4086
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2833
4087
/* end confdefs.h.  */
2834
4088
#include <stdarg.h>
2835
4089
#include <stdio.h>
2857
4111
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2858
4112
   function prototypes and stuff, but not '\xHH' hex character constants.
2859
4113
   These don't provoke an error unfortunately, instead are silently treated
2860
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
4114
   as 'x'.  The following induces an error, until -std is added to get
2861
4115
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2862
4116
   array size at least.  It's necessary to write '\x00'==0 to get something
2863
 
   that's true only with -std1.  */
 
4117
   that's true only with -std.  */
2864
4118
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2865
4119
 
 
4120
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
4121
   inside strings and character constants.  */
 
4122
#define FOO(x) 'x'
 
4123
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
4124
 
2866
4125
int test (int i, double x);
2867
4126
struct s1 {int (*f) (int a);};
2868
4127
struct s2 {int (*f) (double a);};
2877
4136
  return 0;
2878
4137
}
2879
4138
_ACEOF
2880
 
# Don't try gcc -ansi; that turns off useful extensions and
2881
 
# breaks some systems' header files.
2882
 
# AIX                   -qlanglvl=ansi
2883
 
# Ultrix and OSF/1      -std1
2884
 
# HP-UX 10.20 and later -Ae
2885
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2886
 
# SVR4                  -Xc -D__EXTENSIONS__
2887
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
4139
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
4140
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2888
4141
do
2889
4142
  CC="$ac_save_CC $ac_arg"
2890
 
  rm -f conftest.$ac_objext
2891
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2892
 
  (eval $ac_compile) 2>conftest.er1
2893
 
  ac_status=$?
2894
 
  grep -v '^ *+' conftest.er1 >conftest.err
2895
 
  rm -f conftest.er1
2896
 
  cat conftest.err >&5
2897
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898
 
  (exit $ac_status); } &&
2899
 
         { ac_try='test -z "$ac_c_werror_flag"
2900
 
                         || test ! -s conftest.err'
2901
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2902
 
  (eval $ac_try) 2>&5
2903
 
  ac_status=$?
2904
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905
 
  (exit $ac_status); }; } &&
2906
 
         { ac_try='test -s conftest.$ac_objext'
2907
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2908
 
  (eval $ac_try) 2>&5
2909
 
  ac_status=$?
2910
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911
 
  (exit $ac_status); }; }; then
2912
 
  ac_cv_prog_cc_stdc=$ac_arg
2913
 
break
2914
 
else
2915
 
  echo "$as_me: failed program was:" >&5
2916
 
sed 's/^/| /' conftest.$ac_ext >&5
2917
 
 
 
4143
  if ac_fn_c_try_compile "$LINENO"; then :
 
4144
  ac_cv_prog_cc_c89=$ac_arg
2918
4145
fi
2919
 
rm -f conftest.err conftest.$ac_objext
 
4146
rm -f core conftest.err conftest.$ac_objext
 
4147
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2920
4148
done
2921
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
4149
rm -f conftest.$ac_ext
2922
4150
CC=$ac_save_CC
2923
4151
 
2924
4152
fi
2925
 
 
2926
 
case "x$ac_cv_prog_cc_stdc" in
2927
 
  x|xno)
2928
 
    echo "$as_me:$LINENO: result: none needed" >&5
2929
 
echo "${ECHO_T}none needed" >&6 ;;
 
4153
# AC_CACHE_VAL
 
4154
case "x$ac_cv_prog_cc_c89" in
 
4155
  x)
 
4156
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
4157
$as_echo "none needed" >&6; } ;;
 
4158
  xno)
 
4159
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
4160
$as_echo "unsupported" >&6; } ;;
2930
4161
  *)
2931
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2932
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2933
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
4162
    CC="$CC $ac_cv_prog_cc_c89"
 
4163
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
4164
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2934
4165
esac
2935
 
 
2936
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2937
 
# in C++ we need to declare it.  In case someone uses the same compiler
2938
 
# for both compiling C and C++ we need to have the C++ compiler decide
2939
 
# the declaration of exit, since it's the most demanding environment.
2940
 
cat >conftest.$ac_ext <<_ACEOF
2941
 
#ifndef __cplusplus
2942
 
  choke me
2943
 
#endif
2944
 
_ACEOF
2945
 
rm -f conftest.$ac_objext
2946
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2947
 
  (eval $ac_compile) 2>conftest.er1
2948
 
  ac_status=$?
2949
 
  grep -v '^ *+' conftest.er1 >conftest.err
2950
 
  rm -f conftest.er1
2951
 
  cat conftest.err >&5
2952
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953
 
  (exit $ac_status); } &&
2954
 
         { ac_try='test -z "$ac_c_werror_flag"
2955
 
                         || test ! -s conftest.err'
2956
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2957
 
  (eval $ac_try) 2>&5
2958
 
  ac_status=$?
2959
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960
 
  (exit $ac_status); }; } &&
2961
 
         { ac_try='test -s conftest.$ac_objext'
2962
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2963
 
  (eval $ac_try) 2>&5
2964
 
  ac_status=$?
2965
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966
 
  (exit $ac_status); }; }; then
2967
 
  for ac_declaration in \
2968
 
   '' \
2969
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2970
 
   'extern "C" void std::exit (int); using std::exit;' \
2971
 
   'extern "C" void exit (int) throw ();' \
2972
 
   'extern "C" void exit (int);' \
2973
 
   'void exit (int);'
2974
 
do
2975
 
  cat >conftest.$ac_ext <<_ACEOF
2976
 
/* confdefs.h.  */
2977
 
_ACEOF
2978
 
cat confdefs.h >>conftest.$ac_ext
2979
 
cat >>conftest.$ac_ext <<_ACEOF
2980
 
/* end confdefs.h.  */
2981
 
$ac_declaration
2982
 
#include <stdlib.h>
2983
 
int
2984
 
main ()
2985
 
{
2986
 
exit (42);
2987
 
  ;
2988
 
  return 0;
2989
 
}
2990
 
_ACEOF
2991
 
rm -f conftest.$ac_objext
2992
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2993
 
  (eval $ac_compile) 2>conftest.er1
2994
 
  ac_status=$?
2995
 
  grep -v '^ *+' conftest.er1 >conftest.err
2996
 
  rm -f conftest.er1
2997
 
  cat conftest.err >&5
2998
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999
 
  (exit $ac_status); } &&
3000
 
         { ac_try='test -z "$ac_c_werror_flag"
3001
 
                         || test ! -s conftest.err'
3002
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3003
 
  (eval $ac_try) 2>&5
3004
 
  ac_status=$?
3005
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006
 
  (exit $ac_status); }; } &&
3007
 
         { ac_try='test -s conftest.$ac_objext'
3008
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3009
 
  (eval $ac_try) 2>&5
3010
 
  ac_status=$?
3011
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012
 
  (exit $ac_status); }; }; then
3013
 
  :
3014
 
else
3015
 
  echo "$as_me: failed program was:" >&5
3016
 
sed 's/^/| /' conftest.$ac_ext >&5
3017
 
 
3018
 
continue
3019
 
fi
3020
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3021
 
  cat >conftest.$ac_ext <<_ACEOF
3022
 
/* confdefs.h.  */
3023
 
_ACEOF
3024
 
cat confdefs.h >>conftest.$ac_ext
3025
 
cat >>conftest.$ac_ext <<_ACEOF
3026
 
/* end confdefs.h.  */
3027
 
$ac_declaration
3028
 
int
3029
 
main ()
3030
 
{
3031
 
exit (42);
3032
 
  ;
3033
 
  return 0;
3034
 
}
3035
 
_ACEOF
3036
 
rm -f conftest.$ac_objext
3037
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3038
 
  (eval $ac_compile) 2>conftest.er1
3039
 
  ac_status=$?
3040
 
  grep -v '^ *+' conftest.er1 >conftest.err
3041
 
  rm -f conftest.er1
3042
 
  cat conftest.err >&5
3043
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044
 
  (exit $ac_status); } &&
3045
 
         { ac_try='test -z "$ac_c_werror_flag"
3046
 
                         || test ! -s conftest.err'
3047
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3048
 
  (eval $ac_try) 2>&5
3049
 
  ac_status=$?
3050
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051
 
  (exit $ac_status); }; } &&
3052
 
         { ac_try='test -s conftest.$ac_objext'
3053
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3054
 
  (eval $ac_try) 2>&5
3055
 
  ac_status=$?
3056
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057
 
  (exit $ac_status); }; }; then
3058
 
  break
3059
 
else
3060
 
  echo "$as_me: failed program was:" >&5
3061
 
sed 's/^/| /' conftest.$ac_ext >&5
3062
 
 
3063
 
fi
3064
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3065
 
done
3066
 
rm -f conftest*
3067
 
if test -n "$ac_declaration"; then
3068
 
  echo '#ifdef __cplusplus' >>confdefs.h
3069
 
  echo $ac_declaration      >>confdefs.h
3070
 
  echo '#endif'             >>confdefs.h
3071
 
fi
3072
 
 
3073
 
else
3074
 
  echo "$as_me: failed program was:" >&5
3075
 
sed 's/^/| /' conftest.$ac_ext >&5
3076
 
 
3077
 
fi
3078
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4166
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
4167
 
 
4168
fi
 
4169
 
3079
4170
ac_ext=c
3080
4171
ac_cpp='$CPP $CPPFLAGS'
3081
4172
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3083
4174
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3084
4175
DEPDIR="${am__leading_dot}deps"
3085
4176
 
3086
 
          ac_config_commands="$ac_config_commands depfiles"
 
4177
ac_config_commands="$ac_config_commands depfiles"
3087
4178
 
3088
4179
 
3089
4180
am_make=${MAKE-make}
3090
4181
cat > confinc << 'END'
3091
4182
am__doit:
3092
 
        @echo done
 
4183
        @echo this is the am__doit target
3093
4184
.PHONY: am__doit
3094
4185
END
3095
4186
# If we don't find an include directive, just comment out the code.
3096
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3097
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
4187
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
4188
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3098
4189
am__include="#"
3099
4190
am__quote=
3100
4191
_am_result=none
3101
4192
# First try GNU make style include.
3102
4193
echo "include confinc" > confmf
3103
 
# We grep out `Entering directory' and `Leaving directory'
3104
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3105
 
# In particular we don't look at `^make:' because GNU make might
3106
 
# be invoked under some other name (usually "gmake"), in which
3107
 
# case it prints its new name instead of `make'.
3108
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3109
 
   am__include=include
3110
 
   am__quote=
3111
 
   _am_result=GNU
3112
 
fi
 
4194
# Ignore all kinds of additional output from `make'.
 
4195
case `$am_make -s -f confmf 2> /dev/null` in #(
 
4196
*the\ am__doit\ target*)
 
4197
  am__include=include
 
4198
  am__quote=
 
4199
  _am_result=GNU
 
4200
  ;;
 
4201
esac
3113
4202
# Now try BSD make style include.
3114
4203
if test "$am__include" = "#"; then
3115
4204
   echo '.include "confinc"' > confmf
3116
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3117
 
      am__include=.include
3118
 
      am__quote="\""
3119
 
      _am_result=BSD
3120
 
   fi
 
4205
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
4206
   *the\ am__doit\ target*)
 
4207
     am__include=.include
 
4208
     am__quote="\""
 
4209
     _am_result=BSD
 
4210
     ;;
 
4211
   esac
3121
4212
fi
3122
4213
 
3123
4214
 
3124
 
echo "$as_me:$LINENO: result: $_am_result" >&5
3125
 
echo "${ECHO_T}$_am_result" >&6
 
4215
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
4216
$as_echo "$_am_result" >&6; }
3126
4217
rm -f confinc confmf
3127
4218
 
3128
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3129
 
if test "${enable_dependency_tracking+set}" = set; then
3130
 
  enableval="$enable_dependency_tracking"
 
4219
# Check whether --enable-dependency-tracking was given.
 
4220
if test "${enable_dependency_tracking+set}" = set; then :
 
4221
  enableval=$enable_dependency_tracking;
 
4222
fi
3131
4223
 
3132
 
fi;
3133
4224
if test "x$enable_dependency_tracking" != xno; then
3134
4225
  am_depcomp="$ac_aux_dir/depcomp"
3135
4226
  AMDEPBACKSLASH='\'
3136
4227
fi
3137
 
 
3138
 
 
3139
 
if test "x$enable_dependency_tracking" != xno; then
 
4228
 if test "x$enable_dependency_tracking" != xno; then
3140
4229
  AMDEP_TRUE=
3141
4230
  AMDEP_FALSE='#'
3142
4231
else
3146
4235
 
3147
4236
 
3148
4237
 
3149
 
 
3150
4238
depcc="$CC"   am_compiler_list=
3151
4239
 
3152
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3153
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3154
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3155
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4240
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4241
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4242
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4243
  $as_echo_n "(cached) " >&6
3156
4244
else
3157
4245
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3158
4246
  # We make a subdir and do the tests there.  Otherwise we can end up
3177
4265
  if test "$am_compiler_list" = ""; then
3178
4266
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3179
4267
  fi
 
4268
  am__universal=false
 
4269
  case " $depcc " in #(
 
4270
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4271
     esac
 
4272
 
3180
4273
  for depmode in $am_compiler_list; do
3181
4274
    # Setup a source with many dependencies, because some compilers
3182
4275
    # like to wrap large dependency lists on column 80 (with \), and
3194
4287
    done
3195
4288
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3196
4289
 
 
4290
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4291
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4292
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4293
    # versions had trouble with output in subdirs
 
4294
    am__obj=sub/conftest.${OBJEXT-o}
 
4295
    am__minus_obj="-o $am__obj"
3197
4296
    case $depmode in
 
4297
    gcc)
 
4298
      # This depmode causes a compiler race in universal mode.
 
4299
      test "$am__universal" = false || continue
 
4300
      ;;
3198
4301
    nosideeffect)
3199
4302
      # after this tag, mechanisms are not by side-effect, so they'll
3200
4303
      # only be used when explicitly requested
3204
4307
        break
3205
4308
      fi
3206
4309
      ;;
 
4310
    msvisualcpp | msvcmsys)
 
4311
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4312
      # not run yet.  These depmodes are late enough in the game, and
 
4313
      # so weak that their functioning should not be impacted.
 
4314
      am__obj=conftest.${OBJEXT-o}
 
4315
      am__minus_obj=
 
4316
      ;;
3207
4317
    none) break ;;
3208
4318
    esac
3209
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3210
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3211
 
    # handle `-M -o', and we need to detect this.
3212
4319
    if depmode=$depmode \
3213
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4320
       source=sub/conftest.c object=$am__obj \
3214
4321
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3215
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4322
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3216
4323
         >/dev/null 2>conftest.err &&
 
4324
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3217
4325
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3218
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4326
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3219
4327
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3220
4328
      # icc doesn't choke on unknown options, it will just issue warnings
3221
4329
      # or remarks (even with -Werror).  So we grep stderr for any message
3239
4347
fi
3240
4348
 
3241
4349
fi
3242
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3243
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
4350
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4351
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3244
4352
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3245
4353
 
3246
 
 
3247
 
 
3248
 
if
 
4354
 if
3249
4355
  test "x$enable_dependency_tracking" != xno \
3250
4356
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3251
4357
  am__fastdepCC_TRUE=
3256
4362
fi
3257
4363
 
3258
4364
 
3259
 
ac_ext=cc
 
4365
ac_ext=cpp
3260
4366
ac_cpp='$CXXCPP $CPPFLAGS'
3261
4367
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3262
4368
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3263
4369
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3264
 
if test -n "$ac_tool_prefix"; then
3265
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
4370
if test -z "$CXX"; then
 
4371
  if test -n "$CCC"; then
 
4372
    CXX=$CCC
 
4373
  else
 
4374
    if test -n "$ac_tool_prefix"; then
 
4375
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3266
4376
  do
3267
4377
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3268
4378
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3269
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3270
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3271
 
if test "${ac_cv_prog_CXX+set}" = set; then
3272
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4380
$as_echo_n "checking for $ac_word... " >&6; }
 
4381
if test "${ac_cv_prog_CXX+set}" = set; then :
 
4382
  $as_echo_n "(cached) " >&6
3273
4383
else
3274
4384
  if test -n "$CXX"; then
3275
4385
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3279
4389
do
3280
4390
  IFS=$as_save_IFS
3281
4391
  test -z "$as_dir" && as_dir=.
3282
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3283
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4392
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4393
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3284
4394
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3285
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4395
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3286
4396
    break 2
3287
4397
  fi
3288
4398
done
3289
 
done
 
4399
  done
 
4400
IFS=$as_save_IFS
3290
4401
 
3291
4402
fi
3292
4403
fi
3293
4404
CXX=$ac_cv_prog_CXX
3294
4405
if test -n "$CXX"; then
3295
 
  echo "$as_me:$LINENO: result: $CXX" >&5
3296
 
echo "${ECHO_T}$CXX" >&6
 
4406
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
4407
$as_echo "$CXX" >&6; }
3297
4408
else
3298
 
  echo "$as_me:$LINENO: result: no" >&5
3299
 
echo "${ECHO_T}no" >&6
 
4409
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4410
$as_echo "no" >&6; }
3300
4411
fi
3301
4412
 
 
4413
 
3302
4414
    test -n "$CXX" && break
3303
4415
  done
3304
4416
fi
3305
4417
if test -z "$CXX"; then
3306
4418
  ac_ct_CXX=$CXX
3307
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
4419
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3308
4420
do
3309
4421
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3310
4422
set dummy $ac_prog; ac_word=$2
3311
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3312
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3313
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3314
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4423
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4424
$as_echo_n "checking for $ac_word... " >&6; }
 
4425
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
4426
  $as_echo_n "(cached) " >&6
3315
4427
else
3316
4428
  if test -n "$ac_ct_CXX"; then
3317
4429
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3321
4433
do
3322
4434
  IFS=$as_save_IFS
3323
4435
  test -z "$as_dir" && as_dir=.
3324
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3325
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4436
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4437
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3326
4438
    ac_cv_prog_ac_ct_CXX="$ac_prog"
3327
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4439
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3328
4440
    break 2
3329
4441
  fi
3330
4442
done
3331
 
done
 
4443
  done
 
4444
IFS=$as_save_IFS
3332
4445
 
3333
4446
fi
3334
4447
fi
3335
4448
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3336
4449
if test -n "$ac_ct_CXX"; then
3337
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3338
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
4450
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
4451
$as_echo "$ac_ct_CXX" >&6; }
3339
4452
else
3340
 
  echo "$as_me:$LINENO: result: no" >&5
3341
 
echo "${ECHO_T}no" >&6
 
4453
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4454
$as_echo "no" >&6; }
3342
4455
fi
3343
4456
 
 
4457
 
3344
4458
  test -n "$ac_ct_CXX" && break
3345
4459
done
3346
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3347
 
 
3348
 
  CXX=$ac_ct_CXX
3349
 
fi
3350
 
 
3351
 
 
 
4460
 
 
4461
  if test "x$ac_ct_CXX" = x; then
 
4462
    CXX="g++"
 
4463
  else
 
4464
    case $cross_compiling:$ac_tool_warned in
 
4465
yes:)
 
4466
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4467
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4468
ac_tool_warned=yes ;;
 
4469
esac
 
4470
    CXX=$ac_ct_CXX
 
4471
  fi
 
4472
fi
 
4473
 
 
4474
  fi
 
4475
fi
3352
4476
# Provide some information about the compiler.
3353
 
echo "$as_me:$LINENO:" \
3354
 
     "checking for C++ compiler version" >&5
3355
 
ac_compiler=`set X $ac_compile; echo $2`
3356
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3357
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
3358
 
  ac_status=$?
3359
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360
 
  (exit $ac_status); }
3361
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3362
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
3363
 
  ac_status=$?
3364
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365
 
  (exit $ac_status); }
3366
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3367
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
3368
 
  ac_status=$?
3369
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3370
 
  (exit $ac_status); }
 
4477
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
4478
set X $ac_compile
 
4479
ac_compiler=$2
 
4480
for ac_option in --version -v -V -qversion; do
 
4481
  { { ac_try="$ac_compiler $ac_option >&5"
 
4482
case "(($ac_try" in
 
4483
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4484
  *) ac_try_echo=$ac_try;;
 
4485
esac
 
4486
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4487
$as_echo "$ac_try_echo"; } >&5
 
4488
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4489
  ac_status=$?
 
4490
  if test -s conftest.err; then
 
4491
    sed '10a\
 
4492
... rest of stderr output deleted ...
 
4493
         10q' conftest.err >conftest.er1
 
4494
    cat conftest.er1 >&5
 
4495
    rm -f conftest.er1 conftest.err
 
4496
  fi
 
4497
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4498
  test $ac_status = 0; }
 
4499
done
3371
4500
 
3372
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3373
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3374
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3375
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
4502
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
4503
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
4504
  $as_echo_n "(cached) " >&6
3376
4505
else
3377
 
  cat >conftest.$ac_ext <<_ACEOF
3378
 
/* confdefs.h.  */
3379
 
_ACEOF
3380
 
cat confdefs.h >>conftest.$ac_ext
3381
 
cat >>conftest.$ac_ext <<_ACEOF
 
4506
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3382
4507
/* end confdefs.h.  */
3383
4508
 
3384
4509
int
3392
4517
  return 0;
3393
4518
}
3394
4519
_ACEOF
3395
 
rm -f conftest.$ac_objext
3396
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3397
 
  (eval $ac_compile) 2>conftest.er1
3398
 
  ac_status=$?
3399
 
  grep -v '^ *+' conftest.er1 >conftest.err
3400
 
  rm -f conftest.er1
3401
 
  cat conftest.err >&5
3402
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403
 
  (exit $ac_status); } &&
3404
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3405
 
                         || test ! -s conftest.err'
3406
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3407
 
  (eval $ac_try) 2>&5
3408
 
  ac_status=$?
3409
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410
 
  (exit $ac_status); }; } &&
3411
 
         { ac_try='test -s conftest.$ac_objext'
3412
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3413
 
  (eval $ac_try) 2>&5
3414
 
  ac_status=$?
3415
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416
 
  (exit $ac_status); }; }; then
 
4520
if ac_fn_cxx_try_compile "$LINENO"; then :
3417
4521
  ac_compiler_gnu=yes
3418
4522
else
3419
 
  echo "$as_me: failed program was:" >&5
3420
 
sed 's/^/| /' conftest.$ac_ext >&5
3421
 
 
3422
 
ac_compiler_gnu=no
 
4523
  ac_compiler_gnu=no
3423
4524
fi
3424
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4525
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3425
4526
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3426
4527
 
3427
4528
fi
3428
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3429
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3430
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
 
4529
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
4530
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
4531
if test $ac_compiler_gnu = yes; then
 
4532
  GXX=yes
 
4533
else
 
4534
  GXX=
 
4535
fi
3431
4536
ac_test_CXXFLAGS=${CXXFLAGS+set}
3432
4537
ac_save_CXXFLAGS=$CXXFLAGS
3433
 
CXXFLAGS="-g"
3434
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3435
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3436
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
3437
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3438
 
else
3439
 
  cat >conftest.$ac_ext <<_ACEOF
3440
 
/* confdefs.h.  */
3441
 
_ACEOF
3442
 
cat confdefs.h >>conftest.$ac_ext
3443
 
cat >>conftest.$ac_ext <<_ACEOF
3444
 
/* end confdefs.h.  */
3445
 
 
3446
 
int
3447
 
main ()
3448
 
{
3449
 
 
3450
 
  ;
3451
 
  return 0;
3452
 
}
3453
 
_ACEOF
3454
 
rm -f conftest.$ac_objext
3455
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3456
 
  (eval $ac_compile) 2>conftest.er1
3457
 
  ac_status=$?
3458
 
  grep -v '^ *+' conftest.er1 >conftest.err
3459
 
  rm -f conftest.er1
3460
 
  cat conftest.err >&5
3461
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462
 
  (exit $ac_status); } &&
3463
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3464
 
                         || test ! -s conftest.err'
3465
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3466
 
  (eval $ac_try) 2>&5
3467
 
  ac_status=$?
3468
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469
 
  (exit $ac_status); }; } &&
3470
 
         { ac_try='test -s conftest.$ac_objext'
3471
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3472
 
  (eval $ac_try) 2>&5
3473
 
  ac_status=$?
3474
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475
 
  (exit $ac_status); }; }; then
3476
 
  ac_cv_prog_cxx_g=yes
3477
 
else
3478
 
  echo "$as_me: failed program was:" >&5
3479
 
sed 's/^/| /' conftest.$ac_ext >&5
3480
 
 
3481
 
ac_cv_prog_cxx_g=no
3482
 
fi
3483
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3484
 
fi
3485
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3486
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
4538
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
4539
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
4540
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
4541
  $as_echo_n "(cached) " >&6
 
4542
else
 
4543
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
4544
   ac_cxx_werror_flag=yes
 
4545
   ac_cv_prog_cxx_g=no
 
4546
   CXXFLAGS="-g"
 
4547
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4548
/* end confdefs.h.  */
 
4549
 
 
4550
int
 
4551
main ()
 
4552
{
 
4553
 
 
4554
  ;
 
4555
  return 0;
 
4556
}
 
4557
_ACEOF
 
4558
if ac_fn_cxx_try_compile "$LINENO"; then :
 
4559
  ac_cv_prog_cxx_g=yes
 
4560
else
 
4561
  CXXFLAGS=""
 
4562
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4563
/* end confdefs.h.  */
 
4564
 
 
4565
int
 
4566
main ()
 
4567
{
 
4568
 
 
4569
  ;
 
4570
  return 0;
 
4571
}
 
4572
_ACEOF
 
4573
if ac_fn_cxx_try_compile "$LINENO"; then :
 
4574
 
 
4575
else
 
4576
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
4577
         CXXFLAGS="-g"
 
4578
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4579
/* end confdefs.h.  */
 
4580
 
 
4581
int
 
4582
main ()
 
4583
{
 
4584
 
 
4585
  ;
 
4586
  return 0;
 
4587
}
 
4588
_ACEOF
 
4589
if ac_fn_cxx_try_compile "$LINENO"; then :
 
4590
  ac_cv_prog_cxx_g=yes
 
4591
fi
 
4592
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4593
fi
 
4594
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4595
fi
 
4596
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4597
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
4598
fi
 
4599
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
4600
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3487
4601
if test "$ac_test_CXXFLAGS" = set; then
3488
4602
  CXXFLAGS=$ac_save_CXXFLAGS
3489
4603
elif test $ac_cv_prog_cxx_g = yes; then
3499
4613
    CXXFLAGS=
3500
4614
  fi
3501
4615
fi
3502
 
for ac_declaration in \
3503
 
   '' \
3504
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
3505
 
   'extern "C" void std::exit (int); using std::exit;' \
3506
 
   'extern "C" void exit (int) throw ();' \
3507
 
   'extern "C" void exit (int);' \
3508
 
   'void exit (int);'
3509
 
do
3510
 
  cat >conftest.$ac_ext <<_ACEOF
3511
 
/* confdefs.h.  */
3512
 
_ACEOF
3513
 
cat confdefs.h >>conftest.$ac_ext
3514
 
cat >>conftest.$ac_ext <<_ACEOF
3515
 
/* end confdefs.h.  */
3516
 
$ac_declaration
3517
 
#include <stdlib.h>
3518
 
int
3519
 
main ()
3520
 
{
3521
 
exit (42);
3522
 
  ;
3523
 
  return 0;
3524
 
}
3525
 
_ACEOF
3526
 
rm -f conftest.$ac_objext
3527
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3528
 
  (eval $ac_compile) 2>conftest.er1
3529
 
  ac_status=$?
3530
 
  grep -v '^ *+' conftest.er1 >conftest.err
3531
 
  rm -f conftest.er1
3532
 
  cat conftest.err >&5
3533
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534
 
  (exit $ac_status); } &&
3535
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3536
 
                         || test ! -s conftest.err'
3537
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3538
 
  (eval $ac_try) 2>&5
3539
 
  ac_status=$?
3540
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541
 
  (exit $ac_status); }; } &&
3542
 
         { ac_try='test -s conftest.$ac_objext'
3543
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3544
 
  (eval $ac_try) 2>&5
3545
 
  ac_status=$?
3546
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547
 
  (exit $ac_status); }; }; then
3548
 
  :
3549
 
else
3550
 
  echo "$as_me: failed program was:" >&5
3551
 
sed 's/^/| /' conftest.$ac_ext >&5
3552
 
 
3553
 
continue
3554
 
fi
3555
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3556
 
  cat >conftest.$ac_ext <<_ACEOF
3557
 
/* confdefs.h.  */
3558
 
_ACEOF
3559
 
cat confdefs.h >>conftest.$ac_ext
3560
 
cat >>conftest.$ac_ext <<_ACEOF
3561
 
/* end confdefs.h.  */
3562
 
$ac_declaration
3563
 
int
3564
 
main ()
3565
 
{
3566
 
exit (42);
3567
 
  ;
3568
 
  return 0;
3569
 
}
3570
 
_ACEOF
3571
 
rm -f conftest.$ac_objext
3572
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3573
 
  (eval $ac_compile) 2>conftest.er1
3574
 
  ac_status=$?
3575
 
  grep -v '^ *+' conftest.er1 >conftest.err
3576
 
  rm -f conftest.er1
3577
 
  cat conftest.err >&5
3578
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579
 
  (exit $ac_status); } &&
3580
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3581
 
                         || test ! -s conftest.err'
3582
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3583
 
  (eval $ac_try) 2>&5
3584
 
  ac_status=$?
3585
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586
 
  (exit $ac_status); }; } &&
3587
 
         { ac_try='test -s conftest.$ac_objext'
3588
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3589
 
  (eval $ac_try) 2>&5
3590
 
  ac_status=$?
3591
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592
 
  (exit $ac_status); }; }; then
3593
 
  break
3594
 
else
3595
 
  echo "$as_me: failed program was:" >&5
3596
 
sed 's/^/| /' conftest.$ac_ext >&5
3597
 
 
3598
 
fi
3599
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3600
 
done
3601
 
rm -f conftest*
3602
 
if test -n "$ac_declaration"; then
3603
 
  echo '#ifdef __cplusplus' >>confdefs.h
3604
 
  echo $ac_declaration      >>confdefs.h
3605
 
  echo '#endif'             >>confdefs.h
3606
 
fi
3607
 
 
3608
4616
ac_ext=c
3609
4617
ac_cpp='$CPP $CPPFLAGS'
3610
4618
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3613
4621
 
3614
4622
depcc="$CXX"  am_compiler_list=
3615
4623
 
3616
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3617
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3618
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3619
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4624
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4625
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4626
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
4627
  $as_echo_n "(cached) " >&6
3620
4628
else
3621
4629
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3622
4630
  # We make a subdir and do the tests there.  Otherwise we can end up
3641
4649
  if test "$am_compiler_list" = ""; then
3642
4650
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3643
4651
  fi
 
4652
  am__universal=false
 
4653
  case " $depcc " in #(
 
4654
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4655
     esac
 
4656
 
3644
4657
  for depmode in $am_compiler_list; do
3645
4658
    # Setup a source with many dependencies, because some compilers
3646
4659
    # like to wrap large dependency lists on column 80 (with \), and
3658
4671
    done
3659
4672
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3660
4673
 
 
4674
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4675
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4676
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4677
    # versions had trouble with output in subdirs
 
4678
    am__obj=sub/conftest.${OBJEXT-o}
 
4679
    am__minus_obj="-o $am__obj"
3661
4680
    case $depmode in
 
4681
    gcc)
 
4682
      # This depmode causes a compiler race in universal mode.
 
4683
      test "$am__universal" = false || continue
 
4684
      ;;
3662
4685
    nosideeffect)
3663
4686
      # after this tag, mechanisms are not by side-effect, so they'll
3664
4687
      # only be used when explicitly requested
3668
4691
        break
3669
4692
      fi
3670
4693
      ;;
 
4694
    msvisualcpp | msvcmsys)
 
4695
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4696
      # not run yet.  These depmodes are late enough in the game, and
 
4697
      # so weak that their functioning should not be impacted.
 
4698
      am__obj=conftest.${OBJEXT-o}
 
4699
      am__minus_obj=
 
4700
      ;;
3671
4701
    none) break ;;
3672
4702
    esac
3673
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3674
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3675
 
    # handle `-M -o', and we need to detect this.
3676
4703
    if depmode=$depmode \
3677
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4704
       source=sub/conftest.c object=$am__obj \
3678
4705
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3679
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4706
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3680
4707
         >/dev/null 2>conftest.err &&
 
4708
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3681
4709
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3682
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4710
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3683
4711
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3684
4712
      # icc doesn't choke on unknown options, it will just issue warnings
3685
4713
      # or remarks (even with -Werror).  So we grep stderr for any message
3703
4731
fi
3704
4732
 
3705
4733
fi
3706
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3707
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
4734
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
4735
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3708
4736
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3709
4737
 
3710
 
 
3711
 
 
3712
 
if
 
4738
 if
3713
4739
  test "x$enable_dependency_tracking" != xno \
3714
4740
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3715
4741
  am__fastdepCXX_TRUE=
3724
4750
do
3725
4751
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3726
4752
set dummy $ac_prog; ac_word=$2
3727
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3728
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3729
 
if test "${ac_cv_prog_YACC+set}" = set; then
3730
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4754
$as_echo_n "checking for $ac_word... " >&6; }
 
4755
if test "${ac_cv_prog_YACC+set}" = set; then :
 
4756
  $as_echo_n "(cached) " >&6
3731
4757
else
3732
4758
  if test -n "$YACC"; then
3733
4759
  ac_cv_prog_YACC="$YACC" # Let the user override the test.
3737
4763
do
3738
4764
  IFS=$as_save_IFS
3739
4765
  test -z "$as_dir" && as_dir=.
3740
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3741
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4766
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4767
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3742
4768
    ac_cv_prog_YACC="$ac_prog"
3743
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4769
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3744
4770
    break 2
3745
4771
  fi
3746
4772
done
3747
 
done
 
4773
  done
 
4774
IFS=$as_save_IFS
3748
4775
 
3749
4776
fi
3750
4777
fi
3751
4778
YACC=$ac_cv_prog_YACC
3752
4779
if test -n "$YACC"; then
3753
 
  echo "$as_me:$LINENO: result: $YACC" >&5
3754
 
echo "${ECHO_T}$YACC" >&6
 
4780
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
 
4781
$as_echo "$YACC" >&6; }
3755
4782
else
3756
 
  echo "$as_me:$LINENO: result: no" >&5
3757
 
echo "${ECHO_T}no" >&6
 
4783
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4784
$as_echo "no" >&6; }
3758
4785
fi
3759
4786
 
 
4787
 
3760
4788
  test -n "$YACC" && break
3761
4789
done
3762
4790
test -n "$YACC" || YACC="yacc"
3764
4792
if test -n "$ac_tool_prefix"; then
3765
4793
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3766
4794
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3767
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3768
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3769
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
3770
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4795
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4796
$as_echo_n "checking for $ac_word... " >&6; }
 
4797
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
4798
  $as_echo_n "(cached) " >&6
3771
4799
else
3772
4800
  if test -n "$RANLIB"; then
3773
4801
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3777
4805
do
3778
4806
  IFS=$as_save_IFS
3779
4807
  test -z "$as_dir" && as_dir=.
3780
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3781
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4808
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4809
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3782
4810
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3783
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4811
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3784
4812
    break 2
3785
4813
  fi
3786
4814
done
3787
 
done
 
4815
  done
 
4816
IFS=$as_save_IFS
3788
4817
 
3789
4818
fi
3790
4819
fi
3791
4820
RANLIB=$ac_cv_prog_RANLIB
3792
4821
if test -n "$RANLIB"; then
3793
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
3794
 
echo "${ECHO_T}$RANLIB" >&6
 
4822
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
4823
$as_echo "$RANLIB" >&6; }
3795
4824
else
3796
 
  echo "$as_me:$LINENO: result: no" >&5
3797
 
echo "${ECHO_T}no" >&6
 
4825
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4826
$as_echo "no" >&6; }
3798
4827
fi
 
4828
 
3799
4829
 
3800
4830
fi
3801
4831
if test -z "$ac_cv_prog_RANLIB"; then
3802
4832
  ac_ct_RANLIB=$RANLIB
3803
4833
  # Extract the first word of "ranlib", so it can be a program name with args.
3804
4834
set dummy ranlib; ac_word=$2
3805
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3806
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3807
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3808
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4835
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4836
$as_echo_n "checking for $ac_word... " >&6; }
 
4837
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
4838
  $as_echo_n "(cached) " >&6
3809
4839
else
3810
4840
  if test -n "$ac_ct_RANLIB"; then
3811
4841
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3815
4845
do
3816
4846
  IFS=$as_save_IFS
3817
4847
  test -z "$as_dir" && as_dir=.
3818
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3819
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4848
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4849
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3820
4850
    ac_cv_prog_ac_ct_RANLIB="ranlib"
3821
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4851
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3822
4852
    break 2
3823
4853
  fi
3824
4854
done
3825
 
done
 
4855
  done
 
4856
IFS=$as_save_IFS
3826
4857
 
3827
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3828
4858
fi
3829
4859
fi
3830
4860
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3831
4861
if test -n "$ac_ct_RANLIB"; then
3832
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3833
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
4862
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
4863
$as_echo "$ac_ct_RANLIB" >&6; }
3834
4864
else
3835
 
  echo "$as_me:$LINENO: result: no" >&5
3836
 
echo "${ECHO_T}no" >&6
 
4865
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4866
$as_echo "no" >&6; }
3837
4867
fi
3838
4868
 
3839
 
  RANLIB=$ac_ct_RANLIB
 
4869
  if test "x$ac_ct_RANLIB" = x; then
 
4870
    RANLIB=":"
 
4871
  else
 
4872
    case $cross_compiling:$ac_tool_warned in
 
4873
yes:)
 
4874
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4875
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4876
ac_tool_warned=yes ;;
 
4877
esac
 
4878
    RANLIB=$ac_ct_RANLIB
 
4879
  fi
3840
4880
else
3841
4881
  RANLIB="$ac_cv_prog_RANLIB"
3842
4882
fi
3843
4883
 
3844
 
# Find a good install program.  We prefer a C program (faster),
3845
 
# so one script is as good as another.  But avoid the broken or
3846
 
# incompatible versions:
3847
 
# SysV /etc/install, /usr/sbin/install
3848
 
# SunOS /usr/etc/install
3849
 
# IRIX /sbin/install
3850
 
# AIX /bin/install
3851
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
3852
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3853
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3854
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3855
 
# OS/2's system install, which has a completely different semantic
3856
 
# ./install, which can be erroneously created by make from ./install.sh.
3857
 
# Reject install programs that cannot install multiple files.
3858
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3859
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3860
 
if test -z "$INSTALL"; then
3861
 
if test "${ac_cv_path_install+set}" = set; then
3862
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3863
 
else
3864
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3865
 
for as_dir in $PATH
3866
 
do
3867
 
  IFS=$as_save_IFS
3868
 
  test -z "$as_dir" && as_dir=.
3869
 
  # Account for people who put trailing slashes in PATH elements.
3870
 
case $as_dir/ in
3871
 
  ./ | .// | /cC/* | \
3872
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3873
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3874
 
  /usr/ucb/* ) ;;
3875
 
  *)
3876
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
3877
 
    # Don't use installbsd from OSF since it installs stuff as root
3878
 
    # by default.
3879
 
    for ac_prog in ginstall scoinst install; do
3880
 
      for ac_exec_ext in '' $ac_executable_extensions; do
3881
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3882
 
          if test $ac_prog = install &&
3883
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3884
 
            # AIX install.  It has an incompatible calling convention.
3885
 
            :
3886
 
          elif test $ac_prog = install &&
3887
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3888
 
            # program-specific install script used by HP pwplus--don't use.
3889
 
            :
3890
 
          else
3891
 
            rm -rf conftest.one conftest.two conftest.dir
3892
 
            echo one > conftest.one
3893
 
            echo two > conftest.two
3894
 
            mkdir conftest.dir
3895
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3896
 
              test -s conftest.one && test -s conftest.two &&
3897
 
              test -s conftest.dir/conftest.one &&
3898
 
              test -s conftest.dir/conftest.two
3899
 
            then
3900
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3901
 
              break 3
3902
 
            fi
3903
 
          fi
3904
 
        fi
3905
 
      done
3906
 
    done
3907
 
    ;;
3908
 
esac
3909
 
done
3910
 
 
3911
 
rm -rf conftest.one conftest.two conftest.dir
3912
 
 
3913
 
fi
3914
 
  if test "${ac_cv_path_install+set}" = set; then
3915
 
    INSTALL=$ac_cv_path_install
3916
 
  else
3917
 
    # As a last resort, use the slow shell script.  Don't cache a
3918
 
    # value for INSTALL within a source directory, because that will
3919
 
    # break other packages using the cache if that directory is
3920
 
    # removed, or if the value is a relative name.
3921
 
    INSTALL=$ac_install_sh
3922
 
  fi
3923
 
fi
3924
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
3925
 
echo "${ECHO_T}$INSTALL" >&6
3926
 
 
3927
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3928
 
# It thinks the first close brace ends the variable substitution.
3929
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3930
 
 
3931
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3932
 
 
3933
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3934
 
 
3935
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
3936
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
4884
 
 
4885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
4886
$as_echo_n "checking whether ln -s works... " >&6; }
3937
4887
LN_S=$as_ln_s
3938
4888
if test "$LN_S" = "ln -s"; then
3939
 
  echo "$as_me:$LINENO: result: yes" >&5
3940
 
echo "${ECHO_T}yes" >&6
3941
 
else
3942
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3943
 
echo "${ECHO_T}no, using $LN_S" >&6
3944
 
fi
3945
 
 
3946
 
 
3947
 
 
3948
 
cat >>confdefs.h <<\_ACEOF
3949
 
#define _GNU_SOURCE 1
3950
 
_ACEOF
 
4889
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4890
$as_echo "yes" >&6; }
 
4891
else
 
4892
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
4893
$as_echo "no, using $LN_S" >&6; }
 
4894
fi
 
4895
 
 
4896
 
 
4897
 
 
4898
ac_ext=c
 
4899
ac_cpp='$CPP $CPPFLAGS'
 
4900
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4901
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4902
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4903
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
4904
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
4905
# On Suns, sometimes $CPP names a directory.
 
4906
if test -n "$CPP" && test -d "$CPP"; then
 
4907
  CPP=
 
4908
fi
 
4909
if test -z "$CPP"; then
 
4910
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
4911
  $as_echo_n "(cached) " >&6
 
4912
else
 
4913
      # Double quotes because CPP needs to be expanded
 
4914
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
4915
    do
 
4916
      ac_preproc_ok=false
 
4917
for ac_c_preproc_warn_flag in '' yes
 
4918
do
 
4919
  # Use a header file that comes with gcc, so configuring glibc
 
4920
  # with a fresh cross-compiler works.
 
4921
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4922
  # <limits.h> exists even on freestanding compilers.
 
4923
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
4924
  # not just through cpp. "Syntax error" is here to catch this case.
 
4925
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4926
/* end confdefs.h.  */
 
4927
#ifdef __STDC__
 
4928
# include <limits.h>
 
4929
#else
 
4930
# include <assert.h>
 
4931
#endif
 
4932
                     Syntax error
 
4933
_ACEOF
 
4934
if ac_fn_c_try_cpp "$LINENO"; then :
 
4935
 
 
4936
else
 
4937
  # Broken: fails on valid input.
 
4938
continue
 
4939
fi
 
4940
rm -f conftest.err conftest.$ac_ext
 
4941
 
 
4942
  # OK, works on sane cases.  Now check whether nonexistent headers
 
4943
  # can be detected and how.
 
4944
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4945
/* end confdefs.h.  */
 
4946
#include <ac_nonexistent.h>
 
4947
_ACEOF
 
4948
if ac_fn_c_try_cpp "$LINENO"; then :
 
4949
  # Broken: success on invalid input.
 
4950
continue
 
4951
else
 
4952
  # Passes both tests.
 
4953
ac_preproc_ok=:
 
4954
break
 
4955
fi
 
4956
rm -f conftest.err conftest.$ac_ext
 
4957
 
 
4958
done
 
4959
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
4960
rm -f conftest.err conftest.$ac_ext
 
4961
if $ac_preproc_ok; then :
 
4962
  break
 
4963
fi
 
4964
 
 
4965
    done
 
4966
    ac_cv_prog_CPP=$CPP
 
4967
 
 
4968
fi
 
4969
  CPP=$ac_cv_prog_CPP
 
4970
else
 
4971
  ac_cv_prog_CPP=$CPP
 
4972
fi
 
4973
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
4974
$as_echo "$CPP" >&6; }
 
4975
ac_preproc_ok=false
 
4976
for ac_c_preproc_warn_flag in '' yes
 
4977
do
 
4978
  # Use a header file that comes with gcc, so configuring glibc
 
4979
  # with a fresh cross-compiler works.
 
4980
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4981
  # <limits.h> exists even on freestanding compilers.
 
4982
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
4983
  # not just through cpp. "Syntax error" is here to catch this case.
 
4984
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4985
/* end confdefs.h.  */
 
4986
#ifdef __STDC__
 
4987
# include <limits.h>
 
4988
#else
 
4989
# include <assert.h>
 
4990
#endif
 
4991
                     Syntax error
 
4992
_ACEOF
 
4993
if ac_fn_c_try_cpp "$LINENO"; then :
 
4994
 
 
4995
else
 
4996
  # Broken: fails on valid input.
 
4997
continue
 
4998
fi
 
4999
rm -f conftest.err conftest.$ac_ext
 
5000
 
 
5001
  # OK, works on sane cases.  Now check whether nonexistent headers
 
5002
  # can be detected and how.
 
5003
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5004
/* end confdefs.h.  */
 
5005
#include <ac_nonexistent.h>
 
5006
_ACEOF
 
5007
if ac_fn_c_try_cpp "$LINENO"; then :
 
5008
  # Broken: success on invalid input.
 
5009
continue
 
5010
else
 
5011
  # Passes both tests.
 
5012
ac_preproc_ok=:
 
5013
break
 
5014
fi
 
5015
rm -f conftest.err conftest.$ac_ext
 
5016
 
 
5017
done
 
5018
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
5019
rm -f conftest.err conftest.$ac_ext
 
5020
if $ac_preproc_ok; then :
 
5021
 
 
5022
else
 
5023
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
5024
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5025
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
5026
See \`config.log' for more details." "$LINENO" 5; }
 
5027
fi
 
5028
 
 
5029
ac_ext=c
 
5030
ac_cpp='$CPP $CPPFLAGS'
 
5031
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5032
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5033
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5034
 
 
5035
 
 
5036
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
5037
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
5038
if test "${ac_cv_path_GREP+set}" = set; then :
 
5039
  $as_echo_n "(cached) " >&6
 
5040
else
 
5041
  if test -z "$GREP"; then
 
5042
  ac_path_GREP_found=false
 
5043
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5044
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5045
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5046
do
 
5047
  IFS=$as_save_IFS
 
5048
  test -z "$as_dir" && as_dir=.
 
5049
    for ac_prog in grep ggrep; do
 
5050
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5051
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
5052
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
5053
# Check for GNU ac_path_GREP and select it if it is found.
 
5054
  # Check for GNU $ac_path_GREP
 
5055
case `"$ac_path_GREP" --version 2>&1` in
 
5056
*GNU*)
 
5057
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
5058
*)
 
5059
  ac_count=0
 
5060
  $as_echo_n 0123456789 >"conftest.in"
 
5061
  while :
 
5062
  do
 
5063
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5064
    mv "conftest.tmp" "conftest.in"
 
5065
    cp "conftest.in" "conftest.nl"
 
5066
    $as_echo 'GREP' >> "conftest.nl"
 
5067
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5068
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5069
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5070
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
5071
      # Best one so far, save it but keep looking for a better one
 
5072
      ac_cv_path_GREP="$ac_path_GREP"
 
5073
      ac_path_GREP_max=$ac_count
 
5074
    fi
 
5075
    # 10*(2^10) chars as input seems more than enough
 
5076
    test $ac_count -gt 10 && break
 
5077
  done
 
5078
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5079
esac
 
5080
 
 
5081
      $ac_path_GREP_found && break 3
 
5082
    done
 
5083
  done
 
5084
  done
 
5085
IFS=$as_save_IFS
 
5086
  if test -z "$ac_cv_path_GREP"; then
 
5087
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5088
  fi
 
5089
else
 
5090
  ac_cv_path_GREP=$GREP
 
5091
fi
 
5092
 
 
5093
fi
 
5094
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
5095
$as_echo "$ac_cv_path_GREP" >&6; }
 
5096
 GREP="$ac_cv_path_GREP"
 
5097
 
 
5098
 
 
5099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
5100
$as_echo_n "checking for egrep... " >&6; }
 
5101
if test "${ac_cv_path_EGREP+set}" = set; then :
 
5102
  $as_echo_n "(cached) " >&6
 
5103
else
 
5104
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
5105
   then ac_cv_path_EGREP="$GREP -E"
 
5106
   else
 
5107
     if test -z "$EGREP"; then
 
5108
  ac_path_EGREP_found=false
 
5109
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5110
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5111
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5112
do
 
5113
  IFS=$as_save_IFS
 
5114
  test -z "$as_dir" && as_dir=.
 
5115
    for ac_prog in egrep; do
 
5116
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5117
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5118
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
5119
# Check for GNU ac_path_EGREP and select it if it is found.
 
5120
  # Check for GNU $ac_path_EGREP
 
5121
case `"$ac_path_EGREP" --version 2>&1` in
 
5122
*GNU*)
 
5123
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
5124
*)
 
5125
  ac_count=0
 
5126
  $as_echo_n 0123456789 >"conftest.in"
 
5127
  while :
 
5128
  do
 
5129
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5130
    mv "conftest.tmp" "conftest.in"
 
5131
    cp "conftest.in" "conftest.nl"
 
5132
    $as_echo 'EGREP' >> "conftest.nl"
 
5133
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5134
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5135
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5136
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
5137
      # Best one so far, save it but keep looking for a better one
 
5138
      ac_cv_path_EGREP="$ac_path_EGREP"
 
5139
      ac_path_EGREP_max=$ac_count
 
5140
    fi
 
5141
    # 10*(2^10) chars as input seems more than enough
 
5142
    test $ac_count -gt 10 && break
 
5143
  done
 
5144
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5145
esac
 
5146
 
 
5147
      $ac_path_EGREP_found && break 3
 
5148
    done
 
5149
  done
 
5150
  done
 
5151
IFS=$as_save_IFS
 
5152
  if test -z "$ac_cv_path_EGREP"; then
 
5153
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5154
  fi
 
5155
else
 
5156
  ac_cv_path_EGREP=$EGREP
 
5157
fi
 
5158
 
 
5159
   fi
 
5160
fi
 
5161
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
5162
$as_echo "$ac_cv_path_EGREP" >&6; }
 
5163
 EGREP="$ac_cv_path_EGREP"
 
5164
 
 
5165
 
 
5166
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
5167
$as_echo_n "checking for ANSI C header files... " >&6; }
 
5168
if test "${ac_cv_header_stdc+set}" = set; then :
 
5169
  $as_echo_n "(cached) " >&6
 
5170
else
 
5171
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5172
/* end confdefs.h.  */
 
5173
#include <stdlib.h>
 
5174
#include <stdarg.h>
 
5175
#include <string.h>
 
5176
#include <float.h>
 
5177
 
 
5178
int
 
5179
main ()
 
5180
{
 
5181
 
 
5182
  ;
 
5183
  return 0;
 
5184
}
 
5185
_ACEOF
 
5186
if ac_fn_c_try_compile "$LINENO"; then :
 
5187
  ac_cv_header_stdc=yes
 
5188
else
 
5189
  ac_cv_header_stdc=no
 
5190
fi
 
5191
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5192
 
 
5193
if test $ac_cv_header_stdc = yes; then
 
5194
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
5195
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5196
/* end confdefs.h.  */
 
5197
#include <string.h>
 
5198
 
 
5199
_ACEOF
 
5200
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
5201
  $EGREP "memchr" >/dev/null 2>&1; then :
 
5202
 
 
5203
else
 
5204
  ac_cv_header_stdc=no
 
5205
fi
 
5206
rm -f conftest*
 
5207
 
 
5208
fi
 
5209
 
 
5210
if test $ac_cv_header_stdc = yes; then
 
5211
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
5212
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5213
/* end confdefs.h.  */
 
5214
#include <stdlib.h>
 
5215
 
 
5216
_ACEOF
 
5217
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
5218
  $EGREP "free" >/dev/null 2>&1; then :
 
5219
 
 
5220
else
 
5221
  ac_cv_header_stdc=no
 
5222
fi
 
5223
rm -f conftest*
 
5224
 
 
5225
fi
 
5226
 
 
5227
if test $ac_cv_header_stdc = yes; then
 
5228
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
5229
  if test "$cross_compiling" = yes; then :
 
5230
  :
 
5231
else
 
5232
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5233
/* end confdefs.h.  */
 
5234
#include <ctype.h>
 
5235
#include <stdlib.h>
 
5236
#if ((' ' & 0x0FF) == 0x020)
 
5237
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
5238
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
5239
#else
 
5240
# define ISLOWER(c) \
 
5241
                   (('a' <= (c) && (c) <= 'i') \
 
5242
                     || ('j' <= (c) && (c) <= 'r') \
 
5243
                     || ('s' <= (c) && (c) <= 'z'))
 
5244
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
5245
#endif
 
5246
 
 
5247
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
5248
int
 
5249
main ()
 
5250
{
 
5251
  int i;
 
5252
  for (i = 0; i < 256; i++)
 
5253
    if (XOR (islower (i), ISLOWER (i))
 
5254
        || toupper (i) != TOUPPER (i))
 
5255
      return 2;
 
5256
  return 0;
 
5257
}
 
5258
_ACEOF
 
5259
if ac_fn_c_try_run "$LINENO"; then :
 
5260
 
 
5261
else
 
5262
  ac_cv_header_stdc=no
 
5263
fi
 
5264
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
5265
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
5266
fi
 
5267
 
 
5268
fi
 
5269
fi
 
5270
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
5271
$as_echo "$ac_cv_header_stdc" >&6; }
 
5272
if test $ac_cv_header_stdc = yes; then
 
5273
 
 
5274
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
5275
 
 
5276
fi
 
5277
 
 
5278
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
5279
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
5280
                  inttypes.h stdint.h unistd.h
 
5281
do :
 
5282
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5283
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
5284
"
 
5285
eval as_val=\$$as_ac_Header
 
5286
   if test "x$as_val" = x""yes; then :
 
5287
  cat >>confdefs.h <<_ACEOF
 
5288
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5289
_ACEOF
 
5290
 
 
5291
fi
 
5292
 
 
5293
done
 
5294
 
 
5295
 
 
5296
 
 
5297
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
 
5298
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
 
5299
  MINIX=yes
 
5300
else
 
5301
  MINIX=
 
5302
fi
 
5303
 
 
5304
 
 
5305
  if test "$MINIX" = yes; then
 
5306
 
 
5307
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
 
5308
 
 
5309
 
 
5310
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
 
5311
 
 
5312
 
 
5313
$as_echo "#define _MINIX 1" >>confdefs.h
 
5314
 
 
5315
  fi
 
5316
 
 
5317
 
 
5318
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
 
5319
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
 
5320
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
 
5321
  $as_echo_n "(cached) " >&6
 
5322
else
 
5323
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5324
/* end confdefs.h.  */
 
5325
 
 
5326
#         define __EXTENSIONS__ 1
 
5327
          $ac_includes_default
 
5328
int
 
5329
main ()
 
5330
{
 
5331
 
 
5332
  ;
 
5333
  return 0;
 
5334
}
 
5335
_ACEOF
 
5336
if ac_fn_c_try_compile "$LINENO"; then :
 
5337
  ac_cv_safe_to_define___extensions__=yes
 
5338
else
 
5339
  ac_cv_safe_to_define___extensions__=no
 
5340
fi
 
5341
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5342
fi
 
5343
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
 
5344
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
 
5345
  test $ac_cv_safe_to_define___extensions__ = yes &&
 
5346
    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
 
5347
 
 
5348
  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
 
5349
 
 
5350
  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
 
5351
 
 
5352
  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
 
5353
 
 
5354
  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
 
5355
 
3951
5356
 
3952
5357
 
3953
5358
 
3964
5369
if test -f  ../intl/config.intl; then
3965
5370
  .  ../intl/config.intl
3966
5371
fi
3967
 
echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3968
 
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
 
5372
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
 
5373
$as_echo_n "checking whether NLS is requested... " >&6; }
3969
5374
if test x"$USE_NLS" != xyes; then
3970
 
  echo "$as_me:$LINENO: result: no" >&5
3971
 
echo "${ECHO_T}no" >&6
 
5375
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5376
$as_echo "no" >&6; }
3972
5377
else
3973
 
  echo "$as_me:$LINENO: result: yes" >&5
3974
 
echo "${ECHO_T}yes" >&6
3975
 
 
3976
 
cat >>confdefs.h <<\_ACEOF
3977
 
#define ENABLE_NLS 1
3978
 
_ACEOF
3979
 
 
3980
 
 
3981
 
  echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
3982
 
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
 
5378
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5379
$as_echo "yes" >&6; }
 
5380
 
 
5381
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
 
5382
 
 
5383
 
 
5384
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
 
5385
$as_echo_n "checking for catalogs to be installed... " >&6; }
3983
5386
  # Look for .po and .gmo files in the source directory.
3984
5387
  CATALOGS=
3985
5388
  XLINGUAS=
4010
5413
    fi
4011
5414
  done
4012
5415
  LINGUAS="$XLINGUAS"
4013
 
  echo "$as_me:$LINENO: result: $LINGUAS" >&5
4014
 
echo "${ECHO_T}$LINGUAS" >&6
 
5416
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
 
5417
$as_echo "$LINGUAS" >&6; }
4015
5418
 
4016
5419
 
4017
5420
    DATADIRNAME=share
4037
5440
 
4038
5441
 
4039
5442
 
4040
 
  echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4041
 
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
4042
 
    # Check whether --enable-nls or --disable-nls was given.
4043
 
if test "${enable_nls+set}" = set; then
4044
 
  enableval="$enable_nls"
4045
 
  USE_NLS=$enableval
 
5443
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
 
5444
$as_echo_n "checking whether NLS is requested... " >&6; }
 
5445
    # Check whether --enable-nls was given.
 
5446
if test "${enable_nls+set}" = set; then :
 
5447
  enableval=$enable_nls; USE_NLS=$enableval
4046
5448
else
4047
5449
  USE_NLS=yes
4048
 
fi;
4049
 
  echo "$as_me:$LINENO: result: $USE_NLS" >&5
4050
 
echo "${ECHO_T}$USE_NLS" >&6
 
5450
fi
 
5451
 
 
5452
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
5453
$as_echo "$USE_NLS" >&6; }
4051
5454
 
4052
5455
 
4053
5456
 
4084
5487
 
4085
5488
# Extract the first word of "msgfmt", so it can be a program name with args.
4086
5489
set dummy msgfmt; ac_word=$2
4087
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4088
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4089
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
4090
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5491
$as_echo_n "checking for $ac_word... " >&6; }
 
5492
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
5493
  $as_echo_n "(cached) " >&6
4091
5494
else
4092
5495
  case "$MSGFMT" in
4093
5496
  [\\/]* | ?:[\\/]*)
4115
5518
fi
4116
5519
MSGFMT="$ac_cv_path_MSGFMT"
4117
5520
if test "$MSGFMT" != ":"; then
4118
 
  echo "$as_me:$LINENO: result: $MSGFMT" >&5
4119
 
echo "${ECHO_T}$MSGFMT" >&6
 
5521
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
5522
$as_echo "$MSGFMT" >&6; }
4120
5523
else
4121
 
  echo "$as_me:$LINENO: result: no" >&5
4122
 
echo "${ECHO_T}no" >&6
 
5524
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5525
$as_echo "no" >&6; }
4123
5526
fi
4124
5527
 
4125
5528
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
4126
5529
set dummy gmsgfmt; ac_word=$2
4127
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4128
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4129
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
4130
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5530
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5531
$as_echo_n "checking for $ac_word... " >&6; }
 
5532
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
5533
  $as_echo_n "(cached) " >&6
4131
5534
else
4132
5535
  case $GMSGFMT in
4133
5536
  [\\/]* | ?:[\\/]*)
4139
5542
do
4140
5543
  IFS=$as_save_IFS
4141
5544
  test -z "$as_dir" && as_dir=.
4142
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4143
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5545
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5546
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4144
5547
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4145
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5548
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4146
5549
    break 2
4147
5550
  fi
4148
5551
done
4149
 
done
 
5552
  done
 
5553
IFS=$as_save_IFS
4150
5554
 
4151
5555
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4152
5556
  ;;
4153
5557
esac
4154
5558
fi
4155
5559
GMSGFMT=$ac_cv_path_GMSGFMT
4156
 
 
4157
5560
if test -n "$GMSGFMT"; then
4158
 
  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
4159
 
echo "${ECHO_T}$GMSGFMT" >&6
 
5561
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
5562
$as_echo "$GMSGFMT" >&6; }
4160
5563
else
4161
 
  echo "$as_me:$LINENO: result: no" >&5
4162
 
echo "${ECHO_T}no" >&6
 
5564
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5565
$as_echo "no" >&6; }
4163
5566
fi
4164
5567
 
4165
5568
 
4166
5569
 
 
5570
 
4167
5571
# Prepare PATH_SEPARATOR.
4168
5572
# The user is always right.
4169
5573
if test "${PATH_SEPARATOR+set}" != set; then
4194
5598
 
4195
5599
# Extract the first word of "xgettext", so it can be a program name with args.
4196
5600
set dummy xgettext; ac_word=$2
4197
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4198
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4199
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
4200
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5602
$as_echo_n "checking for $ac_word... " >&6; }
 
5603
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
5604
  $as_echo_n "(cached) " >&6
4201
5605
else
4202
5606
  case "$XGETTEXT" in
4203
5607
  [\\/]* | ?:[\\/]*)
4225
5629
fi
4226
5630
XGETTEXT="$ac_cv_path_XGETTEXT"
4227
5631
if test "$XGETTEXT" != ":"; then
4228
 
  echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4229
 
echo "${ECHO_T}$XGETTEXT" >&6
 
5632
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
5633
$as_echo "$XGETTEXT" >&6; }
4230
5634
else
4231
 
  echo "$as_me:$LINENO: result: no" >&5
4232
 
echo "${ECHO_T}no" >&6
 
5635
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5636
$as_echo "no" >&6; }
4233
5637
fi
4234
5638
 
4235
5639
    rm -f messages.po
4265
5669
 
4266
5670
# Extract the first word of "msgmerge", so it can be a program name with args.
4267
5671
set dummy msgmerge; ac_word=$2
4268
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4269
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4270
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then
4271
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5673
$as_echo_n "checking for $ac_word... " >&6; }
 
5674
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
5675
  $as_echo_n "(cached) " >&6
4272
5676
else
4273
5677
  case "$MSGMERGE" in
4274
5678
  [\\/]* | ?:[\\/]*)
4295
5699
fi
4296
5700
MSGMERGE="$ac_cv_path_MSGMERGE"
4297
5701
if test "$MSGMERGE" != ":"; then
4298
 
  echo "$as_me:$LINENO: result: $MSGMERGE" >&5
4299
 
echo "${ECHO_T}$MSGMERGE" >&6
 
5702
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
5703
$as_echo "$MSGMERGE" >&6; }
4300
5704
else
4301
 
  echo "$as_me:$LINENO: result: no" >&5
4302
 
echo "${ECHO_T}no" >&6
 
5705
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5706
$as_echo "no" >&6; }
4303
5707
fi
4304
5708
 
4305
5709
 
4309
5713
      : ;
4310
5714
    else
4311
5715
      GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
4312
 
      echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
4313
 
echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
 
5716
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
 
5717
$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
4314
5718
      GMSGFMT=":"
4315
5719
    fi
4316
5720
  fi
4320
5724
       (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4321
5725
      : ;
4322
5726
    else
4323
 
      echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
4324
 
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
 
5727
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
5728
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
4325
5729
      XGETTEXT=":"
4326
5730
    fi
4327
5731
        rm -f messages.po
4328
5732
  fi
4329
5733
 
4330
 
            ac_config_commands="$ac_config_commands default-1"
4331
 
 
4332
 
 
4333
 
 
4334
 
 
4335
 
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4336
 
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4337
 
if test "${ac_cv_c_bigendian+set}" = set; then
4338
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5734
  ac_config_commands="$ac_config_commands default-1"
 
5735
 
 
5736
 
 
5737
 
 
5738
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
 
5739
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
 
5740
if test "${ac_cv_c_bigendian+set}" = set; then :
 
5741
  $as_echo_n "(cached) " >&6
4339
5742
else
4340
 
  # See if sys/param.h defines the BYTE_ORDER macro.
4341
 
cat >conftest.$ac_ext <<_ACEOF
4342
 
/* confdefs.h.  */
 
5743
  ac_cv_c_bigendian=unknown
 
5744
    # See if we're dealing with a universal compiler.
 
5745
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5746
/* end confdefs.h.  */
 
5747
#ifndef __APPLE_CC__
 
5748
               not a universal capable compiler
 
5749
             #endif
 
5750
             typedef int dummy;
 
5751
 
4343
5752
_ACEOF
4344
 
cat confdefs.h >>conftest.$ac_ext
4345
 
cat >>conftest.$ac_ext <<_ACEOF
 
5753
if ac_fn_c_try_compile "$LINENO"; then :
 
5754
 
 
5755
        # Check for potential -arch flags.  It is not universal unless
 
5756
        # there are at least two -arch flags with different values.
 
5757
        ac_arch=
 
5758
        ac_prev=
 
5759
        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
 
5760
         if test -n "$ac_prev"; then
 
5761
           case $ac_word in
 
5762
             i?86 | x86_64 | ppc | ppc64)
 
5763
               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
 
5764
                 ac_arch=$ac_word
 
5765
               else
 
5766
                 ac_cv_c_bigendian=universal
 
5767
                 break
 
5768
               fi
 
5769
               ;;
 
5770
           esac
 
5771
           ac_prev=
 
5772
         elif test "x$ac_word" = "x-arch"; then
 
5773
           ac_prev=arch
 
5774
         fi
 
5775
       done
 
5776
fi
 
5777
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5778
    if test $ac_cv_c_bigendian = unknown; then
 
5779
      # See if sys/param.h defines the BYTE_ORDER macro.
 
5780
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4346
5781
/* end confdefs.h.  */
4347
5782
#include <sys/types.h>
4348
 
#include <sys/param.h>
 
5783
             #include <sys/param.h>
4349
5784
 
4350
5785
int
4351
5786
main ()
4352
5787
{
4353
 
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4354
 
 bogus endian macros
4355
 
#endif
 
5788
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
 
5789
                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
 
5790
                     && LITTLE_ENDIAN)
 
5791
              bogus endian macros
 
5792
             #endif
4356
5793
 
4357
5794
  ;
4358
5795
  return 0;
4359
5796
}
4360
5797
_ACEOF
4361
 
rm -f conftest.$ac_objext
4362
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4363
 
  (eval $ac_compile) 2>conftest.er1
4364
 
  ac_status=$?
4365
 
  grep -v '^ *+' conftest.er1 >conftest.err
4366
 
  rm -f conftest.er1
4367
 
  cat conftest.err >&5
4368
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369
 
  (exit $ac_status); } &&
4370
 
         { ac_try='test -z "$ac_c_werror_flag"
4371
 
                         || test ! -s conftest.err'
4372
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4373
 
  (eval $ac_try) 2>&5
4374
 
  ac_status=$?
4375
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376
 
  (exit $ac_status); }; } &&
4377
 
         { ac_try='test -s conftest.$ac_objext'
4378
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4379
 
  (eval $ac_try) 2>&5
4380
 
  ac_status=$?
4381
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382
 
  (exit $ac_status); }; }; then
 
5798
if ac_fn_c_try_compile "$LINENO"; then :
4383
5799
  # It does; now see whether it defined to BIG_ENDIAN or not.
4384
 
cat >conftest.$ac_ext <<_ACEOF
4385
 
/* confdefs.h.  */
4386
 
_ACEOF
4387
 
cat confdefs.h >>conftest.$ac_ext
4388
 
cat >>conftest.$ac_ext <<_ACEOF
 
5800
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4389
5801
/* end confdefs.h.  */
4390
5802
#include <sys/types.h>
4391
 
#include <sys/param.h>
 
5803
                #include <sys/param.h>
4392
5804
 
4393
5805
int
4394
5806
main ()
4395
5807
{
4396
5808
#if BYTE_ORDER != BIG_ENDIAN
4397
 
 not big endian
4398
 
#endif
4399
 
 
4400
 
  ;
4401
 
  return 0;
4402
 
}
4403
 
_ACEOF
4404
 
rm -f conftest.$ac_objext
4405
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4406
 
  (eval $ac_compile) 2>conftest.er1
4407
 
  ac_status=$?
4408
 
  grep -v '^ *+' conftest.er1 >conftest.err
4409
 
  rm -f conftest.er1
4410
 
  cat conftest.err >&5
4411
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4412
 
  (exit $ac_status); } &&
4413
 
         { ac_try='test -z "$ac_c_werror_flag"
4414
 
                         || test ! -s conftest.err'
4415
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4416
 
  (eval $ac_try) 2>&5
4417
 
  ac_status=$?
4418
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419
 
  (exit $ac_status); }; } &&
4420
 
         { ac_try='test -s conftest.$ac_objext'
4421
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4422
 
  (eval $ac_try) 2>&5
4423
 
  ac_status=$?
4424
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425
 
  (exit $ac_status); }; }; then
4426
 
  ac_cv_c_bigendian=yes
4427
 
else
4428
 
  echo "$as_me: failed program was:" >&5
4429
 
sed 's/^/| /' conftest.$ac_ext >&5
4430
 
 
4431
 
ac_cv_c_bigendian=no
4432
 
fi
4433
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4434
 
else
4435
 
  echo "$as_me: failed program was:" >&5
4436
 
sed 's/^/| /' conftest.$ac_ext >&5
4437
 
 
4438
 
# It does not; compile a test program.
4439
 
if test "$cross_compiling" = yes; then
4440
 
  # try to guess the endianness by grepping values into an object file
4441
 
  ac_cv_c_bigendian=unknown
4442
 
  cat >conftest.$ac_ext <<_ACEOF
4443
 
/* confdefs.h.  */
4444
 
_ACEOF
4445
 
cat confdefs.h >>conftest.$ac_ext
4446
 
cat >>conftest.$ac_ext <<_ACEOF
4447
 
/* end confdefs.h.  */
4448
 
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4449
 
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4450
 
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4451
 
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4452
 
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4453
 
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4454
 
int
4455
 
main ()
4456
 
{
4457
 
 _ascii (); _ebcdic ();
4458
 
  ;
4459
 
  return 0;
4460
 
}
4461
 
_ACEOF
4462
 
rm -f conftest.$ac_objext
4463
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4464
 
  (eval $ac_compile) 2>conftest.er1
4465
 
  ac_status=$?
4466
 
  grep -v '^ *+' conftest.er1 >conftest.err
4467
 
  rm -f conftest.er1
4468
 
  cat conftest.err >&5
4469
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4470
 
  (exit $ac_status); } &&
4471
 
         { ac_try='test -z "$ac_c_werror_flag"
4472
 
                         || test ! -s conftest.err'
4473
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4474
 
  (eval $ac_try) 2>&5
4475
 
  ac_status=$?
4476
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477
 
  (exit $ac_status); }; } &&
4478
 
         { ac_try='test -s conftest.$ac_objext'
4479
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4480
 
  (eval $ac_try) 2>&5
4481
 
  ac_status=$?
4482
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483
 
  (exit $ac_status); }; }; then
4484
 
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4485
 
  ac_cv_c_bigendian=yes
4486
 
fi
4487
 
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4488
 
  if test "$ac_cv_c_bigendian" = unknown; then
4489
 
    ac_cv_c_bigendian=no
4490
 
  else
4491
 
    # finding both strings is unlikely to happen, but who knows?
4492
 
    ac_cv_c_bigendian=unknown
4493
 
  fi
4494
 
fi
4495
 
else
4496
 
  echo "$as_me: failed program was:" >&5
4497
 
sed 's/^/| /' conftest.$ac_ext >&5
4498
 
 
4499
 
fi
4500
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4501
 
else
4502
 
  cat >conftest.$ac_ext <<_ACEOF
4503
 
/* confdefs.h.  */
4504
 
_ACEOF
4505
 
cat confdefs.h >>conftest.$ac_ext
4506
 
cat >>conftest.$ac_ext <<_ACEOF
4507
 
/* end confdefs.h.  */
4508
 
int
4509
 
main ()
4510
 
{
4511
 
  /* Are we little or big endian?  From Harbison&Steele.  */
4512
 
  union
4513
 
  {
4514
 
    long l;
4515
 
    char c[sizeof (long)];
4516
 
  } u;
4517
 
  u.l = 1;
4518
 
  exit (u.c[sizeof (long) - 1] == 1);
4519
 
}
4520
 
_ACEOF
4521
 
rm -f conftest$ac_exeext
4522
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4523
 
  (eval $ac_link) 2>&5
4524
 
  ac_status=$?
4525
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4527
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4528
 
  (eval $ac_try) 2>&5
4529
 
  ac_status=$?
4530
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531
 
  (exit $ac_status); }; }; then
4532
 
  ac_cv_c_bigendian=no
4533
 
else
4534
 
  echo "$as_me: program exited with status $ac_status" >&5
4535
 
echo "$as_me: failed program was:" >&5
4536
 
sed 's/^/| /' conftest.$ac_ext >&5
4537
 
 
4538
 
( exit $ac_status )
4539
 
ac_cv_c_bigendian=yes
4540
 
fi
4541
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4542
 
fi
4543
 
fi
4544
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4545
 
fi
4546
 
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4547
 
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4548
 
case $ac_cv_c_bigendian in
4549
 
  yes)
4550
 
 
4551
 
cat >>confdefs.h <<\_ACEOF
4552
 
#define WORDS_BIGENDIAN 1
4553
 
_ACEOF
4554
 
 ;;
4555
 
  no)
4556
 
     ;;
4557
 
  *)
4558
 
    { { echo "$as_me:$LINENO: error: unknown endianness
4559
 
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4560
 
echo "$as_me: error: unknown endianness
4561
 
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4562
 
   { (exit 1); exit 1; }; } ;;
4563
 
esac
4564
 
 
4565
 
 
4566
 
 
4567
 
 
4568
 
 
4569
 
 
4570
 
if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
 
5809
                 not big endian
 
5810
                #endif
 
5811
 
 
5812
  ;
 
5813
  return 0;
 
5814
}
 
5815
_ACEOF
 
5816
if ac_fn_c_try_compile "$LINENO"; then :
 
5817
  ac_cv_c_bigendian=yes
 
5818
else
 
5819
  ac_cv_c_bigendian=no
 
5820
fi
 
5821
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5822
fi
 
5823
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5824
    fi
 
5825
    if test $ac_cv_c_bigendian = unknown; then
 
5826
      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
 
5827
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5828
/* end confdefs.h.  */
 
5829
#include <limits.h>
 
5830
 
 
5831
int
 
5832
main ()
 
5833
{
 
5834
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
 
5835
              bogus endian macros
 
5836
             #endif
 
5837
 
 
5838
  ;
 
5839
  return 0;
 
5840
}
 
5841
_ACEOF
 
5842
if ac_fn_c_try_compile "$LINENO"; then :
 
5843
  # It does; now see whether it defined to _BIG_ENDIAN or not.
 
5844
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5845
/* end confdefs.h.  */
 
5846
#include <limits.h>
 
5847
 
 
5848
int
 
5849
main ()
 
5850
{
 
5851
#ifndef _BIG_ENDIAN
 
5852
                 not big endian
 
5853
                #endif
 
5854
 
 
5855
  ;
 
5856
  return 0;
 
5857
}
 
5858
_ACEOF
 
5859
if ac_fn_c_try_compile "$LINENO"; then :
 
5860
  ac_cv_c_bigendian=yes
 
5861
else
 
5862
  ac_cv_c_bigendian=no
 
5863
fi
 
5864
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5865
fi
 
5866
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5867
    fi
 
5868
    if test $ac_cv_c_bigendian = unknown; then
 
5869
      # Compile a test program.
 
5870
      if test "$cross_compiling" = yes; then :
 
5871
  # Try to guess by grepping values from an object file.
 
5872
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5873
/* end confdefs.h.  */
 
5874
short int ascii_mm[] =
 
5875
                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 
5876
                short int ascii_ii[] =
 
5877
                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 
5878
                int use_ascii (int i) {
 
5879
                  return ascii_mm[i] + ascii_ii[i];
 
5880
                }
 
5881
                short int ebcdic_ii[] =
 
5882
                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 
5883
                short int ebcdic_mm[] =
 
5884
                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 
5885
                int use_ebcdic (int i) {
 
5886
                  return ebcdic_mm[i] + ebcdic_ii[i];
 
5887
                }
 
5888
                extern int foo;
 
5889
 
 
5890
int
 
5891
main ()
 
5892
{
 
5893
return use_ascii (foo) == use_ebcdic (foo);
 
5894
  ;
 
5895
  return 0;
 
5896
}
 
5897
_ACEOF
 
5898
if ac_fn_c_try_compile "$LINENO"; then :
 
5899
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
 
5900
              ac_cv_c_bigendian=yes
 
5901
            fi
 
5902
            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
 
5903
              if test "$ac_cv_c_bigendian" = unknown; then
 
5904
                ac_cv_c_bigendian=no
 
5905
              else
 
5906
                # finding both strings is unlikely to happen, but who knows?
 
5907
                ac_cv_c_bigendian=unknown
 
5908
              fi
 
5909
            fi
 
5910
fi
 
5911
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5912
else
 
5913
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5914
/* end confdefs.h.  */
 
5915
$ac_includes_default
 
5916
int
 
5917
main ()
 
5918
{
 
5919
 
 
5920
             /* Are we little or big endian?  From Harbison&Steele.  */
 
5921
             union
 
5922
             {
 
5923
               long int l;
 
5924
               char c[sizeof (long int)];
 
5925
             } u;
 
5926
             u.l = 1;
 
5927
             return u.c[sizeof (long int) - 1] == 1;
 
5928
 
 
5929
  ;
 
5930
  return 0;
 
5931
}
 
5932
_ACEOF
 
5933
if ac_fn_c_try_run "$LINENO"; then :
 
5934
  ac_cv_c_bigendian=no
 
5935
else
 
5936
  ac_cv_c_bigendian=yes
 
5937
fi
 
5938
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
5939
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
5940
fi
 
5941
 
 
5942
    fi
 
5943
fi
 
5944
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
 
5945
$as_echo "$ac_cv_c_bigendian" >&6; }
 
5946
 case $ac_cv_c_bigendian in #(
 
5947
   yes)
 
5948
     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
 
5949
;; #(
 
5950
   no)
 
5951
      ;; #(
 
5952
   universal)
 
5953
 
 
5954
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
 
5955
 
 
5956
     ;; #(
 
5957
   *)
 
5958
     as_fn_error "unknown endianness
 
5959
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
 
5960
 esac
 
5961
 
 
5962
 
 
5963
 
 
5964
 
 
5965
 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
4571
5966
  NATIVE_LINKER_TRUE=
4572
5967
  NATIVE_LINKER_FALSE='#'
4573
5968
else
4575
5970
  NATIVE_LINKER_FALSE=
4576
5971
fi
4577
5972
 
4578
 
 
4579
 
 
4580
 
if test "$GCC" = yes; then
 
5973
 if test "$GCC" = yes; then
4581
5974
  GCC_TRUE=
4582
5975
  GCC_FALSE='#'
4583
5976
else
4586
5979
fi
4587
5980
 
4588
5981
 
4589
 
 
4590
 
 
4591
 
if
 
5982
 if
4592
5983
  case $target_cpu in
4593
5984
    i?86) true;;
4594
5985
    x86_64) false;;
4603
5994
fi
4604
5995
 
4605
5996
 
4606
 
 
4607
 
 
4608
 
if test "$target_cpu" = "x86_64"; then
 
5997
 if test "$target_cpu" = "x86_64"; then
4609
5998
  MCMODEL_MEDIUM_TRUE=
4610
5999
  MCMODEL_MEDIUM_FALSE='#'
4611
6000
else
4614
6003
fi
4615
6004
 
4616
6005
 
4617
 
echo "$as_me:$LINENO: checking for thread support" >&5
4618
 
echo $ECHO_N "checking for thread support... $ECHO_C" >&6
4619
 
if test "${gold_cv_c_thread+set}" = set; then
4620
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6006
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread support" >&5
 
6007
$as_echo_n "checking for thread support... " >&6; }
 
6008
if test "${gold_cv_c_thread+set}" = set; then :
 
6009
  $as_echo_n "(cached) " >&6
4621
6010
else
4622
 
  cat >conftest.$ac_ext <<_ACEOF
 
6011
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6012
/* end confdefs.h.  */
4623
6013
__thread int i = 1;
4624
6014
_ACEOF
4625
 
rm -f conftest.$ac_objext
4626
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4627
 
  (eval $ac_compile) 2>conftest.er1
4628
 
  ac_status=$?
4629
 
  grep -v '^ *+' conftest.er1 >conftest.err
4630
 
  rm -f conftest.er1
4631
 
  cat conftest.err >&5
4632
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633
 
  (exit $ac_status); } &&
4634
 
         { ac_try='test -z "$ac_c_werror_flag"
4635
 
                         || test ! -s conftest.err'
4636
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4637
 
  (eval $ac_try) 2>&5
4638
 
  ac_status=$?
4639
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4640
 
  (exit $ac_status); }; } &&
4641
 
         { ac_try='test -s conftest.$ac_objext'
4642
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4643
 
  (eval $ac_try) 2>&5
4644
 
  ac_status=$?
4645
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4646
 
  (exit $ac_status); }; }; then
 
6015
if ac_fn_c_try_compile "$LINENO"; then :
4647
6016
  gold_cv_c_thread=yes
4648
6017
else
4649
 
  echo "$as_me: failed program was:" >&5
4650
 
sed 's/^/| /' conftest.$ac_ext >&5
4651
 
 
4652
 
gold_cv_c_thread=no
4653
 
fi
4654
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4655
 
fi
4656
 
echo "$as_me:$LINENO: result: $gold_cv_c_thread" >&5
4657
 
echo "${ECHO_T}$gold_cv_c_thread" >&6
4658
 
 
4659
 
 
4660
 
 
4661
 
if test "$gold_cv_c_thread" = "yes"; then
 
6018
  gold_cv_c_thread=no
 
6019
fi
 
6020
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6021
fi
 
6022
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_thread" >&5
 
6023
$as_echo "$gold_cv_c_thread" >&6; }
 
6024
 
 
6025
 if test "$gold_cv_c_thread" = "yes"; then
4662
6026
  TLS_TRUE=
4663
6027
  TLS_FALSE='#'
4664
6028
else
4667
6031
fi
4668
6032
 
4669
6033
 
4670
 
echo "$as_me:$LINENO: checking for glibc >= 2.4" >&5
4671
 
echo $ECHO_N "checking for glibc >= 2.4... $ECHO_C" >&6
4672
 
if test "${gold_cv_lib_glibc24+set}" = set; then
4673
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6034
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.4" >&5
 
6035
$as_echo_n "checking for glibc >= 2.4... " >&6; }
 
6036
if test "${gold_cv_lib_glibc24+set}" = set; then :
 
6037
  $as_echo_n "(cached) " >&6
4674
6038
else
4675
 
  cat >conftest.$ac_ext <<_ACEOF
 
6039
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6040
/* end confdefs.h.  */
4676
6041
 
4677
6042
#include <features.h>
4678
6043
#if !defined __GLIBC__
4682
6047
#endif
4683
6048
 
4684
6049
_ACEOF
4685
 
rm -f conftest.$ac_objext
4686
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4687
 
  (eval $ac_compile) 2>conftest.er1
4688
 
  ac_status=$?
4689
 
  grep -v '^ *+' conftest.er1 >conftest.err
4690
 
  rm -f conftest.er1
4691
 
  cat conftest.err >&5
4692
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4693
 
  (exit $ac_status); } &&
4694
 
         { ac_try='test -z "$ac_c_werror_flag"
4695
 
                         || test ! -s conftest.err'
4696
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4697
 
  (eval $ac_try) 2>&5
4698
 
  ac_status=$?
4699
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4700
 
  (exit $ac_status); }; } &&
4701
 
         { ac_try='test -s conftest.$ac_objext'
4702
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4703
 
  (eval $ac_try) 2>&5
4704
 
  ac_status=$?
4705
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706
 
  (exit $ac_status); }; }; then
 
6050
if ac_fn_c_try_compile "$LINENO"; then :
4707
6051
  gold_cv_lib_glibc24=yes
4708
6052
else
4709
 
  echo "$as_me: failed program was:" >&5
4710
 
sed 's/^/| /' conftest.$ac_ext >&5
4711
 
 
4712
 
gold_cv_lib_glibc24=no
4713
 
fi
4714
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4715
 
fi
4716
 
echo "$as_me:$LINENO: result: $gold_cv_lib_glibc24" >&5
4717
 
echo "${ECHO_T}$gold_cv_lib_glibc24" >&6
4718
 
 
4719
 
 
4720
 
 
4721
 
if test "$gold_cv_lib_glibc24" = "yes"; then
 
6053
  gold_cv_lib_glibc24=no
 
6054
fi
 
6055
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6056
fi
 
6057
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc24" >&5
 
6058
$as_echo "$gold_cv_lib_glibc24" >&6; }
 
6059
 
 
6060
 if test "$gold_cv_lib_glibc24" = "yes"; then
4722
6061
  STATIC_TLS_TRUE=
4723
6062
  STATIC_TLS_FALSE='#'
4724
6063
else
4727
6066
fi
4728
6067
 
4729
6068
 
4730
 
echo "$as_me:$LINENO: checking for omp support" >&5
4731
 
echo $ECHO_N "checking for omp support... $ECHO_C" >&6
4732
 
if test "${gold_cv_c_threadprivate+set}" = set; then
4733
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6069
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for omp support" >&5
 
6070
$as_echo_n "checking for omp support... " >&6; }
 
6071
if test "${gold_cv_c_threadprivate+set}" = set; then :
 
6072
  $as_echo_n "(cached) " >&6
4734
6073
else
4735
6074
  save_CFLAGS="$CFLAGS"
4736
6075
CFLAGS="$CFLAGS -fopenmp"
4737
 
cat >conftest.$ac_ext <<_ACEOF
 
6076
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6077
/* end confdefs.h.  */
4738
6078
 
4739
6079
#include <omp.h>
4740
6080
int i;
4741
6081
#pragma omp threadprivate (i)
4742
6082
 
4743
6083
_ACEOF
4744
 
rm -f conftest.$ac_objext
4745
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4746
 
  (eval $ac_compile) 2>conftest.er1
4747
 
  ac_status=$?
4748
 
  grep -v '^ *+' conftest.er1 >conftest.err
4749
 
  rm -f conftest.er1
4750
 
  cat conftest.err >&5
4751
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752
 
  (exit $ac_status); } &&
4753
 
         { ac_try='test -z "$ac_c_werror_flag"
4754
 
                         || test ! -s conftest.err'
4755
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4756
 
  (eval $ac_try) 2>&5
4757
 
  ac_status=$?
4758
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759
 
  (exit $ac_status); }; } &&
4760
 
         { ac_try='test -s conftest.$ac_objext'
4761
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4762
 
  (eval $ac_try) 2>&5
4763
 
  ac_status=$?
4764
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765
 
  (exit $ac_status); }; }; then
 
6084
if ac_fn_c_try_compile "$LINENO"; then :
4766
6085
  gold_cv_c_threadprivate=yes
4767
6086
else
4768
 
  echo "$as_me: failed program was:" >&5
4769
 
sed 's/^/| /' conftest.$ac_ext >&5
4770
 
 
4771
 
gold_cv_c_threadprivate=no
 
6087
  gold_cv_c_threadprivate=no
4772
6088
fi
4773
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6089
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4774
6090
CFLAGS="$save_CFLAGS"
4775
6091
fi
4776
 
echo "$as_me:$LINENO: result: $gold_cv_c_threadprivate" >&5
4777
 
echo "${ECHO_T}$gold_cv_c_threadprivate" >&6
 
6092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_threadprivate" >&5
 
6093
$as_echo "$gold_cv_c_threadprivate" >&6; }
4778
6094
if test "$gold_cv_c_threadprivate" = "yes"; then
4779
6095
 
4780
 
cat >>confdefs.h <<\_ACEOF
4781
 
#define HAVE_OMP_SUPPORT 1
4782
 
_ACEOF
 
6096
$as_echo "#define HAVE_OMP_SUPPORT 1" >>confdefs.h
4783
6097
 
4784
6098
fi
4785
 
 
4786
 
 
4787
 
if test "$gold_cv_c_threadprivate" = "yes"; then
 
6099
 if test "$gold_cv_c_threadprivate" = "yes"; then
4788
6100
  OMP_SUPPORT_TRUE=
4789
6101
  OMP_SUPPORT_FALSE='#'
4790
6102
else
4795
6107
 
4796
6108
save_CFLAGS="$CFLAGS"
4797
6109
CFLAGS="$CFLAGS -mtls-dialect=gnu2"
4798
 
cat >conftest.$ac_ext <<_ACEOF
 
6110
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6111
/* end confdefs.h.  */
4799
6112
int i;
4800
6113
_ACEOF
4801
 
rm -f conftest.$ac_objext
4802
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4803
 
  (eval $ac_compile) 2>conftest.er1
4804
 
  ac_status=$?
4805
 
  grep -v '^ *+' conftest.er1 >conftest.err
4806
 
  rm -f conftest.er1
4807
 
  cat conftest.err >&5
4808
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809
 
  (exit $ac_status); } &&
4810
 
         { ac_try='test -z "$ac_c_werror_flag"
4811
 
                         || test ! -s conftest.err'
4812
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4813
 
  (eval $ac_try) 2>&5
4814
 
  ac_status=$?
4815
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816
 
  (exit $ac_status); }; } &&
4817
 
         { ac_try='test -s conftest.$ac_objext'
4818
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4819
 
  (eval $ac_try) 2>&5
4820
 
  ac_status=$?
4821
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822
 
  (exit $ac_status); }; }; then
 
6114
if ac_fn_c_try_compile "$LINENO"; then :
4823
6115
  have_tls_gnu2=yes
4824
6116
else
4825
 
  echo "$as_me: failed program was:" >&5
4826
 
sed 's/^/| /' conftest.$ac_ext >&5
4827
 
 
4828
 
have_tls_gnu2=no
 
6117
  have_tls_gnu2=no
4829
6118
fi
4830
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6119
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4831
6120
CFLAGS="$save_CFLAGS"
4832
 
 
4833
 
 
4834
 
if test "$have_tls_gnu2" = "yes"; then
 
6121
 if test "$have_tls_gnu2" = "yes"; then
4835
6122
  TLS_GNU2_DIALECT_TRUE=
4836
6123
  TLS_GNU2_DIALECT_FALSE='#'
4837
6124
else
4840
6127
fi
4841
6128
 
4842
6129
 
4843
 
echo "$as_me:$LINENO: checking for glibc >= 2.9" >&5
4844
 
echo $ECHO_N "checking for glibc >= 2.9... $ECHO_C" >&6
4845
 
if test "${gold_cv_lib_glibc29+set}" = set; then
4846
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6130
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.9" >&5
 
6131
$as_echo_n "checking for glibc >= 2.9... " >&6; }
 
6132
if test "${gold_cv_lib_glibc29+set}" = set; then :
 
6133
  $as_echo_n "(cached) " >&6
4847
6134
else
4848
 
  cat >conftest.$ac_ext <<_ACEOF
 
6135
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6136
/* end confdefs.h.  */
4849
6137
 
4850
6138
#include <features.h>
4851
6139
#if !defined __GLIBC__
4855
6143
#endif
4856
6144
 
4857
6145
_ACEOF
4858
 
rm -f conftest.$ac_objext
4859
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4860
 
  (eval $ac_compile) 2>conftest.er1
4861
 
  ac_status=$?
4862
 
  grep -v '^ *+' conftest.er1 >conftest.err
4863
 
  rm -f conftest.er1
4864
 
  cat conftest.err >&5
4865
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4866
 
  (exit $ac_status); } &&
4867
 
         { ac_try='test -z "$ac_c_werror_flag"
4868
 
                         || test ! -s conftest.err'
4869
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4870
 
  (eval $ac_try) 2>&5
4871
 
  ac_status=$?
4872
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873
 
  (exit $ac_status); }; } &&
4874
 
         { ac_try='test -s conftest.$ac_objext'
4875
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4876
 
  (eval $ac_try) 2>&5
4877
 
  ac_status=$?
4878
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4879
 
  (exit $ac_status); }; }; then
 
6146
if ac_fn_c_try_compile "$LINENO"; then :
4880
6147
  gold_cv_lib_glibc29=yes
4881
6148
else
4882
 
  echo "$as_me: failed program was:" >&5
4883
 
sed 's/^/| /' conftest.$ac_ext >&5
4884
 
 
4885
 
gold_cv_lib_glibc29=no
4886
 
fi
4887
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4888
 
fi
4889
 
echo "$as_me:$LINENO: result: $gold_cv_lib_glibc29" >&5
4890
 
echo "${ECHO_T}$gold_cv_lib_glibc29" >&6
4891
 
 
4892
 
 
4893
 
 
4894
 
if test "$gold_cv_lib_glibc29" = "yes"; then
 
6149
  gold_cv_lib_glibc29=no
 
6150
fi
 
6151
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6152
fi
 
6153
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc29" >&5
 
6154
$as_echo "$gold_cv_lib_glibc29" >&6; }
 
6155
 
 
6156
 if test "$gold_cv_lib_glibc29" = "yes"; then
4895
6157
  TLS_DESCRIPTORS_TRUE=
4896
6158
  TLS_DESCRIPTORS_FALSE='#'
4897
6159
else
4900
6162
fi
4901
6163
 
4902
6164
 
4903
 
echo "$as_me:$LINENO: checking for constructor priorities" >&5
4904
 
echo $ECHO_N "checking for constructor priorities... $ECHO_C" >&6
4905
 
if test "${gold_cv_c_conprio+set}" = set; then
4906
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6165
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for constructor priorities" >&5
 
6166
$as_echo_n "checking for constructor priorities... " >&6; }
 
6167
if test "${gold_cv_c_conprio+set}" = set; then :
 
6168
  $as_echo_n "(cached) " >&6
4907
6169
else
4908
 
  cat >conftest.$ac_ext <<_ACEOF
 
6170
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6171
/* end confdefs.h.  */
4909
6172
void f() __attribute__ ((constructor (1)));
4910
6173
_ACEOF
4911
 
rm -f conftest.$ac_objext
4912
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4913
 
  (eval $ac_compile) 2>conftest.er1
4914
 
  ac_status=$?
4915
 
  grep -v '^ *+' conftest.er1 >conftest.err
4916
 
  rm -f conftest.er1
4917
 
  cat conftest.err >&5
4918
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919
 
  (exit $ac_status); } &&
4920
 
         { ac_try='test -z "$ac_c_werror_flag"
4921
 
                         || test ! -s conftest.err'
4922
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4923
 
  (eval $ac_try) 2>&5
4924
 
  ac_status=$?
4925
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926
 
  (exit $ac_status); }; } &&
4927
 
         { ac_try='test -s conftest.$ac_objext'
4928
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4929
 
  (eval $ac_try) 2>&5
4930
 
  ac_status=$?
4931
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932
 
  (exit $ac_status); }; }; then
 
6174
if ac_fn_c_try_compile "$LINENO"; then :
4933
6175
  gold_cv_c_conprio=yes
4934
6176
else
4935
 
  echo "$as_me: failed program was:" >&5
4936
 
sed 's/^/| /' conftest.$ac_ext >&5
4937
 
 
4938
 
gold_cv_c_conprio=no
4939
 
fi
4940
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4941
 
fi
4942
 
echo "$as_me:$LINENO: result: $gold_cv_c_conprio" >&5
4943
 
echo "${ECHO_T}$gold_cv_c_conprio" >&6
4944
 
 
4945
 
 
4946
 
 
4947
 
if test "$gold_cv_c_conprio" = "yes"; then
 
6177
  gold_cv_c_conprio=no
 
6178
fi
 
6179
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6180
fi
 
6181
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_conprio" >&5
 
6182
$as_echo "$gold_cv_c_conprio" >&6; }
 
6183
 
 
6184
 if test "$gold_cv_c_conprio" = "yes"; then
4948
6185
  CONSTRUCTOR_PRIORITY_TRUE=
4949
6186
  CONSTRUCTOR_PRIORITY_FALSE='#'
4950
6187
else
4953
6190
fi
4954
6191
 
4955
6192
 
4956
 
echo "$as_me:$LINENO: checking for -frandom-seed support" >&5
4957
 
echo $ECHO_N "checking for -frandom-seed support... $ECHO_C" >&6
4958
 
if test "${gold_cv_c_random_seed+set}" = set; then
4959
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6193
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed support" >&5
 
6194
$as_echo_n "checking for -frandom-seed support... " >&6; }
 
6195
if test "${gold_cv_c_random_seed+set}" = set; then :
 
6196
  $as_echo_n "(cached) " >&6
4960
6197
else
4961
6198
  save_CFLAGS="$CFLAGS"
4962
6199
CFLAGS="$CFLAGS -frandom-seed=foo"
4963
 
cat >conftest.$ac_ext <<_ACEOF
 
6200
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6201
/* end confdefs.h.  */
4964
6202
int i;
4965
6203
_ACEOF
4966
 
rm -f conftest.$ac_objext
4967
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4968
 
  (eval $ac_compile) 2>conftest.er1
4969
 
  ac_status=$?
4970
 
  grep -v '^ *+' conftest.er1 >conftest.err
4971
 
  rm -f conftest.er1
4972
 
  cat conftest.err >&5
4973
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4974
 
  (exit $ac_status); } &&
4975
 
         { ac_try='test -z "$ac_c_werror_flag"
4976
 
                         || test ! -s conftest.err'
4977
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4978
 
  (eval $ac_try) 2>&5
4979
 
  ac_status=$?
4980
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4981
 
  (exit $ac_status); }; } &&
4982
 
         { ac_try='test -s conftest.$ac_objext'
4983
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4984
 
  (eval $ac_try) 2>&5
4985
 
  ac_status=$?
4986
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987
 
  (exit $ac_status); }; }; then
 
6204
if ac_fn_c_try_compile "$LINENO"; then :
4988
6205
  gold_cv_c_random_seed=yes
4989
6206
else
4990
 
  echo "$as_me: failed program was:" >&5
4991
 
sed 's/^/| /' conftest.$ac_ext >&5
4992
 
 
4993
 
gold_cv_c_random_seed=no
 
6207
  gold_cv_c_random_seed=no
4994
6208
fi
4995
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6209
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4996
6210
CFLAGS="$save_CFLAGS"
4997
6211
fi
4998
 
echo "$as_me:$LINENO: result: $gold_cv_c_random_seed" >&5
4999
 
echo "${ECHO_T}$gold_cv_c_random_seed" >&6
 
6212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_random_seed" >&5
 
6213
$as_echo "$gold_cv_c_random_seed" >&6; }
5000
6214
if test "$gold_cv_c_random_seed" = "yes"; then
5001
6215
  # In Makefile, '$@' will be expanded to be the name of the file
5002
6216
  # being built, providing a unique seed for each file.
5007
6221
 
5008
6222
GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
5009
6223
 
5010
 
# Check whether --enable-werror or --disable-werror was given.
5011
 
if test "${enable_werror+set}" = set; then
5012
 
  enableval="$enable_werror"
5013
 
  case "${enableval}" in
 
6224
# Check whether --enable-werror was given.
 
6225
if test "${enable_werror+set}" = set; then :
 
6226
  enableval=$enable_werror; case "${enableval}" in
5014
6227
     yes | y) ERROR_ON_WARNING="yes" ;;
5015
6228
     no | n)  ERROR_ON_WARNING="no" ;;
5016
 
     *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
5017
 
echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
5018
 
   { (exit 1); exit 1; }; } ;;
 
6229
     *) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
5019
6230
   esac
5020
 
fi;
 
6231
fi
 
6232
 
5021
6233
 
5022
6234
# Enable -Wno-format by default when using gcc on mingw
5023
6235
case "${host}" in
5044
6256
  WARN_CFLAGS="${GCC_WARN_CFLAGS}"
5045
6257
fi
5046
6258
 
5047
 
# Check whether --enable-build-warnings or --disable-build-warnings was given.
5048
 
if test "${enable_build_warnings+set}" = set; then
5049
 
  enableval="$enable_build_warnings"
5050
 
  case "${enableval}" in
 
6259
# Check whether --enable-build-warnings was given.
 
6260
if test "${enable_build_warnings+set}" = set; then :
 
6261
  enableval=$enable_build_warnings; case "${enableval}" in
5051
6262
  yes)  WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
5052
6263
  no)   if test "${GCC}" = yes ; then
5053
6264
          WARN_CFLAGS="-w"
5058
6269
        WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
5059
6270
  *)    WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
5060
6271
esac
5061
 
fi;
 
6272
fi
 
6273
 
5062
6274
 
5063
6275
if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
5064
6276
  echo "Setting warning flags = $WARN_CFLAGS" 6>&1
5074
6286
LFS_CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
5075
6287
 
5076
6288
 
5077
 
 
5078
6289
for ac_func in chsize
5079
 
do
5080
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5081
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
5082
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5083
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
5084
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5085
 
else
5086
 
  cat >conftest.$ac_ext <<_ACEOF
5087
 
/* confdefs.h.  */
5088
 
_ACEOF
5089
 
cat confdefs.h >>conftest.$ac_ext
5090
 
cat >>conftest.$ac_ext <<_ACEOF
5091
 
/* end confdefs.h.  */
5092
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5093
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5094
 
#define $ac_func innocuous_$ac_func
5095
 
 
5096
 
/* System header to define __stub macros and hopefully few prototypes,
5097
 
    which can conflict with char $ac_func (); below.
5098
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5099
 
    <limits.h> exists even on freestanding compilers.  */
5100
 
 
5101
 
#ifdef __STDC__
5102
 
# include <limits.h>
5103
 
#else
5104
 
# include <assert.h>
5105
 
#endif
5106
 
 
5107
 
#undef $ac_func
5108
 
 
5109
 
/* Override any gcc2 internal prototype to avoid an error.  */
5110
 
#ifdef __cplusplus
5111
 
extern "C"
5112
 
{
5113
 
#endif
5114
 
/* We use char because int might match the return type of a gcc2
5115
 
   builtin and then its argument prototype would still apply.  */
5116
 
char $ac_func ();
5117
 
/* The GNU C library defines this for functions which it implements
5118
 
    to always fail with ENOSYS.  Some functions are actually named
5119
 
    something starting with __ and the normal name is an alias.  */
5120
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5121
 
choke me
5122
 
#else
5123
 
char (*f) () = $ac_func;
5124
 
#endif
5125
 
#ifdef __cplusplus
5126
 
}
5127
 
#endif
5128
 
 
5129
 
int
5130
 
main ()
5131
 
{
5132
 
return f != $ac_func;
5133
 
  ;
5134
 
  return 0;
5135
 
}
5136
 
_ACEOF
5137
 
rm -f conftest.$ac_objext conftest$ac_exeext
5138
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5139
 
  (eval $ac_link) 2>conftest.er1
5140
 
  ac_status=$?
5141
 
  grep -v '^ *+' conftest.er1 >conftest.err
5142
 
  rm -f conftest.er1
5143
 
  cat conftest.err >&5
5144
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5145
 
  (exit $ac_status); } &&
5146
 
         { ac_try='test -z "$ac_c_werror_flag"
5147
 
                         || test ! -s conftest.err'
5148
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5149
 
  (eval $ac_try) 2>&5
5150
 
  ac_status=$?
5151
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5152
 
  (exit $ac_status); }; } &&
5153
 
         { ac_try='test -s conftest$ac_exeext'
5154
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5155
 
  (eval $ac_try) 2>&5
5156
 
  ac_status=$?
5157
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5158
 
  (exit $ac_status); }; }; then
5159
 
  eval "$as_ac_var=yes"
5160
 
else
5161
 
  echo "$as_me: failed program was:" >&5
5162
 
sed 's/^/| /' conftest.$ac_ext >&5
5163
 
 
5164
 
eval "$as_ac_var=no"
5165
 
fi
5166
 
rm -f conftest.err conftest.$ac_objext \
5167
 
      conftest$ac_exeext conftest.$ac_ext
5168
 
fi
5169
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5170
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5171
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
6290
do :
 
6291
  ac_fn_c_check_func "$LINENO" "chsize" "ac_cv_func_chsize"
 
6292
if test "x$ac_cv_func_chsize" = x""yes; then :
5172
6293
  cat >>confdefs.h <<_ACEOF
5173
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
6294
#define HAVE_CHSIZE 1
5174
6295
_ACEOF
5175
6296
 
5176
6297
fi
5177
6298
done
5178
6299
 
5179
 
 
5180
 
 
5181
 
 
5182
 
 
5183
6300
for ac_func in pread ftruncate mremap ffsll
5184
 
do
5185
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5186
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
5187
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5188
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
5189
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5190
 
else
5191
 
  cat >conftest.$ac_ext <<_ACEOF
5192
 
/* confdefs.h.  */
5193
 
_ACEOF
5194
 
cat confdefs.h >>conftest.$ac_ext
5195
 
cat >>conftest.$ac_ext <<_ACEOF
5196
 
/* end confdefs.h.  */
5197
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5198
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5199
 
#define $ac_func innocuous_$ac_func
5200
 
 
5201
 
/* System header to define __stub macros and hopefully few prototypes,
5202
 
    which can conflict with char $ac_func (); below.
5203
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5204
 
    <limits.h> exists even on freestanding compilers.  */
5205
 
 
5206
 
#ifdef __STDC__
5207
 
# include <limits.h>
5208
 
#else
5209
 
# include <assert.h>
5210
 
#endif
5211
 
 
5212
 
#undef $ac_func
5213
 
 
5214
 
/* Override any gcc2 internal prototype to avoid an error.  */
5215
 
#ifdef __cplusplus
5216
 
extern "C"
5217
 
{
5218
 
#endif
5219
 
/* We use char because int might match the return type of a gcc2
5220
 
   builtin and then its argument prototype would still apply.  */
5221
 
char $ac_func ();
5222
 
/* The GNU C library defines this for functions which it implements
5223
 
    to always fail with ENOSYS.  Some functions are actually named
5224
 
    something starting with __ and the normal name is an alias.  */
5225
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5226
 
choke me
5227
 
#else
5228
 
char (*f) () = $ac_func;
5229
 
#endif
5230
 
#ifdef __cplusplus
5231
 
}
5232
 
#endif
5233
 
 
5234
 
int
5235
 
main ()
5236
 
{
5237
 
return f != $ac_func;
5238
 
  ;
5239
 
  return 0;
5240
 
}
5241
 
_ACEOF
5242
 
rm -f conftest.$ac_objext conftest$ac_exeext
5243
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5244
 
  (eval $ac_link) 2>conftest.er1
5245
 
  ac_status=$?
5246
 
  grep -v '^ *+' conftest.er1 >conftest.err
5247
 
  rm -f conftest.er1
5248
 
  cat conftest.err >&5
5249
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5250
 
  (exit $ac_status); } &&
5251
 
         { ac_try='test -z "$ac_c_werror_flag"
5252
 
                         || test ! -s conftest.err'
5253
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5254
 
  (eval $ac_try) 2>&5
5255
 
  ac_status=$?
5256
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5257
 
  (exit $ac_status); }; } &&
5258
 
         { ac_try='test -s conftest$ac_exeext'
5259
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5260
 
  (eval $ac_try) 2>&5
5261
 
  ac_status=$?
5262
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263
 
  (exit $ac_status); }; }; then
5264
 
  eval "$as_ac_var=yes"
5265
 
else
5266
 
  echo "$as_me: failed program was:" >&5
5267
 
sed 's/^/| /' conftest.$ac_ext >&5
5268
 
 
5269
 
eval "$as_ac_var=no"
5270
 
fi
5271
 
rm -f conftest.err conftest.$ac_objext \
5272
 
      conftest$ac_exeext conftest.$ac_ext
5273
 
fi
5274
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5275
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5276
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
6301
do :
 
6302
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
6303
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
6304
eval as_val=\$$as_ac_var
 
6305
   if test "x$as_val" = x""yes; then :
5277
6306
  cat >>confdefs.h <<_ACEOF
5278
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
6307
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5279
6308
_ACEOF
5280
6309
 
5281
6310
else
5282
 
  case $LIBOBJS in
5283
 
    "$ac_func.$ac_objext"   | \
5284
 
  *" $ac_func.$ac_objext"   | \
5285
 
    "$ac_func.$ac_objext "* | \
 
6311
  case " $LIBOBJS " in
5286
6312
  *" $ac_func.$ac_objext "* ) ;;
5287
 
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
 
6313
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
 
6314
 ;;
5288
6315
esac
5289
6316
 
5290
6317
fi
5293
6320
 
5294
6321
 
5295
6322
# Link in zlib if we can.  This allows us to write compressed sections.
5296
 
ac_ext=c
5297
 
ac_cpp='$CPP $CPPFLAGS'
5298
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5299
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5300
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5301
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5302
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5303
 
# On Suns, sometimes $CPP names a directory.
5304
 
if test -n "$CPP" && test -d "$CPP"; then
5305
 
  CPP=
5306
 
fi
5307
 
if test -z "$CPP"; then
5308
 
  if test "${ac_cv_prog_CPP+set}" = set; then
5309
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5310
 
else
5311
 
      # Double quotes because CPP needs to be expanded
5312
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5313
 
    do
5314
 
      ac_preproc_ok=false
5315
 
for ac_c_preproc_warn_flag in '' yes
5316
 
do
5317
 
  # Use a header file that comes with gcc, so configuring glibc
5318
 
  # with a fresh cross-compiler works.
5319
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5320
 
  # <limits.h> exists even on freestanding compilers.
5321
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5322
 
  # not just through cpp. "Syntax error" is here to catch this case.
5323
 
  cat >conftest.$ac_ext <<_ACEOF
5324
 
/* confdefs.h.  */
5325
 
_ACEOF
5326
 
cat confdefs.h >>conftest.$ac_ext
5327
 
cat >>conftest.$ac_ext <<_ACEOF
5328
 
/* end confdefs.h.  */
5329
 
#ifdef __STDC__
5330
 
# include <limits.h>
5331
 
#else
5332
 
# include <assert.h>
5333
 
#endif
5334
 
                     Syntax error
5335
 
_ACEOF
5336
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5337
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5338
 
  ac_status=$?
5339
 
  grep -v '^ *+' conftest.er1 >conftest.err
5340
 
  rm -f conftest.er1
5341
 
  cat conftest.err >&5
5342
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343
 
  (exit $ac_status); } >/dev/null; then
5344
 
  if test -s conftest.err; then
5345
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5346
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5347
 
  else
5348
 
    ac_cpp_err=
5349
 
  fi
5350
 
else
5351
 
  ac_cpp_err=yes
5352
 
fi
5353
 
if test -z "$ac_cpp_err"; then
5354
 
  :
5355
 
else
5356
 
  echo "$as_me: failed program was:" >&5
5357
 
sed 's/^/| /' conftest.$ac_ext >&5
5358
 
 
5359
 
  # Broken: fails on valid input.
5360
 
continue
5361
 
fi
5362
 
rm -f conftest.err conftest.$ac_ext
5363
 
 
5364
 
  # OK, works on sane cases.  Now check whether non-existent headers
5365
 
  # can be detected and how.
5366
 
  cat >conftest.$ac_ext <<_ACEOF
5367
 
/* confdefs.h.  */
5368
 
_ACEOF
5369
 
cat confdefs.h >>conftest.$ac_ext
5370
 
cat >>conftest.$ac_ext <<_ACEOF
5371
 
/* end confdefs.h.  */
5372
 
#include <ac_nonexistent.h>
5373
 
_ACEOF
5374
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5375
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5376
 
  ac_status=$?
5377
 
  grep -v '^ *+' conftest.er1 >conftest.err
5378
 
  rm -f conftest.er1
5379
 
  cat conftest.err >&5
5380
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381
 
  (exit $ac_status); } >/dev/null; then
5382
 
  if test -s conftest.err; then
5383
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5384
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5385
 
  else
5386
 
    ac_cpp_err=
5387
 
  fi
5388
 
else
5389
 
  ac_cpp_err=yes
5390
 
fi
5391
 
if test -z "$ac_cpp_err"; then
5392
 
  # Broken: success on invalid input.
5393
 
continue
5394
 
else
5395
 
  echo "$as_me: failed program was:" >&5
5396
 
sed 's/^/| /' conftest.$ac_ext >&5
5397
 
 
5398
 
  # Passes both tests.
5399
 
ac_preproc_ok=:
5400
 
break
5401
 
fi
5402
 
rm -f conftest.err conftest.$ac_ext
5403
 
 
5404
 
done
5405
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5406
 
rm -f conftest.err conftest.$ac_ext
5407
 
if $ac_preproc_ok; then
5408
 
  break
5409
 
fi
5410
 
 
5411
 
    done
5412
 
    ac_cv_prog_CPP=$CPP
5413
 
 
5414
 
fi
5415
 
  CPP=$ac_cv_prog_CPP
5416
 
else
5417
 
  ac_cv_prog_CPP=$CPP
5418
 
fi
5419
 
echo "$as_me:$LINENO: result: $CPP" >&5
5420
 
echo "${ECHO_T}$CPP" >&6
5421
 
ac_preproc_ok=false
5422
 
for ac_c_preproc_warn_flag in '' yes
5423
 
do
5424
 
  # Use a header file that comes with gcc, so configuring glibc
5425
 
  # with a fresh cross-compiler works.
5426
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5427
 
  # <limits.h> exists even on freestanding compilers.
5428
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5429
 
  # not just through cpp. "Syntax error" is here to catch this case.
5430
 
  cat >conftest.$ac_ext <<_ACEOF
5431
 
/* confdefs.h.  */
5432
 
_ACEOF
5433
 
cat confdefs.h >>conftest.$ac_ext
5434
 
cat >>conftest.$ac_ext <<_ACEOF
5435
 
/* end confdefs.h.  */
5436
 
#ifdef __STDC__
5437
 
# include <limits.h>
5438
 
#else
5439
 
# include <assert.h>
5440
 
#endif
5441
 
                     Syntax error
5442
 
_ACEOF
5443
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5444
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5445
 
  ac_status=$?
5446
 
  grep -v '^ *+' conftest.er1 >conftest.err
5447
 
  rm -f conftest.er1
5448
 
  cat conftest.err >&5
5449
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450
 
  (exit $ac_status); } >/dev/null; then
5451
 
  if test -s conftest.err; then
5452
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5453
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5454
 
  else
5455
 
    ac_cpp_err=
5456
 
  fi
5457
 
else
5458
 
  ac_cpp_err=yes
5459
 
fi
5460
 
if test -z "$ac_cpp_err"; then
5461
 
  :
5462
 
else
5463
 
  echo "$as_me: failed program was:" >&5
5464
 
sed 's/^/| /' conftest.$ac_ext >&5
5465
 
 
5466
 
  # Broken: fails on valid input.
5467
 
continue
5468
 
fi
5469
 
rm -f conftest.err conftest.$ac_ext
5470
 
 
5471
 
  # OK, works on sane cases.  Now check whether non-existent headers
5472
 
  # can be detected and how.
5473
 
  cat >conftest.$ac_ext <<_ACEOF
5474
 
/* confdefs.h.  */
5475
 
_ACEOF
5476
 
cat confdefs.h >>conftest.$ac_ext
5477
 
cat >>conftest.$ac_ext <<_ACEOF
5478
 
/* end confdefs.h.  */
5479
 
#include <ac_nonexistent.h>
5480
 
_ACEOF
5481
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5482
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5483
 
  ac_status=$?
5484
 
  grep -v '^ *+' conftest.er1 >conftest.err
5485
 
  rm -f conftest.er1
5486
 
  cat conftest.err >&5
5487
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5488
 
  (exit $ac_status); } >/dev/null; then
5489
 
  if test -s conftest.err; then
5490
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5491
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5492
 
  else
5493
 
    ac_cpp_err=
5494
 
  fi
5495
 
else
5496
 
  ac_cpp_err=yes
5497
 
fi
5498
 
if test -z "$ac_cpp_err"; then
5499
 
  # Broken: success on invalid input.
5500
 
continue
5501
 
else
5502
 
  echo "$as_me: failed program was:" >&5
5503
 
sed 's/^/| /' conftest.$ac_ext >&5
5504
 
 
5505
 
  # Passes both tests.
5506
 
ac_preproc_ok=:
5507
 
break
5508
 
fi
5509
 
rm -f conftest.err conftest.$ac_ext
5510
 
 
5511
 
done
5512
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5513
 
rm -f conftest.err conftest.$ac_ext
5514
 
if $ac_preproc_ok; then
5515
 
  :
5516
 
else
5517
 
  { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5518
 
echo "$as_me: error: in \`$ac_pwd':" >&2;}
5519
 
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5520
 
See \`config.log' for more details." >&5
5521
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5522
 
See \`config.log' for more details." >&2;}
5523
 
   { (exit 1); exit 1; }; }; }
5524
 
fi
5525
 
 
5526
 
ac_ext=c
5527
 
ac_cpp='$CPP $CPPFLAGS'
5528
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5529
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5530
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5531
 
 
5532
 
 
5533
 
echo "$as_me:$LINENO: checking for egrep" >&5
5534
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5535
 
if test "${ac_cv_prog_egrep+set}" = set; then
5536
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5537
 
else
5538
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5539
 
    then ac_cv_prog_egrep='grep -E'
5540
 
    else ac_cv_prog_egrep='egrep'
5541
 
    fi
5542
 
fi
5543
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5544
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5545
 
 EGREP=$ac_cv_prog_egrep
5546
 
 
5547
 
 
5548
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5549
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5550
 
if test "${ac_cv_header_stdc+set}" = set; then
5551
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5552
 
else
5553
 
  cat >conftest.$ac_ext <<_ACEOF
5554
 
/* confdefs.h.  */
5555
 
_ACEOF
5556
 
cat confdefs.h >>conftest.$ac_ext
5557
 
cat >>conftest.$ac_ext <<_ACEOF
5558
 
/* end confdefs.h.  */
5559
 
#include <stdlib.h>
5560
 
#include <stdarg.h>
5561
 
#include <string.h>
5562
 
#include <float.h>
5563
 
 
5564
 
int
5565
 
main ()
5566
 
{
5567
 
 
5568
 
  ;
5569
 
  return 0;
5570
 
}
5571
 
_ACEOF
5572
 
rm -f conftest.$ac_objext
5573
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5574
 
  (eval $ac_compile) 2>conftest.er1
5575
 
  ac_status=$?
5576
 
  grep -v '^ *+' conftest.er1 >conftest.err
5577
 
  rm -f conftest.er1
5578
 
  cat conftest.err >&5
5579
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580
 
  (exit $ac_status); } &&
5581
 
         { ac_try='test -z "$ac_c_werror_flag"
5582
 
                         || test ! -s conftest.err'
5583
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5584
 
  (eval $ac_try) 2>&5
5585
 
  ac_status=$?
5586
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587
 
  (exit $ac_status); }; } &&
5588
 
         { ac_try='test -s conftest.$ac_objext'
5589
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5590
 
  (eval $ac_try) 2>&5
5591
 
  ac_status=$?
5592
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5593
 
  (exit $ac_status); }; }; then
5594
 
  ac_cv_header_stdc=yes
5595
 
else
5596
 
  echo "$as_me: failed program was:" >&5
5597
 
sed 's/^/| /' conftest.$ac_ext >&5
5598
 
 
5599
 
ac_cv_header_stdc=no
5600
 
fi
5601
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5602
 
 
5603
 
if test $ac_cv_header_stdc = yes; then
5604
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5605
 
  cat >conftest.$ac_ext <<_ACEOF
5606
 
/* confdefs.h.  */
5607
 
_ACEOF
5608
 
cat confdefs.h >>conftest.$ac_ext
5609
 
cat >>conftest.$ac_ext <<_ACEOF
5610
 
/* end confdefs.h.  */
5611
 
#include <string.h>
5612
 
 
5613
 
_ACEOF
5614
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5615
 
  $EGREP "memchr" >/dev/null 2>&1; then
5616
 
  :
5617
 
else
5618
 
  ac_cv_header_stdc=no
5619
 
fi
5620
 
rm -f conftest*
5621
 
 
5622
 
fi
5623
 
 
5624
 
if test $ac_cv_header_stdc = yes; then
5625
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5626
 
  cat >conftest.$ac_ext <<_ACEOF
5627
 
/* confdefs.h.  */
5628
 
_ACEOF
5629
 
cat confdefs.h >>conftest.$ac_ext
5630
 
cat >>conftest.$ac_ext <<_ACEOF
5631
 
/* end confdefs.h.  */
5632
 
#include <stdlib.h>
5633
 
 
5634
 
_ACEOF
5635
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5636
 
  $EGREP "free" >/dev/null 2>&1; then
5637
 
  :
5638
 
else
5639
 
  ac_cv_header_stdc=no
5640
 
fi
5641
 
rm -f conftest*
5642
 
 
5643
 
fi
5644
 
 
5645
 
if test $ac_cv_header_stdc = yes; then
5646
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5647
 
  if test "$cross_compiling" = yes; then
5648
 
  :
5649
 
else
5650
 
  cat >conftest.$ac_ext <<_ACEOF
5651
 
/* confdefs.h.  */
5652
 
_ACEOF
5653
 
cat confdefs.h >>conftest.$ac_ext
5654
 
cat >>conftest.$ac_ext <<_ACEOF
5655
 
/* end confdefs.h.  */
5656
 
#include <ctype.h>
5657
 
#if ((' ' & 0x0FF) == 0x020)
5658
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5659
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5660
 
#else
5661
 
# define ISLOWER(c) \
5662
 
                   (('a' <= (c) && (c) <= 'i') \
5663
 
                     || ('j' <= (c) && (c) <= 'r') \
5664
 
                     || ('s' <= (c) && (c) <= 'z'))
5665
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5666
 
#endif
5667
 
 
5668
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5669
 
int
5670
 
main ()
5671
 
{
5672
 
  int i;
5673
 
  for (i = 0; i < 256; i++)
5674
 
    if (XOR (islower (i), ISLOWER (i))
5675
 
        || toupper (i) != TOUPPER (i))
5676
 
      exit(2);
5677
 
  exit (0);
5678
 
}
5679
 
_ACEOF
5680
 
rm -f conftest$ac_exeext
5681
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5682
 
  (eval $ac_link) 2>&5
5683
 
  ac_status=$?
5684
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5685
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5686
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5687
 
  (eval $ac_try) 2>&5
5688
 
  ac_status=$?
5689
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5690
 
  (exit $ac_status); }; }; then
5691
 
  :
5692
 
else
5693
 
  echo "$as_me: program exited with status $ac_status" >&5
5694
 
echo "$as_me: failed program was:" >&5
5695
 
sed 's/^/| /' conftest.$ac_ext >&5
5696
 
 
5697
 
( exit $ac_status )
5698
 
ac_cv_header_stdc=no
5699
 
fi
5700
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5701
 
fi
5702
 
fi
5703
 
fi
5704
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5705
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
5706
 
if test $ac_cv_header_stdc = yes; then
5707
 
 
5708
 
cat >>confdefs.h <<\_ACEOF
5709
 
#define STDC_HEADERS 1
5710
 
_ACEOF
5711
 
 
5712
 
fi
5713
 
 
5714
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5715
 
 
5716
 
 
5717
 
 
5718
 
 
5719
 
 
5720
 
 
5721
 
 
5722
 
 
5723
 
 
5724
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5725
 
                  inttypes.h stdint.h unistd.h
5726
 
do
5727
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5728
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5729
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5730
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5731
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5732
 
else
5733
 
  cat >conftest.$ac_ext <<_ACEOF
5734
 
/* confdefs.h.  */
5735
 
_ACEOF
5736
 
cat confdefs.h >>conftest.$ac_ext
5737
 
cat >>conftest.$ac_ext <<_ACEOF
5738
 
/* end confdefs.h.  */
5739
 
$ac_includes_default
5740
 
 
5741
 
#include <$ac_header>
5742
 
_ACEOF
5743
 
rm -f conftest.$ac_objext
5744
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5745
 
  (eval $ac_compile) 2>conftest.er1
5746
 
  ac_status=$?
5747
 
  grep -v '^ *+' conftest.er1 >conftest.err
5748
 
  rm -f conftest.er1
5749
 
  cat conftest.err >&5
5750
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751
 
  (exit $ac_status); } &&
5752
 
         { ac_try='test -z "$ac_c_werror_flag"
5753
 
                         || test ! -s conftest.err'
5754
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5755
 
  (eval $ac_try) 2>&5
5756
 
  ac_status=$?
5757
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5758
 
  (exit $ac_status); }; } &&
5759
 
         { ac_try='test -s conftest.$ac_objext'
5760
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5761
 
  (eval $ac_try) 2>&5
5762
 
  ac_status=$?
5763
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764
 
  (exit $ac_status); }; }; then
5765
 
  eval "$as_ac_Header=yes"
5766
 
else
5767
 
  echo "$as_me: failed program was:" >&5
5768
 
sed 's/^/| /' conftest.$ac_ext >&5
5769
 
 
5770
 
eval "$as_ac_Header=no"
5771
 
fi
5772
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5773
 
fi
5774
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5775
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5776
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5777
 
  cat >>confdefs.h <<_ACEOF
5778
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5779
 
_ACEOF
5780
 
 
5781
 
fi
5782
 
 
5783
 
done
5784
 
 
5785
 
 
5786
 
echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
5787
 
echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
5788
 
if test "${ac_cv_search_zlibVersion+set}" = set; then
5789
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
 
6324
$as_echo_n "checking for library containing zlibVersion... " >&6; }
 
6325
if test "${ac_cv_search_zlibVersion+set}" = set; then :
 
6326
  $as_echo_n "(cached) " >&6
5790
6327
else
5791
6328
  ac_func_search_save_LIBS=$LIBS
5792
 
ac_cv_search_zlibVersion=no
5793
 
cat >conftest.$ac_ext <<_ACEOF
5794
 
/* confdefs.h.  */
5795
 
_ACEOF
5796
 
cat confdefs.h >>conftest.$ac_ext
5797
 
cat >>conftest.$ac_ext <<_ACEOF
 
6329
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5798
6330
/* end confdefs.h.  */
5799
6331
 
5800
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
6332
/* Override any GCC internal prototype to avoid an error.
 
6333
   Use char because int might match the return type of a GCC
 
6334
   builtin and then its argument prototype would still apply.  */
5801
6335
#ifdef __cplusplus
5802
6336
extern "C"
5803
6337
#endif
5804
 
/* We use char because int might match the return type of a gcc2
5805
 
   builtin and then its argument prototype would still apply.  */
5806
6338
char zlibVersion ();
5807
6339
int
5808
6340
main ()
5809
6341
{
5810
 
zlibVersion ();
 
6342
return zlibVersion ();
5811
6343
  ;
5812
6344
  return 0;
5813
6345
}
5814
6346
_ACEOF
5815
 
rm -f conftest.$ac_objext conftest$ac_exeext
5816
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5817
 
  (eval $ac_link) 2>conftest.er1
5818
 
  ac_status=$?
5819
 
  grep -v '^ *+' conftest.er1 >conftest.err
5820
 
  rm -f conftest.er1
5821
 
  cat conftest.err >&5
5822
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5823
 
  (exit $ac_status); } &&
5824
 
         { ac_try='test -z "$ac_c_werror_flag"
5825
 
                         || test ! -s conftest.err'
5826
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5827
 
  (eval $ac_try) 2>&5
5828
 
  ac_status=$?
5829
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5830
 
  (exit $ac_status); }; } &&
5831
 
         { ac_try='test -s conftest$ac_exeext'
5832
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5833
 
  (eval $ac_try) 2>&5
5834
 
  ac_status=$?
5835
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836
 
  (exit $ac_status); }; }; then
5837
 
  ac_cv_search_zlibVersion="none required"
5838
 
else
5839
 
  echo "$as_me: failed program was:" >&5
5840
 
sed 's/^/| /' conftest.$ac_ext >&5
5841
 
 
5842
 
fi
5843
 
rm -f conftest.err conftest.$ac_objext \
5844
 
      conftest$ac_exeext conftest.$ac_ext
5845
 
if test "$ac_cv_search_zlibVersion" = no; then
5846
 
  for ac_lib in z; do
 
6347
for ac_lib in '' z; do
 
6348
  if test -z "$ac_lib"; then
 
6349
    ac_res="none required"
 
6350
  else
 
6351
    ac_res=-l$ac_lib
5847
6352
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5848
 
    cat >conftest.$ac_ext <<_ACEOF
5849
 
/* confdefs.h.  */
5850
 
_ACEOF
5851
 
cat confdefs.h >>conftest.$ac_ext
5852
 
cat >>conftest.$ac_ext <<_ACEOF
5853
 
/* end confdefs.h.  */
 
6353
  fi
 
6354
  if ac_fn_c_try_link "$LINENO"; then :
 
6355
  ac_cv_search_zlibVersion=$ac_res
 
6356
fi
 
6357
rm -f core conftest.err conftest.$ac_objext \
 
6358
    conftest$ac_exeext
 
6359
  if test "${ac_cv_search_zlibVersion+set}" = set; then :
 
6360
  break
 
6361
fi
 
6362
done
 
6363
if test "${ac_cv_search_zlibVersion+set}" = set; then :
5854
6364
 
5855
 
/* Override any gcc2 internal prototype to avoid an error.  */
5856
 
#ifdef __cplusplus
5857
 
extern "C"
5858
 
#endif
5859
 
/* We use char because int might match the return type of a gcc2
5860
 
   builtin and then its argument prototype would still apply.  */
5861
 
char zlibVersion ();
5862
 
int
5863
 
main ()
5864
 
{
5865
 
zlibVersion ();
5866
 
  ;
5867
 
  return 0;
5868
 
}
5869
 
_ACEOF
5870
 
rm -f conftest.$ac_objext conftest$ac_exeext
5871
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5872
 
  (eval $ac_link) 2>conftest.er1
5873
 
  ac_status=$?
5874
 
  grep -v '^ *+' conftest.er1 >conftest.err
5875
 
  rm -f conftest.er1
5876
 
  cat conftest.err >&5
5877
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878
 
  (exit $ac_status); } &&
5879
 
         { ac_try='test -z "$ac_c_werror_flag"
5880
 
                         || test ! -s conftest.err'
5881
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5882
 
  (eval $ac_try) 2>&5
5883
 
  ac_status=$?
5884
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885
 
  (exit $ac_status); }; } &&
5886
 
         { ac_try='test -s conftest$ac_exeext'
5887
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5888
 
  (eval $ac_try) 2>&5
5889
 
  ac_status=$?
5890
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5891
 
  (exit $ac_status); }; }; then
5892
 
  ac_cv_search_zlibVersion="-l$ac_lib"
5893
 
break
5894
6365
else
5895
 
  echo "$as_me: failed program was:" >&5
5896
 
sed 's/^/| /' conftest.$ac_ext >&5
5897
 
 
5898
 
fi
5899
 
rm -f conftest.err conftest.$ac_objext \
5900
 
      conftest$ac_exeext conftest.$ac_ext
5901
 
  done
5902
 
fi
 
6366
  ac_cv_search_zlibVersion=no
 
6367
fi
 
6368
rm conftest.$ac_ext
5903
6369
LIBS=$ac_func_search_save_LIBS
5904
6370
fi
5905
 
echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
5906
 
echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
5907
 
if test "$ac_cv_search_zlibVersion" != no; then
5908
 
  test "$ac_cv_search_zlibVersion" = "none required" || LIBS="$ac_cv_search_zlibVersion $LIBS"
5909
 
 
5910
 
for ac_header in zlib.h
5911
 
do
5912
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5913
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5914
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
5915
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5916
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5917
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5918
 
fi
5919
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5920
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5921
 
else
5922
 
  # Is the header compilable?
5923
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5924
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5925
 
cat >conftest.$ac_ext <<_ACEOF
5926
 
/* confdefs.h.  */
5927
 
_ACEOF
5928
 
cat confdefs.h >>conftest.$ac_ext
5929
 
cat >>conftest.$ac_ext <<_ACEOF
5930
 
/* end confdefs.h.  */
5931
 
$ac_includes_default
5932
 
#include <$ac_header>
5933
 
_ACEOF
5934
 
rm -f conftest.$ac_objext
5935
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5936
 
  (eval $ac_compile) 2>conftest.er1
5937
 
  ac_status=$?
5938
 
  grep -v '^ *+' conftest.er1 >conftest.err
5939
 
  rm -f conftest.er1
5940
 
  cat conftest.err >&5
5941
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5942
 
  (exit $ac_status); } &&
5943
 
         { ac_try='test -z "$ac_c_werror_flag"
5944
 
                         || test ! -s conftest.err'
5945
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5946
 
  (eval $ac_try) 2>&5
5947
 
  ac_status=$?
5948
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5949
 
  (exit $ac_status); }; } &&
5950
 
         { ac_try='test -s conftest.$ac_objext'
5951
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5952
 
  (eval $ac_try) 2>&5
5953
 
  ac_status=$?
5954
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5955
 
  (exit $ac_status); }; }; then
5956
 
  ac_header_compiler=yes
5957
 
else
5958
 
  echo "$as_me: failed program was:" >&5
5959
 
sed 's/^/| /' conftest.$ac_ext >&5
5960
 
 
5961
 
ac_header_compiler=no
5962
 
fi
5963
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5964
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5965
 
echo "${ECHO_T}$ac_header_compiler" >&6
5966
 
 
5967
 
# Is the header present?
5968
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5969
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5970
 
cat >conftest.$ac_ext <<_ACEOF
5971
 
/* confdefs.h.  */
5972
 
_ACEOF
5973
 
cat confdefs.h >>conftest.$ac_ext
5974
 
cat >>conftest.$ac_ext <<_ACEOF
5975
 
/* end confdefs.h.  */
5976
 
#include <$ac_header>
5977
 
_ACEOF
5978
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5979
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5980
 
  ac_status=$?
5981
 
  grep -v '^ *+' conftest.er1 >conftest.err
5982
 
  rm -f conftest.er1
5983
 
  cat conftest.err >&5
5984
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5985
 
  (exit $ac_status); } >/dev/null; then
5986
 
  if test -s conftest.err; then
5987
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5988
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5989
 
  else
5990
 
    ac_cpp_err=
5991
 
  fi
5992
 
else
5993
 
  ac_cpp_err=yes
5994
 
fi
5995
 
if test -z "$ac_cpp_err"; then
5996
 
  ac_header_preproc=yes
5997
 
else
5998
 
  echo "$as_me: failed program was:" >&5
5999
 
sed 's/^/| /' conftest.$ac_ext >&5
6000
 
 
6001
 
  ac_header_preproc=no
6002
 
fi
6003
 
rm -f conftest.err conftest.$ac_ext
6004
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6005
 
echo "${ECHO_T}$ac_header_preproc" >&6
6006
 
 
6007
 
# So?  What about this header?
6008
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6009
 
  yes:no: )
6010
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6011
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6012
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6013
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6014
 
    ac_header_preproc=yes
6015
 
    ;;
6016
 
  no:yes:* )
6017
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6018
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6019
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6020
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6021
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6022
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6023
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6024
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6025
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6026
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6027
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6028
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6029
 
    (
6030
 
      cat <<\_ASBOX
6031
 
## ------------------------------- ##
6032
 
## Report this to the gold lists.  ##
6033
 
## ------------------------------- ##
6034
 
_ASBOX
6035
 
    ) |
6036
 
      sed "s/^/$as_me: WARNING:     /" >&2
6037
 
    ;;
6038
 
esac
6039
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
6040
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6041
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6042
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6043
 
else
6044
 
  eval "$as_ac_Header=\$ac_header_preproc"
6045
 
fi
6046
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6047
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6048
 
 
6049
 
fi
6050
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
6371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
 
6372
$as_echo "$ac_cv_search_zlibVersion" >&6; }
 
6373
ac_res=$ac_cv_search_zlibVersion
 
6374
if test "$ac_res" != no; then :
 
6375
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
6376
  for ac_header in zlib.h
 
6377
do :
 
6378
  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
 
6379
if test "x$ac_cv_header_zlib_h" = x""yes; then :
6051
6380
  cat >>confdefs.h <<_ACEOF
6052
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6381
#define HAVE_ZLIB_H 1
6053
6382
_ACEOF
6054
6383
 
6055
6384
fi
6058
6387
 
6059
6388
fi
6060
6389
 
6061
 
 
6062
 
 
6063
 
if test "$ac_cv_search_zlibVersion" != "no"; then
 
6390
 if test "$ac_cv_search_zlibVersion" != "no"; then
6064
6391
  HAVE_ZLIB_TRUE=
6065
6392
  HAVE_ZLIB_FALSE='#'
6066
6393
else
6069
6396
fi
6070
6397
 
6071
6398
 
6072
 
echo "$as_me:$LINENO: checking whether basename is declared" >&5
6073
 
echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
6074
 
if test "${ac_cv_have_decl_basename+set}" = set; then
6075
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6076
 
else
6077
 
  cat >conftest.$ac_ext <<_ACEOF
6078
 
/* confdefs.h.  */
6079
 
_ACEOF
6080
 
cat confdefs.h >>conftest.$ac_ext
6081
 
cat >>conftest.$ac_ext <<_ACEOF
6082
 
/* end confdefs.h.  */
6083
 
$ac_includes_default
6084
 
int
6085
 
main ()
6086
 
{
6087
 
#ifndef basename
6088
 
  char *p = (char *) basename;
6089
 
#endif
6090
 
 
6091
 
  ;
6092
 
  return 0;
6093
 
}
6094
 
_ACEOF
6095
 
rm -f conftest.$ac_objext
6096
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6097
 
  (eval $ac_compile) 2>conftest.er1
6098
 
  ac_status=$?
6099
 
  grep -v '^ *+' conftest.er1 >conftest.err
6100
 
  rm -f conftest.er1
6101
 
  cat conftest.err >&5
6102
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103
 
  (exit $ac_status); } &&
6104
 
         { ac_try='test -z "$ac_c_werror_flag"
6105
 
                         || test ! -s conftest.err'
6106
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6107
 
  (eval $ac_try) 2>&5
6108
 
  ac_status=$?
6109
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6110
 
  (exit $ac_status); }; } &&
6111
 
         { ac_try='test -s conftest.$ac_objext'
6112
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6113
 
  (eval $ac_try) 2>&5
6114
 
  ac_status=$?
6115
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116
 
  (exit $ac_status); }; }; then
6117
 
  ac_cv_have_decl_basename=yes
6118
 
else
6119
 
  echo "$as_me: failed program was:" >&5
6120
 
sed 's/^/| /' conftest.$ac_ext >&5
6121
 
 
6122
 
ac_cv_have_decl_basename=no
6123
 
fi
6124
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6125
 
fi
6126
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
6127
 
echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
6128
 
if test $ac_cv_have_decl_basename = yes; then
6129
 
 
6130
 
cat >>confdefs.h <<_ACEOF
6131
 
#define HAVE_DECL_BASENAME 1
6132
 
_ACEOF
6133
 
 
6134
 
 
6135
 
else
6136
 
  cat >>confdefs.h <<_ACEOF
6137
 
#define HAVE_DECL_BASENAME 0
6138
 
_ACEOF
6139
 
 
6140
 
 
6141
 
fi
6142
 
echo "$as_me:$LINENO: checking whether ffs is declared" >&5
6143
 
echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
6144
 
if test "${ac_cv_have_decl_ffs+set}" = set; then
6145
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6146
 
else
6147
 
  cat >conftest.$ac_ext <<_ACEOF
6148
 
/* confdefs.h.  */
6149
 
_ACEOF
6150
 
cat confdefs.h >>conftest.$ac_ext
6151
 
cat >>conftest.$ac_ext <<_ACEOF
6152
 
/* end confdefs.h.  */
6153
 
$ac_includes_default
6154
 
int
6155
 
main ()
6156
 
{
6157
 
#ifndef ffs
6158
 
  char *p = (char *) ffs;
6159
 
#endif
6160
 
 
6161
 
  ;
6162
 
  return 0;
6163
 
}
6164
 
_ACEOF
6165
 
rm -f conftest.$ac_objext
6166
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6167
 
  (eval $ac_compile) 2>conftest.er1
6168
 
  ac_status=$?
6169
 
  grep -v '^ *+' conftest.er1 >conftest.err
6170
 
  rm -f conftest.er1
6171
 
  cat conftest.err >&5
6172
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173
 
  (exit $ac_status); } &&
6174
 
         { ac_try='test -z "$ac_c_werror_flag"
6175
 
                         || test ! -s conftest.err'
6176
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6177
 
  (eval $ac_try) 2>&5
6178
 
  ac_status=$?
6179
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6180
 
  (exit $ac_status); }; } &&
6181
 
         { ac_try='test -s conftest.$ac_objext'
6182
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6183
 
  (eval $ac_try) 2>&5
6184
 
  ac_status=$?
6185
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6186
 
  (exit $ac_status); }; }; then
6187
 
  ac_cv_have_decl_ffs=yes
6188
 
else
6189
 
  echo "$as_me: failed program was:" >&5
6190
 
sed 's/^/| /' conftest.$ac_ext >&5
6191
 
 
6192
 
ac_cv_have_decl_ffs=no
6193
 
fi
6194
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6195
 
fi
6196
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
6197
 
echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
6198
 
if test $ac_cv_have_decl_ffs = yes; then
6199
 
 
6200
 
cat >>confdefs.h <<_ACEOF
6201
 
#define HAVE_DECL_FFS 1
6202
 
_ACEOF
6203
 
 
6204
 
 
6205
 
else
6206
 
  cat >>confdefs.h <<_ACEOF
6207
 
#define HAVE_DECL_FFS 0
6208
 
_ACEOF
6209
 
 
6210
 
 
6211
 
fi
6212
 
echo "$as_me:$LINENO: checking whether asprintf is declared" >&5
6213
 
echo $ECHO_N "checking whether asprintf is declared... $ECHO_C" >&6
6214
 
if test "${ac_cv_have_decl_asprintf+set}" = set; then
6215
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6216
 
else
6217
 
  cat >conftest.$ac_ext <<_ACEOF
6218
 
/* confdefs.h.  */
6219
 
_ACEOF
6220
 
cat confdefs.h >>conftest.$ac_ext
6221
 
cat >>conftest.$ac_ext <<_ACEOF
6222
 
/* end confdefs.h.  */
6223
 
$ac_includes_default
6224
 
int
6225
 
main ()
6226
 
{
6227
 
#ifndef asprintf
6228
 
  char *p = (char *) asprintf;
6229
 
#endif
6230
 
 
6231
 
  ;
6232
 
  return 0;
6233
 
}
6234
 
_ACEOF
6235
 
rm -f conftest.$ac_objext
6236
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6237
 
  (eval $ac_compile) 2>conftest.er1
6238
 
  ac_status=$?
6239
 
  grep -v '^ *+' conftest.er1 >conftest.err
6240
 
  rm -f conftest.er1
6241
 
  cat conftest.err >&5
6242
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6243
 
  (exit $ac_status); } &&
6244
 
         { ac_try='test -z "$ac_c_werror_flag"
6245
 
                         || test ! -s conftest.err'
6246
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6247
 
  (eval $ac_try) 2>&5
6248
 
  ac_status=$?
6249
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250
 
  (exit $ac_status); }; } &&
6251
 
         { ac_try='test -s conftest.$ac_objext'
6252
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6253
 
  (eval $ac_try) 2>&5
6254
 
  ac_status=$?
6255
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256
 
  (exit $ac_status); }; }; then
6257
 
  ac_cv_have_decl_asprintf=yes
6258
 
else
6259
 
  echo "$as_me: failed program was:" >&5
6260
 
sed 's/^/| /' conftest.$ac_ext >&5
6261
 
 
6262
 
ac_cv_have_decl_asprintf=no
6263
 
fi
6264
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6265
 
fi
6266
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl_asprintf" >&5
6267
 
echo "${ECHO_T}$ac_cv_have_decl_asprintf" >&6
6268
 
if test $ac_cv_have_decl_asprintf = yes; then
6269
 
 
6270
 
cat >>confdefs.h <<_ACEOF
6271
 
#define HAVE_DECL_ASPRINTF 1
6272
 
_ACEOF
6273
 
 
6274
 
 
6275
 
else
6276
 
  cat >>confdefs.h <<_ACEOF
6277
 
#define HAVE_DECL_ASPRINTF 0
6278
 
_ACEOF
6279
 
 
6280
 
 
6281
 
fi
6282
 
echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5
6283
 
echo $ECHO_N "checking whether vasprintf is declared... $ECHO_C" >&6
6284
 
if test "${ac_cv_have_decl_vasprintf+set}" = set; then
6285
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6286
 
else
6287
 
  cat >conftest.$ac_ext <<_ACEOF
6288
 
/* confdefs.h.  */
6289
 
_ACEOF
6290
 
cat confdefs.h >>conftest.$ac_ext
6291
 
cat >>conftest.$ac_ext <<_ACEOF
6292
 
/* end confdefs.h.  */
6293
 
$ac_includes_default
6294
 
int
6295
 
main ()
6296
 
{
6297
 
#ifndef vasprintf
6298
 
  char *p = (char *) vasprintf;
6299
 
#endif
6300
 
 
6301
 
  ;
6302
 
  return 0;
6303
 
}
6304
 
_ACEOF
6305
 
rm -f conftest.$ac_objext
6306
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6307
 
  (eval $ac_compile) 2>conftest.er1
6308
 
  ac_status=$?
6309
 
  grep -v '^ *+' conftest.er1 >conftest.err
6310
 
  rm -f conftest.er1
6311
 
  cat conftest.err >&5
6312
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6313
 
  (exit $ac_status); } &&
6314
 
         { ac_try='test -z "$ac_c_werror_flag"
6315
 
                         || test ! -s conftest.err'
6316
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6317
 
  (eval $ac_try) 2>&5
6318
 
  ac_status=$?
6319
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6320
 
  (exit $ac_status); }; } &&
6321
 
         { ac_try='test -s conftest.$ac_objext'
6322
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6323
 
  (eval $ac_try) 2>&5
6324
 
  ac_status=$?
6325
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6326
 
  (exit $ac_status); }; }; then
6327
 
  ac_cv_have_decl_vasprintf=yes
6328
 
else
6329
 
  echo "$as_me: failed program was:" >&5
6330
 
sed 's/^/| /' conftest.$ac_ext >&5
6331
 
 
6332
 
ac_cv_have_decl_vasprintf=no
6333
 
fi
6334
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6335
 
fi
6336
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5
6337
 
echo "${ECHO_T}$ac_cv_have_decl_vasprintf" >&6
6338
 
if test $ac_cv_have_decl_vasprintf = yes; then
6339
 
 
6340
 
cat >>confdefs.h <<_ACEOF
6341
 
#define HAVE_DECL_VASPRINTF 1
6342
 
_ACEOF
6343
 
 
6344
 
 
6345
 
else
6346
 
  cat >>confdefs.h <<_ACEOF
6347
 
#define HAVE_DECL_VASPRINTF 0
6348
 
_ACEOF
6349
 
 
6350
 
 
6351
 
fi
6352
 
echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
6353
 
echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
6354
 
if test "${ac_cv_have_decl_snprintf+set}" = set; then
6355
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6356
 
else
6357
 
  cat >conftest.$ac_ext <<_ACEOF
6358
 
/* confdefs.h.  */
6359
 
_ACEOF
6360
 
cat confdefs.h >>conftest.$ac_ext
6361
 
cat >>conftest.$ac_ext <<_ACEOF
6362
 
/* end confdefs.h.  */
6363
 
$ac_includes_default
6364
 
int
6365
 
main ()
6366
 
{
6367
 
#ifndef snprintf
6368
 
  char *p = (char *) snprintf;
6369
 
#endif
6370
 
 
6371
 
  ;
6372
 
  return 0;
6373
 
}
6374
 
_ACEOF
6375
 
rm -f conftest.$ac_objext
6376
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6377
 
  (eval $ac_compile) 2>conftest.er1
6378
 
  ac_status=$?
6379
 
  grep -v '^ *+' conftest.er1 >conftest.err
6380
 
  rm -f conftest.er1
6381
 
  cat conftest.err >&5
6382
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6383
 
  (exit $ac_status); } &&
6384
 
         { ac_try='test -z "$ac_c_werror_flag"
6385
 
                         || test ! -s conftest.err'
6386
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6387
 
  (eval $ac_try) 2>&5
6388
 
  ac_status=$?
6389
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6390
 
  (exit $ac_status); }; } &&
6391
 
         { ac_try='test -s conftest.$ac_objext'
6392
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6393
 
  (eval $ac_try) 2>&5
6394
 
  ac_status=$?
6395
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6396
 
  (exit $ac_status); }; }; then
6397
 
  ac_cv_have_decl_snprintf=yes
6398
 
else
6399
 
  echo "$as_me: failed program was:" >&5
6400
 
sed 's/^/| /' conftest.$ac_ext >&5
6401
 
 
6402
 
ac_cv_have_decl_snprintf=no
6403
 
fi
6404
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6405
 
fi
6406
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
6407
 
echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
6408
 
if test $ac_cv_have_decl_snprintf = yes; then
6409
 
 
6410
 
cat >>confdefs.h <<_ACEOF
6411
 
#define HAVE_DECL_SNPRINTF 1
6412
 
_ACEOF
6413
 
 
6414
 
 
6415
 
else
6416
 
  cat >>confdefs.h <<_ACEOF
6417
 
#define HAVE_DECL_SNPRINTF 0
6418
 
_ACEOF
6419
 
 
6420
 
 
6421
 
fi
6422
 
echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
6423
 
echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
6424
 
if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
6425
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6426
 
else
6427
 
  cat >conftest.$ac_ext <<_ACEOF
6428
 
/* confdefs.h.  */
6429
 
_ACEOF
6430
 
cat confdefs.h >>conftest.$ac_ext
6431
 
cat >>conftest.$ac_ext <<_ACEOF
6432
 
/* end confdefs.h.  */
6433
 
$ac_includes_default
6434
 
int
6435
 
main ()
6436
 
{
6437
 
#ifndef vsnprintf
6438
 
  char *p = (char *) vsnprintf;
6439
 
#endif
6440
 
 
6441
 
  ;
6442
 
  return 0;
6443
 
}
6444
 
_ACEOF
6445
 
rm -f conftest.$ac_objext
6446
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6447
 
  (eval $ac_compile) 2>conftest.er1
6448
 
  ac_status=$?
6449
 
  grep -v '^ *+' conftest.er1 >conftest.err
6450
 
  rm -f conftest.er1
6451
 
  cat conftest.err >&5
6452
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453
 
  (exit $ac_status); } &&
6454
 
         { ac_try='test -z "$ac_c_werror_flag"
6455
 
                         || test ! -s conftest.err'
6456
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6457
 
  (eval $ac_try) 2>&5
6458
 
  ac_status=$?
6459
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6460
 
  (exit $ac_status); }; } &&
6461
 
         { ac_try='test -s conftest.$ac_objext'
6462
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6463
 
  (eval $ac_try) 2>&5
6464
 
  ac_status=$?
6465
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466
 
  (exit $ac_status); }; }; then
6467
 
  ac_cv_have_decl_vsnprintf=yes
6468
 
else
6469
 
  echo "$as_me: failed program was:" >&5
6470
 
sed 's/^/| /' conftest.$ac_ext >&5
6471
 
 
6472
 
ac_cv_have_decl_vsnprintf=no
6473
 
fi
6474
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6475
 
fi
6476
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
6477
 
echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
6478
 
if test $ac_cv_have_decl_vsnprintf = yes; then
6479
 
 
6480
 
cat >>confdefs.h <<_ACEOF
6481
 
#define HAVE_DECL_VSNPRINTF 1
6482
 
_ACEOF
6483
 
 
6484
 
 
6485
 
else
6486
 
  cat >>confdefs.h <<_ACEOF
6487
 
#define HAVE_DECL_VSNPRINTF 0
6488
 
_ACEOF
6489
 
 
6490
 
 
6491
 
fi
6492
 
echo "$as_me:$LINENO: checking whether strverscmp is declared" >&5
6493
 
echo $ECHO_N "checking whether strverscmp is declared... $ECHO_C" >&6
6494
 
if test "${ac_cv_have_decl_strverscmp+set}" = set; then
6495
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6496
 
else
6497
 
  cat >conftest.$ac_ext <<_ACEOF
6498
 
/* confdefs.h.  */
6499
 
_ACEOF
6500
 
cat confdefs.h >>conftest.$ac_ext
6501
 
cat >>conftest.$ac_ext <<_ACEOF
6502
 
/* end confdefs.h.  */
6503
 
$ac_includes_default
6504
 
int
6505
 
main ()
6506
 
{
6507
 
#ifndef strverscmp
6508
 
  char *p = (char *) strverscmp;
6509
 
#endif
6510
 
 
6511
 
  ;
6512
 
  return 0;
6513
 
}
6514
 
_ACEOF
6515
 
rm -f conftest.$ac_objext
6516
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6517
 
  (eval $ac_compile) 2>conftest.er1
6518
 
  ac_status=$?
6519
 
  grep -v '^ *+' conftest.er1 >conftest.err
6520
 
  rm -f conftest.er1
6521
 
  cat conftest.err >&5
6522
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6523
 
  (exit $ac_status); } &&
6524
 
         { ac_try='test -z "$ac_c_werror_flag"
6525
 
                         || test ! -s conftest.err'
6526
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6527
 
  (eval $ac_try) 2>&5
6528
 
  ac_status=$?
6529
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6530
 
  (exit $ac_status); }; } &&
6531
 
         { ac_try='test -s conftest.$ac_objext'
6532
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6533
 
  (eval $ac_try) 2>&5
6534
 
  ac_status=$?
6535
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6536
 
  (exit $ac_status); }; }; then
6537
 
  ac_cv_have_decl_strverscmp=yes
6538
 
else
6539
 
  echo "$as_me: failed program was:" >&5
6540
 
sed 's/^/| /' conftest.$ac_ext >&5
6541
 
 
6542
 
ac_cv_have_decl_strverscmp=no
6543
 
fi
6544
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6545
 
fi
6546
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl_strverscmp" >&5
6547
 
echo "${ECHO_T}$ac_cv_have_decl_strverscmp" >&6
6548
 
if test $ac_cv_have_decl_strverscmp = yes; then
6549
 
 
6550
 
cat >>confdefs.h <<_ACEOF
6551
 
#define HAVE_DECL_STRVERSCMP 1
6552
 
_ACEOF
6553
 
 
6554
 
 
6555
 
else
6556
 
  cat >>confdefs.h <<_ACEOF
6557
 
#define HAVE_DECL_STRVERSCMP 0
6558
 
_ACEOF
6559
 
 
6560
 
 
6561
 
fi
6562
 
 
6563
 
 
6564
 
 
6565
 
ac_ext=cc
6566
 
ac_cpp='$CXXCPP $CPPFLAGS'
6567
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6568
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6569
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6570
 
 
6571
 
 
6572
 
 
6573
 
ac_ext=cc
6574
 
ac_cpp='$CXXCPP $CPPFLAGS'
6575
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6576
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6577
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6578
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6579
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
6399
ac_fn_c_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
 
6400
if test "x$ac_cv_have_decl_basename" = x""yes; then :
 
6401
  ac_have_decl=1
 
6402
else
 
6403
  ac_have_decl=0
 
6404
fi
 
6405
 
 
6406
cat >>confdefs.h <<_ACEOF
 
6407
#define HAVE_DECL_BASENAME $ac_have_decl
 
6408
_ACEOF
 
6409
ac_fn_c_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
 
6410
if test "x$ac_cv_have_decl_ffs" = x""yes; then :
 
6411
  ac_have_decl=1
 
6412
else
 
6413
  ac_have_decl=0
 
6414
fi
 
6415
 
 
6416
cat >>confdefs.h <<_ACEOF
 
6417
#define HAVE_DECL_FFS $ac_have_decl
 
6418
_ACEOF
 
6419
ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
 
6420
if test "x$ac_cv_have_decl_asprintf" = x""yes; then :
 
6421
  ac_have_decl=1
 
6422
else
 
6423
  ac_have_decl=0
 
6424
fi
 
6425
 
 
6426
cat >>confdefs.h <<_ACEOF
 
6427
#define HAVE_DECL_ASPRINTF $ac_have_decl
 
6428
_ACEOF
 
6429
ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
 
6430
if test "x$ac_cv_have_decl_vasprintf" = x""yes; then :
 
6431
  ac_have_decl=1
 
6432
else
 
6433
  ac_have_decl=0
 
6434
fi
 
6435
 
 
6436
cat >>confdefs.h <<_ACEOF
 
6437
#define HAVE_DECL_VASPRINTF $ac_have_decl
 
6438
_ACEOF
 
6439
ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
 
6440
if test "x$ac_cv_have_decl_snprintf" = x""yes; then :
 
6441
  ac_have_decl=1
 
6442
else
 
6443
  ac_have_decl=0
 
6444
fi
 
6445
 
 
6446
cat >>confdefs.h <<_ACEOF
 
6447
#define HAVE_DECL_SNPRINTF $ac_have_decl
 
6448
_ACEOF
 
6449
ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
 
6450
if test "x$ac_cv_have_decl_vsnprintf" = x""yes; then :
 
6451
  ac_have_decl=1
 
6452
else
 
6453
  ac_have_decl=0
 
6454
fi
 
6455
 
 
6456
cat >>confdefs.h <<_ACEOF
 
6457
#define HAVE_DECL_VSNPRINTF $ac_have_decl
 
6458
_ACEOF
 
6459
ac_fn_c_check_decl "$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
 
6460
if test "x$ac_cv_have_decl_strverscmp" = x""yes; then :
 
6461
  ac_have_decl=1
 
6462
else
 
6463
  ac_have_decl=0
 
6464
fi
 
6465
 
 
6466
cat >>confdefs.h <<_ACEOF
 
6467
#define HAVE_DECL_STRVERSCMP $ac_have_decl
 
6468
_ACEOF
 
6469
 
 
6470
 
 
6471
ac_ext=cpp
 
6472
ac_cpp='$CXXCPP $CPPFLAGS'
 
6473
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6474
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6475
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
6476
 
 
6477
 
 
6478
 
 
6479
ac_ext=cpp
 
6480
ac_cpp='$CXXCPP $CPPFLAGS'
 
6481
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6482
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6483
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
6484
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 
6485
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6580
6486
if test -z "$CXXCPP"; then
6581
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
6582
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6487
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
 
6488
  $as_echo_n "(cached) " >&6
6583
6489
else
6584
6490
      # Double quotes because CXXCPP needs to be expanded
6585
6491
    for CXXCPP in "$CXX -E" "/lib/cpp"
6593
6499
  # <limits.h> exists even on freestanding compilers.
6594
6500
  # On the NeXT, cc -E runs the code through the compiler's parser,
6595
6501
  # not just through cpp. "Syntax error" is here to catch this case.
6596
 
  cat >conftest.$ac_ext <<_ACEOF
6597
 
/* confdefs.h.  */
6598
 
_ACEOF
6599
 
cat confdefs.h >>conftest.$ac_ext
6600
 
cat >>conftest.$ac_ext <<_ACEOF
 
6502
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6601
6503
/* end confdefs.h.  */
6602
6504
#ifdef __STDC__
6603
6505
# include <limits.h>
6606
6508
#endif
6607
6509
                     Syntax error
6608
6510
_ACEOF
6609
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6610
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6611
 
  ac_status=$?
6612
 
  grep -v '^ *+' conftest.er1 >conftest.err
6613
 
  rm -f conftest.er1
6614
 
  cat conftest.err >&5
6615
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616
 
  (exit $ac_status); } >/dev/null; then
6617
 
  if test -s conftest.err; then
6618
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6619
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6620
 
  else
6621
 
    ac_cpp_err=
6622
 
  fi
6623
 
else
6624
 
  ac_cpp_err=yes
6625
 
fi
6626
 
if test -z "$ac_cpp_err"; then
6627
 
  :
6628
 
else
6629
 
  echo "$as_me: failed program was:" >&5
6630
 
sed 's/^/| /' conftest.$ac_ext >&5
 
6511
if ac_fn_cxx_try_cpp "$LINENO"; then :
6631
6512
 
 
6513
else
6632
6514
  # Broken: fails on valid input.
6633
6515
continue
6634
6516
fi
6635
6517
rm -f conftest.err conftest.$ac_ext
6636
6518
 
6637
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
6519
  # OK, works on sane cases.  Now check whether nonexistent headers
6638
6520
  # can be detected and how.
6639
 
  cat >conftest.$ac_ext <<_ACEOF
6640
 
/* confdefs.h.  */
6641
 
_ACEOF
6642
 
cat confdefs.h >>conftest.$ac_ext
6643
 
cat >>conftest.$ac_ext <<_ACEOF
 
6521
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6644
6522
/* end confdefs.h.  */
6645
6523
#include <ac_nonexistent.h>
6646
6524
_ACEOF
6647
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6648
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6649
 
  ac_status=$?
6650
 
  grep -v '^ *+' conftest.er1 >conftest.err
6651
 
  rm -f conftest.er1
6652
 
  cat conftest.err >&5
6653
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6654
 
  (exit $ac_status); } >/dev/null; then
6655
 
  if test -s conftest.err; then
6656
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6657
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6658
 
  else
6659
 
    ac_cpp_err=
6660
 
  fi
6661
 
else
6662
 
  ac_cpp_err=yes
6663
 
fi
6664
 
if test -z "$ac_cpp_err"; then
 
6525
if ac_fn_cxx_try_cpp "$LINENO"; then :
6665
6526
  # Broken: success on invalid input.
6666
6527
continue
6667
6528
else
6668
 
  echo "$as_me: failed program was:" >&5
6669
 
sed 's/^/| /' conftest.$ac_ext >&5
6670
 
 
6671
6529
  # Passes both tests.
6672
6530
ac_preproc_ok=:
6673
6531
break
6677
6535
done
6678
6536
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6679
6537
rm -f conftest.err conftest.$ac_ext
6680
 
if $ac_preproc_ok; then
 
6538
if $ac_preproc_ok; then :
6681
6539
  break
6682
6540
fi
6683
6541
 
6689
6547
else
6690
6548
  ac_cv_prog_CXXCPP=$CXXCPP
6691
6549
fi
6692
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
6693
 
echo "${ECHO_T}$CXXCPP" >&6
 
6550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
 
6551
$as_echo "$CXXCPP" >&6; }
6694
6552
ac_preproc_ok=false
6695
6553
for ac_cxx_preproc_warn_flag in '' yes
6696
6554
do
6700
6558
  # <limits.h> exists even on freestanding compilers.
6701
6559
  # On the NeXT, cc -E runs the code through the compiler's parser,
6702
6560
  # not just through cpp. "Syntax error" is here to catch this case.
6703
 
  cat >conftest.$ac_ext <<_ACEOF
6704
 
/* confdefs.h.  */
6705
 
_ACEOF
6706
 
cat confdefs.h >>conftest.$ac_ext
6707
 
cat >>conftest.$ac_ext <<_ACEOF
 
6561
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6708
6562
/* end confdefs.h.  */
6709
6563
#ifdef __STDC__
6710
6564
# include <limits.h>
6713
6567
#endif
6714
6568
                     Syntax error
6715
6569
_ACEOF
6716
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6717
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6718
 
  ac_status=$?
6719
 
  grep -v '^ *+' conftest.er1 >conftest.err
6720
 
  rm -f conftest.er1
6721
 
  cat conftest.err >&5
6722
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6723
 
  (exit $ac_status); } >/dev/null; then
6724
 
  if test -s conftest.err; then
6725
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6726
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6727
 
  else
6728
 
    ac_cpp_err=
6729
 
  fi
6730
 
else
6731
 
  ac_cpp_err=yes
6732
 
fi
6733
 
if test -z "$ac_cpp_err"; then
6734
 
  :
6735
 
else
6736
 
  echo "$as_me: failed program was:" >&5
6737
 
sed 's/^/| /' conftest.$ac_ext >&5
 
6570
if ac_fn_cxx_try_cpp "$LINENO"; then :
6738
6571
 
 
6572
else
6739
6573
  # Broken: fails on valid input.
6740
6574
continue
6741
6575
fi
6742
6576
rm -f conftest.err conftest.$ac_ext
6743
6577
 
6744
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
6578
  # OK, works on sane cases.  Now check whether nonexistent headers
6745
6579
  # can be detected and how.
6746
 
  cat >conftest.$ac_ext <<_ACEOF
6747
 
/* confdefs.h.  */
6748
 
_ACEOF
6749
 
cat confdefs.h >>conftest.$ac_ext
6750
 
cat >>conftest.$ac_ext <<_ACEOF
 
6580
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6751
6581
/* end confdefs.h.  */
6752
6582
#include <ac_nonexistent.h>
6753
6583
_ACEOF
6754
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6755
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6756
 
  ac_status=$?
6757
 
  grep -v '^ *+' conftest.er1 >conftest.err
6758
 
  rm -f conftest.er1
6759
 
  cat conftest.err >&5
6760
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6761
 
  (exit $ac_status); } >/dev/null; then
6762
 
  if test -s conftest.err; then
6763
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6764
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6765
 
  else
6766
 
    ac_cpp_err=
6767
 
  fi
6768
 
else
6769
 
  ac_cpp_err=yes
6770
 
fi
6771
 
if test -z "$ac_cpp_err"; then
 
6584
if ac_fn_cxx_try_cpp "$LINENO"; then :
6772
6585
  # Broken: success on invalid input.
6773
6586
continue
6774
6587
else
6775
 
  echo "$as_me: failed program was:" >&5
6776
 
sed 's/^/| /' conftest.$ac_ext >&5
6777
 
 
6778
6588
  # Passes both tests.
6779
6589
ac_preproc_ok=:
6780
6590
break
6784
6594
done
6785
6595
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6786
6596
rm -f conftest.err conftest.$ac_ext
6787
 
if $ac_preproc_ok; then
6788
 
  :
 
6597
if $ac_preproc_ok; then :
 
6598
 
6789
6599
else
6790
 
  { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6791
 
echo "$as_me: error: in \`$ac_pwd':" >&2;}
6792
 
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6793
 
See \`config.log' for more details." >&5
6794
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6795
 
See \`config.log' for more details." >&2;}
6796
 
   { (exit 1); exit 1; }; }; }
 
6600
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
6601
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
6602
as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
 
6603
See \`config.log' for more details." "$LINENO" 5; }
6797
6604
fi
6798
6605
 
6799
 
ac_ext=cc
 
6606
ac_ext=cpp
6800
6607
ac_cpp='$CXXCPP $CPPFLAGS'
6801
6608
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6802
6609
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6803
6610
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6804
6611
 
6805
6612
 
6806
 
 
6807
 
 
6808
6613
for ac_header in tr1/unordered_set tr1/unordered_map
6809
 
do
6810
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6811
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6812
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
6813
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6814
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6815
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6816
 
fi
6817
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6818
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6819
 
else
6820
 
  # Is the header compilable?
6821
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
6822
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6823
 
cat >conftest.$ac_ext <<_ACEOF
6824
 
/* confdefs.h.  */
6825
 
_ACEOF
6826
 
cat confdefs.h >>conftest.$ac_ext
6827
 
cat >>conftest.$ac_ext <<_ACEOF
6828
 
/* end confdefs.h.  */
6829
 
$ac_includes_default
6830
 
#include <$ac_header>
6831
 
_ACEOF
6832
 
rm -f conftest.$ac_objext
6833
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6834
 
  (eval $ac_compile) 2>conftest.er1
6835
 
  ac_status=$?
6836
 
  grep -v '^ *+' conftest.er1 >conftest.err
6837
 
  rm -f conftest.er1
6838
 
  cat conftest.err >&5
6839
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6840
 
  (exit $ac_status); } &&
6841
 
         { ac_try='test -z "$ac_cxx_werror_flag"
6842
 
                         || test ! -s conftest.err'
6843
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6844
 
  (eval $ac_try) 2>&5
6845
 
  ac_status=$?
6846
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6847
 
  (exit $ac_status); }; } &&
6848
 
         { ac_try='test -s conftest.$ac_objext'
6849
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6850
 
  (eval $ac_try) 2>&5
6851
 
  ac_status=$?
6852
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6853
 
  (exit $ac_status); }; }; then
6854
 
  ac_header_compiler=yes
6855
 
else
6856
 
  echo "$as_me: failed program was:" >&5
6857
 
sed 's/^/| /' conftest.$ac_ext >&5
6858
 
 
6859
 
ac_header_compiler=no
6860
 
fi
6861
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6862
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6863
 
echo "${ECHO_T}$ac_header_compiler" >&6
6864
 
 
6865
 
# Is the header present?
6866
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
6867
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6868
 
cat >conftest.$ac_ext <<_ACEOF
6869
 
/* confdefs.h.  */
6870
 
_ACEOF
6871
 
cat confdefs.h >>conftest.$ac_ext
6872
 
cat >>conftest.$ac_ext <<_ACEOF
6873
 
/* end confdefs.h.  */
6874
 
#include <$ac_header>
6875
 
_ACEOF
6876
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6877
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6878
 
  ac_status=$?
6879
 
  grep -v '^ *+' conftest.er1 >conftest.err
6880
 
  rm -f conftest.er1
6881
 
  cat conftest.err >&5
6882
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883
 
  (exit $ac_status); } >/dev/null; then
6884
 
  if test -s conftest.err; then
6885
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6886
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6887
 
  else
6888
 
    ac_cpp_err=
6889
 
  fi
6890
 
else
6891
 
  ac_cpp_err=yes
6892
 
fi
6893
 
if test -z "$ac_cpp_err"; then
6894
 
  ac_header_preproc=yes
6895
 
else
6896
 
  echo "$as_me: failed program was:" >&5
6897
 
sed 's/^/| /' conftest.$ac_ext >&5
6898
 
 
6899
 
  ac_header_preproc=no
6900
 
fi
6901
 
rm -f conftest.err conftest.$ac_ext
6902
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6903
 
echo "${ECHO_T}$ac_header_preproc" >&6
6904
 
 
6905
 
# So?  What about this header?
6906
 
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6907
 
  yes:no: )
6908
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6909
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6910
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6911
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6912
 
    ac_header_preproc=yes
6913
 
    ;;
6914
 
  no:yes:* )
6915
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6916
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6917
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6918
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6919
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6920
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6921
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6922
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6923
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6924
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6925
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6926
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6927
 
    (
6928
 
      cat <<\_ASBOX
6929
 
## ------------------------------- ##
6930
 
## Report this to the gold lists.  ##
6931
 
## ------------------------------- ##
6932
 
_ASBOX
6933
 
    ) |
6934
 
      sed "s/^/$as_me: WARNING:     /" >&2
6935
 
    ;;
6936
 
esac
6937
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
6938
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6939
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6940
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6941
 
else
6942
 
  eval "$as_ac_Header=\$ac_header_preproc"
6943
 
fi
6944
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6945
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6946
 
 
6947
 
fi
6948
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
6614
do :
 
6615
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6616
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
6617
eval as_val=\$$as_ac_Header
 
6618
   if test "x$as_val" = x""yes; then :
6949
6619
  cat >>confdefs.h <<_ACEOF
6950
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6620
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6951
6621
_ACEOF
6952
6622
 
6953
6623
fi
6954
6624
 
6955
6625
done
6956
6626
 
6957
 
 
6958
 
 
6959
6627
for ac_header in ext/hash_map ext/hash_set
6960
 
do
6961
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6962
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6963
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
6964
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6965
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6966
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6967
 
fi
6968
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6969
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6970
 
else
6971
 
  # Is the header compilable?
6972
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
6973
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6974
 
cat >conftest.$ac_ext <<_ACEOF
6975
 
/* confdefs.h.  */
6976
 
_ACEOF
6977
 
cat confdefs.h >>conftest.$ac_ext
6978
 
cat >>conftest.$ac_ext <<_ACEOF
6979
 
/* end confdefs.h.  */
6980
 
$ac_includes_default
6981
 
#include <$ac_header>
6982
 
_ACEOF
6983
 
rm -f conftest.$ac_objext
6984
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6985
 
  (eval $ac_compile) 2>conftest.er1
6986
 
  ac_status=$?
6987
 
  grep -v '^ *+' conftest.er1 >conftest.err
6988
 
  rm -f conftest.er1
6989
 
  cat conftest.err >&5
6990
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6991
 
  (exit $ac_status); } &&
6992
 
         { ac_try='test -z "$ac_cxx_werror_flag"
6993
 
                         || test ! -s conftest.err'
6994
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6995
 
  (eval $ac_try) 2>&5
6996
 
  ac_status=$?
6997
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6998
 
  (exit $ac_status); }; } &&
6999
 
         { ac_try='test -s conftest.$ac_objext'
7000
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7001
 
  (eval $ac_try) 2>&5
7002
 
  ac_status=$?
7003
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7004
 
  (exit $ac_status); }; }; then
7005
 
  ac_header_compiler=yes
7006
 
else
7007
 
  echo "$as_me: failed program was:" >&5
7008
 
sed 's/^/| /' conftest.$ac_ext >&5
7009
 
 
7010
 
ac_header_compiler=no
7011
 
fi
7012
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7013
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7014
 
echo "${ECHO_T}$ac_header_compiler" >&6
7015
 
 
7016
 
# Is the header present?
7017
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7018
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7019
 
cat >conftest.$ac_ext <<_ACEOF
7020
 
/* confdefs.h.  */
7021
 
_ACEOF
7022
 
cat confdefs.h >>conftest.$ac_ext
7023
 
cat >>conftest.$ac_ext <<_ACEOF
7024
 
/* end confdefs.h.  */
7025
 
#include <$ac_header>
7026
 
_ACEOF
7027
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7028
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7029
 
  ac_status=$?
7030
 
  grep -v '^ *+' conftest.er1 >conftest.err
7031
 
  rm -f conftest.er1
7032
 
  cat conftest.err >&5
7033
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7034
 
  (exit $ac_status); } >/dev/null; then
7035
 
  if test -s conftest.err; then
7036
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
7037
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7038
 
  else
7039
 
    ac_cpp_err=
7040
 
  fi
7041
 
else
7042
 
  ac_cpp_err=yes
7043
 
fi
7044
 
if test -z "$ac_cpp_err"; then
7045
 
  ac_header_preproc=yes
7046
 
else
7047
 
  echo "$as_me: failed program was:" >&5
7048
 
sed 's/^/| /' conftest.$ac_ext >&5
7049
 
 
7050
 
  ac_header_preproc=no
7051
 
fi
7052
 
rm -f conftest.err conftest.$ac_ext
7053
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7054
 
echo "${ECHO_T}$ac_header_preproc" >&6
7055
 
 
7056
 
# So?  What about this header?
7057
 
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7058
 
  yes:no: )
7059
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7060
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7061
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7062
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7063
 
    ac_header_preproc=yes
7064
 
    ;;
7065
 
  no:yes:* )
7066
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7067
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7068
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7069
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7070
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7071
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7072
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7073
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7074
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7075
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7076
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7077
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7078
 
    (
7079
 
      cat <<\_ASBOX
7080
 
## ------------------------------- ##
7081
 
## Report this to the gold lists.  ##
7082
 
## ------------------------------- ##
7083
 
_ASBOX
7084
 
    ) |
7085
 
      sed "s/^/$as_me: WARNING:     /" >&2
7086
 
    ;;
7087
 
esac
7088
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
7089
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7090
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7091
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7092
 
else
7093
 
  eval "$as_ac_Header=\$ac_header_preproc"
7094
 
fi
7095
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7096
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7097
 
 
7098
 
fi
7099
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
6628
do :
 
6629
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6630
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
6631
eval as_val=\$$as_ac_Header
 
6632
   if test "x$as_val" = x""yes; then :
7100
6633
  cat >>confdefs.h <<_ACEOF
7101
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6634
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7102
6635
_ACEOF
7103
6636
 
7104
6637
fi
7105
6638
 
7106
6639
done
7107
6640
 
7108
 
 
7109
6641
for ac_header in byteswap.h
7110
 
do
7111
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7112
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7113
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
7114
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7115
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7116
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7117
 
fi
7118
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7119
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7120
 
else
7121
 
  # Is the header compilable?
7122
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
7123
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7124
 
cat >conftest.$ac_ext <<_ACEOF
7125
 
/* confdefs.h.  */
7126
 
_ACEOF
7127
 
cat confdefs.h >>conftest.$ac_ext
7128
 
cat >>conftest.$ac_ext <<_ACEOF
7129
 
/* end confdefs.h.  */
7130
 
$ac_includes_default
7131
 
#include <$ac_header>
7132
 
_ACEOF
7133
 
rm -f conftest.$ac_objext
7134
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7135
 
  (eval $ac_compile) 2>conftest.er1
7136
 
  ac_status=$?
7137
 
  grep -v '^ *+' conftest.er1 >conftest.err
7138
 
  rm -f conftest.er1
7139
 
  cat conftest.err >&5
7140
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141
 
  (exit $ac_status); } &&
7142
 
         { ac_try='test -z "$ac_cxx_werror_flag"
7143
 
                         || test ! -s conftest.err'
7144
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7145
 
  (eval $ac_try) 2>&5
7146
 
  ac_status=$?
7147
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7148
 
  (exit $ac_status); }; } &&
7149
 
         { ac_try='test -s conftest.$ac_objext'
7150
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7151
 
  (eval $ac_try) 2>&5
7152
 
  ac_status=$?
7153
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154
 
  (exit $ac_status); }; }; then
7155
 
  ac_header_compiler=yes
7156
 
else
7157
 
  echo "$as_me: failed program was:" >&5
7158
 
sed 's/^/| /' conftest.$ac_ext >&5
7159
 
 
7160
 
ac_header_compiler=no
7161
 
fi
7162
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7163
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7164
 
echo "${ECHO_T}$ac_header_compiler" >&6
7165
 
 
7166
 
# Is the header present?
7167
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7168
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7169
 
cat >conftest.$ac_ext <<_ACEOF
7170
 
/* confdefs.h.  */
7171
 
_ACEOF
7172
 
cat confdefs.h >>conftest.$ac_ext
7173
 
cat >>conftest.$ac_ext <<_ACEOF
7174
 
/* end confdefs.h.  */
7175
 
#include <$ac_header>
7176
 
_ACEOF
7177
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7178
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7179
 
  ac_status=$?
7180
 
  grep -v '^ *+' conftest.er1 >conftest.err
7181
 
  rm -f conftest.er1
7182
 
  cat conftest.err >&5
7183
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7184
 
  (exit $ac_status); } >/dev/null; then
7185
 
  if test -s conftest.err; then
7186
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
7187
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7188
 
  else
7189
 
    ac_cpp_err=
7190
 
  fi
7191
 
else
7192
 
  ac_cpp_err=yes
7193
 
fi
7194
 
if test -z "$ac_cpp_err"; then
7195
 
  ac_header_preproc=yes
7196
 
else
7197
 
  echo "$as_me: failed program was:" >&5
7198
 
sed 's/^/| /' conftest.$ac_ext >&5
7199
 
 
7200
 
  ac_header_preproc=no
7201
 
fi
7202
 
rm -f conftest.err conftest.$ac_ext
7203
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7204
 
echo "${ECHO_T}$ac_header_preproc" >&6
7205
 
 
7206
 
# So?  What about this header?
7207
 
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7208
 
  yes:no: )
7209
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7210
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7211
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7212
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7213
 
    ac_header_preproc=yes
7214
 
    ;;
7215
 
  no:yes:* )
7216
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7217
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7218
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7219
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7220
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7221
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7222
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7223
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7224
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7225
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7226
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7227
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7228
 
    (
7229
 
      cat <<\_ASBOX
7230
 
## ------------------------------- ##
7231
 
## Report this to the gold lists.  ##
7232
 
## ------------------------------- ##
7233
 
_ASBOX
7234
 
    ) |
7235
 
      sed "s/^/$as_me: WARNING:     /" >&2
7236
 
    ;;
7237
 
esac
7238
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
7239
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7240
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7241
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7242
 
else
7243
 
  eval "$as_ac_Header=\$ac_header_preproc"
7244
 
fi
7245
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7246
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7247
 
 
7248
 
fi
7249
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
6642
do :
 
6643
  ac_fn_cxx_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
 
6644
if test "x$ac_cv_header_byteswap_h" = x""yes; then :
7250
6645
  cat >>confdefs.h <<_ACEOF
7251
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6646
#define HAVE_BYTESWAP_H 1
7252
6647
_ACEOF
7253
6648
 
7254
6649
fi
7255
6650
 
7256
6651
done
7257
6652
 
7258
 
 
7259
 
 
7260
6653
for ac_func in mallinfo posix_fallocate
7261
 
do
7262
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7263
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
7264
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7265
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
7266
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7267
 
else
7268
 
  cat >conftest.$ac_ext <<_ACEOF
7269
 
/* confdefs.h.  */
7270
 
_ACEOF
7271
 
cat confdefs.h >>conftest.$ac_ext
7272
 
cat >>conftest.$ac_ext <<_ACEOF
7273
 
/* end confdefs.h.  */
7274
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7275
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7276
 
#define $ac_func innocuous_$ac_func
7277
 
 
7278
 
/* System header to define __stub macros and hopefully few prototypes,
7279
 
    which can conflict with char $ac_func (); below.
7280
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7281
 
    <limits.h> exists even on freestanding compilers.  */
7282
 
 
7283
 
#ifdef __STDC__
7284
 
# include <limits.h>
7285
 
#else
7286
 
# include <assert.h>
7287
 
#endif
7288
 
 
7289
 
#undef $ac_func
7290
 
 
7291
 
/* Override any gcc2 internal prototype to avoid an error.  */
7292
 
#ifdef __cplusplus
7293
 
extern "C"
7294
 
{
7295
 
#endif
7296
 
/* We use char because int might match the return type of a gcc2
7297
 
   builtin and then its argument prototype would still apply.  */
7298
 
char $ac_func ();
7299
 
/* The GNU C library defines this for functions which it implements
7300
 
    to always fail with ENOSYS.  Some functions are actually named
7301
 
    something starting with __ and the normal name is an alias.  */
7302
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7303
 
choke me
7304
 
#else
7305
 
char (*f) () = $ac_func;
7306
 
#endif
7307
 
#ifdef __cplusplus
7308
 
}
7309
 
#endif
7310
 
 
7311
 
int
7312
 
main ()
7313
 
{
7314
 
return f != $ac_func;
7315
 
  ;
7316
 
  return 0;
7317
 
}
7318
 
_ACEOF
7319
 
rm -f conftest.$ac_objext conftest$ac_exeext
7320
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7321
 
  (eval $ac_link) 2>conftest.er1
7322
 
  ac_status=$?
7323
 
  grep -v '^ *+' conftest.er1 >conftest.err
7324
 
  rm -f conftest.er1
7325
 
  cat conftest.err >&5
7326
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327
 
  (exit $ac_status); } &&
7328
 
         { ac_try='test -z "$ac_cxx_werror_flag"
7329
 
                         || test ! -s conftest.err'
7330
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7331
 
  (eval $ac_try) 2>&5
7332
 
  ac_status=$?
7333
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7334
 
  (exit $ac_status); }; } &&
7335
 
         { ac_try='test -s conftest$ac_exeext'
7336
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7337
 
  (eval $ac_try) 2>&5
7338
 
  ac_status=$?
7339
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7340
 
  (exit $ac_status); }; }; then
7341
 
  eval "$as_ac_var=yes"
7342
 
else
7343
 
  echo "$as_me: failed program was:" >&5
7344
 
sed 's/^/| /' conftest.$ac_ext >&5
7345
 
 
7346
 
eval "$as_ac_var=no"
7347
 
fi
7348
 
rm -f conftest.err conftest.$ac_objext \
7349
 
      conftest$ac_exeext conftest.$ac_ext
7350
 
fi
7351
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7352
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7353
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
6654
do :
 
6655
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
6656
ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
6657
eval as_val=\$$as_ac_var
 
6658
   if test "x$as_val" = x""yes; then :
7354
6659
  cat >>confdefs.h <<_ACEOF
7355
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
6660
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7356
6661
_ACEOF
7357
6662
 
7358
6663
fi
7359
6664
done
7360
6665
 
7361
 
echo "$as_me:$LINENO: checking whether basename is declared" >&5
7362
 
echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
7363
 
if test "${ac_cv_have_decl_basename+set}" = set; then
7364
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7365
 
else
7366
 
  cat >conftest.$ac_ext <<_ACEOF
7367
 
/* confdefs.h.  */
7368
 
_ACEOF
7369
 
cat confdefs.h >>conftest.$ac_ext
7370
 
cat >>conftest.$ac_ext <<_ACEOF
7371
 
/* end confdefs.h.  */
7372
 
$ac_includes_default
7373
 
int
7374
 
main ()
7375
 
{
7376
 
#ifndef basename
7377
 
  char *p = (char *) basename;
7378
 
#endif
7379
 
 
7380
 
  ;
7381
 
  return 0;
7382
 
}
7383
 
_ACEOF
7384
 
rm -f conftest.$ac_objext
7385
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7386
 
  (eval $ac_compile) 2>conftest.er1
7387
 
  ac_status=$?
7388
 
  grep -v '^ *+' conftest.er1 >conftest.err
7389
 
  rm -f conftest.er1
7390
 
  cat conftest.err >&5
7391
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7392
 
  (exit $ac_status); } &&
7393
 
         { ac_try='test -z "$ac_cxx_werror_flag"
7394
 
                         || test ! -s conftest.err'
7395
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7396
 
  (eval $ac_try) 2>&5
7397
 
  ac_status=$?
7398
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7399
 
  (exit $ac_status); }; } &&
7400
 
         { ac_try='test -s conftest.$ac_objext'
7401
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7402
 
  (eval $ac_try) 2>&5
7403
 
  ac_status=$?
7404
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7405
 
  (exit $ac_status); }; }; then
7406
 
  ac_cv_have_decl_basename=yes
7407
 
else
7408
 
  echo "$as_me: failed program was:" >&5
7409
 
sed 's/^/| /' conftest.$ac_ext >&5
7410
 
 
7411
 
ac_cv_have_decl_basename=no
7412
 
fi
7413
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7414
 
fi
7415
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
7416
 
echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
7417
 
if test $ac_cv_have_decl_basename = yes; then
7418
 
 
7419
 
cat >>confdefs.h <<_ACEOF
7420
 
#define HAVE_DECL_BASENAME 1
7421
 
_ACEOF
7422
 
 
7423
 
 
7424
 
else
7425
 
  cat >>confdefs.h <<_ACEOF
7426
 
#define HAVE_DECL_BASENAME 0
7427
 
_ACEOF
7428
 
 
7429
 
 
7430
 
fi
7431
 
echo "$as_me:$LINENO: checking whether ffs is declared" >&5
7432
 
echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
7433
 
if test "${ac_cv_have_decl_ffs+set}" = set; then
7434
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7435
 
else
7436
 
  cat >conftest.$ac_ext <<_ACEOF
7437
 
/* confdefs.h.  */
7438
 
_ACEOF
7439
 
cat confdefs.h >>conftest.$ac_ext
7440
 
cat >>conftest.$ac_ext <<_ACEOF
7441
 
/* end confdefs.h.  */
7442
 
$ac_includes_default
7443
 
int
7444
 
main ()
7445
 
{
7446
 
#ifndef ffs
7447
 
  char *p = (char *) ffs;
7448
 
#endif
7449
 
 
7450
 
  ;
7451
 
  return 0;
7452
 
}
7453
 
_ACEOF
7454
 
rm -f conftest.$ac_objext
7455
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7456
 
  (eval $ac_compile) 2>conftest.er1
7457
 
  ac_status=$?
7458
 
  grep -v '^ *+' conftest.er1 >conftest.err
7459
 
  rm -f conftest.er1
7460
 
  cat conftest.err >&5
7461
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462
 
  (exit $ac_status); } &&
7463
 
         { ac_try='test -z "$ac_cxx_werror_flag"
7464
 
                         || test ! -s conftest.err'
7465
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7466
 
  (eval $ac_try) 2>&5
7467
 
  ac_status=$?
7468
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7469
 
  (exit $ac_status); }; } &&
7470
 
         { ac_try='test -s conftest.$ac_objext'
7471
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7472
 
  (eval $ac_try) 2>&5
7473
 
  ac_status=$?
7474
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475
 
  (exit $ac_status); }; }; then
7476
 
  ac_cv_have_decl_ffs=yes
7477
 
else
7478
 
  echo "$as_me: failed program was:" >&5
7479
 
sed 's/^/| /' conftest.$ac_ext >&5
7480
 
 
7481
 
ac_cv_have_decl_ffs=no
7482
 
fi
7483
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7484
 
fi
7485
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
7486
 
echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
7487
 
if test $ac_cv_have_decl_ffs = yes; then
7488
 
 
7489
 
cat >>confdefs.h <<_ACEOF
7490
 
#define HAVE_DECL_FFS 1
7491
 
_ACEOF
7492
 
 
7493
 
 
7494
 
else
7495
 
  cat >>confdefs.h <<_ACEOF
7496
 
#define HAVE_DECL_FFS 0
7497
 
_ACEOF
7498
 
 
7499
 
 
7500
 
fi
7501
 
echo "$as_me:$LINENO: checking whether asprintf is declared" >&5
7502
 
echo $ECHO_N "checking whether asprintf is declared... $ECHO_C" >&6
7503
 
if test "${ac_cv_have_decl_asprintf+set}" = set; then
7504
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7505
 
else
7506
 
  cat >conftest.$ac_ext <<_ACEOF
7507
 
/* confdefs.h.  */
7508
 
_ACEOF
7509
 
cat confdefs.h >>conftest.$ac_ext
7510
 
cat >>conftest.$ac_ext <<_ACEOF
7511
 
/* end confdefs.h.  */
7512
 
$ac_includes_default
7513
 
int
7514
 
main ()
7515
 
{
7516
 
#ifndef asprintf
7517
 
  char *p = (char *) asprintf;
7518
 
#endif
7519
 
 
7520
 
  ;
7521
 
  return 0;
7522
 
}
7523
 
_ACEOF
7524
 
rm -f conftest.$ac_objext
7525
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7526
 
  (eval $ac_compile) 2>conftest.er1
7527
 
  ac_status=$?
7528
 
  grep -v '^ *+' conftest.er1 >conftest.err
7529
 
  rm -f conftest.er1
7530
 
  cat conftest.err >&5
7531
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532
 
  (exit $ac_status); } &&
7533
 
         { ac_try='test -z "$ac_cxx_werror_flag"
7534
 
                         || test ! -s conftest.err'
7535
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7536
 
  (eval $ac_try) 2>&5
7537
 
  ac_status=$?
7538
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7539
 
  (exit $ac_status); }; } &&
7540
 
         { ac_try='test -s conftest.$ac_objext'
7541
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7542
 
  (eval $ac_try) 2>&5
7543
 
  ac_status=$?
7544
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7545
 
  (exit $ac_status); }; }; then
7546
 
  ac_cv_have_decl_asprintf=yes
7547
 
else
7548
 
  echo "$as_me: failed program was:" >&5
7549
 
sed 's/^/| /' conftest.$ac_ext >&5
7550
 
 
7551
 
ac_cv_have_decl_asprintf=no
7552
 
fi
7553
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7554
 
fi
7555
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl_asprintf" >&5
7556
 
echo "${ECHO_T}$ac_cv_have_decl_asprintf" >&6
7557
 
if test $ac_cv_have_decl_asprintf = yes; then
7558
 
 
7559
 
cat >>confdefs.h <<_ACEOF
7560
 
#define HAVE_DECL_ASPRINTF 1
7561
 
_ACEOF
7562
 
 
7563
 
 
7564
 
else
7565
 
  cat >>confdefs.h <<_ACEOF
7566
 
#define HAVE_DECL_ASPRINTF 0
7567
 
_ACEOF
7568
 
 
7569
 
 
7570
 
fi
7571
 
echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5
7572
 
echo $ECHO_N "checking whether vasprintf is declared... $ECHO_C" >&6
7573
 
if test "${ac_cv_have_decl_vasprintf+set}" = set; then
7574
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7575
 
else
7576
 
  cat >conftest.$ac_ext <<_ACEOF
7577
 
/* confdefs.h.  */
7578
 
_ACEOF
7579
 
cat confdefs.h >>conftest.$ac_ext
7580
 
cat >>conftest.$ac_ext <<_ACEOF
7581
 
/* end confdefs.h.  */
7582
 
$ac_includes_default
7583
 
int
7584
 
main ()
7585
 
{
7586
 
#ifndef vasprintf
7587
 
  char *p = (char *) vasprintf;
7588
 
#endif
7589
 
 
7590
 
  ;
7591
 
  return 0;
7592
 
}
7593
 
_ACEOF
7594
 
rm -f conftest.$ac_objext
7595
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7596
 
  (eval $ac_compile) 2>conftest.er1
7597
 
  ac_status=$?
7598
 
  grep -v '^ *+' conftest.er1 >conftest.err
7599
 
  rm -f conftest.er1
7600
 
  cat conftest.err >&5
7601
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7602
 
  (exit $ac_status); } &&
7603
 
         { ac_try='test -z "$ac_cxx_werror_flag"
7604
 
                         || test ! -s conftest.err'
7605
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7606
 
  (eval $ac_try) 2>&5
7607
 
  ac_status=$?
7608
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609
 
  (exit $ac_status); }; } &&
7610
 
         { ac_try='test -s conftest.$ac_objext'
7611
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7612
 
  (eval $ac_try) 2>&5
7613
 
  ac_status=$?
7614
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7615
 
  (exit $ac_status); }; }; then
7616
 
  ac_cv_have_decl_vasprintf=yes
7617
 
else
7618
 
  echo "$as_me: failed program was:" >&5
7619
 
sed 's/^/| /' conftest.$ac_ext >&5
7620
 
 
7621
 
ac_cv_have_decl_vasprintf=no
7622
 
fi
7623
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7624
 
fi
7625
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5
7626
 
echo "${ECHO_T}$ac_cv_have_decl_vasprintf" >&6
7627
 
if test $ac_cv_have_decl_vasprintf = yes; then
7628
 
 
7629
 
cat >>confdefs.h <<_ACEOF
7630
 
#define HAVE_DECL_VASPRINTF 1
7631
 
_ACEOF
7632
 
 
7633
 
 
7634
 
else
7635
 
  cat >>confdefs.h <<_ACEOF
7636
 
#define HAVE_DECL_VASPRINTF 0
7637
 
_ACEOF
7638
 
 
7639
 
 
7640
 
fi
7641
 
echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
7642
 
echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
7643
 
if test "${ac_cv_have_decl_snprintf+set}" = set; then
7644
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7645
 
else
7646
 
  cat >conftest.$ac_ext <<_ACEOF
7647
 
/* confdefs.h.  */
7648
 
_ACEOF
7649
 
cat confdefs.h >>conftest.$ac_ext
7650
 
cat >>conftest.$ac_ext <<_ACEOF
7651
 
/* end confdefs.h.  */
7652
 
$ac_includes_default
7653
 
int
7654
 
main ()
7655
 
{
7656
 
#ifndef snprintf
7657
 
  char *p = (char *) snprintf;
7658
 
#endif
7659
 
 
7660
 
  ;
7661
 
  return 0;
7662
 
}
7663
 
_ACEOF
7664
 
rm -f conftest.$ac_objext
7665
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7666
 
  (eval $ac_compile) 2>conftest.er1
7667
 
  ac_status=$?
7668
 
  grep -v '^ *+' conftest.er1 >conftest.err
7669
 
  rm -f conftest.er1
7670
 
  cat conftest.err >&5
7671
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7672
 
  (exit $ac_status); } &&
7673
 
         { ac_try='test -z "$ac_cxx_werror_flag"
7674
 
                         || test ! -s conftest.err'
7675
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7676
 
  (eval $ac_try) 2>&5
7677
 
  ac_status=$?
7678
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679
 
  (exit $ac_status); }; } &&
7680
 
         { ac_try='test -s conftest.$ac_objext'
7681
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7682
 
  (eval $ac_try) 2>&5
7683
 
  ac_status=$?
7684
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7685
 
  (exit $ac_status); }; }; then
7686
 
  ac_cv_have_decl_snprintf=yes
7687
 
else
7688
 
  echo "$as_me: failed program was:" >&5
7689
 
sed 's/^/| /' conftest.$ac_ext >&5
7690
 
 
7691
 
ac_cv_have_decl_snprintf=no
7692
 
fi
7693
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7694
 
fi
7695
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
7696
 
echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
7697
 
if test $ac_cv_have_decl_snprintf = yes; then
7698
 
 
7699
 
cat >>confdefs.h <<_ACEOF
7700
 
#define HAVE_DECL_SNPRINTF 1
7701
 
_ACEOF
7702
 
 
7703
 
 
7704
 
else
7705
 
  cat >>confdefs.h <<_ACEOF
7706
 
#define HAVE_DECL_SNPRINTF 0
7707
 
_ACEOF
7708
 
 
7709
 
 
7710
 
fi
7711
 
echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
7712
 
echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
7713
 
if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
7714
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7715
 
else
7716
 
  cat >conftest.$ac_ext <<_ACEOF
7717
 
/* confdefs.h.  */
7718
 
_ACEOF
7719
 
cat confdefs.h >>conftest.$ac_ext
7720
 
cat >>conftest.$ac_ext <<_ACEOF
7721
 
/* end confdefs.h.  */
7722
 
$ac_includes_default
7723
 
int
7724
 
main ()
7725
 
{
7726
 
#ifndef vsnprintf
7727
 
  char *p = (char *) vsnprintf;
7728
 
#endif
7729
 
 
7730
 
  ;
7731
 
  return 0;
7732
 
}
7733
 
_ACEOF
7734
 
rm -f conftest.$ac_objext
7735
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7736
 
  (eval $ac_compile) 2>conftest.er1
7737
 
  ac_status=$?
7738
 
  grep -v '^ *+' conftest.er1 >conftest.err
7739
 
  rm -f conftest.er1
7740
 
  cat conftest.err >&5
7741
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7742
 
  (exit $ac_status); } &&
7743
 
         { ac_try='test -z "$ac_cxx_werror_flag"
7744
 
                         || test ! -s conftest.err'
7745
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7746
 
  (eval $ac_try) 2>&5
7747
 
  ac_status=$?
7748
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7749
 
  (exit $ac_status); }; } &&
7750
 
         { ac_try='test -s conftest.$ac_objext'
7751
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7752
 
  (eval $ac_try) 2>&5
7753
 
  ac_status=$?
7754
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7755
 
  (exit $ac_status); }; }; then
7756
 
  ac_cv_have_decl_vsnprintf=yes
7757
 
else
7758
 
  echo "$as_me: failed program was:" >&5
7759
 
sed 's/^/| /' conftest.$ac_ext >&5
7760
 
 
7761
 
ac_cv_have_decl_vsnprintf=no
7762
 
fi
7763
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7764
 
fi
7765
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
7766
 
echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
7767
 
if test $ac_cv_have_decl_vsnprintf = yes; then
7768
 
 
7769
 
cat >>confdefs.h <<_ACEOF
7770
 
#define HAVE_DECL_VSNPRINTF 1
7771
 
_ACEOF
7772
 
 
7773
 
 
7774
 
else
7775
 
  cat >>confdefs.h <<_ACEOF
7776
 
#define HAVE_DECL_VSNPRINTF 0
7777
 
_ACEOF
7778
 
 
7779
 
 
7780
 
fi
7781
 
echo "$as_me:$LINENO: checking whether strverscmp is declared" >&5
7782
 
echo $ECHO_N "checking whether strverscmp is declared... $ECHO_C" >&6
7783
 
if test "${ac_cv_have_decl_strverscmp+set}" = set; then
7784
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7785
 
else
7786
 
  cat >conftest.$ac_ext <<_ACEOF
7787
 
/* confdefs.h.  */
7788
 
_ACEOF
7789
 
cat confdefs.h >>conftest.$ac_ext
7790
 
cat >>conftest.$ac_ext <<_ACEOF
7791
 
/* end confdefs.h.  */
7792
 
$ac_includes_default
7793
 
int
7794
 
main ()
7795
 
{
7796
 
#ifndef strverscmp
7797
 
  char *p = (char *) strverscmp;
7798
 
#endif
7799
 
 
7800
 
  ;
7801
 
  return 0;
7802
 
}
7803
 
_ACEOF
7804
 
rm -f conftest.$ac_objext
7805
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7806
 
  (eval $ac_compile) 2>conftest.er1
7807
 
  ac_status=$?
7808
 
  grep -v '^ *+' conftest.er1 >conftest.err
7809
 
  rm -f conftest.er1
7810
 
  cat conftest.err >&5
7811
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812
 
  (exit $ac_status); } &&
7813
 
         { ac_try='test -z "$ac_cxx_werror_flag"
7814
 
                         || test ! -s conftest.err'
7815
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7816
 
  (eval $ac_try) 2>&5
7817
 
  ac_status=$?
7818
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7819
 
  (exit $ac_status); }; } &&
7820
 
         { ac_try='test -s conftest.$ac_objext'
7821
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7822
 
  (eval $ac_try) 2>&5
7823
 
  ac_status=$?
7824
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7825
 
  (exit $ac_status); }; }; then
7826
 
  ac_cv_have_decl_strverscmp=yes
7827
 
else
7828
 
  echo "$as_me: failed program was:" >&5
7829
 
sed 's/^/| /' conftest.$ac_ext >&5
7830
 
 
7831
 
ac_cv_have_decl_strverscmp=no
7832
 
fi
7833
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7834
 
fi
7835
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl_strverscmp" >&5
7836
 
echo "${ECHO_T}$ac_cv_have_decl_strverscmp" >&6
7837
 
if test $ac_cv_have_decl_strverscmp = yes; then
7838
 
 
7839
 
cat >>confdefs.h <<_ACEOF
7840
 
#define HAVE_DECL_STRVERSCMP 1
7841
 
_ACEOF
7842
 
 
7843
 
 
7844
 
else
7845
 
  cat >>confdefs.h <<_ACEOF
7846
 
#define HAVE_DECL_STRVERSCMP 0
7847
 
_ACEOF
7848
 
 
7849
 
 
7850
 
fi
7851
 
echo "$as_me:$LINENO: checking whether strndup is declared" >&5
7852
 
echo $ECHO_N "checking whether strndup is declared... $ECHO_C" >&6
7853
 
if test "${ac_cv_have_decl_strndup+set}" = set; then
7854
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7855
 
else
7856
 
  cat >conftest.$ac_ext <<_ACEOF
7857
 
/* confdefs.h.  */
7858
 
_ACEOF
7859
 
cat confdefs.h >>conftest.$ac_ext
7860
 
cat >>conftest.$ac_ext <<_ACEOF
7861
 
/* end confdefs.h.  */
7862
 
$ac_includes_default
7863
 
int
7864
 
main ()
7865
 
{
7866
 
#ifndef strndup
7867
 
  char *p = (char *) strndup;
7868
 
#endif
7869
 
 
7870
 
  ;
7871
 
  return 0;
7872
 
}
7873
 
_ACEOF
7874
 
rm -f conftest.$ac_objext
7875
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7876
 
  (eval $ac_compile) 2>conftest.er1
7877
 
  ac_status=$?
7878
 
  grep -v '^ *+' conftest.er1 >conftest.err
7879
 
  rm -f conftest.er1
7880
 
  cat conftest.err >&5
7881
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7882
 
  (exit $ac_status); } &&
7883
 
         { ac_try='test -z "$ac_cxx_werror_flag"
7884
 
                         || test ! -s conftest.err'
7885
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7886
 
  (eval $ac_try) 2>&5
7887
 
  ac_status=$?
7888
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7889
 
  (exit $ac_status); }; } &&
7890
 
         { ac_try='test -s conftest.$ac_objext'
7891
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7892
 
  (eval $ac_try) 2>&5
7893
 
  ac_status=$?
7894
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895
 
  (exit $ac_status); }; }; then
7896
 
  ac_cv_have_decl_strndup=yes
7897
 
else
7898
 
  echo "$as_me: failed program was:" >&5
7899
 
sed 's/^/| /' conftest.$ac_ext >&5
7900
 
 
7901
 
ac_cv_have_decl_strndup=no
7902
 
fi
7903
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7904
 
fi
7905
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl_strndup" >&5
7906
 
echo "${ECHO_T}$ac_cv_have_decl_strndup" >&6
7907
 
if test $ac_cv_have_decl_strndup = yes; then
7908
 
 
7909
 
cat >>confdefs.h <<_ACEOF
7910
 
#define HAVE_DECL_STRNDUP 1
7911
 
_ACEOF
7912
 
 
7913
 
 
7914
 
else
7915
 
  cat >>confdefs.h <<_ACEOF
7916
 
#define HAVE_DECL_STRNDUP 0
7917
 
_ACEOF
7918
 
 
7919
 
 
7920
 
fi
7921
 
echo "$as_me:$LINENO: checking whether memmem is declared" >&5
7922
 
echo $ECHO_N "checking whether memmem is declared... $ECHO_C" >&6
7923
 
if test "${ac_cv_have_decl_memmem+set}" = set; then
7924
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7925
 
else
7926
 
  cat >conftest.$ac_ext <<_ACEOF
7927
 
/* confdefs.h.  */
7928
 
_ACEOF
7929
 
cat confdefs.h >>conftest.$ac_ext
7930
 
cat >>conftest.$ac_ext <<_ACEOF
7931
 
/* end confdefs.h.  */
7932
 
$ac_includes_default
7933
 
int
7934
 
main ()
7935
 
{
7936
 
#ifndef memmem
7937
 
  char *p = (char *) memmem;
7938
 
#endif
7939
 
 
7940
 
  ;
7941
 
  return 0;
7942
 
}
7943
 
_ACEOF
7944
 
rm -f conftest.$ac_objext
7945
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7946
 
  (eval $ac_compile) 2>conftest.er1
7947
 
  ac_status=$?
7948
 
  grep -v '^ *+' conftest.er1 >conftest.err
7949
 
  rm -f conftest.er1
7950
 
  cat conftest.err >&5
7951
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7952
 
  (exit $ac_status); } &&
7953
 
         { ac_try='test -z "$ac_cxx_werror_flag"
7954
 
                         || test ! -s conftest.err'
7955
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7956
 
  (eval $ac_try) 2>&5
7957
 
  ac_status=$?
7958
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7959
 
  (exit $ac_status); }; } &&
7960
 
         { ac_try='test -s conftest.$ac_objext'
7961
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7962
 
  (eval $ac_try) 2>&5
7963
 
  ac_status=$?
7964
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7965
 
  (exit $ac_status); }; }; then
7966
 
  ac_cv_have_decl_memmem=yes
7967
 
else
7968
 
  echo "$as_me: failed program was:" >&5
7969
 
sed 's/^/| /' conftest.$ac_ext >&5
7970
 
 
7971
 
ac_cv_have_decl_memmem=no
7972
 
fi
7973
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7974
 
fi
7975
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl_memmem" >&5
7976
 
echo "${ECHO_T}$ac_cv_have_decl_memmem" >&6
7977
 
if test $ac_cv_have_decl_memmem = yes; then
7978
 
 
7979
 
cat >>confdefs.h <<_ACEOF
7980
 
#define HAVE_DECL_MEMMEM 1
7981
 
_ACEOF
7982
 
 
7983
 
 
7984
 
else
7985
 
  cat >>confdefs.h <<_ACEOF
7986
 
#define HAVE_DECL_MEMMEM 0
7987
 
_ACEOF
7988
 
 
7989
 
 
7990
 
fi
7991
 
 
 
6666
ac_fn_cxx_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
 
6667
if test "x$ac_cv_have_decl_basename" = x""yes; then :
 
6668
  ac_have_decl=1
 
6669
else
 
6670
  ac_have_decl=0
 
6671
fi
 
6672
 
 
6673
cat >>confdefs.h <<_ACEOF
 
6674
#define HAVE_DECL_BASENAME $ac_have_decl
 
6675
_ACEOF
 
6676
ac_fn_cxx_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
 
6677
if test "x$ac_cv_have_decl_ffs" = x""yes; then :
 
6678
  ac_have_decl=1
 
6679
else
 
6680
  ac_have_decl=0
 
6681
fi
 
6682
 
 
6683
cat >>confdefs.h <<_ACEOF
 
6684
#define HAVE_DECL_FFS $ac_have_decl
 
6685
_ACEOF
 
6686
ac_fn_cxx_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
 
6687
if test "x$ac_cv_have_decl_asprintf" = x""yes; then :
 
6688
  ac_have_decl=1
 
6689
else
 
6690
  ac_have_decl=0
 
6691
fi
 
6692
 
 
6693
cat >>confdefs.h <<_ACEOF
 
6694
#define HAVE_DECL_ASPRINTF $ac_have_decl
 
6695
_ACEOF
 
6696
ac_fn_cxx_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
 
6697
if test "x$ac_cv_have_decl_vasprintf" = x""yes; then :
 
6698
  ac_have_decl=1
 
6699
else
 
6700
  ac_have_decl=0
 
6701
fi
 
6702
 
 
6703
cat >>confdefs.h <<_ACEOF
 
6704
#define HAVE_DECL_VASPRINTF $ac_have_decl
 
6705
_ACEOF
 
6706
ac_fn_cxx_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
 
6707
if test "x$ac_cv_have_decl_snprintf" = x""yes; then :
 
6708
  ac_have_decl=1
 
6709
else
 
6710
  ac_have_decl=0
 
6711
fi
 
6712
 
 
6713
cat >>confdefs.h <<_ACEOF
 
6714
#define HAVE_DECL_SNPRINTF $ac_have_decl
 
6715
_ACEOF
 
6716
ac_fn_cxx_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
 
6717
if test "x$ac_cv_have_decl_vsnprintf" = x""yes; then :
 
6718
  ac_have_decl=1
 
6719
else
 
6720
  ac_have_decl=0
 
6721
fi
 
6722
 
 
6723
cat >>confdefs.h <<_ACEOF
 
6724
#define HAVE_DECL_VSNPRINTF $ac_have_decl
 
6725
_ACEOF
 
6726
ac_fn_cxx_check_decl "$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
 
6727
if test "x$ac_cv_have_decl_strverscmp" = x""yes; then :
 
6728
  ac_have_decl=1
 
6729
else
 
6730
  ac_have_decl=0
 
6731
fi
 
6732
 
 
6733
cat >>confdefs.h <<_ACEOF
 
6734
#define HAVE_DECL_STRVERSCMP $ac_have_decl
 
6735
_ACEOF
 
6736
ac_fn_cxx_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default"
 
6737
if test "x$ac_cv_have_decl_strndup" = x""yes; then :
 
6738
  ac_have_decl=1
 
6739
else
 
6740
  ac_have_decl=0
 
6741
fi
 
6742
 
 
6743
cat >>confdefs.h <<_ACEOF
 
6744
#define HAVE_DECL_STRNDUP $ac_have_decl
 
6745
_ACEOF
 
6746
ac_fn_cxx_check_decl "$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
 
6747
if test "x$ac_cv_have_decl_memmem" = x""yes; then :
 
6748
  ac_have_decl=1
 
6749
else
 
6750
  ac_have_decl=0
 
6751
fi
 
6752
 
 
6753
cat >>confdefs.h <<_ACEOF
 
6754
#define HAVE_DECL_MEMMEM $ac_have_decl
 
6755
_ACEOF
7992
6756
 
7993
6757
 
7994
6758
# Use of ::std::tr1::unordered_map::rehash causes undefined symbols
7995
6759
# at link time with some versions of GCC.
7996
 
echo "$as_me:$LINENO: checking whether ::std::tr1::unordered_map::rehash is usable." >&5
7997
 
echo $ECHO_N "checking whether ::std::tr1::unordered_map::rehash is usable.... $ECHO_C" >&6
7998
 
if test "${gold_cv_unordered_map_rehash+set}" = set; then
7999
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6760
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ::std::tr1::unordered_map::rehash is usable." >&5
 
6761
$as_echo_n "checking whether ::std::tr1::unordered_map::rehash is usable.... " >&6; }
 
6762
if test "${gold_cv_unordered_map_rehash+set}" = set; then :
 
6763
  $as_echo_n "(cached) " >&6
8000
6764
else
8001
 
  cat >conftest.$ac_ext <<_ACEOF
8002
 
/* confdefs.h.  */
8003
 
_ACEOF
8004
 
cat confdefs.h >>conftest.$ac_ext
8005
 
cat >>conftest.$ac_ext <<_ACEOF
 
6765
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8006
6766
/* end confdefs.h.  */
8007
6767
 
8008
6768
#include <tr1/unordered_map>
8016
6776
  return 0;
8017
6777
}
8018
6778
_ACEOF
8019
 
rm -f conftest.$ac_objext conftest$ac_exeext
8020
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8021
 
  (eval $ac_link) 2>conftest.er1
8022
 
  ac_status=$?
8023
 
  grep -v '^ *+' conftest.er1 >conftest.err
8024
 
  rm -f conftest.er1
8025
 
  cat conftest.err >&5
8026
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8027
 
  (exit $ac_status); } &&
8028
 
         { ac_try='test -z "$ac_cxx_werror_flag"
8029
 
                         || test ! -s conftest.err'
8030
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8031
 
  (eval $ac_try) 2>&5
8032
 
  ac_status=$?
8033
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8034
 
  (exit $ac_status); }; } &&
8035
 
         { ac_try='test -s conftest$ac_exeext'
8036
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8037
 
  (eval $ac_try) 2>&5
8038
 
  ac_status=$?
8039
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040
 
  (exit $ac_status); }; }; then
 
6779
if ac_fn_cxx_try_link "$LINENO"; then :
8041
6780
  gold_cv_unordered_map_rehash=yes
8042
6781
else
8043
 
  echo "$as_me: failed program was:" >&5
8044
 
sed 's/^/| /' conftest.$ac_ext >&5
8045
 
 
8046
 
gold_cv_unordered_map_rehash=no
8047
 
fi
8048
 
rm -f conftest.err conftest.$ac_objext \
8049
 
      conftest$ac_exeext conftest.$ac_ext
8050
 
fi
8051
 
echo "$as_me:$LINENO: result: $gold_cv_unordered_map_rehash" >&5
8052
 
echo "${ECHO_T}$gold_cv_unordered_map_rehash" >&6
 
6782
  gold_cv_unordered_map_rehash=no
 
6783
fi
 
6784
rm -f core conftest.err conftest.$ac_objext \
 
6785
    conftest$ac_exeext conftest.$ac_ext
 
6786
fi
 
6787
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_unordered_map_rehash" >&5
 
6788
$as_echo "$gold_cv_unordered_map_rehash" >&6; }
8053
6789
if test "$gold_cv_unordered_map_rehash" = "yes"; then
8054
6790
 
8055
 
cat >>confdefs.h <<\_ACEOF
8056
 
#define HAVE_TR1_UNORDERED_MAP_REHASH 1
8057
 
_ACEOF
 
6791
$as_echo "#define HAVE_TR1_UNORDERED_MAP_REHASH 1" >>confdefs.h
8058
6792
 
8059
6793
fi
8060
6794
 
8061
6795
# gcc 4.3.0 doesn't recognize the printf attribute on a template
8062
6796
# function.  Check for that.  This is gcc bug 35546.  This test can
8063
6797
# probably be removed after the bug has been fixed for a while.
8064
 
echo "$as_me:$LINENO: checking whether we can use attributes with template functions" >&5
8065
 
echo $ECHO_N "checking whether we can use attributes with template functions... $ECHO_C" >&6
8066
 
if test "${gold_cv_template_attribute+set}" = set; then
8067
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6798
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use attributes with template functions" >&5
 
6799
$as_echo_n "checking whether we can use attributes with template functions... " >&6; }
 
6800
if test "${gold_cv_template_attribute+set}" = set; then :
 
6801
  $as_echo_n "(cached) " >&6
8068
6802
else
8069
 
  cat >conftest.$ac_ext <<_ACEOF
 
6803
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6804
/* end confdefs.h.  */
8070
6805
 
8071
6806
template<typename T> extern void foo(const char*, ...)
8072
6807
  __attribute__ ((__format__ (__printf__, 1, 2)));
8074
6809
void bar() { foo<int>("%s\n", "foo"); }
8075
6810
 
8076
6811
_ACEOF
8077
 
rm -f conftest.$ac_objext
8078
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8079
 
  (eval $ac_compile) 2>conftest.er1
8080
 
  ac_status=$?
8081
 
  grep -v '^ *+' conftest.er1 >conftest.err
8082
 
  rm -f conftest.er1
8083
 
  cat conftest.err >&5
8084
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8085
 
  (exit $ac_status); } &&
8086
 
         { ac_try='test -z "$ac_cxx_werror_flag"
8087
 
                         || test ! -s conftest.err'
8088
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8089
 
  (eval $ac_try) 2>&5
8090
 
  ac_status=$?
8091
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8092
 
  (exit $ac_status); }; } &&
8093
 
         { ac_try='test -s conftest.$ac_objext'
8094
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8095
 
  (eval $ac_try) 2>&5
8096
 
  ac_status=$?
8097
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8098
 
  (exit $ac_status); }; }; then
 
6812
if ac_fn_cxx_try_compile "$LINENO"; then :
8099
6813
  gold_cv_template_attribute=yes
8100
6814
else
8101
 
  echo "$as_me: failed program was:" >&5
8102
 
sed 's/^/| /' conftest.$ac_ext >&5
8103
 
 
8104
 
gold_cv_template_attribute=no
8105
 
fi
8106
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8107
 
fi
8108
 
echo "$as_me:$LINENO: result: $gold_cv_template_attribute" >&5
8109
 
echo "${ECHO_T}$gold_cv_template_attribute" >&6
 
6815
  gold_cv_template_attribute=no
 
6816
fi
 
6817
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6818
fi
 
6819
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_template_attribute" >&5
 
6820
$as_echo "$gold_cv_template_attribute" >&6; }
8110
6821
if test "$gold_cv_template_attribute" = "yes"; then
8111
6822
 
8112
 
cat >>confdefs.h <<\_ACEOF
8113
 
#define HAVE_TEMPLATE_ATTRIBUTES 1
8114
 
_ACEOF
 
6823
$as_echo "#define HAVE_TEMPLATE_ATTRIBUTES 1" >>confdefs.h
8115
6824
 
8116
6825
fi
8117
6826
 
8122
6831
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8123
6832
 
8124
6833
 
8125
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
8126
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
8127
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
8128
 
if test "${enable_maintainer_mode+set}" = set; then
8129
 
  enableval="$enable_maintainer_mode"
8130
 
  USE_MAINTAINER_MODE=$enableval
 
6834
 
 
6835
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
6836
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 
6837
    # Check whether --enable-maintainer-mode was given.
 
6838
if test "${enable_maintainer_mode+set}" = set; then :
 
6839
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
8131
6840
else
8132
6841
  USE_MAINTAINER_MODE=no
8133
 
fi;
8134
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
8135
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
8136
 
 
8137
 
 
8138
 
if test $USE_MAINTAINER_MODE = yes; then
 
6842
fi
 
6843
 
 
6844
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 
6845
$as_echo "$USE_MAINTAINER_MODE" >&6; }
 
6846
   if test $USE_MAINTAINER_MODE = yes; then
8139
6847
  MAINTAINER_MODE_TRUE=
8140
6848
  MAINTAINER_MODE_FALSE='#'
8141
6849
else
8147
6855
 
8148
6856
 
8149
6857
 
8150
 
                              ac_config_files="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
 
6858
ac_config_files="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
 
6859
 
8151
6860
cat >confcache <<\_ACEOF
8152
6861
# This file is a shell script that caches the results of configure
8153
6862
# tests run on this system so they can be shared between configure
8166
6875
 
8167
6876
# The following way of writing the cache mishandles newlines in values,
8168
6877
# but we know of no workaround that is simple, portable, and efficient.
8169
 
# So, don't put newlines in cache variables' values.
 
6878
# So, we kill variables containing newlines.
8170
6879
# Ultrix sh set writes to stderr and can't be redirected directly,
8171
6880
# and sets the high bit in the cache file unless we assign to the vars.
8172
 
{
 
6881
(
 
6882
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
6883
    eval ac_val=\$$ac_var
 
6884
    case $ac_val in #(
 
6885
    *${as_nl}*)
 
6886
      case $ac_var in #(
 
6887
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
6888
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
6889
      esac
 
6890
      case $ac_var in #(
 
6891
      _ | IFS | as_nl) ;; #(
 
6892
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
6893
      *) { eval $ac_var=; unset $ac_var;} ;;
 
6894
      esac ;;
 
6895
    esac
 
6896
  done
 
6897
 
8173
6898
  (set) 2>&1 |
8174
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
8175
 
    *ac_space=\ *)
8176
 
      # `set' does not quote correctly, so add quotes (double-quote
8177
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
6899
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
6900
    *${as_nl}ac_space=\ *)
 
6901
      # `set' does not quote correctly, so add quotes: double-quote
 
6902
      # substitution turns \\\\ into \\, and sed turns \\ into \.
8178
6903
      sed -n \
8179
6904
        "s/'/'\\\\''/g;
8180
6905
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8181
 
      ;;
 
6906
      ;; #(
8182
6907
    *)
8183
6908
      # `set' quotes correctly as required by POSIX, so do not add quotes.
8184
 
      sed -n \
8185
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
6909
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8186
6910
      ;;
8187
 
    esac;
8188
 
} |
 
6911
    esac |
 
6912
    sort
 
6913
) |
8189
6914
  sed '
 
6915
     /^ac_cv_env_/b end
8190
6916
     t clear
8191
 
     : clear
 
6917
     :clear
8192
6918
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8193
6919
     t end
8194
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8195
 
     : end' >>confcache
8196
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
8197
 
  if test -w $cache_file; then
8198
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
6920
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
6921
     :end' >>confcache
 
6922
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
6923
  if test -w "$cache_file"; then
 
6924
    test "x$cache_file" != "x/dev/null" &&
 
6925
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
6926
$as_echo "$as_me: updating cache $cache_file" >&6;}
8199
6927
    cat confcache >$cache_file
8200
6928
  else
8201
 
    echo "not updating unwritable cache $cache_file"
 
6929
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
6930
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8202
6931
  fi
8203
6932
fi
8204
6933
rm -f confcache
8207
6936
# Let make expand exec_prefix.
8208
6937
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8209
6938
 
8210
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
8211
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8212
 
# trailing colons and then remove the whole line if VPATH becomes empty
8213
 
# (actually we leave an empty line to preserve line numbers).
8214
 
if test "x$srcdir" = x.; then
8215
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
8216
 
s/:*\$(srcdir):*/:/;
8217
 
s/:*\${srcdir}:*/:/;
8218
 
s/:*@srcdir@:*/:/;
8219
 
s/^\([^=]*=[     ]*\):*/\1/;
8220
 
s/:*$//;
8221
 
s/^[^=]*=[       ]*$//;
8222
 
}'
8223
 
fi
8224
 
 
8225
6939
DEFS=-DHAVE_CONFIG_H
8226
6940
 
8227
6941
ac_libobjs=
8228
6942
ac_ltlibobjs=
8229
6943
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8230
6944
  # 1. Remove the extension, and $U if already installed.
8231
 
  ac_i=`echo "$ac_i" |
8232
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8233
 
  # 2. Add them.
8234
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
8235
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
6945
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
6946
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
6947
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
6948
  #    will be set to the directory where LIBOBJS objects are built.
 
6949
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
6950
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8236
6951
done
8237
6952
LIBOBJS=$ac_libobjs
8238
6953
 
8239
6954
LTLIBOBJS=$ac_ltlibobjs
8240
6955
 
8241
6956
 
 
6957
 if test -n "$EXEEXT"; then
 
6958
  am__EXEEXT_TRUE=
 
6959
  am__EXEEXT_FALSE='#'
 
6960
else
 
6961
  am__EXEEXT_TRUE='#'
 
6962
  am__EXEEXT_FALSE=
 
6963
fi
 
6964
 
8242
6965
if test -z "${THREADS_TRUE}" && test -z "${THREADS_FALSE}"; then
8243
 
  { { echo "$as_me:$LINENO: error: conditional \"THREADS\" was never defined.
8244
 
Usually this means the macro was only invoked conditionally." >&5
8245
 
echo "$as_me: error: conditional \"THREADS\" was never defined.
8246
 
Usually this means the macro was only invoked conditionally." >&2;}
8247
 
   { (exit 1); exit 1; }; }
 
6966
  as_fn_error "conditional \"THREADS\" was never defined.
 
6967
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8248
6968
fi
8249
6969
if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
8250
 
  { { echo "$as_me:$LINENO: error: conditional \"PLUGINS\" was never defined.
8251
 
Usually this means the macro was only invoked conditionally." >&5
8252
 
echo "$as_me: error: conditional \"PLUGINS\" was never defined.
8253
 
Usually this means the macro was only invoked conditionally." >&2;}
8254
 
   { (exit 1); exit 1; }; }
 
6970
  as_fn_error "conditional \"PLUGINS\" was never defined.
 
6971
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8255
6972
fi
8256
6973
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8257
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8258
 
Usually this means the macro was only invoked conditionally." >&5
8259
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
8260
 
Usually this means the macro was only invoked conditionally." >&2;}
8261
 
   { (exit 1); exit 1; }; }
 
6974
  as_fn_error "conditional \"AMDEP\" was never defined.
 
6975
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8262
6976
fi
8263
6977
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8264
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8265
 
Usually this means the macro was only invoked conditionally." >&5
8266
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8267
 
Usually this means the macro was only invoked conditionally." >&2;}
8268
 
   { (exit 1); exit 1; }; }
 
6978
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
6979
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8269
6980
fi
8270
6981
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
8271
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
8272
 
Usually this means the macro was only invoked conditionally." >&5
8273
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
8274
 
Usually this means the macro was only invoked conditionally." >&2;}
8275
 
   { (exit 1); exit 1; }; }
 
6982
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
6983
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8276
6984
fi
 
6985
 
8277
6986
if test -z "${NATIVE_LINKER_TRUE}" && test -z "${NATIVE_LINKER_FALSE}"; then
8278
 
  { { echo "$as_me:$LINENO: error: conditional \"NATIVE_LINKER\" was never defined.
8279
 
Usually this means the macro was only invoked conditionally." >&5
8280
 
echo "$as_me: error: conditional \"NATIVE_LINKER\" was never defined.
8281
 
Usually this means the macro was only invoked conditionally." >&2;}
8282
 
   { (exit 1); exit 1; }; }
 
6987
  as_fn_error "conditional \"NATIVE_LINKER\" was never defined.
 
6988
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8283
6989
fi
8284
6990
if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
8285
 
  { { echo "$as_me:$LINENO: error: conditional \"GCC\" was never defined.
8286
 
Usually this means the macro was only invoked conditionally." >&5
8287
 
echo "$as_me: error: conditional \"GCC\" was never defined.
8288
 
Usually this means the macro was only invoked conditionally." >&2;}
8289
 
   { (exit 1); exit 1; }; }
 
6991
  as_fn_error "conditional \"GCC\" was never defined.
 
6992
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8290
6993
fi
8291
6994
if test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_TRUE}" && test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_FALSE}"; then
8292
 
  { { echo "$as_me:$LINENO: error: conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
8293
 
Usually this means the macro was only invoked conditionally." >&5
8294
 
echo "$as_me: error: conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
8295
 
Usually this means the macro was only invoked conditionally." >&2;}
8296
 
   { (exit 1); exit 1; }; }
 
6995
  as_fn_error "conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
 
6996
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8297
6997
fi
8298
6998
if test -z "${MCMODEL_MEDIUM_TRUE}" && test -z "${MCMODEL_MEDIUM_FALSE}"; then
8299
 
  { { echo "$as_me:$LINENO: error: conditional \"MCMODEL_MEDIUM\" was never defined.
8300
 
Usually this means the macro was only invoked conditionally." >&5
8301
 
echo "$as_me: error: conditional \"MCMODEL_MEDIUM\" was never defined.
8302
 
Usually this means the macro was only invoked conditionally." >&2;}
8303
 
   { (exit 1); exit 1; }; }
 
6999
  as_fn_error "conditional \"MCMODEL_MEDIUM\" was never defined.
 
7000
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8304
7001
fi
8305
7002
if test -z "${TLS_TRUE}" && test -z "${TLS_FALSE}"; then
8306
 
  { { echo "$as_me:$LINENO: error: conditional \"TLS\" was never defined.
8307
 
Usually this means the macro was only invoked conditionally." >&5
8308
 
echo "$as_me: error: conditional \"TLS\" was never defined.
8309
 
Usually this means the macro was only invoked conditionally." >&2;}
8310
 
   { (exit 1); exit 1; }; }
 
7003
  as_fn_error "conditional \"TLS\" was never defined.
 
7004
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8311
7005
fi
8312
7006
if test -z "${STATIC_TLS_TRUE}" && test -z "${STATIC_TLS_FALSE}"; then
8313
 
  { { echo "$as_me:$LINENO: error: conditional \"STATIC_TLS\" was never defined.
8314
 
Usually this means the macro was only invoked conditionally." >&5
8315
 
echo "$as_me: error: conditional \"STATIC_TLS\" was never defined.
8316
 
Usually this means the macro was only invoked conditionally." >&2;}
8317
 
   { (exit 1); exit 1; }; }
 
7007
  as_fn_error "conditional \"STATIC_TLS\" was never defined.
 
7008
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8318
7009
fi
8319
7010
if test -z "${OMP_SUPPORT_TRUE}" && test -z "${OMP_SUPPORT_FALSE}"; then
8320
 
  { { echo "$as_me:$LINENO: error: conditional \"OMP_SUPPORT\" was never defined.
8321
 
Usually this means the macro was only invoked conditionally." >&5
8322
 
echo "$as_me: error: conditional \"OMP_SUPPORT\" was never defined.
8323
 
Usually this means the macro was only invoked conditionally." >&2;}
8324
 
   { (exit 1); exit 1; }; }
 
7011
  as_fn_error "conditional \"OMP_SUPPORT\" was never defined.
 
7012
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8325
7013
fi
8326
7014
if test -z "${TLS_GNU2_DIALECT_TRUE}" && test -z "${TLS_GNU2_DIALECT_FALSE}"; then
8327
 
  { { echo "$as_me:$LINENO: error: conditional \"TLS_GNU2_DIALECT\" was never defined.
8328
 
Usually this means the macro was only invoked conditionally." >&5
8329
 
echo "$as_me: error: conditional \"TLS_GNU2_DIALECT\" was never defined.
8330
 
Usually this means the macro was only invoked conditionally." >&2;}
8331
 
   { (exit 1); exit 1; }; }
 
7015
  as_fn_error "conditional \"TLS_GNU2_DIALECT\" was never defined.
 
7016
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8332
7017
fi
8333
7018
if test -z "${TLS_DESCRIPTORS_TRUE}" && test -z "${TLS_DESCRIPTORS_FALSE}"; then
8334
 
  { { echo "$as_me:$LINENO: error: conditional \"TLS_DESCRIPTORS\" was never defined.
8335
 
Usually this means the macro was only invoked conditionally." >&5
8336
 
echo "$as_me: error: conditional \"TLS_DESCRIPTORS\" was never defined.
8337
 
Usually this means the macro was only invoked conditionally." >&2;}
8338
 
   { (exit 1); exit 1; }; }
 
7019
  as_fn_error "conditional \"TLS_DESCRIPTORS\" was never defined.
 
7020
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8339
7021
fi
8340
7022
if test -z "${CONSTRUCTOR_PRIORITY_TRUE}" && test -z "${CONSTRUCTOR_PRIORITY_FALSE}"; then
8341
 
  { { echo "$as_me:$LINENO: error: conditional \"CONSTRUCTOR_PRIORITY\" was never defined.
8342
 
Usually this means the macro was only invoked conditionally." >&5
8343
 
echo "$as_me: error: conditional \"CONSTRUCTOR_PRIORITY\" was never defined.
8344
 
Usually this means the macro was only invoked conditionally." >&2;}
8345
 
   { (exit 1); exit 1; }; }
 
7023
  as_fn_error "conditional \"CONSTRUCTOR_PRIORITY\" was never defined.
 
7024
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8346
7025
fi
8347
7026
if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
8348
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_ZLIB\" was never defined.
8349
 
Usually this means the macro was only invoked conditionally." >&5
8350
 
echo "$as_me: error: conditional \"HAVE_ZLIB\" was never defined.
8351
 
Usually this means the macro was only invoked conditionally." >&2;}
8352
 
   { (exit 1); exit 1; }; }
 
7027
  as_fn_error "conditional \"HAVE_ZLIB\" was never defined.
 
7028
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8353
7029
fi
8354
7030
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8355
 
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8356
 
Usually this means the macro was only invoked conditionally." >&5
8357
 
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8358
 
Usually this means the macro was only invoked conditionally." >&2;}
8359
 
   { (exit 1); exit 1; }; }
 
7031
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 
7032
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8360
7033
fi
8361
7034
 
8362
7035
: ${CONFIG_STATUS=./config.status}
 
7036
ac_write_fail=0
8363
7037
ac_clean_files_save=$ac_clean_files
8364
7038
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8365
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8366
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
8367
 
cat >$CONFIG_STATUS <<_ACEOF
 
7039
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
7040
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
7041
as_write_fail=0
 
7042
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8368
7043
#! $SHELL
8369
7044
# Generated by $as_me.
8370
7045
# Run this file to recreate the current configuration.
8374
7049
debug=false
8375
7050
ac_cs_recheck=false
8376
7051
ac_cs_silent=false
 
7052
 
8377
7053
SHELL=\${CONFIG_SHELL-$SHELL}
8378
 
_ACEOF
8379
 
 
8380
 
cat >>$CONFIG_STATUS <<\_ACEOF
8381
 
## --------------------- ##
8382
 
## M4sh Initialization.  ##
8383
 
## --------------------- ##
8384
 
 
8385
 
# Be Bourne compatible
8386
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
7054
export SHELL
 
7055
_ASEOF
 
7056
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
7057
## -------------------- ##
 
7058
## M4sh Initialization. ##
 
7059
## -------------------- ##
 
7060
 
 
7061
# Be more Bourne compatible
 
7062
DUALCASE=1; export DUALCASE # for MKS sh
 
7063
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8387
7064
  emulate sh
8388
7065
  NULLCMD=:
8389
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
7066
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8390
7067
  # is contrary to our usage.  Disable this feature.
8391
7068
  alias -g '${1+"$@"}'='"$@"'
8392
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
8393
 
  set -o posix
8394
 
fi
8395
 
DUALCASE=1; export DUALCASE # for MKS sh
8396
 
 
8397
 
# Support unset when possible.
8398
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8399
 
  as_unset=unset
8400
 
else
8401
 
  as_unset=false
8402
 
fi
8403
 
 
8404
 
 
8405
 
# Work around bugs in pre-3.0 UWIN ksh.
8406
 
$as_unset ENV MAIL MAILPATH
 
7069
  setopt NO_GLOB_SUBST
 
7070
else
 
7071
  case `(set -o) 2>/dev/null` in #(
 
7072
  *posix*) :
 
7073
    set -o posix ;; #(
 
7074
  *) :
 
7075
     ;;
 
7076
esac
 
7077
fi
 
7078
 
 
7079
 
 
7080
as_nl='
 
7081
'
 
7082
export as_nl
 
7083
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
7084
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
7085
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
7086
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
7087
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
7088
# but without wasting forks for bash or zsh.
 
7089
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
7090
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
7091
  as_echo='print -r --'
 
7092
  as_echo_n='print -rn --'
 
7093
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
7094
  as_echo='printf %s\n'
 
7095
  as_echo_n='printf %s'
 
7096
else
 
7097
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
7098
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
7099
    as_echo_n='/usr/ucb/echo -n'
 
7100
  else
 
7101
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
7102
    as_echo_n_body='eval
 
7103
      arg=$1;
 
7104
      case $arg in #(
 
7105
      *"$as_nl"*)
 
7106
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
7107
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
7108
      esac;
 
7109
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
7110
    '
 
7111
    export as_echo_n_body
 
7112
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
7113
  fi
 
7114
  export as_echo_body
 
7115
  as_echo='sh -c $as_echo_body as_echo'
 
7116
fi
 
7117
 
 
7118
# The user is always right.
 
7119
if test "${PATH_SEPARATOR+set}" != set; then
 
7120
  PATH_SEPARATOR=:
 
7121
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
7122
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
7123
      PATH_SEPARATOR=';'
 
7124
  }
 
7125
fi
 
7126
 
 
7127
 
 
7128
# IFS
 
7129
# We need space, tab and new line, in precisely that order.  Quoting is
 
7130
# there to prevent editors from complaining about space-tab.
 
7131
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
7132
# splitting by setting IFS to empty value.)
 
7133
IFS=" ""        $as_nl"
 
7134
 
 
7135
# Find who we are.  Look in the path if we contain no directory separator.
 
7136
case $0 in #((
 
7137
  *[\\/]* ) as_myself=$0 ;;
 
7138
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7139
for as_dir in $PATH
 
7140
do
 
7141
  IFS=$as_save_IFS
 
7142
  test -z "$as_dir" && as_dir=.
 
7143
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
7144
  done
 
7145
IFS=$as_save_IFS
 
7146
 
 
7147
     ;;
 
7148
esac
 
7149
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
7150
# in which case we are not to be found in the path.
 
7151
if test "x$as_myself" = x; then
 
7152
  as_myself=$0
 
7153
fi
 
7154
if test ! -f "$as_myself"; then
 
7155
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
7156
  exit 1
 
7157
fi
 
7158
 
 
7159
# Unset variables that we do not need and which cause bugs (e.g. in
 
7160
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
7161
# suppresses any "Segmentation fault" message there.  '((' could
 
7162
# trigger a bug in pdksh 5.2.14.
 
7163
for as_var in BASH_ENV ENV MAIL MAILPATH
 
7164
do eval test x\${$as_var+set} = xset \
 
7165
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
7166
done
8407
7167
PS1='$ '
8408
7168
PS2='> '
8409
7169
PS4='+ '
8410
7170
 
8411
7171
# NLS nuisances.
8412
 
for as_var in \
8413
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8414
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8415
 
  LC_TELEPHONE LC_TIME
8416
 
do
8417
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8418
 
    eval $as_var=C; export $as_var
8419
 
  else
8420
 
    $as_unset $as_var
 
7172
LC_ALL=C
 
7173
export LC_ALL
 
7174
LANGUAGE=C
 
7175
export LANGUAGE
 
7176
 
 
7177
# CDPATH.
 
7178
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
7179
 
 
7180
 
 
7181
# as_fn_error ERROR [LINENO LOG_FD]
 
7182
# ---------------------------------
 
7183
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
7184
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
7185
# script with status $?, using 1 if that was 0.
 
7186
as_fn_error ()
 
7187
{
 
7188
  as_status=$?; test $as_status -eq 0 && as_status=1
 
7189
  if test "$3"; then
 
7190
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
7191
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
8421
7192
  fi
8422
 
done
8423
 
 
8424
 
# Required to use basename.
8425
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
7193
  $as_echo "$as_me: error: $1" >&2
 
7194
  as_fn_exit $as_status
 
7195
} # as_fn_error
 
7196
 
 
7197
 
 
7198
# as_fn_set_status STATUS
 
7199
# -----------------------
 
7200
# Set $? to STATUS, without forking.
 
7201
as_fn_set_status ()
 
7202
{
 
7203
  return $1
 
7204
} # as_fn_set_status
 
7205
 
 
7206
# as_fn_exit STATUS
 
7207
# -----------------
 
7208
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
7209
as_fn_exit ()
 
7210
{
 
7211
  set +e
 
7212
  as_fn_set_status $1
 
7213
  exit $1
 
7214
} # as_fn_exit
 
7215
 
 
7216
# as_fn_unset VAR
 
7217
# ---------------
 
7218
# Portably unset VAR.
 
7219
as_fn_unset ()
 
7220
{
 
7221
  { eval $1=; unset $1;}
 
7222
}
 
7223
as_unset=as_fn_unset
 
7224
# as_fn_append VAR VALUE
 
7225
# ----------------------
 
7226
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
7227
# advantage of any shell optimizations that allow amortized linear growth over
 
7228
# repeated appends, instead of the typical quadratic growth present in naive
 
7229
# implementations.
 
7230
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
7231
  eval 'as_fn_append ()
 
7232
  {
 
7233
    eval $1+=\$2
 
7234
  }'
 
7235
else
 
7236
  as_fn_append ()
 
7237
  {
 
7238
    eval $1=\$$1\$2
 
7239
  }
 
7240
fi # as_fn_append
 
7241
 
 
7242
# as_fn_arith ARG...
 
7243
# ------------------
 
7244
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
7245
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
7246
# must be portable across $(()) and expr.
 
7247
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
7248
  eval 'as_fn_arith ()
 
7249
  {
 
7250
    as_val=$(( $* ))
 
7251
  }'
 
7252
else
 
7253
  as_fn_arith ()
 
7254
  {
 
7255
    as_val=`expr "$@" || test $? -eq 1`
 
7256
  }
 
7257
fi # as_fn_arith
 
7258
 
 
7259
 
 
7260
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
7261
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
8426
7262
  as_expr=expr
8427
7263
else
8428
7264
  as_expr=false
8429
7265
fi
8430
7266
 
8431
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
7267
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8432
7268
  as_basename=basename
8433
7269
else
8434
7270
  as_basename=false
8435
7271
fi
8436
7272
 
 
7273
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
7274
  as_dirname=dirname
 
7275
else
 
7276
  as_dirname=false
 
7277
fi
8437
7278
 
8438
 
# Name of the executable.
8439
 
as_me=`$as_basename "$0" ||
 
7279
as_me=`$as_basename -- "$0" ||
8440
7280
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8441
7281
         X"$0" : 'X\(//\)$' \| \
8442
 
         X"$0" : 'X\(/\)$' \| \
8443
 
         .     : '\(.\)' 2>/dev/null ||
8444
 
echo X/"$0" |
8445
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8446
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
8447
 
          /^X\/\(\/\).*/{ s//\1/; q; }
8448
 
          s/.*/./; q'`
8449
 
 
8450
 
 
8451
 
# PATH needs CR, and LINENO needs CR and PATH.
 
7282
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
7283
$as_echo X/"$0" |
 
7284
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
7285
            s//\1/
 
7286
            q
 
7287
          }
 
7288
          /^X\/\(\/\/\)$/{
 
7289
            s//\1/
 
7290
            q
 
7291
          }
 
7292
          /^X\/\(\/\).*/{
 
7293
            s//\1/
 
7294
            q
 
7295
          }
 
7296
          s/.*/./; q'`
 
7297
 
8452
7298
# Avoid depending upon Character Ranges.
8453
7299
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8454
7300
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8456
7302
as_cr_digits='0123456789'
8457
7303
as_cr_alnum=$as_cr_Letters$as_cr_digits
8458
7304
 
8459
 
# The user is always right.
8460
 
if test "${PATH_SEPARATOR+set}" != set; then
8461
 
  echo "#! /bin/sh" >conf$$.sh
8462
 
  echo  "exit 0"   >>conf$$.sh
8463
 
  chmod +x conf$$.sh
8464
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8465
 
    PATH_SEPARATOR=';'
8466
 
  else
8467
 
    PATH_SEPARATOR=:
8468
 
  fi
8469
 
  rm -f conf$$.sh
8470
 
fi
8471
 
 
8472
 
 
8473
 
  as_lineno_1=$LINENO
8474
 
  as_lineno_2=$LINENO
8475
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8476
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
8477
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
8478
 
  # Find who we are.  Look in the path if we contain no path at all
8479
 
  # relative or not.
8480
 
  case $0 in
8481
 
    *[\\/]* ) as_myself=$0 ;;
8482
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8483
 
for as_dir in $PATH
8484
 
do
8485
 
  IFS=$as_save_IFS
8486
 
  test -z "$as_dir" && as_dir=.
8487
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8488
 
done
8489
 
 
8490
 
       ;;
8491
 
  esac
8492
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
8493
 
  # in which case we are not to be found in the path.
8494
 
  if test "x$as_myself" = x; then
8495
 
    as_myself=$0
8496
 
  fi
8497
 
  if test ! -f "$as_myself"; then
8498
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8499
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8500
 
   { (exit 1); exit 1; }; }
8501
 
  fi
8502
 
  case $CONFIG_SHELL in
8503
 
  '')
8504
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8505
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
8506
 
do
8507
 
  IFS=$as_save_IFS
8508
 
  test -z "$as_dir" && as_dir=.
8509
 
  for as_base in sh bash ksh sh5; do
8510
 
         case $as_dir in
8511
 
         /*)
8512
 
           if ("$as_dir/$as_base" -c '
8513
 
  as_lineno_1=$LINENO
8514
 
  as_lineno_2=$LINENO
8515
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8516
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
8517
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
8518
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
8519
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
8520
 
             CONFIG_SHELL=$as_dir/$as_base
8521
 
             export CONFIG_SHELL
8522
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8523
 
           fi;;
8524
 
         esac
8525
 
       done
8526
 
done
8527
 
;;
8528
 
  esac
8529
 
 
8530
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8531
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
8532
 
  # line-number line before each line; the second 'sed' does the real
8533
 
  # work.  The second script uses 'N' to pair each line-number line
8534
 
  # with the numbered line, and appends trailing '-' during
8535
 
  # substitution so that $LINENO is not a special case at line end.
8536
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8537
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
8538
 
  sed '=' <$as_myself |
8539
 
    sed '
8540
 
      N
8541
 
      s,$,-,
8542
 
      : loop
8543
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8544
 
      t loop
8545
 
      s,-$,,
8546
 
      s,^['$as_cr_digits']*\n,,
8547
 
    ' >$as_me.lineno &&
8548
 
  chmod +x $as_me.lineno ||
8549
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8550
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8551
 
   { (exit 1); exit 1; }; }
8552
 
 
8553
 
  # Don't try to exec as it changes $[0], causing all sort of problems
8554
 
  # (the dirname of $[0] is not the place where we might find the
8555
 
  # original and so on.  Autoconf is especially sensible to this).
8556
 
  . ./$as_me.lineno
8557
 
  # Exit status is that of the last command.
8558
 
  exit
8559
 
}
8560
 
 
8561
 
 
8562
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8563
 
  *c*,-n*) ECHO_N= ECHO_C='
8564
 
' ECHO_T='      ' ;;
8565
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
8566
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
7305
ECHO_C= ECHO_N= ECHO_T=
 
7306
case `echo -n x` in #(((((
 
7307
-n*)
 
7308
  case `echo 'xy\c'` in
 
7309
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
7310
  xy)  ECHO_C='\c';;
 
7311
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
7312
       ECHO_T=' ';;
 
7313
  esac;;
 
7314
*)
 
7315
  ECHO_N='-n';;
8567
7316
esac
8568
7317
 
8569
 
if expr a : '\(a\)' >/dev/null 2>&1; then
8570
 
  as_expr=expr
 
7318
rm -f conf$$ conf$$.exe conf$$.file
 
7319
if test -d conf$$.dir; then
 
7320
  rm -f conf$$.dir/conf$$.file
8571
7321
else
8572
 
  as_expr=false
 
7322
  rm -f conf$$.dir
 
7323
  mkdir conf$$.dir 2>/dev/null
8573
7324
fi
8574
 
 
8575
 
rm -f conf$$ conf$$.exe conf$$.file
8576
 
echo >conf$$.file
8577
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
8578
 
  # We could just check for DJGPP; but this test a) works b) is more generic
8579
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8580
 
  if test -f conf$$.exe; then
8581
 
    # Don't use ln at all; we don't have any links
 
7325
if (echo >conf$$.file) 2>/dev/null; then
 
7326
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
7327
    as_ln_s='ln -s'
 
7328
    # ... but there are two gotchas:
 
7329
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
7330
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
7331
    # In both cases, we have to default to `cp -p'.
 
7332
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
7333
      as_ln_s='cp -p'
 
7334
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
7335
    as_ln_s=ln
 
7336
  else
8582
7337
    as_ln_s='cp -p'
8583
 
  else
8584
 
    as_ln_s='ln -s'
8585
7338
  fi
8586
 
elif ln conf$$.file conf$$ 2>/dev/null; then
8587
 
  as_ln_s=ln
8588
7339
else
8589
7340
  as_ln_s='cp -p'
8590
7341
fi
8591
 
rm -f conf$$ conf$$.exe conf$$.file
8592
 
 
 
7342
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
7343
rmdir conf$$.dir 2>/dev/null
 
7344
 
 
7345
 
 
7346
# as_fn_mkdir_p
 
7347
# -------------
 
7348
# Create "$as_dir" as a directory, including parents if necessary.
 
7349
as_fn_mkdir_p ()
 
7350
{
 
7351
 
 
7352
  case $as_dir in #(
 
7353
  -*) as_dir=./$as_dir;;
 
7354
  esac
 
7355
  test -d "$as_dir" || eval $as_mkdir_p || {
 
7356
    as_dirs=
 
7357
    while :; do
 
7358
      case $as_dir in #(
 
7359
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
7360
      *) as_qdir=$as_dir;;
 
7361
      esac
 
7362
      as_dirs="'$as_qdir' $as_dirs"
 
7363
      as_dir=`$as_dirname -- "$as_dir" ||
 
7364
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
7365
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
7366
         X"$as_dir" : 'X\(//\)$' \| \
 
7367
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
7368
$as_echo X"$as_dir" |
 
7369
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
7370
            s//\1/
 
7371
            q
 
7372
          }
 
7373
          /^X\(\/\/\)[^/].*/{
 
7374
            s//\1/
 
7375
            q
 
7376
          }
 
7377
          /^X\(\/\/\)$/{
 
7378
            s//\1/
 
7379
            q
 
7380
          }
 
7381
          /^X\(\/\).*/{
 
7382
            s//\1/
 
7383
            q
 
7384
          }
 
7385
          s/.*/./; q'`
 
7386
      test -d "$as_dir" && break
 
7387
    done
 
7388
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
7389
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
7390
 
 
7391
 
 
7392
} # as_fn_mkdir_p
8593
7393
if mkdir -p . 2>/dev/null; then
8594
 
  as_mkdir_p=:
 
7394
  as_mkdir_p='mkdir -p "$as_dir"'
8595
7395
else
8596
7396
  test -d ./-p && rmdir ./-p
8597
7397
  as_mkdir_p=false
8598
7398
fi
8599
7399
 
8600
 
as_executable_p="test -f"
 
7400
if test -x / >/dev/null 2>&1; then
 
7401
  as_test_x='test -x'
 
7402
else
 
7403
  if ls -dL / >/dev/null 2>&1; then
 
7404
    as_ls_L_option=L
 
7405
  else
 
7406
    as_ls_L_option=
 
7407
  fi
 
7408
  as_test_x='
 
7409
    eval sh -c '\''
 
7410
      if test -d "$1"; then
 
7411
        test -d "$1/.";
 
7412
      else
 
7413
        case $1 in #(
 
7414
        -*)set "./$1";;
 
7415
        esac;
 
7416
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
7417
        ???[sx]*):;;*)false;;esac;fi
 
7418
    '\'' sh
 
7419
  '
 
7420
fi
 
7421
as_executable_p=$as_test_x
8601
7422
 
8602
7423
# Sed expression to map a string onto a valid CPP name.
8603
7424
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8606
7427
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8607
7428
 
8608
7429
 
8609
 
# IFS
8610
 
# We need space, tab and new line, in precisely that order.
8611
 
as_nl='
8612
 
'
8613
 
IFS="   $as_nl"
8614
 
 
8615
 
# CDPATH.
8616
 
$as_unset CDPATH
8617
 
 
8618
7430
exec 6>&1
 
7431
## ----------------------------------- ##
 
7432
## Main body of $CONFIG_STATUS script. ##
 
7433
## ----------------------------------- ##
 
7434
_ASEOF
 
7435
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8619
7436
 
8620
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
7437
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
7438
# Save the log message, to keep $0 and so on meaningful, and to
8621
7439
# report actual input values of CONFIG_FILES etc. instead of their
8622
 
# values after options handling.  Logging --version etc. is OK.
8623
 
exec 5>>config.log
8624
 
{
8625
 
  echo
8626
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8627
 
## Running $as_me. ##
8628
 
_ASBOX
8629
 
} >&5
8630
 
cat >&5 <<_CSEOF
8631
 
 
 
7440
# values after options handling.
 
7441
ac_log="
8632
7442
This file was extended by gold $as_me 0.1, which was
8633
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
7443
generated by GNU Autoconf 2.64.  Invocation command line was
8634
7444
 
8635
7445
  CONFIG_FILES    = $CONFIG_FILES
8636
7446
  CONFIG_HEADERS  = $CONFIG_HEADERS
8638
7448
  CONFIG_COMMANDS = $CONFIG_COMMANDS
8639
7449
  $ $0 $@
8640
7450
 
8641
 
_CSEOF
8642
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8643
 
echo >&5
 
7451
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
7452
"
 
7453
 
8644
7454
_ACEOF
8645
7455
 
 
7456
case $ac_config_files in *"
 
7457
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
7458
esac
 
7459
 
 
7460
case $ac_config_headers in *"
 
7461
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
7462
esac
 
7463
 
 
7464
 
 
7465
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8646
7466
# Files that config.status was made for.
8647
 
if test -n "$ac_config_files"; then
8648
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8649
 
fi
8650
 
 
8651
 
if test -n "$ac_config_headers"; then
8652
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8653
 
fi
8654
 
 
8655
 
if test -n "$ac_config_links"; then
8656
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8657
 
fi
8658
 
 
8659
 
if test -n "$ac_config_commands"; then
8660
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8661
 
fi
8662
 
 
8663
 
cat >>$CONFIG_STATUS <<\_ACEOF
8664
 
 
 
7467
config_files="$ac_config_files"
 
7468
config_headers="$ac_config_headers"
 
7469
config_commands="$ac_config_commands"
 
7470
 
 
7471
_ACEOF
 
7472
 
 
7473
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8665
7474
ac_cs_usage="\
8666
 
\`$as_me' instantiates files from templates according to the
8667
 
current configuration.
 
7475
\`$as_me' instantiates files and other configuration actions
 
7476
from templates according to the current configuration.  Unless the files
 
7477
and actions are specified as TAGs, all are instantiated by default.
8668
7478
 
8669
 
Usage: $0 [OPTIONS] [FILE]...
 
7479
Usage: $0 [OPTION]... [TAG]...
8670
7480
 
8671
7481
  -h, --help       print this help, then exit
8672
 
  -V, --version    print version number, then exit
8673
 
  -q, --quiet      do not print progress messages
 
7482
  -V, --version    print version number and configuration settings, then exit
 
7483
  -q, --quiet, --silent
 
7484
                   do not print progress messages
8674
7485
  -d, --debug      don't remove temporary files
8675
7486
      --recheck    update $as_me by reconfiguring in the same conditions
8676
 
  --file=FILE[:TEMPLATE]
8677
 
                   instantiate the configuration file FILE
8678
 
  --header=FILE[:TEMPLATE]
8679
 
                   instantiate the configuration header FILE
 
7487
      --file=FILE[:TEMPLATE]
 
7488
                   instantiate the configuration file FILE
 
7489
      --header=FILE[:TEMPLATE]
 
7490
                   instantiate the configuration header FILE
8680
7491
 
8681
7492
Configuration files:
8682
7493
$config_files
8687
7498
Configuration commands:
8688
7499
$config_commands
8689
7500
 
8690
 
Report bugs to <bug-autoconf@gnu.org>."
 
7501
Report bugs to the package provider."
 
7502
 
8691
7503
_ACEOF
8692
 
 
8693
 
cat >>$CONFIG_STATUS <<_ACEOF
 
7504
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8694
7505
ac_cs_version="\\
8695
7506
gold config.status 0.1
8696
 
configured by $0, generated by GNU Autoconf 2.59,
8697
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
7507
configured by $0, generated by GNU Autoconf 2.64,
 
7508
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8698
7509
 
8699
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
7510
Copyright (C) 2009 Free Software Foundation, Inc.
8700
7511
This config.status script is free software; the Free Software Foundation
8701
7512
gives unlimited permission to copy, distribute and modify it."
8702
 
srcdir=$srcdir
8703
 
INSTALL="$INSTALL"
 
7513
 
 
7514
ac_pwd='$ac_pwd'
 
7515
srcdir='$srcdir'
 
7516
INSTALL='$INSTALL'
 
7517
MKDIR_P='$MKDIR_P'
 
7518
AWK='$AWK'
 
7519
test -n "\$AWK" || AWK=awk
8704
7520
_ACEOF
8705
7521
 
8706
 
cat >>$CONFIG_STATUS <<\_ACEOF
8707
 
# If no file are specified by the user, then we need to provide default
8708
 
# value.  By we need to know if files were specified by the user.
 
7522
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
7523
# The default lists apply if the user does not specify any file.
8709
7524
ac_need_defaults=:
8710
7525
while test $# != 0
8711
7526
do
8712
7527
  case $1 in
8713
7528
  --*=*)
8714
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
8715
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
7529
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
7530
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8716
7531
    ac_shift=:
8717
7532
    ;;
8718
 
  -*)
 
7533
  *)
8719
7534
    ac_option=$1
8720
7535
    ac_optarg=$2
8721
7536
    ac_shift=shift
8722
7537
    ;;
8723
 
  *) # This is not an option, so the user has probably given explicit
8724
 
     # arguments.
8725
 
     ac_option=$1
8726
 
     ac_need_defaults=false;;
8727
7538
  esac
8728
7539
 
8729
7540
  case $ac_option in
8730
7541
  # Handling of the options.
8731
 
_ACEOF
8732
 
cat >>$CONFIG_STATUS <<\_ACEOF
8733
7542
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8734
7543
    ac_cs_recheck=: ;;
8735
 
  --version | --vers* | -V )
8736
 
    echo "$ac_cs_version"; exit 0 ;;
 
7544
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
7545
    $as_echo "$ac_cs_version"; exit ;;
 
7546
  --debug | --debu | --deb | --de | --d | -d )
 
7547
    debug=: ;;
 
7548
  --file | --fil | --fi | --f )
 
7549
    $ac_shift
 
7550
    case $ac_optarg in
 
7551
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
7552
    esac
 
7553
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
7554
    ac_need_defaults=false;;
 
7555
  --header | --heade | --head | --hea )
 
7556
    $ac_shift
 
7557
    case $ac_optarg in
 
7558
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
7559
    esac
 
7560
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
7561
    ac_need_defaults=false;;
8737
7562
  --he | --h)
8738
7563
    # Conflict between --help and --header
8739
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
8740
 
Try \`$0 --help' for more information." >&5
8741
 
echo "$as_me: error: ambiguous option: $1
8742
 
Try \`$0 --help' for more information." >&2;}
8743
 
   { (exit 1); exit 1; }; };;
 
7564
    as_fn_error "ambiguous option: \`$1'
 
7565
Try \`$0 --help' for more information.";;
8744
7566
  --help | --hel | -h )
8745
 
    echo "$ac_cs_usage"; exit 0 ;;
8746
 
  --debug | --d* | -d )
8747
 
    debug=: ;;
8748
 
  --file | --fil | --fi | --f )
8749
 
    $ac_shift
8750
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8751
 
    ac_need_defaults=false;;
8752
 
  --header | --heade | --head | --hea )
8753
 
    $ac_shift
8754
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8755
 
    ac_need_defaults=false;;
 
7567
    $as_echo "$ac_cs_usage"; exit ;;
8756
7568
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8757
7569
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
8758
7570
    ac_cs_silent=: ;;
8759
7571
 
8760
7572
  # This is an error.
8761
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8762
 
Try \`$0 --help' for more information." >&5
8763
 
echo "$as_me: error: unrecognized option: $1
8764
 
Try \`$0 --help' for more information." >&2;}
8765
 
   { (exit 1); exit 1; }; } ;;
 
7573
  -*) as_fn_error "unrecognized option: \`$1'
 
7574
Try \`$0 --help' for more information." ;;
8766
7575
 
8767
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
7576
  *) as_fn_append ac_config_targets " $1"
 
7577
     ac_need_defaults=false ;;
8768
7578
 
8769
7579
  esac
8770
7580
  shift
8778
7588
fi
8779
7589
 
8780
7590
_ACEOF
8781
 
cat >>$CONFIG_STATUS <<_ACEOF
 
7591
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8782
7592
if \$ac_cs_recheck; then
8783
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8784
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
7593
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
7594
  shift
 
7595
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
7596
  CONFIG_SHELL='$SHELL'
 
7597
  export CONFIG_SHELL
 
7598
  exec "\$@"
8785
7599
fi
8786
7600
 
8787
7601
_ACEOF
8788
 
 
8789
 
cat >>$CONFIG_STATUS <<_ACEOF
8790
 
#
8791
 
# INIT-COMMANDS section.
8792
 
#
8793
 
 
 
7602
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
7603
exec 5>>config.log
 
7604
{
 
7605
  echo
 
7606
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
7607
## Running $as_me. ##
 
7608
_ASBOX
 
7609
  $as_echo "$ac_log"
 
7610
} >&5
 
7611
 
 
7612
_ACEOF
 
7613
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
7614
#
 
7615
# INIT-COMMANDS
 
7616
#
8794
7617
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8795
7618
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
8796
7619
    # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
8802
7625
 
8803
7626
_ACEOF
8804
7627
 
8805
 
 
8806
 
 
8807
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
7628
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
7629
 
 
7630
# Handling of arguments.
8808
7631
for ac_config_target in $ac_config_targets
8809
7632
do
8810
 
  case "$ac_config_target" in
8811
 
  # Handling of arguments.
8812
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8813
 
  "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
8814
 
  "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
8815
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8816
 
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
8817
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
8818
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8819
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8820
 
   { (exit 1); exit 1; }; };;
 
7633
  case $ac_config_target in
 
7634
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
 
7635
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
7636
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
7637
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
7638
    "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
 
7639
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
 
7640
 
 
7641
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8821
7642
  esac
8822
7643
done
8823
7644
 
 
7645
 
8824
7646
# If the user did not use the arguments to specify the items to instantiate,
8825
7647
# then the envvar interface is used.  Set only those that are not.
8826
7648
# We use the long form for the default assignment because of an extremely
8832
7654
fi
8833
7655
 
8834
7656
# Have a temporary directory for convenience.  Make it in the build tree
8835
 
# simply because there is no reason to put it here, and in addition,
 
7657
# simply because there is no reason against having it here, and in addition,
8836
7658
# creating and moving files from /tmp can sometimes cause problems.
8837
 
# Create a temporary directory, and hook for its removal unless debugging.
 
7659
# Hook for its removal unless debugging.
 
7660
# Note that there is a small window in which the directory will not be cleaned:
 
7661
# after its creation but before its name has been assigned to `$tmp'.
8838
7662
$debug ||
8839
7663
{
8840
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8841
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
7664
  tmp=
 
7665
  trap 'exit_status=$?
 
7666
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
7667
' 0
 
7668
  trap 'as_fn_exit 1' 1 2 13 15
8842
7669
}
8843
 
 
8844
7670
# Create a (secure) tmp directory for tmp files.
8845
7671
 
8846
7672
{
8847
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
7673
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8848
7674
  test -n "$tmp" && test -d "$tmp"
8849
7675
}  ||
8850
7676
{
8851
 
  tmp=./confstat$$-$RANDOM
8852
 
  (umask 077 && mkdir $tmp)
8853
 
} ||
 
7677
  tmp=./conf$$-$RANDOM
 
7678
  (umask 077 && mkdir "$tmp")
 
7679
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
7680
 
 
7681
# Set up the scripts for CONFIG_FILES section.
 
7682
# No need to generate them if there are no CONFIG_FILES.
 
7683
# This happens for instance with `./config.status config.h'.
 
7684
if test -n "$CONFIG_FILES"; then
 
7685
 
 
7686
 
 
7687
ac_cr=`echo X | tr X '\015'`
 
7688
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
7689
# But we know of no other shell where ac_cr would be empty at this
 
7690
# point, so we can use a bashism as a fallback.
 
7691
if test "x$ac_cr" = x; then
 
7692
  eval ac_cr=\$\'\\r\'
 
7693
fi
 
7694
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
7695
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
7696
  ac_cs_awk_cr='\r'
 
7697
else
 
7698
  ac_cs_awk_cr=$ac_cr
 
7699
fi
 
7700
 
 
7701
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
7702
_ACEOF
 
7703
 
 
7704
 
8854
7705
{
8855
 
   echo "$me: cannot create a temporary directory in ." >&2
8856
 
   { (exit 1); exit 1; }
8857
 
}
8858
 
 
8859
 
_ACEOF
8860
 
 
8861
 
cat >>$CONFIG_STATUS <<_ACEOF
8862
 
 
8863
 
#
8864
 
# CONFIG_FILES section.
8865
 
#
8866
 
 
8867
 
# No need to generate the scripts if there are no CONFIG_FILES.
8868
 
# This happens for instance when ./config.status config.h
8869
 
if test -n "\$CONFIG_FILES"; then
8870
 
  # Protect against being on the right side of a sed subst in config.status.
8871
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8872
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8873
 
s,@SHELL@,$SHELL,;t t
8874
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8875
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8876
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8877
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8878
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8879
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8880
 
s,@exec_prefix@,$exec_prefix,;t t
8881
 
s,@prefix@,$prefix,;t t
8882
 
s,@program_transform_name@,$program_transform_name,;t t
8883
 
s,@bindir@,$bindir,;t t
8884
 
s,@sbindir@,$sbindir,;t t
8885
 
s,@libexecdir@,$libexecdir,;t t
8886
 
s,@datadir@,$datadir,;t t
8887
 
s,@sysconfdir@,$sysconfdir,;t t
8888
 
s,@sharedstatedir@,$sharedstatedir,;t t
8889
 
s,@localstatedir@,$localstatedir,;t t
8890
 
s,@libdir@,$libdir,;t t
8891
 
s,@includedir@,$includedir,;t t
8892
 
s,@oldincludedir@,$oldincludedir,;t t
8893
 
s,@infodir@,$infodir,;t t
8894
 
s,@mandir@,$mandir,;t t
8895
 
s,@build_alias@,$build_alias,;t t
8896
 
s,@host_alias@,$host_alias,;t t
8897
 
s,@target_alias@,$target_alias,;t t
8898
 
s,@DEFS@,$DEFS,;t t
8899
 
s,@ECHO_C@,$ECHO_C,;t t
8900
 
s,@ECHO_N@,$ECHO_N,;t t
8901
 
s,@ECHO_T@,$ECHO_T,;t t
8902
 
s,@LIBS@,$LIBS,;t t
8903
 
s,@build@,$build,;t t
8904
 
s,@build_cpu@,$build_cpu,;t t
8905
 
s,@build_vendor@,$build_vendor,;t t
8906
 
s,@build_os@,$build_os,;t t
8907
 
s,@host@,$host,;t t
8908
 
s,@host_cpu@,$host_cpu,;t t
8909
 
s,@host_vendor@,$host_vendor,;t t
8910
 
s,@host_os@,$host_os,;t t
8911
 
s,@target@,$target,;t t
8912
 
s,@target_cpu@,$target_cpu,;t t
8913
 
s,@target_vendor@,$target_vendor,;t t
8914
 
s,@target_os@,$target_os,;t t
8915
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8916
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8917
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8918
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
8919
 
s,@PACKAGE@,$PACKAGE,;t t
8920
 
s,@VERSION@,$VERSION,;t t
8921
 
s,@ACLOCAL@,$ACLOCAL,;t t
8922
 
s,@AUTOCONF@,$AUTOCONF,;t t
8923
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
8924
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
8925
 
s,@MAKEINFO@,$MAKEINFO,;t t
8926
 
s,@install_sh@,$install_sh,;t t
8927
 
s,@STRIP@,$STRIP,;t t
8928
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8929
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8930
 
s,@mkdir_p@,$mkdir_p,;t t
8931
 
s,@AWK@,$AWK,;t t
8932
 
s,@SET_MAKE@,$SET_MAKE,;t t
8933
 
s,@am__leading_dot@,$am__leading_dot,;t t
8934
 
s,@AMTAR@,$AMTAR,;t t
8935
 
s,@am__tar@,$am__tar,;t t
8936
 
s,@am__untar@,$am__untar,;t t
8937
 
s,@THREADS_TRUE@,$THREADS_TRUE,;t t
8938
 
s,@THREADS_FALSE@,$THREADS_FALSE,;t t
8939
 
s,@PLUGINS_TRUE@,$PLUGINS_TRUE,;t t
8940
 
s,@PLUGINS_FALSE@,$PLUGINS_FALSE,;t t
8941
 
s,@TARGETOBJS@,$TARGETOBJS,;t t
8942
 
s,@CC@,$CC,;t t
8943
 
s,@CFLAGS@,$CFLAGS,;t t
8944
 
s,@LDFLAGS@,$LDFLAGS,;t t
8945
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
8946
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
8947
 
s,@EXEEXT@,$EXEEXT,;t t
8948
 
s,@OBJEXT@,$OBJEXT,;t t
8949
 
s,@DEPDIR@,$DEPDIR,;t t
8950
 
s,@am__include@,$am__include,;t t
8951
 
s,@am__quote@,$am__quote,;t t
8952
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8953
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8954
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
8955
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
8956
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
8957
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
8958
 
s,@CXX@,$CXX,;t t
8959
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
8960
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
8961
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
8962
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
8963
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
8964
 
s,@YACC@,$YACC,;t t
8965
 
s,@RANLIB@,$RANLIB,;t t
8966
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8967
 
s,@LN_S@,$LN_S,;t t
8968
 
s,@USE_NLS@,$USE_NLS,;t t
8969
 
s,@LIBINTL@,$LIBINTL,;t t
8970
 
s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
8971
 
s,@INCINTL@,$INCINTL,;t t
8972
 
s,@XGETTEXT@,$XGETTEXT,;t t
8973
 
s,@GMSGFMT@,$GMSGFMT,;t t
8974
 
s,@POSUB@,$POSUB,;t t
8975
 
s,@CATALOGS@,$CATALOGS,;t t
8976
 
s,@DATADIRNAME@,$DATADIRNAME,;t t
8977
 
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
8978
 
s,@GENCAT@,$GENCAT,;t t
8979
 
s,@CATOBJEXT@,$CATOBJEXT,;t t
8980
 
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
8981
 
s,@MSGFMT@,$MSGFMT,;t t
8982
 
s,@MSGMERGE@,$MSGMERGE,;t t
8983
 
s,@NATIVE_LINKER_TRUE@,$NATIVE_LINKER_TRUE,;t t
8984
 
s,@NATIVE_LINKER_FALSE@,$NATIVE_LINKER_FALSE,;t t
8985
 
s,@GCC_TRUE@,$GCC_TRUE,;t t
8986
 
s,@GCC_FALSE@,$GCC_FALSE,;t t
8987
 
s,@FN_PTRS_IN_SO_WITHOUT_PIC_TRUE@,$FN_PTRS_IN_SO_WITHOUT_PIC_TRUE,;t t
8988
 
s,@FN_PTRS_IN_SO_WITHOUT_PIC_FALSE@,$FN_PTRS_IN_SO_WITHOUT_PIC_FALSE,;t t
8989
 
s,@MCMODEL_MEDIUM_TRUE@,$MCMODEL_MEDIUM_TRUE,;t t
8990
 
s,@MCMODEL_MEDIUM_FALSE@,$MCMODEL_MEDIUM_FALSE,;t t
8991
 
s,@TLS_TRUE@,$TLS_TRUE,;t t
8992
 
s,@TLS_FALSE@,$TLS_FALSE,;t t
8993
 
s,@STATIC_TLS_TRUE@,$STATIC_TLS_TRUE,;t t
8994
 
s,@STATIC_TLS_FALSE@,$STATIC_TLS_FALSE,;t t
8995
 
s,@OMP_SUPPORT_TRUE@,$OMP_SUPPORT_TRUE,;t t
8996
 
s,@OMP_SUPPORT_FALSE@,$OMP_SUPPORT_FALSE,;t t
8997
 
s,@TLS_GNU2_DIALECT_TRUE@,$TLS_GNU2_DIALECT_TRUE,;t t
8998
 
s,@TLS_GNU2_DIALECT_FALSE@,$TLS_GNU2_DIALECT_FALSE,;t t
8999
 
s,@TLS_DESCRIPTORS_TRUE@,$TLS_DESCRIPTORS_TRUE,;t t
9000
 
s,@TLS_DESCRIPTORS_FALSE@,$TLS_DESCRIPTORS_FALSE,;t t
9001
 
s,@CONSTRUCTOR_PRIORITY_TRUE@,$CONSTRUCTOR_PRIORITY_TRUE,;t t
9002
 
s,@CONSTRUCTOR_PRIORITY_FALSE@,$CONSTRUCTOR_PRIORITY_FALSE,;t t
9003
 
s,@RANDOM_SEED_CFLAGS@,$RANDOM_SEED_CFLAGS,;t t
9004
 
s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
9005
 
s,@NO_WERROR@,$NO_WERROR,;t t
9006
 
s,@WARN_CXXFLAGS@,$WARN_CXXFLAGS,;t t
9007
 
s,@LFS_CFLAGS@,$LFS_CFLAGS,;t t
9008
 
s,@LIBOBJS@,$LIBOBJS,;t t
9009
 
s,@CPP@,$CPP,;t t
9010
 
s,@EGREP@,$EGREP,;t t
9011
 
s,@HAVE_ZLIB_TRUE@,$HAVE_ZLIB_TRUE,;t t
9012
 
s,@HAVE_ZLIB_FALSE@,$HAVE_ZLIB_FALSE,;t t
9013
 
s,@CXXCPP@,$CXXCPP,;t t
9014
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
9015
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
9016
 
s,@MAINT@,$MAINT,;t t
9017
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9018
 
CEOF
9019
 
 
9020
 
_ACEOF
9021
 
 
9022
 
  cat >>$CONFIG_STATUS <<\_ACEOF
9023
 
  # Split the substitutions into bite-sized pieces for seds with
9024
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
9025
 
  ac_max_sed_lines=48
9026
 
  ac_sed_frag=1 # Number of current file.
9027
 
  ac_beg=1 # First line for current file.
9028
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
9029
 
  ac_more_lines=:
9030
 
  ac_sed_cmds=
9031
 
  while $ac_more_lines; do
9032
 
    if test $ac_beg -gt 1; then
9033
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9034
 
    else
9035
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9036
 
    fi
9037
 
    if test ! -s $tmp/subs.frag; then
9038
 
      ac_more_lines=false
9039
 
    else
9040
 
      # The purpose of the label and of the branching condition is to
9041
 
      # speed up the sed processing (if there are no `@' at all, there
9042
 
      # is no need to browse any of the substitutions).
9043
 
      # These are the two extra sed commands mentioned above.
9044
 
      (echo ':t
9045
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
9046
 
      if test -z "$ac_sed_cmds"; then
9047
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9048
 
      else
9049
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9050
 
      fi
9051
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
9052
 
      ac_beg=$ac_end
9053
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
9054
 
    fi
9055
 
  done
9056
 
  if test -z "$ac_sed_cmds"; then
9057
 
    ac_sed_cmds=cat
 
7706
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
7707
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
7708
  echo "_ACEOF"
 
7709
} >conf$$subs.sh ||
 
7710
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
7711
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
7712
ac_delim='%!_!# '
 
7713
for ac_last_try in false false false false false :; do
 
7714
  . ./conf$$subs.sh ||
 
7715
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
7716
 
 
7717
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
7718
  if test $ac_delim_n = $ac_delim_num; then
 
7719
    break
 
7720
  elif $ac_last_try; then
 
7721
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
7722
  else
 
7723
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9058
7724
  fi
 
7725
done
 
7726
rm -f conf$$subs.sh
 
7727
 
 
7728
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
7729
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
7730
_ACEOF
 
7731
sed -n '
 
7732
h
 
7733
s/^/S["/; s/!.*/"]=/
 
7734
p
 
7735
g
 
7736
s/^[^!]*!//
 
7737
:repl
 
7738
t repl
 
7739
s/'"$ac_delim"'$//
 
7740
t delim
 
7741
:nl
 
7742
h
 
7743
s/\(.\{148\}\).*/\1/
 
7744
t more1
 
7745
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
7746
p
 
7747
n
 
7748
b repl
 
7749
:more1
 
7750
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
7751
p
 
7752
g
 
7753
s/.\{148\}//
 
7754
t nl
 
7755
:delim
 
7756
h
 
7757
s/\(.\{148\}\).*/\1/
 
7758
t more2
 
7759
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
7760
p
 
7761
b
 
7762
:more2
 
7763
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
7764
p
 
7765
g
 
7766
s/.\{148\}//
 
7767
t delim
 
7768
' <conf$$subs.awk | sed '
 
7769
/^[^""]/{
 
7770
  N
 
7771
  s/\n//
 
7772
}
 
7773
' >>$CONFIG_STATUS || ac_write_fail=1
 
7774
rm -f conf$$subs.awk
 
7775
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
7776
_ACAWK
 
7777
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
7778
  for (key in S) S_is_set[key] = 1
 
7779
  FS = ""
 
7780
 
 
7781
}
 
7782
{
 
7783
  line = $ 0
 
7784
  nfields = split(line, field, "@")
 
7785
  substed = 0
 
7786
  len = length(field[1])
 
7787
  for (i = 2; i < nfields; i++) {
 
7788
    key = field[i]
 
7789
    keylen = length(key)
 
7790
    if (S_is_set[key]) {
 
7791
      value = S[key]
 
7792
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
7793
      len += length(value) + length(field[++i])
 
7794
      substed = 1
 
7795
    } else
 
7796
      len += 1 + keylen
 
7797
  }
 
7798
 
 
7799
  print line
 
7800
}
 
7801
 
 
7802
_ACAWK
 
7803
_ACEOF
 
7804
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
7805
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
7806
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
7807
else
 
7808
  cat
 
7809
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
7810
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
7811
_ACEOF
 
7812
 
 
7813
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
7814
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
7815
# trailing colons and then remove the whole line if VPATH becomes empty
 
7816
# (actually we leave an empty line to preserve line numbers).
 
7817
if test "x$srcdir" = x.; then
 
7818
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
7819
s/:*\$(srcdir):*/:/
 
7820
s/:*\${srcdir}:*/:/
 
7821
s/:*@srcdir@:*/:/
 
7822
s/^\([^=]*=[     ]*\):*/\1/
 
7823
s/:*$//
 
7824
s/^[^=]*=[       ]*$//
 
7825
}'
 
7826
fi
 
7827
 
 
7828
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9059
7829
fi # test -n "$CONFIG_FILES"
9060
7830
 
9061
 
_ACEOF
9062
 
cat >>$CONFIG_STATUS <<\_ACEOF
9063
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
9064
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9065
 
  case $ac_file in
9066
 
  - | *:- | *:-:* ) # input from stdin
9067
 
        cat >$tmp/stdin
9068
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9069
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9070
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9071
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9072
 
  * )   ac_file_in=$ac_file.in ;;
9073
 
  esac
9074
 
 
9075
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9076
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
7831
# Set up the scripts for CONFIG_HEADERS section.
 
7832
# No need to generate them if there are no CONFIG_HEADERS.
 
7833
# This happens for instance with `./config.status Makefile'.
 
7834
if test -n "$CONFIG_HEADERS"; then
 
7835
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
7836
BEGIN {
 
7837
_ACEOF
 
7838
 
 
7839
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
7840
# here-document in config.status, that substitutes the proper values into
 
7841
# config.h.in to produce config.h.
 
7842
 
 
7843
# Create a delimiter string that does not exist in confdefs.h, to ease
 
7844
# handling of long lines.
 
7845
ac_delim='%!_!# '
 
7846
for ac_last_try in false false :; do
 
7847
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
7848
  if test -z "$ac_t"; then
 
7849
    break
 
7850
  elif $ac_last_try; then
 
7851
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
7852
  else
 
7853
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
7854
  fi
 
7855
done
 
7856
 
 
7857
# For the awk script, D is an array of macro values keyed by name,
 
7858
# likewise P contains macro parameters if any.  Preserve backslash
 
7859
# newline sequences.
 
7860
 
 
7861
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
7862
sed -n '
 
7863
s/.\{148\}/&'"$ac_delim"'/g
 
7864
t rset
 
7865
:rset
 
7866
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
7867
t def
 
7868
d
 
7869
:def
 
7870
s/\\$//
 
7871
t bsnl
 
7872
s/["\\]/\\&/g
 
7873
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
7874
D["\1"]=" \3"/p
 
7875
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
7876
d
 
7877
:bsnl
 
7878
s/["\\]/\\&/g
 
7879
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
7880
D["\1"]=" \3\\\\\\n"\\/p
 
7881
t cont
 
7882
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
7883
t cont
 
7884
d
 
7885
:cont
 
7886
n
 
7887
s/.\{148\}/&'"$ac_delim"'/g
 
7888
t clear
 
7889
:clear
 
7890
s/\\$//
 
7891
t bsnlc
 
7892
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
7893
d
 
7894
:bsnlc
 
7895
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
7896
b cont
 
7897
' <confdefs.h | sed '
 
7898
s/'"$ac_delim"'/"\\\
 
7899
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
7900
 
 
7901
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
7902
  for (key in D) D_is_set[key] = 1
 
7903
  FS = ""
 
7904
}
 
7905
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
7906
  line = \$ 0
 
7907
  split(line, arg, " ")
 
7908
  if (arg[1] == "#") {
 
7909
    defundef = arg[2]
 
7910
    mac1 = arg[3]
 
7911
  } else {
 
7912
    defundef = substr(arg[1], 2)
 
7913
    mac1 = arg[2]
 
7914
  }
 
7915
  split(mac1, mac2, "(") #)
 
7916
  macro = mac2[1]
 
7917
  prefix = substr(line, 1, index(line, defundef) - 1)
 
7918
  if (D_is_set[macro]) {
 
7919
    # Preserve the white space surrounding the "#".
 
7920
    print prefix "define", macro P[macro] D[macro]
 
7921
    next
 
7922
  } else {
 
7923
    # Replace #undef with comments.  This is necessary, for example,
 
7924
    # in the case of _POSIX_SOURCE, which is predefined and required
 
7925
    # on some systems where configure will not decide to define it.
 
7926
    if (defundef == "undef") {
 
7927
      print "/*", prefix defundef, macro, "*/"
 
7928
      next
 
7929
    }
 
7930
  }
 
7931
}
 
7932
{ print }
 
7933
_ACAWK
 
7934
_ACEOF
 
7935
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
7936
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
7937
fi # test -n "$CONFIG_HEADERS"
 
7938
 
 
7939
 
 
7940
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
7941
shift
 
7942
for ac_tag
 
7943
do
 
7944
  case $ac_tag in
 
7945
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
7946
  esac
 
7947
  case $ac_mode$ac_tag in
 
7948
  :[FHL]*:*);;
 
7949
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
7950
  :[FH]-) ac_tag=-:-;;
 
7951
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
7952
  esac
 
7953
  ac_save_IFS=$IFS
 
7954
  IFS=:
 
7955
  set x $ac_tag
 
7956
  IFS=$ac_save_IFS
 
7957
  shift
 
7958
  ac_file=$1
 
7959
  shift
 
7960
 
 
7961
  case $ac_mode in
 
7962
  :L) ac_source=$1;;
 
7963
  :[FH])
 
7964
    ac_file_inputs=
 
7965
    for ac_f
 
7966
    do
 
7967
      case $ac_f in
 
7968
      -) ac_f="$tmp/stdin";;
 
7969
      *) # Look for the file first in the build tree, then in the source tree
 
7970
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
7971
         # because $ac_f cannot contain `:'.
 
7972
         test -f "$ac_f" ||
 
7973
           case $ac_f in
 
7974
           [\\/$]*) false;;
 
7975
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
7976
           esac ||
 
7977
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
7978
      esac
 
7979
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
7980
      as_fn_append ac_file_inputs " '$ac_f'"
 
7981
    done
 
7982
 
 
7983
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
7984
    # use $as_me), people would be surprised to read:
 
7985
    #    /* config.h.  Generated by config.status.  */
 
7986
    configure_input='Generated from '`
 
7987
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
7988
        `' by configure.'
 
7989
    if test x"$ac_file" != x-; then
 
7990
      configure_input="$ac_file.  $configure_input"
 
7991
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
7992
$as_echo "$as_me: creating $ac_file" >&6;}
 
7993
    fi
 
7994
    # Neutralize special characters interpreted by sed in replacement strings.
 
7995
    case $configure_input in #(
 
7996
    *\&* | *\|* | *\\* )
 
7997
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
7998
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
7999
    *) ac_sed_conf_input=$configure_input;;
 
8000
    esac
 
8001
 
 
8002
    case $ac_tag in
 
8003
    *:-:* | *:-) cat >"$tmp/stdin" \
 
8004
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
8005
    esac
 
8006
    ;;
 
8007
  esac
 
8008
 
 
8009
  ac_dir=`$as_dirname -- "$ac_file" ||
9077
8010
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9078
8011
         X"$ac_file" : 'X\(//\)[^/]' \| \
9079
8012
         X"$ac_file" : 'X\(//\)$' \| \
9080
 
         X"$ac_file" : 'X\(/\)' \| \
9081
 
         .     : '\(.\)' 2>/dev/null ||
9082
 
echo X"$ac_file" |
9083
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9084
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9085
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9086
 
          /^X\(\/\).*/{ s//\1/; q; }
9087
 
          s/.*/./; q'`
9088
 
  { if $as_mkdir_p; then
9089
 
    mkdir -p "$ac_dir"
9090
 
  else
9091
 
    as_dir="$ac_dir"
9092
 
    as_dirs=
9093
 
    while test ! -d "$as_dir"; do
9094
 
      as_dirs="$as_dir $as_dirs"
9095
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9096
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9097
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
9098
 
         X"$as_dir" : 'X\(//\)$' \| \
9099
 
         X"$as_dir" : 'X\(/\)' \| \
9100
 
         .     : '\(.\)' 2>/dev/null ||
9101
 
echo X"$as_dir" |
9102
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9103
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9104
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9105
 
          /^X\(\/\).*/{ s//\1/; q; }
9106
 
          s/.*/./; q'`
9107
 
    done
9108
 
    test ! -n "$as_dirs" || mkdir $as_dirs
9109
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9110
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9111
 
   { (exit 1); exit 1; }; }; }
9112
 
 
 
8013
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
8014
$as_echo X"$ac_file" |
 
8015
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
8016
            s//\1/
 
8017
            q
 
8018
          }
 
8019
          /^X\(\/\/\)[^/].*/{
 
8020
            s//\1/
 
8021
            q
 
8022
          }
 
8023
          /^X\(\/\/\)$/{
 
8024
            s//\1/
 
8025
            q
 
8026
          }
 
8027
          /^X\(\/\).*/{
 
8028
            s//\1/
 
8029
            q
 
8030
          }
 
8031
          s/.*/./; q'`
 
8032
  as_dir="$ac_dir"; as_fn_mkdir_p
9113
8033
  ac_builddir=.
9114
8034
 
9115
 
if test "$ac_dir" != .; then
9116
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9117
 
  # A "../" for each directory in $ac_dir_suffix.
9118
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9119
 
else
9120
 
  ac_dir_suffix= ac_top_builddir=
9121
 
fi
 
8035
case "$ac_dir" in
 
8036
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
8037
*)
 
8038
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
8039
  # A ".." for each directory in $ac_dir_suffix.
 
8040
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
8041
  case $ac_top_builddir_sub in
 
8042
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
8043
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
8044
  esac ;;
 
8045
esac
 
8046
ac_abs_top_builddir=$ac_pwd
 
8047
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
8048
# for backward compatibility:
 
8049
ac_top_builddir=$ac_top_build_prefix
9122
8050
 
9123
8051
case $srcdir in
9124
 
  .)  # No --srcdir option.  We are building in place.
 
8052
  .)  # We are building in place.
9125
8053
    ac_srcdir=.
9126
 
    if test -z "$ac_top_builddir"; then
9127
 
       ac_top_srcdir=.
9128
 
    else
9129
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9130
 
    fi ;;
9131
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
8054
    ac_top_srcdir=$ac_top_builddir_sub
 
8055
    ac_abs_top_srcdir=$ac_pwd ;;
 
8056
  [\\/]* | ?:[\\/]* )  # Absolute name.
9132
8057
    ac_srcdir=$srcdir$ac_dir_suffix;
9133
 
    ac_top_srcdir=$srcdir ;;
9134
 
  *) # Relative path.
9135
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9136
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
9137
 
esac
9138
 
 
9139
 
# Do not use `cd foo && pwd` to compute absolute paths, because
9140
 
# the directories may not exist.
9141
 
case `pwd` in
9142
 
.) ac_abs_builddir="$ac_dir";;
9143
 
*)
9144
 
  case "$ac_dir" in
9145
 
  .) ac_abs_builddir=`pwd`;;
9146
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9147
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
9148
 
  esac;;
9149
 
esac
9150
 
case $ac_abs_builddir in
9151
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
9152
 
*)
9153
 
  case ${ac_top_builddir}. in
9154
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
9155
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9156
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9157
 
  esac;;
9158
 
esac
9159
 
case $ac_abs_builddir in
9160
 
.) ac_abs_srcdir=$ac_srcdir;;
9161
 
*)
9162
 
  case $ac_srcdir in
9163
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
9164
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9165
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9166
 
  esac;;
9167
 
esac
9168
 
case $ac_abs_builddir in
9169
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
9170
 
*)
9171
 
  case $ac_top_srcdir in
9172
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
9173
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9174
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9175
 
  esac;;
9176
 
esac
9177
 
 
 
8058
    ac_top_srcdir=$srcdir
 
8059
    ac_abs_top_srcdir=$srcdir ;;
 
8060
  *) # Relative name.
 
8061
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
8062
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
8063
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
8064
esac
 
8065
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
8066
 
 
8067
 
 
8068
  case $ac_mode in
 
8069
  :F)
 
8070
  #
 
8071
  # CONFIG_FILE
 
8072
  #
9178
8073
 
9179
8074
  case $INSTALL in
9180
8075
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9181
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
9182
 
  esac
9183
 
 
9184
 
  if test x"$ac_file" != x-; then
9185
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
9186
 
echo "$as_me: creating $ac_file" >&6;}
9187
 
    rm -f "$ac_file"
9188
 
  fi
9189
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
9190
 
  # use $as_me), people would be surprised to read:
9191
 
  #    /* config.h.  Generated by config.status.  */
9192
 
  if test x"$ac_file" = x-; then
9193
 
    configure_input=
9194
 
  else
9195
 
    configure_input="$ac_file.  "
9196
 
  fi
9197
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
9198
 
                                     sed 's,.*/,,'` by configure."
9199
 
 
9200
 
  # First look for the input files in the build tree, otherwise in the
9201
 
  # src tree.
9202
 
  ac_file_inputs=`IFS=:
9203
 
    for f in $ac_file_in; do
9204
 
      case $f in
9205
 
      -) echo $tmp/stdin ;;
9206
 
      [\\/$]*)
9207
 
         # Absolute (can't be DOS-style, as IFS=:)
9208
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9209
 
echo "$as_me: error: cannot find input file: $f" >&2;}
9210
 
   { (exit 1); exit 1; }; }
9211
 
         echo "$f";;
9212
 
      *) # Relative
9213
 
         if test -f "$f"; then
9214
 
           # Build tree
9215
 
           echo "$f"
9216
 
         elif test -f "$srcdir/$f"; then
9217
 
           # Source tree
9218
 
           echo "$srcdir/$f"
9219
 
         else
9220
 
           # /dev/null tree
9221
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9222
 
echo "$as_me: error: cannot find input file: $f" >&2;}
9223
 
   { (exit 1); exit 1; }; }
9224
 
         fi;;
9225
 
      esac
9226
 
    done` || { (exit 1); exit 1; }
9227
 
_ACEOF
9228
 
cat >>$CONFIG_STATUS <<_ACEOF
9229
 
  sed "$ac_vpsub
 
8076
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
8077
  esac
 
8078
  ac_MKDIR_P=$MKDIR_P
 
8079
  case $MKDIR_P in
 
8080
  [\\/$]* | ?:[\\/]* ) ;;
 
8081
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
8082
  esac
 
8083
_ACEOF
 
8084
 
 
8085
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
8086
# If the template does not know about datarootdir, expand it.
 
8087
# FIXME: This hack should be removed a few years after 2.60.
 
8088
ac_datarootdir_hack=; ac_datarootdir_seen=
 
8089
ac_sed_dataroot='
 
8090
/datarootdir/ {
 
8091
  p
 
8092
  q
 
8093
}
 
8094
/@datadir@/p
 
8095
/@docdir@/p
 
8096
/@infodir@/p
 
8097
/@localedir@/p
 
8098
/@mandir@/p'
 
8099
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
8100
*datarootdir*) ac_datarootdir_seen=yes;;
 
8101
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
8102
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
8103
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
8104
_ACEOF
 
8105
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
8106
  ac_datarootdir_hack='
 
8107
  s&@datadir@&$datadir&g
 
8108
  s&@docdir@&$docdir&g
 
8109
  s&@infodir@&$infodir&g
 
8110
  s&@localedir@&$localedir&g
 
8111
  s&@mandir@&$mandir&g
 
8112
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
8113
esac
 
8114
_ACEOF
 
8115
 
 
8116
# Neutralize VPATH when `$srcdir' = `.'.
 
8117
# Shell code in configure.ac might set extrasub.
 
8118
# FIXME: do we really want to maintain this feature?
 
8119
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
8120
ac_sed_extra="$ac_vpsub
9230
8121
$extrasub
9231
8122
_ACEOF
9232
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
8123
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9233
8124
:t
9234
8125
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9235
 
s,@configure_input@,$configure_input,;t t
9236
 
s,@srcdir@,$ac_srcdir,;t t
9237
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
9238
 
s,@top_srcdir@,$ac_top_srcdir,;t t
9239
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
9240
 
s,@builddir@,$ac_builddir,;t t
9241
 
s,@abs_builddir@,$ac_abs_builddir,;t t
9242
 
s,@top_builddir@,$ac_top_builddir,;t t
9243
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
9244
 
s,@INSTALL@,$ac_INSTALL,;t t
9245
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9246
 
  rm -f $tmp/stdin
9247
 
  if test x"$ac_file" != x-; then
9248
 
    mv $tmp/out $ac_file
9249
 
  else
9250
 
    cat $tmp/out
9251
 
    rm -f $tmp/out
9252
 
  fi
9253
 
 
9254
 
done
9255
 
_ACEOF
9256
 
cat >>$CONFIG_STATUS <<\_ACEOF
9257
 
 
9258
 
#
9259
 
# CONFIG_HEADER section.
9260
 
#
9261
 
 
9262
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
9263
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
9264
 
#
9265
 
# ac_d sets the value in "#define NAME VALUE" lines.
9266
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
9267
 
ac_dB='[         ].*$,\1#\2'
9268
 
ac_dC=' '
9269
 
ac_dD=',;t'
9270
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9271
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
9272
 
ac_uB='$,\1#\2define\3'
9273
 
ac_uC=' '
9274
 
ac_uD=',;t'
9275
 
 
9276
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
9277
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
8126
s|@configure_input@|$ac_sed_conf_input|;t t
 
8127
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
8128
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
8129
s&@srcdir@&$ac_srcdir&;t t
 
8130
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
8131
s&@top_srcdir@&$ac_top_srcdir&;t t
 
8132
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
8133
s&@builddir@&$ac_builddir&;t t
 
8134
s&@abs_builddir@&$ac_abs_builddir&;t t
 
8135
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
8136
s&@INSTALL@&$ac_INSTALL&;t t
 
8137
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
8138
$ac_datarootdir_hack
 
8139
"
 
8140
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
8141
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
8142
 
 
8143
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
8144
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
8145
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
8146
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
8147
which seems to be undefined.  Please make sure it is defined." >&5
 
8148
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
8149
which seems to be undefined.  Please make sure it is defined." >&2;}
 
8150
 
 
8151
  rm -f "$tmp/stdin"
9278
8152
  case $ac_file in
9279
 
  - | *:- | *:-:* ) # input from stdin
9280
 
        cat >$tmp/stdin
9281
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9282
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9283
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9284
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9285
 
  * )   ac_file_in=$ac_file.in ;;
9286
 
  esac
9287
 
 
9288
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
9289
 
echo "$as_me: creating $ac_file" >&6;}
9290
 
 
9291
 
  # First look for the input files in the build tree, otherwise in the
9292
 
  # src tree.
9293
 
  ac_file_inputs=`IFS=:
9294
 
    for f in $ac_file_in; do
9295
 
      case $f in
9296
 
      -) echo $tmp/stdin ;;
9297
 
      [\\/$]*)
9298
 
         # Absolute (can't be DOS-style, as IFS=:)
9299
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9300
 
echo "$as_me: error: cannot find input file: $f" >&2;}
9301
 
   { (exit 1); exit 1; }; }
9302
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
9303
 
         echo "$f";;
9304
 
      *) # Relative
9305
 
         if test -f "$f"; then
9306
 
           # Build tree
9307
 
           echo "$f"
9308
 
         elif test -f "$srcdir/$f"; then
9309
 
           # Source tree
9310
 
           echo "$srcdir/$f"
9311
 
         else
9312
 
           # /dev/null tree
9313
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9314
 
echo "$as_me: error: cannot find input file: $f" >&2;}
9315
 
   { (exit 1); exit 1; }; }
9316
 
         fi;;
9317
 
      esac
9318
 
    done` || { (exit 1); exit 1; }
9319
 
  # Remove the trailing spaces.
9320
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
9321
 
 
9322
 
_ACEOF
9323
 
 
9324
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
9325
 
# `conftest.undefs', that substitutes the proper values into
9326
 
# config.h.in to produce config.h.  The first handles `#define'
9327
 
# templates, and the second `#undef' templates.
9328
 
# And first: Protect against being on the right side of a sed subst in
9329
 
# config.status.  Protect against being in an unquoted here document
9330
 
# in config.status.
9331
 
rm -f conftest.defines conftest.undefs
9332
 
# Using a here document instead of a string reduces the quoting nightmare.
9333
 
# Putting comments in sed scripts is not portable.
9334
 
#
9335
 
# `end' is used to avoid that the second main sed command (meant for
9336
 
# 0-ary CPP macros) applies to n-ary macro definitions.
9337
 
# See the Autoconf documentation for `clear'.
9338
 
cat >confdef2sed.sed <<\_ACEOF
9339
 
s/[\\&,]/\\&/g
9340
 
s,[\\$`],\\&,g
9341
 
t clear
9342
 
: clear
9343
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9344
 
t end
9345
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9346
 
: end
9347
 
_ACEOF
9348
 
# If some macros were called several times there might be several times
9349
 
# the same #defines, which is useless.  Nevertheless, we may not want to
9350
 
# sort them, since we want the *last* AC-DEFINE to be honored.
9351
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9352
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9353
 
rm -f confdef2sed.sed
9354
 
 
9355
 
# This sed command replaces #undef with comments.  This is necessary, for
9356
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
9357
 
# on some systems where configure will not decide to define it.
9358
 
cat >>conftest.undefs <<\_ACEOF
9359
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9360
 
_ACEOF
9361
 
 
9362
 
# Break up conftest.defines because some shells have a limit on the size
9363
 
# of here documents, and old seds have small limits too (100 cmds).
9364
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9365
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9366
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9367
 
echo '  :' >>$CONFIG_STATUS
9368
 
rm -f conftest.tail
9369
 
while grep . conftest.defines >/dev/null
9370
 
do
9371
 
  # Write a limited-size here document to $tmp/defines.sed.
9372
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9373
 
  # Speed up: don't consider the non `#define' lines.
9374
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
9375
 
  # Work around the forget-to-reset-the-flag bug.
9376
 
  echo 't clr' >>$CONFIG_STATUS
9377
 
  echo ': clr' >>$CONFIG_STATUS
9378
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
9379
 
  echo 'CEOF
9380
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
9381
 
  rm -f $tmp/in
9382
 
  mv $tmp/out $tmp/in
9383
 
' >>$CONFIG_STATUS
9384
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
9385
 
  rm -f conftest.defines
9386
 
  mv conftest.tail conftest.defines
9387
 
done
9388
 
rm -f conftest.defines
9389
 
echo '  fi # grep' >>$CONFIG_STATUS
9390
 
echo >>$CONFIG_STATUS
9391
 
 
9392
 
# Break up conftest.undefs because some shells have a limit on the size
9393
 
# of here documents, and old seds have small limits too (100 cmds).
9394
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
9395
 
rm -f conftest.tail
9396
 
while grep . conftest.undefs >/dev/null
9397
 
do
9398
 
  # Write a limited-size here document to $tmp/undefs.sed.
9399
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9400
 
  # Speed up: don't consider the non `#undef'
9401
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
9402
 
  # Work around the forget-to-reset-the-flag bug.
9403
 
  echo 't clr' >>$CONFIG_STATUS
9404
 
  echo ': clr' >>$CONFIG_STATUS
9405
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9406
 
  echo 'CEOF
9407
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9408
 
  rm -f $tmp/in
9409
 
  mv $tmp/out $tmp/in
9410
 
' >>$CONFIG_STATUS
9411
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9412
 
  rm -f conftest.undefs
9413
 
  mv conftest.tail conftest.undefs
9414
 
done
9415
 
rm -f conftest.undefs
9416
 
 
9417
 
cat >>$CONFIG_STATUS <<\_ACEOF
9418
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
9419
 
  # use $as_me), people would be surprised to read:
9420
 
  #    /* config.h.  Generated by config.status.  */
9421
 
  if test x"$ac_file" = x-; then
9422
 
    echo "/* Generated by configure.  */" >$tmp/config.h
9423
 
  else
9424
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
9425
 
  fi
9426
 
  cat $tmp/in >>$tmp/config.h
9427
 
  rm -f $tmp/in
 
8153
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
8154
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
8155
  esac \
 
8156
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
8157
 ;;
 
8158
  :H)
 
8159
  #
 
8160
  # CONFIG_HEADER
 
8161
  #
9428
8162
  if test x"$ac_file" != x-; then
9429
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
9430
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9431
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
8163
    {
 
8164
      $as_echo "/* $configure_input  */" \
 
8165
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
8166
    } >"$tmp/config.h" \
 
8167
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
8168
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
8169
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
8170
$as_echo "$as_me: $ac_file is unchanged" >&6;}
9432
8171
    else
9433
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9434
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9435
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
9436
 
         X"$ac_file" : 'X\(//\)$' \| \
9437
 
         X"$ac_file" : 'X\(/\)' \| \
9438
 
         .     : '\(.\)' 2>/dev/null ||
9439
 
echo X"$ac_file" |
9440
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9441
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9442
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9443
 
          /^X\(\/\).*/{ s//\1/; q; }
9444
 
          s/.*/./; q'`
9445
 
      { if $as_mkdir_p; then
9446
 
    mkdir -p "$ac_dir"
9447
 
  else
9448
 
    as_dir="$ac_dir"
9449
 
    as_dirs=
9450
 
    while test ! -d "$as_dir"; do
9451
 
      as_dirs="$as_dir $as_dirs"
9452
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9453
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9454
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
9455
 
         X"$as_dir" : 'X\(//\)$' \| \
9456
 
         X"$as_dir" : 'X\(/\)' \| \
9457
 
         .     : '\(.\)' 2>/dev/null ||
9458
 
echo X"$as_dir" |
9459
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9460
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9461
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9462
 
          /^X\(\/\).*/{ s//\1/; q; }
9463
 
          s/.*/./; q'`
9464
 
    done
9465
 
    test ! -n "$as_dirs" || mkdir $as_dirs
9466
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9467
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9468
 
   { (exit 1); exit 1; }; }; }
9469
 
 
9470
 
      rm -f $ac_file
9471
 
      mv $tmp/config.h $ac_file
 
8172
      rm -f "$ac_file"
 
8173
      mv "$tmp/config.h" "$ac_file" \
 
8174
        || as_fn_error "could not create $ac_file" "$LINENO" 5
9472
8175
    fi
9473
8176
  else
9474
 
    cat $tmp/config.h
9475
 
    rm -f $tmp/config.h
 
8177
    $as_echo "/* $configure_input  */" \
 
8178
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
8179
      || as_fn_error "could not create -" "$LINENO" 5
9476
8180
  fi
9477
 
# Compute $ac_file's index in $config_headers.
 
8181
# Compute "$ac_file"'s index in $config_headers.
 
8182
_am_arg="$ac_file"
9478
8183
_am_stamp_count=1
9479
8184
for _am_header in $config_headers :; do
9480
8185
  case $_am_header in
9481
 
    $ac_file | $ac_file:* )
 
8186
    $_am_arg | $_am_arg:* )
9482
8187
      break ;;
9483
8188
    * )
9484
8189
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9485
8190
  esac
9486
8191
done
9487
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
9488
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9489
 
         X$ac_file : 'X\(//\)[^/]' \| \
9490
 
         X$ac_file : 'X\(//\)$' \| \
9491
 
         X$ac_file : 'X\(/\)' \| \
9492
 
         .     : '\(.\)' 2>/dev/null ||
9493
 
echo X$ac_file |
9494
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9495
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9496
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9497
 
          /^X\(\/\).*/{ s//\1/; q; }
9498
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
9499
 
done
9500
 
_ACEOF
9501
 
cat >>$CONFIG_STATUS <<\_ACEOF
9502
 
 
9503
 
#
9504
 
# CONFIG_COMMANDS section.
9505
 
#
9506
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
9507
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
9508
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
9509
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
9510
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9511
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
9512
 
         X"$ac_dest" : 'X\(//\)$' \| \
9513
 
         X"$ac_dest" : 'X\(/\)' \| \
9514
 
         .     : '\(.\)' 2>/dev/null ||
9515
 
echo X"$ac_dest" |
9516
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9517
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9518
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9519
 
          /^X\(\/\).*/{ s//\1/; q; }
9520
 
          s/.*/./; q'`
9521
 
  { if $as_mkdir_p; then
9522
 
    mkdir -p "$ac_dir"
9523
 
  else
9524
 
    as_dir="$ac_dir"
9525
 
    as_dirs=
9526
 
    while test ! -d "$as_dir"; do
9527
 
      as_dirs="$as_dir $as_dirs"
9528
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9529
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9530
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
9531
 
         X"$as_dir" : 'X\(//\)$' \| \
9532
 
         X"$as_dir" : 'X\(/\)' \| \
9533
 
         .     : '\(.\)' 2>/dev/null ||
9534
 
echo X"$as_dir" |
9535
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9536
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9537
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9538
 
          /^X\(\/\).*/{ s//\1/; q; }
9539
 
          s/.*/./; q'`
9540
 
    done
9541
 
    test ! -n "$as_dirs" || mkdir $as_dirs
9542
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9543
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9544
 
   { (exit 1); exit 1; }; }; }
9545
 
 
9546
 
  ac_builddir=.
9547
 
 
9548
 
if test "$ac_dir" != .; then
9549
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9550
 
  # A "../" for each directory in $ac_dir_suffix.
9551
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9552
 
else
9553
 
  ac_dir_suffix= ac_top_builddir=
9554
 
fi
9555
 
 
9556
 
case $srcdir in
9557
 
  .)  # No --srcdir option.  We are building in place.
9558
 
    ac_srcdir=.
9559
 
    if test -z "$ac_top_builddir"; then
9560
 
       ac_top_srcdir=.
9561
 
    else
9562
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9563
 
    fi ;;
9564
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
9565
 
    ac_srcdir=$srcdir$ac_dir_suffix;
9566
 
    ac_top_srcdir=$srcdir ;;
9567
 
  *) # Relative path.
9568
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9569
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
9570
 
esac
9571
 
 
9572
 
# Do not use `cd foo && pwd` to compute absolute paths, because
9573
 
# the directories may not exist.
9574
 
case `pwd` in
9575
 
.) ac_abs_builddir="$ac_dir";;
9576
 
*)
9577
 
  case "$ac_dir" in
9578
 
  .) ac_abs_builddir=`pwd`;;
9579
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9580
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
9581
 
  esac;;
9582
 
esac
9583
 
case $ac_abs_builddir in
9584
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
9585
 
*)
9586
 
  case ${ac_top_builddir}. in
9587
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
9588
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9589
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9590
 
  esac;;
9591
 
esac
9592
 
case $ac_abs_builddir in
9593
 
.) ac_abs_srcdir=$ac_srcdir;;
9594
 
*)
9595
 
  case $ac_srcdir in
9596
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
9597
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9598
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9599
 
  esac;;
9600
 
esac
9601
 
case $ac_abs_builddir in
9602
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
9603
 
*)
9604
 
  case $ac_top_srcdir in
9605
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
9606
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9607
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9608
 
  esac;;
9609
 
esac
9610
 
 
9611
 
 
9612
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9613
 
echo "$as_me: executing $ac_dest commands" >&6;}
9614
 
  case $ac_dest in
9615
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
9616
 
  # Strip MF so we end up with the name of the file.
9617
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
9618
 
  # Check whether this is an Automake generated Makefile or not.
9619
 
  # We used to match only the files named `Makefile.in', but
9620
 
  # some people rename them; so instead we look at the file content.
9621
 
  # Grep'ing the first line is not enough: some people post-process
9622
 
  # each Makefile.in and add a new line on top of each file to say so.
9623
 
  # So let's grep whole file.
9624
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
9625
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
8192
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
8193
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
8194
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
8195
         X"$_am_arg" : 'X\(//\)$' \| \
 
8196
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
8197
$as_echo X"$_am_arg" |
 
8198
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
8199
            s//\1/
 
8200
            q
 
8201
          }
 
8202
          /^X\(\/\/\)[^/].*/{
 
8203
            s//\1/
 
8204
            q
 
8205
          }
 
8206
          /^X\(\/\/\)$/{
 
8207
            s//\1/
 
8208
            q
 
8209
          }
 
8210
          /^X\(\/\).*/{
 
8211
            s//\1/
 
8212
            q
 
8213
          }
 
8214
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
8215
 ;;
 
8216
 
 
8217
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
8218
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
8219
 ;;
 
8220
  esac
 
8221
 
 
8222
 
 
8223
  case $ac_file$ac_mode in
 
8224
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
8225
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
8226
  # are listed without --file.  Let's play safe and only enable the eval
 
8227
  # if we detect the quoting.
 
8228
  case $CONFIG_FILES in
 
8229
  *\'*) eval set x "$CONFIG_FILES" ;;
 
8230
  *)   set x $CONFIG_FILES ;;
 
8231
  esac
 
8232
  shift
 
8233
  for mf
 
8234
  do
 
8235
    # Strip MF so we end up with the name of the file.
 
8236
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
8237
    # Check whether this is an Automake generated Makefile or not.
 
8238
    # We used to match only the files named `Makefile.in', but
 
8239
    # some people rename them; so instead we look at the file content.
 
8240
    # Grep'ing the first line is not enough: some people post-process
 
8241
    # each Makefile.in and add a new line on top of each file to say so.
 
8242
    # Grep'ing the whole file is not good either: AIX grep has a line
 
8243
    # limit of 2048, but all sed's we know have understand at least 4000.
 
8244
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
8245
      dirpart=`$as_dirname -- "$mf" ||
9626
8246
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9627
8247
         X"$mf" : 'X\(//\)[^/]' \| \
9628
8248
         X"$mf" : 'X\(//\)$' \| \
9629
 
         X"$mf" : 'X\(/\)' \| \
9630
 
         .     : '\(.\)' 2>/dev/null ||
9631
 
echo X"$mf" |
9632
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9633
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9634
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9635
 
          /^X\(\/\).*/{ s//\1/; q; }
9636
 
          s/.*/./; q'`
9637
 
  else
9638
 
    continue
9639
 
  fi
9640
 
  # Extract the definition of DEPDIR, am__include, and am__quote
9641
 
  # from the Makefile without running `make'.
9642
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9643
 
  test -z "$DEPDIR" && continue
9644
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
9645
 
  test -z "am__include" && continue
9646
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9647
 
  # When using ansi2knr, U may be empty or an underscore; expand it
9648
 
  U=`sed -n 's/^U = //p' < "$mf"`
9649
 
  # Find all dependency output files, they are included files with
9650
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
9651
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
9652
 
  # expansion.
9653
 
  for file in `sed -n "
9654
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9655
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9656
 
    # Make sure the directory exists.
9657
 
    test -f "$dirpart/$file" && continue
9658
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
8249
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
8250
$as_echo X"$mf" |
 
8251
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
8252
            s//\1/
 
8253
            q
 
8254
          }
 
8255
          /^X\(\/\/\)[^/].*/{
 
8256
            s//\1/
 
8257
            q
 
8258
          }
 
8259
          /^X\(\/\/\)$/{
 
8260
            s//\1/
 
8261
            q
 
8262
          }
 
8263
          /^X\(\/\).*/{
 
8264
            s//\1/
 
8265
            q
 
8266
          }
 
8267
          s/.*/./; q'`
 
8268
    else
 
8269
      continue
 
8270
    fi
 
8271
    # Extract the definition of DEPDIR, am__include, and am__quote
 
8272
    # from the Makefile without running `make'.
 
8273
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
8274
    test -z "$DEPDIR" && continue
 
8275
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
8276
    test -z "am__include" && continue
 
8277
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
8278
    # When using ansi2knr, U may be empty or an underscore; expand it
 
8279
    U=`sed -n 's/^U = //p' < "$mf"`
 
8280
    # Find all dependency output files, they are included files with
 
8281
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
8282
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
8283
    # expansion.
 
8284
    for file in `sed -n "
 
8285
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
8286
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
8287
      # Make sure the directory exists.
 
8288
      test -f "$dirpart/$file" && continue
 
8289
      fdir=`$as_dirname -- "$file" ||
9659
8290
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9660
8291
         X"$file" : 'X\(//\)[^/]' \| \
9661
8292
         X"$file" : 'X\(//\)$' \| \
9662
 
         X"$file" : 'X\(/\)' \| \
9663
 
         .     : '\(.\)' 2>/dev/null ||
9664
 
echo X"$file" |
9665
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9666
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9667
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9668
 
          /^X\(\/\).*/{ s//\1/; q; }
9669
 
          s/.*/./; q'`
9670
 
    { if $as_mkdir_p; then
9671
 
    mkdir -p $dirpart/$fdir
9672
 
  else
9673
 
    as_dir=$dirpart/$fdir
9674
 
    as_dirs=
9675
 
    while test ! -d "$as_dir"; do
9676
 
      as_dirs="$as_dir $as_dirs"
9677
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9678
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9679
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
9680
 
         X"$as_dir" : 'X\(//\)$' \| \
9681
 
         X"$as_dir" : 'X\(/\)' \| \
9682
 
         .     : '\(.\)' 2>/dev/null ||
9683
 
echo X"$as_dir" |
9684
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9685
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9686
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9687
 
          /^X\(\/\).*/{ s//\1/; q; }
9688
 
          s/.*/./; q'`
 
8293
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
8294
$as_echo X"$file" |
 
8295
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
8296
            s//\1/
 
8297
            q
 
8298
          }
 
8299
          /^X\(\/\/\)[^/].*/{
 
8300
            s//\1/
 
8301
            q
 
8302
          }
 
8303
          /^X\(\/\/\)$/{
 
8304
            s//\1/
 
8305
            q
 
8306
          }
 
8307
          /^X\(\/\).*/{
 
8308
            s//\1/
 
8309
            q
 
8310
          }
 
8311
          s/.*/./; q'`
 
8312
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
8313
      # echo "creating $dirpart/$file"
 
8314
      echo '# dummy' > "$dirpart/$file"
9689
8315
    done
9690
 
    test ! -n "$as_dirs" || mkdir $as_dirs
9691
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
9692
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
9693
 
   { (exit 1); exit 1; }; }; }
9694
 
 
9695
 
    # echo "creating $dirpart/$file"
9696
 
    echo '# dummy' > "$dirpart/$file"
9697
8316
  done
9698
 
done
 
8317
}
9699
8318
 ;;
9700
 
    default-1 )
 
8319
    "default-1":C)
9701
8320
    for ac_file in $CONFIG_FILES; do
9702
8321
      # Support "outfile[:infile[:infile...]]"
9703
8322
      case "$ac_file" in
9798
8417
        ;;
9799
8418
      esac
9800
8419
    done ;;
 
8420
 
9801
8421
  esac
9802
 
done
9803
 
_ACEOF
9804
 
 
9805
 
cat >>$CONFIG_STATUS <<\_ACEOF
9806
 
 
9807
 
{ (exit 0); exit 0; }
9808
 
_ACEOF
9809
 
chmod +x $CONFIG_STATUS
 
8422
done # for ac_tag
 
8423
 
 
8424
 
 
8425
as_fn_exit 0
 
8426
_ACEOF
9810
8427
ac_clean_files=$ac_clean_files_save
9811
8428
 
 
8429
test $ac_write_fail = 0 ||
 
8430
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
8431
 
9812
8432
 
9813
8433
# configure is writing to config.log, and then calls config.status.
9814
8434
# config.status does its own redirection, appending to config.log.
9828
8448
  exec 5>>config.log
9829
8449
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9830
8450
  # would make configure fail if this is the last instruction.
9831
 
  $ac_cs_success || { (exit 1); exit 1; }
 
8451
  $ac_cs_success || as_fn_exit $?
 
8452
fi
 
8453
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
8454
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
8455
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9832
8456
fi
9833
8457