~ubuntu-branches/ubuntu/trusty/uim/trusty

« back to all changes in this revision

Viewing changes to .pc/ppc64el.diff/sigscheme/libgcroots/configure

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-03-28 14:30:55 UTC
  • mfrom: (15.1.26 trusty-proposed)
  • Revision ID: package-import@ubuntu.com-20140328143055-5j14c7vicvlxvkh6
Tags: 1:1.8.6-4ubuntu1
* Build using autotools-dev.
* Patch aclocal.m4 and configure for ppc64el.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# Guess values for system-dependent variables and create Makefiles.
 
3
# Generated by GNU Autoconf 2.68 for gcroots 0.2.3.
 
4
#
 
5
# Report bugs to <sigscheme-ja@googlegroups.com>.
 
6
#
 
7
#
 
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
 
11
#
 
12
#
 
13
# This configure script is free software; the Free Software Foundation
 
14
# gives unlimited permission to copy, distribute and modify it.
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
 
18
 
 
19
# Be more Bourne compatible
 
20
DUALCASE=1; export DUALCASE # for MKS sh
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
22
  emulate sh
 
23
  NULLCMD=:
 
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
25
  # is contrary to our usage.  Disable this feature.
 
26
  alias -g '${1+"$@"}'='"$@"'
 
27
  setopt NO_GLOB_SUBST
 
28
else
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
 
34
esac
 
35
fi
 
36
 
 
37
 
 
38
as_nl='
 
39
'
 
40
export as_nl
 
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
46
# but without wasting forks for bash or zsh.
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='print -r --'
 
50
  as_echo_n='print -rn --'
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
52
  as_echo='printf %s\n'
 
53
  as_echo_n='printf %s'
 
54
else
 
55
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
56
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
57
    as_echo_n='/usr/ucb/echo -n'
 
58
  else
 
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
60
    as_echo_n_body='eval
 
61
      arg=$1;
 
62
      case $arg in #(
 
63
      *"$as_nl"*)
 
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
66
      esac;
 
67
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
68
    '
 
69
    export as_echo_n_body
 
70
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
71
  fi
 
72
  export as_echo_body
 
73
  as_echo='sh -c $as_echo_body as_echo'
 
74
fi
 
75
 
 
76
# The user is always right.
 
77
if test "${PATH_SEPARATOR+set}" != set; then
 
78
  PATH_SEPARATOR=:
 
79
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
80
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
81
      PATH_SEPARATOR=';'
 
82
  }
 
83
fi
 
84
 
 
85
 
 
86
# IFS
 
87
# We need space, tab and new line, in precisely that order.  Quoting is
 
88
# there to prevent editors from complaining about space-tab.
 
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
90
# splitting by setting IFS to empty value.)
 
91
IFS=" ""        $as_nl"
 
92
 
 
93
# Find who we are.  Look in the path if we contain no directory separator.
 
94
as_myself=
 
95
case $0 in #((
 
96
  *[\\/]* ) as_myself=$0 ;;
 
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
98
for as_dir in $PATH
 
99
do
 
100
  IFS=$as_save_IFS
 
101
  test -z "$as_dir" && as_dir=.
 
102
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
103
  done
 
104
IFS=$as_save_IFS
 
105
 
 
106
     ;;
 
107
esac
 
108
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
109
# in which case we are not to be found in the path.
 
110
if test "x$as_myself" = x; then
 
111
  as_myself=$0
 
112
fi
 
113
if test ! -f "$as_myself"; then
 
114
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
115
  exit 1
 
116
fi
 
117
 
 
118
# Unset variables that we do not need and which cause bugs (e.g. in
 
119
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
120
# suppresses any "Segmentation fault" message there.  '((' could
 
121
# trigger a bug in pdksh 5.2.14.
 
122
for as_var in BASH_ENV ENV MAIL MAILPATH
 
123
do eval test x\${$as_var+set} = xset \
 
124
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
125
done
 
126
PS1='$ '
 
127
PS2='> '
 
128
PS4='+ '
 
129
 
 
130
# NLS nuisances.
 
131
LC_ALL=C
 
132
export LC_ALL
 
133
LANGUAGE=C
 
134
export LANGUAGE
 
135
 
 
136
# CDPATH.
 
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
138
 
 
139
if test "x$CONFIG_SHELL" = x; then
 
140
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
141
  emulate sh
 
142
  NULLCMD=:
 
143
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
144
  # is contrary to our usage.  Disable this feature.
 
145
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
146
  setopt NO_GLOB_SUBST
 
147
else
 
148
  case \`(set -o) 2>/dev/null\` in #(
 
149
  *posix*) :
 
150
    set -o posix ;; #(
 
151
  *) :
 
152
     ;;
 
153
esac
 
154
fi
 
155
"
 
156
  as_required="as_fn_return () { (exit \$1); }
 
157
as_fn_success () { as_fn_return 0; }
 
158
as_fn_failure () { as_fn_return 1; }
 
159
as_fn_ret_success () { return 0; }
 
160
as_fn_ret_failure () { return 1; }
 
161
 
 
162
exitcode=0
 
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
168
 
 
169
else
 
170
  exitcode=1; echo positional parameters were not saved.
 
171
fi
 
172
test x\$exitcode = x0 || exit 1"
 
173
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
177
test \$(( 1 + 1 )) = 2 || exit 1
 
178
 
 
179
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
180
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
181
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
182
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
183
    PATH=/empty FPATH=/empty; export PATH FPATH
 
184
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
185
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
 
186
  if (eval "$as_required") 2>/dev/null; then :
 
187
  as_have_required=yes
 
188
else
 
189
  as_have_required=no
 
190
fi
 
191
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
192
 
 
193
else
 
194
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
195
as_found=false
 
196
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
197
do
 
198
  IFS=$as_save_IFS
 
199
  test -z "$as_dir" && as_dir=.
 
200
  as_found=:
 
201
  case $as_dir in #(
 
202
         /*)
 
203
           for as_base in sh bash ksh sh5; do
 
204
             # Try only shells that exist, to save several forks.
 
205
             as_shell=$as_dir/$as_base
 
206
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
207
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
208
  CONFIG_SHELL=$as_shell as_have_required=yes
 
209
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
210
  break 2
 
211
fi
 
212
fi
 
213
           done;;
 
214
       esac
 
215
  as_found=false
 
216
done
 
217
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
218
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
219
  CONFIG_SHELL=$SHELL as_have_required=yes
 
220
fi; }
 
221
IFS=$as_save_IFS
 
222
 
 
223
 
 
224
      if test "x$CONFIG_SHELL" != x; then :
 
225
  # We cannot yet assume a decent shell, so we have to provide a
 
226
        # neutralization value for shells without unset; and this also
 
227
        # works around shells that cannot unset nonexistent variables.
 
228
        # Preserve -v and -x to the replacement shell.
 
229
        BASH_ENV=/dev/null
 
230
        ENV=/dev/null
 
231
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
232
        export CONFIG_SHELL
 
233
        case $- in # ((((
 
234
          *v*x* | *x*v* ) as_opts=-vx ;;
 
235
          *v* ) as_opts=-v ;;
 
236
          *x* ) as_opts=-x ;;
 
237
          * ) as_opts= ;;
 
238
        esac
 
239
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 
240
fi
 
241
 
 
242
    if test x$as_have_required = xno; then :
 
243
  $as_echo "$0: This script requires a shell more modern than all"
 
244
  $as_echo "$0: the shells that I found on your system."
 
245
  if test x${ZSH_VERSION+set} = xset ; then
 
246
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
247
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
248
  else
 
249
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
250
$0: sigscheme-ja@googlegroups.com about your system,
 
251
$0: including any error possibly output before this
 
252
$0: message. Then install a modern shell, or manually run
 
253
$0: the script under such a shell if you do have one."
 
254
  fi
 
255
  exit 1
 
256
fi
 
257
fi
 
258
fi
 
259
SHELL=${CONFIG_SHELL-/bin/sh}
 
260
export SHELL
 
261
# Unset more variables known to interfere with behavior of common tools.
 
262
CLICOLOR_FORCE= GREP_OPTIONS=
 
263
unset CLICOLOR_FORCE GREP_OPTIONS
 
264
 
 
265
## --------------------- ##
 
266
## M4sh Shell Functions. ##
 
267
## --------------------- ##
 
268
# as_fn_unset VAR
 
269
# ---------------
 
270
# Portably unset VAR.
 
271
as_fn_unset ()
 
272
{
 
273
  { eval $1=; unset $1;}
 
274
}
 
275
as_unset=as_fn_unset
 
276
 
 
277
# as_fn_set_status STATUS
 
278
# -----------------------
 
279
# Set $? to STATUS, without forking.
 
280
as_fn_set_status ()
 
281
{
 
282
  return $1
 
283
} # as_fn_set_status
 
284
 
 
285
# as_fn_exit STATUS
 
286
# -----------------
 
287
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
288
as_fn_exit ()
 
289
{
 
290
  set +e
 
291
  as_fn_set_status $1
 
292
  exit $1
 
293
} # as_fn_exit
 
294
 
 
295
# as_fn_mkdir_p
 
296
# -------------
 
297
# Create "$as_dir" as a directory, including parents if necessary.
 
298
as_fn_mkdir_p ()
 
299
{
 
300
 
 
301
  case $as_dir in #(
 
302
  -*) as_dir=./$as_dir;;
 
303
  esac
 
304
  test -d "$as_dir" || eval $as_mkdir_p || {
 
305
    as_dirs=
 
306
    while :; do
 
307
      case $as_dir in #(
 
308
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
309
      *) as_qdir=$as_dir;;
 
310
      esac
 
311
      as_dirs="'$as_qdir' $as_dirs"
 
312
      as_dir=`$as_dirname -- "$as_dir" ||
 
313
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
314
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
315
         X"$as_dir" : 'X\(//\)$' \| \
 
316
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
317
$as_echo X"$as_dir" |
 
318
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
319
            s//\1/
 
320
            q
 
321
          }
 
322
          /^X\(\/\/\)[^/].*/{
 
323
            s//\1/
 
324
            q
 
325
          }
 
326
          /^X\(\/\/\)$/{
 
327
            s//\1/
 
328
            q
 
329
          }
 
330
          /^X\(\/\).*/{
 
331
            s//\1/
 
332
            q
 
333
          }
 
334
          s/.*/./; q'`
 
335
      test -d "$as_dir" && break
 
336
    done
 
337
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
338
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
339
 
 
340
 
 
341
} # as_fn_mkdir_p
 
342
# as_fn_append VAR VALUE
 
343
# ----------------------
 
344
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
345
# advantage of any shell optimizations that allow amortized linear growth over
 
346
# repeated appends, instead of the typical quadratic growth present in naive
 
347
# implementations.
 
348
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
349
  eval 'as_fn_append ()
 
350
  {
 
351
    eval $1+=\$2
 
352
  }'
 
353
else
 
354
  as_fn_append ()
 
355
  {
 
356
    eval $1=\$$1\$2
 
357
  }
 
358
fi # as_fn_append
 
359
 
 
360
# as_fn_arith ARG...
 
361
# ------------------
 
362
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
363
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
364
# must be portable across $(()) and expr.
 
365
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
366
  eval 'as_fn_arith ()
 
367
  {
 
368
    as_val=$(( $* ))
 
369
  }'
 
370
else
 
371
  as_fn_arith ()
 
372
  {
 
373
    as_val=`expr "$@" || test $? -eq 1`
 
374
  }
 
375
fi # as_fn_arith
 
376
 
 
377
 
 
378
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
379
# ----------------------------------------
 
380
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
381
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
382
# script with STATUS, using 1 if that was 0.
 
383
as_fn_error ()
 
384
{
 
385
  as_status=$1; test $as_status -eq 0 && as_status=1
 
386
  if test "$4"; then
 
387
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
388
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
389
  fi
 
390
  $as_echo "$as_me: error: $2" >&2
 
391
  as_fn_exit $as_status
 
392
} # as_fn_error
 
393
 
 
394
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
395
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
396
  as_expr=expr
 
397
else
 
398
  as_expr=false
 
399
fi
 
400
 
 
401
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
402
  as_basename=basename
 
403
else
 
404
  as_basename=false
 
405
fi
 
406
 
 
407
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
408
  as_dirname=dirname
 
409
else
 
410
  as_dirname=false
 
411
fi
 
412
 
 
413
as_me=`$as_basename -- "$0" ||
 
414
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
415
         X"$0" : 'X\(//\)$' \| \
 
416
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
417
$as_echo X/"$0" |
 
418
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
419
            s//\1/
 
420
            q
 
421
          }
 
422
          /^X\/\(\/\/\)$/{
 
423
            s//\1/
 
424
            q
 
425
          }
 
426
          /^X\/\(\/\).*/{
 
427
            s//\1/
 
428
            q
 
429
          }
 
430
          s/.*/./; q'`
 
431
 
 
432
# Avoid depending upon Character Ranges.
 
433
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
434
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
435
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
436
as_cr_digits='0123456789'
 
437
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
438
 
 
439
 
 
440
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
441
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
442
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
443
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
444
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
445
  sed -n '
 
446
    p
 
447
    /[$]LINENO/=
 
448
  ' <$as_myself |
 
449
    sed '
 
450
      s/[$]LINENO.*/&-/
 
451
      t lineno
 
452
      b
 
453
      :lineno
 
454
      N
 
455
      :loop
 
456
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
457
      t loop
 
458
      s/-\n.*//
 
459
    ' >$as_me.lineno &&
 
460
  chmod +x "$as_me.lineno" ||
 
461
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
462
 
 
463
  # Don't try to exec as it changes $[0], causing all sort of problems
 
464
  # (the dirname of $[0] is not the place where we might find the
 
465
  # original and so on.  Autoconf is especially sensitive to this).
 
466
  . "./$as_me.lineno"
 
467
  # Exit status is that of the last command.
 
468
  exit
 
469
}
 
470
 
 
471
ECHO_C= ECHO_N= ECHO_T=
 
472
case `echo -n x` in #(((((
 
473
-n*)
 
474
  case `echo 'xy\c'` in
 
475
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
476
  xy)  ECHO_C='\c';;
 
477
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
478
       ECHO_T=' ';;
 
479
  esac;;
 
480
*)
 
481
  ECHO_N='-n';;
 
482
esac
 
483
 
 
484
rm -f conf$$ conf$$.exe conf$$.file
 
485
if test -d conf$$.dir; then
 
486
  rm -f conf$$.dir/conf$$.file
 
487
else
 
488
  rm -f conf$$.dir
 
489
  mkdir conf$$.dir 2>/dev/null
 
490
fi
 
491
if (echo >conf$$.file) 2>/dev/null; then
 
492
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
493
    as_ln_s='ln -s'
 
494
    # ... but there are two gotchas:
 
495
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
496
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
497
    # In both cases, we have to default to `cp -p'.
 
498
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
499
      as_ln_s='cp -p'
 
500
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
501
    as_ln_s=ln
 
502
  else
 
503
    as_ln_s='cp -p'
 
504
  fi
 
505
else
 
506
  as_ln_s='cp -p'
 
507
fi
 
508
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
509
rmdir conf$$.dir 2>/dev/null
 
510
 
 
511
if mkdir -p . 2>/dev/null; then
 
512
  as_mkdir_p='mkdir -p "$as_dir"'
 
513
else
 
514
  test -d ./-p && rmdir ./-p
 
515
  as_mkdir_p=false
 
516
fi
 
517
 
 
518
if test -x / >/dev/null 2>&1; then
 
519
  as_test_x='test -x'
 
520
else
 
521
  if ls -dL / >/dev/null 2>&1; then
 
522
    as_ls_L_option=L
 
523
  else
 
524
    as_ls_L_option=
 
525
  fi
 
526
  as_test_x='
 
527
    eval sh -c '\''
 
528
      if test -d "$1"; then
 
529
        test -d "$1/.";
 
530
      else
 
531
        case $1 in #(
 
532
        -*)set "./$1";;
 
533
        esac;
 
534
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
535
        ???[sx]*):;;*)false;;esac;fi
 
536
    '\'' sh
 
537
  '
 
538
fi
 
539
as_executable_p=$as_test_x
 
540
 
 
541
# Sed expression to map a string onto a valid CPP name.
 
542
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
543
 
 
544
# Sed expression to map a string onto a valid variable name.
 
545
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
546
 
 
547
SHELL=${CONFIG_SHELL-/bin/sh}
 
548
 
 
549
 
 
550
test -n "$DJDIR" || exec 7<&0 </dev/null
 
551
exec 6>&1
 
552
 
 
553
# Name of the host.
 
554
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 
555
# so uname gets run too.
 
556
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
557
 
 
558
#
 
559
# Initializations.
 
560
#
 
561
ac_default_prefix=/usr/local
 
562
ac_clean_files=
 
563
ac_config_libobj_dir=.
 
564
LIBOBJS=
 
565
cross_compiling=no
 
566
subdirs=
 
567
MFLAGS=
 
568
MAKEFLAGS=
 
569
 
 
570
# Identity of this package.
 
571
PACKAGE_NAME='gcroots'
 
572
PACKAGE_TARNAME='libgcroots'
 
573
PACKAGE_VERSION='0.2.3'
 
574
PACKAGE_STRING='gcroots 0.2.3'
 
575
PACKAGE_BUGREPORT='sigscheme-ja@googlegroups.com'
 
576
PACKAGE_URL=''
 
577
 
 
578
ac_unique_file="include/private/gcroots_priv.h"
 
579
# Factoring default headers for most tests.
 
580
ac_includes_default="\
 
581
#include <stdio.h>
 
582
#ifdef HAVE_SYS_TYPES_H
 
583
# include <sys/types.h>
 
584
#endif
 
585
#ifdef HAVE_SYS_STAT_H
 
586
# include <sys/stat.h>
 
587
#endif
 
588
#ifdef STDC_HEADERS
 
589
# include <stdlib.h>
 
590
# include <stddef.h>
 
591
#else
 
592
# ifdef HAVE_STDLIB_H
 
593
#  include <stdlib.h>
 
594
# endif
 
595
#endif
 
596
#ifdef HAVE_STRING_H
 
597
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
598
#  include <memory.h>
 
599
# endif
 
600
# include <string.h>
 
601
#endif
 
602
#ifdef HAVE_STRINGS_H
 
603
# include <strings.h>
 
604
#endif
 
605
#ifdef HAVE_INTTYPES_H
 
606
# include <inttypes.h>
 
607
#endif
 
608
#ifdef HAVE_STDINT_H
 
609
# include <stdint.h>
 
610
#endif
 
611
#ifdef HAVE_UNISTD_H
 
612
# include <unistd.h>
 
613
#endif"
 
614
 
 
615
ac_c_werror_flag=
 
616
ac_subst_vars='am__EXEEXT_FALSE
 
617
am__EXEEXT_TRUE
 
618
LTLIBOBJS
 
619
LIBOBJS
 
620
atomic_ops_libs
 
621
NEED_ATOMIC_OPS_ASM_FALSE
 
622
NEED_ATOMIC_OPS_ASM_TRUE
 
623
USE_INTERNAL_LIBATOMIC_OPS_FALSE
 
624
USE_INTERNAL_LIBATOMIC_OPS_TRUE
 
625
USE_LIBDIR_FALSE
 
626
USE_LIBDIR_TRUE
 
627
UNWINDLIBS
 
628
ENABLE_GCJ_SUPPORT_FALSE
 
629
ENABLE_GCJ_SUPPORT_TRUE
 
630
CXXFLAGS
 
631
OTOOL64
 
632
OTOOL
 
633
LIPO
 
634
NMEDIT
 
635
DSYMUTIL
 
636
MANIFEST_TOOL
 
637
ac_ct_AR
 
638
DLLTOOL
 
639
OBJDUMP
 
640
LN_S
 
641
NM
 
642
ac_ct_DUMPBIN
 
643
DUMPBIN
 
644
LD
 
645
FGREP
 
646
SED
 
647
LIBTOOL
 
648
addlibs
 
649
addobjs
 
650
CXXINCLUDES
 
651
INCLUDES
 
652
CXX
 
653
CPLUSPLUS_FALSE
 
654
CPLUSPLUS_TRUE
 
655
target_all
 
656
EXTRA_TEST_LIBS
 
657
extra_ldflags_libgc
 
658
COMPILER_XLC_FALSE
 
659
COMPILER_XLC_TRUE
 
660
WIN32_THREADS_FALSE
 
661
WIN32_THREADS_TRUE
 
662
DARWIN_THREADS_FALSE
 
663
DARWIN_THREADS_TRUE
 
664
PTHREADS_FALSE
 
665
PTHREADS_TRUE
 
666
THREADS_FALSE
 
667
THREADS_TRUE
 
668
THREADDLLIBS
 
669
EGREP
 
670
GREP
 
671
CPP
 
672
GC_CFLAGS
 
673
SHA1
 
674
MD5
 
675
RANLIB
 
676
AR
 
677
am__fastdepCCAS_FALSE
 
678
am__fastdepCCAS_TRUE
 
679
CCASDEPMODE
 
680
CCASFLAGS
 
681
CCAS
 
682
am__fastdepCC_FALSE
 
683
am__fastdepCC_TRUE
 
684
CCDEPMODE
 
685
am__nodep
 
686
AMDEPBACKSLASH
 
687
AMDEP_FALSE
 
688
AMDEP_TRUE
 
689
am__quote
 
690
am__include
 
691
DEPDIR
 
692
OBJEXT
 
693
EXEEXT
 
694
ac_ct_CC
 
695
CPPFLAGS
 
696
LDFLAGS
 
697
CFLAGS
 
698
CC
 
699
MAINT
 
700
MAINTAINER_MODE_FALSE
 
701
MAINTAINER_MODE_TRUE
 
702
am__untar
 
703
am__tar
 
704
AMTAR
 
705
am__leading_dot
 
706
SET_MAKE
 
707
AWK
 
708
mkdir_p
 
709
MKDIR_P
 
710
INSTALL_STRIP_PROGRAM
 
711
STRIP
 
712
install_sh
 
713
MAKEINFO
 
714
AUTOHEADER
 
715
AUTOMAKE
 
716
AUTOCONF
 
717
ACLOCAL
 
718
VERSION
 
719
PACKAGE
 
720
CYGPATH_W
 
721
am__isrc
 
722
INSTALL_DATA
 
723
INSTALL_SCRIPT
 
724
INSTALL_PROGRAM
 
725
target_os
 
726
target_vendor
 
727
target_cpu
 
728
target
 
729
host_os
 
730
host_vendor
 
731
host_cpu
 
732
host
 
733
build_os
 
734
build_vendor
 
735
build_cpu
 
736
build
 
737
target_alias
 
738
host_alias
 
739
build_alias
 
740
LIBS
 
741
ECHO_T
 
742
ECHO_N
 
743
ECHO_C
 
744
DEFS
 
745
mandir
 
746
localedir
 
747
libdir
 
748
psdir
 
749
pdfdir
 
750
dvidir
 
751
htmldir
 
752
infodir
 
753
docdir
 
754
oldincludedir
 
755
includedir
 
756
localstatedir
 
757
sharedstatedir
 
758
sysconfdir
 
759
datadir
 
760
datarootdir
 
761
libexecdir
 
762
sbindir
 
763
bindir
 
764
program_transform_name
 
765
prefix
 
766
exec_prefix
 
767
PACKAGE_URL
 
768
PACKAGE_BUGREPORT
 
769
PACKAGE_STRING
 
770
PACKAGE_VERSION
 
771
PACKAGE_TARNAME
 
772
PACKAGE_NAME
 
773
PATH_SEPARATOR
 
774
SHELL'
 
775
ac_subst_files=''
 
776
ac_user_opts='
 
777
enable_option_checking
 
778
enable_maintainer_mode
 
779
enable_dependency_tracking
 
780
with_ecos
 
781
enable_shared
 
782
enable_static
 
783
with_pic
 
784
enable_fast_install
 
785
with_gnu_ld
 
786
with_sysroot
 
787
enable_libtool_lock
 
788
with_target_subdir
 
789
with_cross_host
 
790
enable_gc_assertions
 
791
'
 
792
      ac_precious_vars='build_alias
 
793
host_alias
 
794
target_alias
 
795
CC
 
796
CFLAGS
 
797
LDFLAGS
 
798
LIBS
 
799
CPPFLAGS
 
800
CCAS
 
801
CCASFLAGS
 
802
CPP'
 
803
 
 
804
 
 
805
# Initialize some variables set by options.
 
806
ac_init_help=
 
807
ac_init_version=false
 
808
ac_unrecognized_opts=
 
809
ac_unrecognized_sep=
 
810
# The variables have the same names as the options, with
 
811
# dashes changed to underlines.
 
812
cache_file=/dev/null
 
813
exec_prefix=NONE
 
814
no_create=
 
815
no_recursion=
 
816
prefix=NONE
 
817
program_prefix=NONE
 
818
program_suffix=NONE
 
819
program_transform_name=s,x,x,
 
820
silent=
 
821
site=
 
822
srcdir=
 
823
verbose=
 
824
x_includes=NONE
 
825
x_libraries=NONE
 
826
 
 
827
# Installation directory options.
 
828
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
829
# and all the variables that are supposed to be based on exec_prefix
 
830
# by default will actually change.
 
831
# Use braces instead of parens because sh, perl, etc. also accept them.
 
832
# (The list follows the same order as the GNU Coding Standards.)
 
833
bindir='${exec_prefix}/bin'
 
834
sbindir='${exec_prefix}/sbin'
 
835
libexecdir='${exec_prefix}/libexec'
 
836
datarootdir='${prefix}/share'
 
837
datadir='${datarootdir}'
 
838
sysconfdir='${prefix}/etc'
 
839
sharedstatedir='${prefix}/com'
 
840
localstatedir='${prefix}/var'
 
841
includedir='${prefix}/include'
 
842
oldincludedir='/usr/include'
 
843
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
844
infodir='${datarootdir}/info'
 
845
htmldir='${docdir}'
 
846
dvidir='${docdir}'
 
847
pdfdir='${docdir}'
 
848
psdir='${docdir}'
 
849
libdir='${exec_prefix}/lib'
 
850
localedir='${datarootdir}/locale'
 
851
mandir='${datarootdir}/man'
 
852
 
 
853
ac_prev=
 
854
ac_dashdash=
 
855
for ac_option
 
856
do
 
857
  # If the previous option needs an argument, assign it.
 
858
  if test -n "$ac_prev"; then
 
859
    eval $ac_prev=\$ac_option
 
860
    ac_prev=
 
861
    continue
 
862
  fi
 
863
 
 
864
  case $ac_option in
 
865
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
866
  *=)   ac_optarg= ;;
 
867
  *)    ac_optarg=yes ;;
 
868
  esac
 
869
 
 
870
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
871
 
 
872
  case $ac_dashdash$ac_option in
 
873
  --)
 
874
    ac_dashdash=yes ;;
 
875
 
 
876
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
877
    ac_prev=bindir ;;
 
878
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
879
    bindir=$ac_optarg ;;
 
880
 
 
881
  -build | --build | --buil | --bui | --bu)
 
882
    ac_prev=build_alias ;;
 
883
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
884
    build_alias=$ac_optarg ;;
 
885
 
 
886
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
887
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
888
    ac_prev=cache_file ;;
 
889
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
890
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
891
    cache_file=$ac_optarg ;;
 
892
 
 
893
  --config-cache | -C)
 
894
    cache_file=config.cache ;;
 
895
 
 
896
  -datadir | --datadir | --datadi | --datad)
 
897
    ac_prev=datadir ;;
 
898
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
899
    datadir=$ac_optarg ;;
 
900
 
 
901
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
902
  | --dataroo | --dataro | --datar)
 
903
    ac_prev=datarootdir ;;
 
904
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
905
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
906
    datarootdir=$ac_optarg ;;
 
907
 
 
908
  -disable-* | --disable-*)
 
909
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
910
    # Reject names that are not valid shell variable names.
 
911
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
912
      as_fn_error $? "invalid feature name: $ac_useropt"
 
913
    ac_useropt_orig=$ac_useropt
 
914
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
915
    case $ac_user_opts in
 
916
      *"
 
917
"enable_$ac_useropt"
 
918
"*) ;;
 
919
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
920
         ac_unrecognized_sep=', ';;
 
921
    esac
 
922
    eval enable_$ac_useropt=no ;;
 
923
 
 
924
  -docdir | --docdir | --docdi | --doc | --do)
 
925
    ac_prev=docdir ;;
 
926
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
927
    docdir=$ac_optarg ;;
 
928
 
 
929
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
930
    ac_prev=dvidir ;;
 
931
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
932
    dvidir=$ac_optarg ;;
 
933
 
 
934
  -enable-* | --enable-*)
 
935
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
936
    # Reject names that are not valid shell variable names.
 
937
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
938
      as_fn_error $? "invalid feature name: $ac_useropt"
 
939
    ac_useropt_orig=$ac_useropt
 
940
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
941
    case $ac_user_opts in
 
942
      *"
 
943
"enable_$ac_useropt"
 
944
"*) ;;
 
945
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
946
         ac_unrecognized_sep=', ';;
 
947
    esac
 
948
    eval enable_$ac_useropt=\$ac_optarg ;;
 
949
 
 
950
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
951
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
952
  | --exec | --exe | --ex)
 
953
    ac_prev=exec_prefix ;;
 
954
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
955
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
956
  | --exec=* | --exe=* | --ex=*)
 
957
    exec_prefix=$ac_optarg ;;
 
958
 
 
959
  -gas | --gas | --ga | --g)
 
960
    # Obsolete; use --with-gas.
 
961
    with_gas=yes ;;
 
962
 
 
963
  -help | --help | --hel | --he | -h)
 
964
    ac_init_help=long ;;
 
965
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
966
    ac_init_help=recursive ;;
 
967
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
968
    ac_init_help=short ;;
 
969
 
 
970
  -host | --host | --hos | --ho)
 
971
    ac_prev=host_alias ;;
 
972
  -host=* | --host=* | --hos=* | --ho=*)
 
973
    host_alias=$ac_optarg ;;
 
974
 
 
975
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
976
    ac_prev=htmldir ;;
 
977
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
978
  | --ht=*)
 
979
    htmldir=$ac_optarg ;;
 
980
 
 
981
  -includedir | --includedir | --includedi | --included | --include \
 
982
  | --includ | --inclu | --incl | --inc)
 
983
    ac_prev=includedir ;;
 
984
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
985
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
986
    includedir=$ac_optarg ;;
 
987
 
 
988
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
989
    ac_prev=infodir ;;
 
990
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
991
    infodir=$ac_optarg ;;
 
992
 
 
993
  -libdir | --libdir | --libdi | --libd)
 
994
    ac_prev=libdir ;;
 
995
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
996
    libdir=$ac_optarg ;;
 
997
 
 
998
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
999
  | --libexe | --libex | --libe)
 
1000
    ac_prev=libexecdir ;;
 
1001
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1002
  | --libexe=* | --libex=* | --libe=*)
 
1003
    libexecdir=$ac_optarg ;;
 
1004
 
 
1005
  -localedir | --localedir | --localedi | --localed | --locale)
 
1006
    ac_prev=localedir ;;
 
1007
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1008
    localedir=$ac_optarg ;;
 
1009
 
 
1010
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1011
  | --localstate | --localstat | --localsta | --localst | --locals)
 
1012
    ac_prev=localstatedir ;;
 
1013
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1014
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
1015
    localstatedir=$ac_optarg ;;
 
1016
 
 
1017
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
1018
    ac_prev=mandir ;;
 
1019
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
1020
    mandir=$ac_optarg ;;
 
1021
 
 
1022
  -nfp | --nfp | --nf)
 
1023
    # Obsolete; use --without-fp.
 
1024
    with_fp=no ;;
 
1025
 
 
1026
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1027
  | --no-cr | --no-c | -n)
 
1028
    no_create=yes ;;
 
1029
 
 
1030
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1031
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1032
    no_recursion=yes ;;
 
1033
 
 
1034
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1035
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1036
  | --oldin | --oldi | --old | --ol | --o)
 
1037
    ac_prev=oldincludedir ;;
 
1038
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1039
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1040
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1041
    oldincludedir=$ac_optarg ;;
 
1042
 
 
1043
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1044
    ac_prev=prefix ;;
 
1045
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1046
    prefix=$ac_optarg ;;
 
1047
 
 
1048
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1049
  | --program-pre | --program-pr | --program-p)
 
1050
    ac_prev=program_prefix ;;
 
1051
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1052
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1053
    program_prefix=$ac_optarg ;;
 
1054
 
 
1055
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1056
  | --program-suf | --program-su | --program-s)
 
1057
    ac_prev=program_suffix ;;
 
1058
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1059
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1060
    program_suffix=$ac_optarg ;;
 
1061
 
 
1062
  -program-transform-name | --program-transform-name \
 
1063
  | --program-transform-nam | --program-transform-na \
 
1064
  | --program-transform-n | --program-transform- \
 
1065
  | --program-transform | --program-transfor \
 
1066
  | --program-transfo | --program-transf \
 
1067
  | --program-trans | --program-tran \
 
1068
  | --progr-tra | --program-tr | --program-t)
 
1069
    ac_prev=program_transform_name ;;
 
1070
  -program-transform-name=* | --program-transform-name=* \
 
1071
  | --program-transform-nam=* | --program-transform-na=* \
 
1072
  | --program-transform-n=* | --program-transform-=* \
 
1073
  | --program-transform=* | --program-transfor=* \
 
1074
  | --program-transfo=* | --program-transf=* \
 
1075
  | --program-trans=* | --program-tran=* \
 
1076
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1077
    program_transform_name=$ac_optarg ;;
 
1078
 
 
1079
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1080
    ac_prev=pdfdir ;;
 
1081
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1082
    pdfdir=$ac_optarg ;;
 
1083
 
 
1084
  -psdir | --psdir | --psdi | --psd | --ps)
 
1085
    ac_prev=psdir ;;
 
1086
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1087
    psdir=$ac_optarg ;;
 
1088
 
 
1089
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1090
  | -silent | --silent | --silen | --sile | --sil)
 
1091
    silent=yes ;;
 
1092
 
 
1093
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1094
    ac_prev=sbindir ;;
 
1095
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1096
  | --sbi=* | --sb=*)
 
1097
    sbindir=$ac_optarg ;;
 
1098
 
 
1099
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1100
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1101
  | --sharedst | --shareds | --shared | --share | --shar \
 
1102
  | --sha | --sh)
 
1103
    ac_prev=sharedstatedir ;;
 
1104
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1105
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1106
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1107
  | --sha=* | --sh=*)
 
1108
    sharedstatedir=$ac_optarg ;;
 
1109
 
 
1110
  -site | --site | --sit)
 
1111
    ac_prev=site ;;
 
1112
  -site=* | --site=* | --sit=*)
 
1113
    site=$ac_optarg ;;
 
1114
 
 
1115
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1116
    ac_prev=srcdir ;;
 
1117
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1118
    srcdir=$ac_optarg ;;
 
1119
 
 
1120
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1121
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1122
    ac_prev=sysconfdir ;;
 
1123
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1124
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1125
    sysconfdir=$ac_optarg ;;
 
1126
 
 
1127
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1128
    ac_prev=target_alias ;;
 
1129
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1130
    target_alias=$ac_optarg ;;
 
1131
 
 
1132
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1133
    verbose=yes ;;
 
1134
 
 
1135
  -version | --version | --versio | --versi | --vers | -V)
 
1136
    ac_init_version=: ;;
 
1137
 
 
1138
  -with-* | --with-*)
 
1139
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1140
    # Reject names that are not valid shell variable names.
 
1141
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1142
      as_fn_error $? "invalid package name: $ac_useropt"
 
1143
    ac_useropt_orig=$ac_useropt
 
1144
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1145
    case $ac_user_opts in
 
1146
      *"
 
1147
"with_$ac_useropt"
 
1148
"*) ;;
 
1149
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1150
         ac_unrecognized_sep=', ';;
 
1151
    esac
 
1152
    eval with_$ac_useropt=\$ac_optarg ;;
 
1153
 
 
1154
  -without-* | --without-*)
 
1155
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1156
    # Reject names that are not valid shell variable names.
 
1157
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1158
      as_fn_error $? "invalid package name: $ac_useropt"
 
1159
    ac_useropt_orig=$ac_useropt
 
1160
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1161
    case $ac_user_opts in
 
1162
      *"
 
1163
"with_$ac_useropt"
 
1164
"*) ;;
 
1165
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1166
         ac_unrecognized_sep=', ';;
 
1167
    esac
 
1168
    eval with_$ac_useropt=no ;;
 
1169
 
 
1170
  --x)
 
1171
    # Obsolete; use --with-x.
 
1172
    with_x=yes ;;
 
1173
 
 
1174
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1175
  | --x-incl | --x-inc | --x-in | --x-i)
 
1176
    ac_prev=x_includes ;;
 
1177
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1178
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1179
    x_includes=$ac_optarg ;;
 
1180
 
 
1181
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1182
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1183
    ac_prev=x_libraries ;;
 
1184
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1185
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1186
    x_libraries=$ac_optarg ;;
 
1187
 
 
1188
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1189
Try \`$0 --help' for more information"
 
1190
    ;;
 
1191
 
 
1192
  *=*)
 
1193
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1194
    # Reject names that are not valid shell variable names.
 
1195
    case $ac_envvar in #(
 
1196
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1197
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1198
    esac
 
1199
    eval $ac_envvar=\$ac_optarg
 
1200
    export $ac_envvar ;;
 
1201
 
 
1202
  *)
 
1203
    # FIXME: should be removed in autoconf 3.0.
 
1204
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1205
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1206
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1207
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 
1208
    ;;
 
1209
 
 
1210
  esac
 
1211
done
 
1212
 
 
1213
if test -n "$ac_prev"; then
 
1214
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1215
  as_fn_error $? "missing argument to $ac_option"
 
1216
fi
 
1217
 
 
1218
if test -n "$ac_unrecognized_opts"; then
 
1219
  case $enable_option_checking in
 
1220
    no) ;;
 
1221
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1222
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1223
  esac
 
1224
fi
 
1225
 
 
1226
# Check all directory arguments for consistency.
 
1227
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1228
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1229
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1230
                libdir localedir mandir
 
1231
do
 
1232
  eval ac_val=\$$ac_var
 
1233
  # Remove trailing slashes.
 
1234
  case $ac_val in
 
1235
    */ )
 
1236
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1237
      eval $ac_var=\$ac_val;;
 
1238
  esac
 
1239
  # Be sure to have absolute directory names.
 
1240
  case $ac_val in
 
1241
    [\\/$]* | ?:[\\/]* )  continue;;
 
1242
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1243
  esac
 
1244
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 
1245
done
 
1246
 
 
1247
# There might be people who depend on the old broken behavior: `$host'
 
1248
# used to hold the argument of --host etc.
 
1249
# FIXME: To remove some day.
 
1250
build=$build_alias
 
1251
host=$host_alias
 
1252
target=$target_alias
 
1253
 
 
1254
# FIXME: To remove some day.
 
1255
if test "x$host_alias" != x; then
 
1256
  if test "x$build_alias" = x; then
 
1257
    cross_compiling=maybe
 
1258
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1259
    If a cross compiler is detected then cross compile mode will be used" >&2
 
1260
  elif test "x$build_alias" != "x$host_alias"; then
 
1261
    cross_compiling=yes
 
1262
  fi
 
1263
fi
 
1264
 
 
1265
ac_tool_prefix=
 
1266
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1267
 
 
1268
test "$silent" = yes && exec 6>/dev/null
 
1269
 
 
1270
 
 
1271
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1272
ac_ls_di=`ls -di .` &&
 
1273
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1274
  as_fn_error $? "working directory cannot be determined"
 
1275
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1276
  as_fn_error $? "pwd does not report name of working directory"
 
1277
 
 
1278
 
 
1279
# Find the source files, if location was not specified.
 
1280
if test -z "$srcdir"; then
 
1281
  ac_srcdir_defaulted=yes
 
1282
  # Try the directory containing this script, then the parent directory.
 
1283
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1284
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1285
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1286
         X"$as_myself" : 'X\(//\)$' \| \
 
1287
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1288
$as_echo X"$as_myself" |
 
1289
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1290
            s//\1/
 
1291
            q
 
1292
          }
 
1293
          /^X\(\/\/\)[^/].*/{
 
1294
            s//\1/
 
1295
            q
 
1296
          }
 
1297
          /^X\(\/\/\)$/{
 
1298
            s//\1/
 
1299
            q
 
1300
          }
 
1301
          /^X\(\/\).*/{
 
1302
            s//\1/
 
1303
            q
 
1304
          }
 
1305
          s/.*/./; q'`
 
1306
  srcdir=$ac_confdir
 
1307
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1308
    srcdir=..
 
1309
  fi
 
1310
else
 
1311
  ac_srcdir_defaulted=no
 
1312
fi
 
1313
if test ! -r "$srcdir/$ac_unique_file"; then
 
1314
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1315
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
1316
fi
 
1317
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1318
ac_abs_confdir=`(
 
1319
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 
1320
        pwd)`
 
1321
# When building in place, set srcdir=.
 
1322
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1323
  srcdir=.
 
1324
fi
 
1325
# Remove unnecessary trailing slashes from srcdir.
 
1326
# Double slashes in file names in object file debugging info
 
1327
# mess up M-x gdb in Emacs.
 
1328
case $srcdir in
 
1329
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1330
esac
 
1331
for ac_var in $ac_precious_vars; do
 
1332
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1333
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1334
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1335
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1336
done
 
1337
 
 
1338
#
 
1339
# Report the --help message.
 
1340
#
 
1341
if test "$ac_init_help" = "long"; then
 
1342
  # Omit some internal or obsolete options to make the list less imposing.
 
1343
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1344
  cat <<_ACEOF
 
1345
\`configure' configures gcroots 0.2.3 to adapt to many kinds of systems.
 
1346
 
 
1347
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1348
 
 
1349
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1350
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1351
 
 
1352
Defaults for the options are specified in brackets.
 
1353
 
 
1354
Configuration:
 
1355
  -h, --help              display this help and exit
 
1356
      --help=short        display options specific to this package
 
1357
      --help=recursive    display the short help of all the included packages
 
1358
  -V, --version           display version information and exit
 
1359
  -q, --quiet, --silent   do not print \`checking ...' messages
 
1360
      --cache-file=FILE   cache test results in FILE [disabled]
 
1361
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1362
  -n, --no-create         do not create output files
 
1363
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1364
 
 
1365
Installation directories:
 
1366
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1367
                          [$ac_default_prefix]
 
1368
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1369
                          [PREFIX]
 
1370
 
 
1371
By default, \`make install' will install all the files in
 
1372
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1373
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1374
for instance \`--prefix=\$HOME'.
 
1375
 
 
1376
For better control, use the options below.
 
1377
 
 
1378
Fine tuning of the installation directories:
 
1379
  --bindir=DIR            user executables [EPREFIX/bin]
 
1380
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1381
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1382
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1383
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1384
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1385
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1386
  --includedir=DIR        C header files [PREFIX/include]
 
1387
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1388
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1389
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1390
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1391
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1392
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1393
  --docdir=DIR            documentation root [DATAROOTDIR/doc/libgcroots]
 
1394
  --htmldir=DIR           html documentation [DOCDIR]
 
1395
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1396
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1397
  --psdir=DIR             ps documentation [DOCDIR]
 
1398
_ACEOF
 
1399
 
 
1400
  cat <<\_ACEOF
 
1401
 
 
1402
Program names:
 
1403
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1404
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1405
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1406
 
 
1407
System types:
 
1408
  --build=BUILD     configure for building on BUILD [guessed]
 
1409
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1410
  --target=TARGET   configure for building compilers for TARGET [HOST]
 
1411
_ACEOF
 
1412
fi
 
1413
 
 
1414
if test -n "$ac_init_help"; then
 
1415
  case $ac_init_help in
 
1416
     short | recursive ) echo "Configuration of gcroots 0.2.3:";;
 
1417
   esac
 
1418
  cat <<\_ACEOF
 
1419
 
 
1420
Optional Features:
 
1421
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1422
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1423
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1424
  --enable-maintainer-mode  enable make rules and dependencies not useful
 
1425
                          (and sometimes confusing) to the casual installer
 
1426
  --disable-dependency-tracking  speeds up one-time build
 
1427
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1428
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1429
  --enable-static[=PKGS]  build static libraries [default=yes]
 
1430
  --enable-fast-install[=PKGS]
 
1431
                          optimize for fast installation [default=yes]
 
1432
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1433
  --enable-gc-assertions  collector-internal assertion checking
 
1434
 
 
1435
Optional Packages:
 
1436
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1437
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1438
  --with-ecos             enable runtime eCos target support
 
1439
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1440
                          both]
 
1441
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1442
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1443
                        (or the compiler's sysroot if not specified).
 
1444
  --with-target-subdir=SUBDIR
 
1445
                          configuring with a cross compiler
 
1446
  --with-cross-host=HOST  configuring with a cross compiler
 
1447
 
 
1448
Some influential environment variables:
 
1449
  CC          C compiler command
 
1450
  CFLAGS      C compiler flags
 
1451
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1452
              nonstandard directory <lib dir>
 
1453
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1454
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1455
              you have headers in a nonstandard directory <include dir>
 
1456
  CCAS        assembler compiler command (defaults to CC)
 
1457
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
 
1458
  CPP         C preprocessor
 
1459
 
 
1460
Use these variables to override the choices made by `configure' or to help
 
1461
it to find libraries and programs with nonstandard names/locations.
 
1462
 
 
1463
Report bugs to <sigscheme-ja@googlegroups.com>.
 
1464
_ACEOF
 
1465
ac_status=$?
 
1466
fi
 
1467
 
 
1468
if test "$ac_init_help" = "recursive"; then
 
1469
  # If there are subdirs, report their specific --help.
 
1470
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1471
    test -d "$ac_dir" ||
 
1472
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1473
      continue
 
1474
    ac_builddir=.
 
1475
 
 
1476
case "$ac_dir" in
 
1477
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1478
*)
 
1479
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1480
  # A ".." for each directory in $ac_dir_suffix.
 
1481
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1482
  case $ac_top_builddir_sub in
 
1483
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1484
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1485
  esac ;;
 
1486
esac
 
1487
ac_abs_top_builddir=$ac_pwd
 
1488
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1489
# for backward compatibility:
 
1490
ac_top_builddir=$ac_top_build_prefix
 
1491
 
 
1492
case $srcdir in
 
1493
  .)  # We are building in place.
 
1494
    ac_srcdir=.
 
1495
    ac_top_srcdir=$ac_top_builddir_sub
 
1496
    ac_abs_top_srcdir=$ac_pwd ;;
 
1497
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1498
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1499
    ac_top_srcdir=$srcdir
 
1500
    ac_abs_top_srcdir=$srcdir ;;
 
1501
  *) # Relative name.
 
1502
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1503
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1504
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1505
esac
 
1506
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1507
 
 
1508
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1509
    # Check for guested configure.
 
1510
    if test -f "$ac_srcdir/configure.gnu"; then
 
1511
      echo &&
 
1512
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1513
    elif test -f "$ac_srcdir/configure"; then
 
1514
      echo &&
 
1515
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1516
    else
 
1517
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1518
    fi || ac_status=$?
 
1519
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1520
  done
 
1521
fi
 
1522
 
 
1523
test -n "$ac_init_help" && exit $ac_status
 
1524
if $ac_init_version; then
 
1525
  cat <<\_ACEOF
 
1526
gcroots configure 0.2.3
 
1527
generated by GNU Autoconf 2.68
 
1528
 
 
1529
Copyright (C) 2010 Free Software Foundation, Inc.
 
1530
This configure script is free software; the Free Software Foundation
 
1531
gives unlimited permission to copy, distribute and modify it.
 
1532
_ACEOF
 
1533
  exit
 
1534
fi
 
1535
 
 
1536
## ------------------------ ##
 
1537
## Autoconf initialization. ##
 
1538
## ------------------------ ##
 
1539
 
 
1540
# ac_fn_c_try_compile LINENO
 
1541
# --------------------------
 
1542
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1543
ac_fn_c_try_compile ()
 
1544
{
 
1545
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1546
  rm -f conftest.$ac_objext
 
1547
  if { { ac_try="$ac_compile"
 
1548
case "(($ac_try" in
 
1549
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1550
  *) ac_try_echo=$ac_try;;
 
1551
esac
 
1552
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1553
$as_echo "$ac_try_echo"; } >&5
 
1554
  (eval "$ac_compile") 2>conftest.err
 
1555
  ac_status=$?
 
1556
  if test -s conftest.err; then
 
1557
    grep -v '^ *+' conftest.err >conftest.er1
 
1558
    cat conftest.er1 >&5
 
1559
    mv -f conftest.er1 conftest.err
 
1560
  fi
 
1561
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1562
  test $ac_status = 0; } && {
 
1563
         test -z "$ac_c_werror_flag" ||
 
1564
         test ! -s conftest.err
 
1565
       } && test -s conftest.$ac_objext; then :
 
1566
  ac_retval=0
 
1567
else
 
1568
  $as_echo "$as_me: failed program was:" >&5
 
1569
sed 's/^/| /' conftest.$ac_ext >&5
 
1570
 
 
1571
        ac_retval=1
 
1572
fi
 
1573
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1574
  as_fn_set_status $ac_retval
 
1575
 
 
1576
} # ac_fn_c_try_compile
 
1577
 
 
1578
# ac_fn_c_try_run LINENO
 
1579
# ----------------------
 
1580
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1581
# that executables *can* be run.
 
1582
ac_fn_c_try_run ()
 
1583
{
 
1584
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1585
  if { { ac_try="$ac_link"
 
1586
case "(($ac_try" in
 
1587
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1588
  *) ac_try_echo=$ac_try;;
 
1589
esac
 
1590
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1591
$as_echo "$ac_try_echo"; } >&5
 
1592
  (eval "$ac_link") 2>&5
 
1593
  ac_status=$?
 
1594
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1595
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1596
  { { case "(($ac_try" in
 
1597
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1598
  *) ac_try_echo=$ac_try;;
 
1599
esac
 
1600
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1601
$as_echo "$ac_try_echo"; } >&5
 
1602
  (eval "$ac_try") 2>&5
 
1603
  ac_status=$?
 
1604
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1605
  test $ac_status = 0; }; }; then :
 
1606
  ac_retval=0
 
1607
else
 
1608
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1609
       $as_echo "$as_me: failed program was:" >&5
 
1610
sed 's/^/| /' conftest.$ac_ext >&5
 
1611
 
 
1612
       ac_retval=$ac_status
 
1613
fi
 
1614
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1615
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1616
  as_fn_set_status $ac_retval
 
1617
 
 
1618
} # ac_fn_c_try_run
 
1619
 
 
1620
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
 
1621
# --------------------------------------------
 
1622
# Tries to find the compile-time value of EXPR in a program that includes
 
1623
# INCLUDES, setting VAR accordingly. Returns whether the value could be
 
1624
# computed
 
1625
ac_fn_c_compute_int ()
 
1626
{
 
1627
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1628
  if test "$cross_compiling" = yes; then
 
1629
    # Depending upon the size, compute the lo and hi bounds.
 
1630
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1631
/* end confdefs.h.  */
 
1632
$4
 
1633
int
 
1634
main ()
 
1635
{
 
1636
static int test_array [1 - 2 * !(($2) >= 0)];
 
1637
test_array [0] = 0
 
1638
 
 
1639
  ;
 
1640
  return 0;
 
1641
}
 
1642
_ACEOF
 
1643
if ac_fn_c_try_compile "$LINENO"; then :
 
1644
  ac_lo=0 ac_mid=0
 
1645
  while :; do
 
1646
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1647
/* end confdefs.h.  */
 
1648
$4
 
1649
int
 
1650
main ()
 
1651
{
 
1652
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 
1653
test_array [0] = 0
 
1654
 
 
1655
  ;
 
1656
  return 0;
 
1657
}
 
1658
_ACEOF
 
1659
if ac_fn_c_try_compile "$LINENO"; then :
 
1660
  ac_hi=$ac_mid; break
 
1661
else
 
1662
  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
 
1663
                        if test $ac_lo -le $ac_mid; then
 
1664
                          ac_lo= ac_hi=
 
1665
                          break
 
1666
                        fi
 
1667
                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
 
1668
fi
 
1669
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1670
  done
 
1671
else
 
1672
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1673
/* end confdefs.h.  */
 
1674
$4
 
1675
int
 
1676
main ()
 
1677
{
 
1678
static int test_array [1 - 2 * !(($2) < 0)];
 
1679
test_array [0] = 0
 
1680
 
 
1681
  ;
 
1682
  return 0;
 
1683
}
 
1684
_ACEOF
 
1685
if ac_fn_c_try_compile "$LINENO"; then :
 
1686
  ac_hi=-1 ac_mid=-1
 
1687
  while :; do
 
1688
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1689
/* end confdefs.h.  */
 
1690
$4
 
1691
int
 
1692
main ()
 
1693
{
 
1694
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
 
1695
test_array [0] = 0
 
1696
 
 
1697
  ;
 
1698
  return 0;
 
1699
}
 
1700
_ACEOF
 
1701
if ac_fn_c_try_compile "$LINENO"; then :
 
1702
  ac_lo=$ac_mid; break
 
1703
else
 
1704
  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
 
1705
                        if test $ac_mid -le $ac_hi; then
 
1706
                          ac_lo= ac_hi=
 
1707
                          break
 
1708
                        fi
 
1709
                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
 
1710
fi
 
1711
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1712
  done
 
1713
else
 
1714
  ac_lo= ac_hi=
 
1715
fi
 
1716
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1717
fi
 
1718
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1719
# Binary search between lo and hi bounds.
 
1720
while test "x$ac_lo" != "x$ac_hi"; do
 
1721
  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
 
1722
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1723
/* end confdefs.h.  */
 
1724
$4
 
1725
int
 
1726
main ()
 
1727
{
 
1728
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 
1729
test_array [0] = 0
 
1730
 
 
1731
  ;
 
1732
  return 0;
 
1733
}
 
1734
_ACEOF
 
1735
if ac_fn_c_try_compile "$LINENO"; then :
 
1736
  ac_hi=$ac_mid
 
1737
else
 
1738
  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
 
1739
fi
 
1740
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1741
done
 
1742
case $ac_lo in #((
 
1743
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
 
1744
'') ac_retval=1 ;;
 
1745
esac
 
1746
  else
 
1747
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1748
/* end confdefs.h.  */
 
1749
$4
 
1750
static long int longval () { return $2; }
 
1751
static unsigned long int ulongval () { return $2; }
 
1752
#include <stdio.h>
 
1753
#include <stdlib.h>
 
1754
int
 
1755
main ()
 
1756
{
 
1757
 
 
1758
  FILE *f = fopen ("conftest.val", "w");
 
1759
  if (! f)
 
1760
    return 1;
 
1761
  if (($2) < 0)
 
1762
    {
 
1763
      long int i = longval ();
 
1764
      if (i != ($2))
 
1765
        return 1;
 
1766
      fprintf (f, "%ld", i);
 
1767
    }
 
1768
  else
 
1769
    {
 
1770
      unsigned long int i = ulongval ();
 
1771
      if (i != ($2))
 
1772
        return 1;
 
1773
      fprintf (f, "%lu", i);
 
1774
    }
 
1775
  /* Do not output a trailing newline, as this causes \r\n confusion
 
1776
     on some platforms.  */
 
1777
  return ferror (f) || fclose (f) != 0;
 
1778
 
 
1779
  ;
 
1780
  return 0;
 
1781
}
 
1782
_ACEOF
 
1783
if ac_fn_c_try_run "$LINENO"; then :
 
1784
  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
 
1785
else
 
1786
  ac_retval=1
 
1787
fi
 
1788
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
1789
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
1790
rm -f conftest.val
 
1791
 
 
1792
  fi
 
1793
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1794
  as_fn_set_status $ac_retval
 
1795
 
 
1796
} # ac_fn_c_compute_int
 
1797
 
 
1798
# ac_fn_c_try_cpp LINENO
 
1799
# ----------------------
 
1800
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1801
ac_fn_c_try_cpp ()
 
1802
{
 
1803
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1804
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1805
case "(($ac_try" in
 
1806
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1807
  *) ac_try_echo=$ac_try;;
 
1808
esac
 
1809
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1810
$as_echo "$ac_try_echo"; } >&5
 
1811
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1812
  ac_status=$?
 
1813
  if test -s conftest.err; then
 
1814
    grep -v '^ *+' conftest.err >conftest.er1
 
1815
    cat conftest.er1 >&5
 
1816
    mv -f conftest.er1 conftest.err
 
1817
  fi
 
1818
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1819
  test $ac_status = 0; } > conftest.i && {
 
1820
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1821
         test ! -s conftest.err
 
1822
       }; then :
 
1823
  ac_retval=0
 
1824
else
 
1825
  $as_echo "$as_me: failed program was:" >&5
 
1826
sed 's/^/| /' conftest.$ac_ext >&5
 
1827
 
 
1828
    ac_retval=1
 
1829
fi
 
1830
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1831
  as_fn_set_status $ac_retval
 
1832
 
 
1833
} # ac_fn_c_try_cpp
 
1834
 
 
1835
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1836
# -------------------------------------------------------
 
1837
# Tests whether HEADER exists and can be compiled using the include files in
 
1838
# INCLUDES, setting the cache variable VAR accordingly.
 
1839
ac_fn_c_check_header_compile ()
 
1840
{
 
1841
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1842
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1843
$as_echo_n "checking for $2... " >&6; }
 
1844
if eval \${$3+:} false; then :
 
1845
  $as_echo_n "(cached) " >&6
 
1846
else
 
1847
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1848
/* end confdefs.h.  */
 
1849
$4
 
1850
#include <$2>
 
1851
_ACEOF
 
1852
if ac_fn_c_try_compile "$LINENO"; then :
 
1853
  eval "$3=yes"
 
1854
else
 
1855
  eval "$3=no"
 
1856
fi
 
1857
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1858
fi
 
1859
eval ac_res=\$$3
 
1860
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1861
$as_echo "$ac_res" >&6; }
 
1862
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1863
 
 
1864
} # ac_fn_c_check_header_compile
 
1865
 
 
1866
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
 
1867
# ----------------------------------------------------
 
1868
# Tries to find if the field MEMBER exists in type AGGR, after including
 
1869
# INCLUDES, setting cache variable VAR accordingly.
 
1870
ac_fn_c_check_member ()
 
1871
{
 
1872
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1873
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
 
1874
$as_echo_n "checking for $2.$3... " >&6; }
 
1875
if eval \${$4+:} false; then :
 
1876
  $as_echo_n "(cached) " >&6
 
1877
else
 
1878
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1879
/* end confdefs.h.  */
 
1880
$5
 
1881
int
 
1882
main ()
 
1883
{
 
1884
static $2 ac_aggr;
 
1885
if (ac_aggr.$3)
 
1886
return 0;
 
1887
  ;
 
1888
  return 0;
 
1889
}
 
1890
_ACEOF
 
1891
if ac_fn_c_try_compile "$LINENO"; then :
 
1892
  eval "$4=yes"
 
1893
else
 
1894
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1895
/* end confdefs.h.  */
 
1896
$5
 
1897
int
 
1898
main ()
 
1899
{
 
1900
static $2 ac_aggr;
 
1901
if (sizeof ac_aggr.$3)
 
1902
return 0;
 
1903
  ;
 
1904
  return 0;
 
1905
}
 
1906
_ACEOF
 
1907
if ac_fn_c_try_compile "$LINENO"; then :
 
1908
  eval "$4=yes"
 
1909
else
 
1910
  eval "$4=no"
 
1911
fi
 
1912
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1913
fi
 
1914
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1915
fi
 
1916
eval ac_res=\$$4
 
1917
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1918
$as_echo "$ac_res" >&6; }
 
1919
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1920
 
 
1921
} # ac_fn_c_check_member
 
1922
 
 
1923
# ac_fn_c_try_link LINENO
 
1924
# -----------------------
 
1925
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1926
ac_fn_c_try_link ()
 
1927
{
 
1928
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1929
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1930
  if { { ac_try="$ac_link"
 
1931
case "(($ac_try" in
 
1932
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1933
  *) ac_try_echo=$ac_try;;
 
1934
esac
 
1935
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1936
$as_echo "$ac_try_echo"; } >&5
 
1937
  (eval "$ac_link") 2>conftest.err
 
1938
  ac_status=$?
 
1939
  if test -s conftest.err; then
 
1940
    grep -v '^ *+' conftest.err >conftest.er1
 
1941
    cat conftest.er1 >&5
 
1942
    mv -f conftest.er1 conftest.err
 
1943
  fi
 
1944
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1945
  test $ac_status = 0; } && {
 
1946
         test -z "$ac_c_werror_flag" ||
 
1947
         test ! -s conftest.err
 
1948
       } && test -s conftest$ac_exeext && {
 
1949
         test "$cross_compiling" = yes ||
 
1950
         $as_test_x conftest$ac_exeext
 
1951
       }; then :
 
1952
  ac_retval=0
 
1953
else
 
1954
  $as_echo "$as_me: failed program was:" >&5
 
1955
sed 's/^/| /' conftest.$ac_ext >&5
 
1956
 
 
1957
        ac_retval=1
 
1958
fi
 
1959
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1960
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1961
  # interfere with the next link command; also delete a directory that is
 
1962
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1963
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1964
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1965
  as_fn_set_status $ac_retval
 
1966
 
 
1967
} # ac_fn_c_try_link
 
1968
 
 
1969
# ac_fn_c_check_func LINENO FUNC VAR
 
1970
# ----------------------------------
 
1971
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1972
ac_fn_c_check_func ()
 
1973
{
 
1974
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1975
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1976
$as_echo_n "checking for $2... " >&6; }
 
1977
if eval \${$3+:} false; then :
 
1978
  $as_echo_n "(cached) " >&6
 
1979
else
 
1980
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1981
/* end confdefs.h.  */
 
1982
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1983
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1984
#define $2 innocuous_$2
 
1985
 
 
1986
/* System header to define __stub macros and hopefully few prototypes,
 
1987
    which can conflict with char $2 (); below.
 
1988
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1989
    <limits.h> exists even on freestanding compilers.  */
 
1990
 
 
1991
#ifdef __STDC__
 
1992
# include <limits.h>
 
1993
#else
 
1994
# include <assert.h>
 
1995
#endif
 
1996
 
 
1997
#undef $2
 
1998
 
 
1999
/* Override any GCC internal prototype to avoid an error.
 
2000
   Use char because int might match the return type of a GCC
 
2001
   builtin and then its argument prototype would still apply.  */
 
2002
#ifdef __cplusplus
 
2003
extern "C"
 
2004
#endif
 
2005
char $2 ();
 
2006
/* The GNU C library defines this for functions which it implements
 
2007
    to always fail with ENOSYS.  Some functions are actually named
 
2008
    something starting with __ and the normal name is an alias.  */
 
2009
#if defined __stub_$2 || defined __stub___$2
 
2010
choke me
 
2011
#endif
 
2012
 
 
2013
int
 
2014
main ()
 
2015
{
 
2016
return $2 ();
 
2017
  ;
 
2018
  return 0;
 
2019
}
 
2020
_ACEOF
 
2021
if ac_fn_c_try_link "$LINENO"; then :
 
2022
  eval "$3=yes"
 
2023
else
 
2024
  eval "$3=no"
 
2025
fi
 
2026
rm -f core conftest.err conftest.$ac_objext \
 
2027
    conftest$ac_exeext conftest.$ac_ext
 
2028
fi
 
2029
eval ac_res=\$$3
 
2030
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2031
$as_echo "$ac_res" >&6; }
 
2032
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2033
 
 
2034
} # ac_fn_c_check_func
 
2035
 
 
2036
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2037
# -------------------------------------------------------
 
2038
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2039
# the include files in INCLUDES and setting the cache variable VAR
 
2040
# accordingly.
 
2041
ac_fn_c_check_header_mongrel ()
 
2042
{
 
2043
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2044
  if eval \${$3+:} false; then :
 
2045
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2046
$as_echo_n "checking for $2... " >&6; }
 
2047
if eval \${$3+:} false; then :
 
2048
  $as_echo_n "(cached) " >&6
 
2049
fi
 
2050
eval ac_res=\$$3
 
2051
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2052
$as_echo "$ac_res" >&6; }
 
2053
else
 
2054
  # Is the header compilable?
 
2055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2056
$as_echo_n "checking $2 usability... " >&6; }
 
2057
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2058
/* end confdefs.h.  */
 
2059
$4
 
2060
#include <$2>
 
2061
_ACEOF
 
2062
if ac_fn_c_try_compile "$LINENO"; then :
 
2063
  ac_header_compiler=yes
 
2064
else
 
2065
  ac_header_compiler=no
 
2066
fi
 
2067
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2068
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2069
$as_echo "$ac_header_compiler" >&6; }
 
2070
 
 
2071
# Is the header present?
 
2072
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2073
$as_echo_n "checking $2 presence... " >&6; }
 
2074
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2075
/* end confdefs.h.  */
 
2076
#include <$2>
 
2077
_ACEOF
 
2078
if ac_fn_c_try_cpp "$LINENO"; then :
 
2079
  ac_header_preproc=yes
 
2080
else
 
2081
  ac_header_preproc=no
 
2082
fi
 
2083
rm -f conftest.err conftest.i conftest.$ac_ext
 
2084
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2085
$as_echo "$ac_header_preproc" >&6; }
 
2086
 
 
2087
# So?  What about this header?
 
2088
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2089
  yes:no: )
 
2090
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2091
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2092
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2093
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2094
    ;;
 
2095
  no:yes:* )
 
2096
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2097
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2098
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2099
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2100
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2101
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2102
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2103
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2104
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2105
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2106
( $as_echo "## -------------------------------------------- ##
 
2107
## Report this to sigscheme-ja@googlegroups.com ##
 
2108
## -------------------------------------------- ##"
 
2109
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
2110
    ;;
 
2111
esac
 
2112
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2113
$as_echo_n "checking for $2... " >&6; }
 
2114
if eval \${$3+:} false; then :
 
2115
  $as_echo_n "(cached) " >&6
 
2116
else
 
2117
  eval "$3=\$ac_header_compiler"
 
2118
fi
 
2119
eval ac_res=\$$3
 
2120
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2121
$as_echo "$ac_res" >&6; }
 
2122
fi
 
2123
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2124
 
 
2125
} # ac_fn_c_check_header_mongrel
 
2126
cat >config.log <<_ACEOF
 
2127
This file contains any messages produced by compilers while
 
2128
running configure, to aid debugging if configure makes a mistake.
 
2129
 
 
2130
It was created by gcroots $as_me 0.2.3, which was
 
2131
generated by GNU Autoconf 2.68.  Invocation command line was
 
2132
 
 
2133
  $ $0 $@
 
2134
 
 
2135
_ACEOF
 
2136
exec 5>>config.log
 
2137
{
 
2138
cat <<_ASUNAME
 
2139
## --------- ##
 
2140
## Platform. ##
 
2141
## --------- ##
 
2142
 
 
2143
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
2144
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
2145
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
2146
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
2147
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
2148
 
 
2149
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
2150
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
2151
 
 
2152
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
2153
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
2154
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
2155
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
2156
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
2157
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
2158
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
2159
 
 
2160
_ASUNAME
 
2161
 
 
2162
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2163
for as_dir in $PATH
 
2164
do
 
2165
  IFS=$as_save_IFS
 
2166
  test -z "$as_dir" && as_dir=.
 
2167
    $as_echo "PATH: $as_dir"
 
2168
  done
 
2169
IFS=$as_save_IFS
 
2170
 
 
2171
} >&5
 
2172
 
 
2173
cat >&5 <<_ACEOF
 
2174
 
 
2175
 
 
2176
## ----------- ##
 
2177
## Core tests. ##
 
2178
## ----------- ##
 
2179
 
 
2180
_ACEOF
 
2181
 
 
2182
 
 
2183
# Keep a trace of the command line.
 
2184
# Strip out --no-create and --no-recursion so they do not pile up.
 
2185
# Strip out --silent because we don't want to record it for future runs.
 
2186
# Also quote any args containing shell meta-characters.
 
2187
# Make two passes to allow for proper duplicate-argument suppression.
 
2188
ac_configure_args=
 
2189
ac_configure_args0=
 
2190
ac_configure_args1=
 
2191
ac_must_keep_next=false
 
2192
for ac_pass in 1 2
 
2193
do
 
2194
  for ac_arg
 
2195
  do
 
2196
    case $ac_arg in
 
2197
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
2198
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
2199
    | -silent | --silent | --silen | --sile | --sil)
 
2200
      continue ;;
 
2201
    *\'*)
 
2202
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2203
    esac
 
2204
    case $ac_pass in
 
2205
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
2206
    2)
 
2207
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
2208
      if test $ac_must_keep_next = true; then
 
2209
        ac_must_keep_next=false # Got value, back to normal.
 
2210
      else
 
2211
        case $ac_arg in
 
2212
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
2213
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
2214
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
2215
          | -with-* | --with-* | -without-* | --without-* | --x)
 
2216
            case "$ac_configure_args0 " in
 
2217
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
2218
            esac
 
2219
            ;;
 
2220
          -* ) ac_must_keep_next=true ;;
 
2221
        esac
 
2222
      fi
 
2223
      as_fn_append ac_configure_args " '$ac_arg'"
 
2224
      ;;
 
2225
    esac
 
2226
  done
 
2227
done
 
2228
{ ac_configure_args0=; unset ac_configure_args0;}
 
2229
{ ac_configure_args1=; unset ac_configure_args1;}
 
2230
 
 
2231
# When interrupted or exit'd, cleanup temporary files, and complete
 
2232
# config.log.  We remove comments because anyway the quotes in there
 
2233
# would cause problems or look ugly.
 
2234
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
2235
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
2236
trap 'exit_status=$?
 
2237
  # Save into config.log some information that might help in debugging.
 
2238
  {
 
2239
    echo
 
2240
 
 
2241
    $as_echo "## ---------------- ##
 
2242
## Cache variables. ##
 
2243
## ---------------- ##"
 
2244
    echo
 
2245
    # The following way of writing the cache mishandles newlines in values,
 
2246
(
 
2247
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
2248
    eval ac_val=\$$ac_var
 
2249
    case $ac_val in #(
 
2250
    *${as_nl}*)
 
2251
      case $ac_var in #(
 
2252
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2253
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2254
      esac
 
2255
      case $ac_var in #(
 
2256
      _ | IFS | as_nl) ;; #(
 
2257
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2258
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2259
      esac ;;
 
2260
    esac
 
2261
  done
 
2262
  (set) 2>&1 |
 
2263
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
2264
    *${as_nl}ac_space=\ *)
 
2265
      sed -n \
 
2266
        "s/'\''/'\''\\\\'\'''\''/g;
 
2267
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
2268
      ;; #(
 
2269
    *)
 
2270
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
2271
      ;;
 
2272
    esac |
 
2273
    sort
 
2274
)
 
2275
    echo
 
2276
 
 
2277
    $as_echo "## ----------------- ##
 
2278
## Output variables. ##
 
2279
## ----------------- ##"
 
2280
    echo
 
2281
    for ac_var in $ac_subst_vars
 
2282
    do
 
2283
      eval ac_val=\$$ac_var
 
2284
      case $ac_val in
 
2285
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2286
      esac
 
2287
      $as_echo "$ac_var='\''$ac_val'\''"
 
2288
    done | sort
 
2289
    echo
 
2290
 
 
2291
    if test -n "$ac_subst_files"; then
 
2292
      $as_echo "## ------------------- ##
 
2293
## File substitutions. ##
 
2294
## ------------------- ##"
 
2295
      echo
 
2296
      for ac_var in $ac_subst_files
 
2297
      do
 
2298
        eval ac_val=\$$ac_var
 
2299
        case $ac_val in
 
2300
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2301
        esac
 
2302
        $as_echo "$ac_var='\''$ac_val'\''"
 
2303
      done | sort
 
2304
      echo
 
2305
    fi
 
2306
 
 
2307
    if test -s confdefs.h; then
 
2308
      $as_echo "## ----------- ##
 
2309
## confdefs.h. ##
 
2310
## ----------- ##"
 
2311
      echo
 
2312
      cat confdefs.h
 
2313
      echo
 
2314
    fi
 
2315
    test "$ac_signal" != 0 &&
 
2316
      $as_echo "$as_me: caught signal $ac_signal"
 
2317
    $as_echo "$as_me: exit $exit_status"
 
2318
  } >&5
 
2319
  rm -f core *.core core.conftest.* &&
 
2320
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
2321
    exit $exit_status
 
2322
' 0
 
2323
for ac_signal in 1 2 13 15; do
 
2324
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
2325
done
 
2326
ac_signal=0
 
2327
 
 
2328
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
2329
rm -f -r conftest* confdefs.h
 
2330
 
 
2331
$as_echo "/* confdefs.h */" > confdefs.h
 
2332
 
 
2333
# Predefined preprocessor variables.
 
2334
 
 
2335
cat >>confdefs.h <<_ACEOF
 
2336
#define PACKAGE_NAME "$PACKAGE_NAME"
 
2337
_ACEOF
 
2338
 
 
2339
cat >>confdefs.h <<_ACEOF
 
2340
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
2341
_ACEOF
 
2342
 
 
2343
cat >>confdefs.h <<_ACEOF
 
2344
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
2345
_ACEOF
 
2346
 
 
2347
cat >>confdefs.h <<_ACEOF
 
2348
#define PACKAGE_STRING "$PACKAGE_STRING"
 
2349
_ACEOF
 
2350
 
 
2351
cat >>confdefs.h <<_ACEOF
 
2352
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
2353
_ACEOF
 
2354
 
 
2355
cat >>confdefs.h <<_ACEOF
 
2356
#define PACKAGE_URL "$PACKAGE_URL"
 
2357
_ACEOF
 
2358
 
 
2359
 
 
2360
# Let the site file select an alternate cache file if it wants to.
 
2361
# Prefer an explicitly selected file to automatically selected ones.
 
2362
ac_site_file1=NONE
 
2363
ac_site_file2=NONE
 
2364
if test -n "$CONFIG_SITE"; then
 
2365
  # We do not want a PATH search for config.site.
 
2366
  case $CONFIG_SITE in #((
 
2367
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2368
    */*) ac_site_file1=$CONFIG_SITE;;
 
2369
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2370
  esac
 
2371
elif test "x$prefix" != xNONE; then
 
2372
  ac_site_file1=$prefix/share/config.site
 
2373
  ac_site_file2=$prefix/etc/config.site
 
2374
else
 
2375
  ac_site_file1=$ac_default_prefix/share/config.site
 
2376
  ac_site_file2=$ac_default_prefix/etc/config.site
 
2377
fi
 
2378
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2379
do
 
2380
  test "x$ac_site_file" = xNONE && continue
 
2381
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2382
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2383
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
2384
    sed 's/^/| /' "$ac_site_file" >&5
 
2385
    . "$ac_site_file" \
 
2386
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2387
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2388
as_fn_error $? "failed to load site script $ac_site_file
 
2389
See \`config.log' for more details" "$LINENO" 5; }
 
2390
  fi
 
2391
done
 
2392
 
 
2393
if test -r "$cache_file"; then
 
2394
  # Some versions of bash will fail to source /dev/null (special files
 
2395
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2396
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2397
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2398
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
2399
    case $cache_file in
 
2400
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2401
      *)                      . "./$cache_file";;
 
2402
    esac
 
2403
  fi
 
2404
else
 
2405
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2406
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
2407
  >$cache_file
 
2408
fi
 
2409
 
 
2410
# Check that the precious variables saved in the cache have kept the same
 
2411
# value.
 
2412
ac_cache_corrupted=false
 
2413
for ac_var in $ac_precious_vars; do
 
2414
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
2415
  eval ac_new_set=\$ac_env_${ac_var}_set
 
2416
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2417
  eval ac_new_val=\$ac_env_${ac_var}_value
 
2418
  case $ac_old_set,$ac_new_set in
 
2419
    set,)
 
2420
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2421
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2422
      ac_cache_corrupted=: ;;
 
2423
    ,set)
 
2424
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2425
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2426
      ac_cache_corrupted=: ;;
 
2427
    ,);;
 
2428
    *)
 
2429
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
2430
        # differences in whitespace do not lead to failure.
 
2431
        ac_old_val_w=`echo x $ac_old_val`
 
2432
        ac_new_val_w=`echo x $ac_new_val`
 
2433
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2434
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2435
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2436
          ac_cache_corrupted=:
 
2437
        else
 
2438
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2439
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2440
          eval $ac_var=\$ac_old_val
 
2441
        fi
 
2442
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2443
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2444
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2445
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
2446
      fi;;
 
2447
  esac
 
2448
  # Pass precious variables to config.status.
 
2449
  if test "$ac_new_set" = set; then
 
2450
    case $ac_new_val in
 
2451
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2452
    *) ac_arg=$ac_var=$ac_new_val ;;
 
2453
    esac
 
2454
    case " $ac_configure_args " in
 
2455
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
2456
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
2457
    esac
 
2458
  fi
 
2459
done
 
2460
if $ac_cache_corrupted; then
 
2461
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2462
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2463
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2464
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2465
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2466
fi
 
2467
## -------------------- ##
 
2468
## Main body of script. ##
 
2469
## -------------------- ##
 
2470
 
 
2471
ac_ext=c
 
2472
ac_cpp='$CPP $CPPFLAGS'
 
2473
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2474
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2475
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2476
 
 
2477
 
 
2478
 
 
2479
ac_aux_dir=
 
2480
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2481
  if test -f "$ac_dir/install-sh"; then
 
2482
    ac_aux_dir=$ac_dir
 
2483
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2484
    break
 
2485
  elif test -f "$ac_dir/install.sh"; then
 
2486
    ac_aux_dir=$ac_dir
 
2487
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2488
    break
 
2489
  elif test -f "$ac_dir/shtool"; then
 
2490
    ac_aux_dir=$ac_dir
 
2491
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2492
    break
 
2493
  fi
 
2494
done
 
2495
if test -z "$ac_aux_dir"; then
 
2496
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2497
fi
 
2498
 
 
2499
# These three variables are undocumented and unsupported,
 
2500
# and are intended to be withdrawn in a future Autoconf release.
 
2501
# They can cause serious problems if a builder's source tree is in a directory
 
2502
# whose full name contains unusual characters.
 
2503
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2504
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2505
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2506
 
 
2507
 
 
2508
# Make sure we can run config.sub.
 
2509
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2510
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
2511
 
 
2512
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
2513
$as_echo_n "checking build system type... " >&6; }
 
2514
if ${ac_cv_build+:} false; then :
 
2515
  $as_echo_n "(cached) " >&6
 
2516
else
 
2517
  ac_build_alias=$build_alias
 
2518
test "x$ac_build_alias" = x &&
 
2519
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2520
test "x$ac_build_alias" = x &&
 
2521
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 
2522
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2523
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
2524
 
 
2525
fi
 
2526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
2527
$as_echo "$ac_cv_build" >&6; }
 
2528
case $ac_cv_build in
 
2529
*-*-*) ;;
 
2530
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 
2531
esac
 
2532
build=$ac_cv_build
 
2533
ac_save_IFS=$IFS; IFS='-'
 
2534
set x $ac_cv_build
 
2535
shift
 
2536
build_cpu=$1
 
2537
build_vendor=$2
 
2538
shift; shift
 
2539
# Remember, the first character of IFS is used to create $*,
 
2540
# except with old shells:
 
2541
build_os=$*
 
2542
IFS=$ac_save_IFS
 
2543
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2544
 
 
2545
 
 
2546
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
2547
$as_echo_n "checking host system type... " >&6; }
 
2548
if ${ac_cv_host+:} false; then :
 
2549
  $as_echo_n "(cached) " >&6
 
2550
else
 
2551
  if test "x$host_alias" = x; then
 
2552
  ac_cv_host=$ac_cv_build
 
2553
else
 
2554
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2555
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
2556
fi
 
2557
 
 
2558
fi
 
2559
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
2560
$as_echo "$ac_cv_host" >&6; }
 
2561
case $ac_cv_host in
 
2562
*-*-*) ;;
 
2563
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 
2564
esac
 
2565
host=$ac_cv_host
 
2566
ac_save_IFS=$IFS; IFS='-'
 
2567
set x $ac_cv_host
 
2568
shift
 
2569
host_cpu=$1
 
2570
host_vendor=$2
 
2571
shift; shift
 
2572
# Remember, the first character of IFS is used to create $*,
 
2573
# except with old shells:
 
2574
host_os=$*
 
2575
IFS=$ac_save_IFS
 
2576
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
2577
 
 
2578
 
 
2579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 
2580
$as_echo_n "checking target system type... " >&6; }
 
2581
if ${ac_cv_target+:} false; then :
 
2582
  $as_echo_n "(cached) " >&6
 
2583
else
 
2584
  if test "x$target_alias" = x; then
 
2585
  ac_cv_target=$ac_cv_host
 
2586
else
 
2587
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 
2588
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 
2589
fi
 
2590
 
 
2591
fi
 
2592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
 
2593
$as_echo "$ac_cv_target" >&6; }
 
2594
case $ac_cv_target in
 
2595
*-*-*) ;;
 
2596
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
 
2597
esac
 
2598
target=$ac_cv_target
 
2599
ac_save_IFS=$IFS; IFS='-'
 
2600
set x $ac_cv_target
 
2601
shift
 
2602
target_cpu=$1
 
2603
target_vendor=$2
 
2604
shift; shift
 
2605
# Remember, the first character of IFS is used to create $*,
 
2606
# except with old shells:
 
2607
target_os=$*
 
2608
IFS=$ac_save_IFS
 
2609
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
 
2610
 
 
2611
 
 
2612
# The aliases save the names the user supplied, while $host etc.
 
2613
# will get canonicalized.
 
2614
test -n "$target_alias" &&
 
2615
  test "$program_prefix$program_suffix$program_transform_name" = \
 
2616
    NONENONEs,x,x, &&
 
2617
  program_prefix=${target_alias}-
 
2618
 
 
2619
am__api_version='1.11'
 
2620
 
 
2621
# Find a good install program.  We prefer a C program (faster),
 
2622
# so one script is as good as another.  But avoid the broken or
 
2623
# incompatible versions:
 
2624
# SysV /etc/install, /usr/sbin/install
 
2625
# SunOS /usr/etc/install
 
2626
# IRIX /sbin/install
 
2627
# AIX /bin/install
 
2628
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
2629
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
2630
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
2631
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2632
# OS/2's system install, which has a completely different semantic
 
2633
# ./install, which can be erroneously created by make from ./install.sh.
 
2634
# Reject install programs that cannot install multiple files.
 
2635
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2636
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
2637
if test -z "$INSTALL"; then
 
2638
if ${ac_cv_path_install+:} false; then :
 
2639
  $as_echo_n "(cached) " >&6
 
2640
else
 
2641
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2642
for as_dir in $PATH
 
2643
do
 
2644
  IFS=$as_save_IFS
 
2645
  test -z "$as_dir" && as_dir=.
 
2646
    # Account for people who put trailing slashes in PATH elements.
 
2647
case $as_dir/ in #((
 
2648
  ./ | .// | /[cC]/* | \
 
2649
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2650
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
2651
  /usr/ucb/* ) ;;
 
2652
  *)
 
2653
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
2654
    # Don't use installbsd from OSF since it installs stuff as root
 
2655
    # by default.
 
2656
    for ac_prog in ginstall scoinst install; do
 
2657
      for ac_exec_ext in '' $ac_executable_extensions; do
 
2658
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2659
          if test $ac_prog = install &&
 
2660
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2661
            # AIX install.  It has an incompatible calling convention.
 
2662
            :
 
2663
          elif test $ac_prog = install &&
 
2664
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2665
            # program-specific install script used by HP pwplus--don't use.
 
2666
            :
 
2667
          else
 
2668
            rm -rf conftest.one conftest.two conftest.dir
 
2669
            echo one > conftest.one
 
2670
            echo two > conftest.two
 
2671
            mkdir conftest.dir
 
2672
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2673
              test -s conftest.one && test -s conftest.two &&
 
2674
              test -s conftest.dir/conftest.one &&
 
2675
              test -s conftest.dir/conftest.two
 
2676
            then
 
2677
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2678
              break 3
 
2679
            fi
 
2680
          fi
 
2681
        fi
 
2682
      done
 
2683
    done
 
2684
    ;;
 
2685
esac
 
2686
 
 
2687
  done
 
2688
IFS=$as_save_IFS
 
2689
 
 
2690
rm -rf conftest.one conftest.two conftest.dir
 
2691
 
 
2692
fi
 
2693
  if test "${ac_cv_path_install+set}" = set; then
 
2694
    INSTALL=$ac_cv_path_install
 
2695
  else
 
2696
    # As a last resort, use the slow shell script.  Don't cache a
 
2697
    # value for INSTALL within a source directory, because that will
 
2698
    # break other packages using the cache if that directory is
 
2699
    # removed, or if the value is a relative name.
 
2700
    INSTALL=$ac_install_sh
 
2701
  fi
 
2702
fi
 
2703
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2704
$as_echo "$INSTALL" >&6; }
 
2705
 
 
2706
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
2707
# It thinks the first close brace ends the variable substitution.
 
2708
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
2709
 
 
2710
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
2711
 
 
2712
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
2713
 
 
2714
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2715
$as_echo_n "checking whether build environment is sane... " >&6; }
 
2716
# Just in case
 
2717
sleep 1
 
2718
echo timestamp > conftest.file
 
2719
# Reject unsafe characters in $srcdir or the absolute working directory
 
2720
# name.  Accept space and tab only in the latter.
 
2721
am_lf='
 
2722
'
 
2723
case `pwd` in
 
2724
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2725
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 
2726
esac
 
2727
case $srcdir in
 
2728
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2729
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2730
esac
 
2731
 
 
2732
# Do `set' in a subshell so we don't clobber the current shell's
 
2733
# arguments.  Must try -L first in case configure is actually a
 
2734
# symlink; some systems play weird games with the mod time of symlinks
 
2735
# (eg FreeBSD returns the mod time of the symlink's containing
 
2736
# directory).
 
2737
if (
 
2738
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
2739
   if test "$*" = "X"; then
 
2740
      # -L didn't work.
 
2741
      set X `ls -t "$srcdir/configure" conftest.file`
 
2742
   fi
 
2743
   rm -f conftest.file
 
2744
   if test "$*" != "X $srcdir/configure conftest.file" \
 
2745
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
2746
 
 
2747
      # If neither matched, then we have a broken ls.  This can happen
 
2748
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
2749
      # broken ls alias from the environment.  This has actually
 
2750
      # happened.  Such a system could not be considered "sane".
 
2751
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2752
alias in your environment" "$LINENO" 5
 
2753
   fi
 
2754
 
 
2755
   test "$2" = conftest.file
 
2756
   )
 
2757
then
 
2758
   # Ok.
 
2759
   :
 
2760
else
 
2761
   as_fn_error $? "newly created file is older than distributed files!
 
2762
Check your system clock" "$LINENO" 5
 
2763
fi
 
2764
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2765
$as_echo "yes" >&6; }
 
2766
test "$program_prefix" != NONE &&
 
2767
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
2768
# Use a double $ so make ignores it.
 
2769
test "$program_suffix" != NONE &&
 
2770
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2771
# Double any \ or $.
 
2772
# By default was `s,x,x', remove it if useless.
 
2773
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2774
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
2775
 
 
2776
# expand $ac_aux_dir to an absolute path
 
2777
am_aux_dir=`cd $ac_aux_dir && pwd`
 
2778
 
 
2779
if test x"${MISSING+set}" != xset; then
 
2780
  case $am_aux_dir in
 
2781
  *\ * | *\     *)
 
2782
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2783
  *)
 
2784
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2785
  esac
 
2786
fi
 
2787
# Use eval to expand $SHELL
 
2788
if eval "$MISSING --run true"; then
 
2789
  am_missing_run="$MISSING --run "
 
2790
else
 
2791
  am_missing_run=
 
2792
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2793
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2794
fi
 
2795
 
 
2796
if test x"${install_sh}" != xset; then
 
2797
  case $am_aux_dir in
 
2798
  *\ * | *\     *)
 
2799
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2800
  *)
 
2801
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2802
  esac
 
2803
fi
 
2804
 
 
2805
# Installed binaries are usually stripped using `strip' when the user
 
2806
# run `make install-strip'.  However `strip' might not be the right
 
2807
# tool to use in cross-compilation environments, therefore Automake
 
2808
# will honor the `STRIP' environment variable to overrule this program.
 
2809
if test "$cross_compiling" != no; then
 
2810
  if test -n "$ac_tool_prefix"; then
 
2811
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2812
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2813
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2814
$as_echo_n "checking for $ac_word... " >&6; }
 
2815
if ${ac_cv_prog_STRIP+:} false; then :
 
2816
  $as_echo_n "(cached) " >&6
 
2817
else
 
2818
  if test -n "$STRIP"; then
 
2819
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2820
else
 
2821
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2822
for as_dir in $PATH
 
2823
do
 
2824
  IFS=$as_save_IFS
 
2825
  test -z "$as_dir" && as_dir=.
 
2826
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2827
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2828
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2829
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2830
    break 2
 
2831
  fi
 
2832
done
 
2833
  done
 
2834
IFS=$as_save_IFS
 
2835
 
 
2836
fi
 
2837
fi
 
2838
STRIP=$ac_cv_prog_STRIP
 
2839
if test -n "$STRIP"; then
 
2840
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2841
$as_echo "$STRIP" >&6; }
 
2842
else
 
2843
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2844
$as_echo "no" >&6; }
 
2845
fi
 
2846
 
 
2847
 
 
2848
fi
 
2849
if test -z "$ac_cv_prog_STRIP"; then
 
2850
  ac_ct_STRIP=$STRIP
 
2851
  # Extract the first word of "strip", so it can be a program name with args.
 
2852
set dummy strip; ac_word=$2
 
2853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2854
$as_echo_n "checking for $ac_word... " >&6; }
 
2855
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
2856
  $as_echo_n "(cached) " >&6
 
2857
else
 
2858
  if test -n "$ac_ct_STRIP"; then
 
2859
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2860
else
 
2861
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2862
for as_dir in $PATH
 
2863
do
 
2864
  IFS=$as_save_IFS
 
2865
  test -z "$as_dir" && as_dir=.
 
2866
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2867
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2868
    ac_cv_prog_ac_ct_STRIP="strip"
 
2869
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2870
    break 2
 
2871
  fi
 
2872
done
 
2873
  done
 
2874
IFS=$as_save_IFS
 
2875
 
 
2876
fi
 
2877
fi
 
2878
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2879
if test -n "$ac_ct_STRIP"; then
 
2880
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2881
$as_echo "$ac_ct_STRIP" >&6; }
 
2882
else
 
2883
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2884
$as_echo "no" >&6; }
 
2885
fi
 
2886
 
 
2887
  if test "x$ac_ct_STRIP" = x; then
 
2888
    STRIP=":"
 
2889
  else
 
2890
    case $cross_compiling:$ac_tool_warned in
 
2891
yes:)
 
2892
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2893
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2894
ac_tool_warned=yes ;;
 
2895
esac
 
2896
    STRIP=$ac_ct_STRIP
 
2897
  fi
 
2898
else
 
2899
  STRIP="$ac_cv_prog_STRIP"
 
2900
fi
 
2901
 
 
2902
fi
 
2903
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2904
 
 
2905
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2906
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2907
if test -z "$MKDIR_P"; then
 
2908
  if ${ac_cv_path_mkdir+:} false; then :
 
2909
  $as_echo_n "(cached) " >&6
 
2910
else
 
2911
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2912
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2913
do
 
2914
  IFS=$as_save_IFS
 
2915
  test -z "$as_dir" && as_dir=.
 
2916
    for ac_prog in mkdir gmkdir; do
 
2917
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2918
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2919
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2920
             'mkdir (GNU coreutils) '* | \
 
2921
             'mkdir (coreutils) '* | \
 
2922
             'mkdir (fileutils) '4.1*)
 
2923
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2924
               break 3;;
 
2925
           esac
 
2926
         done
 
2927
       done
 
2928
  done
 
2929
IFS=$as_save_IFS
 
2930
 
 
2931
fi
 
2932
 
 
2933
  test -d ./--version && rmdir ./--version
 
2934
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2935
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2936
  else
 
2937
    # As a last resort, use the slow shell script.  Don't cache a
 
2938
    # value for MKDIR_P within a source directory, because that will
 
2939
    # break other packages using the cache if that directory is
 
2940
    # removed, or if the value is a relative name.
 
2941
    MKDIR_P="$ac_install_sh -d"
 
2942
  fi
 
2943
fi
 
2944
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2945
$as_echo "$MKDIR_P" >&6; }
 
2946
 
 
2947
mkdir_p="$MKDIR_P"
 
2948
case $mkdir_p in
 
2949
  [\\/$]* | ?:[\\/]*) ;;
 
2950
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2951
esac
 
2952
 
 
2953
for ac_prog in gawk mawk nawk awk
 
2954
do
 
2955
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2956
set dummy $ac_prog; ac_word=$2
 
2957
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2958
$as_echo_n "checking for $ac_word... " >&6; }
 
2959
if ${ac_cv_prog_AWK+:} false; then :
 
2960
  $as_echo_n "(cached) " >&6
 
2961
else
 
2962
  if test -n "$AWK"; then
 
2963
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
2964
else
 
2965
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2966
for as_dir in $PATH
 
2967
do
 
2968
  IFS=$as_save_IFS
 
2969
  test -z "$as_dir" && as_dir=.
 
2970
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2971
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2972
    ac_cv_prog_AWK="$ac_prog"
 
2973
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2974
    break 2
 
2975
  fi
 
2976
done
 
2977
  done
 
2978
IFS=$as_save_IFS
 
2979
 
 
2980
fi
 
2981
fi
 
2982
AWK=$ac_cv_prog_AWK
 
2983
if test -n "$AWK"; then
 
2984
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2985
$as_echo "$AWK" >&6; }
 
2986
else
 
2987
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2988
$as_echo "no" >&6; }
 
2989
fi
 
2990
 
 
2991
 
 
2992
  test -n "$AWK" && break
 
2993
done
 
2994
 
 
2995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2996
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2997
set x ${MAKE-make}
 
2998
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2999
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
3000
  $as_echo_n "(cached) " >&6
 
3001
else
 
3002
  cat >conftest.make <<\_ACEOF
 
3003
SHELL = /bin/sh
 
3004
all:
 
3005
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
3006
_ACEOF
 
3007
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
3008
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
3009
  *@@@%%%=?*=@@@%%%*)
 
3010
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
3011
  *)
 
3012
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
3013
esac
 
3014
rm -f conftest.make
 
3015
fi
 
3016
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
3017
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3018
$as_echo "yes" >&6; }
 
3019
  SET_MAKE=
 
3020
else
 
3021
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3022
$as_echo "no" >&6; }
 
3023
  SET_MAKE="MAKE=${MAKE-make}"
 
3024
fi
 
3025
 
 
3026
rm -rf .tst 2>/dev/null
 
3027
mkdir .tst 2>/dev/null
 
3028
if test -d .tst; then
 
3029
  am__leading_dot=.
 
3030
else
 
3031
  am__leading_dot=_
 
3032
fi
 
3033
rmdir .tst 2>/dev/null
 
3034
 
 
3035
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
3036
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
3037
  # is not polluted with repeated "-I."
 
3038
  am__isrc=' -I$(srcdir)'
 
3039
  # test to see if srcdir already configured
 
3040
  if test -f $srcdir/config.status; then
 
3041
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
3042
  fi
 
3043
fi
 
3044
 
 
3045
# test whether we have cygpath
 
3046
if test -z "$CYGPATH_W"; then
 
3047
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
3048
    CYGPATH_W='cygpath -w'
 
3049
  else
 
3050
    CYGPATH_W=echo
 
3051
  fi
 
3052
fi
 
3053
 
 
3054
 
 
3055
# Define the identity of the package.
 
3056
 PACKAGE='libgcroots'
 
3057
 VERSION='0.2.3'
 
3058
 
 
3059
 
 
3060
cat >>confdefs.h <<_ACEOF
 
3061
#define PACKAGE "$PACKAGE"
 
3062
_ACEOF
 
3063
 
 
3064
 
 
3065
cat >>confdefs.h <<_ACEOF
 
3066
#define VERSION "$VERSION"
 
3067
_ACEOF
 
3068
 
 
3069
# Some tools Automake needs.
 
3070
 
 
3071
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
3072
 
 
3073
 
 
3074
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
3075
 
 
3076
 
 
3077
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
3078
 
 
3079
 
 
3080
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
3081
 
 
3082
 
 
3083
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
3084
 
 
3085
# We need awk for the "check" target.  The system "awk" is bad on
 
3086
# some platforms.
 
3087
# Always define AMTAR for backward compatibility.  Yes, it's still used
 
3088
# in the wild :-(  We should find a proper way to deprecate it ...
 
3089
AMTAR='$${TAR-tar}'
 
3090
 
 
3091
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
 
3092
 
 
3093
 
 
3094
 
 
3095
 
 
3096
 
 
3097
 
 
3098
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
3099
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 
3100
    # Check whether --enable-maintainer-mode was given.
 
3101
if test "${enable_maintainer_mode+set}" = set; then :
 
3102
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 
3103
else
 
3104
  USE_MAINTAINER_MODE=no
 
3105
fi
 
3106
 
 
3107
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 
3108
$as_echo "$USE_MAINTAINER_MODE" >&6; }
 
3109
   if test $USE_MAINTAINER_MODE = yes; then
 
3110
  MAINTAINER_MODE_TRUE=
 
3111
  MAINTAINER_MODE_FALSE='#'
 
3112
else
 
3113
  MAINTAINER_MODE_TRUE='#'
 
3114
  MAINTAINER_MODE_FALSE=
 
3115
fi
 
3116
 
 
3117
  MAINT=$MAINTAINER_MODE_TRUE
 
3118
 
 
3119
 
 
3120
 
 
3121
 
 
3122
 
 
3123
DEPDIR="${am__leading_dot}deps"
 
3124
 
 
3125
ac_config_commands="$ac_config_commands depfiles"
 
3126
 
 
3127
 
 
3128
am_make=${MAKE-make}
 
3129
cat > confinc << 'END'
 
3130
am__doit:
 
3131
        @echo this is the am__doit target
 
3132
.PHONY: am__doit
 
3133
END
 
3134
# If we don't find an include directive, just comment out the code.
 
3135
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3136
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3137
am__include="#"
 
3138
am__quote=
 
3139
_am_result=none
 
3140
# First try GNU make style include.
 
3141
echo "include confinc" > confmf
 
3142
# Ignore all kinds of additional output from `make'.
 
3143
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3144
*the\ am__doit\ target*)
 
3145
  am__include=include
 
3146
  am__quote=
 
3147
  _am_result=GNU
 
3148
  ;;
 
3149
esac
 
3150
# Now try BSD make style include.
 
3151
if test "$am__include" = "#"; then
 
3152
   echo '.include "confinc"' > confmf
 
3153
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3154
   *the\ am__doit\ target*)
 
3155
     am__include=.include
 
3156
     am__quote="\""
 
3157
     _am_result=BSD
 
3158
     ;;
 
3159
   esac
 
3160
fi
 
3161
 
 
3162
 
 
3163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3164
$as_echo "$_am_result" >&6; }
 
3165
rm -f confinc confmf
 
3166
 
 
3167
# Check whether --enable-dependency-tracking was given.
 
3168
if test "${enable_dependency_tracking+set}" = set; then :
 
3169
  enableval=$enable_dependency_tracking;
 
3170
fi
 
3171
 
 
3172
if test "x$enable_dependency_tracking" != xno; then
 
3173
  am_depcomp="$ac_aux_dir/depcomp"
 
3174
  AMDEPBACKSLASH='\'
 
3175
  am__nodep='_no'
 
3176
fi
 
3177
 if test "x$enable_dependency_tracking" != xno; then
 
3178
  AMDEP_TRUE=
 
3179
  AMDEP_FALSE='#'
 
3180
else
 
3181
  AMDEP_TRUE='#'
 
3182
  AMDEP_FALSE=
 
3183
fi
 
3184
 
 
3185
 
 
3186
ac_ext=c
 
3187
ac_cpp='$CPP $CPPFLAGS'
 
3188
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3189
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3190
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3191
if test -n "$ac_tool_prefix"; then
 
3192
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
3193
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
3194
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3195
$as_echo_n "checking for $ac_word... " >&6; }
 
3196
if ${ac_cv_prog_CC+:} false; then :
 
3197
  $as_echo_n "(cached) " >&6
 
3198
else
 
3199
  if test -n "$CC"; then
 
3200
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3201
else
 
3202
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3203
for as_dir in $PATH
 
3204
do
 
3205
  IFS=$as_save_IFS
 
3206
  test -z "$as_dir" && as_dir=.
 
3207
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3208
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3209
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
3210
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3211
    break 2
 
3212
  fi
 
3213
done
 
3214
  done
 
3215
IFS=$as_save_IFS
 
3216
 
 
3217
fi
 
3218
fi
 
3219
CC=$ac_cv_prog_CC
 
3220
if test -n "$CC"; then
 
3221
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3222
$as_echo "$CC" >&6; }
 
3223
else
 
3224
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3225
$as_echo "no" >&6; }
 
3226
fi
 
3227
 
 
3228
 
 
3229
fi
 
3230
if test -z "$ac_cv_prog_CC"; then
 
3231
  ac_ct_CC=$CC
 
3232
  # Extract the first word of "gcc", so it can be a program name with args.
 
3233
set dummy gcc; ac_word=$2
 
3234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3235
$as_echo_n "checking for $ac_word... " >&6; }
 
3236
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3237
  $as_echo_n "(cached) " >&6
 
3238
else
 
3239
  if test -n "$ac_ct_CC"; then
 
3240
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3241
else
 
3242
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3243
for as_dir in $PATH
 
3244
do
 
3245
  IFS=$as_save_IFS
 
3246
  test -z "$as_dir" && as_dir=.
 
3247
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3248
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3249
    ac_cv_prog_ac_ct_CC="gcc"
 
3250
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3251
    break 2
 
3252
  fi
 
3253
done
 
3254
  done
 
3255
IFS=$as_save_IFS
 
3256
 
 
3257
fi
 
3258
fi
 
3259
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3260
if test -n "$ac_ct_CC"; then
 
3261
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3262
$as_echo "$ac_ct_CC" >&6; }
 
3263
else
 
3264
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3265
$as_echo "no" >&6; }
 
3266
fi
 
3267
 
 
3268
  if test "x$ac_ct_CC" = x; then
 
3269
    CC=""
 
3270
  else
 
3271
    case $cross_compiling:$ac_tool_warned in
 
3272
yes:)
 
3273
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3274
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3275
ac_tool_warned=yes ;;
 
3276
esac
 
3277
    CC=$ac_ct_CC
 
3278
  fi
 
3279
else
 
3280
  CC="$ac_cv_prog_CC"
 
3281
fi
 
3282
 
 
3283
if test -z "$CC"; then
 
3284
          if test -n "$ac_tool_prefix"; then
 
3285
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3286
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
3287
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3288
$as_echo_n "checking for $ac_word... " >&6; }
 
3289
if ${ac_cv_prog_CC+:} false; then :
 
3290
  $as_echo_n "(cached) " >&6
 
3291
else
 
3292
  if test -n "$CC"; then
 
3293
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3294
else
 
3295
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3296
for as_dir in $PATH
 
3297
do
 
3298
  IFS=$as_save_IFS
 
3299
  test -z "$as_dir" && as_dir=.
 
3300
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3301
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3302
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
3303
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3304
    break 2
 
3305
  fi
 
3306
done
 
3307
  done
 
3308
IFS=$as_save_IFS
 
3309
 
 
3310
fi
 
3311
fi
 
3312
CC=$ac_cv_prog_CC
 
3313
if test -n "$CC"; then
 
3314
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3315
$as_echo "$CC" >&6; }
 
3316
else
 
3317
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3318
$as_echo "no" >&6; }
 
3319
fi
 
3320
 
 
3321
 
 
3322
  fi
 
3323
fi
 
3324
if test -z "$CC"; then
 
3325
  # Extract the first word of "cc", so it can be a program name with args.
 
3326
set dummy cc; ac_word=$2
 
3327
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3328
$as_echo_n "checking for $ac_word... " >&6; }
 
3329
if ${ac_cv_prog_CC+:} false; then :
 
3330
  $as_echo_n "(cached) " >&6
 
3331
else
 
3332
  if test -n "$CC"; then
 
3333
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3334
else
 
3335
  ac_prog_rejected=no
 
3336
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3337
for as_dir in $PATH
 
3338
do
 
3339
  IFS=$as_save_IFS
 
3340
  test -z "$as_dir" && as_dir=.
 
3341
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3342
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3343
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
3344
       ac_prog_rejected=yes
 
3345
       continue
 
3346
     fi
 
3347
    ac_cv_prog_CC="cc"
 
3348
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3349
    break 2
 
3350
  fi
 
3351
done
 
3352
  done
 
3353
IFS=$as_save_IFS
 
3354
 
 
3355
if test $ac_prog_rejected = yes; then
 
3356
  # We found a bogon in the path, so make sure we never use it.
 
3357
  set dummy $ac_cv_prog_CC
 
3358
  shift
 
3359
  if test $# != 0; then
 
3360
    # We chose a different compiler from the bogus one.
 
3361
    # However, it has the same basename, so the bogon will be chosen
 
3362
    # first if we set CC to just the basename; use the full file name.
 
3363
    shift
 
3364
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
3365
  fi
 
3366
fi
 
3367
fi
 
3368
fi
 
3369
CC=$ac_cv_prog_CC
 
3370
if test -n "$CC"; then
 
3371
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3372
$as_echo "$CC" >&6; }
 
3373
else
 
3374
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3375
$as_echo "no" >&6; }
 
3376
fi
 
3377
 
 
3378
 
 
3379
fi
 
3380
if test -z "$CC"; then
 
3381
  if test -n "$ac_tool_prefix"; then
 
3382
  for ac_prog in cl.exe
 
3383
  do
 
3384
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3385
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3386
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3387
$as_echo_n "checking for $ac_word... " >&6; }
 
3388
if ${ac_cv_prog_CC+:} false; then :
 
3389
  $as_echo_n "(cached) " >&6
 
3390
else
 
3391
  if test -n "$CC"; then
 
3392
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3393
else
 
3394
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3395
for as_dir in $PATH
 
3396
do
 
3397
  IFS=$as_save_IFS
 
3398
  test -z "$as_dir" && as_dir=.
 
3399
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3400
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3401
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
3402
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3403
    break 2
 
3404
  fi
 
3405
done
 
3406
  done
 
3407
IFS=$as_save_IFS
 
3408
 
 
3409
fi
 
3410
fi
 
3411
CC=$ac_cv_prog_CC
 
3412
if test -n "$CC"; then
 
3413
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3414
$as_echo "$CC" >&6; }
 
3415
else
 
3416
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3417
$as_echo "no" >&6; }
 
3418
fi
 
3419
 
 
3420
 
 
3421
    test -n "$CC" && break
 
3422
  done
 
3423
fi
 
3424
if test -z "$CC"; then
 
3425
  ac_ct_CC=$CC
 
3426
  for ac_prog in cl.exe
 
3427
do
 
3428
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3429
set dummy $ac_prog; ac_word=$2
 
3430
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3431
$as_echo_n "checking for $ac_word... " >&6; }
 
3432
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3433
  $as_echo_n "(cached) " >&6
 
3434
else
 
3435
  if test -n "$ac_ct_CC"; then
 
3436
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3437
else
 
3438
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3439
for as_dir in $PATH
 
3440
do
 
3441
  IFS=$as_save_IFS
 
3442
  test -z "$as_dir" && as_dir=.
 
3443
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3444
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3445
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
3446
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3447
    break 2
 
3448
  fi
 
3449
done
 
3450
  done
 
3451
IFS=$as_save_IFS
 
3452
 
 
3453
fi
 
3454
fi
 
3455
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3456
if test -n "$ac_ct_CC"; then
 
3457
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3458
$as_echo "$ac_ct_CC" >&6; }
 
3459
else
 
3460
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3461
$as_echo "no" >&6; }
 
3462
fi
 
3463
 
 
3464
 
 
3465
  test -n "$ac_ct_CC" && break
 
3466
done
 
3467
 
 
3468
  if test "x$ac_ct_CC" = x; then
 
3469
    CC=""
 
3470
  else
 
3471
    case $cross_compiling:$ac_tool_warned in
 
3472
yes:)
 
3473
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3474
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3475
ac_tool_warned=yes ;;
 
3476
esac
 
3477
    CC=$ac_ct_CC
 
3478
  fi
 
3479
fi
 
3480
 
 
3481
fi
 
3482
 
 
3483
 
 
3484
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3485
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3486
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3487
See \`config.log' for more details" "$LINENO" 5; }
 
3488
 
 
3489
# Provide some information about the compiler.
 
3490
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3491
set X $ac_compile
 
3492
ac_compiler=$2
 
3493
for ac_option in --version -v -V -qversion; do
 
3494
  { { ac_try="$ac_compiler $ac_option >&5"
 
3495
case "(($ac_try" in
 
3496
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3497
  *) ac_try_echo=$ac_try;;
 
3498
esac
 
3499
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3500
$as_echo "$ac_try_echo"; } >&5
 
3501
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3502
  ac_status=$?
 
3503
  if test -s conftest.err; then
 
3504
    sed '10a\
 
3505
... rest of stderr output deleted ...
 
3506
         10q' conftest.err >conftest.er1
 
3507
    cat conftest.er1 >&5
 
3508
  fi
 
3509
  rm -f conftest.er1 conftest.err
 
3510
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3511
  test $ac_status = 0; }
 
3512
done
 
3513
 
 
3514
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3515
/* end confdefs.h.  */
 
3516
 
 
3517
int
 
3518
main ()
 
3519
{
 
3520
 
 
3521
  ;
 
3522
  return 0;
 
3523
}
 
3524
_ACEOF
 
3525
ac_clean_files_save=$ac_clean_files
 
3526
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
3527
# Try to create an executable without -o first, disregard a.out.
 
3528
# It will help us diagnose broken compilers, and finding out an intuition
 
3529
# of exeext.
 
3530
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3531
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3532
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3533
 
 
3534
# The possible output files:
 
3535
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3536
 
 
3537
ac_rmfiles=
 
3538
for ac_file in $ac_files
 
3539
do
 
3540
  case $ac_file in
 
3541
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3542
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3543
  esac
 
3544
done
 
3545
rm -f $ac_rmfiles
 
3546
 
 
3547
if { { ac_try="$ac_link_default"
 
3548
case "(($ac_try" in
 
3549
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3550
  *) ac_try_echo=$ac_try;;
 
3551
esac
 
3552
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3553
$as_echo "$ac_try_echo"; } >&5
 
3554
  (eval "$ac_link_default") 2>&5
 
3555
  ac_status=$?
 
3556
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3557
  test $ac_status = 0; }; then :
 
3558
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3559
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3560
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3561
# so that the user can short-circuit this test for compilers unknown to
 
3562
# Autoconf.
 
3563
for ac_file in $ac_files ''
 
3564
do
 
3565
  test -f "$ac_file" || continue
 
3566
  case $ac_file in
 
3567
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
3568
        ;;
 
3569
    [ab].out )
 
3570
        # We found the default executable, but exeext='' is most
 
3571
        # certainly right.
 
3572
        break;;
 
3573
    *.* )
 
3574
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3575
        then :; else
 
3576
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3577
        fi
 
3578
        # We set ac_cv_exeext here because the later test for it is not
 
3579
        # safe: cross compilers may not add the suffix if given an `-o'
 
3580
        # argument, so we may need to know it at that point already.
 
3581
        # Even if this section looks crufty: it has the advantage of
 
3582
        # actually working.
 
3583
        break;;
 
3584
    * )
 
3585
        break;;
 
3586
  esac
 
3587
done
 
3588
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3589
 
 
3590
else
 
3591
  ac_file=''
 
3592
fi
 
3593
if test -z "$ac_file"; then :
 
3594
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3595
$as_echo "no" >&6; }
 
3596
$as_echo "$as_me: failed program was:" >&5
 
3597
sed 's/^/| /' conftest.$ac_ext >&5
 
3598
 
 
3599
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3600
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3601
as_fn_error 77 "C compiler cannot create executables
 
3602
See \`config.log' for more details" "$LINENO" 5; }
 
3603
else
 
3604
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3605
$as_echo "yes" >&6; }
 
3606
fi
 
3607
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3608
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3609
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3610
$as_echo "$ac_file" >&6; }
 
3611
ac_exeext=$ac_cv_exeext
 
3612
 
 
3613
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3614
ac_clean_files=$ac_clean_files_save
 
3615
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3616
$as_echo_n "checking for suffix of executables... " >&6; }
 
3617
if { { ac_try="$ac_link"
 
3618
case "(($ac_try" in
 
3619
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3620
  *) ac_try_echo=$ac_try;;
 
3621
esac
 
3622
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3623
$as_echo "$ac_try_echo"; } >&5
 
3624
  (eval "$ac_link") 2>&5
 
3625
  ac_status=$?
 
3626
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3627
  test $ac_status = 0; }; then :
 
3628
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
3629
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
3630
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
3631
# `rm'.
 
3632
for ac_file in conftest.exe conftest conftest.*; do
 
3633
  test -f "$ac_file" || continue
 
3634
  case $ac_file in
 
3635
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3636
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3637
          break;;
 
3638
    * ) break;;
 
3639
  esac
 
3640
done
 
3641
else
 
3642
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3643
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3644
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3645
See \`config.log' for more details" "$LINENO" 5; }
 
3646
fi
 
3647
rm -f conftest conftest$ac_cv_exeext
 
3648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3649
$as_echo "$ac_cv_exeext" >&6; }
 
3650
 
 
3651
rm -f conftest.$ac_ext
 
3652
EXEEXT=$ac_cv_exeext
 
3653
ac_exeext=$EXEEXT
 
3654
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3655
/* end confdefs.h.  */
 
3656
#include <stdio.h>
 
3657
int
 
3658
main ()
 
3659
{
 
3660
FILE *f = fopen ("conftest.out", "w");
 
3661
 return ferror (f) || fclose (f) != 0;
 
3662
 
 
3663
  ;
 
3664
  return 0;
 
3665
}
 
3666
_ACEOF
 
3667
ac_clean_files="$ac_clean_files conftest.out"
 
3668
# Check that the compiler produces executables we can run.  If not, either
 
3669
# the compiler is broken, or we cross compile.
 
3670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3671
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3672
if test "$cross_compiling" != yes; then
 
3673
  { { ac_try="$ac_link"
 
3674
case "(($ac_try" in
 
3675
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3676
  *) ac_try_echo=$ac_try;;
 
3677
esac
 
3678
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3679
$as_echo "$ac_try_echo"; } >&5
 
3680
  (eval "$ac_link") 2>&5
 
3681
  ac_status=$?
 
3682
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3683
  test $ac_status = 0; }
 
3684
  if { ac_try='./conftest$ac_cv_exeext'
 
3685
  { { case "(($ac_try" in
 
3686
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3687
  *) ac_try_echo=$ac_try;;
 
3688
esac
 
3689
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3690
$as_echo "$ac_try_echo"; } >&5
 
3691
  (eval "$ac_try") 2>&5
 
3692
  ac_status=$?
 
3693
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3694
  test $ac_status = 0; }; }; then
 
3695
    cross_compiling=no
 
3696
  else
 
3697
    if test "$cross_compiling" = maybe; then
 
3698
        cross_compiling=yes
 
3699
    else
 
3700
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3701
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3702
as_fn_error $? "cannot run C compiled programs.
 
3703
If you meant to cross compile, use \`--host'.
 
3704
See \`config.log' for more details" "$LINENO" 5; }
 
3705
    fi
 
3706
  fi
 
3707
fi
 
3708
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3709
$as_echo "$cross_compiling" >&6; }
 
3710
 
 
3711
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3712
ac_clean_files=$ac_clean_files_save
 
3713
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3714
$as_echo_n "checking for suffix of object files... " >&6; }
 
3715
if ${ac_cv_objext+:} false; then :
 
3716
  $as_echo_n "(cached) " >&6
 
3717
else
 
3718
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3719
/* end confdefs.h.  */
 
3720
 
 
3721
int
 
3722
main ()
 
3723
{
 
3724
 
 
3725
  ;
 
3726
  return 0;
 
3727
}
 
3728
_ACEOF
 
3729
rm -f conftest.o conftest.obj
 
3730
if { { ac_try="$ac_compile"
 
3731
case "(($ac_try" in
 
3732
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3733
  *) ac_try_echo=$ac_try;;
 
3734
esac
 
3735
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3736
$as_echo "$ac_try_echo"; } >&5
 
3737
  (eval "$ac_compile") 2>&5
 
3738
  ac_status=$?
 
3739
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3740
  test $ac_status = 0; }; then :
 
3741
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3742
  test -f "$ac_file" || continue;
 
3743
  case $ac_file in
 
3744
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
3745
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
3746
       break;;
 
3747
  esac
 
3748
done
 
3749
else
 
3750
  $as_echo "$as_me: failed program was:" >&5
 
3751
sed 's/^/| /' conftest.$ac_ext >&5
 
3752
 
 
3753
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3754
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3755
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3756
See \`config.log' for more details" "$LINENO" 5; }
 
3757
fi
 
3758
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
3759
fi
 
3760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3761
$as_echo "$ac_cv_objext" >&6; }
 
3762
OBJEXT=$ac_cv_objext
 
3763
ac_objext=$OBJEXT
 
3764
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3765
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3766
if ${ac_cv_c_compiler_gnu+:} false; then :
 
3767
  $as_echo_n "(cached) " >&6
 
3768
else
 
3769
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3770
/* end confdefs.h.  */
 
3771
 
 
3772
int
 
3773
main ()
 
3774
{
 
3775
#ifndef __GNUC__
 
3776
       choke me
 
3777
#endif
 
3778
 
 
3779
  ;
 
3780
  return 0;
 
3781
}
 
3782
_ACEOF
 
3783
if ac_fn_c_try_compile "$LINENO"; then :
 
3784
  ac_compiler_gnu=yes
 
3785
else
 
3786
  ac_compiler_gnu=no
 
3787
fi
 
3788
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3789
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
3790
 
 
3791
fi
 
3792
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3793
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3794
if test $ac_compiler_gnu = yes; then
 
3795
  GCC=yes
 
3796
else
 
3797
  GCC=
 
3798
fi
 
3799
ac_test_CFLAGS=${CFLAGS+set}
 
3800
ac_save_CFLAGS=$CFLAGS
 
3801
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3802
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3803
if ${ac_cv_prog_cc_g+:} false; then :
 
3804
  $as_echo_n "(cached) " >&6
 
3805
else
 
3806
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3807
   ac_c_werror_flag=yes
 
3808
   ac_cv_prog_cc_g=no
 
3809
   CFLAGS="-g"
 
3810
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3811
/* end confdefs.h.  */
 
3812
 
 
3813
int
 
3814
main ()
 
3815
{
 
3816
 
 
3817
  ;
 
3818
  return 0;
 
3819
}
 
3820
_ACEOF
 
3821
if ac_fn_c_try_compile "$LINENO"; then :
 
3822
  ac_cv_prog_cc_g=yes
 
3823
else
 
3824
  CFLAGS=""
 
3825
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3826
/* end confdefs.h.  */
 
3827
 
 
3828
int
 
3829
main ()
 
3830
{
 
3831
 
 
3832
  ;
 
3833
  return 0;
 
3834
}
 
3835
_ACEOF
 
3836
if ac_fn_c_try_compile "$LINENO"; then :
 
3837
 
 
3838
else
 
3839
  ac_c_werror_flag=$ac_save_c_werror_flag
 
3840
         CFLAGS="-g"
 
3841
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3842
/* end confdefs.h.  */
 
3843
 
 
3844
int
 
3845
main ()
 
3846
{
 
3847
 
 
3848
  ;
 
3849
  return 0;
 
3850
}
 
3851
_ACEOF
 
3852
if ac_fn_c_try_compile "$LINENO"; then :
 
3853
  ac_cv_prog_cc_g=yes
 
3854
fi
 
3855
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3856
fi
 
3857
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3858
fi
 
3859
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3860
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3861
fi
 
3862
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3863
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
3864
if test "$ac_test_CFLAGS" = set; then
 
3865
  CFLAGS=$ac_save_CFLAGS
 
3866
elif test $ac_cv_prog_cc_g = yes; then
 
3867
  if test "$GCC" = yes; then
 
3868
    CFLAGS="-g -O2"
 
3869
  else
 
3870
    CFLAGS="-g"
 
3871
  fi
 
3872
else
 
3873
  if test "$GCC" = yes; then
 
3874
    CFLAGS="-O2"
 
3875
  else
 
3876
    CFLAGS=
 
3877
  fi
 
3878
fi
 
3879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3880
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3881
if ${ac_cv_prog_cc_c89+:} false; then :
 
3882
  $as_echo_n "(cached) " >&6
 
3883
else
 
3884
  ac_cv_prog_cc_c89=no
 
3885
ac_save_CC=$CC
 
3886
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3887
/* end confdefs.h.  */
 
3888
#include <stdarg.h>
 
3889
#include <stdio.h>
 
3890
#include <sys/types.h>
 
3891
#include <sys/stat.h>
 
3892
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3893
struct buf { int x; };
 
3894
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3895
static char *e (p, i)
 
3896
     char **p;
 
3897
     int i;
 
3898
{
 
3899
  return p[i];
 
3900
}
 
3901
static char *f (char * (*g) (char **, int), char **p, ...)
 
3902
{
 
3903
  char *s;
 
3904
  va_list v;
 
3905
  va_start (v,p);
 
3906
  s = g (p, va_arg (v,int));
 
3907
  va_end (v);
 
3908
  return s;
 
3909
}
 
3910
 
 
3911
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3912
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3913
   These don't provoke an error unfortunately, instead are silently treated
 
3914
   as 'x'.  The following induces an error, until -std is added to get
 
3915
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3916
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3917
   that's true only with -std.  */
 
3918
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3919
 
 
3920
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3921
   inside strings and character constants.  */
 
3922
#define FOO(x) 'x'
 
3923
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3924
 
 
3925
int test (int i, double x);
 
3926
struct s1 {int (*f) (int a);};
 
3927
struct s2 {int (*f) (double a);};
 
3928
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3929
int argc;
 
3930
char **argv;
 
3931
int
 
3932
main ()
 
3933
{
 
3934
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3935
  ;
 
3936
  return 0;
 
3937
}
 
3938
_ACEOF
 
3939
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3940
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3941
do
 
3942
  CC="$ac_save_CC $ac_arg"
 
3943
  if ac_fn_c_try_compile "$LINENO"; then :
 
3944
  ac_cv_prog_cc_c89=$ac_arg
 
3945
fi
 
3946
rm -f core conftest.err conftest.$ac_objext
 
3947
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3948
done
 
3949
rm -f conftest.$ac_ext
 
3950
CC=$ac_save_CC
 
3951
 
 
3952
fi
 
3953
# AC_CACHE_VAL
 
3954
case "x$ac_cv_prog_cc_c89" in
 
3955
  x)
 
3956
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3957
$as_echo "none needed" >&6; } ;;
 
3958
  xno)
 
3959
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3960
$as_echo "unsupported" >&6; } ;;
 
3961
  *)
 
3962
    CC="$CC $ac_cv_prog_cc_c89"
 
3963
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3964
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
3965
esac
 
3966
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
3967
 
 
3968
fi
 
3969
 
 
3970
ac_ext=c
 
3971
ac_cpp='$CPP $CPPFLAGS'
 
3972
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3973
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3974
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3975
 
 
3976
depcc="$CC"   am_compiler_list=
 
3977
 
 
3978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3979
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3980
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
3981
  $as_echo_n "(cached) " >&6
 
3982
else
 
3983
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3984
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3985
  # making bogus files that we don't know about and never remove.  For
 
3986
  # instance it was reported that on HP-UX the gcc test will end up
 
3987
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3988
  # in D'.
 
3989
  rm -rf conftest.dir
 
3990
  mkdir conftest.dir
 
3991
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3992
  # using a relative directory.
 
3993
  cp "$am_depcomp" conftest.dir
 
3994
  cd conftest.dir
 
3995
  # We will build objects and dependencies in a subdirectory because
 
3996
  # it helps to detect inapplicable dependency modes.  For instance
 
3997
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3998
  # side effect of compilation, but ICC will put the dependencies in
 
3999
  # the current directory while Tru64 will put them in the object
 
4000
  # directory.
 
4001
  mkdir sub
 
4002
 
 
4003
  am_cv_CC_dependencies_compiler_type=none
 
4004
  if test "$am_compiler_list" = ""; then
 
4005
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
4006
  fi
 
4007
  am__universal=false
 
4008
  case " $depcc " in #(
 
4009
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4010
     esac
 
4011
 
 
4012
  for depmode in $am_compiler_list; do
 
4013
    # Setup a source with many dependencies, because some compilers
 
4014
    # like to wrap large dependency lists on column 80 (with \), and
 
4015
    # we should not choose a depcomp mode which is confused by this.
 
4016
    #
 
4017
    # We need to recreate these files for each test, as the compiler may
 
4018
    # overwrite some of them when testing with obscure command lines.
 
4019
    # This happens at least with the AIX C compiler.
 
4020
    : > sub/conftest.c
 
4021
    for i in 1 2 3 4 5 6; do
 
4022
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
4023
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
4024
      # Solaris 8's {/usr,}/bin/sh.
 
4025
      touch sub/conftst$i.h
 
4026
    done
 
4027
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
4028
 
 
4029
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4030
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4031
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4032
    # versions had trouble with output in subdirs
 
4033
    am__obj=sub/conftest.${OBJEXT-o}
 
4034
    am__minus_obj="-o $am__obj"
 
4035
    case $depmode in
 
4036
    gcc)
 
4037
      # This depmode causes a compiler race in universal mode.
 
4038
      test "$am__universal" = false || continue
 
4039
      ;;
 
4040
    nosideeffect)
 
4041
      # after this tag, mechanisms are not by side-effect, so they'll
 
4042
      # only be used when explicitly requested
 
4043
      if test "x$enable_dependency_tracking" = xyes; then
 
4044
        continue
 
4045
      else
 
4046
        break
 
4047
      fi
 
4048
      ;;
 
4049
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 
4050
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4051
      # not run yet.  These depmodes are late enough in the game, and
 
4052
      # so weak that their functioning should not be impacted.
 
4053
      am__obj=conftest.${OBJEXT-o}
 
4054
      am__minus_obj=
 
4055
      ;;
 
4056
    none) break ;;
 
4057
    esac
 
4058
    if depmode=$depmode \
 
4059
       source=sub/conftest.c object=$am__obj \
 
4060
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
4061
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
4062
         >/dev/null 2>conftest.err &&
 
4063
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
4064
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
4065
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
4066
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
4067
      # icc doesn't choke on unknown options, it will just issue warnings
 
4068
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4069
      # that says an option was ignored or not supported.
 
4070
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4071
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4072
      # The diagnosis changed in icc 8.0:
 
4073
      #   icc: Command line remark: option '-MP' not supported
 
4074
      if (grep 'ignoring option' conftest.err ||
 
4075
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
4076
        am_cv_CC_dependencies_compiler_type=$depmode
 
4077
        break
 
4078
      fi
 
4079
    fi
 
4080
  done
 
4081
 
 
4082
  cd ..
 
4083
  rm -rf conftest.dir
 
4084
else
 
4085
  am_cv_CC_dependencies_compiler_type=none
 
4086
fi
 
4087
 
 
4088
fi
 
4089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4090
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
4091
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
4092
 
 
4093
 if
 
4094
  test "x$enable_dependency_tracking" != xno \
 
4095
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
4096
  am__fastdepCC_TRUE=
 
4097
  am__fastdepCC_FALSE='#'
 
4098
else
 
4099
  am__fastdepCC_TRUE='#'
 
4100
  am__fastdepCC_FALSE=
 
4101
fi
 
4102
 
 
4103
 
 
4104
if test "x$CC" != xcc; then
 
4105
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 
4106
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
 
4107
else
 
4108
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 
4109
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 
4110
fi
 
4111
set dummy $CC; ac_cc=`$as_echo "$2" |
 
4112
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
4113
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
 
4114
  $as_echo_n "(cached) " >&6
 
4115
else
 
4116
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4117
/* end confdefs.h.  */
 
4118
 
 
4119
int
 
4120
main ()
 
4121
{
 
4122
 
 
4123
  ;
 
4124
  return 0;
 
4125
}
 
4126
_ACEOF
 
4127
# Make sure it works both with $CC and with simple cc.
 
4128
# We do the test twice because some compilers refuse to overwrite an
 
4129
# existing .o file with -o, though they will create one.
 
4130
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
4131
rm -f conftest2.*
 
4132
if { { case "(($ac_try" in
 
4133
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4134
  *) ac_try_echo=$ac_try;;
 
4135
esac
 
4136
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4137
$as_echo "$ac_try_echo"; } >&5
 
4138
  (eval "$ac_try") 2>&5
 
4139
  ac_status=$?
 
4140
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4141
  test $ac_status = 0; } &&
 
4142
   test -f conftest2.$ac_objext && { { case "(($ac_try" in