~ubuntu-branches/debian/sid/monopd/sid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Markus Koschany
  • Date: 2014-02-28 15:39:47 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20140228153947-1a5z05x3alj61wx1
Tags: 0.9.5-1
* Imported Upstream version 0.9.5.
  - Add support for IPv6 and systemd.
* Update watch file and point to the new upstream location
  at tuxfamily.org.
* Drop all patches. Merged upstream.
* debian/control:
  - Drop libcapsinetwork-dev from Build-Depends.
    Essential features of libcapsinetwork were merged into monopd and
    IPv6 support was added.
  - Add pkg-config to Build-Depends.
  - Add libsystemd-daemon-dev [linux-any] to Build-Depends.
  - Update homepage field and point to gtkatlantic.gradator.net.
* Add monopd.service and monopd.socket file and support systemd.
* Update monopd.6 man page.
* Use dh-systemd helper.
* Update debian/copyright. Add new BSD license.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.53.
4
 
#
5
 
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6
 
# Free Software Foundation, Inc.
 
3
# Generated by GNU Autoconf 2.69.
 
4
#
 
5
#
 
6
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
 
7
#
 
8
#
7
9
# This configure script is free software; the Free Software Foundation
8
10
# gives unlimited permission to copy, distribute and modify it.
9
 
 
10
 
if expr a : '\(a\)' >/dev/null 2>&1; then
11
 
  as_expr=expr
12
 
else
13
 
  as_expr=false
14
 
fi
15
 
 
16
 
 
17
 
## --------------------- ##
18
 
## M4sh Initialization.  ##
19
 
## --------------------- ##
20
 
 
21
 
# Be Bourne compatible
22
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
11
## -------------------- ##
 
12
## M4sh Initialization. ##
 
13
## -------------------- ##
 
14
 
 
15
# Be more Bourne compatible
 
16
DUALCASE=1; export DUALCASE # for MKS sh
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23
18
  emulate sh
24
19
  NULLCMD=:
25
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26
 
  set -o posix
27
 
fi
 
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
21
  # is contrary to our usage.  Disable this feature.
 
22
  alias -g '${1+"$@"}'='"$@"'
 
23
  setopt NO_GLOB_SUBST
 
24
else
 
25
  case `(set -o) 2>/dev/null` in #(
 
26
  *posix*) :
 
27
    set -o posix ;; #(
 
28
  *) :
 
29
     ;;
 
30
esac
 
31
fi
 
32
 
 
33
 
 
34
as_nl='
 
35
'
 
36
export as_nl
 
37
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
38
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
39
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
40
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
41
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
42
# but without wasting forks for bash or zsh.
 
43
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
44
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
  as_echo='print -r --'
 
46
  as_echo_n='print -rn --'
 
47
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
48
  as_echo='printf %s\n'
 
49
  as_echo_n='printf %s'
 
50
else
 
51
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
52
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
53
    as_echo_n='/usr/ucb/echo -n'
 
54
  else
 
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
56
    as_echo_n_body='eval
 
57
      arg=$1;
 
58
      case $arg in #(
 
59
      *"$as_nl"*)
 
60
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
61
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
62
      esac;
 
63
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
64
    '
 
65
    export as_echo_n_body
 
66
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
67
  fi
 
68
  export as_echo_body
 
69
  as_echo='sh -c $as_echo_body as_echo'
 
70
fi
 
71
 
 
72
# The user is always right.
 
73
if test "${PATH_SEPARATOR+set}" != set; then
 
74
  PATH_SEPARATOR=:
 
75
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
76
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
77
      PATH_SEPARATOR=';'
 
78
  }
 
79
fi
 
80
 
 
81
 
 
82
# IFS
 
83
# We need space, tab and new line, in precisely that order.  Quoting is
 
84
# there to prevent editors from complaining about space-tab.
 
85
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
86
# splitting by setting IFS to empty value.)
 
87
IFS=" ""        $as_nl"
 
88
 
 
89
# Find who we are.  Look in the path if we contain no directory separator.
 
90
as_myself=
 
91
case $0 in #((
 
92
  *[\\/]* ) as_myself=$0 ;;
 
93
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
94
for as_dir in $PATH
 
95
do
 
96
  IFS=$as_save_IFS
 
97
  test -z "$as_dir" && as_dir=.
 
98
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
99
  done
 
100
IFS=$as_save_IFS
 
101
 
 
102
     ;;
 
103
esac
 
104
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
105
# in which case we are not to be found in the path.
 
106
if test "x$as_myself" = x; then
 
107
  as_myself=$0
 
108
fi
 
109
if test ! -f "$as_myself"; then
 
110
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
111
  exit 1
 
112
fi
 
113
 
 
114
# Unset variables that we do not need and which cause bugs (e.g. in
 
115
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
116
# suppresses any "Segmentation fault" message there.  '((' could
 
117
# trigger a bug in pdksh 5.2.14.
 
118
for as_var in BASH_ENV ENV MAIL MAILPATH
 
119
do eval test x\${$as_var+set} = xset \
 
120
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
121
done
 
122
PS1='$ '
 
123
PS2='> '
 
124
PS4='+ '
28
125
 
29
126
# NLS nuisances.
30
 
# Support unset when possible.
31
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32
 
  as_unset=unset
33
 
else
34
 
  as_unset=false
35
 
fi
36
 
 
37
 
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
38
 
    { $as_unset LANG || test "${LANG+set}" != set; } ||
39
 
      { LANG=C; export LANG; }
40
 
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41
 
    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
42
 
      { LC_ALL=C; export LC_ALL; }
43
 
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44
 
    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45
 
      { LC_TIME=C; export LC_TIME; }
46
 
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47
 
    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48
 
      { LC_CTYPE=C; export LC_CTYPE; }
49
 
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50
 
    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51
 
      { LANGUAGE=C; export LANGUAGE; }
52
 
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53
 
    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54
 
      { LC_COLLATE=C; export LC_COLLATE; }
55
 
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56
 
    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57
 
      { LC_NUMERIC=C; export LC_NUMERIC; }
58
 
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59
 
    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60
 
      { LC_MESSAGES=C; export LC_MESSAGES; }
61
 
 
62
 
 
63
 
# Name of the executable.
64
 
as_me=`(basename "$0") 2>/dev/null ||
 
127
LC_ALL=C
 
128
export LC_ALL
 
129
LANGUAGE=C
 
130
export LANGUAGE
 
131
 
 
132
# CDPATH.
 
133
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
134
 
 
135
# Use a proper internal environment variable to ensure we don't fall
 
136
  # into an infinite loop, continuously re-executing ourselves.
 
137
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
 
138
    _as_can_reexec=no; export _as_can_reexec;
 
139
    # We cannot yet assume a decent shell, so we have to provide a
 
140
# neutralization value for shells without unset; and this also
 
141
# works around shells that cannot unset nonexistent variables.
 
142
# Preserve -v and -x to the replacement shell.
 
143
BASH_ENV=/dev/null
 
144
ENV=/dev/null
 
145
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
146
case $- in # ((((
 
147
  *v*x* | *x*v* ) as_opts=-vx ;;
 
148
  *v* ) as_opts=-v ;;
 
149
  *x* ) as_opts=-x ;;
 
150
  * ) as_opts= ;;
 
151
esac
 
152
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
153
# Admittedly, this is quite paranoid, since all the known shells bail
 
154
# out after a failed `exec'.
 
155
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
156
as_fn_exit 255
 
157
  fi
 
158
  # We don't want this to propagate to other subprocesses.
 
159
          { _as_can_reexec=; unset _as_can_reexec;}
 
160
if test "x$CONFIG_SHELL" = x; then
 
161
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
162
  emulate sh
 
163
  NULLCMD=:
 
164
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
165
  # is contrary to our usage.  Disable this feature.
 
166
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
167
  setopt NO_GLOB_SUBST
 
168
else
 
169
  case \`(set -o) 2>/dev/null\` in #(
 
170
  *posix*) :
 
171
    set -o posix ;; #(
 
172
  *) :
 
173
     ;;
 
174
esac
 
175
fi
 
176
"
 
177
  as_required="as_fn_return () { (exit \$1); }
 
178
as_fn_success () { as_fn_return 0; }
 
179
as_fn_failure () { as_fn_return 1; }
 
180
as_fn_ret_success () { return 0; }
 
181
as_fn_ret_failure () { return 1; }
 
182
 
 
183
exitcode=0
 
184
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
185
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
186
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
187
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
188
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
189
 
 
190
else
 
191
  exitcode=1; echo positional parameters were not saved.
 
192
fi
 
193
test x\$exitcode = x0 || exit 1
 
194
test -x / || exit 1"
 
195
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
196
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
197
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
198
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
199
test \$(( 1 + 1 )) = 2 || exit 1"
 
200
  if (eval "$as_required") 2>/dev/null; then :
 
201
  as_have_required=yes
 
202
else
 
203
  as_have_required=no
 
204
fi
 
205
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
206
 
 
207
else
 
208
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
209
as_found=false
 
210
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
211
do
 
212
  IFS=$as_save_IFS
 
213
  test -z "$as_dir" && as_dir=.
 
214
  as_found=:
 
215
  case $as_dir in #(
 
216
         /*)
 
217
           for as_base in sh bash ksh sh5; do
 
218
             # Try only shells that exist, to save several forks.
 
219
             as_shell=$as_dir/$as_base
 
220
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
221
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
222
  CONFIG_SHELL=$as_shell as_have_required=yes
 
223
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
224
  break 2
 
225
fi
 
226
fi
 
227
           done;;
 
228
       esac
 
229
  as_found=false
 
230
done
 
231
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
232
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
233
  CONFIG_SHELL=$SHELL as_have_required=yes
 
234
fi; }
 
235
IFS=$as_save_IFS
 
236
 
 
237
 
 
238
      if test "x$CONFIG_SHELL" != x; then :
 
239
  export CONFIG_SHELL
 
240
             # We cannot yet assume a decent shell, so we have to provide a
 
241
# neutralization value for shells without unset; and this also
 
242
# works around shells that cannot unset nonexistent variables.
 
243
# Preserve -v and -x to the replacement shell.
 
244
BASH_ENV=/dev/null
 
245
ENV=/dev/null
 
246
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
247
case $- in # ((((
 
248
  *v*x* | *x*v* ) as_opts=-vx ;;
 
249
  *v* ) as_opts=-v ;;
 
250
  *x* ) as_opts=-x ;;
 
251
  * ) as_opts= ;;
 
252
esac
 
253
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
254
# Admittedly, this is quite paranoid, since all the known shells bail
 
255
# out after a failed `exec'.
 
256
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
257
exit 255
 
258
fi
 
259
 
 
260
    if test x$as_have_required = xno; then :
 
261
  $as_echo "$0: This script requires a shell more modern than all"
 
262
  $as_echo "$0: the shells that I found on your system."
 
263
  if test x${ZSH_VERSION+set} = xset ; then
 
264
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
265
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
266
  else
 
267
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
268
$0: including any error possibly output before this
 
269
$0: message. Then install a modern shell, or manually run
 
270
$0: the script under such a shell if you do have one."
 
271
  fi
 
272
  exit 1
 
273
fi
 
274
fi
 
275
fi
 
276
SHELL=${CONFIG_SHELL-/bin/sh}
 
277
export SHELL
 
278
# Unset more variables known to interfere with behavior of common tools.
 
279
CLICOLOR_FORCE= GREP_OPTIONS=
 
280
unset CLICOLOR_FORCE GREP_OPTIONS
 
281
 
 
282
## --------------------- ##
 
283
## M4sh Shell Functions. ##
 
284
## --------------------- ##
 
285
# as_fn_unset VAR
 
286
# ---------------
 
287
# Portably unset VAR.
 
288
as_fn_unset ()
 
289
{
 
290
  { eval $1=; unset $1;}
 
291
}
 
292
as_unset=as_fn_unset
 
293
 
 
294
# as_fn_set_status STATUS
 
295
# -----------------------
 
296
# Set $? to STATUS, without forking.
 
297
as_fn_set_status ()
 
298
{
 
299
  return $1
 
300
} # as_fn_set_status
 
301
 
 
302
# as_fn_exit STATUS
 
303
# -----------------
 
304
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
305
as_fn_exit ()
 
306
{
 
307
  set +e
 
308
  as_fn_set_status $1
 
309
  exit $1
 
310
} # as_fn_exit
 
311
 
 
312
# as_fn_mkdir_p
 
313
# -------------
 
314
# Create "$as_dir" as a directory, including parents if necessary.
 
315
as_fn_mkdir_p ()
 
316
{
 
317
 
 
318
  case $as_dir in #(
 
319
  -*) as_dir=./$as_dir;;
 
320
  esac
 
321
  test -d "$as_dir" || eval $as_mkdir_p || {
 
322
    as_dirs=
 
323
    while :; do
 
324
      case $as_dir in #(
 
325
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
326
      *) as_qdir=$as_dir;;
 
327
      esac
 
328
      as_dirs="'$as_qdir' $as_dirs"
 
329
      as_dir=`$as_dirname -- "$as_dir" ||
 
330
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
331
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
332
         X"$as_dir" : 'X\(//\)$' \| \
 
333
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
334
$as_echo X"$as_dir" |
 
335
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
336
            s//\1/
 
337
            q
 
338
          }
 
339
          /^X\(\/\/\)[^/].*/{
 
340
            s//\1/
 
341
            q
 
342
          }
 
343
          /^X\(\/\/\)$/{
 
344
            s//\1/
 
345
            q
 
346
          }
 
347
          /^X\(\/\).*/{
 
348
            s//\1/
 
349
            q
 
350
          }
 
351
          s/.*/./; q'`
 
352
      test -d "$as_dir" && break
 
353
    done
 
354
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
355
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
356
 
 
357
 
 
358
} # as_fn_mkdir_p
 
359
 
 
360
# as_fn_executable_p FILE
 
361
# -----------------------
 
362
# Test if FILE is an executable regular file.
 
363
as_fn_executable_p ()
 
364
{
 
365
  test -f "$1" && test -x "$1"
 
366
} # as_fn_executable_p
 
367
# as_fn_append VAR VALUE
 
368
# ----------------------
 
369
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
370
# advantage of any shell optimizations that allow amortized linear growth over
 
371
# repeated appends, instead of the typical quadratic growth present in naive
 
372
# implementations.
 
373
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
374
  eval 'as_fn_append ()
 
375
  {
 
376
    eval $1+=\$2
 
377
  }'
 
378
else
 
379
  as_fn_append ()
 
380
  {
 
381
    eval $1=\$$1\$2
 
382
  }
 
383
fi # as_fn_append
 
384
 
 
385
# as_fn_arith ARG...
 
386
# ------------------
 
387
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
388
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
389
# must be portable across $(()) and expr.
 
390
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
391
  eval 'as_fn_arith ()
 
392
  {
 
393
    as_val=$(( $* ))
 
394
  }'
 
395
else
 
396
  as_fn_arith ()
 
397
  {
 
398
    as_val=`expr "$@" || test $? -eq 1`
 
399
  }
 
400
fi # as_fn_arith
 
401
 
 
402
 
 
403
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
404
# ----------------------------------------
 
405
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
406
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
407
# script with STATUS, using 1 if that was 0.
 
408
as_fn_error ()
 
409
{
 
410
  as_status=$1; test $as_status -eq 0 && as_status=1
 
411
  if test "$4"; then
 
412
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
413
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
414
  fi
 
415
  $as_echo "$as_me: error: $2" >&2
 
416
  as_fn_exit $as_status
 
417
} # as_fn_error
 
418
 
 
419
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
420
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
421
  as_expr=expr
 
422
else
 
423
  as_expr=false
 
424
fi
 
425
 
 
426
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
427
  as_basename=basename
 
428
else
 
429
  as_basename=false
 
430
fi
 
431
 
 
432
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
433
  as_dirname=dirname
 
434
else
 
435
  as_dirname=false
 
436
fi
 
437
 
 
438
as_me=`$as_basename -- "$0" ||
65
439
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66
440
         X"$0" : 'X\(//\)$' \| \
67
 
         X"$0" : 'X\(/\)$' \| \
68
 
         .     : '\(.\)' 2>/dev/null ||
69
 
echo X/"$0" |
70
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
72
 
          /^X\/\(\/\).*/{ s//\1/; q; }
73
 
          s/.*/./; q'`
 
441
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
442
$as_echo X/"$0" |
 
443
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
444
            s//\1/
 
445
            q
 
446
          }
 
447
          /^X\/\(\/\/\)$/{
 
448
            s//\1/
 
449
            q
 
450
          }
 
451
          /^X\/\(\/\).*/{
 
452
            s//\1/
 
453
            q
 
454
          }
 
455
          s/.*/./; q'`
74
456
 
75
 
# PATH needs CR, and LINENO needs CR and PATH.
76
457
# Avoid depending upon Character Ranges.
77
458
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78
459
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80
461
as_cr_digits='0123456789'
81
462
as_cr_alnum=$as_cr_Letters$as_cr_digits
82
463
 
83
 
# The user is always right.
84
 
if test "${PATH_SEPARATOR+set}" != set; then
85
 
  echo "#! /bin/sh" >conftest.sh
86
 
  echo  "exit 0"   >>conftest.sh
87
 
  chmod +x conftest.sh
88
 
  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
89
 
    PATH_SEPARATOR=';'
90
 
  else
91
 
    PATH_SEPARATOR=:
92
 
  fi
93
 
  rm -f conftest.sh
94
 
fi
95
 
 
96
 
 
97
 
  as_lineno_1=$LINENO
98
 
  as_lineno_2=$LINENO
99
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
101
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
102
 
  # Find who we are.  Look in the path if we contain no path at all
103
 
  # relative or not.
104
 
  case $0 in
105
 
    *[\\/]* ) as_myself=$0 ;;
106
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
107
 
for as_dir in $PATH
108
 
do
109
 
  IFS=$as_save_IFS
110
 
  test -z "$as_dir" && as_dir=.
111
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112
 
done
113
 
 
114
 
       ;;
115
 
  esac
116
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
117
 
  # in which case we are not to be found in the path.
118
 
  if test "x$as_myself" = x; then
119
 
    as_myself=$0
120
 
  fi
121
 
  if test ! -f "$as_myself"; then
122
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123
 
   { (exit 1); exit 1; }; }
124
 
  fi
125
 
  case $CONFIG_SHELL in
126
 
  '')
127
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
129
 
do
130
 
  IFS=$as_save_IFS
131
 
  test -z "$as_dir" && as_dir=.
132
 
  for as_base in sh bash ksh sh5; do
133
 
         case $as_dir in
134
 
         /*)
135
 
           if ("$as_dir/$as_base" -c '
136
 
  as_lineno_1=$LINENO
137
 
  as_lineno_2=$LINENO
138
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
140
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
141
 
             CONFIG_SHELL=$as_dir/$as_base
142
 
             export CONFIG_SHELL
143
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
144
 
           fi;;
145
 
         esac
146
 
       done
147
 
done
148
 
;;
149
 
  esac
150
 
 
151
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
153
 
  # line-number line before each line; the second 'sed' does the real
154
 
  # work.  The second script uses 'N' to pair each line-number line
155
 
  # with the numbered line, and appends trailing '-' during
156
 
  # substitution so that $LINENO is not a special case at line end.
157
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
159
 
  sed '=' <$as_myself |
 
464
 
 
465
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
466
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
467
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
468
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
469
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
470
  sed -n '
 
471
    p
 
472
    /[$]LINENO/=
 
473
  ' <$as_myself |
160
474
    sed '
 
475
      s/[$]LINENO.*/&-/
 
476
      t lineno
 
477
      b
 
478
      :lineno
161
479
      N
162
 
      s,$,-,
163
 
      : loop
164
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
480
      :loop
 
481
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
165
482
      t loop
166
 
      s,-$,,
167
 
      s,^['$as_cr_digits']*\n,,
 
483
      s/-\n.*//
168
484
    ' >$as_me.lineno &&
169
 
  chmod +x $as_me.lineno ||
170
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171
 
   { (exit 1); exit 1; }; }
 
485
  chmod +x "$as_me.lineno" ||
 
486
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
172
487
 
 
488
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
 
489
  # already done that, so ensure we don't try to do so again and fall
 
490
  # in an infinite loop.  This has already happened in practice.
 
491
  _as_can_reexec=no; export _as_can_reexec
173
492
  # Don't try to exec as it changes $[0], causing all sort of problems
174
493
  # (the dirname of $[0] is not the place where we might find the
175
 
  # original and so on.  Autoconf is especially sensible to this).
176
 
  . ./$as_me.lineno
 
494
  # original and so on.  Autoconf is especially sensitive to this).
 
495
  . "./$as_me.lineno"
177
496
  # Exit status is that of the last command.
178
497
  exit
179
498
}
180
499
 
181
 
 
182
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183
 
  *c*,-n*) ECHO_N= ECHO_C='
184
 
' ECHO_T='      ' ;;
185
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
186
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
500
ECHO_C= ECHO_N= ECHO_T=
 
501
case `echo -n x` in #(((((
 
502
-n*)
 
503
  case `echo 'xy\c'` in
 
504
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
505
  xy)  ECHO_C='\c';;
 
506
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
507
       ECHO_T=' ';;
 
508
  esac;;
 
509
*)
 
510
  ECHO_N='-n';;
187
511
esac
188
512
 
189
 
if expr a : '\(a\)' >/dev/null 2>&1; then
190
 
  as_expr=expr
 
513
rm -f conf$$ conf$$.exe conf$$.file
 
514
if test -d conf$$.dir; then
 
515
  rm -f conf$$.dir/conf$$.file
191
516
else
192
 
  as_expr=false
 
517
  rm -f conf$$.dir
 
518
  mkdir conf$$.dir 2>/dev/null
193
519
fi
194
 
 
195
 
rm -f conf$$ conf$$.exe conf$$.file
196
 
echo >conf$$.file
197
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
198
 
  # We could just check for DJGPP; but this test a) works b) is more generic
199
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
200
 
  if test -f conf$$.exe; then
201
 
    # Don't use ln at all; we don't have any links
202
 
    as_ln_s='cp -p'
203
 
  else
 
520
if (echo >conf$$.file) 2>/dev/null; then
 
521
  if ln -s conf$$.file conf$$ 2>/dev/null; then
204
522
    as_ln_s='ln -s'
 
523
    # ... but there are two gotchas:
 
524
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
525
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
526
    # In both cases, we have to default to `cp -pR'.
 
527
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
528
      as_ln_s='cp -pR'
 
529
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
530
    as_ln_s=ln
 
531
  else
 
532
    as_ln_s='cp -pR'
205
533
  fi
206
 
elif ln conf$$.file conf$$ 2>/dev/null; then
207
 
  as_ln_s=ln
208
 
else
209
 
  as_ln_s='cp -p'
210
 
fi
211
 
rm -f conf$$ conf$$.exe conf$$.file
212
 
 
213
 
as_executable_p="test -f"
 
534
else
 
535
  as_ln_s='cp -pR'
 
536
fi
 
537
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
538
rmdir conf$$.dir 2>/dev/null
 
539
 
 
540
if mkdir -p . 2>/dev/null; then
 
541
  as_mkdir_p='mkdir -p "$as_dir"'
 
542
else
 
543
  test -d ./-p && rmdir ./-p
 
544
  as_mkdir_p=false
 
545
fi
 
546
 
 
547
as_test_x='test -x'
 
548
as_executable_p=as_fn_executable_p
214
549
 
215
550
# Sed expression to map a string onto a valid CPP name.
216
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
551
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
217
552
 
218
553
# Sed expression to map a string onto a valid variable name.
219
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
220
 
 
221
 
 
222
 
# IFS
223
 
# We need space, tab and new line, in precisely that order.
224
 
as_nl='
225
 
'
226
 
IFS="   $as_nl"
227
 
 
228
 
# CDPATH.
229
 
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
230
 
 
 
554
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
555
 
 
556
 
 
557
test -n "$DJDIR" || exec 7<&0 </dev/null
 
558
exec 6>&1
231
559
 
232
560
# Name of the host.
233
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
561
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
234
562
# so uname gets run too.
235
563
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
236
564
 
237
 
exec 6>&1
238
 
 
239
565
#
240
566
# Initializations.
241
567
#
242
568
ac_default_prefix=/usr/local
 
569
ac_clean_files=
 
570
ac_config_libobj_dir=.
 
571
LIBOBJS=
243
572
cross_compiling=no
244
573
subdirs=
245
574
MFLAGS=
246
575
MAKEFLAGS=
247
 
SHELL=${CONFIG_SHELL-/bin/sh}
248
 
 
249
 
# Maximum number of lines to put in a shell here document.
250
 
# This variable seems obsolete.  It should probably be removed, and
251
 
# only ac_max_sed_lines should be used.
252
 
: ${ac_max_here_lines=38}
253
576
 
254
577
# Identity of this package.
255
578
PACKAGE_NAME=
257
580
PACKAGE_VERSION=
258
581
PACKAGE_STRING=
259
582
PACKAGE_BUGREPORT=
 
583
PACKAGE_URL=
260
584
 
261
585
ac_unique_file="src/main.cpp"
262
586
# Factoring default headers for most tests.
263
587
ac_includes_default="\
264
588
#include <stdio.h>
265
 
#if HAVE_SYS_TYPES_H
 
589
#ifdef HAVE_SYS_TYPES_H
266
590
# include <sys/types.h>
267
591
#endif
268
 
#if HAVE_SYS_STAT_H
 
592
#ifdef HAVE_SYS_STAT_H
269
593
# include <sys/stat.h>
270
594
#endif
271
 
#if STDC_HEADERS
 
595
#ifdef STDC_HEADERS
272
596
# include <stdlib.h>
273
597
# include <stddef.h>
274
598
#else
275
 
# if HAVE_STDLIB_H
 
599
# ifdef HAVE_STDLIB_H
276
600
#  include <stdlib.h>
277
601
# endif
278
602
#endif
279
 
#if HAVE_STRING_H
280
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
603
#ifdef HAVE_STRING_H
 
604
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
281
605
#  include <memory.h>
282
606
# endif
283
607
# include <string.h>
284
608
#endif
285
 
#if HAVE_STRINGS_H
 
609
#ifdef HAVE_STRINGS_H
286
610
# include <strings.h>
287
611
#endif
288
 
#if HAVE_INTTYPES_H
 
612
#ifdef HAVE_INTTYPES_H
289
613
# include <inttypes.h>
290
 
#else
291
 
# if HAVE_STDINT_H
292
 
#  include <stdint.h>
293
 
# endif
294
 
#endif
295
 
#if HAVE_UNISTD_H
 
614
#endif
 
615
#ifdef HAVE_STDINT_H
 
616
# include <stdint.h>
 
617
#endif
 
618
#ifdef HAVE_UNISTD_H
296
619
# include <unistd.h>
297
620
#endif"
298
621
 
 
622
ac_subst_vars='LTLIBOBJS
 
623
LIBOBJS
 
624
SYSTEMD_DAEMON_LIBS
 
625
SYSTEMD_DAEMON_CFLAGS
 
626
PKG_CONFIG_LIBDIR
 
627
PKG_CONFIG_PATH
 
628
PKG_CONFIG
 
629
EGREP
 
630
GREP
 
631
CXXCPP
 
632
am__fastdepCC_FALSE
 
633
am__fastdepCC_TRUE
 
634
CCDEPMODE
 
635
ac_ct_CC
 
636
CC
 
637
CFLAGS
 
638
am__fastdepCXX_FALSE
 
639
am__fastdepCXX_TRUE
 
640
CXXDEPMODE
 
641
AMDEPBACKSLASH
 
642
AMDEP_FALSE
 
643
AMDEP_TRUE
 
644
am__quote
 
645
am__include
 
646
DEPDIR
 
647
OBJEXT
 
648
EXEEXT
 
649
ac_ct_CXX
 
650
CPPFLAGS
 
651
LDFLAGS
 
652
CXXFLAGS
 
653
CXX
 
654
am__untar
 
655
am__tar
 
656
AMTAR
 
657
am__leading_dot
 
658
SET_MAKE
 
659
AWK
 
660
mkdir_p
 
661
INSTALL_STRIP_PROGRAM
 
662
STRIP
 
663
install_sh
 
664
MAKEINFO
 
665
AUTOHEADER
 
666
AUTOMAKE
 
667
AUTOCONF
 
668
ACLOCAL
 
669
VERSION
 
670
PACKAGE
 
671
CYGPATH_W
 
672
INSTALL_DATA
 
673
INSTALL_SCRIPT
 
674
INSTALL_PROGRAM
 
675
target_alias
 
676
host_alias
 
677
build_alias
 
678
LIBS
 
679
ECHO_T
 
680
ECHO_N
 
681
ECHO_C
 
682
DEFS
 
683
mandir
 
684
localedir
 
685
libdir
 
686
psdir
 
687
pdfdir
 
688
dvidir
 
689
htmldir
 
690
infodir
 
691
docdir
 
692
oldincludedir
 
693
includedir
 
694
localstatedir
 
695
sharedstatedir
 
696
sysconfdir
 
697
datadir
 
698
datarootdir
 
699
libexecdir
 
700
sbindir
 
701
bindir
 
702
program_transform_name
 
703
prefix
 
704
exec_prefix
 
705
PACKAGE_URL
 
706
PACKAGE_BUGREPORT
 
707
PACKAGE_STRING
 
708
PACKAGE_VERSION
 
709
PACKAGE_TARNAME
 
710
PACKAGE_NAME
 
711
PATH_SEPARATOR
 
712
SHELL'
 
713
ac_subst_files=''
 
714
ac_user_opts='
 
715
enable_option_checking
 
716
enable_dependency_tracking
 
717
with_systemd_daemon
 
718
'
 
719
      ac_precious_vars='build_alias
 
720
host_alias
 
721
target_alias
 
722
CXX
 
723
CXXFLAGS
 
724
LDFLAGS
 
725
LIBS
 
726
CPPFLAGS
 
727
CCC
 
728
CC
 
729
CFLAGS
 
730
CXXCPP
 
731
PKG_CONFIG
 
732
PKG_CONFIG_PATH
 
733
PKG_CONFIG_LIBDIR
 
734
SYSTEMD_DAEMON_CFLAGS
 
735
SYSTEMD_DAEMON_LIBS'
 
736
 
299
737
 
300
738
# Initialize some variables set by options.
301
739
ac_init_help=
302
740
ac_init_version=false
 
741
ac_unrecognized_opts=
 
742
ac_unrecognized_sep=
303
743
# The variables have the same names as the options, with
304
744
# dashes changed to underlines.
305
745
cache_file=/dev/null
322
762
# and all the variables that are supposed to be based on exec_prefix
323
763
# by default will actually change.
324
764
# Use braces instead of parens because sh, perl, etc. also accept them.
 
765
# (The list follows the same order as the GNU Coding Standards.)
325
766
bindir='${exec_prefix}/bin'
326
767
sbindir='${exec_prefix}/sbin'
327
768
libexecdir='${exec_prefix}/libexec'
328
 
datadir='${prefix}/share'
 
769
datarootdir='${prefix}/share'
 
770
datadir='${datarootdir}'
329
771
sysconfdir='${prefix}/etc'
330
772
sharedstatedir='${prefix}/com'
331
773
localstatedir='${prefix}/var'
332
 
libdir='${exec_prefix}/lib'
333
774
includedir='${prefix}/include'
334
775
oldincludedir='/usr/include'
335
 
infodir='${prefix}/info'
336
 
mandir='${prefix}/man'
 
776
docdir='${datarootdir}/doc/${PACKAGE}'
 
777
infodir='${datarootdir}/info'
 
778
htmldir='${docdir}'
 
779
dvidir='${docdir}'
 
780
pdfdir='${docdir}'
 
781
psdir='${docdir}'
 
782
libdir='${exec_prefix}/lib'
 
783
localedir='${datarootdir}/locale'
 
784
mandir='${datarootdir}/man'
337
785
 
338
786
ac_prev=
 
787
ac_dashdash=
339
788
for ac_option
340
789
do
341
790
  # If the previous option needs an argument, assign it.
342
791
  if test -n "$ac_prev"; then
343
 
    eval "$ac_prev=\$ac_option"
 
792
    eval $ac_prev=\$ac_option
344
793
    ac_prev=
345
794
    continue
346
795
  fi
347
796
 
348
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
797
  case $ac_option in
 
798
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
799
  *=)   ac_optarg= ;;
 
800
  *)    ac_optarg=yes ;;
 
801
  esac
349
802
 
350
803
  # Accept the important Cygnus configure options, so we can diagnose typos.
351
804
 
352
 
  case $ac_option in
 
805
  case $ac_dashdash$ac_option in
 
806
  --)
 
807
    ac_dashdash=yes ;;
353
808
 
354
809
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
355
810
    ac_prev=bindir ;;
371
826
  --config-cache | -C)
372
827
    cache_file=config.cache ;;
373
828
 
374
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
829
  -datadir | --datadir | --datadi | --datad)
375
830
    ac_prev=datadir ;;
376
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
377
 
  | --da=*)
 
831
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
378
832
    datadir=$ac_optarg ;;
379
833
 
 
834
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
835
  | --dataroo | --dataro | --datar)
 
836
    ac_prev=datarootdir ;;
 
837
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
838
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
839
    datarootdir=$ac_optarg ;;
 
840
 
380
841
  -disable-* | --disable-*)
381
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
842
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
382
843
    # Reject names that are not valid shell variable names.
383
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
384
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
385
 
   { (exit 1); exit 1; }; }
386
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
387
 
    eval "enable_$ac_feature=no" ;;
 
844
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
845
      as_fn_error $? "invalid feature name: $ac_useropt"
 
846
    ac_useropt_orig=$ac_useropt
 
847
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
848
    case $ac_user_opts in
 
849
      *"
 
850
"enable_$ac_useropt"
 
851
"*) ;;
 
852
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
853
         ac_unrecognized_sep=', ';;
 
854
    esac
 
855
    eval enable_$ac_useropt=no ;;
 
856
 
 
857
  -docdir | --docdir | --docdi | --doc | --do)
 
858
    ac_prev=docdir ;;
 
859
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
860
    docdir=$ac_optarg ;;
 
861
 
 
862
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
863
    ac_prev=dvidir ;;
 
864
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
865
    dvidir=$ac_optarg ;;
388
866
 
389
867
  -enable-* | --enable-*)
390
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
868
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
391
869
    # Reject names that are not valid shell variable names.
392
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
393
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
394
 
   { (exit 1); exit 1; }; }
395
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
396
 
    case $ac_option in
397
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
398
 
      *) ac_optarg=yes ;;
 
870
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
871
      as_fn_error $? "invalid feature name: $ac_useropt"
 
872
    ac_useropt_orig=$ac_useropt
 
873
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
874
    case $ac_user_opts in
 
875
      *"
 
876
"enable_$ac_useropt"
 
877
"*) ;;
 
878
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
879
         ac_unrecognized_sep=', ';;
399
880
    esac
400
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
881
    eval enable_$ac_useropt=\$ac_optarg ;;
401
882
 
402
883
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
403
884
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
424
905
  -host=* | --host=* | --hos=* | --ho=*)
425
906
    host_alias=$ac_optarg ;;
426
907
 
 
908
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
909
    ac_prev=htmldir ;;
 
910
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
911
  | --ht=*)
 
912
    htmldir=$ac_optarg ;;
 
913
 
427
914
  -includedir | --includedir | --includedi | --included | --include \
428
915
  | --includ | --inclu | --incl | --inc)
429
916
    ac_prev=includedir ;;
448
935
  | --libexe=* | --libex=* | --libe=*)
449
936
    libexecdir=$ac_optarg ;;
450
937
 
 
938
  -localedir | --localedir | --localedi | --localed | --locale)
 
939
    ac_prev=localedir ;;
 
940
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
941
    localedir=$ac_optarg ;;
 
942
 
451
943
  -localstatedir | --localstatedir | --localstatedi | --localstated \
452
 
  | --localstate | --localstat | --localsta | --localst \
453
 
  | --locals | --local | --loca | --loc | --lo)
 
944
  | --localstate | --localstat | --localsta | --localst | --locals)
454
945
    ac_prev=localstatedir ;;
455
946
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
456
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
457
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
947
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
458
948
    localstatedir=$ac_optarg ;;
459
949
 
460
950
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
519
1009
  | --progr-tra=* | --program-tr=* | --program-t=*)
520
1010
    program_transform_name=$ac_optarg ;;
521
1011
 
 
1012
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1013
    ac_prev=pdfdir ;;
 
1014
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1015
    pdfdir=$ac_optarg ;;
 
1016
 
 
1017
  -psdir | --psdir | --psdi | --psd | --ps)
 
1018
    ac_prev=psdir ;;
 
1019
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1020
    psdir=$ac_optarg ;;
 
1021
 
522
1022
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
523
1023
  | -silent | --silent | --silen | --sile | --sil)
524
1024
    silent=yes ;;
569
1069
    ac_init_version=: ;;
570
1070
 
571
1071
  -with-* | --with-*)
572
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1072
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
573
1073
    # Reject names that are not valid shell variable names.
574
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
575
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
576
 
   { (exit 1); exit 1; }; }
577
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
578
 
    case $ac_option in
579
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
580
 
      *) ac_optarg=yes ;;
 
1074
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1075
      as_fn_error $? "invalid package name: $ac_useropt"
 
1076
    ac_useropt_orig=$ac_useropt
 
1077
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1078
    case $ac_user_opts in
 
1079
      *"
 
1080
"with_$ac_useropt"
 
1081
"*) ;;
 
1082
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1083
         ac_unrecognized_sep=', ';;
581
1084
    esac
582
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1085
    eval with_$ac_useropt=\$ac_optarg ;;
583
1086
 
584
1087
  -without-* | --without-*)
585
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1088
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
586
1089
    # Reject names that are not valid shell variable names.
587
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
588
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
589
 
   { (exit 1); exit 1; }; }
590
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
591
 
    eval "with_$ac_package=no" ;;
 
1090
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1091
      as_fn_error $? "invalid package name: $ac_useropt"
 
1092
    ac_useropt_orig=$ac_useropt
 
1093
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1094
    case $ac_user_opts in
 
1095
      *"
 
1096
"with_$ac_useropt"
 
1097
"*) ;;
 
1098
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1099
         ac_unrecognized_sep=', ';;
 
1100
    esac
 
1101
    eval with_$ac_useropt=no ;;
592
1102
 
593
1103
  --x)
594
1104
    # Obsolete; use --with-x.
608
1118
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
609
1119
    x_libraries=$ac_optarg ;;
610
1120
 
611
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
612
 
Try \`$0 --help' for more information." >&2
613
 
   { (exit 1); exit 1; }; }
 
1121
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1122
Try \`$0 --help' for more information"
614
1123
    ;;
615
1124
 
616
1125
  *=*)
617
1126
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
618
1127
    # Reject names that are not valid shell variable names.
619
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
620
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
621
 
   { (exit 1); exit 1; }; }
622
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
623
 
    eval "$ac_envvar='$ac_optarg'"
 
1128
    case $ac_envvar in #(
 
1129
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1130
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1131
    esac
 
1132
    eval $ac_envvar=\$ac_optarg
624
1133
    export $ac_envvar ;;
625
1134
 
626
1135
  *)
627
1136
    # FIXME: should be removed in autoconf 3.0.
628
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1137
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
629
1138
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
630
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
631
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1139
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1140
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
632
1141
    ;;
633
1142
 
634
1143
  esac
636
1145
 
637
1146
if test -n "$ac_prev"; then
638
1147
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
639
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
640
 
   { (exit 1); exit 1; }; }
641
 
fi
642
 
 
643
 
# Be sure to have absolute paths.
644
 
for ac_var in exec_prefix prefix
645
 
do
646
 
  eval ac_val=$`echo $ac_var`
647
 
  case $ac_val in
648
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
649
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
650
 
   { (exit 1); exit 1; }; };;
651
 
  esac
652
 
done
653
 
 
654
 
# Be sure to have absolute paths.
655
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
656
 
              localstatedir libdir includedir oldincludedir infodir mandir
657
 
do
658
 
  eval ac_val=$`echo $ac_var`
659
 
  case $ac_val in
660
 
    [\\/$]* | ?:[\\/]* ) ;;
661
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
662
 
   { (exit 1); exit 1; }; };;
663
 
  esac
 
1148
  as_fn_error $? "missing argument to $ac_option"
 
1149
fi
 
1150
 
 
1151
if test -n "$ac_unrecognized_opts"; then
 
1152
  case $enable_option_checking in
 
1153
    no) ;;
 
1154
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1155
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1156
  esac
 
1157
fi
 
1158
 
 
1159
# Check all directory arguments for consistency.
 
1160
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1161
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1162
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1163
                libdir localedir mandir
 
1164
do
 
1165
  eval ac_val=\$$ac_var
 
1166
  # Remove trailing slashes.
 
1167
  case $ac_val in
 
1168
    */ )
 
1169
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1170
      eval $ac_var=\$ac_val;;
 
1171
  esac
 
1172
  # Be sure to have absolute directory names.
 
1173
  case $ac_val in
 
1174
    [\\/$]* | ?:[\\/]* )  continue;;
 
1175
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1176
  esac
 
1177
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
664
1178
done
665
1179
 
666
1180
# There might be people who depend on the old broken behavior: `$host'
674
1188
if test "x$host_alias" != x; then
675
1189
  if test "x$build_alias" = x; then
676
1190
    cross_compiling=maybe
677
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
678
 
    If a cross compiler is detected then cross compile mode will be used." >&2
679
1191
  elif test "x$build_alias" != "x$host_alias"; then
680
1192
    cross_compiling=yes
681
1193
  fi
687
1199
test "$silent" = yes && exec 6>/dev/null
688
1200
 
689
1201
 
 
1202
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1203
ac_ls_di=`ls -di .` &&
 
1204
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1205
  as_fn_error $? "working directory cannot be determined"
 
1206
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1207
  as_fn_error $? "pwd does not report name of working directory"
 
1208
 
 
1209
 
690
1210
# Find the source files, if location was not specified.
691
1211
if test -z "$srcdir"; then
692
1212
  ac_srcdir_defaulted=yes
693
 
  # Try the directory containing this script, then its parent.
694
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
695
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
696
 
         X"$0" : 'X\(//\)[^/]' \| \
697
 
         X"$0" : 'X\(//\)$' \| \
698
 
         X"$0" : 'X\(/\)' \| \
699
 
         .     : '\(.\)' 2>/dev/null ||
700
 
echo X"$0" |
701
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703
 
          /^X\(\/\/\)$/{ s//\1/; q; }
704
 
          /^X\(\/\).*/{ s//\1/; q; }
705
 
          s/.*/./; q'`
 
1213
  # Try the directory containing this script, then the parent directory.
 
1214
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1215
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1216
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1217
         X"$as_myself" : 'X\(//\)$' \| \
 
1218
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1219
$as_echo X"$as_myself" |
 
1220
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1221
            s//\1/
 
1222
            q
 
1223
          }
 
1224
          /^X\(\/\/\)[^/].*/{
 
1225
            s//\1/
 
1226
            q
 
1227
          }
 
1228
          /^X\(\/\/\)$/{
 
1229
            s//\1/
 
1230
            q
 
1231
          }
 
1232
          /^X\(\/\).*/{
 
1233
            s//\1/
 
1234
            q
 
1235
          }
 
1236
          s/.*/./; q'`
706
1237
  srcdir=$ac_confdir
707
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1238
  if test ! -r "$srcdir/$ac_unique_file"; then
708
1239
    srcdir=..
709
1240
  fi
710
1241
else
711
1242
  ac_srcdir_defaulted=no
712
1243
fi
713
 
if test ! -r $srcdir/$ac_unique_file; then
714
 
  if test "$ac_srcdir_defaulted" = yes; then
715
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
716
 
   { (exit 1); exit 1; }; }
717
 
  else
718
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
719
 
   { (exit 1); exit 1; }; }
720
 
  fi
721
 
fi
722
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
723
 
ac_env_build_alias_set=${build_alias+set}
724
 
ac_env_build_alias_value=$build_alias
725
 
ac_cv_env_build_alias_set=${build_alias+set}
726
 
ac_cv_env_build_alias_value=$build_alias
727
 
ac_env_host_alias_set=${host_alias+set}
728
 
ac_env_host_alias_value=$host_alias
729
 
ac_cv_env_host_alias_set=${host_alias+set}
730
 
ac_cv_env_host_alias_value=$host_alias
731
 
ac_env_target_alias_set=${target_alias+set}
732
 
ac_env_target_alias_value=$target_alias
733
 
ac_cv_env_target_alias_set=${target_alias+set}
734
 
ac_cv_env_target_alias_value=$target_alias
735
 
ac_env_CXX_set=${CXX+set}
736
 
ac_env_CXX_value=$CXX
737
 
ac_cv_env_CXX_set=${CXX+set}
738
 
ac_cv_env_CXX_value=$CXX
739
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
740
 
ac_env_CXXFLAGS_value=$CXXFLAGS
741
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
742
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
743
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
744
 
ac_env_LDFLAGS_value=$LDFLAGS
745
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
746
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
747
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
748
 
ac_env_CPPFLAGS_value=$CPPFLAGS
749
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
750
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
751
 
ac_env_CXXCPP_set=${CXXCPP+set}
752
 
ac_env_CXXCPP_value=$CXXCPP
753
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
754
 
ac_cv_env_CXXCPP_value=$CXXCPP
 
1244
if test ! -r "$srcdir/$ac_unique_file"; then
 
1245
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1246
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
1247
fi
 
1248
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1249
ac_abs_confdir=`(
 
1250
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 
1251
        pwd)`
 
1252
# When building in place, set srcdir=.
 
1253
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1254
  srcdir=.
 
1255
fi
 
1256
# Remove unnecessary trailing slashes from srcdir.
 
1257
# Double slashes in file names in object file debugging info
 
1258
# mess up M-x gdb in Emacs.
 
1259
case $srcdir in
 
1260
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1261
esac
 
1262
for ac_var in $ac_precious_vars; do
 
1263
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1264
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1265
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1266
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1267
done
755
1268
 
756
1269
#
757
1270
# Report the --help message.
774
1287
      --help=short        display options specific to this package
775
1288
      --help=recursive    display the short help of all the included packages
776
1289
  -V, --version           display version information and exit
777
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1290
  -q, --quiet, --silent   do not print \`checking ...' messages
778
1291
      --cache-file=FILE   cache test results in FILE [disabled]
779
1292
  -C, --config-cache      alias for \`--cache-file=config.cache'
780
1293
  -n, --no-create         do not create output files
781
1294
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
782
1295
 
783
 
_ACEOF
784
 
 
785
 
  cat <<_ACEOF
786
1296
Installation directories:
787
1297
  --prefix=PREFIX         install architecture-independent files in PREFIX
788
1298
                          [$ac_default_prefix]
797
1307
For better control, use the options below.
798
1308
 
799
1309
Fine tuning of the installation directories:
800
 
  --bindir=DIR           user executables [EPREFIX/bin]
801
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
802
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
803
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
804
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
805
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
806
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
807
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
808
 
  --includedir=DIR       C header files [PREFIX/include]
809
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
810
 
  --infodir=DIR          info documentation [PREFIX/info]
811
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1310
  --bindir=DIR            user executables [EPREFIX/bin]
 
1311
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1312
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1313
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1314
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1315
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1316
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1317
  --includedir=DIR        C header files [PREFIX/include]
 
1318
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1319
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1320
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1321
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1322
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1323
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1324
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
 
1325
  --htmldir=DIR           html documentation [DOCDIR]
 
1326
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1327
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1328
  --psdir=DIR             ps documentation [DOCDIR]
812
1329
_ACEOF
813
1330
 
814
1331
  cat <<\_ACEOF
825
1342
  cat <<\_ACEOF
826
1343
 
827
1344
Optional Features:
 
1345
  --disable-option-checking  ignore unrecognized --enable/--with options
828
1346
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
829
1347
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
830
 
  --disable-dependency-tracking Speeds up one-time builds
831
 
  --enable-dependency-tracking  Do not reject slow dependency extractors
 
1348
  --disable-dependency-tracking  speeds up one-time build
 
1349
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1350
 
 
1351
Optional Packages:
 
1352
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1353
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1354
  --with-systemd-daemon   Add support for systemd startup notification
 
1355
                          (default is autodetected)
832
1356
 
833
1357
Some influential environment variables:
834
1358
  CXX         C++ compiler command
835
1359
  CXXFLAGS    C++ compiler flags
836
1360
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
837
1361
              nonstandard directory <lib dir>
838
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
839
 
              headers in a nonstandard directory <include dir>
 
1362
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1363
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1364
              you have headers in a nonstandard directory <include dir>
 
1365
  CC          C compiler command
 
1366
  CFLAGS      C compiler flags
840
1367
  CXXCPP      C++ preprocessor
 
1368
  PKG_CONFIG  path to pkg-config utility
 
1369
  PKG_CONFIG_PATH
 
1370
              directories to add to pkg-config's search path
 
1371
  PKG_CONFIG_LIBDIR
 
1372
              path overriding pkg-config's built-in search path
 
1373
  SYSTEMD_DAEMON_CFLAGS
 
1374
              C compiler flags for SYSTEMD_DAEMON, overriding pkg-config
 
1375
  SYSTEMD_DAEMON_LIBS
 
1376
              linker flags for SYSTEMD_DAEMON, overriding pkg-config
841
1377
 
842
1378
Use these variables to override the choices made by `configure' or to help
843
1379
it to find libraries and programs with nonstandard names/locations.
844
1380
 
 
1381
Report bugs to the package provider.
845
1382
_ACEOF
 
1383
ac_status=$?
846
1384
fi
847
1385
 
848
1386
if test "$ac_init_help" = "recursive"; then
849
1387
  # If there are subdirs, report their specific --help.
850
 
  ac_popdir=`pwd`
851
1388
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
852
 
    test -d $ac_dir || continue
 
1389
    test -d "$ac_dir" ||
 
1390
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1391
      continue
853
1392
    ac_builddir=.
854
1393
 
855
 
if test "$ac_dir" != .; then
856
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
857
 
  # A "../" for each directory in $ac_dir_suffix.
858
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
859
 
else
860
 
  ac_dir_suffix= ac_top_builddir=
861
 
fi
 
1394
case "$ac_dir" in
 
1395
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1396
*)
 
1397
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1398
  # A ".." for each directory in $ac_dir_suffix.
 
1399
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1400
  case $ac_top_builddir_sub in
 
1401
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1402
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1403
  esac ;;
 
1404
esac
 
1405
ac_abs_top_builddir=$ac_pwd
 
1406
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1407
# for backward compatibility:
 
1408
ac_top_builddir=$ac_top_build_prefix
862
1409
 
863
1410
case $srcdir in
864
 
  .)  # No --srcdir option.  We are building in place.
 
1411
  .)  # We are building in place.
865
1412
    ac_srcdir=.
866
 
    if test -z "$ac_top_builddir"; then
867
 
       ac_top_srcdir=.
868
 
    else
869
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
870
 
    fi ;;
871
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1413
    ac_top_srcdir=$ac_top_builddir_sub
 
1414
    ac_abs_top_srcdir=$ac_pwd ;;
 
1415
  [\\/]* | ?:[\\/]* )  # Absolute name.
872
1416
    ac_srcdir=$srcdir$ac_dir_suffix;
873
 
    ac_top_srcdir=$srcdir ;;
874
 
  *) # Relative path.
875
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
876
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
1417
    ac_top_srcdir=$srcdir
 
1418
    ac_abs_top_srcdir=$srcdir ;;
 
1419
  *) # Relative name.
 
1420
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1421
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1422
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
877
1423
esac
878
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
879
 
# absolute.
880
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
881
 
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
882
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
883
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
1424
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
884
1425
 
885
 
    cd $ac_dir
886
 
    # Check for guested configure; otherwise get Cygnus style configure.
887
 
    if test -f $ac_srcdir/configure.gnu; then
888
 
      echo
889
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
890
 
    elif test -f $ac_srcdir/configure; then
891
 
      echo
892
 
      $SHELL $ac_srcdir/configure  --help=recursive
893
 
    elif test -f $ac_srcdir/configure.ac ||
894
 
           test -f $ac_srcdir/configure.in; then
895
 
      echo
896
 
      $ac_configure --help
 
1426
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1427
    # Check for guested configure.
 
1428
    if test -f "$ac_srcdir/configure.gnu"; then
 
1429
      echo &&
 
1430
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1431
    elif test -f "$ac_srcdir/configure"; then
 
1432
      echo &&
 
1433
      $SHELL "$ac_srcdir/configure" --help=recursive
897
1434
    else
898
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
899
 
    fi
900
 
    cd $ac_popdir
 
1435
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1436
    fi || ac_status=$?
 
1437
    cd "$ac_pwd" || { ac_status=$?; break; }
901
1438
  done
902
1439
fi
903
1440
 
904
 
test -n "$ac_init_help" && exit 0
 
1441
test -n "$ac_init_help" && exit $ac_status
905
1442
if $ac_init_version; then
906
1443
  cat <<\_ACEOF
 
1444
configure
 
1445
generated by GNU Autoconf 2.69
907
1446
 
908
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
909
 
Free Software Foundation, Inc.
 
1447
Copyright (C) 2012 Free Software Foundation, Inc.
910
1448
This configure script is free software; the Free Software Foundation
911
1449
gives unlimited permission to copy, distribute and modify it.
912
1450
_ACEOF
913
 
  exit 0
914
 
fi
915
 
exec 5>config.log
916
 
cat >&5 <<_ACEOF
 
1451
  exit
 
1452
fi
 
1453
 
 
1454
## ------------------------ ##
 
1455
## Autoconf initialization. ##
 
1456
## ------------------------ ##
 
1457
 
 
1458
# ac_fn_cxx_try_compile LINENO
 
1459
# ----------------------------
 
1460
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1461
ac_fn_cxx_try_compile ()
 
1462
{
 
1463
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1464
  rm -f conftest.$ac_objext
 
1465
  if { { ac_try="$ac_compile"
 
1466
case "(($ac_try" in
 
1467
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1468
  *) ac_try_echo=$ac_try;;
 
1469
esac
 
1470
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1471
$as_echo "$ac_try_echo"; } >&5
 
1472
  (eval "$ac_compile") 2>conftest.err
 
1473
  ac_status=$?
 
1474
  if test -s conftest.err; then
 
1475
    grep -v '^ *+' conftest.err >conftest.er1
 
1476
    cat conftest.er1 >&5
 
1477
    mv -f conftest.er1 conftest.err
 
1478
  fi
 
1479
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1480
  test $ac_status = 0; } && {
 
1481
         test -z "$ac_cxx_werror_flag" ||
 
1482
         test ! -s conftest.err
 
1483
       } && test -s conftest.$ac_objext; then :
 
1484
  ac_retval=0
 
1485
else
 
1486
  $as_echo "$as_me: failed program was:" >&5
 
1487
sed 's/^/| /' conftest.$ac_ext >&5
 
1488
 
 
1489
        ac_retval=1
 
1490
fi
 
1491
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1492
  as_fn_set_status $ac_retval
 
1493
 
 
1494
} # ac_fn_cxx_try_compile
 
1495
 
 
1496
# ac_fn_cxx_try_link LINENO
 
1497
# -------------------------
 
1498
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1499
ac_fn_cxx_try_link ()
 
1500
{
 
1501
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1502
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1503
  if { { ac_try="$ac_link"
 
1504
case "(($ac_try" in
 
1505
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1506
  *) ac_try_echo=$ac_try;;
 
1507
esac
 
1508
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1509
$as_echo "$ac_try_echo"; } >&5
 
1510
  (eval "$ac_link") 2>conftest.err
 
1511
  ac_status=$?
 
1512
  if test -s conftest.err; then
 
1513
    grep -v '^ *+' conftest.err >conftest.er1
 
1514
    cat conftest.er1 >&5
 
1515
    mv -f conftest.er1 conftest.err
 
1516
  fi
 
1517
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1518
  test $ac_status = 0; } && {
 
1519
         test -z "$ac_cxx_werror_flag" ||
 
1520
         test ! -s conftest.err
 
1521
       } && test -s conftest$ac_exeext && {
 
1522
         test "$cross_compiling" = yes ||
 
1523
         test -x conftest$ac_exeext
 
1524
       }; then :
 
1525
  ac_retval=0
 
1526
else
 
1527
  $as_echo "$as_me: failed program was:" >&5
 
1528
sed 's/^/| /' conftest.$ac_ext >&5
 
1529
 
 
1530
        ac_retval=1
 
1531
fi
 
1532
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1533
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1534
  # interfere with the next link command; also delete a directory that is
 
1535
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1536
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1537
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1538
  as_fn_set_status $ac_retval
 
1539
 
 
1540
} # ac_fn_cxx_try_link
 
1541
 
 
1542
# ac_fn_c_try_compile LINENO
 
1543
# --------------------------
 
1544
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1545
ac_fn_c_try_compile ()
 
1546
{
 
1547
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1548
  rm -f conftest.$ac_objext
 
1549
  if { { ac_try="$ac_compile"
 
1550
case "(($ac_try" in
 
1551
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1552
  *) ac_try_echo=$ac_try;;
 
1553
esac
 
1554
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1555
$as_echo "$ac_try_echo"; } >&5
 
1556
  (eval "$ac_compile") 2>conftest.err
 
1557
  ac_status=$?
 
1558
  if test -s conftest.err; then
 
1559
    grep -v '^ *+' conftest.err >conftest.er1
 
1560
    cat conftest.er1 >&5
 
1561
    mv -f conftest.er1 conftest.err
 
1562
  fi
 
1563
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1564
  test $ac_status = 0; } && {
 
1565
         test -z "$ac_c_werror_flag" ||
 
1566
         test ! -s conftest.err
 
1567
       } && test -s conftest.$ac_objext; then :
 
1568
  ac_retval=0
 
1569
else
 
1570
  $as_echo "$as_me: failed program was:" >&5
 
1571
sed 's/^/| /' conftest.$ac_ext >&5
 
1572
 
 
1573
        ac_retval=1
 
1574
fi
 
1575
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1576
  as_fn_set_status $ac_retval
 
1577
 
 
1578
} # ac_fn_c_try_compile
 
1579
 
 
1580
# ac_fn_cxx_try_cpp LINENO
 
1581
# ------------------------
 
1582
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1583
ac_fn_cxx_try_cpp ()
 
1584
{
 
1585
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1586
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1587
case "(($ac_try" in
 
1588
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1589
  *) ac_try_echo=$ac_try;;
 
1590
esac
 
1591
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1592
$as_echo "$ac_try_echo"; } >&5
 
1593
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1594
  ac_status=$?
 
1595
  if test -s conftest.err; then
 
1596
    grep -v '^ *+' conftest.err >conftest.er1
 
1597
    cat conftest.er1 >&5
 
1598
    mv -f conftest.er1 conftest.err
 
1599
  fi
 
1600
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1601
  test $ac_status = 0; } > conftest.i && {
 
1602
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
1603
         test ! -s conftest.err
 
1604
       }; then :
 
1605
  ac_retval=0
 
1606
else
 
1607
  $as_echo "$as_me: failed program was:" >&5
 
1608
sed 's/^/| /' conftest.$ac_ext >&5
 
1609
 
 
1610
    ac_retval=1
 
1611
fi
 
1612
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1613
  as_fn_set_status $ac_retval
 
1614
 
 
1615
} # ac_fn_cxx_try_cpp
 
1616
 
 
1617
# ac_fn_cxx_try_run LINENO
 
1618
# ------------------------
 
1619
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1620
# that executables *can* be run.
 
1621
ac_fn_cxx_try_run ()
 
1622
{
 
1623
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1624
  if { { ac_try="$ac_link"
 
1625
case "(($ac_try" in
 
1626
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1627
  *) ac_try_echo=$ac_try;;
 
1628
esac
 
1629
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1630
$as_echo "$ac_try_echo"; } >&5
 
1631
  (eval "$ac_link") 2>&5
 
1632
  ac_status=$?
 
1633
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1634
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1635
  { { case "(($ac_try" in
 
1636
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1637
  *) ac_try_echo=$ac_try;;
 
1638
esac
 
1639
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1640
$as_echo "$ac_try_echo"; } >&5
 
1641
  (eval "$ac_try") 2>&5
 
1642
  ac_status=$?
 
1643
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1644
  test $ac_status = 0; }; }; then :
 
1645
  ac_retval=0
 
1646
else
 
1647
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1648
       $as_echo "$as_me: failed program was:" >&5
 
1649
sed 's/^/| /' conftest.$ac_ext >&5
 
1650
 
 
1651
       ac_retval=$ac_status
 
1652
fi
 
1653
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1654
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1655
  as_fn_set_status $ac_retval
 
1656
 
 
1657
} # ac_fn_cxx_try_run
 
1658
 
 
1659
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1660
# ---------------------------------------------------------
 
1661
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1662
# the include files in INCLUDES and setting the cache variable VAR
 
1663
# accordingly.
 
1664
ac_fn_cxx_check_header_mongrel ()
 
1665
{
 
1666
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1667
  if eval \${$3+:} false; then :
 
1668
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1669
$as_echo_n "checking for $2... " >&6; }
 
1670
if eval \${$3+:} false; then :
 
1671
  $as_echo_n "(cached) " >&6
 
1672
fi
 
1673
eval ac_res=\$$3
 
1674
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1675
$as_echo "$ac_res" >&6; }
 
1676
else
 
1677
  # Is the header compilable?
 
1678
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1679
$as_echo_n "checking $2 usability... " >&6; }
 
1680
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1681
/* end confdefs.h.  */
 
1682
$4
 
1683
#include <$2>
 
1684
_ACEOF
 
1685
if ac_fn_cxx_try_compile "$LINENO"; then :
 
1686
  ac_header_compiler=yes
 
1687
else
 
1688
  ac_header_compiler=no
 
1689
fi
 
1690
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1691
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1692
$as_echo "$ac_header_compiler" >&6; }
 
1693
 
 
1694
# Is the header present?
 
1695
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1696
$as_echo_n "checking $2 presence... " >&6; }
 
1697
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1698
/* end confdefs.h.  */
 
1699
#include <$2>
 
1700
_ACEOF
 
1701
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
1702
  ac_header_preproc=yes
 
1703
else
 
1704
  ac_header_preproc=no
 
1705
fi
 
1706
rm -f conftest.err conftest.i conftest.$ac_ext
 
1707
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1708
$as_echo "$ac_header_preproc" >&6; }
 
1709
 
 
1710
# So?  What about this header?
 
1711
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
 
1712
  yes:no: )
 
1713
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1714
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1715
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1716
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1717
    ;;
 
1718
  no:yes:* )
 
1719
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1720
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1721
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1722
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1723
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1724
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1725
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1726
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1727
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1728
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1729
    ;;
 
1730
esac
 
1731
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1732
$as_echo_n "checking for $2... " >&6; }
 
1733
if eval \${$3+:} false; then :
 
1734
  $as_echo_n "(cached) " >&6
 
1735
else
 
1736
  eval "$3=\$ac_header_compiler"
 
1737
fi
 
1738
eval ac_res=\$$3
 
1739
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1740
$as_echo "$ac_res" >&6; }
 
1741
fi
 
1742
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1743
 
 
1744
} # ac_fn_cxx_check_header_mongrel
 
1745
 
 
1746
# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
 
1747
# ---------------------------------------------------------
 
1748
# Tests whether HEADER exists and can be compiled using the include files in
 
1749
# INCLUDES, setting the cache variable VAR accordingly.
 
1750
ac_fn_cxx_check_header_compile ()
 
1751
{
 
1752
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1753
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1754
$as_echo_n "checking for $2... " >&6; }
 
1755
if eval \${$3+:} false; then :
 
1756
  $as_echo_n "(cached) " >&6
 
1757
else
 
1758
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1759
/* end confdefs.h.  */
 
1760
$4
 
1761
#include <$2>
 
1762
_ACEOF
 
1763
if ac_fn_cxx_try_compile "$LINENO"; then :
 
1764
  eval "$3=yes"
 
1765
else
 
1766
  eval "$3=no"
 
1767
fi
 
1768
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1769
fi
 
1770
eval ac_res=\$$3
 
1771
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1772
$as_echo "$ac_res" >&6; }
 
1773
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1774
 
 
1775
} # ac_fn_cxx_check_header_compile
 
1776
cat >config.log <<_ACEOF
917
1777
This file contains any messages produced by compilers while
918
1778
running configure, to aid debugging if configure makes a mistake.
919
1779
 
920
1780
It was created by $as_me, which was
921
 
generated by GNU Autoconf 2.53.  Invocation command line was
 
1781
generated by GNU Autoconf 2.69.  Invocation command line was
922
1782
 
923
1783
  $ $0 $@
924
1784
 
925
1785
_ACEOF
 
1786
exec 5>>config.log
926
1787
{
927
1788
cat <<_ASUNAME
928
1789
## --------- ##
941
1802
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
942
1803
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
943
1804
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
944
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1805
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
945
1806
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
946
1807
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
947
1808
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
953
1814
do
954
1815
  IFS=$as_save_IFS
955
1816
  test -z "$as_dir" && as_dir=.
956
 
  echo "PATH: $as_dir"
957
 
done
 
1817
    $as_echo "PATH: $as_dir"
 
1818
  done
 
1819
IFS=$as_save_IFS
958
1820
 
959
1821
} >&5
960
1822
 
970
1832
 
971
1833
# Keep a trace of the command line.
972
1834
# Strip out --no-create and --no-recursion so they do not pile up.
 
1835
# Strip out --silent because we don't want to record it for future runs.
973
1836
# Also quote any args containing shell meta-characters.
 
1837
# Make two passes to allow for proper duplicate-argument suppression.
974
1838
ac_configure_args=
975
 
ac_sep=
976
 
for ac_arg
 
1839
ac_configure_args0=
 
1840
ac_configure_args1=
 
1841
ac_must_keep_next=false
 
1842
for ac_pass in 1 2
977
1843
do
978
 
  case $ac_arg in
979
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
980
 
  | --no-cr | --no-c | -n ) continue ;;
981
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
982
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
983
 
    continue ;;
984
 
  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
985
 
    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
986
 
  esac
987
 
  case " $ac_configure_args " in
988
 
    *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
989
 
    *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
990
 
       ac_sep=" " ;;
991
 
  esac
992
 
  # Get rid of the leading space.
 
1844
  for ac_arg
 
1845
  do
 
1846
    case $ac_arg in
 
1847
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
1848
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1849
    | -silent | --silent | --silen | --sile | --sil)
 
1850
      continue ;;
 
1851
    *\'*)
 
1852
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1853
    esac
 
1854
    case $ac_pass in
 
1855
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
1856
    2)
 
1857
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
1858
      if test $ac_must_keep_next = true; then
 
1859
        ac_must_keep_next=false # Got value, back to normal.
 
1860
      else
 
1861
        case $ac_arg in
 
1862
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1863
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1864
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1865
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1866
            case "$ac_configure_args0 " in
 
1867
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1868
            esac
 
1869
            ;;
 
1870
          -* ) ac_must_keep_next=true ;;
 
1871
        esac
 
1872
      fi
 
1873
      as_fn_append ac_configure_args " '$ac_arg'"
 
1874
      ;;
 
1875
    esac
 
1876
  done
993
1877
done
 
1878
{ ac_configure_args0=; unset ac_configure_args0;}
 
1879
{ ac_configure_args1=; unset ac_configure_args1;}
994
1880
 
995
1881
# When interrupted or exit'd, cleanup temporary files, and complete
996
1882
# config.log.  We remove comments because anyway the quotes in there
997
1883
# would cause problems or look ugly.
998
 
# WARNING: Be sure not to use single quotes in there, as some shells,
999
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1884
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1885
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1000
1886
trap 'exit_status=$?
1001
1887
  # Save into config.log some information that might help in debugging.
1002
1888
  {
1003
1889
    echo
1004
 
    cat <<\_ASBOX
1005
 
## ---------------- ##
 
1890
 
 
1891
    $as_echo "## ---------------- ##
1006
1892
## Cache variables. ##
1007
 
## ---------------- ##
1008
 
_ASBOX
 
1893
## ---------------- ##"
1009
1894
    echo
1010
1895
    # The following way of writing the cache mishandles newlines in values,
1011
 
{
 
1896
(
 
1897
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1898
    eval ac_val=\$$ac_var
 
1899
    case $ac_val in #(
 
1900
    *${as_nl}*)
 
1901
      case $ac_var in #(
 
1902
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
1903
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
1904
      esac
 
1905
      case $ac_var in #(
 
1906
      _ | IFS | as_nl) ;; #(
 
1907
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
1908
      *) { eval $ac_var=; unset $ac_var;} ;;
 
1909
      esac ;;
 
1910
    esac
 
1911
  done
1012
1912
  (set) 2>&1 |
1013
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1014
 
    *ac_space=\ *)
 
1913
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1914
    *${as_nl}ac_space=\ *)
1015
1915
      sed -n \
1016
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1017
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1018
 
      ;;
 
1916
        "s/'\''/'\''\\\\'\'''\''/g;
 
1917
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1918
      ;; #(
1019
1919
    *)
1020
 
      sed -n \
1021
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1920
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1022
1921
      ;;
1023
 
    esac;
1024
 
}
1025
 
    echo
 
1922
    esac |
 
1923
    sort
 
1924
)
 
1925
    echo
 
1926
 
 
1927
    $as_echo "## ----------------- ##
 
1928
## Output variables. ##
 
1929
## ----------------- ##"
 
1930
    echo
 
1931
    for ac_var in $ac_subst_vars
 
1932
    do
 
1933
      eval ac_val=\$$ac_var
 
1934
      case $ac_val in
 
1935
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1936
      esac
 
1937
      $as_echo "$ac_var='\''$ac_val'\''"
 
1938
    done | sort
 
1939
    echo
 
1940
 
 
1941
    if test -n "$ac_subst_files"; then
 
1942
      $as_echo "## ------------------- ##
 
1943
## File substitutions. ##
 
1944
## ------------------- ##"
 
1945
      echo
 
1946
      for ac_var in $ac_subst_files
 
1947
      do
 
1948
        eval ac_val=\$$ac_var
 
1949
        case $ac_val in
 
1950
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1951
        esac
 
1952
        $as_echo "$ac_var='\''$ac_val'\''"
 
1953
      done | sort
 
1954
      echo
 
1955
    fi
 
1956
 
1026
1957
    if test -s confdefs.h; then
1027
 
      cat <<\_ASBOX
1028
 
## ----------- ##
 
1958
      $as_echo "## ----------- ##
1029
1959
## confdefs.h. ##
1030
 
## ----------- ##
1031
 
_ASBOX
 
1960
## ----------- ##"
1032
1961
      echo
1033
 
      sed "/^$/d" confdefs.h
 
1962
      cat confdefs.h
1034
1963
      echo
1035
1964
    fi
1036
1965
    test "$ac_signal" != 0 &&
1037
 
      echo "$as_me: caught signal $ac_signal"
1038
 
    echo "$as_me: exit $exit_status"
 
1966
      $as_echo "$as_me: caught signal $ac_signal"
 
1967
    $as_echo "$as_me: exit $exit_status"
1039
1968
  } >&5
1040
 
  rm -f core core.* *.core &&
1041
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1969
  rm -f core *.core core.conftest.* &&
 
1970
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1042
1971
    exit $exit_status
1043
 
     ' 0
 
1972
' 0
1044
1973
for ac_signal in 1 2 13 15; do
1045
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1974
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1046
1975
done
1047
1976
ac_signal=0
1048
1977
 
1049
1978
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1050
 
rm -rf conftest* confdefs.h
1051
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1052
 
echo >confdefs.h
 
1979
rm -f -r conftest* confdefs.h
 
1980
 
 
1981
$as_echo "/* confdefs.h */" > confdefs.h
1053
1982
 
1054
1983
# Predefined preprocessor variables.
1055
1984
 
1057
1986
#define PACKAGE_NAME "$PACKAGE_NAME"
1058
1987
_ACEOF
1059
1988
 
1060
 
 
1061
1989
cat >>confdefs.h <<_ACEOF
1062
1990
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1063
1991
_ACEOF
1064
1992
 
1065
 
 
1066
1993
cat >>confdefs.h <<_ACEOF
1067
1994
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1068
1995
_ACEOF
1069
1996
 
1070
 
 
1071
1997
cat >>confdefs.h <<_ACEOF
1072
1998
#define PACKAGE_STRING "$PACKAGE_STRING"
1073
1999
_ACEOF
1074
2000
 
1075
 
 
1076
2001
cat >>confdefs.h <<_ACEOF
1077
2002
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1078
2003
_ACEOF
1079
2004
 
 
2005
cat >>confdefs.h <<_ACEOF
 
2006
#define PACKAGE_URL "$PACKAGE_URL"
 
2007
_ACEOF
 
2008
 
1080
2009
 
1081
2010
# Let the site file select an alternate cache file if it wants to.
1082
 
# Prefer explicitly selected file to automatically selected ones.
1083
 
if test -z "$CONFIG_SITE"; then
1084
 
  if test "x$prefix" != xNONE; then
1085
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1086
 
  else
1087
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1088
 
  fi
 
2011
# Prefer an explicitly selected file to automatically selected ones.
 
2012
ac_site_file1=NONE
 
2013
ac_site_file2=NONE
 
2014
if test -n "$CONFIG_SITE"; then
 
2015
  # We do not want a PATH search for config.site.
 
2016
  case $CONFIG_SITE in #((
 
2017
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2018
    */*) ac_site_file1=$CONFIG_SITE;;
 
2019
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2020
  esac
 
2021
elif test "x$prefix" != xNONE; then
 
2022
  ac_site_file1=$prefix/share/config.site
 
2023
  ac_site_file2=$prefix/etc/config.site
 
2024
else
 
2025
  ac_site_file1=$ac_default_prefix/share/config.site
 
2026
  ac_site_file2=$ac_default_prefix/etc/config.site
1089
2027
fi
1090
 
for ac_site_file in $CONFIG_SITE; do
1091
 
  if test -r "$ac_site_file"; then
1092
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1093
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
2028
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2029
do
 
2030
  test "x$ac_site_file" = xNONE && continue
 
2031
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2032
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2033
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1094
2034
    sed 's/^/| /' "$ac_site_file" >&5
1095
 
    . "$ac_site_file"
 
2035
    . "$ac_site_file" \
 
2036
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2037
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2038
as_fn_error $? "failed to load site script $ac_site_file
 
2039
See \`config.log' for more details" "$LINENO" 5; }
1096
2040
  fi
1097
2041
done
1098
2042
 
1099
2043
if test -r "$cache_file"; then
1100
 
  # Some versions of bash will fail to source /dev/null (special
1101
 
  # files actually), so we avoid doing that.
1102
 
  if test -f "$cache_file"; then
1103
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1104
 
echo "$as_me: loading cache $cache_file" >&6;}
 
2044
  # Some versions of bash will fail to source /dev/null (special files
 
2045
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2046
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2047
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2048
$as_echo "$as_me: loading cache $cache_file" >&6;}
1105
2049
    case $cache_file in
1106
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1107
 
      *)                      . ./$cache_file;;
 
2050
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2051
      *)                      . "./$cache_file";;
1108
2052
    esac
1109
2053
  fi
1110
2054
else
1111
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1112
 
echo "$as_me: creating cache $cache_file" >&6;}
 
2055
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2056
$as_echo "$as_me: creating cache $cache_file" >&6;}
1113
2057
  >$cache_file
1114
2058
fi
1115
2059
 
1116
2060
# Check that the precious variables saved in the cache have kept the same
1117
2061
# value.
1118
2062
ac_cache_corrupted=false
1119
 
for ac_var in `(set) 2>&1 |
1120
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
2063
for ac_var in $ac_precious_vars; do
1121
2064
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1122
2065
  eval ac_new_set=\$ac_env_${ac_var}_set
1123
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1124
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
2066
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2067
  eval ac_new_val=\$ac_env_${ac_var}_value
1125
2068
  case $ac_old_set,$ac_new_set in
1126
2069
    set,)
1127
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1128
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2070
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2071
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1129
2072
      ac_cache_corrupted=: ;;
1130
2073
    ,set)
1131
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1132
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2074
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2075
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1133
2076
      ac_cache_corrupted=: ;;
1134
2077
    ,);;
1135
2078
    *)
1136
2079
      if test "x$ac_old_val" != "x$ac_new_val"; then
1137
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1138
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1139
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1140
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1141
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1142
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1143
 
        ac_cache_corrupted=:
 
2080
        # differences in whitespace do not lead to failure.
 
2081
        ac_old_val_w=`echo x $ac_old_val`
 
2082
        ac_new_val_w=`echo x $ac_new_val`
 
2083
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2084
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2085
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2086
          ac_cache_corrupted=:
 
2087
        else
 
2088
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2089
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2090
          eval $ac_var=\$ac_old_val
 
2091
        fi
 
2092
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2093
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2094
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2095
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1144
2096
      fi;;
1145
2097
  esac
1146
2098
  # Pass precious variables to config.status.
1147
2099
  if test "$ac_new_set" = set; then
1148
2100
    case $ac_new_val in
1149
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1150
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2101
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1151
2102
    *) ac_arg=$ac_var=$ac_new_val ;;
1152
2103
    esac
1153
2104
    case " $ac_configure_args " in
1154
2105
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1155
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2106
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1156
2107
    esac
1157
2108
  fi
1158
2109
done
1159
2110
if $ac_cache_corrupted; then
1160
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1161
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1162
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1163
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1164
 
   { (exit 1); exit 1; }; }
 
2111
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2112
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2113
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2114
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2115
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1165
2116
fi
 
2117
## -------------------- ##
 
2118
## Main body of script. ##
 
2119
## -------------------- ##
1166
2120
 
1167
2121
ac_ext=c
1168
2122
ac_cpp='$CPP $CPPFLAGS'
1171
2125
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1172
2126
 
1173
2127
 
1174
 
 
1175
 
 
1176
 
 
1177
 
 
1178
 
 
1179
 
 
1180
 
 
1181
 
 
1182
 
 
1183
 
 
1184
 
 
1185
 
 
1186
 
 
1187
 
 
1188
 
 
1189
 
 
 
2128
am__api_version="1.9"
1190
2129
ac_aux_dir=
1191
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1192
 
  if test -f $ac_dir/install-sh; then
 
2130
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2131
  if test -f "$ac_dir/install-sh"; then
1193
2132
    ac_aux_dir=$ac_dir
1194
2133
    ac_install_sh="$ac_aux_dir/install-sh -c"
1195
2134
    break
1196
 
  elif test -f $ac_dir/install.sh; then
 
2135
  elif test -f "$ac_dir/install.sh"; then
1197
2136
    ac_aux_dir=$ac_dir
1198
2137
    ac_install_sh="$ac_aux_dir/install.sh -c"
1199
2138
    break
1200
 
  elif test -f $ac_dir/shtool; then
 
2139
  elif test -f "$ac_dir/shtool"; then
1201
2140
    ac_aux_dir=$ac_dir
1202
2141
    ac_install_sh="$ac_aux_dir/shtool install -c"
1203
2142
    break
1204
2143
  fi
1205
2144
done
1206
2145
if test -z "$ac_aux_dir"; then
1207
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1208
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1209
 
   { (exit 1); exit 1; }; }
 
2146
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1210
2147
fi
1211
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1212
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1213
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2148
 
 
2149
# These three variables are undocumented and unsupported,
 
2150
# and are intended to be withdrawn in a future Autoconf release.
 
2151
# They can cause serious problems if a builder's source tree is in a directory
 
2152
# whose full name contains unusual characters.
 
2153
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2154
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2155
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2156
 
1214
2157
 
1215
2158
# Find a good install program.  We prefer a C program (faster),
1216
2159
# so one script is as good as another.  But avoid the broken or
1223
2166
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1224
2167
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1225
2168
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2169
# OS/2's system install, which has a completely different semantic
1226
2170
# ./install, which can be erroneously created by make from ./install.sh.
1227
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1228
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2171
# Reject install programs that cannot install multiple files.
 
2172
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2173
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1229
2174
if test -z "$INSTALL"; then
1230
 
if test "${ac_cv_path_install+set}" = set; then
1231
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2175
if ${ac_cv_path_install+:} false; then :
 
2176
  $as_echo_n "(cached) " >&6
1232
2177
else
1233
2178
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1234
2179
for as_dir in $PATH
1235
2180
do
1236
2181
  IFS=$as_save_IFS
1237
2182
  test -z "$as_dir" && as_dir=.
1238
 
  # Account for people who put trailing slashes in PATH elements.
1239
 
case $as_dir/ in
1240
 
  ./ | .// | /cC/* | \
 
2183
    # Account for people who put trailing slashes in PATH elements.
 
2184
case $as_dir/ in #((
 
2185
  ./ | .// | /[cC]/* | \
1241
2186
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2187
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1242
2188
  /usr/ucb/* ) ;;
1243
2189
  *)
1244
2190
    # OSF1 and SCO ODT 3.0 have their own names for install.
1246
2192
    # by default.
1247
2193
    for ac_prog in ginstall scoinst install; do
1248
2194
      for ac_exec_ext in '' $ac_executable_extensions; do
1249
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1250
 
          if test $ac_prog = install &&
1251
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1252
 
            # AIX install.  It has an incompatible calling convention.
1253
 
            :
1254
 
          elif test $ac_prog = install &&
1255
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1256
 
            # program-specific install script used by HP pwplus--don't use.
1257
 
            :
1258
 
          else
1259
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1260
 
            break 3
1261
 
          fi
1262
 
        fi
 
2195
        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2196
          if test $ac_prog = install &&
 
2197
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2198
            # AIX install.  It has an incompatible calling convention.
 
2199
            :
 
2200
          elif test $ac_prog = install &&
 
2201
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2202
            # program-specific install script used by HP pwplus--don't use.
 
2203
            :
 
2204
          else
 
2205
            rm -rf conftest.one conftest.two conftest.dir
 
2206
            echo one > conftest.one
 
2207
            echo two > conftest.two
 
2208
            mkdir conftest.dir
 
2209
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2210
              test -s conftest.one && test -s conftest.two &&
 
2211
              test -s conftest.dir/conftest.one &&
 
2212
              test -s conftest.dir/conftest.two
 
2213
            then
 
2214
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2215
              break 3
 
2216
            fi
 
2217
          fi
 
2218
        fi
1263
2219
      done
1264
2220
    done
1265
2221
    ;;
1266
2222
esac
1267
 
done
1268
 
 
 
2223
 
 
2224
  done
 
2225
IFS=$as_save_IFS
 
2226
 
 
2227
rm -rf conftest.one conftest.two conftest.dir
1269
2228
 
1270
2229
fi
1271
2230
  if test "${ac_cv_path_install+set}" = set; then
1272
2231
    INSTALL=$ac_cv_path_install
1273
2232
  else
1274
 
    # As a last resort, use the slow shell script.  We don't cache a
1275
 
    # path for INSTALL within a source directory, because that will
 
2233
    # As a last resort, use the slow shell script.  Don't cache a
 
2234
    # value for INSTALL within a source directory, because that will
1276
2235
    # break other packages using the cache if that directory is
1277
 
    # removed, or if the path is relative.
 
2236
    # removed, or if the value is a relative name.
1278
2237
    INSTALL=$ac_install_sh
1279
2238
  fi
1280
2239
fi
1281
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1282
 
echo "${ECHO_T}$INSTALL" >&6
 
2240
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2241
$as_echo "$INSTALL" >&6; }
1283
2242
 
1284
2243
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1285
2244
# It thinks the first close brace ends the variable substitution.
1289
2248
 
1290
2249
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1291
2250
 
1292
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1293
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2252
$as_echo_n "checking whether build environment is sane... " >&6; }
1294
2253
# Just in case
1295
2254
sleep 1
1296
2255
echo timestamp > conftest.file
1313
2272
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1314
2273
      # broken ls alias from the environment.  This has actually
1315
2274
      # happened.  Such a system could not be considered "sane".
1316
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1317
 
alias in your environment" >&5
1318
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1319
 
alias in your environment" >&2;}
1320
 
   { (exit 1); exit 1; }; }
 
2275
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2276
alias in your environment" "$LINENO" 5
1321
2277
   fi
1322
2278
 
1323
2279
   test "$2" = conftest.file
1326
2282
   # Ok.
1327
2283
   :
1328
2284
else
1329
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1330
 
Check your system clock" >&5
1331
 
echo "$as_me: error: newly created file is older than distributed files!
1332
 
Check your system clock" >&2;}
1333
 
   { (exit 1); exit 1; }; }
 
2285
   as_fn_error $? "newly created file is older than distributed files!
 
2286
Check your system clock" "$LINENO" 5
1334
2287
fi
1335
 
echo "$as_me:$LINENO: result: yes" >&5
1336
 
echo "${ECHO_T}yes" >&6
 
2288
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2289
$as_echo "yes" >&6; }
1337
2290
test "$program_prefix" != NONE &&
1338
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2291
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1339
2292
# Use a double $ so make ignores it.
1340
2293
test "$program_suffix" != NONE &&
1341
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1342
 
# Double any \ or $.  echo might interpret backslashes.
 
2294
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2295
# Double any \ or $.
1343
2296
# By default was `s,x,x', remove it if useless.
1344
 
cat <<\_ACEOF >conftest.sed
1345
 
s/[\\$]/&&/g;s/;s,x,x,$//
1346
 
_ACEOF
1347
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1348
 
rm conftest.sed
1349
 
 
 
2297
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2298
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1350
2299
 
1351
2300
# expand $ac_aux_dir to an absolute path
1352
 
am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
 
2301
am_aux_dir=`cd $ac_aux_dir && pwd`
1353
2302
 
1354
2303
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1355
2304
# Use eval to expand $SHELL
1357
2306
  am_missing_run="$MISSING --run "
1358
2307
else
1359
2308
  am_missing_run=
1360
 
  am_backtick='`'
1361
 
  { echo "$as_me:$LINENO: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1362
 
echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
 
2309
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2310
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2311
fi
 
2312
 
 
2313
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
2314
  # We used to keeping the `.' as first argument, in order to
 
2315
  # allow $(mkdir_p) to be used without argument.  As in
 
2316
  #   $(mkdir_p) $(somedir)
 
2317
  # where $(somedir) is conditionally defined.  However this is wrong
 
2318
  # for two reasons:
 
2319
  #  1. if the package is installed by a user who cannot write `.'
 
2320
  #     make install will fail,
 
2321
  #  2. the above comment should most certainly read
 
2322
  #     $(mkdir_p) $(DESTDIR)$(somedir)
 
2323
  #     so it does not work when $(somedir) is undefined and
 
2324
  #     $(DESTDIR) is not.
 
2325
  #  To support the latter case, we have to write
 
2326
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 
2327
  #  so the `.' trick is pointless.
 
2328
  mkdir_p='mkdir -p --'
 
2329
else
 
2330
  # On NextStep and OpenStep, the `mkdir' command does not
 
2331
  # recognize any option.  It will interpret all options as
 
2332
  # directories to create, and then abort because `.' already
 
2333
  # exists.
 
2334
  for d in ./-p ./--version;
 
2335
  do
 
2336
    test -d $d && rmdir $d
 
2337
  done
 
2338
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
2339
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
2340
    mkdir_p='$(mkinstalldirs)'
 
2341
  else
 
2342
    mkdir_p='$(install_sh) -d'
 
2343
  fi
1363
2344
fi
1364
2345
 
1365
2346
for ac_prog in gawk mawk nawk awk
1366
2347
do
1367
2348
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1368
2349
set dummy $ac_prog; ac_word=$2
1369
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1370
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1371
 
if test "${ac_cv_prog_AWK+set}" = set; then
1372
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2350
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2351
$as_echo_n "checking for $ac_word... " >&6; }
 
2352
if ${ac_cv_prog_AWK+:} false; then :
 
2353
  $as_echo_n "(cached) " >&6
1373
2354
else
1374
2355
  if test -n "$AWK"; then
1375
2356
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1379
2360
do
1380
2361
  IFS=$as_save_IFS
1381
2362
  test -z "$as_dir" && as_dir=.
1382
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1383
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2363
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2364
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1384
2365
    ac_cv_prog_AWK="$ac_prog"
1385
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2366
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1386
2367
    break 2
1387
2368
  fi
1388
2369
done
1389
 
done
 
2370
  done
 
2371
IFS=$as_save_IFS
1390
2372
 
1391
2373
fi
1392
2374
fi
1393
2375
AWK=$ac_cv_prog_AWK
1394
2376
if test -n "$AWK"; then
1395
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1396
 
echo "${ECHO_T}$AWK" >&6
 
2377
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2378
$as_echo "$AWK" >&6; }
1397
2379
else
1398
 
  echo "$as_me:$LINENO: result: no" >&5
1399
 
echo "${ECHO_T}no" >&6
 
2380
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2381
$as_echo "no" >&6; }
1400
2382
fi
1401
2383
 
 
2384
 
1402
2385
  test -n "$AWK" && break
1403
2386
done
1404
2387
 
1405
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1406
 
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1407
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1408
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1409
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2389
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2390
set x ${MAKE-make}
 
2391
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2392
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
2393
  $as_echo_n "(cached) " >&6
1410
2394
else
1411
2395
  cat >conftest.make <<\_ACEOF
 
2396
SHELL = /bin/sh
1412
2397
all:
1413
 
        @echo 'ac_maketemp="${MAKE}"'
 
2398
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1414
2399
_ACEOF
1415
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1416
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1417
 
if test -n "$ac_maketemp"; then
1418
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1419
 
else
1420
 
  eval ac_cv_prog_make_${ac_make}_set=no
1421
 
fi
 
2400
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
2401
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2402
  *@@@%%%=?*=@@@%%%*)
 
2403
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2404
  *)
 
2405
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2406
esac
1422
2407
rm -f conftest.make
1423
2408
fi
1424
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1425
 
  echo "$as_me:$LINENO: result: yes" >&5
1426
 
echo "${ECHO_T}yes" >&6
 
2409
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2410
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2411
$as_echo "yes" >&6; }
1427
2412
  SET_MAKE=
1428
2413
else
1429
 
  echo "$as_me:$LINENO: result: no" >&5
1430
 
echo "${ECHO_T}no" >&6
 
2414
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2415
$as_echo "no" >&6; }
1431
2416
  SET_MAKE="MAKE=${MAKE-make}"
1432
2417
fi
1433
2418
 
1434
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1435
 
if test "${enable_dependency_tracking+set}" = set; then
1436
 
  enableval="$enable_dependency_tracking"
1437
 
 
1438
 
fi;
1439
 
if test "x$enable_dependency_tracking" != xno; then
1440
 
  am_depcomp="$ac_aux_dir/depcomp"
1441
 
  AMDEPBACKSLASH='\'
1442
 
fi
1443
 
 
1444
 
 
1445
 
if test "x$enable_dependency_tracking" != xno; then
1446
 
  AMDEP_TRUE=
1447
 
  AMDEP_FALSE='#'
1448
 
else
1449
 
  AMDEP_TRUE='#'
1450
 
  AMDEP_FALSE=
1451
 
fi
1452
 
 
1453
 
 
1454
 
 
1455
 
 
1456
 
rm -f .deps 2>/dev/null
1457
 
mkdir .deps 2>/dev/null
1458
 
if test -d .deps; then
1459
 
  DEPDIR=.deps
1460
 
else
1461
 
  # MS-DOS does not allow filenames that begin with a dot.
1462
 
  DEPDIR=_deps
1463
 
fi
1464
 
rmdir .deps 2>/dev/null
1465
 
 
 
2419
rm -rf .tst 2>/dev/null
 
2420
mkdir .tst 2>/dev/null
 
2421
if test -d .tst; then
 
2422
  am__leading_dot=.
 
2423
else
 
2424
  am__leading_dot=_
 
2425
fi
 
2426
rmdir .tst 2>/dev/null
1466
2427
 
1467
2428
# test to see if srcdir already configured
1468
 
if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
 
2429
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1469
2430
   test -f $srcdir/config.status; then
1470
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1471
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1472
 
   { (exit 1); exit 1; }; }
1473
 
fi
 
2431
  as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2432
fi
 
2433
 
 
2434
# test whether we have cygpath
 
2435
if test -z "$CYGPATH_W"; then
 
2436
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
2437
    CYGPATH_W='cygpath -w'
 
2438
  else
 
2439
    CYGPATH_W=echo
 
2440
  fi
 
2441
fi
 
2442
 
1474
2443
 
1475
2444
# Define the identity of the package.
1476
 
PACKAGE=monopd
1477
 
VERSION=0.9.3
 
2445
 PACKAGE=monopd
 
2446
 VERSION=0.9.5
 
2447
 
1478
2448
 
1479
2449
cat >>confdefs.h <<_ACEOF
1480
2450
#define PACKAGE "$PACKAGE"
1485
2455
#define VERSION "$VERSION"
1486
2456
_ACEOF
1487
2457
 
1488
 
 
1489
 
# Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
1490
 
# the ones we care about.
1491
 
 
1492
 
# Autoconf 2.50 always computes EXEEXT.  However we need to be
1493
 
# compatible with 2.13, for now.  So we always define EXEEXT, but we
1494
 
# don't compute it.
1495
 
 
1496
 
# Similar for OBJEXT -- only we only use OBJEXT if the user actually
1497
 
# requests that it be used.  This is a bit dumb.
1498
 
: ${OBJEXT=o}
1499
 
 
1500
 
 
1501
2458
# Some tools Automake needs.
1502
2459
 
1503
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
 
2460
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1504
2461
 
1505
2462
 
1506
2463
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1507
2464
 
1508
2465
 
1509
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
 
2466
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1510
2467
 
1511
2468
 
1512
2469
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1514
2471
 
1515
2472
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1516
2473
 
1517
 
 
1518
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
1519
 
 
1520
2474
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1521
2475
 
 
2476
# Installed binaries are usually stripped using `strip' when the user
 
2477
# run `make install-strip'.  However `strip' might not be the right
 
2478
# tool to use in cross-compilation environments, therefore Automake
 
2479
# will honor the `STRIP' environment variable to overrule this program.
 
2480
if test "$cross_compiling" != no; then
 
2481
  if test -n "$ac_tool_prefix"; then
 
2482
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2483
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2484
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2485
$as_echo_n "checking for $ac_word... " >&6; }
 
2486
if ${ac_cv_prog_STRIP+:} false; then :
 
2487
  $as_echo_n "(cached) " >&6
 
2488
else
 
2489
  if test -n "$STRIP"; then
 
2490
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2491
else
 
2492
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2493
for as_dir in $PATH
 
2494
do
 
2495
  IFS=$as_save_IFS
 
2496
  test -z "$as_dir" && as_dir=.
 
2497
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2498
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2499
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2500
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2501
    break 2
 
2502
  fi
 
2503
done
 
2504
  done
 
2505
IFS=$as_save_IFS
 
2506
 
 
2507
fi
 
2508
fi
 
2509
STRIP=$ac_cv_prog_STRIP
 
2510
if test -n "$STRIP"; then
 
2511
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2512
$as_echo "$STRIP" >&6; }
 
2513
else
 
2514
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2515
$as_echo "no" >&6; }
 
2516
fi
 
2517
 
 
2518
 
 
2519
fi
 
2520
if test -z "$ac_cv_prog_STRIP"; then
 
2521
  ac_ct_STRIP=$STRIP
 
2522
  # Extract the first word of "strip", so it can be a program name with args.
 
2523
set dummy strip; ac_word=$2
 
2524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2525
$as_echo_n "checking for $ac_word... " >&6; }
 
2526
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
2527
  $as_echo_n "(cached) " >&6
 
2528
else
 
2529
  if test -n "$ac_ct_STRIP"; then
 
2530
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2531
else
 
2532
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2533
for as_dir in $PATH
 
2534
do
 
2535
  IFS=$as_save_IFS
 
2536
  test -z "$as_dir" && as_dir=.
 
2537
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2538
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2539
    ac_cv_prog_ac_ct_STRIP="strip"
 
2540
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2541
    break 2
 
2542
  fi
 
2543
done
 
2544
  done
 
2545
IFS=$as_save_IFS
 
2546
 
 
2547
fi
 
2548
fi
 
2549
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2550
if test -n "$ac_ct_STRIP"; then
 
2551
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2552
$as_echo "$ac_ct_STRIP" >&6; }
 
2553
else
 
2554
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2555
$as_echo "no" >&6; }
 
2556
fi
 
2557
 
 
2558
  if test "x$ac_ct_STRIP" = x; then
 
2559
    STRIP=":"
 
2560
  else
 
2561
    case $cross_compiling:$ac_tool_warned in
 
2562
yes:)
 
2563
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2564
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2565
ac_tool_warned=yes ;;
 
2566
esac
 
2567
    STRIP=$ac_ct_STRIP
 
2568
  fi
 
2569
else
 
2570
  STRIP="$ac_cv_prog_STRIP"
 
2571
fi
 
2572
 
 
2573
fi
1522
2574
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1523
2575
 
1524
2576
# We need awk for the "check" target.  The system "awk" is bad on
1525
2577
# some platforms.
1526
 
 
1527
 
 
1528
 
 
1529
 
 
1530
 
                                                    ac_config_headers="$ac_config_headers config.h"
1531
 
 
1532
 
ac_ext=cc
 
2578
# Always define AMTAR for backward compatibility.
 
2579
 
 
2580
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2581
 
 
2582
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2583
 
 
2584
 
 
2585
 
 
2586
 
 
2587
 
 
2588
ac_config_headers="$ac_config_headers config.h"
 
2589
 
 
2590
ac_ext=cpp
1533
2591
ac_cpp='$CXXCPP $CPPFLAGS'
1534
2592
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1535
2593
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1537
2595
 
1538
2596
 
1539
2597
# Checks for programs.
1540
 
ac_ext=cc
1541
 
ac_cpp='$CXXCPP $CPPFLAGS'
1542
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1543
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1544
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1545
 
if test -n "$ac_tool_prefix"; then
1546
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1547
 
  do
1548
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1549
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1550
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1551
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1552
 
if test "${ac_cv_prog_CXX+set}" = set; then
1553
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1554
 
else
1555
 
  if test -n "$CXX"; then
1556
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
1557
 
else
1558
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1559
 
for as_dir in $PATH
1560
 
do
1561
 
  IFS=$as_save_IFS
1562
 
  test -z "$as_dir" && as_dir=.
1563
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1564
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1565
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1566
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1567
 
    break 2
1568
 
  fi
1569
 
done
1570
 
done
1571
 
 
1572
 
fi
1573
 
fi
1574
 
CXX=$ac_cv_prog_CXX
1575
 
if test -n "$CXX"; then
1576
 
  echo "$as_me:$LINENO: result: $CXX" >&5
1577
 
echo "${ECHO_T}$CXX" >&6
1578
 
else
1579
 
  echo "$as_me:$LINENO: result: no" >&5
1580
 
echo "${ECHO_T}no" >&6
1581
 
fi
1582
 
 
1583
 
    test -n "$CXX" && break
1584
 
  done
1585
 
fi
1586
 
if test -z "$CXX"; then
1587
 
  ac_ct_CXX=$CXX
1588
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1589
 
do
1590
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1591
 
set dummy $ac_prog; ac_word=$2
1592
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1593
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1594
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1595
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1596
 
else
1597
 
  if test -n "$ac_ct_CXX"; then
1598
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1599
 
else
1600
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1601
 
for as_dir in $PATH
1602
 
do
1603
 
  IFS=$as_save_IFS
1604
 
  test -z "$as_dir" && as_dir=.
1605
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1606
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1607
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
1608
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1609
 
    break 2
1610
 
  fi
1611
 
done
1612
 
done
1613
 
 
1614
 
fi
1615
 
fi
1616
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1617
 
if test -n "$ac_ct_CXX"; then
1618
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1619
 
echo "${ECHO_T}$ac_ct_CXX" >&6
1620
 
else
1621
 
  echo "$as_me:$LINENO: result: no" >&5
1622
 
echo "${ECHO_T}no" >&6
1623
 
fi
1624
 
 
1625
 
  test -n "$ac_ct_CXX" && break
1626
 
done
1627
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1628
 
 
1629
 
  CXX=$ac_ct_CXX
1630
 
fi
1631
 
 
1632
 
 
1633
 
# Provide some information about the compiler.
1634
 
echo "$as_me:$LINENO:" \
1635
 
     "checking for C++ compiler version" >&5
1636
 
ac_compiler=`set X $ac_compile; echo $2`
1637
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1638
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
1639
 
  ac_status=$?
1640
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1641
 
  (exit $ac_status); }
1642
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1643
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
1644
 
  ac_status=$?
1645
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1646
 
  (exit $ac_status); }
1647
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1648
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
1649
 
  ac_status=$?
1650
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1651
 
  (exit $ac_status); }
1652
 
 
1653
 
cat >conftest.$ac_ext <<_ACEOF
1654
 
#line $LINENO "configure"
1655
 
#include "confdefs.h"
1656
 
 
1657
 
#ifdef F77_DUMMY_MAIN
1658
 
#  ifdef __cplusplus
1659
 
     extern "C"
1660
 
#  endif
1661
 
   int F77_DUMMY_MAIN() { return 1; }
1662
 
#endif
1663
 
int
1664
 
main ()
1665
 
{
1666
 
 
1667
 
  ;
1668
 
  return 0;
1669
 
}
1670
 
_ACEOF
1671
 
ac_clean_files_save=$ac_clean_files
1672
 
ac_clean_files="$ac_clean_files a.out a.exe"
1673
 
# Try to create an executable without -o first, disregard a.out.
1674
 
# It will help us diagnose broken compilers, and finding out an intuition
1675
 
# of exeext.
1676
 
echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
1677
 
echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
1678
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1679
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1680
 
  (eval $ac_link_default) 2>&5
1681
 
  ac_status=$?
1682
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1683
 
  (exit $ac_status); }; then
1684
 
  # Find the output, starting from the most likely.  This scheme is
1685
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1686
 
# resort.
1687
 
 
1688
 
# Be careful to initialize this variable, since it used to be cached.
1689
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1690
 
ac_cv_exeext=
1691
 
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1692
 
                ls a.out conftest 2>/dev/null;
1693
 
                ls a.* conftest.* 2>/dev/null`; do
1694
 
  case $ac_file in
1695
 
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1696
 
    a.out ) # We found the default executable, but exeext='' is most
1697
 
            # certainly right.
1698
 
            break;;
1699
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1700
 
          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1701
 
          export ac_cv_exeext
1702
 
          break;;
1703
 
    * ) break;;
1704
 
  esac
1705
 
done
1706
 
else
1707
 
  echo "$as_me: failed program was:" >&5
1708
 
cat conftest.$ac_ext >&5
1709
 
{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables" >&5
1710
 
echo "$as_me: error: C++ compiler cannot create executables" >&2;}
1711
 
   { (exit 77); exit 77; }; }
1712
 
fi
1713
 
 
1714
 
ac_exeext=$ac_cv_exeext
1715
 
echo "$as_me:$LINENO: result: $ac_file" >&5
1716
 
echo "${ECHO_T}$ac_file" >&6
1717
 
 
1718
 
# Check the compiler produces executables we can run.  If not, either
1719
 
# the compiler is broken, or we cross compile.
1720
 
echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1721
 
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1722
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1723
 
# If not cross compiling, check that we can run a simple program.
1724
 
if test "$cross_compiling" != yes; then
1725
 
  if { ac_try='./$ac_file'
1726
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1727
 
  (eval $ac_try) 2>&5
1728
 
  ac_status=$?
1729
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1730
 
  (exit $ac_status); }; }; then
1731
 
    cross_compiling=no
1732
 
  else
1733
 
    if test "$cross_compiling" = maybe; then
1734
 
        cross_compiling=yes
1735
 
    else
1736
 
        { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1737
 
If you meant to cross compile, use \`--host'." >&5
1738
 
echo "$as_me: error: cannot run C++ compiled programs.
1739
 
If you meant to cross compile, use \`--host'." >&2;}
1740
 
   { (exit 1); exit 1; }; }
1741
 
    fi
1742
 
  fi
1743
 
fi
1744
 
echo "$as_me:$LINENO: result: yes" >&5
1745
 
echo "${ECHO_T}yes" >&6
1746
 
 
1747
 
rm -f a.out a.exe conftest$ac_cv_exeext
1748
 
ac_clean_files=$ac_clean_files_save
1749
 
# Check the compiler produces executables we can run.  If not, either
1750
 
# the compiler is broken, or we cross compile.
1751
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1752
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1753
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
1754
 
echo "${ECHO_T}$cross_compiling" >&6
1755
 
 
1756
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
1757
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1758
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1759
 
  (eval $ac_link) 2>&5
1760
 
  ac_status=$?
1761
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1762
 
  (exit $ac_status); }; then
1763
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
1764
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1765
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
1766
 
# `rm'.
1767
 
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1768
 
  case $ac_file in
1769
 
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1770
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1771
 
          export ac_cv_exeext
1772
 
          break;;
1773
 
    * ) break;;
1774
 
  esac
1775
 
done
1776
 
else
1777
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1778
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1779
 
   { (exit 1); exit 1; }; }
1780
 
fi
1781
 
 
1782
 
rm -f conftest$ac_cv_exeext
1783
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1784
 
echo "${ECHO_T}$ac_cv_exeext" >&6
1785
 
 
1786
 
rm -f conftest.$ac_ext
1787
 
EXEEXT=$ac_cv_exeext
1788
 
ac_exeext=$EXEEXT
1789
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
1790
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1791
 
if test "${ac_cv_objext+set}" = set; then
1792
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1793
 
else
1794
 
  cat >conftest.$ac_ext <<_ACEOF
1795
 
#line $LINENO "configure"
1796
 
#include "confdefs.h"
1797
 
 
1798
 
#ifdef F77_DUMMY_MAIN
1799
 
#  ifdef __cplusplus
1800
 
     extern "C"
1801
 
#  endif
1802
 
   int F77_DUMMY_MAIN() { return 1; }
1803
 
#endif
1804
 
int
1805
 
main ()
1806
 
{
1807
 
 
1808
 
  ;
1809
 
  return 0;
1810
 
}
1811
 
_ACEOF
1812
 
rm -f conftest.o conftest.obj
1813
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1814
 
  (eval $ac_compile) 2>&5
1815
 
  ac_status=$?
1816
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1817
 
  (exit $ac_status); }; then
1818
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1819
 
  case $ac_file in
1820
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1821
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1822
 
       break;;
1823
 
  esac
1824
 
done
1825
 
else
1826
 
  echo "$as_me: failed program was:" >&5
1827
 
cat conftest.$ac_ext >&5
1828
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1829
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1830
 
   { (exit 1); exit 1; }; }
1831
 
fi
1832
 
 
1833
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
1834
 
fi
1835
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1836
 
echo "${ECHO_T}$ac_cv_objext" >&6
1837
 
OBJEXT=$ac_cv_objext
1838
 
ac_objext=$OBJEXT
1839
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1840
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1841
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1842
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1843
 
else
1844
 
  cat >conftest.$ac_ext <<_ACEOF
1845
 
#line $LINENO "configure"
1846
 
#include "confdefs.h"
1847
 
 
1848
 
#ifdef F77_DUMMY_MAIN
1849
 
#  ifdef __cplusplus
1850
 
     extern "C"
1851
 
#  endif
1852
 
   int F77_DUMMY_MAIN() { return 1; }
1853
 
#endif
1854
 
int
1855
 
main ()
1856
 
{
1857
 
#ifndef __GNUC__
1858
 
       choke me
1859
 
#endif
1860
 
 
1861
 
  ;
1862
 
  return 0;
1863
 
}
1864
 
_ACEOF
1865
 
rm -f conftest.$ac_objext
1866
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1867
 
  (eval $ac_compile) 2>&5
1868
 
  ac_status=$?
1869
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1870
 
  (exit $ac_status); } &&
1871
 
         { ac_try='test -s conftest.$ac_objext'
1872
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1873
 
  (eval $ac_try) 2>&5
1874
 
  ac_status=$?
1875
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1876
 
  (exit $ac_status); }; }; then
1877
 
  ac_compiler_gnu=yes
1878
 
else
1879
 
  echo "$as_me: failed program was:" >&5
1880
 
cat conftest.$ac_ext >&5
1881
 
ac_compiler_gnu=no
1882
 
fi
1883
 
rm -f conftest.$ac_objext conftest.$ac_ext
1884
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1885
 
 
1886
 
fi
1887
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1888
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1889
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
1890
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
1891
 
ac_save_CXXFLAGS=$CXXFLAGS
1892
 
CXXFLAGS="-g"
1893
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1894
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1895
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
1896
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1897
 
else
1898
 
  cat >conftest.$ac_ext <<_ACEOF
1899
 
#line $LINENO "configure"
1900
 
#include "confdefs.h"
1901
 
 
1902
 
#ifdef F77_DUMMY_MAIN
1903
 
#  ifdef __cplusplus
1904
 
     extern "C"
1905
 
#  endif
1906
 
   int F77_DUMMY_MAIN() { return 1; }
1907
 
#endif
1908
 
int
1909
 
main ()
1910
 
{
1911
 
 
1912
 
  ;
1913
 
  return 0;
1914
 
}
1915
 
_ACEOF
1916
 
rm -f conftest.$ac_objext
1917
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1918
 
  (eval $ac_compile) 2>&5
1919
 
  ac_status=$?
1920
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1921
 
  (exit $ac_status); } &&
1922
 
         { ac_try='test -s conftest.$ac_objext'
1923
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1924
 
  (eval $ac_try) 2>&5
1925
 
  ac_status=$?
1926
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1927
 
  (exit $ac_status); }; }; then
1928
 
  ac_cv_prog_cxx_g=yes
1929
 
else
1930
 
  echo "$as_me: failed program was:" >&5
1931
 
cat conftest.$ac_ext >&5
1932
 
ac_cv_prog_cxx_g=no
1933
 
fi
1934
 
rm -f conftest.$ac_objext conftest.$ac_ext
1935
 
fi
1936
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1937
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1938
 
if test "$ac_test_CXXFLAGS" = set; then
1939
 
  CXXFLAGS=$ac_save_CXXFLAGS
1940
 
elif test $ac_cv_prog_cxx_g = yes; then
1941
 
  if test "$GXX" = yes; then
1942
 
    CXXFLAGS="-g -O2"
1943
 
  else
1944
 
    CXXFLAGS="-g"
1945
 
  fi
1946
 
else
1947
 
  if test "$GXX" = yes; then
1948
 
    CXXFLAGS="-O2"
1949
 
  else
1950
 
    CXXFLAGS=
1951
 
  fi
1952
 
fi
1953
 
for ac_declaration in \
1954
 
   ''\
1955
 
   '#include <stdlib.h>' \
1956
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
1957
 
   'extern "C" void std::exit (int); using std::exit;' \
1958
 
   'extern "C" void exit (int) throw ();' \
1959
 
   'extern "C" void exit (int);' \
1960
 
   'void exit (int);'
1961
 
do
1962
 
  cat >conftest.$ac_ext <<_ACEOF
1963
 
#line $LINENO "configure"
1964
 
#include "confdefs.h"
1965
 
#include <stdlib.h>
1966
 
$ac_declaration
1967
 
#ifdef F77_DUMMY_MAIN
1968
 
#  ifdef __cplusplus
1969
 
     extern "C"
1970
 
#  endif
1971
 
   int F77_DUMMY_MAIN() { return 1; }
1972
 
#endif
1973
 
int
1974
 
main ()
1975
 
{
1976
 
exit (42);
1977
 
  ;
1978
 
  return 0;
1979
 
}
1980
 
_ACEOF
1981
 
rm -f conftest.$ac_objext
1982
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1983
 
  (eval $ac_compile) 2>&5
1984
 
  ac_status=$?
1985
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1986
 
  (exit $ac_status); } &&
1987
 
         { ac_try='test -s conftest.$ac_objext'
1988
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1989
 
  (eval $ac_try) 2>&5
1990
 
  ac_status=$?
1991
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1992
 
  (exit $ac_status); }; }; then
1993
 
  :
1994
 
else
1995
 
  echo "$as_me: failed program was:" >&5
1996
 
cat conftest.$ac_ext >&5
1997
 
continue
1998
 
fi
1999
 
rm -f conftest.$ac_objext conftest.$ac_ext
2000
 
  cat >conftest.$ac_ext <<_ACEOF
2001
 
#line $LINENO "configure"
2002
 
#include "confdefs.h"
2003
 
$ac_declaration
2004
 
#ifdef F77_DUMMY_MAIN
2005
 
#  ifdef __cplusplus
2006
 
     extern "C"
2007
 
#  endif
2008
 
   int F77_DUMMY_MAIN() { return 1; }
2009
 
#endif
2010
 
int
2011
 
main ()
2012
 
{
2013
 
exit (42);
2014
 
  ;
2015
 
  return 0;
2016
 
}
2017
 
_ACEOF
2018
 
rm -f conftest.$ac_objext
2019
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2020
 
  (eval $ac_compile) 2>&5
2021
 
  ac_status=$?
2022
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2023
 
  (exit $ac_status); } &&
2024
 
         { ac_try='test -s conftest.$ac_objext'
2025
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2026
 
  (eval $ac_try) 2>&5
2027
 
  ac_status=$?
2028
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2029
 
  (exit $ac_status); }; }; then
2030
 
  break
2031
 
else
2032
 
  echo "$as_me: failed program was:" >&5
2033
 
cat conftest.$ac_ext >&5
2034
 
fi
2035
 
rm -f conftest.$ac_objext conftest.$ac_ext
2036
 
done
2037
 
rm -f conftest*
2038
 
if test -n "$ac_declaration"; then
2039
 
  echo '#ifdef __cplusplus' >>confdefs.h
2040
 
  echo $ac_declaration      >>confdefs.h
2041
 
  echo '#endif'             >>confdefs.h
2042
 
fi
2043
 
 
2044
 
ac_ext=cc
2045
 
ac_cpp='$CXXCPP $CPPFLAGS'
2046
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2047
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2048
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2049
 
 
2050
 
ac_config_commands="$ac_config_commands default-1"
 
2598
DEPDIR="${am__leading_dot}deps"
 
2599
 
 
2600
ac_config_commands="$ac_config_commands depfiles"
 
2601
 
2051
2602
 
2052
2603
am_make=${MAKE-make}
2053
2604
cat > confinc << 'END'
2054
 
doit:
 
2605
am__doit:
2055
2606
        @echo done
 
2607
.PHONY: am__doit
2056
2608
END
2057
2609
# If we don't find an include directive, just comment out the code.
2058
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2059
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2060
 
am__include='#'
 
2610
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
2611
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
2612
am__include="#"
2061
2613
am__quote=
2062
2614
_am_result=none
2063
2615
# First try GNU make style include.
2067
2619
# In particular we don't look at `^make:' because GNU make might
2068
2620
# be invoked under some other name (usually "gmake"), in which
2069
2621
# case it prints its new name instead of `make'.
2070
 
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
 
2622
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2071
2623
   am__include=include
2072
2624
   am__quote=
2073
2625
   _am_result=GNU
2077
2629
   echo '.include "confinc"' > confmf
2078
2630
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2079
2631
      am__include=.include
2080
 
      am__quote='"'
 
2632
      am__quote="\""
2081
2633
      _am_result=BSD
2082
2634
   fi
2083
2635
fi
2084
2636
 
2085
2637
 
2086
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2087
 
echo "${ECHO_T}$_am_result" >&6
 
2638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
2639
$as_echo "$_am_result" >&6; }
2088
2640
rm -f confinc confmf
2089
2641
 
 
2642
# Check whether --enable-dependency-tracking was given.
 
2643
if test "${enable_dependency_tracking+set}" = set; then :
 
2644
  enableval=$enable_dependency_tracking;
 
2645
fi
 
2646
 
 
2647
if test "x$enable_dependency_tracking" != xno; then
 
2648
  am_depcomp="$ac_aux_dir/depcomp"
 
2649
  AMDEPBACKSLASH='\'
 
2650
fi
 
2651
 
 
2652
 
 
2653
if test "x$enable_dependency_tracking" != xno; then
 
2654
  AMDEP_TRUE=
 
2655
  AMDEP_FALSE='#'
 
2656
else
 
2657
  AMDEP_TRUE='#'
 
2658
  AMDEP_FALSE=
 
2659
fi
 
2660
 
 
2661
 
 
2662
 
 
2663
ac_ext=cpp
 
2664
ac_cpp='$CXXCPP $CPPFLAGS'
 
2665
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2666
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2667
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
2668
if test -z "$CXX"; then
 
2669
  if test -n "$CCC"; then
 
2670
    CXX=$CCC
 
2671
  else
 
2672
    if test -n "$ac_tool_prefix"; then
 
2673
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
2674
  do
 
2675
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
2676
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
2677
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2678
$as_echo_n "checking for $ac_word... " >&6; }
 
2679
if ${ac_cv_prog_CXX+:} false; then :
 
2680
  $as_echo_n "(cached) " >&6
 
2681
else
 
2682
  if test -n "$CXX"; then
 
2683
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
2684
else
 
2685
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2686
for as_dir in $PATH
 
2687
do
 
2688
  IFS=$as_save_IFS
 
2689
  test -z "$as_dir" && as_dir=.
 
2690
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2691
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2692
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
2693
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2694
    break 2
 
2695
  fi
 
2696
done
 
2697
  done
 
2698
IFS=$as_save_IFS
 
2699
 
 
2700
fi
 
2701
fi
 
2702
CXX=$ac_cv_prog_CXX
 
2703
if test -n "$CXX"; then
 
2704
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
2705
$as_echo "$CXX" >&6; }
 
2706
else
 
2707
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2708
$as_echo "no" >&6; }
 
2709
fi
 
2710
 
 
2711
 
 
2712
    test -n "$CXX" && break
 
2713
  done
 
2714
fi
 
2715
if test -z "$CXX"; then
 
2716
  ac_ct_CXX=$CXX
 
2717
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
2718
do
 
2719
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2720
set dummy $ac_prog; ac_word=$2
 
2721
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2722
$as_echo_n "checking for $ac_word... " >&6; }
 
2723
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
 
2724
  $as_echo_n "(cached) " >&6
 
2725
else
 
2726
  if test -n "$ac_ct_CXX"; then
 
2727
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
2728
else
 
2729
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2730
for as_dir in $PATH
 
2731
do
 
2732
  IFS=$as_save_IFS
 
2733
  test -z "$as_dir" && as_dir=.
 
2734
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2735
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2736
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
2737
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2738
    break 2
 
2739
  fi
 
2740
done
 
2741
  done
 
2742
IFS=$as_save_IFS
 
2743
 
 
2744
fi
 
2745
fi
 
2746
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
2747
if test -n "$ac_ct_CXX"; then
 
2748
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
2749
$as_echo "$ac_ct_CXX" >&6; }
 
2750
else
 
2751
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2752
$as_echo "no" >&6; }
 
2753
fi
 
2754
 
 
2755
 
 
2756
  test -n "$ac_ct_CXX" && break
 
2757
done
 
2758
 
 
2759
  if test "x$ac_ct_CXX" = x; then
 
2760
    CXX="g++"
 
2761
  else
 
2762
    case $cross_compiling:$ac_tool_warned in
 
2763
yes:)
 
2764
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2765
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2766
ac_tool_warned=yes ;;
 
2767
esac
 
2768
    CXX=$ac_ct_CXX
 
2769
  fi
 
2770
fi
 
2771
 
 
2772
  fi
 
2773
fi
 
2774
# Provide some information about the compiler.
 
2775
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
2776
set X $ac_compile
 
2777
ac_compiler=$2
 
2778
for ac_option in --version -v -V -qversion; do
 
2779
  { { ac_try="$ac_compiler $ac_option >&5"
 
2780
case "(($ac_try" in
 
2781
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2782
  *) ac_try_echo=$ac_try;;
 
2783
esac
 
2784
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2785
$as_echo "$ac_try_echo"; } >&5
 
2786
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
2787
  ac_status=$?
 
2788
  if test -s conftest.err; then
 
2789
    sed '10a\
 
2790
... rest of stderr output deleted ...
 
2791
         10q' conftest.err >conftest.er1
 
2792
    cat conftest.er1 >&5
 
2793
  fi
 
2794
  rm -f conftest.er1 conftest.err
 
2795
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2796
  test $ac_status = 0; }
 
2797
done
 
2798
 
 
2799
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2800
/* end confdefs.h.  */
 
2801
 
 
2802
int
 
2803
main ()
 
2804
{
 
2805
 
 
2806
  ;
 
2807
  return 0;
 
2808
}
 
2809
_ACEOF
 
2810
ac_clean_files_save=$ac_clean_files
 
2811
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
2812
# Try to create an executable without -o first, disregard a.out.
 
2813
# It will help us diagnose broken compilers, and finding out an intuition
 
2814
# of exeext.
 
2815
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
 
2816
$as_echo_n "checking whether the C++ compiler works... " >&6; }
 
2817
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2818
 
 
2819
# The possible output files:
 
2820
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
2821
 
 
2822
ac_rmfiles=
 
2823
for ac_file in $ac_files
 
2824
do
 
2825
  case $ac_file in
 
2826
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
2827
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2828
  esac
 
2829
done
 
2830
rm -f $ac_rmfiles
 
2831
 
 
2832
if { { ac_try="$ac_link_default"
 
2833
case "(($ac_try" in
 
2834
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2835
  *) ac_try_echo=$ac_try;;
 
2836
esac
 
2837
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2838
$as_echo "$ac_try_echo"; } >&5
 
2839
  (eval "$ac_link_default") 2>&5
 
2840
  ac_status=$?
 
2841
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2842
  test $ac_status = 0; }; then :
 
2843
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2844
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2845
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2846
# so that the user can short-circuit this test for compilers unknown to
 
2847
# Autoconf.
 
2848
for ac_file in $ac_files ''
 
2849
do
 
2850
  test -f "$ac_file" || continue
 
2851
  case $ac_file in
 
2852
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
2853
        ;;
 
2854
    [ab].out )
 
2855
        # We found the default executable, but exeext='' is most
 
2856
        # certainly right.
 
2857
        break;;
 
2858
    *.* )
 
2859
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2860
        then :; else
 
2861
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2862
        fi
 
2863
        # We set ac_cv_exeext here because the later test for it is not
 
2864
        # safe: cross compilers may not add the suffix if given an `-o'
 
2865
        # argument, so we may need to know it at that point already.
 
2866
        # Even if this section looks crufty: it has the advantage of
 
2867
        # actually working.
 
2868
        break;;
 
2869
    * )
 
2870
        break;;
 
2871
  esac
 
2872
done
 
2873
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2874
 
 
2875
else
 
2876
  ac_file=''
 
2877
fi
 
2878
if test -z "$ac_file"; then :
 
2879
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2880
$as_echo "no" >&6; }
 
2881
$as_echo "$as_me: failed program was:" >&5
 
2882
sed 's/^/| /' conftest.$ac_ext >&5
 
2883
 
 
2884
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2885
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2886
as_fn_error 77 "C++ compiler cannot create executables
 
2887
See \`config.log' for more details" "$LINENO" 5; }
 
2888
else
 
2889
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2890
$as_echo "yes" >&6; }
 
2891
fi
 
2892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
 
2893
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
 
2894
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
2895
$as_echo "$ac_file" >&6; }
 
2896
ac_exeext=$ac_cv_exeext
 
2897
 
 
2898
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
2899
ac_clean_files=$ac_clean_files_save
 
2900
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
2901
$as_echo_n "checking for suffix of executables... " >&6; }
 
2902
if { { ac_try="$ac_link"
 
2903
case "(($ac_try" in
 
2904
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2905
  *) ac_try_echo=$ac_try;;
 
2906
esac
 
2907
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2908
$as_echo "$ac_try_echo"; } >&5
 
2909
  (eval "$ac_link") 2>&5
 
2910
  ac_status=$?
 
2911
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2912
  test $ac_status = 0; }; then :
 
2913
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
2914
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
2915
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
2916
# `rm'.
 
2917
for ac_file in conftest.exe conftest conftest.*; do
 
2918
  test -f "$ac_file" || continue
 
2919
  case $ac_file in
 
2920
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
2921
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2922
          break;;
 
2923
    * ) break;;
 
2924
  esac
 
2925
done
 
2926
else
 
2927
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2928
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2929
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
2930
See \`config.log' for more details" "$LINENO" 5; }
 
2931
fi
 
2932
rm -f conftest conftest$ac_cv_exeext
 
2933
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
2934
$as_echo "$ac_cv_exeext" >&6; }
 
2935
 
 
2936
rm -f conftest.$ac_ext
 
2937
EXEEXT=$ac_cv_exeext
 
2938
ac_exeext=$EXEEXT
 
2939
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2940
/* end confdefs.h.  */
 
2941
#include <stdio.h>
 
2942
int
 
2943
main ()
 
2944
{
 
2945
FILE *f = fopen ("conftest.out", "w");
 
2946
 return ferror (f) || fclose (f) != 0;
 
2947
 
 
2948
  ;
 
2949
  return 0;
 
2950
}
 
2951
_ACEOF
 
2952
ac_clean_files="$ac_clean_files conftest.out"
 
2953
# Check that the compiler produces executables we can run.  If not, either
 
2954
# the compiler is broken, or we cross compile.
 
2955
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
2956
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
2957
if test "$cross_compiling" != yes; then
 
2958
  { { ac_try="$ac_link"
 
2959
case "(($ac_try" in
 
2960
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2961
  *) ac_try_echo=$ac_try;;
 
2962
esac
 
2963
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2964
$as_echo "$ac_try_echo"; } >&5
 
2965
  (eval "$ac_link") 2>&5
 
2966
  ac_status=$?
 
2967
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2968
  test $ac_status = 0; }
 
2969
  if { ac_try='./conftest$ac_cv_exeext'
 
2970
  { { case "(($ac_try" in
 
2971
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2972
  *) ac_try_echo=$ac_try;;
 
2973
esac
 
2974
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2975
$as_echo "$ac_try_echo"; } >&5
 
2976
  (eval "$ac_try") 2>&5
 
2977
  ac_status=$?
 
2978
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2979
  test $ac_status = 0; }; }; then
 
2980
    cross_compiling=no
 
2981
  else
 
2982
    if test "$cross_compiling" = maybe; then
 
2983
        cross_compiling=yes
 
2984
    else
 
2985
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2986
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2987
as_fn_error $? "cannot run C++ compiled programs.
 
2988
If you meant to cross compile, use \`--host'.
 
2989
See \`config.log' for more details" "$LINENO" 5; }
 
2990
    fi
 
2991
  fi
 
2992
fi
 
2993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
2994
$as_echo "$cross_compiling" >&6; }
 
2995
 
 
2996
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
2997
ac_clean_files=$ac_clean_files_save
 
2998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
2999
$as_echo_n "checking for suffix of object files... " >&6; }
 
3000
if ${ac_cv_objext+:} false; then :
 
3001
  $as_echo_n "(cached) " >&6
 
3002
else
 
3003
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3004
/* end confdefs.h.  */
 
3005
 
 
3006
int
 
3007
main ()
 
3008
{
 
3009
 
 
3010
  ;
 
3011
  return 0;
 
3012
}
 
3013
_ACEOF
 
3014
rm -f conftest.o conftest.obj
 
3015
if { { ac_try="$ac_compile"
 
3016
case "(($ac_try" in
 
3017
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3018
  *) ac_try_echo=$ac_try;;
 
3019
esac
 
3020
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3021
$as_echo "$ac_try_echo"; } >&5
 
3022
  (eval "$ac_compile") 2>&5
 
3023
  ac_status=$?
 
3024
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3025
  test $ac_status = 0; }; then :
 
3026
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3027
  test -f "$ac_file" || continue;
 
3028
  case $ac_file in
 
3029
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
3030
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
3031
       break;;
 
3032
  esac
 
3033
done
 
3034
else
 
3035
  $as_echo "$as_me: failed program was:" >&5
 
3036
sed 's/^/| /' conftest.$ac_ext >&5
 
3037
 
 
3038
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3039
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3040
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3041
See \`config.log' for more details" "$LINENO" 5; }
 
3042
fi
 
3043
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
3044
fi
 
3045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3046
$as_echo "$ac_cv_objext" >&6; }
 
3047
OBJEXT=$ac_cv_objext
 
3048
ac_objext=$OBJEXT
 
3049
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
3050
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
3051
if ${ac_cv_cxx_compiler_gnu+:} false; then :
 
3052
  $as_echo_n "(cached) " >&6
 
3053
else
 
3054
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3055
/* end confdefs.h.  */
 
3056
 
 
3057
int
 
3058
main ()
 
3059
{
 
3060
#ifndef __GNUC__
 
3061
       choke me
 
3062
#endif
 
3063
 
 
3064
  ;
 
3065
  return 0;
 
3066
}
 
3067
_ACEOF
 
3068
if ac_fn_cxx_try_compile "$LINENO"; then :
 
3069
  ac_compiler_gnu=yes
 
3070
else
 
3071
  ac_compiler_gnu=no
 
3072
fi
 
3073
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3074
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
3075
 
 
3076
fi
 
3077
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
3078
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
3079
if test $ac_compiler_gnu = yes; then
 
3080
  GXX=yes
 
3081
else
 
3082
  GXX=
 
3083
fi
 
3084
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
3085
ac_save_CXXFLAGS=$CXXFLAGS
 
3086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
3087
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
3088
if ${ac_cv_prog_cxx_g+:} false; then :
 
3089
  $as_echo_n "(cached) " >&6
 
3090
else
 
3091
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
3092
   ac_cxx_werror_flag=yes
 
3093
   ac_cv_prog_cxx_g=no
 
3094
   CXXFLAGS="-g"
 
3095
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3096
/* end confdefs.h.  */
 
3097
 
 
3098
int
 
3099
main ()
 
3100
{
 
3101
 
 
3102
  ;
 
3103
  return 0;
 
3104
}
 
3105
_ACEOF
 
3106
if ac_fn_cxx_try_compile "$LINENO"; then :
 
3107
  ac_cv_prog_cxx_g=yes
 
3108
else
 
3109
  CXXFLAGS=""
 
3110
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3111
/* end confdefs.h.  */
 
3112
 
 
3113
int
 
3114
main ()
 
3115
{
 
3116
 
 
3117
  ;
 
3118
  return 0;
 
3119
}
 
3120
_ACEOF
 
3121
if ac_fn_cxx_try_compile "$LINENO"; then :
 
3122
 
 
3123
else
 
3124
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
3125
         CXXFLAGS="-g"
 
3126
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3127
/* end confdefs.h.  */
 
3128
 
 
3129
int
 
3130
main ()
 
3131
{
 
3132
 
 
3133
  ;
 
3134
  return 0;
 
3135
}
 
3136
_ACEOF
 
3137
if ac_fn_cxx_try_compile "$LINENO"; then :
 
3138
  ac_cv_prog_cxx_g=yes
 
3139
fi
 
3140
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3141
fi
 
3142
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3143
fi
 
3144
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3145
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
3146
fi
 
3147
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
3148
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
3149
if test "$ac_test_CXXFLAGS" = set; then
 
3150
  CXXFLAGS=$ac_save_CXXFLAGS
 
3151
elif test $ac_cv_prog_cxx_g = yes; then
 
3152
  if test "$GXX" = yes; then
 
3153
    CXXFLAGS="-g -O2"
 
3154
  else
 
3155
    CXXFLAGS="-g"
 
3156
  fi
 
3157
else
 
3158
  if test "$GXX" = yes; then
 
3159
    CXXFLAGS="-O2"
 
3160
  else
 
3161
    CXXFLAGS=
 
3162
  fi
 
3163
fi
 
3164
ac_ext=cpp
 
3165
ac_cpp='$CXXCPP $CPPFLAGS'
 
3166
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3167
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3168
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2090
3169
 
2091
3170
depcc="$CXX"  am_compiler_list=
2092
3171
 
2093
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2094
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2095
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2096
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2097
 
else
2098
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2099
 
  # We make a subdir and do the tests there.  Otherwise we can end up
2100
 
  # making bogus files that we don't know about and never remove.  For
2101
 
  # instance it was reported that on HP-UX the gcc test will end up
2102
 
  # making a dummy file named `D' -- because `-MD' means `put the output
2103
 
  # in D'.
2104
 
  mkdir conftest.dir
2105
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
2106
 
  # using a relative directory.
2107
 
  cp "$am_depcomp" conftest.dir
2108
 
  cd conftest.dir
2109
 
 
2110
 
  am_cv_CXX_dependencies_compiler_type=none
2111
 
  if test "$am_compiler_list" = ""; then
2112
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2113
 
  fi
2114
 
  for depmode in $am_compiler_list; do
2115
 
    # We need to recreate these files for each test, as the compiler may
2116
 
    # overwrite some of them when testing with obscure command lines.
2117
 
    # This happens at least with the AIX C compiler.
2118
 
    echo '#include "conftest.h"' > conftest.c
2119
 
    echo 'int i;' > conftest.h
2120
 
    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2121
 
 
2122
 
    case $depmode in
2123
 
    nosideeffect)
2124
 
      # after this tag, mechanisms are not by side-effect, so they'll
2125
 
      # only be used when explicitly requested
2126
 
      if test "x$enable_dependency_tracking" = xyes; then
2127
 
        continue
2128
 
      else
2129
 
        break
2130
 
      fi
2131
 
      ;;
2132
 
    none) break ;;
2133
 
    esac
2134
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2135
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
2136
 
    # handle `-M -o', and we need to detect this.
2137
 
    if depmode=$depmode \
2138
 
       source=conftest.c object=conftest.o \
2139
 
       depfile=conftest.Po tmpdepfile=conftest.TPo \
2140
 
       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2141
 
       grep conftest.h conftest.Po > /dev/null 2>&1 &&
2142
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2143
 
      am_cv_CXX_dependencies_compiler_type=$depmode
2144
 
      break
2145
 
    fi
2146
 
  done
2147
 
 
2148
 
  cd ..
2149
 
  rm -rf conftest.dir
2150
 
else
2151
 
  am_cv_CXX_dependencies_compiler_type=none
2152
 
fi
2153
 
 
2154
 
fi
2155
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2156
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2157
 
CXXDEPMODE="depmode=$am_cv_CXX_dependencies_compiler_type"
2158
 
 
2159
 
 
2160
 
 
2161
 
# Checks for libraries.
2162
 
 
2163
 
# Checks for header files.
2164
 
 
2165
 
ac_ext=cc
2166
 
ac_cpp='$CXXCPP $CPPFLAGS'
2167
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2168
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2169
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2170
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
2171
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
3172
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3173
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3174
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
 
3175
  $as_echo_n "(cached) " >&6
 
3176
else
 
3177
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3178
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3179
  # making bogus files that we don't know about and never remove.  For
 
3180
  # instance it was reported that on HP-UX the gcc test will end up
 
3181
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3182
  # in D'.
 
3183
  mkdir conftest.dir
 
3184
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3185
  # using a relative directory.
 
3186
  cp "$am_depcomp" conftest.dir
 
3187
  cd conftest.dir
 
3188
  # We will build objects and dependencies in a subdirectory because
 
3189
  # it helps to detect inapplicable dependency modes.  For instance
 
3190
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3191
  # side effect of compilation, but ICC will put the dependencies in
 
3192
  # the current directory while Tru64 will put them in the object
 
3193
  # directory.
 
3194
  mkdir sub
 
3195
 
 
3196
  am_cv_CXX_dependencies_compiler_type=none
 
3197
  if test "$am_compiler_list" = ""; then
 
3198
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3199
  fi
 
3200
  for depmode in $am_compiler_list; do
 
3201
    # Setup a source with many dependencies, because some compilers
 
3202
    # like to wrap large dependency lists on column 80 (with \), and
 
3203
    # we should not choose a depcomp mode which is confused by this.
 
3204
    #
 
3205
    # We need to recreate these files for each test, as the compiler may
 
3206
    # overwrite some of them when testing with obscure command lines.
 
3207
    # This happens at least with the AIX C compiler.
 
3208
    : > sub/conftest.c
 
3209
    for i in 1 2 3 4 5 6; do
 
3210
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3211
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3212
      # Solaris 8's {/usr,}/bin/sh.
 
3213
      touch sub/conftst$i.h
 
3214
    done
 
3215
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3216
 
 
3217
    case $depmode in
 
3218
    nosideeffect)
 
3219
      # after this tag, mechanisms are not by side-effect, so they'll
 
3220
      # only be used when explicitly requested
 
3221
      if test "x$enable_dependency_tracking" = xyes; then
 
3222
        continue
 
3223
      else
 
3224
        break
 
3225
      fi
 
3226
      ;;
 
3227
    none) break ;;
 
3228
    esac
 
3229
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3230
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3231
    # handle `-M -o', and we need to detect this.
 
3232
    if depmode=$depmode \
 
3233
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3234
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3235
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3236
         >/dev/null 2>conftest.err &&
 
3237
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3238
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3239
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
3240
      # icc doesn't choke on unknown options, it will just issue warnings
 
3241
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3242
      # that says an option was ignored or not supported.
 
3243
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3244
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3245
      # The diagnosis changed in icc 8.0:
 
3246
      #   icc: Command line remark: option '-MP' not supported
 
3247
      if (grep 'ignoring option' conftest.err ||
 
3248
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3249
        am_cv_CXX_dependencies_compiler_type=$depmode
 
3250
        break
 
3251
      fi
 
3252
    fi
 
3253
  done
 
3254
 
 
3255
  cd ..
 
3256
  rm -rf conftest.dir
 
3257
else
 
3258
  am_cv_CXX_dependencies_compiler_type=none
 
3259
fi
 
3260
 
 
3261
fi
 
3262
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
3263
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
3264
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
3265
 
 
3266
 
 
3267
 
 
3268
if
 
3269
  test "x$enable_dependency_tracking" != xno \
 
3270
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
3271
  am__fastdepCXX_TRUE=
 
3272
  am__fastdepCXX_FALSE='#'
 
3273
else
 
3274
  am__fastdepCXX_TRUE='#'
 
3275
  am__fastdepCXX_FALSE=
 
3276
fi
 
3277
 
 
3278
 
 
3279
 
 
3280
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
 
3281
$as_echo_n "checking for library containing strerror... " >&6; }
 
3282
if ${ac_cv_search_strerror+:} false; then :
 
3283
  $as_echo_n "(cached) " >&6
 
3284
else
 
3285
  ac_func_search_save_LIBS=$LIBS
 
3286
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3287
/* end confdefs.h.  */
 
3288
 
 
3289
/* Override any GCC internal prototype to avoid an error.
 
3290
   Use char because int might match the return type of a GCC
 
3291
   builtin and then its argument prototype would still apply.  */
 
3292
#ifdef __cplusplus
 
3293
extern "C"
 
3294
#endif
 
3295
char strerror ();
 
3296
int
 
3297
main ()
 
3298
{
 
3299
return strerror ();
 
3300
  ;
 
3301
  return 0;
 
3302
}
 
3303
_ACEOF
 
3304
for ac_lib in '' cposix; do
 
3305
  if test -z "$ac_lib"; then
 
3306
    ac_res="none required"
 
3307
  else
 
3308
    ac_res=-l$ac_lib
 
3309
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
3310
  fi
 
3311
  if ac_fn_cxx_try_link "$LINENO"; then :
 
3312
  ac_cv_search_strerror=$ac_res
 
3313
fi
 
3314
rm -f core conftest.err conftest.$ac_objext \
 
3315
    conftest$ac_exeext
 
3316
  if ${ac_cv_search_strerror+:} false; then :
 
3317
  break
 
3318
fi
 
3319
done
 
3320
if ${ac_cv_search_strerror+:} false; then :
 
3321
 
 
3322
else
 
3323
  ac_cv_search_strerror=no
 
3324
fi
 
3325
rm conftest.$ac_ext
 
3326
LIBS=$ac_func_search_save_LIBS
 
3327
fi
 
3328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
 
3329
$as_echo "$ac_cv_search_strerror" >&6; }
 
3330
ac_res=$ac_cv_search_strerror
 
3331
if test "$ac_res" != no; then :
 
3332
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
3333
 
 
3334
fi
 
3335
 
 
3336
CFLAGS=$CFLAGS
 
3337
 
 
3338
ac_ext=c
 
3339
ac_cpp='$CPP $CPPFLAGS'
 
3340
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3341
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3342
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3343
if test -n "$ac_tool_prefix"; then
 
3344
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
3345
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
3346
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3347
$as_echo_n "checking for $ac_word... " >&6; }
 
3348
if ${ac_cv_prog_CC+:} false; then :
 
3349
  $as_echo_n "(cached) " >&6
 
3350
else
 
3351
  if test -n "$CC"; then
 
3352
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3353
else
 
3354
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3355
for as_dir in $PATH
 
3356
do
 
3357
  IFS=$as_save_IFS
 
3358
  test -z "$as_dir" && as_dir=.
 
3359
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3360
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3361
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
3362
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3363
    break 2
 
3364
  fi
 
3365
done
 
3366
  done
 
3367
IFS=$as_save_IFS
 
3368
 
 
3369
fi
 
3370
fi
 
3371
CC=$ac_cv_prog_CC
 
3372
if test -n "$CC"; then
 
3373
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3374
$as_echo "$CC" >&6; }
 
3375
else
 
3376
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3377
$as_echo "no" >&6; }
 
3378
fi
 
3379
 
 
3380
 
 
3381
fi
 
3382
if test -z "$ac_cv_prog_CC"; then
 
3383
  ac_ct_CC=$CC
 
3384
  # Extract the first word of "gcc", so it can be a program name with args.
 
3385
set dummy gcc; 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_ac_ct_CC+:} false; then :
 
3389
  $as_echo_n "(cached) " >&6
 
3390
else
 
3391
  if test -n "$ac_ct_CC"; then
 
3392
  ac_cv_prog_ac_ct_CC="$ac_ct_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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3401
    ac_cv_prog_ac_ct_CC="gcc"
 
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
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3412
if test -n "$ac_ct_CC"; then
 
3413
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3414
$as_echo "$ac_ct_CC" >&6; }
 
3415
else
 
3416
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3417
$as_echo "no" >&6; }
 
3418
fi
 
3419
 
 
3420
  if test "x$ac_ct_CC" = x; then
 
3421
    CC=""
 
3422
  else
 
3423
    case $cross_compiling:$ac_tool_warned in
 
3424
yes:)
 
3425
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3426
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3427
ac_tool_warned=yes ;;
 
3428
esac
 
3429
    CC=$ac_ct_CC
 
3430
  fi
 
3431
else
 
3432
  CC="$ac_cv_prog_CC"
 
3433
fi
 
3434
 
 
3435
if test -z "$CC"; then
 
3436
          if test -n "$ac_tool_prefix"; then
 
3437
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3438
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
3439
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3440
$as_echo_n "checking for $ac_word... " >&6; }
 
3441
if ${ac_cv_prog_CC+:} false; then :
 
3442
  $as_echo_n "(cached) " >&6
 
3443
else
 
3444
  if test -n "$CC"; then
 
3445
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3446
else
 
3447
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3448
for as_dir in $PATH
 
3449
do
 
3450
  IFS=$as_save_IFS
 
3451
  test -z "$as_dir" && as_dir=.
 
3452
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3453
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3454
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
3455
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3456
    break 2
 
3457
  fi
 
3458
done
 
3459
  done
 
3460
IFS=$as_save_IFS
 
3461
 
 
3462
fi
 
3463
fi
 
3464
CC=$ac_cv_prog_CC
 
3465
if test -n "$CC"; then
 
3466
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3467
$as_echo "$CC" >&6; }
 
3468
else
 
3469
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3470
$as_echo "no" >&6; }
 
3471
fi
 
3472
 
 
3473
 
 
3474
  fi
 
3475
fi
 
3476
if test -z "$CC"; then
 
3477
  # Extract the first word of "cc", so it can be a program name with args.
 
3478
set dummy cc; ac_word=$2
 
3479
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3480
$as_echo_n "checking for $ac_word... " >&6; }
 
3481
if ${ac_cv_prog_CC+:} false; then :
 
3482
  $as_echo_n "(cached) " >&6
 
3483
else
 
3484
  if test -n "$CC"; then
 
3485
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3486
else
 
3487
  ac_prog_rejected=no
 
3488
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3489
for as_dir in $PATH
 
3490
do
 
3491
  IFS=$as_save_IFS
 
3492
  test -z "$as_dir" && as_dir=.
 
3493
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3494
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3495
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
3496
       ac_prog_rejected=yes
 
3497
       continue
 
3498
     fi
 
3499
    ac_cv_prog_CC="cc"
 
3500
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3501
    break 2
 
3502
  fi
 
3503
done
 
3504
  done
 
3505
IFS=$as_save_IFS
 
3506
 
 
3507
if test $ac_prog_rejected = yes; then
 
3508
  # We found a bogon in the path, so make sure we never use it.
 
3509
  set dummy $ac_cv_prog_CC
 
3510
  shift
 
3511
  if test $# != 0; then
 
3512
    # We chose a different compiler from the bogus one.
 
3513
    # However, it has the same basename, so the bogon will be chosen
 
3514
    # first if we set CC to just the basename; use the full file name.
 
3515
    shift
 
3516
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
3517
  fi
 
3518
fi
 
3519
fi
 
3520
fi
 
3521
CC=$ac_cv_prog_CC
 
3522
if test -n "$CC"; then
 
3523
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3524
$as_echo "$CC" >&6; }
 
3525
else
 
3526
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3527
$as_echo "no" >&6; }
 
3528
fi
 
3529
 
 
3530
 
 
3531
fi
 
3532
if test -z "$CC"; then
 
3533
  if test -n "$ac_tool_prefix"; then
 
3534
  for ac_prog in cl.exe
 
3535
  do
 
3536
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3537
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3538
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3539
$as_echo_n "checking for $ac_word... " >&6; }
 
3540
if ${ac_cv_prog_CC+:} false; then :
 
3541
  $as_echo_n "(cached) " >&6
 
3542
else
 
3543
  if test -n "$CC"; then
 
3544
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3545
else
 
3546
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3547
for as_dir in $PATH
 
3548
do
 
3549
  IFS=$as_save_IFS
 
3550
  test -z "$as_dir" && as_dir=.
 
3551
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3552
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3553
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
3554
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3555
    break 2
 
3556
  fi
 
3557
done
 
3558
  done
 
3559
IFS=$as_save_IFS
 
3560
 
 
3561
fi
 
3562
fi
 
3563
CC=$ac_cv_prog_CC
 
3564
if test -n "$CC"; then
 
3565
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3566
$as_echo "$CC" >&6; }
 
3567
else
 
3568
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3569
$as_echo "no" >&6; }
 
3570
fi
 
3571
 
 
3572
 
 
3573
    test -n "$CC" && break
 
3574
  done
 
3575
fi
 
3576
if test -z "$CC"; then
 
3577
  ac_ct_CC=$CC
 
3578
  for ac_prog in cl.exe
 
3579
do
 
3580
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3581
set dummy $ac_prog; ac_word=$2
 
3582
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3583
$as_echo_n "checking for $ac_word... " >&6; }
 
3584
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3585
  $as_echo_n "(cached) " >&6
 
3586
else
 
3587
  if test -n "$ac_ct_CC"; then
 
3588
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3589
else
 
3590
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3591
for as_dir in $PATH
 
3592
do
 
3593
  IFS=$as_save_IFS
 
3594
  test -z "$as_dir" && as_dir=.
 
3595
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3596
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3597
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
3598
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3599
    break 2
 
3600
  fi
 
3601
done
 
3602
  done
 
3603
IFS=$as_save_IFS
 
3604
 
 
3605
fi
 
3606
fi
 
3607
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3608
if test -n "$ac_ct_CC"; then
 
3609
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3610
$as_echo "$ac_ct_CC" >&6; }
 
3611
else
 
3612
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3613
$as_echo "no" >&6; }
 
3614
fi
 
3615
 
 
3616
 
 
3617
  test -n "$ac_ct_CC" && break
 
3618
done
 
3619
 
 
3620
  if test "x$ac_ct_CC" = x; then
 
3621
    CC=""
 
3622
  else
 
3623
    case $cross_compiling:$ac_tool_warned in
 
3624
yes:)
 
3625
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3626
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3627
ac_tool_warned=yes ;;
 
3628
esac
 
3629
    CC=$ac_ct_CC
 
3630
  fi
 
3631
fi
 
3632
 
 
3633
fi
 
3634
 
 
3635
 
 
3636
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3637
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3638
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3639
See \`config.log' for more details" "$LINENO" 5; }
 
3640
 
 
3641
# Provide some information about the compiler.
 
3642
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3643
set X $ac_compile
 
3644
ac_compiler=$2
 
3645
for ac_option in --version -v -V -qversion; do
 
3646
  { { ac_try="$ac_compiler $ac_option >&5"
 
3647
case "(($ac_try" in
 
3648
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3649
  *) ac_try_echo=$ac_try;;
 
3650
esac
 
3651
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3652
$as_echo "$ac_try_echo"; } >&5
 
3653
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3654
  ac_status=$?
 
3655
  if test -s conftest.err; then
 
3656
    sed '10a\
 
3657
... rest of stderr output deleted ...
 
3658
         10q' conftest.err >conftest.er1
 
3659
    cat conftest.er1 >&5
 
3660
  fi
 
3661
  rm -f conftest.er1 conftest.err
 
3662
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3663
  test $ac_status = 0; }
 
3664
done
 
3665
 
 
3666
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3667
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3668
if ${ac_cv_c_compiler_gnu+:} false; then :
 
3669
  $as_echo_n "(cached) " >&6
 
3670
else
 
3671
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3672
/* end confdefs.h.  */
 
3673
 
 
3674
int
 
3675
main ()
 
3676
{
 
3677
#ifndef __GNUC__
 
3678
       choke me
 
3679
#endif
 
3680
 
 
3681
  ;
 
3682
  return 0;
 
3683
}
 
3684
_ACEOF
 
3685
if ac_fn_c_try_compile "$LINENO"; then :
 
3686
  ac_compiler_gnu=yes
 
3687
else
 
3688
  ac_compiler_gnu=no
 
3689
fi
 
3690
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3691
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
3692
 
 
3693
fi
 
3694
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3695
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3696
if test $ac_compiler_gnu = yes; then
 
3697
  GCC=yes
 
3698
else
 
3699
  GCC=
 
3700
fi
 
3701
ac_test_CFLAGS=${CFLAGS+set}
 
3702
ac_save_CFLAGS=$CFLAGS
 
3703
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3704
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3705
if ${ac_cv_prog_cc_g+:} false; then :
 
3706
  $as_echo_n "(cached) " >&6
 
3707
else
 
3708
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3709
   ac_c_werror_flag=yes
 
3710
   ac_cv_prog_cc_g=no
 
3711
   CFLAGS="-g"
 
3712
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3713
/* end confdefs.h.  */
 
3714
 
 
3715
int
 
3716
main ()
 
3717
{
 
3718
 
 
3719
  ;
 
3720
  return 0;
 
3721
}
 
3722
_ACEOF
 
3723
if ac_fn_c_try_compile "$LINENO"; then :
 
3724
  ac_cv_prog_cc_g=yes
 
3725
else
 
3726
  CFLAGS=""
 
3727
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3728
/* end confdefs.h.  */
 
3729
 
 
3730
int
 
3731
main ()
 
3732
{
 
3733
 
 
3734
  ;
 
3735
  return 0;
 
3736
}
 
3737
_ACEOF
 
3738
if ac_fn_c_try_compile "$LINENO"; then :
 
3739
 
 
3740
else
 
3741
  ac_c_werror_flag=$ac_save_c_werror_flag
 
3742
         CFLAGS="-g"
 
3743
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3744
/* end confdefs.h.  */
 
3745
 
 
3746
int
 
3747
main ()
 
3748
{
 
3749
 
 
3750
  ;
 
3751
  return 0;
 
3752
}
 
3753
_ACEOF
 
3754
if ac_fn_c_try_compile "$LINENO"; then :
 
3755
  ac_cv_prog_cc_g=yes
 
3756
fi
 
3757
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3758
fi
 
3759
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3760
fi
 
3761
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3762
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3763
fi
 
3764
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3765
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
3766
if test "$ac_test_CFLAGS" = set; then
 
3767
  CFLAGS=$ac_save_CFLAGS
 
3768
elif test $ac_cv_prog_cc_g = yes; then
 
3769
  if test "$GCC" = yes; then
 
3770
    CFLAGS="-g -O2"
 
3771
  else
 
3772
    CFLAGS="-g"
 
3773
  fi
 
3774
else
 
3775
  if test "$GCC" = yes; then
 
3776
    CFLAGS="-O2"
 
3777
  else
 
3778
    CFLAGS=
 
3779
  fi
 
3780
fi
 
3781
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3782
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3783
if ${ac_cv_prog_cc_c89+:} false; then :
 
3784
  $as_echo_n "(cached) " >&6
 
3785
else
 
3786
  ac_cv_prog_cc_c89=no
 
3787
ac_save_CC=$CC
 
3788
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3789
/* end confdefs.h.  */
 
3790
#include <stdarg.h>
 
3791
#include <stdio.h>
 
3792
struct stat;
 
3793
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3794
struct buf { int x; };
 
3795
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3796
static char *e (p, i)
 
3797
     char **p;
 
3798
     int i;
 
3799
{
 
3800
  return p[i];
 
3801
}
 
3802
static char *f (char * (*g) (char **, int), char **p, ...)
 
3803
{
 
3804
  char *s;
 
3805
  va_list v;
 
3806
  va_start (v,p);
 
3807
  s = g (p, va_arg (v,int));
 
3808
  va_end (v);
 
3809
  return s;
 
3810
}
 
3811
 
 
3812
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3813
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3814
   These don't provoke an error unfortunately, instead are silently treated
 
3815
   as 'x'.  The following induces an error, until -std is added to get
 
3816
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3817
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3818
   that's true only with -std.  */
 
3819
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3820
 
 
3821
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3822
   inside strings and character constants.  */
 
3823
#define FOO(x) 'x'
 
3824
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3825
 
 
3826
int test (int i, double x);
 
3827
struct s1 {int (*f) (int a);};
 
3828
struct s2 {int (*f) (double a);};
 
3829
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3830
int argc;
 
3831
char **argv;
 
3832
int
 
3833
main ()
 
3834
{
 
3835
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3836
  ;
 
3837
  return 0;
 
3838
}
 
3839
_ACEOF
 
3840
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3841
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3842
do
 
3843
  CC="$ac_save_CC $ac_arg"
 
3844
  if ac_fn_c_try_compile "$LINENO"; then :
 
3845
  ac_cv_prog_cc_c89=$ac_arg
 
3846
fi
 
3847
rm -f core conftest.err conftest.$ac_objext
 
3848
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3849
done
 
3850
rm -f conftest.$ac_ext
 
3851
CC=$ac_save_CC
 
3852
 
 
3853
fi
 
3854
# AC_CACHE_VAL
 
3855
case "x$ac_cv_prog_cc_c89" in
 
3856
  x)
 
3857
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3858
$as_echo "none needed" >&6; } ;;
 
3859
  xno)
 
3860
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3861
$as_echo "unsupported" >&6; } ;;
 
3862
  *)
 
3863
    CC="$CC $ac_cv_prog_cc_c89"
 
3864
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3865
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
3866
esac
 
3867
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
3868
 
 
3869
fi
 
3870
 
 
3871
ac_ext=cpp
 
3872
ac_cpp='$CXXCPP $CPPFLAGS'
 
3873
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3874
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3875
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
3876
 
 
3877
depcc="$CC"   am_compiler_list=
 
3878
 
 
3879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3880
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3881
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
3882
  $as_echo_n "(cached) " >&6
 
3883
else
 
3884
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3885
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3886
  # making bogus files that we don't know about and never remove.  For
 
3887
  # instance it was reported that on HP-UX the gcc test will end up
 
3888
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3889
  # in D'.
 
3890
  mkdir conftest.dir
 
3891
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3892
  # using a relative directory.
 
3893
  cp "$am_depcomp" conftest.dir
 
3894
  cd conftest.dir
 
3895
  # We will build objects and dependencies in a subdirectory because
 
3896
  # it helps to detect inapplicable dependency modes.  For instance
 
3897
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3898
  # side effect of compilation, but ICC will put the dependencies in
 
3899
  # the current directory while Tru64 will put them in the object
 
3900
  # directory.
 
3901
  mkdir sub
 
3902
 
 
3903
  am_cv_CC_dependencies_compiler_type=none
 
3904
  if test "$am_compiler_list" = ""; then
 
3905
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3906
  fi
 
3907
  for depmode in $am_compiler_list; do
 
3908
    # Setup a source with many dependencies, because some compilers
 
3909
    # like to wrap large dependency lists on column 80 (with \), and
 
3910
    # we should not choose a depcomp mode which is confused by this.
 
3911
    #
 
3912
    # We need to recreate these files for each test, as the compiler may
 
3913
    # overwrite some of them when testing with obscure command lines.
 
3914
    # This happens at least with the AIX C compiler.
 
3915
    : > sub/conftest.c
 
3916
    for i in 1 2 3 4 5 6; do
 
3917
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3918
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3919
      # Solaris 8's {/usr,}/bin/sh.
 
3920
      touch sub/conftst$i.h
 
3921
    done
 
3922
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3923
 
 
3924
    case $depmode in
 
3925
    nosideeffect)
 
3926
      # after this tag, mechanisms are not by side-effect, so they'll
 
3927
      # only be used when explicitly requested
 
3928
      if test "x$enable_dependency_tracking" = xyes; then
 
3929
        continue
 
3930
      else
 
3931
        break
 
3932
      fi
 
3933
      ;;
 
3934
    none) break ;;
 
3935
    esac
 
3936
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3937
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3938
    # handle `-M -o', and we need to detect this.
 
3939
    if depmode=$depmode \
 
3940
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3941
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3942
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3943
         >/dev/null 2>conftest.err &&
 
3944
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3945
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3946
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
3947
      # icc doesn't choke on unknown options, it will just issue warnings
 
3948
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3949
      # that says an option was ignored or not supported.
 
3950
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3951
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3952
      # The diagnosis changed in icc 8.0:
 
3953
      #   icc: Command line remark: option '-MP' not supported
 
3954
      if (grep 'ignoring option' conftest.err ||
 
3955
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3956
        am_cv_CC_dependencies_compiler_type=$depmode
 
3957
        break
 
3958
      fi
 
3959
    fi
 
3960
  done
 
3961
 
 
3962
  cd ..
 
3963
  rm -rf conftest.dir
 
3964
else
 
3965
  am_cv_CC_dependencies_compiler_type=none
 
3966
fi
 
3967
 
 
3968
fi
 
3969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3970
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
3971
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
3972
 
 
3973
 
 
3974
 
 
3975
if
 
3976
  test "x$enable_dependency_tracking" != xno \
 
3977
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
3978
  am__fastdepCC_TRUE=
 
3979
  am__fastdepCC_FALSE='#'
 
3980
else
 
3981
  am__fastdepCC_TRUE='#'
 
3982
  am__fastdepCC_FALSE=
 
3983
fi
 
3984
 
 
3985
 
 
3986
ac_ext=c
 
3987
ac_cpp='$CPP $CPPFLAGS'
 
3988
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3989
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3990
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3991
if test -n "$ac_tool_prefix"; then
 
3992
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
3993
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
3994
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3995
$as_echo_n "checking for $ac_word... " >&6; }
 
3996
if ${ac_cv_prog_CC+:} false; then :
 
3997
  $as_echo_n "(cached) " >&6
 
3998
else
 
3999
  if test -n "$CC"; then
 
4000
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4001
else
 
4002
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4003
for as_dir in $PATH
 
4004
do
 
4005
  IFS=$as_save_IFS
 
4006
  test -z "$as_dir" && as_dir=.
 
4007
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4008
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4009
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
4010
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4011
    break 2
 
4012
  fi
 
4013
done
 
4014
  done
 
4015
IFS=$as_save_IFS
 
4016
 
 
4017
fi
 
4018
fi
 
4019
CC=$ac_cv_prog_CC
 
4020
if test -n "$CC"; then
 
4021
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4022
$as_echo "$CC" >&6; }
 
4023
else
 
4024
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4025
$as_echo "no" >&6; }
 
4026
fi
 
4027
 
 
4028
 
 
4029
fi
 
4030
if test -z "$ac_cv_prog_CC"; then
 
4031
  ac_ct_CC=$CC
 
4032
  # Extract the first word of "gcc", so it can be a program name with args.
 
4033
set dummy gcc; ac_word=$2
 
4034
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4035
$as_echo_n "checking for $ac_word... " >&6; }
 
4036
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
4037
  $as_echo_n "(cached) " >&6
 
4038
else
 
4039
  if test -n "$ac_ct_CC"; then
 
4040
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4041
else
 
4042
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4043
for as_dir in $PATH
 
4044
do
 
4045
  IFS=$as_save_IFS
 
4046
  test -z "$as_dir" && as_dir=.
 
4047
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4048
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4049
    ac_cv_prog_ac_ct_CC="gcc"
 
4050
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4051
    break 2
 
4052
  fi
 
4053
done
 
4054
  done
 
4055
IFS=$as_save_IFS
 
4056
 
 
4057
fi
 
4058
fi
 
4059
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4060
if test -n "$ac_ct_CC"; then
 
4061
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4062
$as_echo "$ac_ct_CC" >&6; }
 
4063
else
 
4064
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4065
$as_echo "no" >&6; }
 
4066
fi
 
4067
 
 
4068
  if test "x$ac_ct_CC" = x; then
 
4069
    CC=""
 
4070
  else
 
4071
    case $cross_compiling:$ac_tool_warned in
 
4072
yes:)
 
4073
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4074
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4075
ac_tool_warned=yes ;;
 
4076
esac
 
4077
    CC=$ac_ct_CC
 
4078
  fi
 
4079
else
 
4080
  CC="$ac_cv_prog_CC"
 
4081
fi
 
4082
 
 
4083
if test -z "$CC"; then
 
4084
          if test -n "$ac_tool_prefix"; then
 
4085
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
4086
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
4087
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4088
$as_echo_n "checking for $ac_word... " >&6; }
 
4089
if ${ac_cv_prog_CC+:} false; then :
 
4090
  $as_echo_n "(cached) " >&6
 
4091
else
 
4092
  if test -n "$CC"; then
 
4093
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4094
else
 
4095
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4096
for as_dir in $PATH
 
4097
do
 
4098
  IFS=$as_save_IFS
 
4099
  test -z "$as_dir" && as_dir=.
 
4100
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4101
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4102
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
4103
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4104
    break 2
 
4105
  fi
 
4106
done
 
4107
  done
 
4108
IFS=$as_save_IFS
 
4109
 
 
4110
fi
 
4111
fi
 
4112
CC=$ac_cv_prog_CC
 
4113
if test -n "$CC"; then
 
4114
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4115
$as_echo "$CC" >&6; }
 
4116
else
 
4117
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4118
$as_echo "no" >&6; }
 
4119
fi
 
4120
 
 
4121
 
 
4122
  fi
 
4123
fi
 
4124
if test -z "$CC"; then
 
4125
  # Extract the first word of "cc", so it can be a program name with args.
 
4126
set dummy cc; ac_word=$2
 
4127
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4128
$as_echo_n "checking for $ac_word... " >&6; }
 
4129
if ${ac_cv_prog_CC+:} false; then :
 
4130
  $as_echo_n "(cached) " >&6
 
4131
else
 
4132
  if test -n "$CC"; then
 
4133
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4134
else
 
4135
  ac_prog_rejected=no
 
4136
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4137
for as_dir in $PATH
 
4138
do
 
4139
  IFS=$as_save_IFS
 
4140
  test -z "$as_dir" && as_dir=.
 
4141
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4142
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4143
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
4144
       ac_prog_rejected=yes
 
4145
       continue
 
4146
     fi
 
4147
    ac_cv_prog_CC="cc"
 
4148
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4149
    break 2
 
4150
  fi
 
4151
done
 
4152
  done
 
4153
IFS=$as_save_IFS
 
4154
 
 
4155
if test $ac_prog_rejected = yes; then
 
4156
  # We found a bogon in the path, so make sure we never use it.
 
4157
  set dummy $ac_cv_prog_CC
 
4158
  shift
 
4159
  if test $# != 0; then
 
4160
    # We chose a different compiler from the bogus one.
 
4161
    # However, it has the same basename, so the bogon will be chosen
 
4162
    # first if we set CC to just the basename; use the full file name.
 
4163
    shift
 
4164
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
4165
  fi
 
4166
fi
 
4167
fi
 
4168
fi
 
4169
CC=$ac_cv_prog_CC
 
4170
if test -n "$CC"; then
 
4171
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4172
$as_echo "$CC" >&6; }
 
4173
else
 
4174
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4175
$as_echo "no" >&6; }
 
4176
fi
 
4177
 
 
4178
 
 
4179
fi
 
4180
if test -z "$CC"; then
 
4181
  if test -n "$ac_tool_prefix"; then
 
4182
  for ac_prog in cl.exe
 
4183
  do
 
4184
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4185
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4186
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4187
$as_echo_n "checking for $ac_word... " >&6; }
 
4188
if ${ac_cv_prog_CC+:} false; then :
 
4189
  $as_echo_n "(cached) " >&6
 
4190
else
 
4191
  if test -n "$CC"; then
 
4192
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4193
else
 
4194
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4195
for as_dir in $PATH
 
4196
do
 
4197
  IFS=$as_save_IFS
 
4198
  test -z "$as_dir" && as_dir=.
 
4199
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4200
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4201
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
4202
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4203
    break 2
 
4204
  fi
 
4205
done
 
4206
  done
 
4207
IFS=$as_save_IFS
 
4208
 
 
4209
fi
 
4210
fi
 
4211
CC=$ac_cv_prog_CC
 
4212
if test -n "$CC"; then
 
4213
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4214
$as_echo "$CC" >&6; }
 
4215
else
 
4216
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4217
$as_echo "no" >&6; }
 
4218
fi
 
4219
 
 
4220
 
 
4221
    test -n "$CC" && break
 
4222
  done
 
4223
fi
 
4224
if test -z "$CC"; then
 
4225
  ac_ct_CC=$CC
 
4226
  for ac_prog in cl.exe
 
4227
do
 
4228
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4229
set dummy $ac_prog; ac_word=$2
 
4230
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4231
$as_echo_n "checking for $ac_word... " >&6; }
 
4232
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
4233
  $as_echo_n "(cached) " >&6
 
4234
else
 
4235
  if test -n "$ac_ct_CC"; then
 
4236
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4237
else
 
4238
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4239
for as_dir in $PATH
 
4240
do
 
4241
  IFS=$as_save_IFS
 
4242
  test -z "$as_dir" && as_dir=.
 
4243
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4244
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4245
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
4246
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4247
    break 2
 
4248
  fi
 
4249
done
 
4250
  done
 
4251
IFS=$as_save_IFS
 
4252
 
 
4253
fi
 
4254
fi
 
4255
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4256
if test -n "$ac_ct_CC"; then
 
4257
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4258
$as_echo "$ac_ct_CC" >&6; }
 
4259
else
 
4260
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4261
$as_echo "no" >&6; }
 
4262
fi
 
4263
 
 
4264
 
 
4265
  test -n "$ac_ct_CC" && break
 
4266
done
 
4267
 
 
4268
  if test "x$ac_ct_CC" = x; then
 
4269
    CC=""
 
4270
  else
 
4271
    case $cross_compiling:$ac_tool_warned in
 
4272
yes:)
 
4273
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4274
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4275
ac_tool_warned=yes ;;
 
4276
esac
 
4277
    CC=$ac_ct_CC
 
4278
  fi
 
4279
fi
 
4280
 
 
4281
fi
 
4282
 
 
4283
 
 
4284
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4285
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4286
as_fn_error $? "no acceptable C compiler found in \$PATH
 
4287
See \`config.log' for more details" "$LINENO" 5; }
 
4288
 
 
4289
# Provide some information about the compiler.
 
4290
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
4291
set X $ac_compile
 
4292
ac_compiler=$2
 
4293
for ac_option in --version -v -V -qversion; do
 
4294
  { { ac_try="$ac_compiler $ac_option >&5"
 
4295
case "(($ac_try" in
 
4296
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4297
  *) ac_try_echo=$ac_try;;
 
4298
esac
 
4299
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4300
$as_echo "$ac_try_echo"; } >&5
 
4301
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4302
  ac_status=$?
 
4303
  if test -s conftest.err; then
 
4304
    sed '10a\
 
4305
... rest of stderr output deleted ...
 
4306
         10q' conftest.err >conftest.er1
 
4307
    cat conftest.er1 >&5
 
4308
  fi
 
4309
  rm -f conftest.er1 conftest.err
 
4310
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4311
  test $ac_status = 0; }
 
4312
done
 
4313
 
 
4314
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
4315
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
4316
if ${ac_cv_c_compiler_gnu+:} false; then :
 
4317
  $as_echo_n "(cached) " >&6
 
4318
else
 
4319
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4320
/* end confdefs.h.  */
 
4321
 
 
4322
int
 
4323
main ()
 
4324
{
 
4325
#ifndef __GNUC__
 
4326
       choke me
 
4327
#endif
 
4328
 
 
4329
  ;
 
4330
  return 0;
 
4331
}
 
4332
_ACEOF
 
4333
if ac_fn_c_try_compile "$LINENO"; then :
 
4334
  ac_compiler_gnu=yes
 
4335
else
 
4336
  ac_compiler_gnu=no
 
4337
fi
 
4338
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4339
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
4340
 
 
4341
fi
 
4342
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
4343
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
4344
if test $ac_compiler_gnu = yes; then
 
4345
  GCC=yes
 
4346
else
 
4347
  GCC=
 
4348
fi
 
4349
ac_test_CFLAGS=${CFLAGS+set}
 
4350
ac_save_CFLAGS=$CFLAGS
 
4351
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
4352
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
4353
if ${ac_cv_prog_cc_g+:} false; then :
 
4354
  $as_echo_n "(cached) " >&6
 
4355
else
 
4356
  ac_save_c_werror_flag=$ac_c_werror_flag
 
4357
   ac_c_werror_flag=yes
 
4358
   ac_cv_prog_cc_g=no
 
4359
   CFLAGS="-g"
 
4360
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4361
/* end confdefs.h.  */
 
4362
 
 
4363
int
 
4364
main ()
 
4365
{
 
4366
 
 
4367
  ;
 
4368
  return 0;
 
4369
}
 
4370
_ACEOF
 
4371
if ac_fn_c_try_compile "$LINENO"; then :
 
4372
  ac_cv_prog_cc_g=yes
 
4373
else
 
4374
  CFLAGS=""
 
4375
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4376
/* end confdefs.h.  */
 
4377
 
 
4378
int
 
4379
main ()
 
4380
{
 
4381
 
 
4382
  ;
 
4383
  return 0;
 
4384
}
 
4385
_ACEOF
 
4386
if ac_fn_c_try_compile "$LINENO"; then :
 
4387
 
 
4388
else
 
4389
  ac_c_werror_flag=$ac_save_c_werror_flag
 
4390
         CFLAGS="-g"
 
4391
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4392
/* end confdefs.h.  */
 
4393
 
 
4394
int
 
4395
main ()
 
4396
{
 
4397
 
 
4398
  ;
 
4399
  return 0;
 
4400
}
 
4401
_ACEOF
 
4402
if ac_fn_c_try_compile "$LINENO"; then :
 
4403
  ac_cv_prog_cc_g=yes
 
4404
fi
 
4405
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4406
fi
 
4407
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4408
fi
 
4409
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4410
   ac_c_werror_flag=$ac_save_c_werror_flag
 
4411
fi
 
4412
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
4413
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
4414
if test "$ac_test_CFLAGS" = set; then
 
4415
  CFLAGS=$ac_save_CFLAGS
 
4416
elif test $ac_cv_prog_cc_g = yes; then
 
4417
  if test "$GCC" = yes; then
 
4418
    CFLAGS="-g -O2"
 
4419
  else
 
4420
    CFLAGS="-g"
 
4421
  fi
 
4422
else
 
4423
  if test "$GCC" = yes; then
 
4424
    CFLAGS="-O2"
 
4425
  else
 
4426
    CFLAGS=
 
4427
  fi
 
4428
fi
 
4429
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
4430
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
4431
if ${ac_cv_prog_cc_c89+:} false; then :
 
4432
  $as_echo_n "(cached) " >&6
 
4433
else
 
4434
  ac_cv_prog_cc_c89=no
 
4435
ac_save_CC=$CC
 
4436
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4437
/* end confdefs.h.  */
 
4438
#include <stdarg.h>
 
4439
#include <stdio.h>
 
4440
struct stat;
 
4441
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
4442
struct buf { int x; };
 
4443
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
4444
static char *e (p, i)
 
4445
     char **p;
 
4446
     int i;
 
4447
{
 
4448
  return p[i];
 
4449
}
 
4450
static char *f (char * (*g) (char **, int), char **p, ...)
 
4451
{
 
4452
  char *s;
 
4453
  va_list v;
 
4454
  va_start (v,p);
 
4455
  s = g (p, va_arg (v,int));
 
4456
  va_end (v);
 
4457
  return s;
 
4458
}
 
4459
 
 
4460
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
4461
   function prototypes and stuff, but not '\xHH' hex character constants.
 
4462
   These don't provoke an error unfortunately, instead are silently treated
 
4463
   as 'x'.  The following induces an error, until -std is added to get
 
4464
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
4465
   array size at least.  It's necessary to write '\x00'==0 to get something
 
4466
   that's true only with -std.  */
 
4467
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
4468
 
 
4469
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
4470
   inside strings and character constants.  */
 
4471
#define FOO(x) 'x'
 
4472
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
4473
 
 
4474
int test (int i, double x);
 
4475
struct s1 {int (*f) (int a);};
 
4476
struct s2 {int (*f) (double a);};
 
4477
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
4478
int argc;
 
4479
char **argv;
 
4480
int
 
4481
main ()
 
4482
{
 
4483
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
4484
  ;
 
4485
  return 0;
 
4486
}
 
4487
_ACEOF
 
4488
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
4489
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
4490
do
 
4491
  CC="$ac_save_CC $ac_arg"
 
4492
  if ac_fn_c_try_compile "$LINENO"; then :
 
4493
  ac_cv_prog_cc_c89=$ac_arg
 
4494
fi
 
4495
rm -f core conftest.err conftest.$ac_objext
 
4496
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
4497
done
 
4498
rm -f conftest.$ac_ext
 
4499
CC=$ac_save_CC
 
4500
 
 
4501
fi
 
4502
# AC_CACHE_VAL
 
4503
case "x$ac_cv_prog_cc_c89" in
 
4504
  x)
 
4505
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
4506
$as_echo "none needed" >&6; } ;;
 
4507
  xno)
 
4508
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
4509
$as_echo "unsupported" >&6; } ;;
 
4510
  *)
 
4511
    CC="$CC $ac_cv_prog_cc_c89"
 
4512
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
4513
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
4514
esac
 
4515
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
4516
 
 
4517
fi
 
4518
 
 
4519
ac_ext=cpp
 
4520
ac_cpp='$CXXCPP $CPPFLAGS'
 
4521
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4522
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4523
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
4524
 
 
4525
depcc="$CC"   am_compiler_list=
 
4526
 
 
4527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4528
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4529
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
4530
  $as_echo_n "(cached) " >&6
 
4531
else
 
4532
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
4533
  # We make a subdir and do the tests there.  Otherwise we can end up
 
4534
  # making bogus files that we don't know about and never remove.  For
 
4535
  # instance it was reported that on HP-UX the gcc test will end up
 
4536
  # making a dummy file named `D' -- because `-MD' means `put the output
 
4537
  # in D'.
 
4538
  mkdir conftest.dir
 
4539
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
4540
  # using a relative directory.
 
4541
  cp "$am_depcomp" conftest.dir
 
4542
  cd conftest.dir
 
4543
  # We will build objects and dependencies in a subdirectory because
 
4544
  # it helps to detect inapplicable dependency modes.  For instance
 
4545
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
4546
  # side effect of compilation, but ICC will put the dependencies in
 
4547
  # the current directory while Tru64 will put them in the object
 
4548
  # directory.
 
4549
  mkdir sub
 
4550
 
 
4551
  am_cv_CC_dependencies_compiler_type=none
 
4552
  if test "$am_compiler_list" = ""; then
 
4553
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
4554
  fi
 
4555
  for depmode in $am_compiler_list; do
 
4556
    # Setup a source with many dependencies, because some compilers
 
4557
    # like to wrap large dependency lists on column 80 (with \), and
 
4558
    # we should not choose a depcomp mode which is confused by this.
 
4559
    #
 
4560
    # We need to recreate these files for each test, as the compiler may
 
4561
    # overwrite some of them when testing with obscure command lines.
 
4562
    # This happens at least with the AIX C compiler.
 
4563
    : > sub/conftest.c
 
4564
    for i in 1 2 3 4 5 6; do
 
4565
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
4566
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
4567
      # Solaris 8's {/usr,}/bin/sh.
 
4568
      touch sub/conftst$i.h
 
4569
    done
 
4570
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
4571
 
 
4572
    case $depmode in
 
4573
    nosideeffect)
 
4574
      # after this tag, mechanisms are not by side-effect, so they'll
 
4575
      # only be used when explicitly requested
 
4576
      if test "x$enable_dependency_tracking" = xyes; then
 
4577
        continue
 
4578
      else
 
4579
        break
 
4580
      fi
 
4581
      ;;
 
4582
    none) break ;;
 
4583
    esac
 
4584
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4585
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4586
    # handle `-M -o', and we need to detect this.
 
4587
    if depmode=$depmode \
 
4588
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4589
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
4590
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4591
         >/dev/null 2>conftest.err &&
 
4592
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
4593
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4594
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
4595
      # icc doesn't choke on unknown options, it will just issue warnings
 
4596
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4597
      # that says an option was ignored or not supported.
 
4598
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4599
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4600
      # The diagnosis changed in icc 8.0:
 
4601
      #   icc: Command line remark: option '-MP' not supported
 
4602
      if (grep 'ignoring option' conftest.err ||
 
4603
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
4604
        am_cv_CC_dependencies_compiler_type=$depmode
 
4605
        break
 
4606
      fi
 
4607
    fi
 
4608
  done
 
4609
 
 
4610
  cd ..
 
4611
  rm -rf conftest.dir
 
4612
else
 
4613
  am_cv_CC_dependencies_compiler_type=none
 
4614
fi
 
4615
 
 
4616
fi
 
4617
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4618
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
4619
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
4620
 
 
4621
 
 
4622
 
 
4623
if
 
4624
  test "x$enable_dependency_tracking" != xno \
 
4625
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
4626
  am__fastdepCC_TRUE=
 
4627
  am__fastdepCC_FALSE='#'
 
4628
else
 
4629
  am__fastdepCC_TRUE='#'
 
4630
  am__fastdepCC_FALSE=
 
4631
fi
 
4632
 
 
4633
 
 
4634
 
 
4635
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
 
4636
 
 
4637
ac_ext=cpp
 
4638
ac_cpp='$CXXCPP $CPPFLAGS'
 
4639
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4640
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4641
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
4642
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 
4643
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
2172
4644
if test -z "$CXXCPP"; then
2173
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
2174
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4645
  if ${ac_cv_prog_CXXCPP+:} false; then :
 
4646
  $as_echo_n "(cached) " >&6
2175
4647
else
2176
4648
      # Double quotes because CXXCPP needs to be expanded
2177
4649
    for CXXCPP in "$CXX -E" "/lib/cpp"
2181
4653
do
2182
4654
  # Use a header file that comes with gcc, so configuring glibc
2183
4655
  # with a fresh cross-compiler works.
 
4656
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4657
  # <limits.h> exists even on freestanding compilers.
2184
4658
  # On the NeXT, cc -E runs the code through the compiler's parser,
2185
4659
  # not just through cpp. "Syntax error" is here to catch this case.
2186
 
  cat >conftest.$ac_ext <<_ACEOF
2187
 
#line $LINENO "configure"
2188
 
#include "confdefs.h"
2189
 
#include <assert.h>
2190
 
                     Syntax error
 
4660
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4661
/* end confdefs.h.  */
 
4662
#ifdef __STDC__
 
4663
# include <limits.h>
 
4664
#else
 
4665
# include <assert.h>
 
4666
#endif
 
4667
                     Syntax error
2191
4668
_ACEOF
2192
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2193
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2194
 
  ac_status=$?
2195
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
2196
 
  rm -f conftest.er1
2197
 
  cat conftest.err >&5
2198
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2199
 
  (exit $ac_status); } >/dev/null; then
2200
 
  if test -s conftest.err; then
2201
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
2202
 
  else
2203
 
    ac_cpp_err=
2204
 
  fi
2205
 
else
2206
 
  ac_cpp_err=yes
2207
 
fi
2208
 
if test -z "$ac_cpp_err"; then
2209
 
  :
2210
 
else
2211
 
  echo "$as_me: failed program was:" >&5
2212
 
  cat conftest.$ac_ext >&5
 
4669
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
4670
 
 
4671
else
2213
4672
  # Broken: fails on valid input.
2214
4673
continue
2215
4674
fi
2216
 
rm -f conftest.err conftest.$ac_ext
 
4675
rm -f conftest.err conftest.i conftest.$ac_ext
2217
4676
 
2218
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4677
  # OK, works on sane cases.  Now check whether nonexistent headers
2219
4678
  # can be detected and how.
2220
 
  cat >conftest.$ac_ext <<_ACEOF
2221
 
#line $LINENO "configure"
2222
 
#include "confdefs.h"
 
4679
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4680
/* end confdefs.h.  */
2223
4681
#include <ac_nonexistent.h>
2224
4682
_ACEOF
2225
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2226
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2227
 
  ac_status=$?
2228
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
2229
 
  rm -f conftest.er1
2230
 
  cat conftest.err >&5
2231
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2232
 
  (exit $ac_status); } >/dev/null; then
2233
 
  if test -s conftest.err; then
2234
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
2235
 
  else
2236
 
    ac_cpp_err=
2237
 
  fi
2238
 
else
2239
 
  ac_cpp_err=yes
2240
 
fi
2241
 
if test -z "$ac_cpp_err"; then
 
4683
if ac_fn_cxx_try_cpp "$LINENO"; then :
2242
4684
  # Broken: success on invalid input.
2243
4685
continue
2244
4686
else
2245
 
  echo "$as_me: failed program was:" >&5
2246
 
  cat conftest.$ac_ext >&5
2247
4687
  # Passes both tests.
2248
4688
ac_preproc_ok=:
2249
4689
break
2250
4690
fi
2251
 
rm -f conftest.err conftest.$ac_ext
 
4691
rm -f conftest.err conftest.i conftest.$ac_ext
2252
4692
 
2253
4693
done
2254
4694
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2255
 
rm -f conftest.err conftest.$ac_ext
2256
 
if $ac_preproc_ok; then
 
4695
rm -f conftest.i conftest.err conftest.$ac_ext
 
4696
if $ac_preproc_ok; then :
2257
4697
  break
2258
4698
fi
2259
4699
 
2265
4705
else
2266
4706
  ac_cv_prog_CXXCPP=$CXXCPP
2267
4707
fi
2268
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
2269
 
echo "${ECHO_T}$CXXCPP" >&6
 
4708
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
 
4709
$as_echo "$CXXCPP" >&6; }
2270
4710
ac_preproc_ok=false
2271
4711
for ac_cxx_preproc_warn_flag in '' yes
2272
4712
do
2273
4713
  # Use a header file that comes with gcc, so configuring glibc
2274
4714
  # with a fresh cross-compiler works.
 
4715
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4716
  # <limits.h> exists even on freestanding compilers.
2275
4717
  # On the NeXT, cc -E runs the code through the compiler's parser,
2276
4718
  # not just through cpp. "Syntax error" is here to catch this case.
2277
 
  cat >conftest.$ac_ext <<_ACEOF
2278
 
#line $LINENO "configure"
2279
 
#include "confdefs.h"
2280
 
#include <assert.h>
2281
 
                     Syntax error
 
4719
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4720
/* end confdefs.h.  */
 
4721
#ifdef __STDC__
 
4722
# include <limits.h>
 
4723
#else
 
4724
# include <assert.h>
 
4725
#endif
 
4726
                     Syntax error
2282
4727
_ACEOF
2283
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2284
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2285
 
  ac_status=$?
2286
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
2287
 
  rm -f conftest.er1
2288
 
  cat conftest.err >&5
2289
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2290
 
  (exit $ac_status); } >/dev/null; then
2291
 
  if test -s conftest.err; then
2292
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
2293
 
  else
2294
 
    ac_cpp_err=
2295
 
  fi
2296
 
else
2297
 
  ac_cpp_err=yes
2298
 
fi
2299
 
if test -z "$ac_cpp_err"; then
2300
 
  :
2301
 
else
2302
 
  echo "$as_me: failed program was:" >&5
2303
 
  cat conftest.$ac_ext >&5
 
4728
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
4729
 
 
4730
else
2304
4731
  # Broken: fails on valid input.
2305
4732
continue
2306
4733
fi
2307
 
rm -f conftest.err conftest.$ac_ext
 
4734
rm -f conftest.err conftest.i conftest.$ac_ext
2308
4735
 
2309
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4736
  # OK, works on sane cases.  Now check whether nonexistent headers
2310
4737
  # can be detected and how.
2311
 
  cat >conftest.$ac_ext <<_ACEOF
2312
 
#line $LINENO "configure"
2313
 
#include "confdefs.h"
 
4738
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4739
/* end confdefs.h.  */
2314
4740
#include <ac_nonexistent.h>
2315
4741
_ACEOF
2316
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2317
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2318
 
  ac_status=$?
2319
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
2320
 
  rm -f conftest.er1
2321
 
  cat conftest.err >&5
2322
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323
 
  (exit $ac_status); } >/dev/null; then
2324
 
  if test -s conftest.err; then
2325
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
2326
 
  else
2327
 
    ac_cpp_err=
2328
 
  fi
2329
 
else
2330
 
  ac_cpp_err=yes
2331
 
fi
2332
 
if test -z "$ac_cpp_err"; then
 
4742
if ac_fn_cxx_try_cpp "$LINENO"; then :
2333
4743
  # Broken: success on invalid input.
2334
4744
continue
2335
4745
else
2336
 
  echo "$as_me: failed program was:" >&5
2337
 
  cat conftest.$ac_ext >&5
2338
4746
  # Passes both tests.
2339
4747
ac_preproc_ok=:
2340
4748
break
2341
4749
fi
2342
 
rm -f conftest.err conftest.$ac_ext
 
4750
rm -f conftest.err conftest.i conftest.$ac_ext
2343
4751
 
2344
4752
done
2345
4753
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2346
 
rm -f conftest.err conftest.$ac_ext
2347
 
if $ac_preproc_ok; then
2348
 
  :
 
4754
rm -f conftest.i conftest.err conftest.$ac_ext
 
4755
if $ac_preproc_ok; then :
 
4756
 
2349
4757
else
2350
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5
2351
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;}
2352
 
   { (exit 1); exit 1; }; }
 
4758
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4759
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4760
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
 
4761
See \`config.log' for more details" "$LINENO" 5; }
2353
4762
fi
2354
4763
 
2355
 
ac_ext=cc
 
4764
ac_ext=cpp
2356
4765
ac_cpp='$CXXCPP $CPPFLAGS'
2357
4766
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2358
4767
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2359
4768
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2360
4769
 
2361
4770
 
2362
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2363
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2364
 
if test "${ac_cv_header_stdc+set}" = set; then
2365
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2366
 
else
2367
 
  cat >conftest.$ac_ext <<_ACEOF
2368
 
#line $LINENO "configure"
2369
 
#include "confdefs.h"
 
4771
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
4772
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4773
if ${ac_cv_path_GREP+:} false; then :
 
4774
  $as_echo_n "(cached) " >&6
 
4775
else
 
4776
  if test -z "$GREP"; then
 
4777
  ac_path_GREP_found=false
 
4778
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4779
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4780
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4781
do
 
4782
  IFS=$as_save_IFS
 
4783
  test -z "$as_dir" && as_dir=.
 
4784
    for ac_prog in grep ggrep; do
 
4785
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4786
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4787
      as_fn_executable_p "$ac_path_GREP" || continue
 
4788
# Check for GNU ac_path_GREP and select it if it is found.
 
4789
  # Check for GNU $ac_path_GREP
 
4790
case `"$ac_path_GREP" --version 2>&1` in
 
4791
*GNU*)
 
4792
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4793
*)
 
4794
  ac_count=0
 
4795
  $as_echo_n 0123456789 >"conftest.in"
 
4796
  while :
 
4797
  do
 
4798
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4799
    mv "conftest.tmp" "conftest.in"
 
4800
    cp "conftest.in" "conftest.nl"
 
4801
    $as_echo 'GREP' >> "conftest.nl"
 
4802
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4803
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4804
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4805
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4806
      # Best one so far, save it but keep looking for a better one
 
4807
      ac_cv_path_GREP="$ac_path_GREP"
 
4808
      ac_path_GREP_max=$ac_count
 
4809
    fi
 
4810
    # 10*(2^10) chars as input seems more than enough
 
4811
    test $ac_count -gt 10 && break
 
4812
  done
 
4813
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4814
esac
 
4815
 
 
4816
      $ac_path_GREP_found && break 3
 
4817
    done
 
4818
  done
 
4819
  done
 
4820
IFS=$as_save_IFS
 
4821
  if test -z "$ac_cv_path_GREP"; then
 
4822
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4823
  fi
 
4824
else
 
4825
  ac_cv_path_GREP=$GREP
 
4826
fi
 
4827
 
 
4828
fi
 
4829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
4830
$as_echo "$ac_cv_path_GREP" >&6; }
 
4831
 GREP="$ac_cv_path_GREP"
 
4832
 
 
4833
 
 
4834
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
4835
$as_echo_n "checking for egrep... " >&6; }
 
4836
if ${ac_cv_path_EGREP+:} false; then :
 
4837
  $as_echo_n "(cached) " >&6
 
4838
else
 
4839
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4840
   then ac_cv_path_EGREP="$GREP -E"
 
4841
   else
 
4842
     if test -z "$EGREP"; then
 
4843
  ac_path_EGREP_found=false
 
4844
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4845
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4846
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4847
do
 
4848
  IFS=$as_save_IFS
 
4849
  test -z "$as_dir" && as_dir=.
 
4850
    for ac_prog in egrep; do
 
4851
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4852
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4853
      as_fn_executable_p "$ac_path_EGREP" || continue
 
4854
# Check for GNU ac_path_EGREP and select it if it is found.
 
4855
  # Check for GNU $ac_path_EGREP
 
4856
case `"$ac_path_EGREP" --version 2>&1` in
 
4857
*GNU*)
 
4858
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4859
*)
 
4860
  ac_count=0
 
4861
  $as_echo_n 0123456789 >"conftest.in"
 
4862
  while :
 
4863
  do
 
4864
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4865
    mv "conftest.tmp" "conftest.in"
 
4866
    cp "conftest.in" "conftest.nl"
 
4867
    $as_echo 'EGREP' >> "conftest.nl"
 
4868
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4869
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4870
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4871
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4872
      # Best one so far, save it but keep looking for a better one
 
4873
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4874
      ac_path_EGREP_max=$ac_count
 
4875
    fi
 
4876
    # 10*(2^10) chars as input seems more than enough
 
4877
    test $ac_count -gt 10 && break
 
4878
  done
 
4879
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4880
esac
 
4881
 
 
4882
      $ac_path_EGREP_found && break 3
 
4883
    done
 
4884
  done
 
4885
  done
 
4886
IFS=$as_save_IFS
 
4887
  if test -z "$ac_cv_path_EGREP"; then
 
4888
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4889
  fi
 
4890
else
 
4891
  ac_cv_path_EGREP=$EGREP
 
4892
fi
 
4893
 
 
4894
   fi
 
4895
fi
 
4896
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
4897
$as_echo "$ac_cv_path_EGREP" >&6; }
 
4898
 EGREP="$ac_cv_path_EGREP"
 
4899
 
 
4900
 
 
4901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
4902
$as_echo_n "checking for ANSI C header files... " >&6; }
 
4903
if ${ac_cv_header_stdc+:} false; then :
 
4904
  $as_echo_n "(cached) " >&6
 
4905
else
 
4906
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4907
/* end confdefs.h.  */
2370
4908
#include <stdlib.h>
2371
4909
#include <stdarg.h>
2372
4910
#include <string.h>
2373
4911
#include <float.h>
2374
4912
 
 
4913
int
 
4914
main ()
 
4915
{
 
4916
 
 
4917
  ;
 
4918
  return 0;
 
4919
}
2375
4920
_ACEOF
2376
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2377
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2378
 
  ac_status=$?
2379
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
2380
 
  rm -f conftest.er1
2381
 
  cat conftest.err >&5
2382
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383
 
  (exit $ac_status); } >/dev/null; then
2384
 
  if test -s conftest.err; then
2385
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
2386
 
  else
2387
 
    ac_cpp_err=
2388
 
  fi
2389
 
else
2390
 
  ac_cpp_err=yes
2391
 
fi
2392
 
if test -z "$ac_cpp_err"; then
 
4921
if ac_fn_cxx_try_compile "$LINENO"; then :
2393
4922
  ac_cv_header_stdc=yes
2394
4923
else
2395
 
  echo "$as_me: failed program was:" >&5
2396
 
  cat conftest.$ac_ext >&5
2397
4924
  ac_cv_header_stdc=no
2398
4925
fi
2399
 
rm -f conftest.err conftest.$ac_ext
 
4926
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2400
4927
 
2401
4928
if test $ac_cv_header_stdc = yes; then
2402
4929
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2403
 
  cat >conftest.$ac_ext <<_ACEOF
2404
 
#line $LINENO "configure"
2405
 
#include "confdefs.h"
 
4930
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4931
/* end confdefs.h.  */
2406
4932
#include <string.h>
2407
4933
 
2408
4934
_ACEOF
2409
4935
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2410
 
  egrep "memchr" >/dev/null 2>&1; then
2411
 
  :
 
4936
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4937
 
2412
4938
else
2413
4939
  ac_cv_header_stdc=no
2414
4940
fi
2418
4944
 
2419
4945
if test $ac_cv_header_stdc = yes; then
2420
4946
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2421
 
  cat >conftest.$ac_ext <<_ACEOF
2422
 
#line $LINENO "configure"
2423
 
#include "confdefs.h"
 
4947
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4948
/* end confdefs.h.  */
2424
4949
#include <stdlib.h>
2425
4950
 
2426
4951
_ACEOF
2427
4952
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2428
 
  egrep "free" >/dev/null 2>&1; then
2429
 
  :
 
4953
  $EGREP "free" >/dev/null 2>&1; then :
 
4954
 
2430
4955
else
2431
4956
  ac_cv_header_stdc=no
2432
4957
fi
2436
4961
 
2437
4962
if test $ac_cv_header_stdc = yes; then
2438
4963
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2439
 
  if test "$cross_compiling" = yes; then
 
4964
  if test "$cross_compiling" = yes; then :
2440
4965
  :
2441
4966
else
2442
 
  cat >conftest.$ac_ext <<_ACEOF
2443
 
#line $LINENO "configure"
2444
 
#include "confdefs.h"
 
4967
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4968
/* end confdefs.h.  */
2445
4969
#include <ctype.h>
 
4970
#include <stdlib.h>
2446
4971
#if ((' ' & 0x0FF) == 0x020)
2447
4972
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2448
4973
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2449
4974
#else
2450
 
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2451
 
                     || ('j' <= (c) && (c) <= 'r') \
2452
 
                     || ('s' <= (c) && (c) <= 'z'))
 
4975
# define ISLOWER(c) \
 
4976
                   (('a' <= (c) && (c) <= 'i') \
 
4977
                     || ('j' <= (c) && (c) <= 'r') \
 
4978
                     || ('s' <= (c) && (c) <= 'z'))
2453
4979
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2454
4980
#endif
2455
4981
 
2460
4986
  int i;
2461
4987
  for (i = 0; i < 256; i++)
2462
4988
    if (XOR (islower (i), ISLOWER (i))
2463
 
        || toupper (i) != TOUPPER (i))
2464
 
      exit(2);
2465
 
  exit (0);
 
4989
        || toupper (i) != TOUPPER (i))
 
4990
      return 2;
 
4991
  return 0;
2466
4992
}
2467
4993
_ACEOF
2468
 
rm -f conftest$ac_exeext
2469
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2470
 
  (eval $ac_link) 2>&5
2471
 
  ac_status=$?
2472
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2473
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2474
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2475
 
  (eval $ac_try) 2>&5
2476
 
  ac_status=$?
2477
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478
 
  (exit $ac_status); }; }; then
2479
 
  :
 
4994
if ac_fn_cxx_try_run "$LINENO"; then :
 
4995
 
2480
4996
else
2481
 
  echo "$as_me: program exited with status $ac_status" >&5
2482
 
echo "$as_me: failed program was:" >&5
2483
 
cat conftest.$ac_ext >&5
2484
 
( exit $ac_status )
2485
 
ac_cv_header_stdc=no
2486
 
fi
2487
 
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2488
 
fi
2489
 
fi
2490
 
fi
2491
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2492
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
4997
  ac_cv_header_stdc=no
 
4998
fi
 
4999
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
5000
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
5001
fi
 
5002
 
 
5003
fi
 
5004
fi
 
5005
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
5006
$as_echo "$ac_cv_header_stdc" >&6; }
2493
5007
if test $ac_cv_header_stdc = yes; then
2494
5008
 
2495
 
cat >>confdefs.h <<\_ACEOF
2496
 
#define STDC_HEADERS 1
2497
 
_ACEOF
2498
 
 
2499
 
fi
2500
 
 
 
5009
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
5010
 
 
5011
fi
 
5012
 
 
5013
CXXFLAGS=$CFLAGS
 
5014
 
 
5015
ac_ext=cpp
 
5016
ac_cpp='$CXXCPP $CPPFLAGS'
 
5017
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5018
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5019
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
5020
if test -z "$CXX"; then
 
5021
  if test -n "$CCC"; then
 
5022
    CXX=$CCC
 
5023
  else
 
5024
    if test -n "$ac_tool_prefix"; then
 
5025
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
5026
  do
 
5027
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5028
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5029
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5030
$as_echo_n "checking for $ac_word... " >&6; }
 
5031
if ${ac_cv_prog_CXX+:} false; then :
 
5032
  $as_echo_n "(cached) " >&6
 
5033
else
 
5034
  if test -n "$CXX"; then
 
5035
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
5036
else
 
5037
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5038
for as_dir in $PATH
 
5039
do
 
5040
  IFS=$as_save_IFS
 
5041
  test -z "$as_dir" && as_dir=.
 
5042
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5043
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5044
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
5045
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5046
    break 2
 
5047
  fi
 
5048
done
 
5049
  done
 
5050
IFS=$as_save_IFS
 
5051
 
 
5052
fi
 
5053
fi
 
5054
CXX=$ac_cv_prog_CXX
 
5055
if test -n "$CXX"; then
 
5056
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
5057
$as_echo "$CXX" >&6; }
 
5058
else
 
5059
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5060
$as_echo "no" >&6; }
 
5061
fi
 
5062
 
 
5063
 
 
5064
    test -n "$CXX" && break
 
5065
  done
 
5066
fi
 
5067
if test -z "$CXX"; then
 
5068
  ac_ct_CXX=$CXX
 
5069
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
5070
do
 
5071
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5072
set dummy $ac_prog; ac_word=$2
 
5073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5074
$as_echo_n "checking for $ac_word... " >&6; }
 
5075
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
 
5076
  $as_echo_n "(cached) " >&6
 
5077
else
 
5078
  if test -n "$ac_ct_CXX"; then
 
5079
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
5080
else
 
5081
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5082
for as_dir in $PATH
 
5083
do
 
5084
  IFS=$as_save_IFS
 
5085
  test -z "$as_dir" && as_dir=.
 
5086
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5087
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5088
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
5089
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5090
    break 2
 
5091
  fi
 
5092
done
 
5093
  done
 
5094
IFS=$as_save_IFS
 
5095
 
 
5096
fi
 
5097
fi
 
5098
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
5099
if test -n "$ac_ct_CXX"; then
 
5100
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
5101
$as_echo "$ac_ct_CXX" >&6; }
 
5102
else
 
5103
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5104
$as_echo "no" >&6; }
 
5105
fi
 
5106
 
 
5107
 
 
5108
  test -n "$ac_ct_CXX" && break
 
5109
done
 
5110
 
 
5111
  if test "x$ac_ct_CXX" = x; then
 
5112
    CXX="g++"
 
5113
  else
 
5114
    case $cross_compiling:$ac_tool_warned in
 
5115
yes:)
 
5116
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5117
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5118
ac_tool_warned=yes ;;
 
5119
esac
 
5120
    CXX=$ac_ct_CXX
 
5121
  fi
 
5122
fi
 
5123
 
 
5124
  fi
 
5125
fi
 
5126
# Provide some information about the compiler.
 
5127
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
5128
set X $ac_compile
 
5129
ac_compiler=$2
 
5130
for ac_option in --version -v -V -qversion; do
 
5131
  { { ac_try="$ac_compiler $ac_option >&5"
 
5132
case "(($ac_try" in
 
5133
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5134
  *) ac_try_echo=$ac_try;;
 
5135
esac
 
5136
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5137
$as_echo "$ac_try_echo"; } >&5
 
5138
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
5139
  ac_status=$?
 
5140
  if test -s conftest.err; then
 
5141
    sed '10a\
 
5142
... rest of stderr output deleted ...
 
5143
         10q' conftest.err >conftest.er1
 
5144
    cat conftest.er1 >&5
 
5145
  fi
 
5146
  rm -f conftest.er1 conftest.err
 
5147
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5148
  test $ac_status = 0; }
 
5149
done
 
5150
 
 
5151
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
5152
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
5153
if ${ac_cv_cxx_compiler_gnu+:} false; then :
 
5154
  $as_echo_n "(cached) " >&6
 
5155
else
 
5156
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5157
/* end confdefs.h.  */
 
5158
 
 
5159
int
 
5160
main ()
 
5161
{
 
5162
#ifndef __GNUC__
 
5163
       choke me
 
5164
#endif
 
5165
 
 
5166
  ;
 
5167
  return 0;
 
5168
}
 
5169
_ACEOF
 
5170
if ac_fn_cxx_try_compile "$LINENO"; then :
 
5171
  ac_compiler_gnu=yes
 
5172
else
 
5173
  ac_compiler_gnu=no
 
5174
fi
 
5175
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5176
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
5177
 
 
5178
fi
 
5179
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
5180
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
5181
if test $ac_compiler_gnu = yes; then
 
5182
  GXX=yes
 
5183
else
 
5184
  GXX=
 
5185
fi
 
5186
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
5187
ac_save_CXXFLAGS=$CXXFLAGS
 
5188
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
5189
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
5190
if ${ac_cv_prog_cxx_g+:} false; then :
 
5191
  $as_echo_n "(cached) " >&6
 
5192
else
 
5193
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
5194
   ac_cxx_werror_flag=yes
 
5195
   ac_cv_prog_cxx_g=no
 
5196
   CXXFLAGS="-g"
 
5197
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5198
/* end confdefs.h.  */
 
5199
 
 
5200
int
 
5201
main ()
 
5202
{
 
5203
 
 
5204
  ;
 
5205
  return 0;
 
5206
}
 
5207
_ACEOF
 
5208
if ac_fn_cxx_try_compile "$LINENO"; then :
 
5209
  ac_cv_prog_cxx_g=yes
 
5210
else
 
5211
  CXXFLAGS=""
 
5212
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5213
/* end confdefs.h.  */
 
5214
 
 
5215
int
 
5216
main ()
 
5217
{
 
5218
 
 
5219
  ;
 
5220
  return 0;
 
5221
}
 
5222
_ACEOF
 
5223
if ac_fn_cxx_try_compile "$LINENO"; then :
 
5224
 
 
5225
else
 
5226
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5227
         CXXFLAGS="-g"
 
5228
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5229
/* end confdefs.h.  */
 
5230
 
 
5231
int
 
5232
main ()
 
5233
{
 
5234
 
 
5235
  ;
 
5236
  return 0;
 
5237
}
 
5238
_ACEOF
 
5239
if ac_fn_cxx_try_compile "$LINENO"; then :
 
5240
  ac_cv_prog_cxx_g=yes
 
5241
fi
 
5242
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5243
fi
 
5244
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5245
fi
 
5246
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5247
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5248
fi
 
5249
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
5250
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
5251
if test "$ac_test_CXXFLAGS" = set; then
 
5252
  CXXFLAGS=$ac_save_CXXFLAGS
 
5253
elif test $ac_cv_prog_cxx_g = yes; then
 
5254
  if test "$GXX" = yes; then
 
5255
    CXXFLAGS="-g -O2"
 
5256
  else
 
5257
    CXXFLAGS="-g"
 
5258
  fi
 
5259
else
 
5260
  if test "$GXX" = yes; then
 
5261
    CXXFLAGS="-O2"
 
5262
  else
 
5263
    CXXFLAGS=
 
5264
  fi
 
5265
fi
 
5266
ac_ext=cpp
 
5267
ac_cpp='$CXXCPP $CPPFLAGS'
 
5268
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5269
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5270
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
5271
 
 
5272
depcc="$CXX"  am_compiler_list=
 
5273
 
 
5274
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
5275
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
5276
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
 
5277
  $as_echo_n "(cached) " >&6
 
5278
else
 
5279
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
5280
  # We make a subdir and do the tests there.  Otherwise we can end up
 
5281
  # making bogus files that we don't know about and never remove.  For
 
5282
  # instance it was reported that on HP-UX the gcc test will end up
 
5283
  # making a dummy file named `D' -- because `-MD' means `put the output
 
5284
  # in D'.
 
5285
  mkdir conftest.dir
 
5286
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
5287
  # using a relative directory.
 
5288
  cp "$am_depcomp" conftest.dir
 
5289
  cd conftest.dir
 
5290
  # We will build objects and dependencies in a subdirectory because
 
5291
  # it helps to detect inapplicable dependency modes.  For instance
 
5292
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
5293
  # side effect of compilation, but ICC will put the dependencies in
 
5294
  # the current directory while Tru64 will put them in the object
 
5295
  # directory.
 
5296
  mkdir sub
 
5297
 
 
5298
  am_cv_CXX_dependencies_compiler_type=none
 
5299
  if test "$am_compiler_list" = ""; then
 
5300
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
5301
  fi
 
5302
  for depmode in $am_compiler_list; do
 
5303
    # Setup a source with many dependencies, because some compilers
 
5304
    # like to wrap large dependency lists on column 80 (with \), and
 
5305
    # we should not choose a depcomp mode which is confused by this.
 
5306
    #
 
5307
    # We need to recreate these files for each test, as the compiler may
 
5308
    # overwrite some of them when testing with obscure command lines.
 
5309
    # This happens at least with the AIX C compiler.
 
5310
    : > sub/conftest.c
 
5311
    for i in 1 2 3 4 5 6; do
 
5312
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
5313
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
5314
      # Solaris 8's {/usr,}/bin/sh.
 
5315
      touch sub/conftst$i.h
 
5316
    done
 
5317
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
5318
 
 
5319
    case $depmode in
 
5320
    nosideeffect)
 
5321
      # after this tag, mechanisms are not by side-effect, so they'll
 
5322
      # only be used when explicitly requested
 
5323
      if test "x$enable_dependency_tracking" = xyes; then
 
5324
        continue
 
5325
      else
 
5326
        break
 
5327
      fi
 
5328
      ;;
 
5329
    none) break ;;
 
5330
    esac
 
5331
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
5332
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
5333
    # handle `-M -o', and we need to detect this.
 
5334
    if depmode=$depmode \
 
5335
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
5336
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
5337
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
5338
         >/dev/null 2>conftest.err &&
 
5339
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
5340
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
5341
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
5342
      # icc doesn't choke on unknown options, it will just issue warnings
 
5343
      # or remarks (even with -Werror).  So we grep stderr for any message
 
5344
      # that says an option was ignored or not supported.
 
5345
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
5346
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
5347
      # The diagnosis changed in icc 8.0:
 
5348
      #   icc: Command line remark: option '-MP' not supported
 
5349
      if (grep 'ignoring option' conftest.err ||
 
5350
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
5351
        am_cv_CXX_dependencies_compiler_type=$depmode
 
5352
        break
 
5353
      fi
 
5354
    fi
 
5355
  done
 
5356
 
 
5357
  cd ..
 
5358
  rm -rf conftest.dir
 
5359
else
 
5360
  am_cv_CXX_dependencies_compiler_type=none
 
5361
fi
 
5362
 
 
5363
fi
 
5364
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
5365
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
5366
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
5367
 
 
5368
 
 
5369
 
 
5370
if
 
5371
  test "x$enable_dependency_tracking" != xno \
 
5372
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
5373
  am__fastdepCXX_TRUE=
 
5374
  am__fastdepCXX_FALSE='#'
 
5375
else
 
5376
  am__fastdepCXX_TRUE='#'
 
5377
  am__fastdepCXX_FALSE=
 
5378
fi
 
5379
 
 
5380
 
 
5381
 
 
5382
# Checks for libraries.
 
5383
 
 
5384
# Checks for header files.
2501
5385
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
2502
 
 
2503
 
 
2504
 
 
2505
 
 
2506
 
 
2507
 
 
2508
 
 
2509
 
 
2510
 
 
2511
5386
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2512
 
                  inttypes.h stdint.h unistd.h
2513
 
do
2514
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2515
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
2516
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2517
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
2518
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2519
 
else
2520
 
  cat >conftest.$ac_ext <<_ACEOF
2521
 
#line $LINENO "configure"
2522
 
#include "confdefs.h"
2523
 
$ac_includes_default
2524
 
 
2525
 
#include <$ac_header>
2526
 
_ACEOF
2527
 
rm -f conftest.$ac_objext
2528
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2529
 
  (eval $ac_compile) 2>&5
2530
 
  ac_status=$?
2531
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532
 
  (exit $ac_status); } &&
2533
 
         { ac_try='test -s conftest.$ac_objext'
2534
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2535
 
  (eval $ac_try) 2>&5
2536
 
  ac_status=$?
2537
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2538
 
  (exit $ac_status); }; }; then
2539
 
  eval "$as_ac_Header=yes"
2540
 
else
2541
 
  echo "$as_me: failed program was:" >&5
2542
 
cat conftest.$ac_ext >&5
2543
 
eval "$as_ac_Header=no"
2544
 
fi
2545
 
rm -f conftest.$ac_objext conftest.$ac_ext
2546
 
fi
2547
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2548
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2549
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
5387
                  inttypes.h stdint.h unistd.h
 
5388
do :
 
5389
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5390
ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
5391
"
 
5392
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
2550
5393
  cat >>confdefs.h <<_ACEOF
2551
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5394
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
2552
5395
_ACEOF
2553
5396
 
2554
5397
fi
2556
5399
done
2557
5400
 
2558
5401
 
2559
 
if test "${ac_cv_header_libcapsinetwork_listener_h+set}" = set; then
2560
 
  echo "$as_me:$LINENO: checking for libcapsinetwork/listener.h" >&5
2561
 
echo $ECHO_N "checking for libcapsinetwork/listener.h... $ECHO_C" >&6
2562
 
if test "${ac_cv_header_libcapsinetwork_listener_h+set}" = set; then
2563
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2564
 
fi
2565
 
echo "$as_me:$LINENO: result: $ac_cv_header_libcapsinetwork_listener_h" >&5
2566
 
echo "${ECHO_T}$ac_cv_header_libcapsinetwork_listener_h" >&6
2567
 
else
2568
 
  # Is the header compilable?
2569
 
echo "$as_me:$LINENO: checking libcapsinetwork/listener.h usability" >&5
2570
 
echo $ECHO_N "checking libcapsinetwork/listener.h usability... $ECHO_C" >&6
2571
 
cat >conftest.$ac_ext <<_ACEOF
2572
 
#line $LINENO "configure"
2573
 
#include "confdefs.h"
2574
 
$ac_includes_default
2575
 
#include <libcapsinetwork/listener.h>
2576
 
_ACEOF
2577
 
rm -f conftest.$ac_objext
2578
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2579
 
  (eval $ac_compile) 2>&5
2580
 
  ac_status=$?
2581
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2582
 
  (exit $ac_status); } &&
2583
 
         { ac_try='test -s conftest.$ac_objext'
2584
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2585
 
  (eval $ac_try) 2>&5
2586
 
  ac_status=$?
2587
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588
 
  (exit $ac_status); }; }; then
2589
 
  ac_header_compiler=yes
2590
 
else
2591
 
  echo "$as_me: failed program was:" >&5
2592
 
cat conftest.$ac_ext >&5
2593
 
ac_header_compiler=no
2594
 
fi
2595
 
rm -f conftest.$ac_objext conftest.$ac_ext
2596
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2597
 
echo "${ECHO_T}$ac_header_compiler" >&6
2598
 
 
2599
 
# Is the header present?
2600
 
echo "$as_me:$LINENO: checking libcapsinetwork/listener.h presence" >&5
2601
 
echo $ECHO_N "checking libcapsinetwork/listener.h presence... $ECHO_C" >&6
2602
 
cat >conftest.$ac_ext <<_ACEOF
2603
 
#line $LINENO "configure"
2604
 
#include "confdefs.h"
2605
 
#include <libcapsinetwork/listener.h>
2606
 
_ACEOF
2607
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2608
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2609
 
  ac_status=$?
2610
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
2611
 
  rm -f conftest.er1
2612
 
  cat conftest.err >&5
2613
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614
 
  (exit $ac_status); } >/dev/null; then
2615
 
  if test -s conftest.err; then
2616
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
2617
 
  else
2618
 
    ac_cpp_err=
2619
 
  fi
2620
 
else
2621
 
  ac_cpp_err=yes
2622
 
fi
2623
 
if test -z "$ac_cpp_err"; then
2624
 
  ac_header_preproc=yes
2625
 
else
2626
 
  echo "$as_me: failed program was:" >&5
2627
 
  cat conftest.$ac_ext >&5
2628
 
  ac_header_preproc=no
2629
 
fi
2630
 
rm -f conftest.err conftest.$ac_ext
2631
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2632
 
echo "${ECHO_T}$ac_header_preproc" >&6
2633
 
 
2634
 
# So?  What about this header?
2635
 
case $ac_header_compiler:$ac_header_preproc in
2636
 
  yes:no )
2637
 
    { echo "$as_me:$LINENO: WARNING: libcapsinetwork/listener.h: accepted by the compiler, rejected by the preprocessor!" >&5
2638
 
echo "$as_me: WARNING: libcapsinetwork/listener.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
2639
 
    { echo "$as_me:$LINENO: WARNING: libcapsinetwork/listener.h: proceeding with the preprocessor's result" >&5
2640
 
echo "$as_me: WARNING: libcapsinetwork/listener.h: proceeding with the preprocessor's result" >&2;};;
2641
 
  no:yes )
2642
 
    { echo "$as_me:$LINENO: WARNING: libcapsinetwork/listener.h: present but cannot be compiled" >&5
2643
 
echo "$as_me: WARNING: libcapsinetwork/listener.h: present but cannot be compiled" >&2;}
2644
 
    { echo "$as_me:$LINENO: WARNING: libcapsinetwork/listener.h: check for missing prerequisite headers?" >&5
2645
 
echo "$as_me: WARNING: libcapsinetwork/listener.h: check for missing prerequisite headers?" >&2;}
2646
 
    { echo "$as_me:$LINENO: WARNING: libcapsinetwork/listener.h: proceeding with the preprocessor's result" >&5
2647
 
echo "$as_me: WARNING: libcapsinetwork/listener.h: proceeding with the preprocessor's result" >&2;};;
2648
 
esac
2649
 
echo "$as_me:$LINENO: checking for libcapsinetwork/listener.h" >&5
2650
 
echo $ECHO_N "checking for libcapsinetwork/listener.h... $ECHO_C" >&6
2651
 
if test "${ac_cv_header_libcapsinetwork_listener_h+set}" = set; then
2652
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2653
 
else
2654
 
  ac_cv_header_libcapsinetwork_listener_h=$ac_header_preproc
2655
 
fi
2656
 
echo "$as_me:$LINENO: result: $ac_cv_header_libcapsinetwork_listener_h" >&5
2657
 
echo "${ECHO_T}$ac_cv_header_libcapsinetwork_listener_h" >&6
2658
 
 
2659
 
fi
2660
 
if test $ac_cv_header_libcapsinetwork_listener_h = yes; then
2661
 
  :
2662
 
else
2663
 
  { { echo "$as_me:$LINENO: error: Please install libCapsiNetwork >= 0.3.0 from http://unixcode.org/libcapsinetwork/" >&5
2664
 
echo "$as_me: error: Please install libCapsiNetwork >= 0.3.0 from http://unixcode.org/libcapsinetwork/" >&2;}
2665
 
   { (exit 1); exit 1; }; }
2666
 
fi
2667
 
 
2668
 
 
2669
 
if test "${ac_cv_header_libcapsinetwork_socket_h+set}" = set; then
2670
 
  echo "$as_me:$LINENO: checking for libcapsinetwork/socket.h" >&5
2671
 
echo $ECHO_N "checking for libcapsinetwork/socket.h... $ECHO_C" >&6
2672
 
if test "${ac_cv_header_libcapsinetwork_socket_h+set}" = set; then
2673
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2674
 
fi
2675
 
echo "$as_me:$LINENO: result: $ac_cv_header_libcapsinetwork_socket_h" >&5
2676
 
echo "${ECHO_T}$ac_cv_header_libcapsinetwork_socket_h" >&6
2677
 
else
2678
 
  # Is the header compilable?
2679
 
echo "$as_me:$LINENO: checking libcapsinetwork/socket.h usability" >&5
2680
 
echo $ECHO_N "checking libcapsinetwork/socket.h usability... $ECHO_C" >&6
2681
 
cat >conftest.$ac_ext <<_ACEOF
2682
 
#line $LINENO "configure"
2683
 
#include "confdefs.h"
2684
 
$ac_includes_default
2685
 
#include <libcapsinetwork/socket.h>
2686
 
_ACEOF
2687
 
rm -f conftest.$ac_objext
2688
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2689
 
  (eval $ac_compile) 2>&5
2690
 
  ac_status=$?
2691
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692
 
  (exit $ac_status); } &&
2693
 
         { ac_try='test -s conftest.$ac_objext'
2694
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2695
 
  (eval $ac_try) 2>&5
2696
 
  ac_status=$?
2697
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698
 
  (exit $ac_status); }; }; then
2699
 
  ac_header_compiler=yes
2700
 
else
2701
 
  echo "$as_me: failed program was:" >&5
2702
 
cat conftest.$ac_ext >&5
2703
 
ac_header_compiler=no
2704
 
fi
2705
 
rm -f conftest.$ac_objext conftest.$ac_ext
2706
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2707
 
echo "${ECHO_T}$ac_header_compiler" >&6
2708
 
 
2709
 
# Is the header present?
2710
 
echo "$as_me:$LINENO: checking libcapsinetwork/socket.h presence" >&5
2711
 
echo $ECHO_N "checking libcapsinetwork/socket.h presence... $ECHO_C" >&6
2712
 
cat >conftest.$ac_ext <<_ACEOF
2713
 
#line $LINENO "configure"
2714
 
#include "confdefs.h"
2715
 
#include <libcapsinetwork/socket.h>
2716
 
_ACEOF
2717
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2718
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2719
 
  ac_status=$?
2720
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
2721
 
  rm -f conftest.er1
2722
 
  cat conftest.err >&5
2723
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724
 
  (exit $ac_status); } >/dev/null; then
2725
 
  if test -s conftest.err; then
2726
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
2727
 
  else
2728
 
    ac_cpp_err=
2729
 
  fi
2730
 
else
2731
 
  ac_cpp_err=yes
2732
 
fi
2733
 
if test -z "$ac_cpp_err"; then
2734
 
  ac_header_preproc=yes
2735
 
else
2736
 
  echo "$as_me: failed program was:" >&5
2737
 
  cat conftest.$ac_ext >&5
2738
 
  ac_header_preproc=no
2739
 
fi
2740
 
rm -f conftest.err conftest.$ac_ext
2741
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2742
 
echo "${ECHO_T}$ac_header_preproc" >&6
2743
 
 
2744
 
# So?  What about this header?
2745
 
case $ac_header_compiler:$ac_header_preproc in
2746
 
  yes:no )
2747
 
    { echo "$as_me:$LINENO: WARNING: libcapsinetwork/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5
2748
 
echo "$as_me: WARNING: libcapsinetwork/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
2749
 
    { echo "$as_me:$LINENO: WARNING: libcapsinetwork/socket.h: proceeding with the preprocessor's result" >&5
2750
 
echo "$as_me: WARNING: libcapsinetwork/socket.h: proceeding with the preprocessor's result" >&2;};;
2751
 
  no:yes )
2752
 
    { echo "$as_me:$LINENO: WARNING: libcapsinetwork/socket.h: present but cannot be compiled" >&5
2753
 
echo "$as_me: WARNING: libcapsinetwork/socket.h: present but cannot be compiled" >&2;}
2754
 
    { echo "$as_me:$LINENO: WARNING: libcapsinetwork/socket.h: check for missing prerequisite headers?" >&5
2755
 
echo "$as_me: WARNING: libcapsinetwork/socket.h: check for missing prerequisite headers?" >&2;}
2756
 
    { echo "$as_me:$LINENO: WARNING: libcapsinetwork/socket.h: proceeding with the preprocessor's result" >&5
2757
 
echo "$as_me: WARNING: libcapsinetwork/socket.h: proceeding with the preprocessor's result" >&2;};;
2758
 
esac
2759
 
echo "$as_me:$LINENO: checking for libcapsinetwork/socket.h" >&5
2760
 
echo $ECHO_N "checking for libcapsinetwork/socket.h... $ECHO_C" >&6
2761
 
if test "${ac_cv_header_libcapsinetwork_socket_h+set}" = set; then
2762
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2763
 
else
2764
 
  ac_cv_header_libcapsinetwork_socket_h=$ac_header_preproc
2765
 
fi
2766
 
echo "$as_me:$LINENO: result: $ac_cv_header_libcapsinetwork_socket_h" >&5
2767
 
echo "${ECHO_T}$ac_cv_header_libcapsinetwork_socket_h" >&6
2768
 
 
2769
 
fi
2770
 
if test $ac_cv_header_libcapsinetwork_socket_h = yes; then
2771
 
  :
2772
 
else
2773
 
  { { echo "$as_me:$LINENO: error: Please install libCapsiNetwork >= 0.3.0 from http://unixcode.org/libcapsinetwork/" >&5
2774
 
echo "$as_me: error: Please install libCapsiNetwork >= 0.3.0 from http://unixcode.org/libcapsinetwork/" >&2;}
2775
 
   { (exit 1); exit 1; }; }
2776
 
fi
2777
 
 
2778
 
 
2779
 
if test "${ac_cv_header_cmath+set}" = set; then
2780
 
  echo "$as_me:$LINENO: checking for cmath" >&5
2781
 
echo $ECHO_N "checking for cmath... $ECHO_C" >&6
2782
 
if test "${ac_cv_header_cmath+set}" = set; then
2783
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2784
 
fi
2785
 
echo "$as_me:$LINENO: result: $ac_cv_header_cmath" >&5
2786
 
echo "${ECHO_T}$ac_cv_header_cmath" >&6
2787
 
else
2788
 
  # Is the header compilable?
2789
 
echo "$as_me:$LINENO: checking cmath usability" >&5
2790
 
echo $ECHO_N "checking cmath usability... $ECHO_C" >&6
2791
 
cat >conftest.$ac_ext <<_ACEOF
2792
 
#line $LINENO "configure"
2793
 
#include "confdefs.h"
2794
 
$ac_includes_default
2795
 
#include <cmath>
2796
 
_ACEOF
2797
 
rm -f conftest.$ac_objext
2798
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2799
 
  (eval $ac_compile) 2>&5
2800
 
  ac_status=$?
2801
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802
 
  (exit $ac_status); } &&
2803
 
         { ac_try='test -s conftest.$ac_objext'
2804
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2805
 
  (eval $ac_try) 2>&5
2806
 
  ac_status=$?
2807
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808
 
  (exit $ac_status); }; }; then
2809
 
  ac_header_compiler=yes
2810
 
else
2811
 
  echo "$as_me: failed program was:" >&5
2812
 
cat conftest.$ac_ext >&5
2813
 
ac_header_compiler=no
2814
 
fi
2815
 
rm -f conftest.$ac_objext conftest.$ac_ext
2816
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2817
 
echo "${ECHO_T}$ac_header_compiler" >&6
2818
 
 
2819
 
# Is the header present?
2820
 
echo "$as_me:$LINENO: checking cmath presence" >&5
2821
 
echo $ECHO_N "checking cmath presence... $ECHO_C" >&6
2822
 
cat >conftest.$ac_ext <<_ACEOF
2823
 
#line $LINENO "configure"
2824
 
#include "confdefs.h"
2825
 
#include <cmath>
2826
 
_ACEOF
2827
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2828
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2829
 
  ac_status=$?
2830
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
2831
 
  rm -f conftest.er1
2832
 
  cat conftest.err >&5
2833
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834
 
  (exit $ac_status); } >/dev/null; then
2835
 
  if test -s conftest.err; then
2836
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
2837
 
  else
2838
 
    ac_cpp_err=
2839
 
  fi
2840
 
else
2841
 
  ac_cpp_err=yes
2842
 
fi
2843
 
if test -z "$ac_cpp_err"; then
2844
 
  ac_header_preproc=yes
2845
 
else
2846
 
  echo "$as_me: failed program was:" >&5
2847
 
  cat conftest.$ac_ext >&5
2848
 
  ac_header_preproc=no
2849
 
fi
2850
 
rm -f conftest.err conftest.$ac_ext
2851
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2852
 
echo "${ECHO_T}$ac_header_preproc" >&6
2853
 
 
2854
 
# So?  What about this header?
2855
 
case $ac_header_compiler:$ac_header_preproc in
2856
 
  yes:no )
2857
 
    { echo "$as_me:$LINENO: WARNING: cmath: accepted by the compiler, rejected by the preprocessor!" >&5
2858
 
echo "$as_me: WARNING: cmath: accepted by the compiler, rejected by the preprocessor!" >&2;}
2859
 
    { echo "$as_me:$LINENO: WARNING: cmath: proceeding with the preprocessor's result" >&5
2860
 
echo "$as_me: WARNING: cmath: proceeding with the preprocessor's result" >&2;};;
2861
 
  no:yes )
2862
 
    { echo "$as_me:$LINENO: WARNING: cmath: present but cannot be compiled" >&5
2863
 
echo "$as_me: WARNING: cmath: present but cannot be compiled" >&2;}
2864
 
    { echo "$as_me:$LINENO: WARNING: cmath: check for missing prerequisite headers?" >&5
2865
 
echo "$as_me: WARNING: cmath: check for missing prerequisite headers?" >&2;}
2866
 
    { echo "$as_me:$LINENO: WARNING: cmath: proceeding with the preprocessor's result" >&5
2867
 
echo "$as_me: WARNING: cmath: proceeding with the preprocessor's result" >&2;};;
2868
 
esac
2869
 
echo "$as_me:$LINENO: checking for cmath" >&5
2870
 
echo $ECHO_N "checking for cmath... $ECHO_C" >&6
2871
 
if test "${ac_cv_header_cmath+set}" = set; then
2872
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2873
 
else
2874
 
  ac_cv_header_cmath=$ac_header_preproc
2875
 
fi
2876
 
echo "$as_me:$LINENO: result: $ac_cv_header_cmath" >&5
2877
 
echo "${ECHO_T}$ac_cv_header_cmath" >&6
2878
 
 
2879
 
fi
2880
 
if test $ac_cv_header_cmath = yes; then
2881
 
  :
2882
 
else
2883
 
  { { echo "$as_me:$LINENO: error: Your STL doesn't come with cmath, upgrade your libstdc++." >&5
2884
 
echo "$as_me: error: Your STL doesn't come with cmath, upgrade your libstdc++." >&2;}
2885
 
   { (exit 1); exit 1; }; }
2886
 
fi
2887
 
 
2888
 
 
2889
 
if test "${ac_cv_header_mathpp_nodes_h+set}" = set; then
2890
 
  echo "$as_me:$LINENO: checking for math++/nodes.h" >&5
2891
 
echo $ECHO_N "checking for math++/nodes.h... $ECHO_C" >&6
2892
 
if test "${ac_cv_header_mathpp_nodes_h+set}" = set; then
2893
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2894
 
fi
2895
 
echo "$as_me:$LINENO: result: $ac_cv_header_mathpp_nodes_h" >&5
2896
 
echo "${ECHO_T}$ac_cv_header_mathpp_nodes_h" >&6
2897
 
else
2898
 
  # Is the header compilable?
2899
 
echo "$as_me:$LINENO: checking math++/nodes.h usability" >&5
2900
 
echo $ECHO_N "checking math++/nodes.h usability... $ECHO_C" >&6
2901
 
cat >conftest.$ac_ext <<_ACEOF
2902
 
#line $LINENO "configure"
2903
 
#include "confdefs.h"
2904
 
$ac_includes_default
2905
 
#include <math++/nodes.h>
2906
 
_ACEOF
2907
 
rm -f conftest.$ac_objext
2908
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2909
 
  (eval $ac_compile) 2>&5
2910
 
  ac_status=$?
2911
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912
 
  (exit $ac_status); } &&
2913
 
         { ac_try='test -s conftest.$ac_objext'
2914
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2915
 
  (eval $ac_try) 2>&5
2916
 
  ac_status=$?
2917
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918
 
  (exit $ac_status); }; }; then
2919
 
  ac_header_compiler=yes
2920
 
else
2921
 
  echo "$as_me: failed program was:" >&5
2922
 
cat conftest.$ac_ext >&5
2923
 
ac_header_compiler=no
2924
 
fi
2925
 
rm -f conftest.$ac_objext conftest.$ac_ext
2926
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2927
 
echo "${ECHO_T}$ac_header_compiler" >&6
2928
 
 
2929
 
# Is the header present?
2930
 
echo "$as_me:$LINENO: checking math++/nodes.h presence" >&5
2931
 
echo $ECHO_N "checking math++/nodes.h presence... $ECHO_C" >&6
2932
 
cat >conftest.$ac_ext <<_ACEOF
2933
 
#line $LINENO "configure"
2934
 
#include "confdefs.h"
2935
 
#include <math++/nodes.h>
2936
 
_ACEOF
2937
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2938
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2939
 
  ac_status=$?
2940
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
2941
 
  rm -f conftest.er1
2942
 
  cat conftest.err >&5
2943
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944
 
  (exit $ac_status); } >/dev/null; then
2945
 
  if test -s conftest.err; then
2946
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
2947
 
  else
2948
 
    ac_cpp_err=
2949
 
  fi
2950
 
else
2951
 
  ac_cpp_err=yes
2952
 
fi
2953
 
if test -z "$ac_cpp_err"; then
2954
 
  ac_header_preproc=yes
2955
 
else
2956
 
  echo "$as_me: failed program was:" >&5
2957
 
  cat conftest.$ac_ext >&5
2958
 
  ac_header_preproc=no
2959
 
fi
2960
 
rm -f conftest.err conftest.$ac_ext
2961
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2962
 
echo "${ECHO_T}$ac_header_preproc" >&6
2963
 
 
2964
 
# So?  What about this header?
2965
 
case $ac_header_compiler:$ac_header_preproc in
2966
 
  yes:no )
2967
 
    { echo "$as_me:$LINENO: WARNING: math++/nodes.h: accepted by the compiler, rejected by the preprocessor!" >&5
2968
 
echo "$as_me: WARNING: math++/nodes.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
2969
 
    { echo "$as_me:$LINENO: WARNING: math++/nodes.h: proceeding with the preprocessor's result" >&5
2970
 
echo "$as_me: WARNING: math++/nodes.h: proceeding with the preprocessor's result" >&2;};;
2971
 
  no:yes )
2972
 
    { echo "$as_me:$LINENO: WARNING: math++/nodes.h: present but cannot be compiled" >&5
2973
 
echo "$as_me: WARNING: math++/nodes.h: present but cannot be compiled" >&2;}
2974
 
    { echo "$as_me:$LINENO: WARNING: math++/nodes.h: check for missing prerequisite headers?" >&5
2975
 
echo "$as_me: WARNING: math++/nodes.h: check for missing prerequisite headers?" >&2;}
2976
 
    { echo "$as_me:$LINENO: WARNING: math++/nodes.h: proceeding with the preprocessor's result" >&5
2977
 
echo "$as_me: WARNING: math++/nodes.h: proceeding with the preprocessor's result" >&2;};;
2978
 
esac
2979
 
echo "$as_me:$LINENO: checking for math++/nodes.h" >&5
2980
 
echo $ECHO_N "checking for math++/nodes.h... $ECHO_C" >&6
2981
 
if test "${ac_cv_header_mathpp_nodes_h+set}" = set; then
2982
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2983
 
else
2984
 
  ac_cv_header_mathpp_nodes_h=$ac_header_preproc
2985
 
fi
2986
 
echo "$as_me:$LINENO: result: $ac_cv_header_mathpp_nodes_h" >&5
2987
 
echo "${ECHO_T}$ac_cv_header_mathpp_nodes_h" >&6
2988
 
 
2989
 
fi
2990
 
if test $ac_cv_header_mathpp_nodes_h = yes; then
2991
 
  :
2992
 
else
2993
 
  { { echo "$as_me:$LINENO: error: Please install libmath++ >= 0.0.3 from http://www.surakware.net/download/" >&5
2994
 
echo "$as_me: error: Please install libmath++ >= 0.0.3 from http://www.surakware.net/download/" >&2;}
2995
 
   { (exit 1); exit 1; }; }
 
5402
ac_fn_cxx_check_header_mongrel "$LINENO" "cmath" "ac_cv_header_cmath" "$ac_includes_default"
 
5403
if test "x$ac_cv_header_cmath" = xyes; then :
 
5404
 
 
5405
else
 
5406
  as_fn_error $? "Your STL doesn't come with cmath, upgrade your libstdc++." "$LINENO" 5
 
5407
fi
 
5408
 
 
5409
 
 
5410
ac_fn_cxx_check_header_mongrel "$LINENO" "math++/nodes.h" "ac_cv_header_mathpp_nodes_h" "$ac_includes_default"
 
5411
if test "x$ac_cv_header_mathpp_nodes_h" = xyes; then :
 
5412
 
 
5413
else
 
5414
  as_fn_error $? "Please install libmath++ >= 0.0.3 from http://www.surakware.net/download/" "$LINENO" 5
2996
5415
fi
2997
5416
 
2998
5417
 
3001
5420
 
3002
5421
# Checks for library functions.
3003
5422
 
3004
 
ac_config_files="$ac_config_files Makefile conf/Makefile doc/Makefile doc/api/Makefile games/Makefile src/Makefile"
 
5423
# Check whether to enable systemd startup notification.
 
5424
# This requires libsystemd-daemon.
 
5425
 
 
5426
# Check whether --with-systemd-daemon was given.
 
5427
if test "${with_systemd_daemon+set}" = set; then :
 
5428
  withval=$with_systemd_daemon; USE_SYSTEMD_DAEMON=$withval
 
5429
else
 
5430
  USE_SYSTEMD_DAEMON=auto
 
5431
fi
 
5432
 
 
5433
 
 
5434
 
 
5435
 
 
5436
 
 
5437
 
 
5438
 
 
5439
 
 
5440
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
5441
        if test -n "$ac_tool_prefix"; then
 
5442
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
5443
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
5444
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5445
$as_echo_n "checking for $ac_word... " >&6; }
 
5446
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
5447
  $as_echo_n "(cached) " >&6
 
5448
else
 
5449
  case $PKG_CONFIG in
 
5450
  [\\/]* | ?:[\\/]*)
 
5451
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
5452
  ;;
 
5453
  *)
 
5454
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5455
for as_dir in $PATH
 
5456
do
 
5457
  IFS=$as_save_IFS
 
5458
  test -z "$as_dir" && as_dir=.
 
5459
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5460
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5461
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
5462
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5463
    break 2
 
5464
  fi
 
5465
done
 
5466
  done
 
5467
IFS=$as_save_IFS
 
5468
 
 
5469
  ;;
 
5470
esac
 
5471
fi
 
5472
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
5473
if test -n "$PKG_CONFIG"; then
 
5474
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
5475
$as_echo "$PKG_CONFIG" >&6; }
 
5476
else
 
5477
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5478
$as_echo "no" >&6; }
 
5479
fi
 
5480
 
 
5481
 
 
5482
fi
 
5483
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
5484
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
5485
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
5486
set dummy pkg-config; ac_word=$2
 
5487
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5488
$as_echo_n "checking for $ac_word... " >&6; }
 
5489
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 
5490
  $as_echo_n "(cached) " >&6
 
5491
else
 
5492
  case $ac_pt_PKG_CONFIG in
 
5493
  [\\/]* | ?:[\\/]*)
 
5494
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
5495
  ;;
 
5496
  *)
 
5497
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5498
for as_dir in $PATH
 
5499
do
 
5500
  IFS=$as_save_IFS
 
5501
  test -z "$as_dir" && as_dir=.
 
5502
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5503
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5504
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
5505
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5506
    break 2
 
5507
  fi
 
5508
done
 
5509
  done
 
5510
IFS=$as_save_IFS
 
5511
 
 
5512
  ;;
 
5513
esac
 
5514
fi
 
5515
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
5516
if test -n "$ac_pt_PKG_CONFIG"; then
 
5517
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
5518
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
5519
else
 
5520
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5521
$as_echo "no" >&6; }
 
5522
fi
 
5523
 
 
5524
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
5525
    PKG_CONFIG=""
 
5526
  else
 
5527
    case $cross_compiling:$ac_tool_warned in
 
5528
yes:)
 
5529
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5530
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5531
ac_tool_warned=yes ;;
 
5532
esac
 
5533
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
5534
  fi
 
5535
else
 
5536
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
5537
fi
 
5538
 
 
5539
fi
 
5540
if test -n "$PKG_CONFIG"; then
 
5541
        _pkg_min_version=0.9.0
 
5542
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
5543
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
5544
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
5545
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5546
$as_echo "yes" >&6; }
 
5547
        else
 
5548
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5549
$as_echo "no" >&6; }
 
5550
                PKG_CONFIG=""
 
5551
        fi
 
5552
fi
 
5553
if test "x$USE_SYSTEMD_DAEMON" != "xno"; then :
 
5554
 
 
5555
 
 
5556
pkg_failed=no
 
5557
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD_DAEMON" >&5
 
5558
$as_echo_n "checking for SYSTEMD_DAEMON... " >&6; }
 
5559
 
 
5560
if test -n "$SYSTEMD_DAEMON_CFLAGS"; then
 
5561
    pkg_cv_SYSTEMD_DAEMON_CFLAGS="$SYSTEMD_DAEMON_CFLAGS"
 
5562
 elif test -n "$PKG_CONFIG"; then
 
5563
    if test -n "$PKG_CONFIG" && \
 
5564
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
 
5565
  ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
 
5566
  ac_status=$?
 
5567
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5568
  test $ac_status = 0; }; then
 
5569
  pkg_cv_SYSTEMD_DAEMON_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-daemon" 2>/dev/null`
 
5570
                      test "x$?" != "x0" && pkg_failed=yes
 
5571
else
 
5572
  pkg_failed=yes
 
5573
fi
 
5574
 else
 
5575
    pkg_failed=untried
 
5576
fi
 
5577
if test -n "$SYSTEMD_DAEMON_LIBS"; then
 
5578
    pkg_cv_SYSTEMD_DAEMON_LIBS="$SYSTEMD_DAEMON_LIBS"
 
5579
 elif test -n "$PKG_CONFIG"; then
 
5580
    if test -n "$PKG_CONFIG" && \
 
5581
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
 
5582
  ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
 
5583
  ac_status=$?
 
5584
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5585
  test $ac_status = 0; }; then
 
5586
  pkg_cv_SYSTEMD_DAEMON_LIBS=`$PKG_CONFIG --libs "libsystemd-daemon" 2>/dev/null`
 
5587
                      test "x$?" != "x0" && pkg_failed=yes
 
5588
else
 
5589
  pkg_failed=yes
 
5590
fi
 
5591
 else
 
5592
    pkg_failed=untried
 
5593
fi
 
5594
 
 
5595
 
 
5596
 
 
5597
if test $pkg_failed = yes; then
 
5598
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5599
$as_echo "no" >&6; }
 
5600
 
 
5601
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
5602
        _pkg_short_errors_supported=yes
 
5603
else
 
5604
        _pkg_short_errors_supported=no
 
5605
fi
 
5606
        if test $_pkg_short_errors_supported = yes; then
 
5607
                SYSTEMD_DAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
 
5608
        else
 
5609
                SYSTEMD_DAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
 
5610
        fi
 
5611
        # Put the nasty error message in config.log where it belongs
 
5612
        echo "$SYSTEMD_DAEMON_PKG_ERRORS" >&5
 
5613
 
 
5614
        if test "x$USE_SYSTEMD_DAEMON" = "xyes"; then :
 
5615
  as_fn_error $? "systemd startup notification support requested, but libsystemd-daemon not found." "$LINENO" 5
 
5616
 
 
5617
fi
 
5618
 
 
5619
elif test $pkg_failed = untried; then
 
5620
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5621
$as_echo "no" >&6; }
 
5622
        if test "x$USE_SYSTEMD_DAEMON" = "xyes"; then :
 
5623
  as_fn_error $? "systemd startup notification support requested, but libsystemd-daemon not found." "$LINENO" 5
 
5624
 
 
5625
fi
 
5626
 
 
5627
else
 
5628
        SYSTEMD_DAEMON_CFLAGS=$pkg_cv_SYSTEMD_DAEMON_CFLAGS
 
5629
        SYSTEMD_DAEMON_LIBS=$pkg_cv_SYSTEMD_DAEMON_LIBS
 
5630
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5631
$as_echo "yes" >&6; }
 
5632
 
 
5633
$as_echo "#define USE_SYSTEMD_DAEMON 1" >>confdefs.h
 
5634
 
 
5635
fi
 
5636
 
 
5637
fi
 
5638
 
 
5639
if test "x$GCC" = "xyes"; then  \
 
5640
     CFLAGS+=" -Wall -Wextra";  \
 
5641
     CXXFLAGS+=" -Wall -Wextra";  \
 
5642
fi
 
5643
 
 
5644
ac_config_files="$ac_config_files Makefile conf/Makefile doc/Makefile doc/api/Makefile doc/systemd/Makefile games/Makefile src/Makefile"
 
5645
 
3005
5646
cat >confcache <<\_ACEOF
3006
5647
# This file is a shell script that caches the results of configure
3007
5648
# tests run on this system so they can be shared between configure
3012
5653
# config.status only pays attention to the cache file if you give it
3013
5654
# the --recheck option to rerun configure.
3014
5655
#
3015
 
# `ac_cv_env_foo' variables (set or unset) will be overriden when
 
5656
# `ac_cv_env_foo' variables (set or unset) will be overridden when
3016
5657
# loading this file, other *unset* `ac_cv_foo' will be assigned the
3017
5658
# following values.
3018
5659
 
3020
5661
 
3021
5662
# The following way of writing the cache mishandles newlines in values,
3022
5663
# but we know of no workaround that is simple, portable, and efficient.
3023
 
# So, don't put newlines in cache variables' values.
 
5664
# So, we kill variables containing newlines.
3024
5665
# Ultrix sh set writes to stderr and can't be redirected directly,
3025
5666
# and sets the high bit in the cache file unless we assign to the vars.
3026
 
{
 
5667
(
 
5668
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
5669
    eval ac_val=\$$ac_var
 
5670
    case $ac_val in #(
 
5671
    *${as_nl}*)
 
5672
      case $ac_var in #(
 
5673
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
5674
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
5675
      esac
 
5676
      case $ac_var in #(
 
5677
      _ | IFS | as_nl) ;; #(
 
5678
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
5679
      *) { eval $ac_var=; unset $ac_var;} ;;
 
5680
      esac ;;
 
5681
    esac
 
5682
  done
 
5683
 
3027
5684
  (set) 2>&1 |
3028
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
3029
 
    *ac_space=\ *)
3030
 
      # `set' does not quote correctly, so add quotes (double-quote
3031
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
5685
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
5686
    *${as_nl}ac_space=\ *)
 
5687
      # `set' does not quote correctly, so add quotes: double-quote
 
5688
      # substitution turns \\\\ into \\, and sed turns \\ into \.
3032
5689
      sed -n \
3033
 
        "s/'/'\\\\''/g;
3034
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3035
 
      ;;
 
5690
        "s/'/'\\\\''/g;
 
5691
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
5692
      ;; #(
3036
5693
    *)
3037
5694
      # `set' quotes correctly as required by POSIX, so do not add quotes.
3038
 
      sed -n \
3039
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
5695
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3040
5696
      ;;
3041
 
    esac;
3042
 
} |
 
5697
    esac |
 
5698
    sort
 
5699
) |
3043
5700
  sed '
 
5701
     /^ac_cv_env_/b end
3044
5702
     t clear
3045
 
     : clear
 
5703
     :clear
3046
5704
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3047
5705
     t end
3048
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3049
 
     : end' >>confcache
3050
 
if cmp -s $cache_file confcache; then :; else
3051
 
  if test -w $cache_file; then
3052
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3053
 
    cat confcache >$cache_file
 
5706
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
5707
     :end' >>confcache
 
5708
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
5709
  if test -w "$cache_file"; then
 
5710
    if test "x$cache_file" != "x/dev/null"; then
 
5711
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
5712
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
5713
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
5714
        cat confcache >"$cache_file"
 
5715
      else
 
5716
        case $cache_file in #(
 
5717
        */* | ?:*)
 
5718
          mv -f confcache "$cache_file"$$ &&
 
5719
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
5720
        *)
 
5721
          mv -f confcache "$cache_file" ;;
 
5722
        esac
 
5723
      fi
 
5724
    fi
3054
5725
  else
3055
 
    echo "not updating unwritable cache $cache_file"
 
5726
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
5727
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3056
5728
  fi
3057
5729
fi
3058
5730
rm -f confcache
3061
5733
# Let make expand exec_prefix.
3062
5734
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3063
5735
 
3064
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3065
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3066
 
# trailing colons and then remove the whole line if VPATH becomes empty
3067
 
# (actually we leave an empty line to preserve line numbers).
3068
 
if test "x$srcdir" = x.; then
3069
 
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
3070
 
s/:*\$(srcdir):*/:/;
3071
 
s/:*\${srcdir}:*/:/;
3072
 
s/:*@srcdir@:*/:/;
3073
 
s/^\([^=]*=[    ]*\):*/\1/;
3074
 
s/:*$//;
3075
 
s/^[^=]*=[      ]*$//;
3076
 
}'
3077
 
fi
3078
 
 
3079
5736
DEFS=-DHAVE_CONFIG_H
3080
5737
 
3081
 
 
3082
 
: ${CONFIG_STATUS=./config.status}
 
5738
ac_libobjs=
 
5739
ac_ltlibobjs=
 
5740
U=
 
5741
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
5742
  # 1. Remove the extension, and $U if already installed.
 
5743
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
5744
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
5745
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
5746
  #    will be set to the directory where LIBOBJS objects are built.
 
5747
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
5748
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
5749
done
 
5750
LIBOBJS=$ac_libobjs
 
5751
 
 
5752
LTLIBOBJS=$ac_ltlibobjs
 
5753
 
 
5754
 
 
5755
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
5756
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
5757
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
5758
fi
 
5759
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
5760
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
 
5761
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
5762
fi
 
5763
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
5764
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
5765
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
5766
fi
 
5767
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
5768
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
5769
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
5770
fi
 
5771
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
5772
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
 
5773
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
5774
fi
 
5775
 
 
5776
: "${CONFIG_STATUS=./config.status}"
 
5777
ac_write_fail=0
3083
5778
ac_clean_files_save=$ac_clean_files
3084
5779
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3085
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3086
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
3087
 
cat >$CONFIG_STATUS <<_ACEOF
 
5780
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
5781
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
5782
as_write_fail=0
 
5783
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3088
5784
#! $SHELL
3089
5785
# Generated by $as_me.
3090
5786
# Run this file to recreate the current configuration.
3092
5788
# configure, is in config.log if it exists.
3093
5789
 
3094
5790
debug=false
 
5791
ac_cs_recheck=false
 
5792
ac_cs_silent=false
 
5793
 
3095
5794
SHELL=\${CONFIG_SHELL-$SHELL}
3096
 
_ACEOF
3097
 
 
3098
 
cat >>$CONFIG_STATUS <<\_ACEOF
3099
 
 
3100
 
## --------------------- ##
3101
 
## M4sh Initialization.  ##
3102
 
## --------------------- ##
3103
 
 
3104
 
# Be Bourne compatible
3105
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
5795
export SHELL
 
5796
_ASEOF
 
5797
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
5798
## -------------------- ##
 
5799
## M4sh Initialization. ##
 
5800
## -------------------- ##
 
5801
 
 
5802
# Be more Bourne compatible
 
5803
DUALCASE=1; export DUALCASE # for MKS sh
 
5804
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3106
5805
  emulate sh
3107
5806
  NULLCMD=:
3108
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3109
 
  set -o posix
3110
 
fi
 
5807
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
5808
  # is contrary to our usage.  Disable this feature.
 
5809
  alias -g '${1+"$@"}'='"$@"'
 
5810
  setopt NO_GLOB_SUBST
 
5811
else
 
5812
  case `(set -o) 2>/dev/null` in #(
 
5813
  *posix*) :
 
5814
    set -o posix ;; #(
 
5815
  *) :
 
5816
     ;;
 
5817
esac
 
5818
fi
 
5819
 
 
5820
 
 
5821
as_nl='
 
5822
'
 
5823
export as_nl
 
5824
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
5825
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
5826
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
5827
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
5828
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
5829
# but without wasting forks for bash or zsh.
 
5830
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
5831
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
5832
  as_echo='print -r --'
 
5833
  as_echo_n='print -rn --'
 
5834
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
5835
  as_echo='printf %s\n'
 
5836
  as_echo_n='printf %s'
 
5837
else
 
5838
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
5839
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
5840
    as_echo_n='/usr/ucb/echo -n'
 
5841
  else
 
5842
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
5843
    as_echo_n_body='eval
 
5844
      arg=$1;
 
5845
      case $arg in #(
 
5846
      *"$as_nl"*)
 
5847
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
5848
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
5849
      esac;
 
5850
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
5851
    '
 
5852
    export as_echo_n_body
 
5853
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
5854
  fi
 
5855
  export as_echo_body
 
5856
  as_echo='sh -c $as_echo_body as_echo'
 
5857
fi
 
5858
 
 
5859
# The user is always right.
 
5860
if test "${PATH_SEPARATOR+set}" != set; then
 
5861
  PATH_SEPARATOR=:
 
5862
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
5863
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
5864
      PATH_SEPARATOR=';'
 
5865
  }
 
5866
fi
 
5867
 
 
5868
 
 
5869
# IFS
 
5870
# We need space, tab and new line, in precisely that order.  Quoting is
 
5871
# there to prevent editors from complaining about space-tab.
 
5872
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
5873
# splitting by setting IFS to empty value.)
 
5874
IFS=" ""        $as_nl"
 
5875
 
 
5876
# Find who we are.  Look in the path if we contain no directory separator.
 
5877
as_myself=
 
5878
case $0 in #((
 
5879
  *[\\/]* ) as_myself=$0 ;;
 
5880
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5881
for as_dir in $PATH
 
5882
do
 
5883
  IFS=$as_save_IFS
 
5884
  test -z "$as_dir" && as_dir=.
 
5885
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
5886
  done
 
5887
IFS=$as_save_IFS
 
5888
 
 
5889
     ;;
 
5890
esac
 
5891
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
5892
# in which case we are not to be found in the path.
 
5893
if test "x$as_myself" = x; then
 
5894
  as_myself=$0
 
5895
fi
 
5896
if test ! -f "$as_myself"; then
 
5897
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
5898
  exit 1
 
5899
fi
 
5900
 
 
5901
# Unset variables that we do not need and which cause bugs (e.g. in
 
5902
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
5903
# suppresses any "Segmentation fault" message there.  '((' could
 
5904
# trigger a bug in pdksh 5.2.14.
 
5905
for as_var in BASH_ENV ENV MAIL MAILPATH
 
5906
do eval test x\${$as_var+set} = xset \
 
5907
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
5908
done
 
5909
PS1='$ '
 
5910
PS2='> '
 
5911
PS4='+ '
3111
5912
 
3112
5913
# NLS nuisances.
3113
 
# Support unset when possible.
3114
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3115
 
  as_unset=unset
3116
 
else
3117
 
  as_unset=false
3118
 
fi
3119
 
 
3120
 
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
3121
 
    { $as_unset LANG || test "${LANG+set}" != set; } ||
3122
 
      { LANG=C; export LANG; }
3123
 
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
3124
 
    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
3125
 
      { LC_ALL=C; export LC_ALL; }
3126
 
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
3127
 
    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
3128
 
      { LC_TIME=C; export LC_TIME; }
3129
 
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
3130
 
    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
3131
 
      { LC_CTYPE=C; export LC_CTYPE; }
3132
 
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
3133
 
    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
3134
 
      { LANGUAGE=C; export LANGUAGE; }
3135
 
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
3136
 
    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
3137
 
      { LC_COLLATE=C; export LC_COLLATE; }
3138
 
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
3139
 
    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
3140
 
      { LC_NUMERIC=C; export LC_NUMERIC; }
3141
 
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
3142
 
    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
3143
 
      { LC_MESSAGES=C; export LC_MESSAGES; }
3144
 
 
3145
 
 
3146
 
# Name of the executable.
3147
 
as_me=`(basename "$0") 2>/dev/null ||
 
5914
LC_ALL=C
 
5915
export LC_ALL
 
5916
LANGUAGE=C
 
5917
export LANGUAGE
 
5918
 
 
5919
# CDPATH.
 
5920
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
5921
 
 
5922
 
 
5923
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
5924
# ----------------------------------------
 
5925
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
5926
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
5927
# script with STATUS, using 1 if that was 0.
 
5928
as_fn_error ()
 
5929
{
 
5930
  as_status=$1; test $as_status -eq 0 && as_status=1
 
5931
  if test "$4"; then
 
5932
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
5933
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
5934
  fi
 
5935
  $as_echo "$as_me: error: $2" >&2
 
5936
  as_fn_exit $as_status
 
5937
} # as_fn_error
 
5938
 
 
5939
 
 
5940
# as_fn_set_status STATUS
 
5941
# -----------------------
 
5942
# Set $? to STATUS, without forking.
 
5943
as_fn_set_status ()
 
5944
{
 
5945
  return $1
 
5946
} # as_fn_set_status
 
5947
 
 
5948
# as_fn_exit STATUS
 
5949
# -----------------
 
5950
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
5951
as_fn_exit ()
 
5952
{
 
5953
  set +e
 
5954
  as_fn_set_status $1
 
5955
  exit $1
 
5956
} # as_fn_exit
 
5957
 
 
5958
# as_fn_unset VAR
 
5959
# ---------------
 
5960
# Portably unset VAR.
 
5961
as_fn_unset ()
 
5962
{
 
5963
  { eval $1=; unset $1;}
 
5964
}
 
5965
as_unset=as_fn_unset
 
5966
# as_fn_append VAR VALUE
 
5967
# ----------------------
 
5968
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
5969
# advantage of any shell optimizations that allow amortized linear growth over
 
5970
# repeated appends, instead of the typical quadratic growth present in naive
 
5971
# implementations.
 
5972
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
5973
  eval 'as_fn_append ()
 
5974
  {
 
5975
    eval $1+=\$2
 
5976
  }'
 
5977
else
 
5978
  as_fn_append ()
 
5979
  {
 
5980
    eval $1=\$$1\$2
 
5981
  }
 
5982
fi # as_fn_append
 
5983
 
 
5984
# as_fn_arith ARG...
 
5985
# ------------------
 
5986
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
5987
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
5988
# must be portable across $(()) and expr.
 
5989
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
5990
  eval 'as_fn_arith ()
 
5991
  {
 
5992
    as_val=$(( $* ))
 
5993
  }'
 
5994
else
 
5995
  as_fn_arith ()
 
5996
  {
 
5997
    as_val=`expr "$@" || test $? -eq 1`
 
5998
  }
 
5999
fi # as_fn_arith
 
6000
 
 
6001
 
 
6002
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
6003
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
6004
  as_expr=expr
 
6005
else
 
6006
  as_expr=false
 
6007
fi
 
6008
 
 
6009
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
6010
  as_basename=basename
 
6011
else
 
6012
  as_basename=false
 
6013
fi
 
6014
 
 
6015
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
6016
  as_dirname=dirname
 
6017
else
 
6018
  as_dirname=false
 
6019
fi
 
6020
 
 
6021
as_me=`$as_basename -- "$0" ||
3148
6022
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3149
6023
         X"$0" : 'X\(//\)$' \| \
3150
 
         X"$0" : 'X\(/\)$' \| \
3151
 
         .     : '\(.\)' 2>/dev/null ||
3152
 
echo X/"$0" |
3153
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3154
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
3155
 
          /^X\/\(\/\).*/{ s//\1/; q; }
3156
 
          s/.*/./; q'`
 
6024
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
6025
$as_echo X/"$0" |
 
6026
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
6027
            s//\1/
 
6028
            q
 
6029
          }
 
6030
          /^X\/\(\/\/\)$/{
 
6031
            s//\1/
 
6032
            q
 
6033
          }
 
6034
          /^X\/\(\/\).*/{
 
6035
            s//\1/
 
6036
            q
 
6037
          }
 
6038
          s/.*/./; q'`
3157
6039
 
3158
 
# PATH needs CR, and LINENO needs CR and PATH.
3159
6040
# Avoid depending upon Character Ranges.
3160
6041
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3161
6042
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3163
6044
as_cr_digits='0123456789'
3164
6045
as_cr_alnum=$as_cr_Letters$as_cr_digits
3165
6046
 
3166
 
# The user is always right.
3167
 
if test "${PATH_SEPARATOR+set}" != set; then
3168
 
  echo "#! /bin/sh" >conftest.sh
3169
 
  echo  "exit 0"   >>conftest.sh
3170
 
  chmod +x conftest.sh
3171
 
  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
3172
 
    PATH_SEPARATOR=';'
3173
 
  else
3174
 
    PATH_SEPARATOR=:
3175
 
  fi
3176
 
  rm -f conftest.sh
3177
 
fi
3178
 
 
3179
 
 
3180
 
  as_lineno_1=$LINENO
3181
 
  as_lineno_2=$LINENO
3182
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3183
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
3184
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
3185
 
  # Find who we are.  Look in the path if we contain no path at all
3186
 
  # relative or not.
3187
 
  case $0 in
3188
 
    *[\\/]* ) as_myself=$0 ;;
3189
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3190
 
for as_dir in $PATH
3191
 
do
3192
 
  IFS=$as_save_IFS
3193
 
  test -z "$as_dir" && as_dir=.
3194
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3195
 
done
3196
 
 
3197
 
       ;;
3198
 
  esac
3199
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
3200
 
  # in which case we are not to be found in the path.
3201
 
  if test "x$as_myself" = x; then
3202
 
    as_myself=$0
3203
 
  fi
3204
 
  if test ! -f "$as_myself"; then
3205
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3206
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3207
 
   { (exit 1); exit 1; }; }
3208
 
  fi
3209
 
  case $CONFIG_SHELL in
3210
 
  '')
3211
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3212
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3213
 
do
3214
 
  IFS=$as_save_IFS
3215
 
  test -z "$as_dir" && as_dir=.
3216
 
  for as_base in sh bash ksh sh5; do
3217
 
         case $as_dir in
3218
 
         /*)
3219
 
           if ("$as_dir/$as_base" -c '
3220
 
  as_lineno_1=$LINENO
3221
 
  as_lineno_2=$LINENO
3222
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3223
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
3224
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
3225
 
             CONFIG_SHELL=$as_dir/$as_base
3226
 
             export CONFIG_SHELL
3227
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3228
 
           fi;;
3229
 
         esac
3230
 
       done
3231
 
done
3232
 
;;
3233
 
  esac
3234
 
 
3235
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3236
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
3237
 
  # line-number line before each line; the second 'sed' does the real
3238
 
  # work.  The second script uses 'N' to pair each line-number line
3239
 
  # with the numbered line, and appends trailing '-' during
3240
 
  # substitution so that $LINENO is not a special case at line end.
3241
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3242
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
3243
 
  sed '=' <$as_myself |
3244
 
    sed '
3245
 
      N
3246
 
      s,$,-,
3247
 
      : loop
3248
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3249
 
      t loop
3250
 
      s,-$,,
3251
 
      s,^['$as_cr_digits']*\n,,
3252
 
    ' >$as_me.lineno &&
3253
 
  chmod +x $as_me.lineno ||
3254
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3255
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3256
 
   { (exit 1); exit 1; }; }
3257
 
 
3258
 
  # Don't try to exec as it changes $[0], causing all sort of problems
3259
 
  # (the dirname of $[0] is not the place where we might find the
3260
 
  # original and so on.  Autoconf is especially sensible to this).
3261
 
  . ./$as_me.lineno
3262
 
  # Exit status is that of the last command.
3263
 
  exit
3264
 
}
3265
 
 
3266
 
 
3267
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3268
 
  *c*,-n*) ECHO_N= ECHO_C='
3269
 
' ECHO_T='      ' ;;
3270
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3271
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
6047
ECHO_C= ECHO_N= ECHO_T=
 
6048
case `echo -n x` in #(((((
 
6049
-n*)
 
6050
  case `echo 'xy\c'` in
 
6051
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
6052
  xy)  ECHO_C='\c';;
 
6053
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
6054
       ECHO_T=' ';;
 
6055
  esac;;
 
6056
*)
 
6057
  ECHO_N='-n';;
3272
6058
esac
3273
6059
 
3274
 
if expr a : '\(a\)' >/dev/null 2>&1; then
3275
 
  as_expr=expr
 
6060
rm -f conf$$ conf$$.exe conf$$.file
 
6061
if test -d conf$$.dir; then
 
6062
  rm -f conf$$.dir/conf$$.file
3276
6063
else
3277
 
  as_expr=false
 
6064
  rm -f conf$$.dir
 
6065
  mkdir conf$$.dir 2>/dev/null
3278
6066
fi
3279
 
 
3280
 
rm -f conf$$ conf$$.exe conf$$.file
3281
 
echo >conf$$.file
3282
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
3283
 
  # We could just check for DJGPP; but this test a) works b) is more generic
3284
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3285
 
  if test -f conf$$.exe; then
3286
 
    # Don't use ln at all; we don't have any links
3287
 
    as_ln_s='cp -p'
3288
 
  else
 
6067
if (echo >conf$$.file) 2>/dev/null; then
 
6068
  if ln -s conf$$.file conf$$ 2>/dev/null; then
3289
6069
    as_ln_s='ln -s'
 
6070
    # ... but there are two gotchas:
 
6071
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
6072
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
6073
    # In both cases, we have to default to `cp -pR'.
 
6074
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
6075
      as_ln_s='cp -pR'
 
6076
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
6077
    as_ln_s=ln
 
6078
  else
 
6079
    as_ln_s='cp -pR'
3290
6080
  fi
3291
 
elif ln conf$$.file conf$$ 2>/dev/null; then
3292
 
  as_ln_s=ln
3293
 
else
3294
 
  as_ln_s='cp -p'
3295
 
fi
3296
 
rm -f conf$$ conf$$.exe conf$$.file
3297
 
 
3298
 
as_executable_p="test -f"
 
6081
else
 
6082
  as_ln_s='cp -pR'
 
6083
fi
 
6084
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
6085
rmdir conf$$.dir 2>/dev/null
 
6086
 
 
6087
 
 
6088
# as_fn_mkdir_p
 
6089
# -------------
 
6090
# Create "$as_dir" as a directory, including parents if necessary.
 
6091
as_fn_mkdir_p ()
 
6092
{
 
6093
 
 
6094
  case $as_dir in #(
 
6095
  -*) as_dir=./$as_dir;;
 
6096
  esac
 
6097
  test -d "$as_dir" || eval $as_mkdir_p || {
 
6098
    as_dirs=
 
6099
    while :; do
 
6100
      case $as_dir in #(
 
6101
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
6102
      *) as_qdir=$as_dir;;
 
6103
      esac
 
6104
      as_dirs="'$as_qdir' $as_dirs"
 
6105
      as_dir=`$as_dirname -- "$as_dir" ||
 
6106
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6107
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
6108
         X"$as_dir" : 'X\(//\)$' \| \
 
6109
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
6110
$as_echo X"$as_dir" |
 
6111
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6112
            s//\1/
 
6113
            q
 
6114
          }
 
6115
          /^X\(\/\/\)[^/].*/{
 
6116
            s//\1/
 
6117
            q
 
6118
          }
 
6119
          /^X\(\/\/\)$/{
 
6120
            s//\1/
 
6121
            q
 
6122
          }
 
6123
          /^X\(\/\).*/{
 
6124
            s//\1/
 
6125
            q
 
6126
          }
 
6127
          s/.*/./; q'`
 
6128
      test -d "$as_dir" && break
 
6129
    done
 
6130
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
6131
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
6132
 
 
6133
 
 
6134
} # as_fn_mkdir_p
 
6135
if mkdir -p . 2>/dev/null; then
 
6136
  as_mkdir_p='mkdir -p "$as_dir"'
 
6137
else
 
6138
  test -d ./-p && rmdir ./-p
 
6139
  as_mkdir_p=false
 
6140
fi
 
6141
 
 
6142
 
 
6143
# as_fn_executable_p FILE
 
6144
# -----------------------
 
6145
# Test if FILE is an executable regular file.
 
6146
as_fn_executable_p ()
 
6147
{
 
6148
  test -f "$1" && test -x "$1"
 
6149
} # as_fn_executable_p
 
6150
as_test_x='test -x'
 
6151
as_executable_p=as_fn_executable_p
3299
6152
 
3300
6153
# Sed expression to map a string onto a valid CPP name.
3301
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
6154
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3302
6155
 
3303
6156
# Sed expression to map a string onto a valid variable name.
3304
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3305
 
 
3306
 
 
3307
 
# IFS
3308
 
# We need space, tab and new line, in precisely that order.
3309
 
as_nl='
3310
 
'
3311
 
IFS="   $as_nl"
3312
 
 
3313
 
# CDPATH.
3314
 
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
 
6157
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
6158
 
3315
6159
 
3316
6160
exec 6>&1
 
6161
## ----------------------------------- ##
 
6162
## Main body of $CONFIG_STATUS script. ##
 
6163
## ----------------------------------- ##
 
6164
_ASEOF
 
6165
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3317
6166
 
3318
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
6167
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6168
# Save the log message, to keep $0 and so on meaningful, and to
3319
6169
# report actual input values of CONFIG_FILES etc. instead of their
3320
 
# values after options handling.  Logging --version etc. is OK.
3321
 
exec 5>>config.log
3322
 
{
3323
 
  echo
3324
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3325
 
## Running $as_me. ##
3326
 
_ASBOX
3327
 
} >&5
3328
 
cat >&5 <<_CSEOF
3329
 
 
 
6170
# values after options handling.
 
6171
ac_log="
3330
6172
This file was extended by $as_me, which was
3331
 
generated by GNU Autoconf 2.53.  Invocation command line was
 
6173
generated by GNU Autoconf 2.69.  Invocation command line was
3332
6174
 
3333
6175
  CONFIG_FILES    = $CONFIG_FILES
3334
6176
  CONFIG_HEADERS  = $CONFIG_HEADERS
3336
6178
  CONFIG_COMMANDS = $CONFIG_COMMANDS
3337
6179
  $ $0 $@
3338
6180
 
3339
 
_CSEOF
3340
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3341
 
echo >&5
 
6181
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
6182
"
 
6183
 
3342
6184
_ACEOF
3343
6185
 
 
6186
case $ac_config_files in *"
 
6187
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
6188
esac
 
6189
 
 
6190
case $ac_config_headers in *"
 
6191
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
6192
esac
 
6193
 
 
6194
 
 
6195
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3344
6196
# Files that config.status was made for.
3345
 
if test -n "$ac_config_files"; then
3346
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3347
 
fi
3348
 
 
3349
 
if test -n "$ac_config_headers"; then
3350
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3351
 
fi
3352
 
 
3353
 
if test -n "$ac_config_links"; then
3354
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3355
 
fi
3356
 
 
3357
 
if test -n "$ac_config_commands"; then
3358
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3359
 
fi
3360
 
 
3361
 
cat >>$CONFIG_STATUS <<\_ACEOF
3362
 
 
 
6197
config_files="$ac_config_files"
 
6198
config_headers="$ac_config_headers"
 
6199
config_commands="$ac_config_commands"
 
6200
 
 
6201
_ACEOF
 
6202
 
 
6203
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3363
6204
ac_cs_usage="\
3364
 
\`$as_me' instantiates files from templates according to the
3365
 
current configuration.
 
6205
\`$as_me' instantiates files and other configuration actions
 
6206
from templates according to the current configuration.  Unless the files
 
6207
and actions are specified as TAGs, all are instantiated by default.
3366
6208
 
3367
 
Usage: $0 [OPTIONS] [FILE]...
 
6209
Usage: $0 [OPTION]... [TAG]...
3368
6210
 
3369
6211
  -h, --help       print this help, then exit
3370
 
  -V, --version    print version number, then exit
 
6212
  -V, --version    print version number and configuration settings, then exit
 
6213
      --config     print configuration, then exit
 
6214
  -q, --quiet, --silent
 
6215
                   do not print progress messages
3371
6216
  -d, --debug      don't remove temporary files
3372
6217
      --recheck    update $as_me by reconfiguring in the same conditions
3373
 
  --file=FILE[:TEMPLATE]
 
6218
      --file=FILE[:TEMPLATE]
3374
6219
                   instantiate the configuration file FILE
3375
 
  --header=FILE[:TEMPLATE]
 
6220
      --header=FILE[:TEMPLATE]
3376
6221
                   instantiate the configuration header FILE
3377
6222
 
3378
6223
Configuration files:
3384
6229
Configuration commands:
3385
6230
$config_commands
3386
6231
 
3387
 
Report bugs to <bug-autoconf@gnu.org>."
 
6232
Report bugs to the package provider."
 
6233
 
3388
6234
_ACEOF
3389
 
 
3390
 
cat >>$CONFIG_STATUS <<_ACEOF
 
6235
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6236
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3391
6237
ac_cs_version="\\
3392
6238
config.status
3393
 
configured by $0, generated by GNU Autoconf 2.53,
3394
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
6239
configured by $0, generated by GNU Autoconf 2.69,
 
6240
  with options \\"\$ac_cs_config\\"
3395
6241
 
3396
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3397
 
Free Software Foundation, Inc.
 
6242
Copyright (C) 2012 Free Software Foundation, Inc.
3398
6243
This config.status script is free software; the Free Software Foundation
3399
6244
gives unlimited permission to copy, distribute and modify it."
3400
 
srcdir=$srcdir
3401
 
INSTALL="$INSTALL"
 
6245
 
 
6246
ac_pwd='$ac_pwd'
 
6247
srcdir='$srcdir'
 
6248
INSTALL='$INSTALL'
 
6249
AWK='$AWK'
 
6250
test -n "\$AWK" || AWK=awk
3402
6251
_ACEOF
3403
6252
 
3404
 
cat >>$CONFIG_STATUS <<\_ACEOF
3405
 
# If no file are specified by the user, then we need to provide default
3406
 
# value.  By we need to know if files were specified by the user.
 
6253
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6254
# The default lists apply if the user does not specify any file.
3407
6255
ac_need_defaults=:
3408
6256
while test $# != 0
3409
6257
do
3410
6258
  case $1 in
3411
 
  --*=*)
3412
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
3413
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3414
 
    shift
3415
 
    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
3416
 
    shift
3417
 
    ;;
3418
 
  -*);;
3419
 
  *) # This is not an option, so the user has probably given explicit
3420
 
     # arguments.
3421
 
     ac_need_defaults=false;;
 
6259
  --*=?*)
 
6260
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
6261
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
6262
    ac_shift=:
 
6263
    ;;
 
6264
  --*=)
 
6265
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
6266
    ac_optarg=
 
6267
    ac_shift=:
 
6268
    ;;
 
6269
  *)
 
6270
    ac_option=$1
 
6271
    ac_optarg=$2
 
6272
    ac_shift=shift
 
6273
    ;;
3422
6274
  esac
3423
6275
 
3424
 
  case $1 in
 
6276
  case $ac_option in
3425
6277
  # Handling of the options.
3426
 
_ACEOF
3427
 
cat >>$CONFIG_STATUS <<_ACEOF
3428
6278
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3429
 
    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3430
 
    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
3431
 
_ACEOF
3432
 
cat >>$CONFIG_STATUS <<\_ACEOF
3433
 
  --version | --vers* | -V )
3434
 
    echo "$ac_cs_version"; exit 0 ;;
 
6279
    ac_cs_recheck=: ;;
 
6280
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
6281
    $as_echo "$ac_cs_version"; exit ;;
 
6282
  --config | --confi | --conf | --con | --co | --c )
 
6283
    $as_echo "$ac_cs_config"; exit ;;
 
6284
  --debug | --debu | --deb | --de | --d | -d )
 
6285
    debug=: ;;
 
6286
  --file | --fil | --fi | --f )
 
6287
    $ac_shift
 
6288
    case $ac_optarg in
 
6289
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
6290
    '') as_fn_error $? "missing file argument" ;;
 
6291
    esac
 
6292
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
6293
    ac_need_defaults=false;;
 
6294
  --header | --heade | --head | --hea )
 
6295
    $ac_shift
 
6296
    case $ac_optarg in
 
6297
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
6298
    esac
 
6299
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
6300
    ac_need_defaults=false;;
3435
6301
  --he | --h)
3436
6302
    # Conflict between --help and --header
3437
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
3438
 
Try \`$0 --help' for more information." >&5
3439
 
echo "$as_me: error: ambiguous option: $1
3440
 
Try \`$0 --help' for more information." >&2;}
3441
 
   { (exit 1); exit 1; }; };;
 
6303
    as_fn_error $? "ambiguous option: \`$1'
 
6304
Try \`$0 --help' for more information.";;
3442
6305
  --help | --hel | -h )
3443
 
    echo "$ac_cs_usage"; exit 0 ;;
3444
 
  --debug | --d* | -d )
3445
 
    debug=: ;;
3446
 
  --file | --fil | --fi | --f )
3447
 
    shift
3448
 
    CONFIG_FILES="$CONFIG_FILES $1"
3449
 
    ac_need_defaults=false;;
3450
 
  --header | --heade | --head | --hea )
3451
 
    shift
3452
 
    CONFIG_HEADERS="$CONFIG_HEADERS $1"
3453
 
    ac_need_defaults=false;;
 
6306
    $as_echo "$ac_cs_usage"; exit ;;
 
6307
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
6308
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
6309
    ac_cs_silent=: ;;
3454
6310
 
3455
6311
  # This is an error.
3456
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3457
 
Try \`$0 --help' for more information." >&5
3458
 
echo "$as_me: error: unrecognized option: $1
3459
 
Try \`$0 --help' for more information." >&2;}
3460
 
   { (exit 1); exit 1; }; } ;;
 
6312
  -*) as_fn_error $? "unrecognized option: \`$1'
 
6313
Try \`$0 --help' for more information." ;;
3461
6314
 
3462
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
6315
  *) as_fn_append ac_config_targets " $1"
 
6316
     ac_need_defaults=false ;;
3463
6317
 
3464
6318
  esac
3465
6319
  shift
3466
6320
done
3467
6321
 
3468
 
_ACEOF
3469
 
 
3470
 
cat >>$CONFIG_STATUS <<_ACEOF
3471
 
#
3472
 
# INIT-COMMANDS section.
3473
 
#
3474
 
 
3475
 
AMDEP_TRUE="$AMDEP_TRUE"
3476
 
ac_aux_dir="$ac_aux_dir"
3477
 
 
3478
 
_ACEOF
3479
 
 
3480
 
 
3481
 
 
3482
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6322
ac_configure_extra_args=
 
6323
 
 
6324
if $ac_cs_silent; then
 
6325
  exec 6>/dev/null
 
6326
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
6327
fi
 
6328
 
 
6329
_ACEOF
 
6330
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6331
if \$ac_cs_recheck; then
 
6332
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
6333
  shift
 
6334
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
6335
  CONFIG_SHELL='$SHELL'
 
6336
  export CONFIG_SHELL
 
6337
  exec "\$@"
 
6338
fi
 
6339
 
 
6340
_ACEOF
 
6341
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6342
exec 5>>config.log
 
6343
{
 
6344
  echo
 
6345
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
6346
## Running $as_me. ##
 
6347
_ASBOX
 
6348
  $as_echo "$ac_log"
 
6349
} >&5
 
6350
 
 
6351
_ACEOF
 
6352
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6353
#
 
6354
# INIT-COMMANDS
 
6355
#
 
6356
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
6357
 
 
6358
_ACEOF
 
6359
 
 
6360
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6361
 
 
6362
# Handling of arguments.
3483
6363
for ac_config_target in $ac_config_targets
3484
6364
do
3485
 
  case "$ac_config_target" in
3486
 
  # Handling of arguments.
3487
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3488
 
  "conf/Makefile" ) CONFIG_FILES="$CONFIG_FILES conf/Makefile" ;;
3489
 
  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3490
 
  "doc/api/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/api/Makefile" ;;
3491
 
  "games/Makefile" ) CONFIG_FILES="$CONFIG_FILES games/Makefile" ;;
3492
 
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
3493
 
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
3494
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3495
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3496
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3497
 
   { (exit 1); exit 1; }; };;
 
6365
  case $ac_config_target in
 
6366
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
6367
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
6368
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
6369
    "conf/Makefile") CONFIG_FILES="$CONFIG_FILES conf/Makefile" ;;
 
6370
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 
6371
    "doc/api/Makefile") CONFIG_FILES="$CONFIG_FILES doc/api/Makefile" ;;
 
6372
    "doc/systemd/Makefile") CONFIG_FILES="$CONFIG_FILES doc/systemd/Makefile" ;;
 
6373
    "games/Makefile") CONFIG_FILES="$CONFIG_FILES games/Makefile" ;;
 
6374
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
6375
 
 
6376
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3498
6377
  esac
3499
6378
done
3500
6379
 
 
6380
 
3501
6381
# If the user did not use the arguments to specify the items to instantiate,
3502
6382
# then the envvar interface is used.  Set only those that are not.
3503
6383
# We use the long form for the default assignment because of an extremely
3508
6388
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3509
6389
fi
3510
6390
 
3511
 
# Create a temporary directory, and hook for its removal unless debugging.
 
6391
# Have a temporary directory for convenience.  Make it in the build tree
 
6392
# simply because there is no reason against having it here, and in addition,
 
6393
# creating and moving files from /tmp can sometimes cause problems.
 
6394
# Hook for its removal unless debugging.
 
6395
# Note that there is a small window in which the directory will not be cleaned:
 
6396
# after its creation but before its name has been assigned to `$tmp'.
3512
6397
$debug ||
3513
6398
{
3514
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3515
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
6399
  tmp= ac_tmp=
 
6400
  trap 'exit_status=$?
 
6401
  : "${ac_tmp:=$tmp}"
 
6402
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 
6403
' 0
 
6404
  trap 'as_fn_exit 1' 1 2 13 15
3516
6405
}
3517
 
 
3518
6406
# Create a (secure) tmp directory for tmp files.
3519
 
: ${TMPDIR=/tmp}
 
6407
 
3520
6408
{
3521
 
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3522
 
  test -n "$tmp" && test -d "$tmp"
 
6409
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
6410
  test -d "$tmp"
3523
6411
}  ||
3524
6412
{
3525
 
  tmp=$TMPDIR/cs$$-$RANDOM
3526
 
  (umask 077 && mkdir $tmp)
3527
 
} ||
 
6413
  tmp=./conf$$-$RANDOM
 
6414
  (umask 077 && mkdir "$tmp")
 
6415
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
6416
ac_tmp=$tmp
 
6417
 
 
6418
# Set up the scripts for CONFIG_FILES section.
 
6419
# No need to generate them if there are no CONFIG_FILES.
 
6420
# This happens for instance with `./config.status config.h'.
 
6421
if test -n "$CONFIG_FILES"; then
 
6422
 
 
6423
 
 
6424
ac_cr=`echo X | tr X '\015'`
 
6425
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
6426
# But we know of no other shell where ac_cr would be empty at this
 
6427
# point, so we can use a bashism as a fallback.
 
6428
if test "x$ac_cr" = x; then
 
6429
  eval ac_cr=\$\'\\r\'
 
6430
fi
 
6431
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
6432
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
6433
  ac_cs_awk_cr='\\r'
 
6434
else
 
6435
  ac_cs_awk_cr=$ac_cr
 
6436
fi
 
6437
 
 
6438
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 
6439
_ACEOF
 
6440
 
 
6441
 
3528
6442
{
3529
 
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3530
 
   { (exit 1); exit 1; }
3531
 
}
3532
 
 
3533
 
_ACEOF
3534
 
 
3535
 
cat >>$CONFIG_STATUS <<_ACEOF
3536
 
 
3537
 
#
3538
 
# CONFIG_FILES section.
3539
 
#
3540
 
 
3541
 
# No need to generate the scripts if there are no CONFIG_FILES.
3542
 
# This happens for instance when ./config.status config.h
3543
 
if test -n "\$CONFIG_FILES"; then
3544
 
  # Protect against being on the right side of a sed subst in config.status.
3545
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3546
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3547
 
s,@SHELL@,$SHELL,;t t
3548
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3549
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3550
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3551
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3552
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3553
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3554
 
s,@exec_prefix@,$exec_prefix,;t t
3555
 
s,@prefix@,$prefix,;t t
3556
 
s,@program_transform_name@,$program_transform_name,;t t
3557
 
s,@bindir@,$bindir,;t t
3558
 
s,@sbindir@,$sbindir,;t t
3559
 
s,@libexecdir@,$libexecdir,;t t
3560
 
s,@datadir@,$datadir,;t t
3561
 
s,@sysconfdir@,$sysconfdir,;t t
3562
 
s,@sharedstatedir@,$sharedstatedir,;t t
3563
 
s,@localstatedir@,$localstatedir,;t t
3564
 
s,@libdir@,$libdir,;t t
3565
 
s,@includedir@,$includedir,;t t
3566
 
s,@oldincludedir@,$oldincludedir,;t t
3567
 
s,@infodir@,$infodir,;t t
3568
 
s,@mandir@,$mandir,;t t
3569
 
s,@build_alias@,$build_alias,;t t
3570
 
s,@host_alias@,$host_alias,;t t
3571
 
s,@target_alias@,$target_alias,;t t
3572
 
s,@DEFS@,$DEFS,;t t
3573
 
s,@ECHO_C@,$ECHO_C,;t t
3574
 
s,@ECHO_N@,$ECHO_N,;t t
3575
 
s,@ECHO_T@,$ECHO_T,;t t
3576
 
s,@LIBS@,$LIBS,;t t
3577
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3578
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3579
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3580
 
s,@PACKAGE@,$PACKAGE,;t t
3581
 
s,@VERSION@,$VERSION,;t t
3582
 
s,@EXEEXT@,$EXEEXT,;t t
3583
 
s,@OBJEXT@,$OBJEXT,;t t
3584
 
s,@ACLOCAL@,$ACLOCAL,;t t
3585
 
s,@AUTOCONF@,$AUTOCONF,;t t
3586
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
3587
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
3588
 
s,@MAKEINFO@,$MAKEINFO,;t t
3589
 
s,@AMTAR@,$AMTAR,;t t
3590
 
s,@install_sh@,$install_sh,;t t
3591
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3592
 
s,@AWK@,$AWK,;t t
3593
 
s,@SET_MAKE@,$SET_MAKE,;t t
3594
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3595
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3596
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3597
 
s,@DEPDIR@,$DEPDIR,;t t
3598
 
s,@CXX@,$CXX,;t t
3599
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
3600
 
s,@LDFLAGS@,$LDFLAGS,;t t
3601
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
3602
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
3603
 
s,@am__include@,$am__include,;t t
3604
 
s,@am__quote@,$am__quote,;t t
3605
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
3606
 
s,@CXXCPP@,$CXXCPP,;t t
3607
 
CEOF
3608
 
 
3609
 
_ACEOF
3610
 
 
3611
 
  cat >>$CONFIG_STATUS <<\_ACEOF
3612
 
  # Split the substitutions into bite-sized pieces for seds with
3613
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
3614
 
  ac_max_sed_lines=48
3615
 
  ac_sed_frag=1 # Number of current file.
3616
 
  ac_beg=1 # First line for current file.
3617
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
3618
 
  ac_more_lines=:
3619
 
  ac_sed_cmds=
3620
 
  while $ac_more_lines; do
3621
 
    if test $ac_beg -gt 1; then
3622
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3623
 
    else
3624
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3625
 
    fi
3626
 
    if test ! -s $tmp/subs.frag; then
3627
 
      ac_more_lines=false
3628
 
    else
3629
 
      # The purpose of the label and of the branching condition is to
3630
 
      # speed up the sed processing (if there are no `@' at all, there
3631
 
      # is no need to browse any of the substitutions).
3632
 
      # These are the two extra sed commands mentioned above.
3633
 
      (echo ':t
3634
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3635
 
      if test -z "$ac_sed_cmds"; then
3636
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3637
 
      else
3638
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3639
 
      fi
3640
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
3641
 
      ac_beg=$ac_end
3642
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
3643
 
    fi
3644
 
  done
3645
 
  if test -z "$ac_sed_cmds"; then
3646
 
    ac_sed_cmds=cat
 
6443
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
6444
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
6445
  echo "_ACEOF"
 
6446
} >conf$$subs.sh ||
 
6447
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
6448
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 
6449
ac_delim='%!_!# '
 
6450
for ac_last_try in false false false false false :; do
 
6451
  . ./conf$$subs.sh ||
 
6452
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
6453
 
 
6454
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
6455
  if test $ac_delim_n = $ac_delim_num; then
 
6456
    break
 
6457
  elif $ac_last_try; then
 
6458
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
6459
  else
 
6460
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3647
6461
  fi
 
6462
done
 
6463
rm -f conf$$subs.sh
 
6464
 
 
6465
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6466
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 
6467
_ACEOF
 
6468
sed -n '
 
6469
h
 
6470
s/^/S["/; s/!.*/"]=/
 
6471
p
 
6472
g
 
6473
s/^[^!]*!//
 
6474
:repl
 
6475
t repl
 
6476
s/'"$ac_delim"'$//
 
6477
t delim
 
6478
:nl
 
6479
h
 
6480
s/\(.\{148\}\)..*/\1/
 
6481
t more1
 
6482
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
6483
p
 
6484
n
 
6485
b repl
 
6486
:more1
 
6487
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
6488
p
 
6489
g
 
6490
s/.\{148\}//
 
6491
t nl
 
6492
:delim
 
6493
h
 
6494
s/\(.\{148\}\)..*/\1/
 
6495
t more2
 
6496
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
6497
p
 
6498
b
 
6499
:more2
 
6500
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
6501
p
 
6502
g
 
6503
s/.\{148\}//
 
6504
t delim
 
6505
' <conf$$subs.awk | sed '
 
6506
/^[^""]/{
 
6507
  N
 
6508
  s/\n//
 
6509
}
 
6510
' >>$CONFIG_STATUS || ac_write_fail=1
 
6511
rm -f conf$$subs.awk
 
6512
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6513
_ACAWK
 
6514
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 
6515
  for (key in S) S_is_set[key] = 1
 
6516
  FS = ""
 
6517
 
 
6518
}
 
6519
{
 
6520
  line = $ 0
 
6521
  nfields = split(line, field, "@")
 
6522
  substed = 0
 
6523
  len = length(field[1])
 
6524
  for (i = 2; i < nfields; i++) {
 
6525
    key = field[i]
 
6526
    keylen = length(key)
 
6527
    if (S_is_set[key]) {
 
6528
      value = S[key]
 
6529
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
6530
      len += length(value) + length(field[++i])
 
6531
      substed = 1
 
6532
    } else
 
6533
      len += 1 + keylen
 
6534
  }
 
6535
 
 
6536
  print line
 
6537
}
 
6538
 
 
6539
_ACAWK
 
6540
_ACEOF
 
6541
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6542
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
6543
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
6544
else
 
6545
  cat
 
6546
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
6547
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
6548
_ACEOF
 
6549
 
 
6550
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
6551
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 
6552
# trailing colons and then remove the whole line if VPATH becomes empty
 
6553
# (actually we leave an empty line to preserve line numbers).
 
6554
if test "x$srcdir" = x.; then
 
6555
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
6556
h
 
6557
s///
 
6558
s/^/:/
 
6559
s/[      ]*$/:/
 
6560
s/:\$(srcdir):/:/g
 
6561
s/:\${srcdir}:/:/g
 
6562
s/:@srcdir@:/:/g
 
6563
s/^:*//
 
6564
s/:*$//
 
6565
x
 
6566
s/\(=[   ]*\).*/\1/
 
6567
G
 
6568
s/\n//
 
6569
s/^[^=]*=[       ]*$//
 
6570
}'
 
6571
fi
 
6572
 
 
6573
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3648
6574
fi # test -n "$CONFIG_FILES"
3649
6575
 
3650
 
_ACEOF
3651
 
cat >>$CONFIG_STATUS <<\_ACEOF
3652
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3653
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3654
 
  case $ac_file in
3655
 
  - | *:- | *:-:* ) # input from stdin
3656
 
        cat >$tmp/stdin
3657
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3658
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3659
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3660
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3661
 
  * )   ac_file_in=$ac_file.in ;;
3662
 
  esac
3663
 
 
3664
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3665
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
6576
# Set up the scripts for CONFIG_HEADERS section.
 
6577
# No need to generate them if there are no CONFIG_HEADERS.
 
6578
# This happens for instance with `./config.status Makefile'.
 
6579
if test -n "$CONFIG_HEADERS"; then
 
6580
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 
6581
BEGIN {
 
6582
_ACEOF
 
6583
 
 
6584
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
6585
# here-document in config.status, that substitutes the proper values into
 
6586
# config.h.in to produce config.h.
 
6587
 
 
6588
# Create a delimiter string that does not exist in confdefs.h, to ease
 
6589
# handling of long lines.
 
6590
ac_delim='%!_!# '
 
6591
for ac_last_try in false false :; do
 
6592
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
6593
  if test -z "$ac_tt"; then
 
6594
    break
 
6595
  elif $ac_last_try; then
 
6596
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 
6597
  else
 
6598
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
6599
  fi
 
6600
done
 
6601
 
 
6602
# For the awk script, D is an array of macro values keyed by name,
 
6603
# likewise P contains macro parameters if any.  Preserve backslash
 
6604
# newline sequences.
 
6605
 
 
6606
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
6607
sed -n '
 
6608
s/.\{148\}/&'"$ac_delim"'/g
 
6609
t rset
 
6610
:rset
 
6611
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
6612
t def
 
6613
d
 
6614
:def
 
6615
s/\\$//
 
6616
t bsnl
 
6617
s/["\\]/\\&/g
 
6618
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
6619
D["\1"]=" \3"/p
 
6620
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
6621
d
 
6622
:bsnl
 
6623
s/["\\]/\\&/g
 
6624
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
6625
D["\1"]=" \3\\\\\\n"\\/p
 
6626
t cont
 
6627
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
6628
t cont
 
6629
d
 
6630
:cont
 
6631
n
 
6632
s/.\{148\}/&'"$ac_delim"'/g
 
6633
t clear
 
6634
:clear
 
6635
s/\\$//
 
6636
t bsnlc
 
6637
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
6638
d
 
6639
:bsnlc
 
6640
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
6641
b cont
 
6642
' <confdefs.h | sed '
 
6643
s/'"$ac_delim"'/"\\\
 
6644
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
6645
 
 
6646
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6647
  for (key in D) D_is_set[key] = 1
 
6648
  FS = ""
 
6649
}
 
6650
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
6651
  line = \$ 0
 
6652
  split(line, arg, " ")
 
6653
  if (arg[1] == "#") {
 
6654
    defundef = arg[2]
 
6655
    mac1 = arg[3]
 
6656
  } else {
 
6657
    defundef = substr(arg[1], 2)
 
6658
    mac1 = arg[2]
 
6659
  }
 
6660
  split(mac1, mac2, "(") #)
 
6661
  macro = mac2[1]
 
6662
  prefix = substr(line, 1, index(line, defundef) - 1)
 
6663
  if (D_is_set[macro]) {
 
6664
    # Preserve the white space surrounding the "#".
 
6665
    print prefix "define", macro P[macro] D[macro]
 
6666
    next
 
6667
  } else {
 
6668
    # Replace #undef with comments.  This is necessary, for example,
 
6669
    # in the case of _POSIX_SOURCE, which is predefined and required
 
6670
    # on some systems where configure will not decide to define it.
 
6671
    if (defundef == "undef") {
 
6672
      print "/*", prefix defundef, macro, "*/"
 
6673
      next
 
6674
    }
 
6675
  }
 
6676
}
 
6677
{ print }
 
6678
_ACAWK
 
6679
_ACEOF
 
6680
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6681
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 
6682
fi # test -n "$CONFIG_HEADERS"
 
6683
 
 
6684
 
 
6685
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
6686
shift
 
6687
for ac_tag
 
6688
do
 
6689
  case $ac_tag in
 
6690
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
6691
  esac
 
6692
  case $ac_mode$ac_tag in
 
6693
  :[FHL]*:*);;
 
6694
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
6695
  :[FH]-) ac_tag=-:-;;
 
6696
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
6697
  esac
 
6698
  ac_save_IFS=$IFS
 
6699
  IFS=:
 
6700
  set x $ac_tag
 
6701
  IFS=$ac_save_IFS
 
6702
  shift
 
6703
  ac_file=$1
 
6704
  shift
 
6705
 
 
6706
  case $ac_mode in
 
6707
  :L) ac_source=$1;;
 
6708
  :[FH])
 
6709
    ac_file_inputs=
 
6710
    for ac_f
 
6711
    do
 
6712
      case $ac_f in
 
6713
      -) ac_f="$ac_tmp/stdin";;
 
6714
      *) # Look for the file first in the build tree, then in the source tree
 
6715
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
6716
         # because $ac_f cannot contain `:'.
 
6717
         test -f "$ac_f" ||
 
6718
           case $ac_f in
 
6719
           [\\/$]*) false;;
 
6720
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
6721
           esac ||
 
6722
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
6723
      esac
 
6724
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
6725
      as_fn_append ac_file_inputs " '$ac_f'"
 
6726
    done
 
6727
 
 
6728
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
6729
    # use $as_me), people would be surprised to read:
 
6730
    #    /* config.h.  Generated by config.status.  */
 
6731
    configure_input='Generated from '`
 
6732
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
6733
        `' by configure.'
 
6734
    if test x"$ac_file" != x-; then
 
6735
      configure_input="$ac_file.  $configure_input"
 
6736
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
6737
$as_echo "$as_me: creating $ac_file" >&6;}
 
6738
    fi
 
6739
    # Neutralize special characters interpreted by sed in replacement strings.
 
6740
    case $configure_input in #(
 
6741
    *\&* | *\|* | *\\* )
 
6742
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
6743
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
6744
    *) ac_sed_conf_input=$configure_input;;
 
6745
    esac
 
6746
 
 
6747
    case $ac_tag in
 
6748
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
6749
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 
6750
    esac
 
6751
    ;;
 
6752
  esac
 
6753
 
 
6754
  ac_dir=`$as_dirname -- "$ac_file" ||
3666
6755
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3667
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
3668
 
         X"$ac_file" : 'X\(//\)$' \| \
3669
 
         X"$ac_file" : 'X\(/\)' \| \
3670
 
         .     : '\(.\)' 2>/dev/null ||
3671
 
echo X"$ac_file" |
3672
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3673
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3674
 
          /^X\(\/\/\)$/{ s//\1/; q; }
3675
 
          /^X\(\/\).*/{ s//\1/; q; }
3676
 
          s/.*/./; q'`
3677
 
  { case "$ac_dir" in
3678
 
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3679
 
  *)                      as_incr_dir=.;;
3680
 
esac
3681
 
as_dummy="$ac_dir"
3682
 
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3683
 
  case $as_mkdir_dir in
3684
 
    # Skip DOS drivespec
3685
 
    ?:) as_incr_dir=$as_mkdir_dir ;;
3686
 
    *)
3687
 
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
3688
 
      test -d "$as_incr_dir" ||
3689
 
        mkdir "$as_incr_dir" ||
3690
 
        { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
3691
 
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
3692
 
   { (exit 1); exit 1; }; }
3693
 
    ;;
3694
 
  esac
3695
 
done; }
3696
 
 
 
6756
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
6757
         X"$ac_file" : 'X\(//\)$' \| \
 
6758
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
6759
$as_echo X"$ac_file" |
 
6760
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6761
            s//\1/
 
6762
            q
 
6763
          }
 
6764
          /^X\(\/\/\)[^/].*/{
 
6765
            s//\1/
 
6766
            q
 
6767
          }
 
6768
          /^X\(\/\/\)$/{
 
6769
            s//\1/
 
6770
            q
 
6771
          }
 
6772
          /^X\(\/\).*/{
 
6773
            s//\1/
 
6774
            q
 
6775
          }
 
6776
          s/.*/./; q'`
 
6777
  as_dir="$ac_dir"; as_fn_mkdir_p
3697
6778
  ac_builddir=.
3698
6779
 
3699
 
if test "$ac_dir" != .; then
3700
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3701
 
  # A "../" for each directory in $ac_dir_suffix.
3702
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3703
 
else
3704
 
  ac_dir_suffix= ac_top_builddir=
3705
 
fi
 
6780
case "$ac_dir" in
 
6781
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
6782
*)
 
6783
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
6784
  # A ".." for each directory in $ac_dir_suffix.
 
6785
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
6786
  case $ac_top_builddir_sub in
 
6787
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
6788
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
6789
  esac ;;
 
6790
esac
 
6791
ac_abs_top_builddir=$ac_pwd
 
6792
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
6793
# for backward compatibility:
 
6794
ac_top_builddir=$ac_top_build_prefix
3706
6795
 
3707
6796
case $srcdir in
3708
 
  .)  # No --srcdir option.  We are building in place.
 
6797
  .)  # We are building in place.
3709
6798
    ac_srcdir=.
3710
 
    if test -z "$ac_top_builddir"; then
3711
 
       ac_top_srcdir=.
3712
 
    else
3713
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3714
 
    fi ;;
3715
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
6799
    ac_top_srcdir=$ac_top_builddir_sub
 
6800
    ac_abs_top_srcdir=$ac_pwd ;;
 
6801
  [\\/]* | ?:[\\/]* )  # Absolute name.
3716
6802
    ac_srcdir=$srcdir$ac_dir_suffix;
3717
 
    ac_top_srcdir=$srcdir ;;
3718
 
  *) # Relative path.
3719
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3720
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
6803
    ac_top_srcdir=$srcdir
 
6804
    ac_abs_top_srcdir=$srcdir ;;
 
6805
  *) # Relative name.
 
6806
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
6807
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
6808
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3721
6809
esac
3722
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
3723
 
# absolute.
3724
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
3725
 
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
3726
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
3727
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
3728
 
 
 
6810
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
6811
 
 
6812
 
 
6813
  case $ac_mode in
 
6814
  :F)
 
6815
  #
 
6816
  # CONFIG_FILE
 
6817
  #
3729
6818
 
3730
6819
  case $INSTALL in
3731
6820
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3732
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
6821
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3733
6822
  esac
3734
 
 
3735
 
  if test x"$ac_file" != x-; then
3736
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
3737
 
echo "$as_me: creating $ac_file" >&6;}
3738
 
    rm -f "$ac_file"
3739
 
  fi
3740
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
3741
 
  # use $as_me), people would be surprised to read:
3742
 
  #    /* config.h.  Generated by config.status.  */
3743
 
  if test x"$ac_file" = x-; then
3744
 
    configure_input=
3745
 
  else
3746
 
    configure_input="$ac_file.  "
3747
 
  fi
3748
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
3749
 
                                     sed 's,.*/,,'` by configure."
3750
 
 
3751
 
  # First look for the input files in the build tree, otherwise in the
3752
 
  # src tree.
3753
 
  ac_file_inputs=`IFS=:
3754
 
    for f in $ac_file_in; do
3755
 
      case $f in
3756
 
      -) echo $tmp/stdin ;;
3757
 
      [\\/$]*)
3758
 
         # Absolute (can't be DOS-style, as IFS=:)
3759
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3760
 
echo "$as_me: error: cannot find input file: $f" >&2;}
3761
 
   { (exit 1); exit 1; }; }
3762
 
         echo $f;;
3763
 
      *) # Relative
3764
 
         if test -f "$f"; then
3765
 
           # Build tree
3766
 
           echo $f
3767
 
         elif test -f "$srcdir/$f"; then
3768
 
           # Source tree
3769
 
           echo $srcdir/$f
3770
 
         else
3771
 
           # /dev/null tree
3772
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3773
 
echo "$as_me: error: cannot find input file: $f" >&2;}
3774
 
   { (exit 1); exit 1; }; }
3775
 
         fi;;
3776
 
      esac
3777
 
    done` || { (exit 1); exit 1; }
3778
 
_ACEOF
3779
 
cat >>$CONFIG_STATUS <<_ACEOF
3780
 
  sed "$ac_vpsub
 
6823
_ACEOF
 
6824
 
 
6825
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6826
# If the template does not know about datarootdir, expand it.
 
6827
# FIXME: This hack should be removed a few years after 2.60.
 
6828
ac_datarootdir_hack=; ac_datarootdir_seen=
 
6829
ac_sed_dataroot='
 
6830
/datarootdir/ {
 
6831
  p
 
6832
  q
 
6833
}
 
6834
/@datadir@/p
 
6835
/@docdir@/p
 
6836
/@infodir@/p
 
6837
/@localedir@/p
 
6838
/@mandir@/p'
 
6839
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
6840
*datarootdir*) ac_datarootdir_seen=yes;;
 
6841
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
6842
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
6843
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
6844
_ACEOF
 
6845
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6846
  ac_datarootdir_hack='
 
6847
  s&@datadir@&$datadir&g
 
6848
  s&@docdir@&$docdir&g
 
6849
  s&@infodir@&$infodir&g
 
6850
  s&@localedir@&$localedir&g
 
6851
  s&@mandir@&$mandir&g
 
6852
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
6853
esac
 
6854
_ACEOF
 
6855
 
 
6856
# Neutralize VPATH when `$srcdir' = `.'.
 
6857
# Shell code in configure.ac might set extrasub.
 
6858
# FIXME: do we really want to maintain this feature?
 
6859
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6860
ac_sed_extra="$ac_vpsub
3781
6861
$extrasub
3782
6862
_ACEOF
3783
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6863
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3784
6864
:t
3785
6865
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3786
 
s,@configure_input@,$configure_input,;t t
3787
 
s,@srcdir@,$ac_srcdir,;t t
3788
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
3789
 
s,@top_srcdir@,$ac_top_srcdir,;t t
3790
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3791
 
s,@builddir@,$ac_builddir,;t t
3792
 
s,@abs_builddir@,$ac_abs_builddir,;t t
3793
 
s,@top_builddir@,$ac_top_builddir,;t t
3794
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3795
 
s,@INSTALL@,$ac_INSTALL,;t t
3796
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3797
 
  rm -f $tmp/stdin
3798
 
  if test x"$ac_file" != x-; then
3799
 
    mv $tmp/out $ac_file
3800
 
  else
3801
 
    cat $tmp/out
3802
 
    rm -f $tmp/out
3803
 
  fi
3804
 
 
3805
 
done
3806
 
_ACEOF
3807
 
cat >>$CONFIG_STATUS <<\_ACEOF
3808
 
 
3809
 
#
3810
 
# CONFIG_HEADER section.
3811
 
#
3812
 
 
3813
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3814
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
3815
 
#
3816
 
# ac_d sets the value in "#define NAME VALUE" lines.
3817
 
ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
3818
 
ac_dB='[        ].*$,\1#\2'
3819
 
ac_dC=' '
3820
 
ac_dD=',;t'
3821
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3822
 
ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
3823
 
ac_uB='$,\1#\2define\3'
3824
 
ac_uC=' '
3825
 
ac_uD=',;t'
3826
 
 
3827
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3828
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
6866
s|@configure_input@|$ac_sed_conf_input|;t t
 
6867
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
6868
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
6869
s&@srcdir@&$ac_srcdir&;t t
 
6870
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
6871
s&@top_srcdir@&$ac_top_srcdir&;t t
 
6872
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
6873
s&@builddir@&$ac_builddir&;t t
 
6874
s&@abs_builddir@&$ac_abs_builddir&;t t
 
6875
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
6876
s&@INSTALL@&$ac_INSTALL&;t t
 
6877
$ac_datarootdir_hack
 
6878
"
 
6879
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
6880
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
6881
 
 
6882
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
6883
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
6884
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
6885
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
6886
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
6887
which seems to be undefined.  Please make sure it is defined" >&5
 
6888
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
6889
which seems to be undefined.  Please make sure it is defined" >&2;}
 
6890
 
 
6891
  rm -f "$ac_tmp/stdin"
3829
6892
  case $ac_file in
3830
 
  - | *:- | *:-:* ) # input from stdin
3831
 
        cat >$tmp/stdin
3832
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3833
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3834
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3835
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3836
 
  * )   ac_file_in=$ac_file.in ;;
 
6893
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
6894
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 
6895
  esac \
 
6896
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
6897
 ;;
 
6898
  :H)
 
6899
  #
 
6900
  # CONFIG_HEADER
 
6901
  #
 
6902
  if test x"$ac_file" != x-; then
 
6903
    {
 
6904
      $as_echo "/* $configure_input  */" \
 
6905
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
6906
    } >"$ac_tmp/config.h" \
 
6907
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
6908
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
6909
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
6910
$as_echo "$as_me: $ac_file is unchanged" >&6;}
 
6911
    else
 
6912
      rm -f "$ac_file"
 
6913
      mv "$ac_tmp/config.h" "$ac_file" \
 
6914
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
6915
    fi
 
6916
  else
 
6917
    $as_echo "/* $configure_input  */" \
 
6918
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
6919
      || as_fn_error $? "could not create -" "$LINENO" 5
 
6920
  fi
 
6921
# Compute "$ac_file"'s index in $config_headers.
 
6922
_am_stamp_count=1
 
6923
for _am_header in $config_headers :; do
 
6924
  case $_am_header in
 
6925
    "$ac_file" | "$ac_file":* )
 
6926
      break ;;
 
6927
    * )
 
6928
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
3837
6929
  esac
3838
 
 
3839
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
3840
 
echo "$as_me: creating $ac_file" >&6;}
3841
 
 
3842
 
  # First look for the input files in the build tree, otherwise in the
3843
 
  # src tree.
3844
 
  ac_file_inputs=`IFS=:
3845
 
    for f in $ac_file_in; do
3846
 
      case $f in
3847
 
      -) echo $tmp/stdin ;;
3848
 
      [\\/$]*)
3849
 
         # Absolute (can't be DOS-style, as IFS=:)
3850
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3851
 
echo "$as_me: error: cannot find input file: $f" >&2;}
3852
 
   { (exit 1); exit 1; }; }
3853
 
         echo $f;;
3854
 
      *) # Relative
3855
 
         if test -f "$f"; then
3856
 
           # Build tree
3857
 
           echo $f
3858
 
         elif test -f "$srcdir/$f"; then
3859
 
           # Source tree
3860
 
           echo $srcdir/$f
3861
 
         else
3862
 
           # /dev/null tree
3863
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3864
 
echo "$as_me: error: cannot find input file: $f" >&2;}
3865
 
   { (exit 1); exit 1; }; }
3866
 
         fi;;
3867
 
      esac
3868
 
    done` || { (exit 1); exit 1; }
3869
 
  # Remove the trailing spaces.
3870
 
  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
3871
 
 
3872
 
_ACEOF
3873
 
 
3874
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
3875
 
# `conftest.undefs', that substitutes the proper values into
3876
 
# config.h.in to produce config.h.  The first handles `#define'
3877
 
# templates, and the second `#undef' templates.
3878
 
# And first: Protect against being on the right side of a sed subst in
3879
 
# config.status.  Protect against being in an unquoted here document
3880
 
# in config.status.
3881
 
rm -f conftest.defines conftest.undefs
3882
 
# Using a here document instead of a string reduces the quoting nightmare.
3883
 
# Putting comments in sed scripts is not portable.
3884
 
#
3885
 
# `end' is used to avoid that the second main sed command (meant for
3886
 
# 0-ary CPP macros) applies to n-ary macro definitions.
3887
 
# See the Autoconf documentation for `clear'.
3888
 
cat >confdef2sed.sed <<\_ACEOF
3889
 
s/[\\&,]/\\&/g
3890
 
s,[\\$`],\\&,g
3891
 
t clear
3892
 
: clear
3893
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
3894
 
t end
3895
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3896
 
: end
3897
 
_ACEOF
3898
 
# If some macros were called several times there might be several times
3899
 
# the same #defines, which is useless.  Nevertheless, we may not want to
3900
 
# sort them, since we want the *last* AC-DEFINE to be honored.
3901
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
3902
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
3903
 
rm -f confdef2sed.sed
3904
 
 
3905
 
# This sed command replaces #undef with comments.  This is necessary, for
3906
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
3907
 
# on some systems where configure will not decide to define it.
3908
 
cat >>conftest.undefs <<\_ACEOF
3909
 
s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
3910
 
_ACEOF
3911
 
 
3912
 
# Break up conftest.defines because some shells have a limit on the size
3913
 
# of here documents, and old seds have small limits too (100 cmds).
3914
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
3915
 
echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3916
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
3917
 
echo '  :' >>$CONFIG_STATUS
3918
 
rm -f conftest.tail
3919
 
while grep . conftest.defines >/dev/null
3920
 
do
3921
 
  # Write a limited-size here document to $tmp/defines.sed.
3922
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
3923
 
  # Speed up: don't consider the non `#define' lines.
3924
 
  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
3925
 
  # Work around the forget-to-reset-the-flag bug.
3926
 
  echo 't clr' >>$CONFIG_STATUS
3927
 
  echo ': clr' >>$CONFIG_STATUS
3928
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
3929
 
  echo 'CEOF
3930
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
3931
 
  rm -f $tmp/in
3932
 
  mv $tmp/out $tmp/in
3933
 
' >>$CONFIG_STATUS
3934
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
3935
 
  rm -f conftest.defines
3936
 
  mv conftest.tail conftest.defines
3937
 
done
3938
 
rm -f conftest.defines
3939
 
echo '  fi # egrep' >>$CONFIG_STATUS
3940
 
echo >>$CONFIG_STATUS
3941
 
 
3942
 
# Break up conftest.undefs because some shells have a limit on the size
3943
 
# of here documents, and old seds have small limits too (100 cmds).
3944
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
3945
 
rm -f conftest.tail
3946
 
while grep . conftest.undefs >/dev/null
3947
 
do
3948
 
  # Write a limited-size here document to $tmp/undefs.sed.
3949
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
3950
 
  # Speed up: don't consider the non `#undef'
3951
 
  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
3952
 
  # Work around the forget-to-reset-the-flag bug.
3953
 
  echo 't clr' >>$CONFIG_STATUS
3954
 
  echo ': clr' >>$CONFIG_STATUS
3955
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
3956
 
  echo 'CEOF
3957
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
3958
 
  rm -f $tmp/in
3959
 
  mv $tmp/out $tmp/in
3960
 
' >>$CONFIG_STATUS
3961
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
3962
 
  rm -f conftest.undefs
3963
 
  mv conftest.tail conftest.undefs
3964
 
done
3965
 
rm -f conftest.undefs
3966
 
 
3967
 
cat >>$CONFIG_STATUS <<\_ACEOF
3968
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
3969
 
  # use $as_me), people would be surprised to read:
3970
 
  #    /* config.h.  Generated by config.status.  */
3971
 
  if test x"$ac_file" = x-; then
3972
 
    echo "/* Generated by configure.  */" >$tmp/config.h
3973
 
  else
3974
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
3975
 
  fi
3976
 
  cat $tmp/in >>$tmp/config.h
3977
 
  rm -f $tmp/in
3978
 
  if test x"$ac_file" != x-; then
3979
 
    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
3980
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3981
 
echo "$as_me: $ac_file is unchanged" >&6;}
3982
 
    else
3983
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
6930
done
 
6931
echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
3984
6932
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3985
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
3986
 
         X"$ac_file" : 'X\(//\)$' \| \
3987
 
         X"$ac_file" : 'X\(/\)' \| \
3988
 
         .     : '\(.\)' 2>/dev/null ||
3989
 
echo X"$ac_file" |
3990
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3991
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3992
 
          /^X\(\/\/\)$/{ s//\1/; q; }
3993
 
          /^X\(\/\).*/{ s//\1/; q; }
3994
 
          s/.*/./; q'`
3995
 
      { case "$ac_dir" in
3996
 
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3997
 
  *)                      as_incr_dir=.;;
3998
 
esac
3999
 
as_dummy="$ac_dir"
4000
 
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4001
 
  case $as_mkdir_dir in
4002
 
    # Skip DOS drivespec
4003
 
    ?:) as_incr_dir=$as_mkdir_dir ;;
4004
 
    *)
4005
 
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
4006
 
      test -d "$as_incr_dir" ||
4007
 
        mkdir "$as_incr_dir" ||
4008
 
        { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
4009
 
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
4010
 
   { (exit 1); exit 1; }; }
4011
 
    ;;
 
6933
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
6934
         X"$ac_file" : 'X\(//\)$' \| \
 
6935
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
6936
$as_echo X"$ac_file" |
 
6937
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6938
            s//\1/
 
6939
            q
 
6940
          }
 
6941
          /^X\(\/\/\)[^/].*/{
 
6942
            s//\1/
 
6943
            q
 
6944
          }
 
6945
          /^X\(\/\/\)$/{
 
6946
            s//\1/
 
6947
            q
 
6948
          }
 
6949
          /^X\(\/\).*/{
 
6950
            s//\1/
 
6951
            q
 
6952
          }
 
6953
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
6954
 ;;
 
6955
 
 
6956
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
6957
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
6958
 ;;
4012
6959
  esac
4013
 
done; }
4014
 
 
4015
 
      rm -f $ac_file
4016
 
      mv $tmp/config.h $ac_file
4017
 
    fi
 
6960
 
 
6961
 
 
6962
  case $ac_file$ac_mode in
 
6963
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
6964
  # Strip MF so we end up with the name of the file.
 
6965
  mf=`echo "$mf" | sed -e 's/:.*$//'`
 
6966
  # Check whether this is an Automake generated Makefile or not.
 
6967
  # We used to match only the files named `Makefile.in', but
 
6968
  # some people rename them; so instead we look at the file content.
 
6969
  # Grep'ing the first line is not enough: some people post-process
 
6970
  # each Makefile.in and add a new line on top of each file to say so.
 
6971
  # So let's grep whole file.
 
6972
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
6973
    dirpart=`$as_dirname -- "$mf" ||
 
6974
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6975
         X"$mf" : 'X\(//\)[^/]' \| \
 
6976
         X"$mf" : 'X\(//\)$' \| \
 
6977
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
6978
$as_echo X"$mf" |
 
6979
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6980
            s//\1/
 
6981
            q
 
6982
          }
 
6983
          /^X\(\/\/\)[^/].*/{
 
6984
            s//\1/
 
6985
            q
 
6986
          }
 
6987
          /^X\(\/\/\)$/{
 
6988
            s//\1/
 
6989
            q
 
6990
          }
 
6991
          /^X\(\/\).*/{
 
6992
            s//\1/
 
6993
            q
 
6994
          }
 
6995
          s/.*/./; q'`
4018
6996
  else
4019
 
    cat $tmp/config.h
4020
 
    rm -f $tmp/config.h
 
6997
    continue
4021
6998
  fi
4022
 
  # Run the commands associated with the file.
4023
 
  case $ac_file in
4024
 
    config.h ) # update the timestamp
4025
 
echo timestamp >"./stamp-h1"
4026
 
 ;;
4027
 
  esac
4028
 
done
4029
 
_ACEOF
4030
 
cat >>$CONFIG_STATUS <<\_ACEOF
4031
 
 
4032
 
#
4033
 
# CONFIG_COMMANDS section.
4034
 
#
4035
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4036
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4037
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4038
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4039
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4040
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
4041
 
         X"$ac_dest" : 'X\(//\)$' \| \
4042
 
         X"$ac_dest" : 'X\(/\)' \| \
4043
 
         .     : '\(.\)' 2>/dev/null ||
4044
 
echo X"$ac_dest" |
4045
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4046
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4047
 
          /^X\(\/\/\)$/{ s//\1/; q; }
4048
 
          /^X\(\/\).*/{ s//\1/; q; }
4049
 
          s/.*/./; q'`
4050
 
  ac_builddir=.
4051
 
 
4052
 
if test "$ac_dir" != .; then
4053
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4054
 
  # A "../" for each directory in $ac_dir_suffix.
4055
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4056
 
else
4057
 
  ac_dir_suffix= ac_top_builddir=
4058
 
fi
4059
 
 
4060
 
case $srcdir in
4061
 
  .)  # No --srcdir option.  We are building in place.
4062
 
    ac_srcdir=.
4063
 
    if test -z "$ac_top_builddir"; then
4064
 
       ac_top_srcdir=.
4065
 
    else
4066
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4067
 
    fi ;;
4068
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
4069
 
    ac_srcdir=$srcdir$ac_dir_suffix;
4070
 
    ac_top_srcdir=$srcdir ;;
4071
 
  *) # Relative path.
4072
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4073
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4074
 
esac
4075
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4076
 
# absolute.
4077
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4078
 
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
4079
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4080
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4081
 
 
4082
 
 
4083
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4084
 
echo "$as_me: executing $ac_dest commands" >&6;}
4085
 
  case $ac_dest in
4086
 
    default-1 )
4087
 
test x"$AMDEP_TRUE" != x"" ||
4088
 
for mf in $CONFIG_FILES; do
4089
 
  case "$mf" in
4090
 
  Makefile) dirpart=.;;
4091
 
  */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
4092
 
  *) continue;;
4093
 
  esac
4094
 
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4095
 
  # Extract the definition of DEP_FILES from the Makefile without
4096
 
  # running `make'.
4097
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
6999
  # Extract the definition of DEPDIR, am__include, and am__quote
 
7000
  # from the Makefile without running `make'.
 
7001
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4098
7002
  test -z "$DEPDIR" && continue
 
7003
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
7004
  test -z "am__include" && continue
 
7005
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4099
7006
  # When using ansi2knr, U may be empty or an underscore; expand it
4100
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
4101
 
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4102
 
  # We invoke sed twice because it is the simplest approach to
4103
 
  # changing $(DEPDIR) to its actual value in the expansion.
4104
 
  for file in `sed -n -e '
4105
 
    /^DEP_FILES = .*\\\\$/ {
4106
 
      s/^DEP_FILES = //
4107
 
      :loop
4108
 
        s/\\\\$//
4109
 
        p
4110
 
        n
4111
 
        /\\\\$/ b loop
4112
 
      p
4113
 
    }
4114
 
    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
 
7007
  U=`sed -n 's/^U = //p' < "$mf"`
 
7008
  # Find all dependency output files, they are included files with
 
7009
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
7010
  # simplest approach to changing $(DEPDIR) to its actual value in the
 
7011
  # expansion.
 
7012
  for file in `sed -n "
 
7013
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4115
7014
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4116
7015
    # Make sure the directory exists.
4117
7016
    test -f "$dirpart/$file" && continue
4118
 
    fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
4119
 
    $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
 
7017
    fdir=`$as_dirname -- "$file" ||
 
7018
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
7019
         X"$file" : 'X\(//\)[^/]' \| \
 
7020
         X"$file" : 'X\(//\)$' \| \
 
7021
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
7022
$as_echo X"$file" |
 
7023
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
7024
            s//\1/
 
7025
            q
 
7026
          }
 
7027
          /^X\(\/\/\)[^/].*/{
 
7028
            s//\1/
 
7029
            q
 
7030
          }
 
7031
          /^X\(\/\/\)$/{
 
7032
            s//\1/
 
7033
            q
 
7034
          }
 
7035
          /^X\(\/\).*/{
 
7036
            s//\1/
 
7037
            q
 
7038
          }
 
7039
          s/.*/./; q'`
 
7040
    as_dir=$dirpart/$fdir; as_fn_mkdir_p
4120
7041
    # echo "creating $dirpart/$file"
4121
7042
    echo '# dummy' > "$dirpart/$file"
4122
7043
  done
4123
7044
done
4124
7045
 ;;
 
7046
 
4125
7047
  esac
4126
 
done
4127
 
_ACEOF
4128
 
 
4129
 
cat >>$CONFIG_STATUS <<\_ACEOF
4130
 
 
4131
 
{ (exit 0); exit 0; }
4132
 
_ACEOF
4133
 
chmod +x $CONFIG_STATUS
 
7048
done # for ac_tag
 
7049
 
 
7050
 
 
7051
as_fn_exit 0
 
7052
_ACEOF
4134
7053
ac_clean_files=$ac_clean_files_save
4135
7054
 
 
7055
test $ac_write_fail = 0 ||
 
7056
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
7057
 
4136
7058
 
4137
7059
# configure is writing to config.log, and then calls config.status.
4138
7060
# config.status does its own redirection, appending to config.log.
4144
7066
# need to make the FD available again.
4145
7067
if test "$no_create" != yes; then
4146
7068
  ac_cs_success=:
 
7069
  ac_config_status_args=
 
7070
  test "$silent" = yes &&
 
7071
    ac_config_status_args="$ac_config_status_args --quiet"
4147
7072
  exec 5>/dev/null
4148
 
  $SHELL $CONFIG_STATUS || ac_cs_success=false
 
7073
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4149
7074
  exec 5>>config.log
4150
7075
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4151
7076
  # would make configure fail if this is the last instruction.
4152
 
  $ac_cs_success || { (exit 1); exit 1; }
 
7077
  $ac_cs_success || as_fn_exit 1
 
7078
fi
 
7079
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
7080
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
7081
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4153
7082
fi
4154
7083