~kxteam/xts/xts-server-trunk

« back to all changes in this revision

Viewing changes to configure

  • Committer: Joshua Mark Higgins
  • Date: 2013-04-07 20:24:40 UTC
  • Revision ID: joshiggins@gmail.com-20130407202440-25czw5iaea8wsp41
Inital import of project

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# Guess values for system-dependent variables and create Makefiles.
 
3
# Generated by GNU Autoconf 2.69 for xts-server 0.1.
 
4
#
 
5
#
 
6
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
 
7
#
 
8
#
 
9
# This configure script is free software; the Free Software Foundation
 
10
# gives unlimited permission to copy, distribute and modify it.
 
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 :
 
18
  emulate sh
 
19
  NULLCMD=:
 
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='+ '
 
125
 
 
126
# NLS nuisances.
 
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
  if (eval "$as_required") 2>/dev/null; then :
 
200
  as_have_required=yes
 
201
else
 
202
  as_have_required=no
 
203
fi
 
204
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
205
 
 
206
else
 
207
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
208
as_found=false
 
209
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
210
do
 
211
  IFS=$as_save_IFS
 
212
  test -z "$as_dir" && as_dir=.
 
213
  as_found=:
 
214
  case $as_dir in #(
 
215
         /*)
 
216
           for as_base in sh bash ksh sh5; do
 
217
             # Try only shells that exist, to save several forks.
 
218
             as_shell=$as_dir/$as_base
 
219
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
220
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
221
  CONFIG_SHELL=$as_shell as_have_required=yes
 
222
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
223
  break 2
 
224
fi
 
225
fi
 
226
           done;;
 
227
       esac
 
228
  as_found=false
 
229
done
 
230
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
231
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
232
  CONFIG_SHELL=$SHELL as_have_required=yes
 
233
fi; }
 
234
IFS=$as_save_IFS
 
235
 
 
236
 
 
237
      if test "x$CONFIG_SHELL" != x; then :
 
238
  export CONFIG_SHELL
 
239
             # We cannot yet assume a decent shell, so we have to provide a
 
240
# neutralization value for shells without unset; and this also
 
241
# works around shells that cannot unset nonexistent variables.
 
242
# Preserve -v and -x to the replacement shell.
 
243
BASH_ENV=/dev/null
 
244
ENV=/dev/null
 
245
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
246
case $- in # ((((
 
247
  *v*x* | *x*v* ) as_opts=-vx ;;
 
248
  *v* ) as_opts=-v ;;
 
249
  *x* ) as_opts=-x ;;
 
250
  * ) as_opts= ;;
 
251
esac
 
252
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
253
# Admittedly, this is quite paranoid, since all the known shells bail
 
254
# out after a failed `exec'.
 
255
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
256
exit 255
 
257
fi
 
258
 
 
259
    if test x$as_have_required = xno; then :
 
260
  $as_echo "$0: This script requires a shell more modern than all"
 
261
  $as_echo "$0: the shells that I found on your system."
 
262
  if test x${ZSH_VERSION+set} = xset ; then
 
263
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
264
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
265
  else
 
266
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
267
$0: including any error possibly output before this
 
268
$0: message. Then install a modern shell, or manually run
 
269
$0: the script under such a shell if you do have one."
 
270
  fi
 
271
  exit 1
 
272
fi
 
273
fi
 
274
fi
 
275
SHELL=${CONFIG_SHELL-/bin/sh}
 
276
export SHELL
 
277
# Unset more variables known to interfere with behavior of common tools.
 
278
CLICOLOR_FORCE= GREP_OPTIONS=
 
279
unset CLICOLOR_FORCE GREP_OPTIONS
 
280
 
 
281
## --------------------- ##
 
282
## M4sh Shell Functions. ##
 
283
## --------------------- ##
 
284
# as_fn_unset VAR
 
285
# ---------------
 
286
# Portably unset VAR.
 
287
as_fn_unset ()
 
288
{
 
289
  { eval $1=; unset $1;}
 
290
}
 
291
as_unset=as_fn_unset
 
292
 
 
293
# as_fn_set_status STATUS
 
294
# -----------------------
 
295
# Set $? to STATUS, without forking.
 
296
as_fn_set_status ()
 
297
{
 
298
  return $1
 
299
} # as_fn_set_status
 
300
 
 
301
# as_fn_exit STATUS
 
302
# -----------------
 
303
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
304
as_fn_exit ()
 
305
{
 
306
  set +e
 
307
  as_fn_set_status $1
 
308
  exit $1
 
309
} # as_fn_exit
 
310
 
 
311
# as_fn_mkdir_p
 
312
# -------------
 
313
# Create "$as_dir" as a directory, including parents if necessary.
 
314
as_fn_mkdir_p ()
 
315
{
 
316
 
 
317
  case $as_dir in #(
 
318
  -*) as_dir=./$as_dir;;
 
319
  esac
 
320
  test -d "$as_dir" || eval $as_mkdir_p || {
 
321
    as_dirs=
 
322
    while :; do
 
323
      case $as_dir in #(
 
324
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
325
      *) as_qdir=$as_dir;;
 
326
      esac
 
327
      as_dirs="'$as_qdir' $as_dirs"
 
328
      as_dir=`$as_dirname -- "$as_dir" ||
 
329
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
330
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
331
         X"$as_dir" : 'X\(//\)$' \| \
 
332
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
333
$as_echo X"$as_dir" |
 
334
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
335
            s//\1/
 
336
            q
 
337
          }
 
338
          /^X\(\/\/\)[^/].*/{
 
339
            s//\1/
 
340
            q
 
341
          }
 
342
          /^X\(\/\/\)$/{
 
343
            s//\1/
 
344
            q
 
345
          }
 
346
          /^X\(\/\).*/{
 
347
            s//\1/
 
348
            q
 
349
          }
 
350
          s/.*/./; q'`
 
351
      test -d "$as_dir" && break
 
352
    done
 
353
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
354
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
355
 
 
356
 
 
357
} # as_fn_mkdir_p
 
358
 
 
359
# as_fn_executable_p FILE
 
360
# -----------------------
 
361
# Test if FILE is an executable regular file.
 
362
as_fn_executable_p ()
 
363
{
 
364
  test -f "$1" && test -x "$1"
 
365
} # as_fn_executable_p
 
366
# as_fn_append VAR VALUE
 
367
# ----------------------
 
368
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
369
# advantage of any shell optimizations that allow amortized linear growth over
 
370
# repeated appends, instead of the typical quadratic growth present in naive
 
371
# implementations.
 
372
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
373
  eval 'as_fn_append ()
 
374
  {
 
375
    eval $1+=\$2
 
376
  }'
 
377
else
 
378
  as_fn_append ()
 
379
  {
 
380
    eval $1=\$$1\$2
 
381
  }
 
382
fi # as_fn_append
 
383
 
 
384
# as_fn_arith ARG...
 
385
# ------------------
 
386
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
387
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
388
# must be portable across $(()) and expr.
 
389
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
390
  eval 'as_fn_arith ()
 
391
  {
 
392
    as_val=$(( $* ))
 
393
  }'
 
394
else
 
395
  as_fn_arith ()
 
396
  {
 
397
    as_val=`expr "$@" || test $? -eq 1`
 
398
  }
 
399
fi # as_fn_arith
 
400
 
 
401
 
 
402
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
403
# ----------------------------------------
 
404
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
405
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
406
# script with STATUS, using 1 if that was 0.
 
407
as_fn_error ()
 
408
{
 
409
  as_status=$1; test $as_status -eq 0 && as_status=1
 
410
  if test "$4"; then
 
411
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
412
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
413
  fi
 
414
  $as_echo "$as_me: error: $2" >&2
 
415
  as_fn_exit $as_status
 
416
} # as_fn_error
 
417
 
 
418
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
419
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
420
  as_expr=expr
 
421
else
 
422
  as_expr=false
 
423
fi
 
424
 
 
425
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
426
  as_basename=basename
 
427
else
 
428
  as_basename=false
 
429
fi
 
430
 
 
431
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
432
  as_dirname=dirname
 
433
else
 
434
  as_dirname=false
 
435
fi
 
436
 
 
437
as_me=`$as_basename -- "$0" ||
 
438
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
439
         X"$0" : 'X\(//\)$' \| \
 
440
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
441
$as_echo X/"$0" |
 
442
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
443
            s//\1/
 
444
            q
 
445
          }
 
446
          /^X\/\(\/\/\)$/{
 
447
            s//\1/
 
448
            q
 
449
          }
 
450
          /^X\/\(\/\).*/{
 
451
            s//\1/
 
452
            q
 
453
          }
 
454
          s/.*/./; q'`
 
455
 
 
456
# Avoid depending upon Character Ranges.
 
457
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
458
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
459
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
460
as_cr_digits='0123456789'
 
461
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
462
 
 
463
 
 
464
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
465
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
466
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
467
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
468
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
469
  sed -n '
 
470
    p
 
471
    /[$]LINENO/=
 
472
  ' <$as_myself |
 
473
    sed '
 
474
      s/[$]LINENO.*/&-/
 
475
      t lineno
 
476
      b
 
477
      :lineno
 
478
      N
 
479
      :loop
 
480
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
481
      t loop
 
482
      s/-\n.*//
 
483
    ' >$as_me.lineno &&
 
484
  chmod +x "$as_me.lineno" ||
 
485
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
486
 
 
487
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
 
488
  # already done that, so ensure we don't try to do so again and fall
 
489
  # in an infinite loop.  This has already happened in practice.
 
490
  _as_can_reexec=no; export _as_can_reexec
 
491
  # Don't try to exec as it changes $[0], causing all sort of problems
 
492
  # (the dirname of $[0] is not the place where we might find the
 
493
  # original and so on.  Autoconf is especially sensitive to this).
 
494
  . "./$as_me.lineno"
 
495
  # Exit status is that of the last command.
 
496
  exit
 
497
}
 
498
 
 
499
ECHO_C= ECHO_N= ECHO_T=
 
500
case `echo -n x` in #(((((
 
501
-n*)
 
502
  case `echo 'xy\c'` in
 
503
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
504
  xy)  ECHO_C='\c';;
 
505
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
506
       ECHO_T=' ';;
 
507
  esac;;
 
508
*)
 
509
  ECHO_N='-n';;
 
510
esac
 
511
 
 
512
rm -f conf$$ conf$$.exe conf$$.file
 
513
if test -d conf$$.dir; then
 
514
  rm -f conf$$.dir/conf$$.file
 
515
else
 
516
  rm -f conf$$.dir
 
517
  mkdir conf$$.dir 2>/dev/null
 
518
fi
 
519
if (echo >conf$$.file) 2>/dev/null; then
 
520
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
521
    as_ln_s='ln -s'
 
522
    # ... but there are two gotchas:
 
523
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
524
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
525
    # In both cases, we have to default to `cp -pR'.
 
526
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
527
      as_ln_s='cp -pR'
 
528
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
529
    as_ln_s=ln
 
530
  else
 
531
    as_ln_s='cp -pR'
 
532
  fi
 
533
else
 
534
  as_ln_s='cp -pR'
 
535
fi
 
536
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
537
rmdir conf$$.dir 2>/dev/null
 
538
 
 
539
if mkdir -p . 2>/dev/null; then
 
540
  as_mkdir_p='mkdir -p "$as_dir"'
 
541
else
 
542
  test -d ./-p && rmdir ./-p
 
543
  as_mkdir_p=false
 
544
fi
 
545
 
 
546
as_test_x='test -x'
 
547
as_executable_p=as_fn_executable_p
 
548
 
 
549
# Sed expression to map a string onto a valid CPP name.
 
550
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
551
 
 
552
# Sed expression to map a string onto a valid variable name.
 
553
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
554
 
 
555
 
 
556
test -n "$DJDIR" || exec 7<&0 </dev/null
 
557
exec 6>&1
 
558
 
 
559
# Name of the host.
 
560
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 
561
# so uname gets run too.
 
562
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
563
 
 
564
#
 
565
# Initializations.
 
566
#
 
567
ac_default_prefix=/usr/local
 
568
ac_clean_files=
 
569
ac_config_libobj_dir=.
 
570
LIBOBJS=
 
571
cross_compiling=no
 
572
subdirs=
 
573
MFLAGS=
 
574
MAKEFLAGS=
 
575
 
 
576
# Identity of this package.
 
577
PACKAGE_NAME='xts-server'
 
578
PACKAGE_TARNAME='xts-server'
 
579
PACKAGE_VERSION='0.1'
 
580
PACKAGE_STRING='xts-server 0.1'
 
581
PACKAGE_BUGREPORT=''
 
582
PACKAGE_URL=''
 
583
 
 
584
ac_subst_vars='LTLIBOBJS
 
585
LIBOBJS
 
586
pkgpyexecdir
 
587
pyexecdir
 
588
pkgpythondir
 
589
pythondir
 
590
PYTHON_PLATFORM
 
591
PYTHON_EXEC_PREFIX
 
592
PYTHON_PREFIX
 
593
PYTHON_VERSION
 
594
PYTHON
 
595
am__untar
 
596
am__tar
 
597
AMTAR
 
598
am__leading_dot
 
599
SET_MAKE
 
600
AWK
 
601
mkdir_p
 
602
MKDIR_P
 
603
INSTALL_STRIP_PROGRAM
 
604
STRIP
 
605
install_sh
 
606
MAKEINFO
 
607
AUTOHEADER
 
608
AUTOMAKE
 
609
AUTOCONF
 
610
ACLOCAL
 
611
VERSION
 
612
PACKAGE
 
613
CYGPATH_W
 
614
am__isrc
 
615
INSTALL_DATA
 
616
INSTALL_SCRIPT
 
617
INSTALL_PROGRAM
 
618
target_alias
 
619
host_alias
 
620
build_alias
 
621
LIBS
 
622
ECHO_T
 
623
ECHO_N
 
624
ECHO_C
 
625
DEFS
 
626
mandir
 
627
localedir
 
628
libdir
 
629
psdir
 
630
pdfdir
 
631
dvidir
 
632
htmldir
 
633
infodir
 
634
docdir
 
635
oldincludedir
 
636
includedir
 
637
localstatedir
 
638
sharedstatedir
 
639
sysconfdir
 
640
datadir
 
641
datarootdir
 
642
libexecdir
 
643
sbindir
 
644
bindir
 
645
program_transform_name
 
646
prefix
 
647
exec_prefix
 
648
PACKAGE_URL
 
649
PACKAGE_BUGREPORT
 
650
PACKAGE_STRING
 
651
PACKAGE_VERSION
 
652
PACKAGE_TARNAME
 
653
PACKAGE_NAME
 
654
PATH_SEPARATOR
 
655
SHELL'
 
656
ac_subst_files=''
 
657
ac_user_opts='
 
658
enable_option_checking
 
659
'
 
660
      ac_precious_vars='build_alias
 
661
host_alias
 
662
target_alias
 
663
PYTHON'
 
664
 
 
665
 
 
666
# Initialize some variables set by options.
 
667
ac_init_help=
 
668
ac_init_version=false
 
669
ac_unrecognized_opts=
 
670
ac_unrecognized_sep=
 
671
# The variables have the same names as the options, with
 
672
# dashes changed to underlines.
 
673
cache_file=/dev/null
 
674
exec_prefix=NONE
 
675
no_create=
 
676
no_recursion=
 
677
prefix=NONE
 
678
program_prefix=NONE
 
679
program_suffix=NONE
 
680
program_transform_name=s,x,x,
 
681
silent=
 
682
site=
 
683
srcdir=
 
684
verbose=
 
685
x_includes=NONE
 
686
x_libraries=NONE
 
687
 
 
688
# Installation directory options.
 
689
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
690
# and all the variables that are supposed to be based on exec_prefix
 
691
# by default will actually change.
 
692
# Use braces instead of parens because sh, perl, etc. also accept them.
 
693
# (The list follows the same order as the GNU Coding Standards.)
 
694
bindir='${exec_prefix}/bin'
 
695
sbindir='${exec_prefix}/sbin'
 
696
libexecdir='${exec_prefix}/libexec'
 
697
datarootdir='${prefix}/share'
 
698
datadir='${datarootdir}'
 
699
sysconfdir='${prefix}/etc'
 
700
sharedstatedir='${prefix}/com'
 
701
localstatedir='${prefix}/var'
 
702
includedir='${prefix}/include'
 
703
oldincludedir='/usr/include'
 
704
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
705
infodir='${datarootdir}/info'
 
706
htmldir='${docdir}'
 
707
dvidir='${docdir}'
 
708
pdfdir='${docdir}'
 
709
psdir='${docdir}'
 
710
libdir='${exec_prefix}/lib'
 
711
localedir='${datarootdir}/locale'
 
712
mandir='${datarootdir}/man'
 
713
 
 
714
ac_prev=
 
715
ac_dashdash=
 
716
for ac_option
 
717
do
 
718
  # If the previous option needs an argument, assign it.
 
719
  if test -n "$ac_prev"; then
 
720
    eval $ac_prev=\$ac_option
 
721
    ac_prev=
 
722
    continue
 
723
  fi
 
724
 
 
725
  case $ac_option in
 
726
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
727
  *=)   ac_optarg= ;;
 
728
  *)    ac_optarg=yes ;;
 
729
  esac
 
730
 
 
731
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
732
 
 
733
  case $ac_dashdash$ac_option in
 
734
  --)
 
735
    ac_dashdash=yes ;;
 
736
 
 
737
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
738
    ac_prev=bindir ;;
 
739
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
740
    bindir=$ac_optarg ;;
 
741
 
 
742
  -build | --build | --buil | --bui | --bu)
 
743
    ac_prev=build_alias ;;
 
744
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
745
    build_alias=$ac_optarg ;;
 
746
 
 
747
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
748
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
749
    ac_prev=cache_file ;;
 
750
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
751
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
752
    cache_file=$ac_optarg ;;
 
753
 
 
754
  --config-cache | -C)
 
755
    cache_file=config.cache ;;
 
756
 
 
757
  -datadir | --datadir | --datadi | --datad)
 
758
    ac_prev=datadir ;;
 
759
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
760
    datadir=$ac_optarg ;;
 
761
 
 
762
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
763
  | --dataroo | --dataro | --datar)
 
764
    ac_prev=datarootdir ;;
 
765
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
766
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
767
    datarootdir=$ac_optarg ;;
 
768
 
 
769
  -disable-* | --disable-*)
 
770
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
771
    # Reject names that are not valid shell variable names.
 
772
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
773
      as_fn_error $? "invalid feature name: $ac_useropt"
 
774
    ac_useropt_orig=$ac_useropt
 
775
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
776
    case $ac_user_opts in
 
777
      *"
 
778
"enable_$ac_useropt"
 
779
"*) ;;
 
780
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
781
         ac_unrecognized_sep=', ';;
 
782
    esac
 
783
    eval enable_$ac_useropt=no ;;
 
784
 
 
785
  -docdir | --docdir | --docdi | --doc | --do)
 
786
    ac_prev=docdir ;;
 
787
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
788
    docdir=$ac_optarg ;;
 
789
 
 
790
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
791
    ac_prev=dvidir ;;
 
792
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
793
    dvidir=$ac_optarg ;;
 
794
 
 
795
  -enable-* | --enable-*)
 
796
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
797
    # Reject names that are not valid shell variable names.
 
798
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
799
      as_fn_error $? "invalid feature name: $ac_useropt"
 
800
    ac_useropt_orig=$ac_useropt
 
801
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
802
    case $ac_user_opts in
 
803
      *"
 
804
"enable_$ac_useropt"
 
805
"*) ;;
 
806
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
807
         ac_unrecognized_sep=', ';;
 
808
    esac
 
809
    eval enable_$ac_useropt=\$ac_optarg ;;
 
810
 
 
811
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
812
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
813
  | --exec | --exe | --ex)
 
814
    ac_prev=exec_prefix ;;
 
815
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
816
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
817
  | --exec=* | --exe=* | --ex=*)
 
818
    exec_prefix=$ac_optarg ;;
 
819
 
 
820
  -gas | --gas | --ga | --g)
 
821
    # Obsolete; use --with-gas.
 
822
    with_gas=yes ;;
 
823
 
 
824
  -help | --help | --hel | --he | -h)
 
825
    ac_init_help=long ;;
 
826
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
827
    ac_init_help=recursive ;;
 
828
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
829
    ac_init_help=short ;;
 
830
 
 
831
  -host | --host | --hos | --ho)
 
832
    ac_prev=host_alias ;;
 
833
  -host=* | --host=* | --hos=* | --ho=*)
 
834
    host_alias=$ac_optarg ;;
 
835
 
 
836
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
837
    ac_prev=htmldir ;;
 
838
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
839
  | --ht=*)
 
840
    htmldir=$ac_optarg ;;
 
841
 
 
842
  -includedir | --includedir | --includedi | --included | --include \
 
843
  | --includ | --inclu | --incl | --inc)
 
844
    ac_prev=includedir ;;
 
845
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
846
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
847
    includedir=$ac_optarg ;;
 
848
 
 
849
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
850
    ac_prev=infodir ;;
 
851
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
852
    infodir=$ac_optarg ;;
 
853
 
 
854
  -libdir | --libdir | --libdi | --libd)
 
855
    ac_prev=libdir ;;
 
856
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
857
    libdir=$ac_optarg ;;
 
858
 
 
859
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
860
  | --libexe | --libex | --libe)
 
861
    ac_prev=libexecdir ;;
 
862
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
863
  | --libexe=* | --libex=* | --libe=*)
 
864
    libexecdir=$ac_optarg ;;
 
865
 
 
866
  -localedir | --localedir | --localedi | --localed | --locale)
 
867
    ac_prev=localedir ;;
 
868
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
869
    localedir=$ac_optarg ;;
 
870
 
 
871
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
872
  | --localstate | --localstat | --localsta | --localst | --locals)
 
873
    ac_prev=localstatedir ;;
 
874
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
875
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
876
    localstatedir=$ac_optarg ;;
 
877
 
 
878
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
879
    ac_prev=mandir ;;
 
880
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
881
    mandir=$ac_optarg ;;
 
882
 
 
883
  -nfp | --nfp | --nf)
 
884
    # Obsolete; use --without-fp.
 
885
    with_fp=no ;;
 
886
 
 
887
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
888
  | --no-cr | --no-c | -n)
 
889
    no_create=yes ;;
 
890
 
 
891
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
892
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
893
    no_recursion=yes ;;
 
894
 
 
895
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
896
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
897
  | --oldin | --oldi | --old | --ol | --o)
 
898
    ac_prev=oldincludedir ;;
 
899
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
900
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
901
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
902
    oldincludedir=$ac_optarg ;;
 
903
 
 
904
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
905
    ac_prev=prefix ;;
 
906
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
907
    prefix=$ac_optarg ;;
 
908
 
 
909
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
910
  | --program-pre | --program-pr | --program-p)
 
911
    ac_prev=program_prefix ;;
 
912
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
913
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
914
    program_prefix=$ac_optarg ;;
 
915
 
 
916
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
917
  | --program-suf | --program-su | --program-s)
 
918
    ac_prev=program_suffix ;;
 
919
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
920
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
921
    program_suffix=$ac_optarg ;;
 
922
 
 
923
  -program-transform-name | --program-transform-name \
 
924
  | --program-transform-nam | --program-transform-na \
 
925
  | --program-transform-n | --program-transform- \
 
926
  | --program-transform | --program-transfor \
 
927
  | --program-transfo | --program-transf \
 
928
  | --program-trans | --program-tran \
 
929
  | --progr-tra | --program-tr | --program-t)
 
930
    ac_prev=program_transform_name ;;
 
931
  -program-transform-name=* | --program-transform-name=* \
 
932
  | --program-transform-nam=* | --program-transform-na=* \
 
933
  | --program-transform-n=* | --program-transform-=* \
 
934
  | --program-transform=* | --program-transfor=* \
 
935
  | --program-transfo=* | --program-transf=* \
 
936
  | --program-trans=* | --program-tran=* \
 
937
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
938
    program_transform_name=$ac_optarg ;;
 
939
 
 
940
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
941
    ac_prev=pdfdir ;;
 
942
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
943
    pdfdir=$ac_optarg ;;
 
944
 
 
945
  -psdir | --psdir | --psdi | --psd | --ps)
 
946
    ac_prev=psdir ;;
 
947
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
948
    psdir=$ac_optarg ;;
 
949
 
 
950
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
951
  | -silent | --silent | --silen | --sile | --sil)
 
952
    silent=yes ;;
 
953
 
 
954
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
955
    ac_prev=sbindir ;;
 
956
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
957
  | --sbi=* | --sb=*)
 
958
    sbindir=$ac_optarg ;;
 
959
 
 
960
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
961
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
962
  | --sharedst | --shareds | --shared | --share | --shar \
 
963
  | --sha | --sh)
 
964
    ac_prev=sharedstatedir ;;
 
965
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
966
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
967
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
968
  | --sha=* | --sh=*)
 
969
    sharedstatedir=$ac_optarg ;;
 
970
 
 
971
  -site | --site | --sit)
 
972
    ac_prev=site ;;
 
973
  -site=* | --site=* | --sit=*)
 
974
    site=$ac_optarg ;;
 
975
 
 
976
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
977
    ac_prev=srcdir ;;
 
978
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
979
    srcdir=$ac_optarg ;;
 
980
 
 
981
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
982
  | --syscon | --sysco | --sysc | --sys | --sy)
 
983
    ac_prev=sysconfdir ;;
 
984
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
985
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
986
    sysconfdir=$ac_optarg ;;
 
987
 
 
988
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
989
    ac_prev=target_alias ;;
 
990
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
991
    target_alias=$ac_optarg ;;
 
992
 
 
993
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
994
    verbose=yes ;;
 
995
 
 
996
  -version | --version | --versio | --versi | --vers | -V)
 
997
    ac_init_version=: ;;
 
998
 
 
999
  -with-* | --with-*)
 
1000
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1001
    # Reject names that are not valid shell variable names.
 
1002
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1003
      as_fn_error $? "invalid package name: $ac_useropt"
 
1004
    ac_useropt_orig=$ac_useropt
 
1005
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1006
    case $ac_user_opts in
 
1007
      *"
 
1008
"with_$ac_useropt"
 
1009
"*) ;;
 
1010
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1011
         ac_unrecognized_sep=', ';;
 
1012
    esac
 
1013
    eval with_$ac_useropt=\$ac_optarg ;;
 
1014
 
 
1015
  -without-* | --without-*)
 
1016
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1017
    # Reject names that are not valid shell variable names.
 
1018
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1019
      as_fn_error $? "invalid package name: $ac_useropt"
 
1020
    ac_useropt_orig=$ac_useropt
 
1021
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1022
    case $ac_user_opts in
 
1023
      *"
 
1024
"with_$ac_useropt"
 
1025
"*) ;;
 
1026
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1027
         ac_unrecognized_sep=', ';;
 
1028
    esac
 
1029
    eval with_$ac_useropt=no ;;
 
1030
 
 
1031
  --x)
 
1032
    # Obsolete; use --with-x.
 
1033
    with_x=yes ;;
 
1034
 
 
1035
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1036
  | --x-incl | --x-inc | --x-in | --x-i)
 
1037
    ac_prev=x_includes ;;
 
1038
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1039
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1040
    x_includes=$ac_optarg ;;
 
1041
 
 
1042
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1043
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1044
    ac_prev=x_libraries ;;
 
1045
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1046
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1047
    x_libraries=$ac_optarg ;;
 
1048
 
 
1049
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1050
Try \`$0 --help' for more information"
 
1051
    ;;
 
1052
 
 
1053
  *=*)
 
1054
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1055
    # Reject names that are not valid shell variable names.
 
1056
    case $ac_envvar in #(
 
1057
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1058
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1059
    esac
 
1060
    eval $ac_envvar=\$ac_optarg
 
1061
    export $ac_envvar ;;
 
1062
 
 
1063
  *)
 
1064
    # FIXME: should be removed in autoconf 3.0.
 
1065
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1066
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1067
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1068
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 
1069
    ;;
 
1070
 
 
1071
  esac
 
1072
done
 
1073
 
 
1074
if test -n "$ac_prev"; then
 
1075
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1076
  as_fn_error $? "missing argument to $ac_option"
 
1077
fi
 
1078
 
 
1079
if test -n "$ac_unrecognized_opts"; then
 
1080
  case $enable_option_checking in
 
1081
    no) ;;
 
1082
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1083
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1084
  esac
 
1085
fi
 
1086
 
 
1087
# Check all directory arguments for consistency.
 
1088
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1089
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1090
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1091
                libdir localedir mandir
 
1092
do
 
1093
  eval ac_val=\$$ac_var
 
1094
  # Remove trailing slashes.
 
1095
  case $ac_val in
 
1096
    */ )
 
1097
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1098
      eval $ac_var=\$ac_val;;
 
1099
  esac
 
1100
  # Be sure to have absolute directory names.
 
1101
  case $ac_val in
 
1102
    [\\/$]* | ?:[\\/]* )  continue;;
 
1103
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1104
  esac
 
1105
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 
1106
done
 
1107
 
 
1108
# There might be people who depend on the old broken behavior: `$host'
 
1109
# used to hold the argument of --host etc.
 
1110
# FIXME: To remove some day.
 
1111
build=$build_alias
 
1112
host=$host_alias
 
1113
target=$target_alias
 
1114
 
 
1115
# FIXME: To remove some day.
 
1116
if test "x$host_alias" != x; then
 
1117
  if test "x$build_alias" = x; then
 
1118
    cross_compiling=maybe
 
1119
  elif test "x$build_alias" != "x$host_alias"; then
 
1120
    cross_compiling=yes
 
1121
  fi
 
1122
fi
 
1123
 
 
1124
ac_tool_prefix=
 
1125
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1126
 
 
1127
test "$silent" = yes && exec 6>/dev/null
 
1128
 
 
1129
 
 
1130
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1131
ac_ls_di=`ls -di .` &&
 
1132
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1133
  as_fn_error $? "working directory cannot be determined"
 
1134
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1135
  as_fn_error $? "pwd does not report name of working directory"
 
1136
 
 
1137
 
 
1138
# Find the source files, if location was not specified.
 
1139
if test -z "$srcdir"; then
 
1140
  ac_srcdir_defaulted=yes
 
1141
  # Try the directory containing this script, then the parent directory.
 
1142
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1143
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1144
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1145
         X"$as_myself" : 'X\(//\)$' \| \
 
1146
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1147
$as_echo X"$as_myself" |
 
1148
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1149
            s//\1/
 
1150
            q
 
1151
          }
 
1152
          /^X\(\/\/\)[^/].*/{
 
1153
            s//\1/
 
1154
            q
 
1155
          }
 
1156
          /^X\(\/\/\)$/{
 
1157
            s//\1/
 
1158
            q
 
1159
          }
 
1160
          /^X\(\/\).*/{
 
1161
            s//\1/
 
1162
            q
 
1163
          }
 
1164
          s/.*/./; q'`
 
1165
  srcdir=$ac_confdir
 
1166
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1167
    srcdir=..
 
1168
  fi
 
1169
else
 
1170
  ac_srcdir_defaulted=no
 
1171
fi
 
1172
if test ! -r "$srcdir/$ac_unique_file"; then
 
1173
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1174
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
1175
fi
 
1176
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1177
ac_abs_confdir=`(
 
1178
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 
1179
        pwd)`
 
1180
# When building in place, set srcdir=.
 
1181
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1182
  srcdir=.
 
1183
fi
 
1184
# Remove unnecessary trailing slashes from srcdir.
 
1185
# Double slashes in file names in object file debugging info
 
1186
# mess up M-x gdb in Emacs.
 
1187
case $srcdir in
 
1188
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1189
esac
 
1190
for ac_var in $ac_precious_vars; do
 
1191
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1192
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1193
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1194
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1195
done
 
1196
 
 
1197
#
 
1198
# Report the --help message.
 
1199
#
 
1200
if test "$ac_init_help" = "long"; then
 
1201
  # Omit some internal or obsolete options to make the list less imposing.
 
1202
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1203
  cat <<_ACEOF
 
1204
\`configure' configures xts-server 0.1 to adapt to many kinds of systems.
 
1205
 
 
1206
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1207
 
 
1208
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1209
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1210
 
 
1211
Defaults for the options are specified in brackets.
 
1212
 
 
1213
Configuration:
 
1214
  -h, --help              display this help and exit
 
1215
      --help=short        display options specific to this package
 
1216
      --help=recursive    display the short help of all the included packages
 
1217
  -V, --version           display version information and exit
 
1218
  -q, --quiet, --silent   do not print \`checking ...' messages
 
1219
      --cache-file=FILE   cache test results in FILE [disabled]
 
1220
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1221
  -n, --no-create         do not create output files
 
1222
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1223
 
 
1224
Installation directories:
 
1225
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1226
                          [$ac_default_prefix]
 
1227
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1228
                          [PREFIX]
 
1229
 
 
1230
By default, \`make install' will install all the files in
 
1231
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1232
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1233
for instance \`--prefix=\$HOME'.
 
1234
 
 
1235
For better control, use the options below.
 
1236
 
 
1237
Fine tuning of the installation directories:
 
1238
  --bindir=DIR            user executables [EPREFIX/bin]
 
1239
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1240
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1241
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1242
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1243
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1244
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1245
  --includedir=DIR        C header files [PREFIX/include]
 
1246
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1247
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1248
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1249
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1250
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1251
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1252
  --docdir=DIR            documentation root [DATAROOTDIR/doc/xts-server]
 
1253
  --htmldir=DIR           html documentation [DOCDIR]
 
1254
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1255
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1256
  --psdir=DIR             ps documentation [DOCDIR]
 
1257
_ACEOF
 
1258
 
 
1259
  cat <<\_ACEOF
 
1260
 
 
1261
Program names:
 
1262
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1263
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1264
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1265
_ACEOF
 
1266
fi
 
1267
 
 
1268
if test -n "$ac_init_help"; then
 
1269
  case $ac_init_help in
 
1270
     short | recursive ) echo "Configuration of xts-server 0.1:";;
 
1271
   esac
 
1272
  cat <<\_ACEOF
 
1273
 
 
1274
Some influential environment variables:
 
1275
  PYTHON      the Python interpreter
 
1276
 
 
1277
Use these variables to override the choices made by `configure' or to help
 
1278
it to find libraries and programs with nonstandard names/locations.
 
1279
 
 
1280
Report bugs to the package provider.
 
1281
_ACEOF
 
1282
ac_status=$?
 
1283
fi
 
1284
 
 
1285
if test "$ac_init_help" = "recursive"; then
 
1286
  # If there are subdirs, report their specific --help.
 
1287
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1288
    test -d "$ac_dir" ||
 
1289
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1290
      continue
 
1291
    ac_builddir=.
 
1292
 
 
1293
case "$ac_dir" in
 
1294
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1295
*)
 
1296
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1297
  # A ".." for each directory in $ac_dir_suffix.
 
1298
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1299
  case $ac_top_builddir_sub in
 
1300
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1301
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1302
  esac ;;
 
1303
esac
 
1304
ac_abs_top_builddir=$ac_pwd
 
1305
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1306
# for backward compatibility:
 
1307
ac_top_builddir=$ac_top_build_prefix
 
1308
 
 
1309
case $srcdir in
 
1310
  .)  # We are building in place.
 
1311
    ac_srcdir=.
 
1312
    ac_top_srcdir=$ac_top_builddir_sub
 
1313
    ac_abs_top_srcdir=$ac_pwd ;;
 
1314
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1315
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1316
    ac_top_srcdir=$srcdir
 
1317
    ac_abs_top_srcdir=$srcdir ;;
 
1318
  *) # Relative name.
 
1319
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1320
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1321
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1322
esac
 
1323
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1324
 
 
1325
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1326
    # Check for guested configure.
 
1327
    if test -f "$ac_srcdir/configure.gnu"; then
 
1328
      echo &&
 
1329
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1330
    elif test -f "$ac_srcdir/configure"; then
 
1331
      echo &&
 
1332
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1333
    else
 
1334
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1335
    fi || ac_status=$?
 
1336
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1337
  done
 
1338
fi
 
1339
 
 
1340
test -n "$ac_init_help" && exit $ac_status
 
1341
if $ac_init_version; then
 
1342
  cat <<\_ACEOF
 
1343
xts-server configure 0.1
 
1344
generated by GNU Autoconf 2.69
 
1345
 
 
1346
Copyright (C) 2012 Free Software Foundation, Inc.
 
1347
This configure script is free software; the Free Software Foundation
 
1348
gives unlimited permission to copy, distribute and modify it.
 
1349
_ACEOF
 
1350
  exit
 
1351
fi
 
1352
 
 
1353
## ------------------------ ##
 
1354
## Autoconf initialization. ##
 
1355
## ------------------------ ##
 
1356
cat >config.log <<_ACEOF
 
1357
This file contains any messages produced by compilers while
 
1358
running configure, to aid debugging if configure makes a mistake.
 
1359
 
 
1360
It was created by xts-server $as_me 0.1, which was
 
1361
generated by GNU Autoconf 2.69.  Invocation command line was
 
1362
 
 
1363
  $ $0 $@
 
1364
 
 
1365
_ACEOF
 
1366
exec 5>>config.log
 
1367
{
 
1368
cat <<_ASUNAME
 
1369
## --------- ##
 
1370
## Platform. ##
 
1371
## --------- ##
 
1372
 
 
1373
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
1374
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
1375
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
1376
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
1377
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
1378
 
 
1379
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
1380
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
1381
 
 
1382
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
1383
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
1384
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
1385
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
1386
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
1387
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
1388
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
1389
 
 
1390
_ASUNAME
 
1391
 
 
1392
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1393
for as_dir in $PATH
 
1394
do
 
1395
  IFS=$as_save_IFS
 
1396
  test -z "$as_dir" && as_dir=.
 
1397
    $as_echo "PATH: $as_dir"
 
1398
  done
 
1399
IFS=$as_save_IFS
 
1400
 
 
1401
} >&5
 
1402
 
 
1403
cat >&5 <<_ACEOF
 
1404
 
 
1405
 
 
1406
## ----------- ##
 
1407
## Core tests. ##
 
1408
## ----------- ##
 
1409
 
 
1410
_ACEOF
 
1411
 
 
1412
 
 
1413
# Keep a trace of the command line.
 
1414
# Strip out --no-create and --no-recursion so they do not pile up.
 
1415
# Strip out --silent because we don't want to record it for future runs.
 
1416
# Also quote any args containing shell meta-characters.
 
1417
# Make two passes to allow for proper duplicate-argument suppression.
 
1418
ac_configure_args=
 
1419
ac_configure_args0=
 
1420
ac_configure_args1=
 
1421
ac_must_keep_next=false
 
1422
for ac_pass in 1 2
 
1423
do
 
1424
  for ac_arg
 
1425
  do
 
1426
    case $ac_arg in
 
1427
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
1428
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1429
    | -silent | --silent | --silen | --sile | --sil)
 
1430
      continue ;;
 
1431
    *\'*)
 
1432
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1433
    esac
 
1434
    case $ac_pass in
 
1435
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
1436
    2)
 
1437
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
1438
      if test $ac_must_keep_next = true; then
 
1439
        ac_must_keep_next=false # Got value, back to normal.
 
1440
      else
 
1441
        case $ac_arg in
 
1442
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1443
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1444
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1445
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1446
            case "$ac_configure_args0 " in
 
1447
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1448
            esac
 
1449
            ;;
 
1450
          -* ) ac_must_keep_next=true ;;
 
1451
        esac
 
1452
      fi
 
1453
      as_fn_append ac_configure_args " '$ac_arg'"
 
1454
      ;;
 
1455
    esac
 
1456
  done
 
1457
done
 
1458
{ ac_configure_args0=; unset ac_configure_args0;}
 
1459
{ ac_configure_args1=; unset ac_configure_args1;}
 
1460
 
 
1461
# When interrupted or exit'd, cleanup temporary files, and complete
 
1462
# config.log.  We remove comments because anyway the quotes in there
 
1463
# would cause problems or look ugly.
 
1464
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1465
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
1466
trap 'exit_status=$?
 
1467
  # Save into config.log some information that might help in debugging.
 
1468
  {
 
1469
    echo
 
1470
 
 
1471
    $as_echo "## ---------------- ##
 
1472
## Cache variables. ##
 
1473
## ---------------- ##"
 
1474
    echo
 
1475
    # The following way of writing the cache mishandles newlines in values,
 
1476
(
 
1477
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1478
    eval ac_val=\$$ac_var
 
1479
    case $ac_val in #(
 
1480
    *${as_nl}*)
 
1481
      case $ac_var in #(
 
1482
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
1483
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
1484
      esac
 
1485
      case $ac_var in #(
 
1486
      _ | IFS | as_nl) ;; #(
 
1487
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
1488
      *) { eval $ac_var=; unset $ac_var;} ;;
 
1489
      esac ;;
 
1490
    esac
 
1491
  done
 
1492
  (set) 2>&1 |
 
1493
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1494
    *${as_nl}ac_space=\ *)
 
1495
      sed -n \
 
1496
        "s/'\''/'\''\\\\'\'''\''/g;
 
1497
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1498
      ;; #(
 
1499
    *)
 
1500
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
1501
      ;;
 
1502
    esac |
 
1503
    sort
 
1504
)
 
1505
    echo
 
1506
 
 
1507
    $as_echo "## ----------------- ##
 
1508
## Output variables. ##
 
1509
## ----------------- ##"
 
1510
    echo
 
1511
    for ac_var in $ac_subst_vars
 
1512
    do
 
1513
      eval ac_val=\$$ac_var
 
1514
      case $ac_val in
 
1515
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1516
      esac
 
1517
      $as_echo "$ac_var='\''$ac_val'\''"
 
1518
    done | sort
 
1519
    echo
 
1520
 
 
1521
    if test -n "$ac_subst_files"; then
 
1522
      $as_echo "## ------------------- ##
 
1523
## File substitutions. ##
 
1524
## ------------------- ##"
 
1525
      echo
 
1526
      for ac_var in $ac_subst_files
 
1527
      do
 
1528
        eval ac_val=\$$ac_var
 
1529
        case $ac_val in
 
1530
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1531
        esac
 
1532
        $as_echo "$ac_var='\''$ac_val'\''"
 
1533
      done | sort
 
1534
      echo
 
1535
    fi
 
1536
 
 
1537
    if test -s confdefs.h; then
 
1538
      $as_echo "## ----------- ##
 
1539
## confdefs.h. ##
 
1540
## ----------- ##"
 
1541
      echo
 
1542
      cat confdefs.h
 
1543
      echo
 
1544
    fi
 
1545
    test "$ac_signal" != 0 &&
 
1546
      $as_echo "$as_me: caught signal $ac_signal"
 
1547
    $as_echo "$as_me: exit $exit_status"
 
1548
  } >&5
 
1549
  rm -f core *.core core.conftest.* &&
 
1550
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
1551
    exit $exit_status
 
1552
' 0
 
1553
for ac_signal in 1 2 13 15; do
 
1554
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
1555
done
 
1556
ac_signal=0
 
1557
 
 
1558
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
1559
rm -f -r conftest* confdefs.h
 
1560
 
 
1561
$as_echo "/* confdefs.h */" > confdefs.h
 
1562
 
 
1563
# Predefined preprocessor variables.
 
1564
 
 
1565
cat >>confdefs.h <<_ACEOF
 
1566
#define PACKAGE_NAME "$PACKAGE_NAME"
 
1567
_ACEOF
 
1568
 
 
1569
cat >>confdefs.h <<_ACEOF
 
1570
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
1571
_ACEOF
 
1572
 
 
1573
cat >>confdefs.h <<_ACEOF
 
1574
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
1575
_ACEOF
 
1576
 
 
1577
cat >>confdefs.h <<_ACEOF
 
1578
#define PACKAGE_STRING "$PACKAGE_STRING"
 
1579
_ACEOF
 
1580
 
 
1581
cat >>confdefs.h <<_ACEOF
 
1582
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
1583
_ACEOF
 
1584
 
 
1585
cat >>confdefs.h <<_ACEOF
 
1586
#define PACKAGE_URL "$PACKAGE_URL"
 
1587
_ACEOF
 
1588
 
 
1589
 
 
1590
# Let the site file select an alternate cache file if it wants to.
 
1591
# Prefer an explicitly selected file to automatically selected ones.
 
1592
ac_site_file1=NONE
 
1593
ac_site_file2=NONE
 
1594
if test -n "$CONFIG_SITE"; then
 
1595
  # We do not want a PATH search for config.site.
 
1596
  case $CONFIG_SITE in #((
 
1597
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
1598
    */*) ac_site_file1=$CONFIG_SITE;;
 
1599
    *)   ac_site_file1=./$CONFIG_SITE;;
 
1600
  esac
 
1601
elif test "x$prefix" != xNONE; then
 
1602
  ac_site_file1=$prefix/share/config.site
 
1603
  ac_site_file2=$prefix/etc/config.site
 
1604
else
 
1605
  ac_site_file1=$ac_default_prefix/share/config.site
 
1606
  ac_site_file2=$ac_default_prefix/etc/config.site
 
1607
fi
 
1608
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
1609
do
 
1610
  test "x$ac_site_file" = xNONE && continue
 
1611
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
1612
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
1613
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
1614
    sed 's/^/| /' "$ac_site_file" >&5
 
1615
    . "$ac_site_file" \
 
1616
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
1617
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
1618
as_fn_error $? "failed to load site script $ac_site_file
 
1619
See \`config.log' for more details" "$LINENO" 5; }
 
1620
  fi
 
1621
done
 
1622
 
 
1623
if test -r "$cache_file"; then
 
1624
  # Some versions of bash will fail to source /dev/null (special files
 
1625
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
1626
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
1627
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
1628
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
1629
    case $cache_file in
 
1630
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1631
      *)                      . "./$cache_file";;
 
1632
    esac
 
1633
  fi
 
1634
else
 
1635
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
1636
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
1637
  >$cache_file
 
1638
fi
 
1639
 
 
1640
# Check that the precious variables saved in the cache have kept the same
 
1641
# value.
 
1642
ac_cache_corrupted=false
 
1643
for ac_var in $ac_precious_vars; do
 
1644
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
1645
  eval ac_new_set=\$ac_env_${ac_var}_set
 
1646
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1647
  eval ac_new_val=\$ac_env_${ac_var}_value
 
1648
  case $ac_old_set,$ac_new_set in
 
1649
    set,)
 
1650
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1651
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1652
      ac_cache_corrupted=: ;;
 
1653
    ,set)
 
1654
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
1655
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1656
      ac_cache_corrupted=: ;;
 
1657
    ,);;
 
1658
    *)
 
1659
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
1660
        # differences in whitespace do not lead to failure.
 
1661
        ac_old_val_w=`echo x $ac_old_val`
 
1662
        ac_new_val_w=`echo x $ac_new_val`
 
1663
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
1664
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
1665
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1666
          ac_cache_corrupted=:
 
1667
        else
 
1668
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
1669
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
1670
          eval $ac_var=\$ac_old_val
 
1671
        fi
 
1672
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
1673
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
1674
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
1675
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
1676
      fi;;
 
1677
  esac
 
1678
  # Pass precious variables to config.status.
 
1679
  if test "$ac_new_set" = set; then
 
1680
    case $ac_new_val in
 
1681
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1682
    *) ac_arg=$ac_var=$ac_new_val ;;
 
1683
    esac
 
1684
    case " $ac_configure_args " in
 
1685
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
1686
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
1687
    esac
 
1688
  fi
 
1689
done
 
1690
if $ac_cache_corrupted; then
 
1691
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
1692
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
1693
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
1694
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1695
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
1696
fi
 
1697
## -------------------- ##
 
1698
## Main body of script. ##
 
1699
## -------------------- ##
 
1700
 
 
1701
ac_ext=c
 
1702
ac_cpp='$CPP $CPPFLAGS'
 
1703
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
1704
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
1705
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
1706
 
 
1707
 
 
1708
 
 
1709
am__api_version='1.11'
 
1710
 
 
1711
ac_aux_dir=
 
1712
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
1713
  if test -f "$ac_dir/install-sh"; then
 
1714
    ac_aux_dir=$ac_dir
 
1715
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
1716
    break
 
1717
  elif test -f "$ac_dir/install.sh"; then
 
1718
    ac_aux_dir=$ac_dir
 
1719
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
1720
    break
 
1721
  elif test -f "$ac_dir/shtool"; then
 
1722
    ac_aux_dir=$ac_dir
 
1723
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
1724
    break
 
1725
  fi
 
1726
done
 
1727
if test -z "$ac_aux_dir"; then
 
1728
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
1729
fi
 
1730
 
 
1731
# These three variables are undocumented and unsupported,
 
1732
# and are intended to be withdrawn in a future Autoconf release.
 
1733
# They can cause serious problems if a builder's source tree is in a directory
 
1734
# whose full name contains unusual characters.
 
1735
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
1736
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
1737
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
1738
 
 
1739
 
 
1740
# Find a good install program.  We prefer a C program (faster),
 
1741
# so one script is as good as another.  But avoid the broken or
 
1742
# incompatible versions:
 
1743
# SysV /etc/install, /usr/sbin/install
 
1744
# SunOS /usr/etc/install
 
1745
# IRIX /sbin/install
 
1746
# AIX /bin/install
 
1747
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
1748
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
1749
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
1750
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1751
# OS/2's system install, which has a completely different semantic
 
1752
# ./install, which can be erroneously created by make from ./install.sh.
 
1753
# Reject install programs that cannot install multiple files.
 
1754
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
1755
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
1756
if test -z "$INSTALL"; then
 
1757
if ${ac_cv_path_install+:} false; then :
 
1758
  $as_echo_n "(cached) " >&6
 
1759
else
 
1760
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1761
for as_dir in $PATH
 
1762
do
 
1763
  IFS=$as_save_IFS
 
1764
  test -z "$as_dir" && as_dir=.
 
1765
    # Account for people who put trailing slashes in PATH elements.
 
1766
case $as_dir/ in #((
 
1767
  ./ | .// | /[cC]/* | \
 
1768
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1769
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
1770
  /usr/ucb/* ) ;;
 
1771
  *)
 
1772
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
1773
    # Don't use installbsd from OSF since it installs stuff as root
 
1774
    # by default.
 
1775
    for ac_prog in ginstall scoinst install; do
 
1776
      for ac_exec_ext in '' $ac_executable_extensions; do
 
1777
        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1778
          if test $ac_prog = install &&
 
1779
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1780
            # AIX install.  It has an incompatible calling convention.
 
1781
            :
 
1782
          elif test $ac_prog = install &&
 
1783
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1784
            # program-specific install script used by HP pwplus--don't use.
 
1785
            :
 
1786
          else
 
1787
            rm -rf conftest.one conftest.two conftest.dir
 
1788
            echo one > conftest.one
 
1789
            echo two > conftest.two
 
1790
            mkdir conftest.dir
 
1791
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
1792
              test -s conftest.one && test -s conftest.two &&
 
1793
              test -s conftest.dir/conftest.one &&
 
1794
              test -s conftest.dir/conftest.two
 
1795
            then
 
1796
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1797
              break 3
 
1798
            fi
 
1799
          fi
 
1800
        fi
 
1801
      done
 
1802
    done
 
1803
    ;;
 
1804
esac
 
1805
 
 
1806
  done
 
1807
IFS=$as_save_IFS
 
1808
 
 
1809
rm -rf conftest.one conftest.two conftest.dir
 
1810
 
 
1811
fi
 
1812
  if test "${ac_cv_path_install+set}" = set; then
 
1813
    INSTALL=$ac_cv_path_install
 
1814
  else
 
1815
    # As a last resort, use the slow shell script.  Don't cache a
 
1816
    # value for INSTALL within a source directory, because that will
 
1817
    # break other packages using the cache if that directory is
 
1818
    # removed, or if the value is a relative name.
 
1819
    INSTALL=$ac_install_sh
 
1820
  fi
 
1821
fi
 
1822
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
1823
$as_echo "$INSTALL" >&6; }
 
1824
 
 
1825
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
1826
# It thinks the first close brace ends the variable substitution.
 
1827
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
1828
 
 
1829
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
1830
 
 
1831
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
1832
 
 
1833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
1834
$as_echo_n "checking whether build environment is sane... " >&6; }
 
1835
# Just in case
 
1836
sleep 1
 
1837
echo timestamp > conftest.file
 
1838
# Reject unsafe characters in $srcdir or the absolute working directory
 
1839
# name.  Accept space and tab only in the latter.
 
1840
am_lf='
 
1841
'
 
1842
case `pwd` in
 
1843
  *[\\\"\#\$\&\'\`$am_lf]*)
 
1844
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 
1845
esac
 
1846
case $srcdir in
 
1847
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
1848
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
1849
esac
 
1850
 
 
1851
# Do `set' in a subshell so we don't clobber the current shell's
 
1852
# arguments.  Must try -L first in case configure is actually a
 
1853
# symlink; some systems play weird games with the mod time of symlinks
 
1854
# (eg FreeBSD returns the mod time of the symlink's containing
 
1855
# directory).
 
1856
if (
 
1857
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
1858
   if test "$*" = "X"; then
 
1859
      # -L didn't work.
 
1860
      set X `ls -t "$srcdir/configure" conftest.file`
 
1861
   fi
 
1862
   rm -f conftest.file
 
1863
   if test "$*" != "X $srcdir/configure conftest.file" \
 
1864
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
1865
 
 
1866
      # If neither matched, then we have a broken ls.  This can happen
 
1867
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
1868
      # broken ls alias from the environment.  This has actually
 
1869
      # happened.  Such a system could not be considered "sane".
 
1870
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
1871
alias in your environment" "$LINENO" 5
 
1872
   fi
 
1873
 
 
1874
   test "$2" = conftest.file
 
1875
   )
 
1876
then
 
1877
   # Ok.
 
1878
   :
 
1879
else
 
1880
   as_fn_error $? "newly created file is older than distributed files!
 
1881
Check your system clock" "$LINENO" 5
 
1882
fi
 
1883
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
1884
$as_echo "yes" >&6; }
 
1885
test "$program_prefix" != NONE &&
 
1886
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
1887
# Use a double $ so make ignores it.
 
1888
test "$program_suffix" != NONE &&
 
1889
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
1890
# Double any \ or $.
 
1891
# By default was `s,x,x', remove it if useless.
 
1892
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
1893
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
1894
 
 
1895
# expand $ac_aux_dir to an absolute path
 
1896
am_aux_dir=`cd $ac_aux_dir && pwd`
 
1897
 
 
1898
if test x"${MISSING+set}" != xset; then
 
1899
  case $am_aux_dir in
 
1900
  *\ * | *\     *)
 
1901
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
1902
  *)
 
1903
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
1904
  esac
 
1905
fi
 
1906
# Use eval to expand $SHELL
 
1907
if eval "$MISSING --run true"; then
 
1908
  am_missing_run="$MISSING --run "
 
1909
else
 
1910
  am_missing_run=
 
1911
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
1912
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
1913
fi
 
1914
 
 
1915
if test x"${install_sh}" != xset; then
 
1916
  case $am_aux_dir in
 
1917
  *\ * | *\     *)
 
1918
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
1919
  *)
 
1920
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
1921
  esac
 
1922
fi
 
1923
 
 
1924
# Installed binaries are usually stripped using `strip' when the user
 
1925
# run `make install-strip'.  However `strip' might not be the right
 
1926
# tool to use in cross-compilation environments, therefore Automake
 
1927
# will honor the `STRIP' environment variable to overrule this program.
 
1928
if test "$cross_compiling" != no; then
 
1929
  if test -n "$ac_tool_prefix"; then
 
1930
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
1931
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
1932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
1933
$as_echo_n "checking for $ac_word... " >&6; }
 
1934
if ${ac_cv_prog_STRIP+:} false; then :
 
1935
  $as_echo_n "(cached) " >&6
 
1936
else
 
1937
  if test -n "$STRIP"; then
 
1938
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
1939
else
 
1940
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1941
for as_dir in $PATH
 
1942
do
 
1943
  IFS=$as_save_IFS
 
1944
  test -z "$as_dir" && as_dir=.
 
1945
    for ac_exec_ext in '' $ac_executable_extensions; do
 
1946
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1947
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
1948
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1949
    break 2
 
1950
  fi
 
1951
done
 
1952
  done
 
1953
IFS=$as_save_IFS
 
1954
 
 
1955
fi
 
1956
fi
 
1957
STRIP=$ac_cv_prog_STRIP
 
1958
if test -n "$STRIP"; then
 
1959
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
1960
$as_echo "$STRIP" >&6; }
 
1961
else
 
1962
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
1963
$as_echo "no" >&6; }
 
1964
fi
 
1965
 
 
1966
 
 
1967
fi
 
1968
if test -z "$ac_cv_prog_STRIP"; then
 
1969
  ac_ct_STRIP=$STRIP
 
1970
  # Extract the first word of "strip", so it can be a program name with args.
 
1971
set dummy strip; ac_word=$2
 
1972
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
1973
$as_echo_n "checking for $ac_word... " >&6; }
 
1974
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
1975
  $as_echo_n "(cached) " >&6
 
1976
else
 
1977
  if test -n "$ac_ct_STRIP"; then
 
1978
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
1979
else
 
1980
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1981
for as_dir in $PATH
 
1982
do
 
1983
  IFS=$as_save_IFS
 
1984
  test -z "$as_dir" && as_dir=.
 
1985
    for ac_exec_ext in '' $ac_executable_extensions; do
 
1986
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1987
    ac_cv_prog_ac_ct_STRIP="strip"
 
1988
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1989
    break 2
 
1990
  fi
 
1991
done
 
1992
  done
 
1993
IFS=$as_save_IFS
 
1994
 
 
1995
fi
 
1996
fi
 
1997
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
1998
if test -n "$ac_ct_STRIP"; then
 
1999
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2000
$as_echo "$ac_ct_STRIP" >&6; }
 
2001
else
 
2002
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2003
$as_echo "no" >&6; }
 
2004
fi
 
2005
 
 
2006
  if test "x$ac_ct_STRIP" = x; then
 
2007
    STRIP=":"
 
2008
  else
 
2009
    case $cross_compiling:$ac_tool_warned in
 
2010
yes:)
 
2011
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2012
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2013
ac_tool_warned=yes ;;
 
2014
esac
 
2015
    STRIP=$ac_ct_STRIP
 
2016
  fi
 
2017
else
 
2018
  STRIP="$ac_cv_prog_STRIP"
 
2019
fi
 
2020
 
 
2021
fi
 
2022
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2023
 
 
2024
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2025
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2026
if test -z "$MKDIR_P"; then
 
2027
  if ${ac_cv_path_mkdir+:} false; then :
 
2028
  $as_echo_n "(cached) " >&6
 
2029
else
 
2030
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2031
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2032
do
 
2033
  IFS=$as_save_IFS
 
2034
  test -z "$as_dir" && as_dir=.
 
2035
    for ac_prog in mkdir gmkdir; do
 
2036
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2037
           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
 
2038
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2039
             'mkdir (GNU coreutils) '* | \
 
2040
             'mkdir (coreutils) '* | \
 
2041
             'mkdir (fileutils) '4.1*)
 
2042
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2043
               break 3;;
 
2044
           esac
 
2045
         done
 
2046
       done
 
2047
  done
 
2048
IFS=$as_save_IFS
 
2049
 
 
2050
fi
 
2051
 
 
2052
  test -d ./--version && rmdir ./--version
 
2053
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2054
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2055
  else
 
2056
    # As a last resort, use the slow shell script.  Don't cache a
 
2057
    # value for MKDIR_P within a source directory, because that will
 
2058
    # break other packages using the cache if that directory is
 
2059
    # removed, or if the value is a relative name.
 
2060
    MKDIR_P="$ac_install_sh -d"
 
2061
  fi
 
2062
fi
 
2063
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2064
$as_echo "$MKDIR_P" >&6; }
 
2065
 
 
2066
mkdir_p="$MKDIR_P"
 
2067
case $mkdir_p in
 
2068
  [\\/$]* | ?:[\\/]*) ;;
 
2069
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2070
esac
 
2071
 
 
2072
for ac_prog in gawk mawk nawk awk
 
2073
do
 
2074
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2075
set dummy $ac_prog; ac_word=$2
 
2076
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2077
$as_echo_n "checking for $ac_word... " >&6; }
 
2078
if ${ac_cv_prog_AWK+:} false; then :
 
2079
  $as_echo_n "(cached) " >&6
 
2080
else
 
2081
  if test -n "$AWK"; then
 
2082
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
2083
else
 
2084
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2085
for as_dir in $PATH
 
2086
do
 
2087
  IFS=$as_save_IFS
 
2088
  test -z "$as_dir" && as_dir=.
 
2089
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2090
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2091
    ac_cv_prog_AWK="$ac_prog"
 
2092
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2093
    break 2
 
2094
  fi
 
2095
done
 
2096
  done
 
2097
IFS=$as_save_IFS
 
2098
 
 
2099
fi
 
2100
fi
 
2101
AWK=$ac_cv_prog_AWK
 
2102
if test -n "$AWK"; then
 
2103
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2104
$as_echo "$AWK" >&6; }
 
2105
else
 
2106
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2107
$as_echo "no" >&6; }
 
2108
fi
 
2109
 
 
2110
 
 
2111
  test -n "$AWK" && break
 
2112
done
 
2113
 
 
2114
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2115
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2116
set x ${MAKE-make}
 
2117
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2118
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
2119
  $as_echo_n "(cached) " >&6
 
2120
else
 
2121
  cat >conftest.make <<\_ACEOF
 
2122
SHELL = /bin/sh
 
2123
all:
 
2124
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
2125
_ACEOF
 
2126
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
2127
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2128
  *@@@%%%=?*=@@@%%%*)
 
2129
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2130
  *)
 
2131
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2132
esac
 
2133
rm -f conftest.make
 
2134
fi
 
2135
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2136
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2137
$as_echo "yes" >&6; }
 
2138
  SET_MAKE=
 
2139
else
 
2140
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2141
$as_echo "no" >&6; }
 
2142
  SET_MAKE="MAKE=${MAKE-make}"
 
2143
fi
 
2144
 
 
2145
rm -rf .tst 2>/dev/null
 
2146
mkdir .tst 2>/dev/null
 
2147
if test -d .tst; then
 
2148
  am__leading_dot=.
 
2149
else
 
2150
  am__leading_dot=_
 
2151
fi
 
2152
rmdir .tst 2>/dev/null
 
2153
 
 
2154
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2155
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2156
  # is not polluted with repeated "-I."
 
2157
  am__isrc=' -I$(srcdir)'
 
2158
  # test to see if srcdir already configured
 
2159
  if test -f $srcdir/config.status; then
 
2160
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2161
  fi
 
2162
fi
 
2163
 
 
2164
# test whether we have cygpath
 
2165
if test -z "$CYGPATH_W"; then
 
2166
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
2167
    CYGPATH_W='cygpath -w'
 
2168
  else
 
2169
    CYGPATH_W=echo
 
2170
  fi
 
2171
fi
 
2172
 
 
2173
 
 
2174
# Define the identity of the package.
 
2175
 PACKAGE='xts-server'
 
2176
 VERSION='0.1'
 
2177
 
 
2178
 
 
2179
cat >>confdefs.h <<_ACEOF
 
2180
#define PACKAGE "$PACKAGE"
 
2181
_ACEOF
 
2182
 
 
2183
 
 
2184
cat >>confdefs.h <<_ACEOF
 
2185
#define VERSION "$VERSION"
 
2186
_ACEOF
 
2187
 
 
2188
# Some tools Automake needs.
 
2189
 
 
2190
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
2191
 
 
2192
 
 
2193
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
2194
 
 
2195
 
 
2196
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
2197
 
 
2198
 
 
2199
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
2200
 
 
2201
 
 
2202
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
2203
 
 
2204
# We need awk for the "check" target.  The system "awk" is bad on
 
2205
# some platforms.
 
2206
# Always define AMTAR for backward compatibility.  Yes, it's still used
 
2207
# in the wild :-(  We should find a proper way to deprecate it ...
 
2208
AMTAR='$${TAR-tar}'
 
2209
 
 
2210
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
 
2211
 
 
2212
 
 
2213
 
 
2214
 
 
2215
 
 
2216
 
 
2217
 
 
2218
 
 
2219
 
 
2220
 
 
2221
 
 
2222
        if test -n "$PYTHON"; then
 
2223
      # If the user set $PYTHON, use it and don't search something else.
 
2224
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
 
2225
$as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
 
2226
      prog="import sys
 
2227
# split strings by '.' and convert to numeric.  Append some zeros
 
2228
# because we need at least 4 digits for the hex conversion.
 
2229
# map returns an iterator in Python 3.0 and a list in 2.x
 
2230
minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
 
2231
minverhex = 0
 
2232
# xrange is not present in Python 3.0 and range returns an iterator
 
2233
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
 
2234
sys.exit(sys.hexversion < minverhex)"
 
2235
  if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
 
2236
   ($PYTHON -c "$prog") >&5 2>&5
 
2237
   ac_status=$?
 
2238
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2239
   (exit $ac_status); }; then :
 
2240
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2241
$as_echo "yes" >&6; }
 
2242
else
 
2243
  as_fn_error $? "too old" "$LINENO" 5
 
2244
fi
 
2245
      am_display_PYTHON=$PYTHON
 
2246
    else
 
2247
      # Otherwise, try each interpreter until we find one that satisfies
 
2248
      # VERSION.
 
2249
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
 
2250
$as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
 
2251
if ${am_cv_pathless_PYTHON+:} false; then :
 
2252
  $as_echo_n "(cached) " >&6
 
2253
else
 
2254
 
 
2255
        for am_cv_pathless_PYTHON in python python2 python3 python3.2 python3.1 python3.0 python2.7  python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
 
2256
          test "$am_cv_pathless_PYTHON" = none && break
 
2257
          prog="import sys
 
2258
# split strings by '.' and convert to numeric.  Append some zeros
 
2259
# because we need at least 4 digits for the hex conversion.
 
2260
# map returns an iterator in Python 3.0 and a list in 2.x
 
2261
minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
 
2262
minverhex = 0
 
2263
# xrange is not present in Python 3.0 and range returns an iterator
 
2264
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
 
2265
sys.exit(sys.hexversion < minverhex)"
 
2266
  if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
 
2267
   ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
 
2268
   ac_status=$?
 
2269
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2270
   (exit $ac_status); }; then :
 
2271
  break
 
2272
fi
 
2273
        done
 
2274
fi
 
2275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
 
2276
$as_echo "$am_cv_pathless_PYTHON" >&6; }
 
2277
      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
 
2278
      if test "$am_cv_pathless_PYTHON" = none; then
 
2279
        PYTHON=:
 
2280
      else
 
2281
        # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
 
2282
set dummy $am_cv_pathless_PYTHON; ac_word=$2
 
2283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2284
$as_echo_n "checking for $ac_word... " >&6; }
 
2285
if ${ac_cv_path_PYTHON+:} false; then :
 
2286
  $as_echo_n "(cached) " >&6
 
2287
else
 
2288
  case $PYTHON in
 
2289
  [\\/]* | ?:[\\/]*)
 
2290
  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
 
2291
  ;;
 
2292
  *)
 
2293
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2294
for as_dir in $PATH
 
2295
do
 
2296
  IFS=$as_save_IFS
 
2297
  test -z "$as_dir" && as_dir=.
 
2298
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2299
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2300
    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
 
2301
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2302
    break 2
 
2303
  fi
 
2304
done
 
2305
  done
 
2306
IFS=$as_save_IFS
 
2307
 
 
2308
  ;;
 
2309
esac
 
2310
fi
 
2311
PYTHON=$ac_cv_path_PYTHON
 
2312
if test -n "$PYTHON"; then
 
2313
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
 
2314
$as_echo "$PYTHON" >&6; }
 
2315
else
 
2316
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2317
$as_echo "no" >&6; }
 
2318
fi
 
2319
 
 
2320
 
 
2321
      fi
 
2322
      am_display_PYTHON=$am_cv_pathless_PYTHON
 
2323
    fi
 
2324
 
 
2325
 
 
2326
  if test "$PYTHON" = :; then
 
2327
      as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
 
2328
  else
 
2329
 
 
2330
 
 
2331
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
 
2332
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
 
2333
if ${am_cv_python_version+:} false; then :
 
2334
  $as_echo_n "(cached) " >&6
 
2335
else
 
2336
  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
 
2337
fi
 
2338
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
 
2339
$as_echo "$am_cv_python_version" >&6; }
 
2340
  PYTHON_VERSION=$am_cv_python_version
 
2341
 
 
2342
 
 
2343
 
 
2344
  PYTHON_PREFIX='${prefix}'
 
2345
 
 
2346
  PYTHON_EXEC_PREFIX='${exec_prefix}'
 
2347
 
 
2348
 
 
2349
 
 
2350
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
 
2351
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
 
2352
if ${am_cv_python_platform+:} false; then :
 
2353
  $as_echo_n "(cached) " >&6
 
2354
else
 
2355
  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
 
2356
fi
 
2357
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
 
2358
$as_echo "$am_cv_python_platform" >&6; }
 
2359
  PYTHON_PLATFORM=$am_cv_python_platform
 
2360
 
 
2361
 
 
2362
 
 
2363
 
 
2364
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
 
2365
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
 
2366
if ${am_cv_python_pythondir+:} false; then :
 
2367
  $as_echo_n "(cached) " >&6
 
2368
else
 
2369
  if test "x$prefix" = xNONE
 
2370
     then
 
2371
       am_py_prefix=$ac_default_prefix
 
2372
     else
 
2373
       am_py_prefix=$prefix
 
2374
     fi
 
2375
     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
 
2376
     case $am_cv_python_pythondir in
 
2377
     $am_py_prefix*)
 
2378
       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
 
2379
       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
 
2380
       ;;
 
2381
     *)
 
2382
       case $am_py_prefix in
 
2383
         /usr|/System*) ;;
 
2384
         *)
 
2385
          am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
 
2386
          ;;
 
2387
       esac
 
2388
       ;;
 
2389
     esac
 
2390
 
 
2391
fi
 
2392
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
 
2393
$as_echo "$am_cv_python_pythondir" >&6; }
 
2394
  pythondir=$am_cv_python_pythondir
 
2395
 
 
2396
 
 
2397
 
 
2398
  pkgpythondir=\${pythondir}/$PACKAGE
 
2399
 
 
2400
 
 
2401
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
 
2402
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
 
2403
if ${am_cv_python_pyexecdir+:} false; then :
 
2404
  $as_echo_n "(cached) " >&6
 
2405
else
 
2406
  if test "x$exec_prefix" = xNONE
 
2407
     then
 
2408
       am_py_exec_prefix=$am_py_prefix
 
2409
     else
 
2410
       am_py_exec_prefix=$exec_prefix
 
2411
     fi
 
2412
     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
 
2413
     case $am_cv_python_pyexecdir in
 
2414
     $am_py_exec_prefix*)
 
2415
       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
 
2416
       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
 
2417
       ;;
 
2418
     *)
 
2419
       case $am_py_exec_prefix in
 
2420
         /usr|/System*) ;;
 
2421
         *)
 
2422
           am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
 
2423
           ;;
 
2424
       esac
 
2425
       ;;
 
2426
     esac
 
2427
 
 
2428
fi
 
2429
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
 
2430
$as_echo "$am_cv_python_pyexecdir" >&6; }
 
2431
  pyexecdir=$am_cv_python_pyexecdir
 
2432
 
 
2433
 
 
2434
 
 
2435
  pkgpyexecdir=\${pyexecdir}/$PACKAGE
 
2436
 
 
2437
 
 
2438
 
 
2439
  fi
 
2440
 
 
2441
 
 
2442
 
 
2443
ac_config_files="$ac_config_files Makefile src/Makefile"
 
2444
 
 
2445
 
 
2446
cat >confcache <<\_ACEOF
 
2447
# This file is a shell script that caches the results of configure
 
2448
# tests run on this system so they can be shared between configure
 
2449
# scripts and configure runs, see configure's option --config-cache.
 
2450
# It is not useful on other systems.  If it contains results you don't
 
2451
# want to keep, you may remove or edit it.
 
2452
#
 
2453
# config.status only pays attention to the cache file if you give it
 
2454
# the --recheck option to rerun configure.
 
2455
#
 
2456
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
2457
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
2458
# following values.
 
2459
 
 
2460
_ACEOF
 
2461
 
 
2462
# The following way of writing the cache mishandles newlines in values,
 
2463
# but we know of no workaround that is simple, portable, and efficient.
 
2464
# So, we kill variables containing newlines.
 
2465
# Ultrix sh set writes to stderr and can't be redirected directly,
 
2466
# and sets the high bit in the cache file unless we assign to the vars.
 
2467
(
 
2468
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
2469
    eval ac_val=\$$ac_var
 
2470
    case $ac_val in #(
 
2471
    *${as_nl}*)
 
2472
      case $ac_var in #(
 
2473
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2474
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2475
      esac
 
2476
      case $ac_var in #(
 
2477
      _ | IFS | as_nl) ;; #(
 
2478
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2479
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2480
      esac ;;
 
2481
    esac
 
2482
  done
 
2483
 
 
2484
  (set) 2>&1 |
 
2485
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
2486
    *${as_nl}ac_space=\ *)
 
2487
      # `set' does not quote correctly, so add quotes: double-quote
 
2488
      # substitution turns \\\\ into \\, and sed turns \\ into \.
 
2489
      sed -n \
 
2490
        "s/'/'\\\\''/g;
 
2491
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
2492
      ;; #(
 
2493
    *)
 
2494
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
2495
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
2496
      ;;
 
2497
    esac |
 
2498
    sort
 
2499
) |
 
2500
  sed '
 
2501
     /^ac_cv_env_/b end
 
2502
     t clear
 
2503
     :clear
 
2504
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
2505
     t end
 
2506
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
2507
     :end' >>confcache
 
2508
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
2509
  if test -w "$cache_file"; then
 
2510
    if test "x$cache_file" != "x/dev/null"; then
 
2511
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
2512
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
2513
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
2514
        cat confcache >"$cache_file"
 
2515
      else
 
2516
        case $cache_file in #(
 
2517
        */* | ?:*)
 
2518
          mv -f confcache "$cache_file"$$ &&
 
2519
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
2520
        *)
 
2521
          mv -f confcache "$cache_file" ;;
 
2522
        esac
 
2523
      fi
 
2524
    fi
 
2525
  else
 
2526
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
2527
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
2528
  fi
 
2529
fi
 
2530
rm -f confcache
 
2531
 
 
2532
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
2533
# Let make expand exec_prefix.
 
2534
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
2535
 
 
2536
# Transform confdefs.h into DEFS.
 
2537
# Protect against shell expansion while executing Makefile rules.
 
2538
# Protect against Makefile macro expansion.
 
2539
#
 
2540
# If the first sed substitution is executed (which looks for macros that
 
2541
# take arguments), then branch to the quote section.  Otherwise,
 
2542
# look for a macro that doesn't take arguments.
 
2543
ac_script='
 
2544
:mline
 
2545
/\\$/{
 
2546
 N
 
2547
 s,\\\n,,
 
2548
 b mline
 
2549
}
 
2550
t clear
 
2551
:clear
 
2552
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
 
2553
t quote
 
2554
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
 
2555
t quote
 
2556
b any
 
2557
:quote
 
2558
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
 
2559
s/\[/\\&/g
 
2560
s/\]/\\&/g
 
2561
s/\$/$$/g
 
2562
H
 
2563
:any
 
2564
${
 
2565
        g
 
2566
        s/^\n//
 
2567
        s/\n/ /g
 
2568
        p
 
2569
}
 
2570
'
 
2571
DEFS=`sed -n "$ac_script" confdefs.h`
 
2572
 
 
2573
 
 
2574
ac_libobjs=
 
2575
ac_ltlibobjs=
 
2576
U=
 
2577
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
2578
  # 1. Remove the extension, and $U if already installed.
 
2579
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
2580
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
2581
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
2582
  #    will be set to the directory where LIBOBJS objects are built.
 
2583
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
2584
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
2585
done
 
2586
LIBOBJS=$ac_libobjs
 
2587
 
 
2588
LTLIBOBJS=$ac_ltlibobjs
 
2589
 
 
2590
 
 
2591
 
 
2592
 
 
2593
: "${CONFIG_STATUS=./config.status}"
 
2594
ac_write_fail=0
 
2595
ac_clean_files_save=$ac_clean_files
 
2596
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
2597
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
2598
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
2599
as_write_fail=0
 
2600
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 
2601
#! $SHELL
 
2602
# Generated by $as_me.
 
2603
# Run this file to recreate the current configuration.
 
2604
# Compiler output produced by configure, useful for debugging
 
2605
# configure, is in config.log if it exists.
 
2606
 
 
2607
debug=false
 
2608
ac_cs_recheck=false
 
2609
ac_cs_silent=false
 
2610
 
 
2611
SHELL=\${CONFIG_SHELL-$SHELL}
 
2612
export SHELL
 
2613
_ASEOF
 
2614
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
2615
## -------------------- ##
 
2616
## M4sh Initialization. ##
 
2617
## -------------------- ##
 
2618
 
 
2619
# Be more Bourne compatible
 
2620
DUALCASE=1; export DUALCASE # for MKS sh
 
2621
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
2622
  emulate sh
 
2623
  NULLCMD=:
 
2624
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
2625
  # is contrary to our usage.  Disable this feature.
 
2626
  alias -g '${1+"$@"}'='"$@"'
 
2627
  setopt NO_GLOB_SUBST
 
2628
else
 
2629
  case `(set -o) 2>/dev/null` in #(
 
2630
  *posix*) :
 
2631
    set -o posix ;; #(
 
2632
  *) :
 
2633
     ;;
 
2634
esac
 
2635
fi
 
2636
 
 
2637
 
 
2638
as_nl='
 
2639
'
 
2640
export as_nl
 
2641
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
2642
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
2643
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
2644
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
2645
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
2646
# but without wasting forks for bash or zsh.
 
2647
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
2648
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
2649
  as_echo='print -r --'
 
2650
  as_echo_n='print -rn --'
 
2651
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
2652
  as_echo='printf %s\n'
 
2653
  as_echo_n='printf %s'
 
2654
else
 
2655
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
2656
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
2657
    as_echo_n='/usr/ucb/echo -n'
 
2658
  else
 
2659
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
2660
    as_echo_n_body='eval
 
2661
      arg=$1;
 
2662
      case $arg in #(
 
2663
      *"$as_nl"*)
 
2664
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
2665
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
2666
      esac;
 
2667
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
2668
    '
 
2669
    export as_echo_n_body
 
2670
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
2671
  fi
 
2672
  export as_echo_body
 
2673
  as_echo='sh -c $as_echo_body as_echo'
 
2674
fi
 
2675
 
 
2676
# The user is always right.
 
2677
if test "${PATH_SEPARATOR+set}" != set; then
 
2678
  PATH_SEPARATOR=:
 
2679
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
2680
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
2681
      PATH_SEPARATOR=';'
 
2682
  }
 
2683
fi
 
2684
 
 
2685
 
 
2686
# IFS
 
2687
# We need space, tab and new line, in precisely that order.  Quoting is
 
2688
# there to prevent editors from complaining about space-tab.
 
2689
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
2690
# splitting by setting IFS to empty value.)
 
2691
IFS=" ""        $as_nl"
 
2692
 
 
2693
# Find who we are.  Look in the path if we contain no directory separator.
 
2694
as_myself=
 
2695
case $0 in #((
 
2696
  *[\\/]* ) as_myself=$0 ;;
 
2697
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2698
for as_dir in $PATH
 
2699
do
 
2700
  IFS=$as_save_IFS
 
2701
  test -z "$as_dir" && as_dir=.
 
2702
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
2703
  done
 
2704
IFS=$as_save_IFS
 
2705
 
 
2706
     ;;
 
2707
esac
 
2708
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
2709
# in which case we are not to be found in the path.
 
2710
if test "x$as_myself" = x; then
 
2711
  as_myself=$0
 
2712
fi
 
2713
if test ! -f "$as_myself"; then
 
2714
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
2715
  exit 1
 
2716
fi
 
2717
 
 
2718
# Unset variables that we do not need and which cause bugs (e.g. in
 
2719
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
2720
# suppresses any "Segmentation fault" message there.  '((' could
 
2721
# trigger a bug in pdksh 5.2.14.
 
2722
for as_var in BASH_ENV ENV MAIL MAILPATH
 
2723
do eval test x\${$as_var+set} = xset \
 
2724
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
2725
done
 
2726
PS1='$ '
 
2727
PS2='> '
 
2728
PS4='+ '
 
2729
 
 
2730
# NLS nuisances.
 
2731
LC_ALL=C
 
2732
export LC_ALL
 
2733
LANGUAGE=C
 
2734
export LANGUAGE
 
2735
 
 
2736
# CDPATH.
 
2737
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
2738
 
 
2739
 
 
2740
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
2741
# ----------------------------------------
 
2742
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
2743
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
2744
# script with STATUS, using 1 if that was 0.
 
2745
as_fn_error ()
 
2746
{
 
2747
  as_status=$1; test $as_status -eq 0 && as_status=1
 
2748
  if test "$4"; then
 
2749
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2750
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
2751
  fi
 
2752
  $as_echo "$as_me: error: $2" >&2
 
2753
  as_fn_exit $as_status
 
2754
} # as_fn_error
 
2755
 
 
2756
 
 
2757
# as_fn_set_status STATUS
 
2758
# -----------------------
 
2759
# Set $? to STATUS, without forking.
 
2760
as_fn_set_status ()
 
2761
{
 
2762
  return $1
 
2763
} # as_fn_set_status
 
2764
 
 
2765
# as_fn_exit STATUS
 
2766
# -----------------
 
2767
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
2768
as_fn_exit ()
 
2769
{
 
2770
  set +e
 
2771
  as_fn_set_status $1
 
2772
  exit $1
 
2773
} # as_fn_exit
 
2774
 
 
2775
# as_fn_unset VAR
 
2776
# ---------------
 
2777
# Portably unset VAR.
 
2778
as_fn_unset ()
 
2779
{
 
2780
  { eval $1=; unset $1;}
 
2781
}
 
2782
as_unset=as_fn_unset
 
2783
# as_fn_append VAR VALUE
 
2784
# ----------------------
 
2785
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
2786
# advantage of any shell optimizations that allow amortized linear growth over
 
2787
# repeated appends, instead of the typical quadratic growth present in naive
 
2788
# implementations.
 
2789
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
2790
  eval 'as_fn_append ()
 
2791
  {
 
2792
    eval $1+=\$2
 
2793
  }'
 
2794
else
 
2795
  as_fn_append ()
 
2796
  {
 
2797
    eval $1=\$$1\$2
 
2798
  }
 
2799
fi # as_fn_append
 
2800
 
 
2801
# as_fn_arith ARG...
 
2802
# ------------------
 
2803
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
2804
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
2805
# must be portable across $(()) and expr.
 
2806
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
2807
  eval 'as_fn_arith ()
 
2808
  {
 
2809
    as_val=$(( $* ))
 
2810
  }'
 
2811
else
 
2812
  as_fn_arith ()
 
2813
  {
 
2814
    as_val=`expr "$@" || test $? -eq 1`
 
2815
  }
 
2816
fi # as_fn_arith
 
2817
 
 
2818
 
 
2819
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
2820
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
2821
  as_expr=expr
 
2822
else
 
2823
  as_expr=false
 
2824
fi
 
2825
 
 
2826
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
2827
  as_basename=basename
 
2828
else
 
2829
  as_basename=false
 
2830
fi
 
2831
 
 
2832
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
2833
  as_dirname=dirname
 
2834
else
 
2835
  as_dirname=false
 
2836
fi
 
2837
 
 
2838
as_me=`$as_basename -- "$0" ||
 
2839
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
2840
         X"$0" : 'X\(//\)$' \| \
 
2841
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
2842
$as_echo X/"$0" |
 
2843
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
2844
            s//\1/
 
2845
            q
 
2846
          }
 
2847
          /^X\/\(\/\/\)$/{
 
2848
            s//\1/
 
2849
            q
 
2850
          }
 
2851
          /^X\/\(\/\).*/{
 
2852
            s//\1/
 
2853
            q
 
2854
          }
 
2855
          s/.*/./; q'`
 
2856
 
 
2857
# Avoid depending upon Character Ranges.
 
2858
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
2859
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
2860
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
2861
as_cr_digits='0123456789'
 
2862
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
2863
 
 
2864
ECHO_C= ECHO_N= ECHO_T=
 
2865
case `echo -n x` in #(((((
 
2866
-n*)
 
2867
  case `echo 'xy\c'` in
 
2868
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
2869
  xy)  ECHO_C='\c';;
 
2870
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
2871
       ECHO_T=' ';;
 
2872
  esac;;
 
2873
*)
 
2874
  ECHO_N='-n';;
 
2875
esac
 
2876
 
 
2877
rm -f conf$$ conf$$.exe conf$$.file
 
2878
if test -d conf$$.dir; then
 
2879
  rm -f conf$$.dir/conf$$.file
 
2880
else
 
2881
  rm -f conf$$.dir
 
2882
  mkdir conf$$.dir 2>/dev/null
 
2883
fi
 
2884
if (echo >conf$$.file) 2>/dev/null; then
 
2885
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
2886
    as_ln_s='ln -s'
 
2887
    # ... but there are two gotchas:
 
2888
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
2889
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
2890
    # In both cases, we have to default to `cp -pR'.
 
2891
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
2892
      as_ln_s='cp -pR'
 
2893
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
2894
    as_ln_s=ln
 
2895
  else
 
2896
    as_ln_s='cp -pR'
 
2897
  fi
 
2898
else
 
2899
  as_ln_s='cp -pR'
 
2900
fi
 
2901
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
2902
rmdir conf$$.dir 2>/dev/null
 
2903
 
 
2904
 
 
2905
# as_fn_mkdir_p
 
2906
# -------------
 
2907
# Create "$as_dir" as a directory, including parents if necessary.
 
2908
as_fn_mkdir_p ()
 
2909
{
 
2910
 
 
2911
  case $as_dir in #(
 
2912
  -*) as_dir=./$as_dir;;
 
2913
  esac
 
2914
  test -d "$as_dir" || eval $as_mkdir_p || {
 
2915
    as_dirs=
 
2916
    while :; do
 
2917
      case $as_dir in #(
 
2918
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
2919
      *) as_qdir=$as_dir;;
 
2920
      esac
 
2921
      as_dirs="'$as_qdir' $as_dirs"
 
2922
      as_dir=`$as_dirname -- "$as_dir" ||
 
2923
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
2924
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
2925
         X"$as_dir" : 'X\(//\)$' \| \
 
2926
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
2927
$as_echo X"$as_dir" |
 
2928
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
2929
            s//\1/
 
2930
            q
 
2931
          }
 
2932
          /^X\(\/\/\)[^/].*/{
 
2933
            s//\1/
 
2934
            q
 
2935
          }
 
2936
          /^X\(\/\/\)$/{
 
2937
            s//\1/
 
2938
            q
 
2939
          }
 
2940
          /^X\(\/\).*/{
 
2941
            s//\1/
 
2942
            q
 
2943
          }
 
2944
          s/.*/./; q'`
 
2945
      test -d "$as_dir" && break
 
2946
    done
 
2947
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
2948
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
2949
 
 
2950
 
 
2951
} # as_fn_mkdir_p
 
2952
if mkdir -p . 2>/dev/null; then
 
2953
  as_mkdir_p='mkdir -p "$as_dir"'
 
2954
else
 
2955
  test -d ./-p && rmdir ./-p
 
2956
  as_mkdir_p=false
 
2957
fi
 
2958
 
 
2959
 
 
2960
# as_fn_executable_p FILE
 
2961
# -----------------------
 
2962
# Test if FILE is an executable regular file.
 
2963
as_fn_executable_p ()
 
2964
{
 
2965
  test -f "$1" && test -x "$1"
 
2966
} # as_fn_executable_p
 
2967
as_test_x='test -x'
 
2968
as_executable_p=as_fn_executable_p
 
2969
 
 
2970
# Sed expression to map a string onto a valid CPP name.
 
2971
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
2972
 
 
2973
# Sed expression to map a string onto a valid variable name.
 
2974
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
2975
 
 
2976
 
 
2977
exec 6>&1
 
2978
## ----------------------------------- ##
 
2979
## Main body of $CONFIG_STATUS script. ##
 
2980
## ----------------------------------- ##
 
2981
_ASEOF
 
2982
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 
2983
 
 
2984
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
2985
# Save the log message, to keep $0 and so on meaningful, and to
 
2986
# report actual input values of CONFIG_FILES etc. instead of their
 
2987
# values after options handling.
 
2988
ac_log="
 
2989
This file was extended by xts-server $as_me 0.1, which was
 
2990
generated by GNU Autoconf 2.69.  Invocation command line was
 
2991
 
 
2992
  CONFIG_FILES    = $CONFIG_FILES
 
2993
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
2994
  CONFIG_LINKS    = $CONFIG_LINKS
 
2995
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
2996
  $ $0 $@
 
2997
 
 
2998
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
2999
"
 
3000
 
 
3001
_ACEOF
 
3002
 
 
3003
case $ac_config_files in *"
 
3004
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
3005
esac
 
3006
 
 
3007
 
 
3008
 
 
3009
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
3010
# Files that config.status was made for.
 
3011
config_files="$ac_config_files"
 
3012
 
 
3013
_ACEOF
 
3014
 
 
3015
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
3016
ac_cs_usage="\
 
3017
\`$as_me' instantiates files and other configuration actions
 
3018
from templates according to the current configuration.  Unless the files
 
3019
and actions are specified as TAGs, all are instantiated by default.
 
3020
 
 
3021
Usage: $0 [OPTION]... [TAG]...
 
3022
 
 
3023
  -h, --help       print this help, then exit
 
3024
  -V, --version    print version number and configuration settings, then exit
 
3025
      --config     print configuration, then exit
 
3026
  -q, --quiet, --silent
 
3027
                   do not print progress messages
 
3028
  -d, --debug      don't remove temporary files
 
3029
      --recheck    update $as_me by reconfiguring in the same conditions
 
3030
      --file=FILE[:TEMPLATE]
 
3031
                   instantiate the configuration file FILE
 
3032
 
 
3033
Configuration files:
 
3034
$config_files
 
3035
 
 
3036
Report bugs to the package provider."
 
3037
 
 
3038
_ACEOF
 
3039
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
3040
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 
3041
ac_cs_version="\\
 
3042
xts-server config.status 0.1
 
3043
configured by $0, generated by GNU Autoconf 2.69,
 
3044
  with options \\"\$ac_cs_config\\"
 
3045
 
 
3046
Copyright (C) 2012 Free Software Foundation, Inc.
 
3047
This config.status script is free software; the Free Software Foundation
 
3048
gives unlimited permission to copy, distribute and modify it."
 
3049
 
 
3050
ac_pwd='$ac_pwd'
 
3051
srcdir='$srcdir'
 
3052
INSTALL='$INSTALL'
 
3053
MKDIR_P='$MKDIR_P'
 
3054
AWK='$AWK'
 
3055
test -n "\$AWK" || AWK=awk
 
3056
_ACEOF
 
3057
 
 
3058
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
3059
# The default lists apply if the user does not specify any file.
 
3060
ac_need_defaults=:
 
3061
while test $# != 0
 
3062
do
 
3063
  case $1 in
 
3064
  --*=?*)
 
3065
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
3066
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
3067
    ac_shift=:
 
3068
    ;;
 
3069
  --*=)
 
3070
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
3071
    ac_optarg=
 
3072
    ac_shift=:
 
3073
    ;;
 
3074
  *)
 
3075
    ac_option=$1
 
3076
    ac_optarg=$2
 
3077
    ac_shift=shift
 
3078
    ;;
 
3079
  esac
 
3080
 
 
3081
  case $ac_option in
 
3082
  # Handling of the options.
 
3083
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
3084
    ac_cs_recheck=: ;;
 
3085
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
3086
    $as_echo "$ac_cs_version"; exit ;;
 
3087
  --config | --confi | --conf | --con | --co | --c )
 
3088
    $as_echo "$ac_cs_config"; exit ;;
 
3089
  --debug | --debu | --deb | --de | --d | -d )
 
3090
    debug=: ;;
 
3091
  --file | --fil | --fi | --f )
 
3092
    $ac_shift
 
3093
    case $ac_optarg in
 
3094
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
3095
    '') as_fn_error $? "missing file argument" ;;
 
3096
    esac
 
3097
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
3098
    ac_need_defaults=false;;
 
3099
  --he | --h |  --help | --hel | -h )
 
3100
    $as_echo "$ac_cs_usage"; exit ;;
 
3101
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
3102
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
3103
    ac_cs_silent=: ;;
 
3104
 
 
3105
  # This is an error.
 
3106
  -*) as_fn_error $? "unrecognized option: \`$1'
 
3107
Try \`$0 --help' for more information." ;;
 
3108
 
 
3109
  *) as_fn_append ac_config_targets " $1"
 
3110
     ac_need_defaults=false ;;
 
3111
 
 
3112
  esac
 
3113
  shift
 
3114
done
 
3115
 
 
3116
ac_configure_extra_args=
 
3117
 
 
3118
if $ac_cs_silent; then
 
3119
  exec 6>/dev/null
 
3120
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
3121
fi
 
3122
 
 
3123
_ACEOF
 
3124
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
3125
if \$ac_cs_recheck; then
 
3126
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
3127
  shift
 
3128
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
3129
  CONFIG_SHELL='$SHELL'
 
3130
  export CONFIG_SHELL
 
3131
  exec "\$@"
 
3132
fi
 
3133
 
 
3134
_ACEOF
 
3135
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
3136
exec 5>>config.log
 
3137
{
 
3138
  echo
 
3139
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
3140
## Running $as_me. ##
 
3141
_ASBOX
 
3142
  $as_echo "$ac_log"
 
3143
} >&5
 
3144
 
 
3145
_ACEOF
 
3146
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
3147
_ACEOF
 
3148
 
 
3149
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
3150
 
 
3151
# Handling of arguments.
 
3152
for ac_config_target in $ac_config_targets
 
3153
do
 
3154
  case $ac_config_target in
 
3155
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
3156
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
3157
 
 
3158
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
3159
  esac
 
3160
done
 
3161
 
 
3162
 
 
3163
# If the user did not use the arguments to specify the items to instantiate,
 
3164
# then the envvar interface is used.  Set only those that are not.
 
3165
# We use the long form for the default assignment because of an extremely
 
3166
# bizarre bug on SunOS 4.1.3.
 
3167
if $ac_need_defaults; then
 
3168
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
3169
fi
 
3170
 
 
3171
# Have a temporary directory for convenience.  Make it in the build tree
 
3172
# simply because there is no reason against having it here, and in addition,
 
3173
# creating and moving files from /tmp can sometimes cause problems.
 
3174
# Hook for its removal unless debugging.
 
3175
# Note that there is a small window in which the directory will not be cleaned:
 
3176
# after its creation but before its name has been assigned to `$tmp'.
 
3177
$debug ||
 
3178
{
 
3179
  tmp= ac_tmp=
 
3180
  trap 'exit_status=$?
 
3181
  : "${ac_tmp:=$tmp}"
 
3182
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 
3183
' 0
 
3184
  trap 'as_fn_exit 1' 1 2 13 15
 
3185
}
 
3186
# Create a (secure) tmp directory for tmp files.
 
3187
 
 
3188
{
 
3189
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
3190
  test -d "$tmp"
 
3191
}  ||
 
3192
{
 
3193
  tmp=./conf$$-$RANDOM
 
3194
  (umask 077 && mkdir "$tmp")
 
3195
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
3196
ac_tmp=$tmp
 
3197
 
 
3198
# Set up the scripts for CONFIG_FILES section.
 
3199
# No need to generate them if there are no CONFIG_FILES.
 
3200
# This happens for instance with `./config.status config.h'.
 
3201
if test -n "$CONFIG_FILES"; then
 
3202
 
 
3203
 
 
3204
ac_cr=`echo X | tr X '\015'`
 
3205
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
3206
# But we know of no other shell where ac_cr would be empty at this
 
3207
# point, so we can use a bashism as a fallback.
 
3208
if test "x$ac_cr" = x; then
 
3209
  eval ac_cr=\$\'\\r\'
 
3210
fi
 
3211
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
3212
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
3213
  ac_cs_awk_cr='\\r'
 
3214
else
 
3215
  ac_cs_awk_cr=$ac_cr
 
3216
fi
 
3217
 
 
3218
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 
3219
_ACEOF
 
3220
 
 
3221
 
 
3222
{
 
3223
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
3224
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
3225
  echo "_ACEOF"
 
3226
} >conf$$subs.sh ||
 
3227
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
3228
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 
3229
ac_delim='%!_!# '
 
3230
for ac_last_try in false false false false false :; do
 
3231
  . ./conf$$subs.sh ||
 
3232
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
3233
 
 
3234
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
3235
  if test $ac_delim_n = $ac_delim_num; then
 
3236
    break
 
3237
  elif $ac_last_try; then
 
3238
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
3239
  else
 
3240
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
3241
  fi
 
3242
done
 
3243
rm -f conf$$subs.sh
 
3244
 
 
3245
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
3246
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 
3247
_ACEOF
 
3248
sed -n '
 
3249
h
 
3250
s/^/S["/; s/!.*/"]=/
 
3251
p
 
3252
g
 
3253
s/^[^!]*!//
 
3254
:repl
 
3255
t repl
 
3256
s/'"$ac_delim"'$//
 
3257
t delim
 
3258
:nl
 
3259
h
 
3260
s/\(.\{148\}\)..*/\1/
 
3261
t more1
 
3262
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
3263
p
 
3264
n
 
3265
b repl
 
3266
:more1
 
3267
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
3268
p
 
3269
g
 
3270
s/.\{148\}//
 
3271
t nl
 
3272
:delim
 
3273
h
 
3274
s/\(.\{148\}\)..*/\1/
 
3275
t more2
 
3276
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
3277
p
 
3278
b
 
3279
:more2
 
3280
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
3281
p
 
3282
g
 
3283
s/.\{148\}//
 
3284
t delim
 
3285
' <conf$$subs.awk | sed '
 
3286
/^[^""]/{
 
3287
  N
 
3288
  s/\n//
 
3289
}
 
3290
' >>$CONFIG_STATUS || ac_write_fail=1
 
3291
rm -f conf$$subs.awk
 
3292
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
3293
_ACAWK
 
3294
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 
3295
  for (key in S) S_is_set[key] = 1
 
3296
  FS = ""
 
3297
 
 
3298
}
 
3299
{
 
3300
  line = $ 0
 
3301
  nfields = split(line, field, "@")
 
3302
  substed = 0
 
3303
  len = length(field[1])
 
3304
  for (i = 2; i < nfields; i++) {
 
3305
    key = field[i]
 
3306
    keylen = length(key)
 
3307
    if (S_is_set[key]) {
 
3308
      value = S[key]
 
3309
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
3310
      len += length(value) + length(field[++i])
 
3311
      substed = 1
 
3312
    } else
 
3313
      len += 1 + keylen
 
3314
  }
 
3315
 
 
3316
  print line
 
3317
}
 
3318
 
 
3319
_ACAWK
 
3320
_ACEOF
 
3321
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
3322
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
3323
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
3324
else
 
3325
  cat
 
3326
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
3327
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
3328
_ACEOF
 
3329
 
 
3330
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
3331
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 
3332
# trailing colons and then remove the whole line if VPATH becomes empty
 
3333
# (actually we leave an empty line to preserve line numbers).
 
3334
if test "x$srcdir" = x.; then
 
3335
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
3336
h
 
3337
s///
 
3338
s/^/:/
 
3339
s/[      ]*$/:/
 
3340
s/:\$(srcdir):/:/g
 
3341
s/:\${srcdir}:/:/g
 
3342
s/:@srcdir@:/:/g
 
3343
s/^:*//
 
3344
s/:*$//
 
3345
x
 
3346
s/\(=[   ]*\).*/\1/
 
3347
G
 
3348
s/\n//
 
3349
s/^[^=]*=[       ]*$//
 
3350
}'
 
3351
fi
 
3352
 
 
3353
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
3354
fi # test -n "$CONFIG_FILES"
 
3355
 
 
3356
 
 
3357
eval set X "  :F $CONFIG_FILES      "
 
3358
shift
 
3359
for ac_tag
 
3360
do
 
3361
  case $ac_tag in
 
3362
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
3363
  esac
 
3364
  case $ac_mode$ac_tag in
 
3365
  :[FHL]*:*);;
 
3366
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
3367
  :[FH]-) ac_tag=-:-;;
 
3368
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
3369
  esac
 
3370
  ac_save_IFS=$IFS
 
3371
  IFS=:
 
3372
  set x $ac_tag
 
3373
  IFS=$ac_save_IFS
 
3374
  shift
 
3375
  ac_file=$1
 
3376
  shift
 
3377
 
 
3378
  case $ac_mode in
 
3379
  :L) ac_source=$1;;
 
3380
  :[FH])
 
3381
    ac_file_inputs=
 
3382
    for ac_f
 
3383
    do
 
3384
      case $ac_f in
 
3385
      -) ac_f="$ac_tmp/stdin";;
 
3386
      *) # Look for the file first in the build tree, then in the source tree
 
3387
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
3388
         # because $ac_f cannot contain `:'.
 
3389
         test -f "$ac_f" ||
 
3390
           case $ac_f in
 
3391
           [\\/$]*) false;;
 
3392
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
3393
           esac ||
 
3394
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
3395
      esac
 
3396
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
3397
      as_fn_append ac_file_inputs " '$ac_f'"
 
3398
    done
 
3399
 
 
3400
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
3401
    # use $as_me), people would be surprised to read:
 
3402
    #    /* config.h.  Generated by config.status.  */
 
3403
    configure_input='Generated from '`
 
3404
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
3405
        `' by configure.'
 
3406
    if test x"$ac_file" != x-; then
 
3407
      configure_input="$ac_file.  $configure_input"
 
3408
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
3409
$as_echo "$as_me: creating $ac_file" >&6;}
 
3410
    fi
 
3411
    # Neutralize special characters interpreted by sed in replacement strings.
 
3412
    case $configure_input in #(
 
3413
    *\&* | *\|* | *\\* )
 
3414
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
3415
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
3416
    *) ac_sed_conf_input=$configure_input;;
 
3417
    esac
 
3418
 
 
3419
    case $ac_tag in
 
3420
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
3421
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 
3422
    esac
 
3423
    ;;
 
3424
  esac
 
3425
 
 
3426
  ac_dir=`$as_dirname -- "$ac_file" ||
 
3427
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
3428
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
3429
         X"$ac_file" : 'X\(//\)$' \| \
 
3430
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
3431
$as_echo X"$ac_file" |
 
3432
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
3433
            s//\1/
 
3434
            q
 
3435
          }
 
3436
          /^X\(\/\/\)[^/].*/{
 
3437
            s//\1/
 
3438
            q
 
3439
          }
 
3440
          /^X\(\/\/\)$/{
 
3441
            s//\1/
 
3442
            q
 
3443
          }
 
3444
          /^X\(\/\).*/{
 
3445
            s//\1/
 
3446
            q
 
3447
          }
 
3448
          s/.*/./; q'`
 
3449
  as_dir="$ac_dir"; as_fn_mkdir_p
 
3450
  ac_builddir=.
 
3451
 
 
3452
case "$ac_dir" in
 
3453
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
3454
*)
 
3455
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
3456
  # A ".." for each directory in $ac_dir_suffix.
 
3457
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
3458
  case $ac_top_builddir_sub in
 
3459
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
3460
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
3461
  esac ;;
 
3462
esac
 
3463
ac_abs_top_builddir=$ac_pwd
 
3464
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
3465
# for backward compatibility:
 
3466
ac_top_builddir=$ac_top_build_prefix
 
3467
 
 
3468
case $srcdir in
 
3469
  .)  # We are building in place.
 
3470
    ac_srcdir=.
 
3471
    ac_top_srcdir=$ac_top_builddir_sub
 
3472
    ac_abs_top_srcdir=$ac_pwd ;;
 
3473
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
3474
    ac_srcdir=$srcdir$ac_dir_suffix;
 
3475
    ac_top_srcdir=$srcdir
 
3476
    ac_abs_top_srcdir=$srcdir ;;
 
3477
  *) # Relative name.
 
3478
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
3479
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
3480
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
3481
esac
 
3482
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
3483
 
 
3484
 
 
3485
  case $ac_mode in
 
3486
  :F)
 
3487
  #
 
3488
  # CONFIG_FILE
 
3489
  #
 
3490
 
 
3491
  case $INSTALL in
 
3492
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
3493
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
3494
  esac
 
3495
  ac_MKDIR_P=$MKDIR_P
 
3496
  case $MKDIR_P in
 
3497
  [\\/$]* | ?:[\\/]* ) ;;
 
3498
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
3499
  esac
 
3500
_ACEOF
 
3501
 
 
3502
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
3503
# If the template does not know about datarootdir, expand it.
 
3504
# FIXME: This hack should be removed a few years after 2.60.
 
3505
ac_datarootdir_hack=; ac_datarootdir_seen=
 
3506
ac_sed_dataroot='
 
3507
/datarootdir/ {
 
3508
  p
 
3509
  q
 
3510
}
 
3511
/@datadir@/p
 
3512
/@docdir@/p
 
3513
/@infodir@/p
 
3514
/@localedir@/p
 
3515
/@mandir@/p'
 
3516
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
3517
*datarootdir*) ac_datarootdir_seen=yes;;
 
3518
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
3519
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
3520
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
3521
_ACEOF
 
3522
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
3523
  ac_datarootdir_hack='
 
3524
  s&@datadir@&$datadir&g
 
3525
  s&@docdir@&$docdir&g
 
3526
  s&@infodir@&$infodir&g
 
3527
  s&@localedir@&$localedir&g
 
3528
  s&@mandir@&$mandir&g
 
3529
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
3530
esac
 
3531
_ACEOF
 
3532
 
 
3533
# Neutralize VPATH when `$srcdir' = `.'.
 
3534
# Shell code in configure.ac might set extrasub.
 
3535
# FIXME: do we really want to maintain this feature?
 
3536
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
3537
ac_sed_extra="$ac_vpsub
 
3538
$extrasub
 
3539
_ACEOF
 
3540
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
3541
:t
 
3542
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
3543
s|@configure_input@|$ac_sed_conf_input|;t t
 
3544
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
3545
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
3546
s&@srcdir@&$ac_srcdir&;t t
 
3547
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
3548
s&@top_srcdir@&$ac_top_srcdir&;t t
 
3549
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
3550
s&@builddir@&$ac_builddir&;t t
 
3551
s&@abs_builddir@&$ac_abs_builddir&;t t
 
3552
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
3553
s&@INSTALL@&$ac_INSTALL&;t t
 
3554
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
3555
$ac_datarootdir_hack
 
3556
"
 
3557
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
3558
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
3559
 
 
3560
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
3561
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
3562
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
3563
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
3564
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
3565
which seems to be undefined.  Please make sure it is defined" >&5
 
3566
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
3567
which seems to be undefined.  Please make sure it is defined" >&2;}
 
3568
 
 
3569
  rm -f "$ac_tmp/stdin"
 
3570
  case $ac_file in
 
3571
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
3572
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 
3573
  esac \
 
3574
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
3575
 ;;
 
3576
 
 
3577
 
 
3578
 
 
3579
  esac
 
3580
 
 
3581
done # for ac_tag
 
3582
 
 
3583
 
 
3584
as_fn_exit 0
 
3585
_ACEOF
 
3586
ac_clean_files=$ac_clean_files_save
 
3587
 
 
3588
test $ac_write_fail = 0 ||
 
3589
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
3590
 
 
3591
 
 
3592
# configure is writing to config.log, and then calls config.status.
 
3593
# config.status does its own redirection, appending to config.log.
 
3594
# Unfortunately, on DOS this fails, as config.log is still kept open
 
3595
# by configure, so config.status won't be able to write to it; its
 
3596
# output is simply discarded.  So we exec the FD to /dev/null,
 
3597
# effectively closing config.log, so it can be properly (re)opened and
 
3598
# appended to by config.status.  When coming back to configure, we
 
3599
# need to make the FD available again.
 
3600
if test "$no_create" != yes; then
 
3601
  ac_cs_success=:
 
3602
  ac_config_status_args=
 
3603
  test "$silent" = yes &&
 
3604
    ac_config_status_args="$ac_config_status_args --quiet"
 
3605
  exec 5>/dev/null
 
3606
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
3607
  exec 5>>config.log
 
3608
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
3609
  # would make configure fail if this is the last instruction.
 
3610
  $ac_cs_success || as_fn_exit 1
 
3611
fi
 
3612
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
3613
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
3614
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
3615
fi
 
3616