394.42KiB; Unix Shell | 2019-11-20 05:56:22+01 | SLOC 12174
1
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.69 for Treegix 4.4.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 1
  NULLCMD=:
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
  # is contrary to our usage.  Disable this feature.
22 1
  alias -g '${1+"$@"}'='"$@"'
23
  setopt NO_GLOB_SUBST
24
else
25 1
  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 1
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 1
    && (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 2
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 2
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 1
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53
    as_echo_n='/usr/ucb/echo -n'
54
  else
55 1
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 1
    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 1
    as_echo_n='sh -c $as_echo_n_body as_echo'
67
  fi
68
  export as_echo_body
69 1
  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 2
    (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 1
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 2
do eval test x\${$as_var+set} = xset \
120 1
  && ( (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 2
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153
# Admittedly, this is quite paranoid, since all the known shells bail
154
# out after a failed `exec'.
155
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156
as_fn_exit 255
157
  fi
158
  # We don't want this to propagate to other subprocesses.
159
          { _as_can_reexec=; unset _as_can_reexec;}
160
if test "x$CONFIG_SHELL" = x; then
161
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162
  emulate sh
163
  NULLCMD=:
164
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165
  # is contrary to our usage.  Disable this feature.
166
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167
  setopt NO_GLOB_SUBST
168
else
169
  case \`(set -o) 2>/dev/null\` in #(
170
  *posix*) :
171
    set -o posix ;; #(
172
  *) :
173
     ;;
174
esac
175
fi
176
"
177
  as_required="as_fn_return () { (exit \$1); }
178
as_fn_success () { as_fn_return 0; }
179
as_fn_failure () { as_fn_return 1; }
180
as_fn_ret_success () { return 0; }
181
as_fn_ret_failure () { return 1; }
182
183
exitcode=0
184
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190
else
191
  exitcode=1; echo positional parameters were not saved.
192
fi
193
test x\$exitcode = x0 || exit 1
194
test -x / || exit 1"
195
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199
test \$(( 1 + 1 )) = 2 || exit 1"
200
  if (eval "$as_required") 2>/dev/null; then :
201
  as_have_required=yes
202
else
203
  as_have_required=no
204
fi
205
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207
else
208
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209
as_found=false
210 1
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211
do
212
  IFS=$as_save_IFS
213
  test -z "$as_dir" && as_dir=.
214
  as_found=:
215
  case $as_dir in #(
216
	 /*)
217
	   for as_base in sh bash ksh sh5; do
218
	     # Try only shells that exist, to save several forks.
219
	     as_shell=$as_dir/$as_base
220
	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221
		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222
  CONFIG_SHELL=$as_shell as_have_required=yes
223
		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224
  break 2
225
fi
226
fi
227
	   done;;
228
       esac
229
  as_found=false
230
done
231
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232
	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233
  CONFIG_SHELL=$SHELL as_have_required=yes
234
fi; }
235
IFS=$as_save_IFS
236
237
238
      if test "x$CONFIG_SHELL" != x; then :
239
  export CONFIG_SHELL
240
             # We cannot yet assume a decent shell, so we have to provide a
241
# neutralization value for shells without unset; and this also
242
# works around shells that cannot unset nonexistent variables.
243
# Preserve -v and -x to the replacement shell.
244
BASH_ENV=/dev/null
245
ENV=/dev/null
246
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247
case $- in # ((((
248
  *v*x* | *x*v* ) as_opts=-vx ;;
249
  *v* ) as_opts=-v ;;
250
  *x* ) as_opts=-x ;;
251
  * ) as_opts= ;;
252
esac
253 2
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254
# Admittedly, this is quite paranoid, since all the known shells bail
255
# out after a failed `exec'.
256
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257
exit 255
258
fi
259
260
    if test x$as_have_required = xno; then :
261
  $as_echo "$0: This script requires a shell more modern than all"
262
  $as_echo "$0: the shells that I found on your system."
263 1
  if test x${ZSH_VERSION+set} = xset ; then
264
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266
  else
267
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268
$0: including any error possibly output before this
269
$0: message. Then install a modern shell, or manually run
270
$0: the script under such a shell if you do have one."
271
  fi
272
  exit 1
273
fi
274
fi
275
fi
276
SHELL=${CONFIG_SHELL-/bin/sh}
277
export SHELL
278
# Unset more variables known to interfere with behavior of common tools.
279 3
CLICOLOR_FORCE= GREP_OPTIONS=
280
unset CLICOLOR_FORCE GREP_OPTIONS
281
282
## --------------------- ##
283
## M4sh Shell Functions. ##
284
## --------------------- ##
285
# as_fn_unset VAR
286
# ---------------
287
# Portably unset VAR.
288
as_fn_unset ()
289
{
290 2
  { eval $1=; unset $1;}
291
}
292 1
as_unset=as_fn_unset
293
294
# as_fn_set_status STATUS
295
# -----------------------
296
# Set $? to STATUS, without forking.
297
as_fn_set_status ()
298
{
299 1
  return $1
300
} # as_fn_set_status
301
302
# as_fn_exit STATUS
303
# -----------------
304
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305
as_fn_exit ()
306
{
307
  set +e
308
  as_fn_set_status $1
309
  exit $1
310
} # as_fn_exit
311
312
# as_fn_mkdir_p
313
# -------------
314
# Create "$as_dir" as a directory, including parents if necessary.
315
as_fn_mkdir_p ()
316
{
317
318
  case $as_dir in #(
319
  -*) as_dir=./$as_dir;;
320
  esac
321
  test -d "$as_dir" || eval $as_mkdir_p || {
322
    as_dirs=
323
    while :; do
324
      case $as_dir in #(
325 1
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326
      *) as_qdir=$as_dir;;
327
      esac
328
      as_dirs="'$as_qdir' $as_dirs"
329 1
      as_dir=`$as_dirname -- "$as_dir" ||
330
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331
	 X"$as_dir" : 'X\(//\)[^/]' \| \
332
	 X"$as_dir" : 'X\(//\)$' \| \
333
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334
$as_echo X"$as_dir" |
335
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336
	    s//\1/
337
	    q
338
	  }
339
	  /^X\(\/\/\)[^/].*/{
340
	    s//\1/
341
	    q
342
	  }
343
	  /^X\(\/\/\)$/{
344
	    s//\1/
345
	    q
346
	  }
347
	  /^X\(\/\).*/{
348
	    s//\1/
349
	    q
350
	  }
351
	  s/.*/./; q'`
352
      test -d "$as_dir" && break
353
    done
354
    test -z "$as_dirs" || eval "mkdir $as_dirs"
355
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
356
357
358
} # as_fn_mkdir_p
359
360
# as_fn_executable_p FILE
361
# -----------------------
362
# Test if FILE is an executable regular file.
363
as_fn_executable_p ()
364
{
365
  test -f "$1" && test -x "$1"
366
} # as_fn_executable_p
367
# as_fn_append VAR VALUE
368
# ----------------------
369
# Append the text in VALUE to the end of the definition contained in VAR. Take
370
# advantage of any shell optimizations that allow amortized linear growth over
371
# repeated appends, instead of the typical quadratic growth present in naive
372
# implementations.
373
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374
  eval 'as_fn_append ()
375
  {
376
    eval $1+=\$2
377
  }'
378
else
379
  as_fn_append ()
380
  {
381
    eval $1=\$$1\$2
382
  }
383
fi # as_fn_append
384
385
# as_fn_arith ARG...
386
# ------------------
387
# Perform arithmetic evaluation on the ARGs, and store the result in the
388
# global $as_val. Take advantage of shells that can avoid forks. The arguments
389
# must be portable across $(()) and expr.
390
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391
  eval 'as_fn_arith ()
392
  {
393
    as_val=$(( $* ))
394
  }'
395
else
396
  as_fn_arith ()
397
  {
398 2
    as_val=`expr "$@" || test $? -eq 1`
399
  }
400
fi # as_fn_arith
401
402
403
# as_fn_error STATUS ERROR [LINENO LOG_FD]
404
# ----------------------------------------
405
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407
# script with STATUS, using 1 if that was 0.
408
as_fn_error ()
409
{
410
  as_status=$1; test $as_status -eq 0 && as_status=1
411
  if test "$4"; then
412
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414
  fi
415
  $as_echo "$as_me: error: $2" >&2
416
  as_fn_exit $as_status
417
} # as_fn_error
418
419
if expr a : '\(a\)' >/dev/null 2>&1 &&
420 1
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
421
  as_expr=expr
422
else
423
  as_expr=false
424
fi
425
426 1
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427
  as_basename=basename
428
else
429
  as_basename=false
430
fi
431
432 1
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433
  as_dirname=dirname
434
else
435
  as_dirname=false
436
fi
437
438
as_me=`$as_basename -- "$0" ||
439
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440
	 X"$0" : 'X\(//\)$' \| \
441
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442
$as_echo X/"$0" |
443
    sed '/^.*\/\([^/][^/]*\)\/*$/{
444
	    s//\1/
445
	    q
446
	  }
447
	  /^X\/\(\/\/\)$/{
448
	    s//\1/
449
	    q
450
	  }
451
	  /^X\/\(\/\).*/{
452
	    s//\1/
453
	    q
454
	  }
455
	  s/.*/./; q'`
456
457
# Avoid depending upon Character Ranges.
458
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461
as_cr_digits='0123456789'
462
as_cr_alnum=$as_cr_Letters$as_cr_digits
463
464
465 2
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 2
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 1
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
470
  sed -n '
471
    p
472
    /[$]LINENO/=
473
  ' <$as_myself |
474
    sed '
475
      s/[$]LINENO.*/&-/
476
      t lineno
477
      b
478
      :lineno
479
      N
480
      :loop
481
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482
      t loop
483
      s/-\n.*//
484 1
    ' >$as_me.lineno &&
485
  chmod +x "$as_me.lineno" ||
486
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487
488
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489
  # already done that, so ensure we don't try to do so again and fall
490
  # in an infinite loop.  This has already happened in practice.
491
  _as_can_reexec=no; export _as_can_reexec
492
  # Don't try to exec as it changes $[0], causing all sort of problems
493
  # (the dirname of $[0] is not the place where we might find the
494
  # original and so on.  Autoconf is especially sensitive to this).
495 1
  . "./$as_me.lineno"
496
  # Exit status is that of the last command.
497
  exit
498
}
499
500 2
ECHO_C= ECHO_N= ECHO_T=
501
case `echo -n x` in #(((((
502
-n*)
503 1
  case `echo 'xy\c'` in
504
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
505 1
  xy)  ECHO_C='\c';;
506 3
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
507
       ECHO_T='	';;
508
  esac;;
509
*)
510
  ECHO_N='-n';;
511
esac
512
513
rm -f conf$$ conf$$.exe conf$$.file
514
if test -d conf$$.dir; then
515
  rm -f conf$$.dir/conf$$.file
516
else
517
  rm -f conf$$.dir
518
  mkdir conf$$.dir 2>/dev/null
519
fi
520
if (echo >conf$$.file) 2>/dev/null; then
521
  if ln -s conf$$.file conf$$ 2>/dev/null; then
522
    as_ln_s='ln -s'
523
    # ... but there are two gotchas:
524
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526
    # In both cases, we have to default to `cp -pR'.
527
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528
      as_ln_s='cp -pR'
529
  elif ln conf$$.file conf$$ 2>/dev/null; then
530
    as_ln_s=ln
531
  else
532
    as_ln_s='cp -pR'
533
  fi
534
else
535
  as_ln_s='cp -pR'
536
fi
537
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538
rmdir conf$$.dir 2>/dev/null
539
540
if mkdir -p . 2>/dev/null; then
541 1
  as_mkdir_p='mkdir -p "$as_dir"'
542
else
543
  test -d ./-p && rmdir ./-p
544
  as_mkdir_p=false
545
fi
546
547
as_test_x='test -x'
548
as_executable_p=as_fn_executable_p
549
550
# Sed expression to map a string onto a valid CPP name.
551 1
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552
553
# Sed expression to map a string onto a valid variable name.
554 1
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555
556
557
test -n "$DJDIR" || exec 7<&0 </dev/null
558
exec 6>&1
559
560
# Name of the host.
561
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562
# so uname gets run too.
563
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
565
#
566
# Initializations.
567
#
568
ac_default_prefix=/usr/local
569
ac_clean_files=
570
ac_config_libobj_dir=.
571
LIBOBJS=
572
cross_compiling=no
573
subdirs=
574
MFLAGS=
575
MAKEFLAGS=
576
577
# Identity of this package.
578
PACKAGE_NAME='Treegix'
579
PACKAGE_TARNAME='treegix'
580
PACKAGE_VERSION='4.4.1'
581
PACKAGE_STRING='Treegix 4.4.1'
582
PACKAGE_BUGREPORT=''
583
PACKAGE_URL=''
584
585
ac_unique_file="src/treegix_server/server.c"
586
# Factoring default headers for most tests.
587
ac_includes_default="\
588
#include <stdio.h>
589
#ifdef HAVE_SYS_TYPES_H
590
# include <sys/types.h>
591
#endif
592
#ifdef HAVE_SYS_STAT_H
593
# include <sys/stat.h>
594
#endif
595
#ifdef STDC_HEADERS
596
# include <stdlib.h>
597
# include <stddef.h>
598
#else
599
# ifdef HAVE_STDLIB_H
600
#  include <stdlib.h>
601
# endif
602
#endif
603
#ifdef HAVE_STRING_H
604
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605
#  include <memory.h>
606
# endif
607
# include <string.h>
608
#endif
609
#ifdef HAVE_STRINGS_H
610
# include <strings.h>
611
#endif
612
#ifdef HAVE_INTTYPES_H
613
# include <inttypes.h>
614
#endif
615
#ifdef HAVE_STDINT_H
616
# include <stdint.h>
617
#endif
618
#ifdef HAVE_UNISTD_H
619
# include <unistd.h>
620
#endif"
621
622
ac_subst_vars='am__EXEEXT_FALSE
623
am__EXEEXT_TRUE
624
LTLIBOBJS
625
GOWORKDIR
626
GOCMD
627
GOPATH
628
GOBIN
629
LOAD_MODULE_PATH
630
CURL_SSL_KEY_LOCATION
631
CURL_SSL_CERT_LOCATION
632
ALERT_SCRIPTS_PATH
633
EXTERNAL_SCRIPTS_PATH
634
AGENT2_CONFIG_FILE
635
AGENT_CONFIG_FILE
636
PROXY_CONFIG_FILE
637
SERVER_CONFIG_FILE
638
SENDER_LIBS
639
SENDER_LDFLAGS
640
TRXGET_LIBS
641
TRXGET_LDFLAGS
642
CGO_LDFLAGS
643
AGENT_LIBS
644
AGENT_LDFLAGS
645
PROXY_LIBS
646
PROXY_LDFLAGS
647
SERVER_LIBS
648
SERVER_LDFLAGS
649
RANLIB
650
ICONV_LDFLAGS
651
ICONV_CFLAGS
652
LIBPCRE_LIBS
653
LIBPCRE_LDFLAGS
654
LIBPCRE_CFLAGS
655
HAVE_LIBCURL_FALSE
656
HAVE_LIBCURL_TRUE
657
LIBCURL_LIBS
658
LIBCURL_LDFLAGS
659
LIBCURL_CFLAGS
660
_libcurl_config
661
LDAP_LIBS
662
LDAP_LDFLAGS
663
LDAP_CPPFLAGS
664
JAR
665
JAVAC
666
GO
667
TLS_CFLAGS
668
OPENSSL_LIBS
669
OPENSSL_LDFLAGS
670
OPENSSL_CFLAGS
671
GNUTLS_LIBS
672
GNUTLS_LDFLAGS
673
GNUTLS_CFLAGS
674
MBEDTLS_LIBS
675
MBEDTLS_LDFLAGS
676
MBEDTLS_CFLAGS
677
LIBEVENT_LIBS
678
LIBEVENT_LDFLAGS
679
LIBEVENT_CFLAGS
680
PROXY_IPCSERVICE_FALSE
681
PROXY_IPCSERVICE_TRUE
682
HAVE_LIBXML2_FALSE
683
HAVE_LIBXML2_TRUE
684
HAVE_IPMI_FALSE
685
HAVE_IPMI_TRUE
686
LIBPTHREAD_LIBS
687
LIBPTHREAD_LDFLAGS
688
LIBPTHREAD_CFLAGS
689
ZLIB_LIBS
690
ZLIB_LDFLAGS
691
ZLIB_CFLAGS
692
OPENIPMI_LIBS
693
OPENIPMI_LDFLAGS
694
OPENIPMI_CFLAGS
695
SSH2_LIBS
696
SSH2_LDFLAGS
697
SSH2_CFLAGS
698
SNMP_LIBS
699
SNMP_LDFLAGS
700
SNMP_CFLAGS
701
_libnetsnmp_config
702
UNIXODBC_LIBS
703
UNIXODBC_CFLAGS
704
UNIXODBC_LDFLAGS
705
ODBC_CONFIG
706
LIBXML2_LIBS
707
LIBXML2_LDFLAGS
708
LIBXML2_CFLAGS
709
LIBXML2_VERSION
710
LIBXML2_CONFIG
711
DB_LIBS
712
DB_LDFLAGS
713
DB_CFLAGS
714
SQLITE3_VERSION
715
SQLITE3_LIBS
716
SQLITE3_LDFLAGS
717
SQLITE3_CPPFLAGS
718
POSTGRESQL_VERSION
719
POSTGRESQL_LIBS
720
POSTGRESQL_LDFLAGS
721
POSTGRESQL_CFLAGS
722
PG_CONFIG
723
ORACLE_OCI_LIBS
724
ORACLE_OCI_LDFLAGS
725
ORACLE_OCI_CFLAGS
726
ORACLE_OCI_VERSION
727
MYSQL_LIBS
728
MYSQL_LDFLAGS
729
MYSQL_CFLAGS
730
MYSQL_VERSION
731
MYSQL_CONFIG
732
TRXCMOCKA_FALSE
733
TRXCMOCKA_TRUE
734
DBSCHEMA_FALSE
735
DBSCHEMA_TRUE
736
IPV6_FALSE
737
IPV6_TRUE
738
JAVA_FALSE
739
JAVA_TRUE
740
AGENT2_FALSE
741
AGENT2_TRUE
742
AGENT_FALSE
743
AGENT_TRUE
744
PROXY_FALSE
745
PROXY_TRUE
746
SERVER_FALSE
747
SERVER_TRUE
748
ARCH
749
LIBOBJS
750
RESOLV_LIBS
751
EGREP
752
GREP
753
CPP
754
am__fastdepCC_FALSE
755
am__fastdepCC_TRUE
756
CCDEPMODE
757
am__nodep
758
AMDEPBACKSLASH
759
AMDEP_FALSE
760
AMDEP_TRUE
761
am__quote
762
am__include
763
DEPDIR
764
OBJEXT
765
EXEEXT
766
ac_ct_CC
767
CPPFLAGS
768
LDFLAGS
769
CFLAGS
770
CC
771
host_os
772
host_vendor
773
host_cpu
774
host
775
build_os
776
build_vendor
777
build_cpu
778
build
779
AM_BACKSLASH
780
AM_DEFAULT_VERBOSITY
781
AM_DEFAULT_V
782
AM_V
783
am__untar
784
am__tar
785
AMTAR
786
am__leading_dot
787
SET_MAKE
788
AWK
789
mkdir_p
790
MKDIR_P
791
INSTALL_STRIP_PROGRAM
792
STRIP
793
install_sh
794
MAKEINFO
795
AUTOHEADER
796
AUTOMAKE
797
AUTOCONF
798
ACLOCAL
799
VERSION
800
PACKAGE
801
CYGPATH_W
802
am__isrc
803
INSTALL_DATA
804
INSTALL_SCRIPT
805
INSTALL_PROGRAM
806
target_alias
807
host_alias
808
build_alias
809
LIBS
810
ECHO_T
811
ECHO_N
812
ECHO_C
813
DEFS
814
mandir
815
localedir
816
libdir
817
psdir
818
pdfdir
819
dvidir
820
htmldir
821
infodir
822
docdir
823
oldincludedir
824
includedir
825
runstatedir
826
localstatedir
827
sharedstatedir
828
sysconfdir
829
datadir
830
datarootdir
831
libexecdir
832
sbindir
833
bindir
834
program_transform_name
835
prefix
836
exec_prefix
837
PACKAGE_URL
838
PACKAGE_BUGREPORT
839
PACKAGE_STRING
840
PACKAGE_VERSION
841
PACKAGE_TARNAME
842
PACKAGE_NAME
843
PATH_SEPARATOR
844
SHELL'
845
ac_subst_files=''
846
ac_user_opts='
847
enable_option_checking
848
enable_silent_rules
849
enable_dependency_tracking
850
enable_largefile
851
enable_static
852
enable_server
853
enable_proxy
854
enable_agent
855
enable_agent2
856
enable_java
857
enable_ipv6
858
with_ibm_db2
859
with_ibm_db2_include
860
with_ibm_db2_lib
861
with_mysql
862
with_oracle
863
with_oracle_include
864
with_oracle_lib
865
with_postgresql
866
with_sqlite3
867
with_libxml2
868
with_unixodbc
869
with_net_snmp
870
with_ssh2
871
with_openipmi
872
with_zlib
873
with_zlib_include
874
with_zlib_lib
875
with_libpthread
876
with_libpthread_include
877
with_libpthread_lib
878
with_libevent
879
with_libevent_include
880
with_libevent_lib
881
with_mbedtls
882
with_gnutls
883
with_openssl
884
with_ldap
885
with_libcurl
886
with_libpcre
887
with_libpcre_include
888
with_libpcre_lib
889
with_iconv
890
with_iconv_include
891
with_iconv_lib
892
'
893
      ac_precious_vars='build_alias
894
host_alias
895
target_alias
896
CC
897
CFLAGS
898
LDFLAGS
899
LIBS
900
CPPFLAGS
901
CPP'
902
903
904
# Initialize some variables set by options.
905
ac_init_help=
906
ac_init_version=false
907
ac_unrecognized_opts=
908
ac_unrecognized_sep=
909
# The variables have the same names as the options, with
910
# dashes changed to underlines.
911
cache_file=/dev/null
912
exec_prefix=NONE
913
no_create=
914
no_recursion=
915
prefix=NONE
916
program_prefix=NONE
917
program_suffix=NONE
918
program_transform_name=s,x,x,
919
silent=
920
site=
921
srcdir=
922
verbose=
923
x_includes=NONE
924
x_libraries=NONE
925
926
# Installation directory options.
927
# These are left unexpanded so users can "make install exec_prefix=/foo"
928
# and all the variables that are supposed to be based on exec_prefix
929
# by default will actually change.
930
# Use braces instead of parens because sh, perl, etc. also accept them.
931
# (The list follows the same order as the GNU Coding Standards.)
932 1
bindir='${exec_prefix}/bin'
933 1
sbindir='${exec_prefix}/sbin'
934 1
libexecdir='${exec_prefix}/libexec'
935 1
datarootdir='${prefix}/share'
936
datadir='${datarootdir}'
937
sysconfdir='${prefix}/etc'
938
sharedstatedir='${prefix}/com'
939
localstatedir='${prefix}/var'
940
runstatedir='${localstatedir}/run'
941
includedir='${prefix}/include'
942
oldincludedir='/usr/include'
943
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
944
infodir='${datarootdir}/info'
945
htmldir='${docdir}'
946
dvidir='${docdir}'
947
pdfdir='${docdir}'
948
psdir='${docdir}'
949
libdir='${exec_prefix}/lib'
950
localedir='${datarootdir}/locale'
951
mandir='${datarootdir}/man'
952
953
ac_prev=
954
ac_dashdash=
955
for ac_option
956
do
957
  # If the previous option needs an argument, assign it.
958
  if test -n "$ac_prev"; then
959
    eval $ac_prev=\$ac_option
960
    ac_prev=
961
    continue
962
  fi
963
964
  case $ac_option in
965
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
966
  *=)   ac_optarg= ;;
967
  *)    ac_optarg=yes ;;
968
  esac
969
970
  # Accept the important Cygnus configure options, so we can diagnose typos.
971
972
  case $ac_dashdash$ac_option in
973
  --)
974
    ac_dashdash=yes ;;
975
976
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
977
    ac_prev=bindir ;;
978
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
979
    bindir=$ac_optarg ;;
980
981
  -build | --build | --buil | --bui | --bu)
982
    ac_prev=build_alias ;;
983
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
984
    build_alias=$ac_optarg ;;
985
986
  -cache-file | --cache-file | --cache-fil | --cache-fi \
987
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
988
    ac_prev=cache_file ;;
989
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
990
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
991
    cache_file=$ac_optarg ;;
992
993
  --config-cache | -C)
994
    cache_file=config.cache ;;
995
996
  -datadir | --datadir | --datadi | --datad)
997
    ac_prev=datadir ;;
998
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
999
    datadir=$ac_optarg ;;
1000
1001
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1002
  | --dataroo | --dataro | --datar)
1003
    ac_prev=datarootdir ;;
1004
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1005
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1006
    datarootdir=$ac_optarg ;;
1007
1008
  -disable-* | --disable-*)
1009
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1010
    # Reject names that are not valid shell variable names.
1011
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1012
      as_fn_error $? "invalid feature name: $ac_useropt"
1013
    ac_useropt_orig=$ac_useropt
1014
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1015
    case $ac_user_opts in
1016
      *"
1017
"enable_$ac_useropt"
1018
"*) ;;
1019
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1020
	 ac_unrecognized_sep=', ';;
1021
    esac
1022
    eval enable_$ac_useropt=no ;;
1023
1024
  -docdir | --docdir | --docdi | --doc | --do)
1025
    ac_prev=docdir ;;
1026
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1027
    docdir=$ac_optarg ;;
1028
1029
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1030
    ac_prev=dvidir ;;
1031
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1032
    dvidir=$ac_optarg ;;
1033
1034
  -enable-* | --enable-*)
1035
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1036
    # Reject names that are not valid shell variable names.
1037
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1038
      as_fn_error $? "invalid feature name: $ac_useropt"
1039
    ac_useropt_orig=$ac_useropt
1040
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1041
    case $ac_user_opts in
1042
      *"
1043
"enable_$ac_useropt"
1044
"*) ;;
1045
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1046
	 ac_unrecognized_sep=', ';;
1047
    esac
1048
    eval enable_$ac_useropt=\$ac_optarg ;;
1049
1050
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1051
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1052
  | --exec | --exe | --ex)
1053
    ac_prev=exec_prefix ;;
1054
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1055
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1056
  | --exec=* | --exe=* | --ex=*)
1057
    exec_prefix=$ac_optarg ;;
1058
1059
  -gas | --gas | --ga | --g)
1060
    # Obsolete; use --with-gas.
1061
    with_gas=yes ;;
1062
1063
  -help | --help | --hel | --he | -h)
1064
    ac_init_help=long ;;
1065
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1066
    ac_init_help=recursive ;;
1067
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1068
    ac_init_help=short ;;
1069
1070
  -host | --host | --hos | --ho)
1071
    ac_prev=host_alias ;;
1072
  -host=* | --host=* | --hos=* | --ho=*)
1073
    host_alias=$ac_optarg ;;
1074
1075
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1076
    ac_prev=htmldir ;;
1077
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1078
  | --ht=*)
1079
    htmldir=$ac_optarg ;;
1080
1081
  -includedir | --includedir | --includedi | --included | --include \
1082
  | --includ | --inclu | --incl | --inc)
1083
    ac_prev=includedir ;;
1084
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1085
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1086
    includedir=$ac_optarg ;;
1087
1088
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1089
    ac_prev=infodir ;;
1090
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1091
    infodir=$ac_optarg ;;
1092
1093
  -libdir | --libdir | --libdi | --libd)
1094
    ac_prev=libdir ;;
1095
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1096
    libdir=$ac_optarg ;;
1097
1098
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1099
  | --libexe | --libex | --libe)
1100
    ac_prev=libexecdir ;;
1101
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1102
  | --libexe=* | --libex=* | --libe=*)
1103
    libexecdir=$ac_optarg ;;
1104
1105
  -localedir | --localedir | --localedi | --localed | --locale)
1106
    ac_prev=localedir ;;
1107
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1108
    localedir=$ac_optarg ;;
1109
1110
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1111
  | --localstate | --localstat | --localsta | --localst | --locals)
1112
    ac_prev=localstatedir ;;
1113
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1114
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1115
    localstatedir=$ac_optarg ;;
1116
1117
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1118
    ac_prev=mandir ;;
1119
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1120
    mandir=$ac_optarg ;;
1121
1122
  -nfp | --nfp | --nf)
1123
    # Obsolete; use --without-fp.
1124
    with_fp=no ;;
1125
1126
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1127
  | --no-cr | --no-c | -n)
1128
    no_create=yes ;;
1129
1130
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1131
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1132
    no_recursion=yes ;;
1133
1134
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1135
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1136
  | --oldin | --oldi | --old | --ol | --o)
1137
    ac_prev=oldincludedir ;;
1138
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1139
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1140
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1141
    oldincludedir=$ac_optarg ;;
1142
1143
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1144
    ac_prev=prefix ;;
1145
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1146
    prefix=$ac_optarg ;;
1147
1148
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1149
  | --program-pre | --program-pr | --program-p)
1150
    ac_prev=program_prefix ;;
1151
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1152
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1153
    program_prefix=$ac_optarg ;;
1154
1155
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1156
  | --program-suf | --program-su | --program-s)
1157
    ac_prev=program_suffix ;;
1158
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1159
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1160
    program_suffix=$ac_optarg ;;
1161
1162
  -program-transform-name | --program-transform-name \
1163
  | --program-transform-nam | --program-transform-na \
1164
  | --program-transform-n | --program-transform- \
1165
  | --program-transform | --program-transfor \
1166
  | --program-transfo | --program-transf \
1167
  | --program-trans | --program-tran \
1168
  | --progr-tra | --program-tr | --program-t)
1169
    ac_prev=program_transform_name ;;
1170
  -program-transform-name=* | --program-transform-name=* \
1171
  | --program-transform-nam=* | --program-transform-na=* \
1172
  | --program-transform-n=* | --program-transform-=* \
1173
  | --program-transform=* | --program-transfor=* \
1174
  | --program-transfo=* | --program-transf=* \
1175
  | --program-trans=* | --program-tran=* \
1176
  | --progr-tra=* | --program-tr=* | --program-t=*)
1177
    program_transform_name=$ac_optarg ;;
1178
1179
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1180
    ac_prev=pdfdir ;;
1181
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1182
    pdfdir=$ac_optarg ;;
1183
1184
  -psdir | --psdir | --psdi | --psd | --ps)
1185
    ac_prev=psdir ;;
1186
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1187
    psdir=$ac_optarg ;;
1188
1189
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1190
  | -silent | --silent | --silen | --sile | --sil)
1191
    silent=yes ;;
1192
1193
  -runstatedir | --runstatedir | --runstatedi | --runstated \
1194
  | --runstate | --runstat | --runsta | --runst | --runs \
1195
  | --run | --ru | --r)
1196
    ac_prev=runstatedir ;;
1197
  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1198
  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1199
  | --run=* | --ru=* | --r=*)
1200
    runstatedir=$ac_optarg ;;
1201
1202
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1203
    ac_prev=sbindir ;;
1204
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1205
  | --sbi=* | --sb=*)
1206
    sbindir=$ac_optarg ;;
1207
1208
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1209
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1210
  | --sharedst | --shareds | --shared | --share | --shar \
1211
  | --sha | --sh)
1212
    ac_prev=sharedstatedir ;;
1213
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1214
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1215
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1216
  | --sha=* | --sh=*)
1217
    sharedstatedir=$ac_optarg ;;
1218
1219
  -site | --site | --sit)
1220
    ac_prev=site ;;
1221
  -site=* | --site=* | --sit=*)
1222
    site=$ac_optarg ;;
1223
1224
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1225
    ac_prev=srcdir ;;
1226
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1227
    srcdir=$ac_optarg ;;
1228
1229
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1230
  | --syscon | --sysco | --sysc | --sys | --sy)
1231
    ac_prev=sysconfdir ;;
1232
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1233
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1234
    sysconfdir=$ac_optarg ;;
1235
1236
  -target | --target | --targe | --targ | --tar | --ta | --t)
1237
    ac_prev=target_alias ;;
1238
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1239
    target_alias=$ac_optarg ;;
1240
1241
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1242
    verbose=yes ;;
1243
1244
  -version | --version | --versio | --versi | --vers | -V)
1245
    ac_init_version=: ;;
1246
1247
  -with-* | --with-*)
1248
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1249
    # Reject names that are not valid shell variable names.
1250
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1251
      as_fn_error $? "invalid package name: $ac_useropt"
1252
    ac_useropt_orig=$ac_useropt
1253
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1254
    case $ac_user_opts in
1255
      *"
1256
"with_$ac_useropt"
1257
"*) ;;
1258
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1259
	 ac_unrecognized_sep=', ';;
1260
    esac
1261
    eval with_$ac_useropt=\$ac_optarg ;;
1262
1263
  -without-* | --without-*)
1264
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1265
    # Reject names that are not valid shell variable names.
1266
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1267
      as_fn_error $? "invalid package name: $ac_useropt"
1268
    ac_useropt_orig=$ac_useropt
1269
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1270
    case $ac_user_opts in
1271
      *"
1272
"with_$ac_useropt"
1273
"*) ;;
1274
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1275
	 ac_unrecognized_sep=', ';;
1276
    esac
1277
    eval with_$ac_useropt=no ;;
1278
1279
  --x)
1280
    # Obsolete; use --with-x.
1281
    with_x=yes ;;
1282
1283
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1284
  | --x-incl | --x-inc | --x-in | --x-i)
1285
    ac_prev=x_includes ;;
1286
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1287
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1288
    x_includes=$ac_optarg ;;
1289
1290
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1291
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1292
    ac_prev=x_libraries ;;
1293
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1294
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1295
    x_libraries=$ac_optarg ;;
1296
1297
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1298
Try \`$0 --help' for more information"
1299
    ;;
1300
1301
  *=*)
1302
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1303
    # Reject names that are not valid shell variable names.
1304
    case $ac_envvar in #(
1305
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1306
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1307
    esac
1308
    eval $ac_envvar=\$ac_optarg
1309 1
    export $ac_envvar ;;
1310
1311
  *)
1312
    # FIXME: should be removed in autoconf 3.0.
1313
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1314
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1315
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1316
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1317
    ;;
1318
1319
  esac
1320
done
1321
1322
if test -n "$ac_prev"; then
1323 1
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1324
  as_fn_error $? "missing argument to $ac_option"
1325
fi
1326
1327
if test -n "$ac_unrecognized_opts"; then
1328 1
  case $enable_option_checking in
1329
    no) ;;
1330
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1331
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1332
  esac
1333
fi
1334
1335
# Check all directory arguments for consistency.
1336
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1337
		datadir sysconfdir sharedstatedir localstatedir includedir \
1338
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1339
		libdir localedir mandir runstatedir
1340
do
1341
  eval ac_val=\$$ac_var
1342
  # Remove trailing slashes.
1343
  case $ac_val in
1344
    */ )
1345
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1346
      eval $ac_var=\$ac_val;;
1347
  esac
1348
  # Be sure to have absolute directory names.
1349
  case $ac_val in
1350
    [\\/$]* | ?:[\\/]* )  continue;;
1351
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1352
  esac
1353
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1354
done
1355
1356
# There might be people who depend on the old broken behavior: `$host'
1357
# used to hold the argument of --host etc.
1358
# FIXME: To remove some day.
1359
build=$build_alias
1360
host=$host_alias
1361
target=$target_alias
1362
1363
# FIXME: To remove some day.
1364
if test "x$host_alias" != x; then
1365
  if test "x$build_alias" = x; then
1366
    cross_compiling=maybe
1367
  elif test "x$build_alias" != "x$host_alias"; then
1368
    cross_compiling=yes
1369
  fi
1370
fi
1371
1372
ac_tool_prefix=
1373
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1374
1375
test "$silent" = yes && exec 6>/dev/null
1376
1377
1378
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1379 1
ac_ls_di=`ls -di .` &&
1380
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1381
  as_fn_error $? "working directory cannot be determined"
1382
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1383
  as_fn_error $? "pwd does not report name of working directory"
1384
1385
1386
# Find the source files, if location was not specified.
1387
if test -z "$srcdir"; then
1388
  ac_srcdir_defaulted=yes
1389
  # Try the directory containing this script, then the parent directory.
1390
  ac_confdir=`$as_dirname -- "$as_myself" ||
1391
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1392
	 X"$as_myself" : 'X\(//\)[^/]' \| \
1393
	 X"$as_myself" : 'X\(//\)$' \| \
1394
	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1395
$as_echo X"$as_myself" |
1396
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1397
	    s//\1/
1398
	    q
1399
	  }
1400
	  /^X\(\/\/\)[^/].*/{
1401
	    s//\1/
1402
	    q
1403
	  }
1404
	  /^X\(\/\/\)$/{
1405
	    s//\1/
1406
	    q
1407
	  }
1408
	  /^X\(\/\).*/{
1409
	    s//\1/
1410
	    q
1411
	  }
1412
	  s/.*/./; q'`
1413
  srcdir=$ac_confdir
1414
  if test ! -r "$srcdir/$ac_unique_file"; then
1415
    srcdir=..
1416
  fi
1417
else
1418
  ac_srcdir_defaulted=no
1419
fi
1420
if test ! -r "$srcdir/$ac_unique_file"; then
1421
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1422
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1423
fi
1424
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1425
ac_abs_confdir=`(
1426 1
	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1427
	pwd)`
1428
# When building in place, set srcdir=.
1429
if test "$ac_abs_confdir" = "$ac_pwd"; then
1430
  srcdir=.
1431
fi
1432
# Remove unnecessary trailing slashes from srcdir.
1433
# Double slashes in file names in object file debugging info
1434
# mess up M-x gdb in Emacs.
1435
case $srcdir in
1436
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1437
esac
1438
for ac_var in $ac_precious_vars; do
1439 2
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1440
  eval ac_env_${ac_var}_value=\$${ac_var}
1441 2
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1442
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1443
done
1444
1445
#
1446
# Report the --help message.
1447
#
1448
if test "$ac_init_help" = "long"; then
1449
  # Omit some internal or obsolete options to make the list less imposing.
1450
  # This message is too long to be a string in the A/UX 3.1 sh.
1451
  cat <<_ACEOF
1452
\`configure' configures Treegix 4.4.1 to adapt to many kinds of systems.
1453
1454
Usage: $0 [OPTION]... [VAR=VALUE]...
1455
1456
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1457
VAR=VALUE.  See below for descriptions of some of the useful variables.
1458
1459
Defaults for the options are specified in brackets.
1460
1461
Configuration:
1462
  -h, --help              display this help and exit
1463
      --help=short        display options specific to this package
1464
      --help=recursive    display the short help of all the included packages
1465
  -V, --version           display version information and exit
1466
  -q, --quiet, --silent   do not print \`checking ...' messages
1467
      --cache-file=FILE   cache test results in FILE [disabled]
1468
  -C, --config-cache      alias for \`--cache-file=config.cache'
1469
  -n, --no-create         do not create output files
1470
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1471
1472
Installation directories:
1473
  --prefix=PREFIX         install architecture-independent files in PREFIX
1474
                          [$ac_default_prefix]
1475
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1476
                          [PREFIX]
1477
1478
By default, \`make install' will install all the files in
1479
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1480
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1481
for instance \`--prefix=\$HOME'.
1482
1483
For better control, use the options below.
1484
1485
Fine tuning of the installation directories:
1486
  --bindir=DIR            user executables [EPREFIX/bin]
1487
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1488
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1489
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1490
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1491
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1492
  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1493
  --libdir=DIR            object code libraries [EPREFIX/lib]
1494
  --includedir=DIR        C header files [PREFIX/include]
1495
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1496
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1497
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1498
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1499
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1500
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1501
  --docdir=DIR            documentation root [DATAROOTDIR/doc/treegix]
1502
  --htmldir=DIR           html documentation [DOCDIR]
1503
  --dvidir=DIR            dvi documentation [DOCDIR]
1504
  --pdfdir=DIR            pdf documentation [DOCDIR]
1505
  --psdir=DIR             ps documentation [DOCDIR]
1506
_ACEOF
1507
1508
  cat <<\_ACEOF
1509
1510
Program names:
1511
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1512
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1513
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1514
1515
System types:
1516
  --build=BUILD     configure for building on BUILD [guessed]
1517
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1518
_ACEOF
1519
fi
1520
1521
if test -n "$ac_init_help"; then
1522
  case $ac_init_help in
1523
     short | recursive ) echo "Configuration of Treegix 4.4.1:";;
1524
   esac
1525
  cat <<\_ACEOF
1526
1527
Optional Features:
1528
  --disable-option-checking  ignore unrecognized --enable/--with options
1529
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1530
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1531
  --enable-silent-rules   less verbose build output (undo: "make V=1")
1532
  --disable-silent-rules  verbose build output (undo: "make V=0")
1533
  --enable-dependency-tracking
1534
                          do not reject slow dependency extractors
1535
  --disable-dependency-tracking
1536
                          speeds up one-time build
1537
  --disable-largefile     omit support for large files
1538
  --enable-static         Build statically linked binaries
1539
  --enable-server         Turn on build of Treegix server
1540
  --enable-proxy          Turn on build of Treegix proxy
1541
  --enable-agent          Turn on build of Treegix agent and client utilities
1542
  --enable-agent2         Turn on build of Treegix agent 2
1543
  --enable-java           Turn on build of Treegix Java gateway
1544
  --enable-ipv6           Turn on support of IPv6
1545
1546
Optional Packages:
1547
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1548
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1549
  --with-ibm-db2[=ARG]    use IBM DB2 CLI from given sqllib directory
1550
                          (ARG=path); use /home/db2inst1/sqllib (ARG=yes);
1551
                          disable IBM DB2 support (ARG=no)
1552
  --with-ibm-db2-include[=DIR]
1553
                          use IBM DB2 CLI headers from given path
1554
  --with-ibm-db2-lib[=DIR]
1555
                          use IBM DB2 CLI libraries from given path
1556
  --with-mysql[=ARG]      use MySQL client library [default=no], optionally
1557
                          specify path to mysql_config
1558
  --with-oracle[=ARG]     use Oracle OCI API from given Oracle home
1559
                          (ARG=path); use existing ORACLE_HOME (ARG=yes);
1560
                          disable Oracle OCI support (ARG=no)
1561
  --with-oracle-include[=DIR]
1562
                          use Oracle OCI API headers from given path
1563
  --with-oracle-lib[=DIR] use Oracle OCI API libraries from given path
1564
  --with-postgresql[=ARG] use PostgreSQL library [default=no], optionally
1565
                          specify path to pg_config
1566
  --with-sqlite3[=ARG]    use SQLite 3 library [default=no], optionally
1567
                          specify the prefix for sqlite3 library
1568
1569
If you want to use XML library:
1570
  --with-libxml2[=ARG]    use libxml2 client library [default=no], optionally
1571
                          specify path to xml2-config
1572
1573
If you want to use unixODBC library:
1574
  --with-unixodbc[=ARG]   use ODBC driver against unixODBC package
1575
                          [default=no], optionally specify full path to
1576
                          odbc_config binary.
1577
1578
If you want to use Net-SNMP library:
1579
  --with-net-snmp[=ARG]   use Net-SNMP package [default=no], optionally
1580
                          specify path to net-snmp-config
1581
1582
If you want to use SSH2 based checks:
1583
  --with-ssh2[=DIR]       use SSH2 package [default=no], DIR is the SSH2
1584
                          library install directory.
1585
1586
If you want to check IPMI devices:
1587
  --with-openipmi[=DIR]   Include OPENIPMI support [default=no]. DIR is the
1588
                          OPENIPMI base install directory, default is to
1589
                          search through a number of common places for the
1590
                          OPENIPMI files.
1591
1592
If you want to specify zlib installation directories:
1593
  --with-zlib=DIR         use zlib from given base install directory (DIR),
1594
                          default is to search through a number of common
1595
                          places for the zlib files.
1596
  --with-zlib-include=DIR use zlib include headers from given path.
1597
  --with-zlib-lib=DIR     use zlib libraries from given path.
1598
1599
If you want to specify pthread installation directories:
1600
  --with-libpthread[=DIR] use libpthread from given base install directory
1601
                          (DIR), default is to search through a number of
1602
                          common places for the libpthread files.
1603
  --with-libpthread-include[=DIR]
1604
                          use libpthread include headers from given path.
1605
  --with-libpthread-lib[=DIR]
1606
                          use libpthread libraries from given path.
1607
1608
If you want to specify libevent installation directories:
1609
  --with-libevent[=DIR]   use libevent from given base install directory
1610
                          (DIR), default is to search through a number of
1611
                          common places for the libevent files.
1612
  --with-libevent-include[=DIR]
1613
                          use libevent include headers from given path.
1614
  --with-libevent-lib[=DIR]
1615
                          use libevent libraries from given path.
1616
1617
If you want to use encryption provided by mbed TLS (PolarSSL) library:
1618
  --with-mbedtls[=DIR]    use mbed TLS (PolarSSL) package [default=no], DIR is
1619
                          the libpolarssl install directory.
1620
1621
If you want to use encryption provided by GnuTLS library:
1622
  --with-gnutls[=DIR]     use GnuTLS package [default=no], DIR is the
1623
                          libgnutls install directory.
1624
1625
If you want to use encryption provided by OpenSSL library:
1626
  --with-openssl[=DIR]    use OpenSSL package [default=no], DIR is the libssl
1627
                          and libcrypto install directory.
1628
1629
If you want to check LDAP servers:
1630
  --with-ldap[=DIR]       Include LDAP support [default=no]. DIR is the LDAP
1631
                          base install directory, default is to search through
1632
                          a number of common places for the LDAP files.
1633
1634
If you want to use cURL library:
1635
  --with-libcurl[=DIR]    use cURL package [default=no], optionally specify
1636
                          path to curl-config
1637
1638
If you want to specify libpcre installation directories:
1639
  --with-libpcre[=DIR]    use libpcre from given base install directory (DIR),
1640
                          default is to search through a number of common
1641
                          places for the libpcre files.
1642
  --with-libpcre-include[=DIR]
1643
                          use libpcre include headers from given path.
1644
  --with-libpcre-lib[=DIR]
1645
                          use libpcre libraries from given path.
1646
1647
If you want to specify iconv installation directories:
1648
  --with-iconv[=DIR]      use iconv from given base install directory (DIR),
1649
                          default is to search through a number of common
1650
                          places for the iconv files.
1651
  --with-iconv-include[=DIR]
1652
                          use iconv include headers from given path.
1653
  --with-iconv-lib[=DIR]  use iconv libraries from given path.
1654
1655
Some influential environment variables:
1656
  CC          C compiler command
1657
  CFLAGS      C compiler flags
1658
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1659
              nonstandard directory <lib dir>
1660
  LIBS        libraries to pass to the linker, e.g. -l<library>
1661
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1662
              you have headers in a nonstandard directory <include dir>
1663
  CPP         C preprocessor
1664
1665
Use these variables to override the choices made by `configure' or to help
1666
it to find libraries and programs with nonstandard names/locations.
1667
1668
Report bugs to the package provider.
1669
_ACEOF
1670
ac_status=$?
1671
fi
1672
1673
if test "$ac_init_help" = "recursive"; then
1674
  # If there are subdirs, report their specific --help.
1675 1
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1676
    test -d "$ac_dir" ||
1677
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1678
      continue
1679
    ac_builddir=.
1680
1681
case "$ac_dir" in
1682 1
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1683
*)
1684
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1685
  # A ".." for each directory in $ac_dir_suffix.
1686
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1687
  case $ac_top_builddir_sub in
1688
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1689
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1690
  esac ;;
1691
esac
1692
ac_abs_top_builddir=$ac_pwd
1693
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1694
# for backward compatibility:
1695
ac_top_builddir=$ac_top_build_prefix
1696
1697
case $srcdir in
1698
  .)  # We are building in place.
1699
    ac_srcdir=.
1700
    ac_top_srcdir=$ac_top_builddir_sub
1701
    ac_abs_top_srcdir=$ac_pwd ;;
1702
  [\\/]* | ?:[\\/]* )  # Absolute name.
1703
    ac_srcdir=$srcdir$ac_dir_suffix;
1704
    ac_top_srcdir=$srcdir
1705
    ac_abs_top_srcdir=$srcdir ;;
1706
  *) # Relative name.
1707
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1708
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1709
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1710
esac
1711
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1712
1713
    cd "$ac_dir" || { ac_status=$?; continue; }
1714
    # Check for guested configure.
1715
    if test -f "$ac_srcdir/configure.gnu"; then
1716
      echo &&
1717
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1718
    elif test -f "$ac_srcdir/configure"; then
1719
      echo &&
1720
      $SHELL "$ac_srcdir/configure" --help=recursive
1721
    else
1722
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1723
    fi || ac_status=$?
1724
    cd "$ac_pwd" || { ac_status=$?; break; }
1725
  done
1726
fi
1727
1728
test -n "$ac_init_help" && exit $ac_status
1729
if $ac_init_version; then
1730
  cat <<\_ACEOF
1731
Treegix configure 4.4.1
1732
generated by GNU Autoconf 2.69
1733
1734
Copyright (C) 2012 Free Software Foundation, Inc.
1735
This configure script is free software; the Free Software Foundation
1736
gives unlimited permission to copy, distribute and modify it.
1737
_ACEOF
1738
  exit
1739
fi
1740
1741
## ------------------------ ##
1742
## Autoconf initialization. ##
1743
## ------------------------ ##
1744
1745
# ac_fn_c_try_compile LINENO
1746
# --------------------------
1747
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1748
ac_fn_c_try_compile ()
1749
{
1750
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751
  rm -f conftest.$ac_objext
1752
  if { { ac_try="$ac_compile"
1753
case "(($ac_try" in
1754
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1755
  *) ac_try_echo=$ac_try;;
1756
esac
1757
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1758
$as_echo "$ac_try_echo"; } >&5
1759
  (eval "$ac_compile") 2>conftest.err
1760
  ac_status=$?
1761
  if test -s conftest.err; then
1762
    grep -v '^ *+' conftest.err >conftest.er1
1763
    cat conftest.er1 >&5
1764
    mv -f conftest.er1 conftest.err
1765
  fi
1766
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1767
  test $ac_status = 0; } && {
1768
	 test -z "$ac_c_werror_flag" ||
1769
	 test ! -s conftest.err
1770
       } && test -s conftest.$ac_objext; then :
1771
  ac_retval=0
1772
else
1773
  $as_echo "$as_me: failed program was:" >&5
1774
sed 's/^/| /' conftest.$ac_ext >&5
1775
1776
	ac_retval=1
1777
fi
1778
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1779
  as_fn_set_status $ac_retval
1780
1781
} # ac_fn_c_try_compile
1782
1783
# ac_fn_c_try_cpp LINENO
1784
# ----------------------
1785
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1786
ac_fn_c_try_cpp ()
1787
{
1788
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1790
case "(($ac_try" in
1791
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1792
  *) ac_try_echo=$ac_try;;
1793
esac
1794
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795
$as_echo "$ac_try_echo"; } >&5
1796
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1797
  ac_status=$?
1798
  if test -s conftest.err; then
1799
    grep -v '^ *+' conftest.err >conftest.er1
1800
    cat conftest.er1 >&5
1801
    mv -f conftest.er1 conftest.err
1802
  fi
1803
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804
  test $ac_status = 0; } > conftest.i && {
1805
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1806
	 test ! -s conftest.err
1807
       }; then :
1808
  ac_retval=0
1809
else
1810
  $as_echo "$as_me: failed program was:" >&5
1811
sed 's/^/| /' conftest.$ac_ext >&5
1812
1813
    ac_retval=1
1814
fi
1815
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1816
  as_fn_set_status $ac_retval
1817
1818
} # ac_fn_c_try_cpp
1819
1820
# ac_fn_c_try_run LINENO
1821
# ----------------------
1822
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1823
# that executables *can* be run.
1824
ac_fn_c_try_run ()
1825
{
1826
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827
  if { { ac_try="$ac_link"
1828
case "(($ac_try" in
1829
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1830
  *) ac_try_echo=$ac_try;;
1831
esac
1832
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833
$as_echo "$ac_try_echo"; } >&5
1834
  (eval "$ac_link") 2>&5
1835
  ac_status=$?
1836
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1838
  { { case "(($ac_try" in
1839
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1840
  *) ac_try_echo=$ac_try;;
1841
esac
1842
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843
$as_echo "$ac_try_echo"; } >&5
1844
  (eval "$ac_try") 2>&5
1845
  ac_status=$?
1846
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847
  test $ac_status = 0; }; }; then :
1848
  ac_retval=0
1849
else
1850
  $as_echo "$as_me: program exited with status $ac_status" >&5
1851
       $as_echo "$as_me: failed program was:" >&5
1852
sed 's/^/| /' conftest.$ac_ext >&5
1853
1854
       ac_retval=$ac_status
1855
fi
1856
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1857
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1858
  as_fn_set_status $ac_retval
1859
1860
} # ac_fn_c_try_run
1861
1862
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1863
# -------------------------------------------------------
1864
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1865
# the include files in INCLUDES and setting the cache variable VAR
1866
# accordingly.
1867
ac_fn_c_check_header_mongrel ()
1868
{
1869
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870 2
  if eval \${$3+:} false; then :
1871
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1872
$as_echo_n "checking for $2... " >&6; }
1873 2
if eval \${$3+:} false; then :
1874
  $as_echo_n "(cached) " >&6
1875
fi
1876
eval ac_res=\$$3
1877
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1878
$as_echo "$ac_res" >&6; }
1879
else
1880
  # Is the header compilable?
1881
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1882
$as_echo_n "checking $2 usability... " >&6; }
1883
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1884
/* end confdefs.h.  */
1885
$4
1886
#include <$2>
1887
_ACEOF
1888
if ac_fn_c_try_compile "$LINENO"; then :
1889
  ac_header_compiler=yes
1890
else
1891
  ac_header_compiler=no
1892
fi
1893
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1894
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1895
$as_echo "$ac_header_compiler" >&6; }
1896
1897
# Is the header present?
1898
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1899
$as_echo_n "checking $2 presence... " >&6; }
1900
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1901
/* end confdefs.h.  */
1902
#include <$2>
1903
_ACEOF
1904
if ac_fn_c_try_cpp "$LINENO"; then :
1905
  ac_header_preproc=yes
1906
else
1907
  ac_header_preproc=no
1908
fi
1909
rm -f conftest.err conftest.i conftest.$ac_ext
1910
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1911
$as_echo "$ac_header_preproc" >&6; }
1912
1913
# So?  What about this header?
1914
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1915
  yes:no: )
1916
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1917
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1918
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1919
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1920
    ;;
1921
  no:yes:* )
1922
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1923
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1924
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1925
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1926
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1927
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1928
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1929
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1930
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1931
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1932
    ;;
1933
esac
1934
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1935
$as_echo_n "checking for $2... " >&6; }
1936
if eval \${$3+:} false; then :
1937
  $as_echo_n "(cached) " >&6
1938
else
1939
  eval "$3=\$ac_header_compiler"
1940
fi
1941
eval ac_res=\$$3
1942
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1943
$as_echo "$ac_res" >&6; }
1944
fi
1945
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1946
1947
} # ac_fn_c_check_header_mongrel
1948
1949
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1950
# -------------------------------------------------------
1951
# Tests whether HEADER exists and can be compiled using the include files in
1952
# INCLUDES, setting the cache variable VAR accordingly.
1953
ac_fn_c_check_header_compile ()
1954
{
1955
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1956
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1957
$as_echo_n "checking for $2... " >&6; }
1958
if eval \${$3+:} false; then :
1959
  $as_echo_n "(cached) " >&6
1960
else
1961
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1962
/* end confdefs.h.  */
1963
$4
1964
#include <$2>
1965
_ACEOF
1966
if ac_fn_c_try_compile "$LINENO"; then :
1967
  eval "$3=yes"
1968
else
1969
  eval "$3=no"
1970
fi
1971
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1972
fi
1973
eval ac_res=\$$3
1974
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1975
$as_echo "$ac_res" >&6; }
1976
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1977
1978
} # ac_fn_c_check_header_compile
1979
1980
# ac_fn_c_try_link LINENO
1981
# -----------------------
1982
# Try to link conftest.$ac_ext, and return whether this succeeded.
1983
ac_fn_c_try_link ()
1984
{
1985
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1986
  rm -f conftest.$ac_objext conftest$ac_exeext
1987
  if { { ac_try="$ac_link"
1988
case "(($ac_try" in
1989
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1990
  *) ac_try_echo=$ac_try;;
1991
esac
1992
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1993
$as_echo "$ac_try_echo"; } >&5
1994
  (eval "$ac_link") 2>conftest.err
1995
  ac_status=$?
1996
  if test -s conftest.err; then
1997
    grep -v '^ *+' conftest.err >conftest.er1
1998
    cat conftest.er1 >&5
1999
    mv -f conftest.er1 conftest.err
2000
  fi
2001
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2002
  test $ac_status = 0; } && {
2003
	 test -z "$ac_c_werror_flag" ||
2004
	 test ! -s conftest.err
2005
       } && test -s conftest$ac_exeext && {
2006
	 test "$cross_compiling" = yes ||
2007
	 test -x conftest$ac_exeext
2008
       }; then :
2009
  ac_retval=0
2010
else
2011
  $as_echo "$as_me: failed program was:" >&5
2012
sed 's/^/| /' conftest.$ac_ext >&5
2013
2014
	ac_retval=1
2015
fi
2016
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2017
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2018
  # interfere with the next link command; also delete a directory that is
2019
  # left behind by Apple's compiler.  We do this before executing the actions.
2020
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2021
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2022
  as_fn_set_status $ac_retval
2023
2024
} # ac_fn_c_try_link
2025
2026
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2027
# -------------------------------------------
2028
# Tests whether TYPE exists after having included INCLUDES, setting cache
2029
# variable VAR accordingly.
2030
ac_fn_c_check_type ()
2031
{
2032
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2033
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2034
$as_echo_n "checking for $2... " >&6; }
2035
if eval \${$3+:} false; then :
2036
  $as_echo_n "(cached) " >&6
2037
else
2038
  eval "$3=no"
2039
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2040
/* end confdefs.h.  */
2041
$4
2042
int
2043
main ()
2044
{
2045
if (sizeof ($2))
2046
	 return 0;
2047
  ;
2048
  return 0;
2049
}
2050
_ACEOF
2051
if ac_fn_c_try_compile "$LINENO"; then :
2052
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2053
/* end confdefs.h.  */
2054
$4
2055
int
2056
main ()
2057
{
2058
if (sizeof (($2)))
2059
	    return 0;
2060
  ;
2061
  return 0;
2062
}
2063
_ACEOF
2064
if ac_fn_c_try_compile "$LINENO"; then :
2065
2066
else
2067
  eval "$3=yes"
2068
fi
2069
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2070
fi
2071
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2072
fi
2073
eval ac_res=\$$3
2074
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2075
$as_echo "$ac_res" >&6; }
2076
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2077
2078
} # ac_fn_c_check_type
2079
2080
# ac_fn_c_check_func LINENO FUNC VAR
2081
# ----------------------------------
2082
# Tests whether FUNC exists, setting the cache variable VAR accordingly
2083
ac_fn_c_check_func ()
2084
{
2085
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2086
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2087
$as_echo_n "checking for $2... " >&6; }
2088
if eval \${$3+:} false; then :
2089
  $as_echo_n "(cached) " >&6
2090
else
2091
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2092
/* end confdefs.h.  */
2093
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2094
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2095
#define $2 innocuous_$2
2096
2097
/* System header to define __stub macros and hopefully few prototypes,
2098
    which can conflict with char $2 (); below.
2099
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2100
    <limits.h> exists even on freestanding compilers.  */
2101
2102
#ifdef __STDC__
2103
# include <limits.h>
2104
#else
2105
# include <assert.h>
2106
#endif
2107
2108
#undef $2
2109
2110
/* Override any GCC internal prototype to avoid an error.
2111
   Use char because int might match the return type of a GCC
2112
   builtin and then its argument prototype would still apply.  */
2113
#ifdef __cplusplus
2114
extern "C"
2115
#endif
2116
char $2 ();
2117
/* The GNU C library defines this for functions which it implements
2118
    to always fail with ENOSYS.  Some functions are actually named
2119
    something starting with __ and the normal name is an alias.  */
2120
#if defined __stub_$2 || defined __stub___$2
2121
choke me
2122
#endif
2123
2124
int
2125
main ()
2126
{
2127
return $2 ();
2128
  ;
2129
  return 0;
2130
}
2131
_ACEOF
2132
if ac_fn_c_try_link "$LINENO"; then :
2133
  eval "$3=yes"
2134
else
2135
  eval "$3=no"
2136
fi
2137
rm -f core conftest.err conftest.$ac_objext \
2138
    conftest$ac_exeext conftest.$ac_ext
2139
fi
2140
eval ac_res=\$$3
2141
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2142
$as_echo "$ac_res" >&6; }
2143
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2144
2145
} # ac_fn_c_check_func
2146
2147
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2148
# --------------------------------------------
2149
# Tries to find the compile-time value of EXPR in a program that includes
2150
# INCLUDES, setting VAR accordingly. Returns whether the value could be
2151
# computed
2152
ac_fn_c_compute_int ()
2153
{
2154
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2155
  if test "$cross_compiling" = yes; then
2156
    # Depending upon the size, compute the lo and hi bounds.
2157
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2158
/* end confdefs.h.  */
2159
$4
2160
int
2161
main ()
2162
{
2163
static int test_array [1 - 2 * !(($2) >= 0)];
2164
test_array [0] = 0;
2165
return test_array [0];
2166
2167
  ;
2168
  return 0;
2169
}
2170
_ACEOF
2171
if ac_fn_c_try_compile "$LINENO"; then :
2172
  ac_lo=0 ac_mid=0
2173
  while :; do
2174
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2175
/* end confdefs.h.  */
2176
$4
2177
int
2178
main ()
2179
{
2180
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2181
test_array [0] = 0;
2182
return test_array [0];
2183
2184
  ;
2185
  return 0;
2186
}
2187
_ACEOF
2188
if ac_fn_c_try_compile "$LINENO"; then :
2189
  ac_hi=$ac_mid; break
2190
else
2191
  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2192
			if test $ac_lo -le $ac_mid; then
2193 1
			  ac_lo= ac_hi=
2194
			  break
2195
			fi
2196
			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2197
fi
2198
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2199
  done
2200
else
2201
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2202
/* end confdefs.h.  */
2203
$4
2204
int
2205
main ()
2206
{
2207
static int test_array [1 - 2 * !(($2) < 0)];
2208
test_array [0] = 0;
2209
return test_array [0];
2210
2211
  ;
2212
  return 0;
2213
}
2214
_ACEOF
2215
if ac_fn_c_try_compile "$LINENO"; then :
2216
  ac_hi=-1 ac_mid=-1
2217
  while :; do
2218
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2219
/* end confdefs.h.  */
2220
$4
2221
int
2222
main ()
2223
{
2224
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2225
test_array [0] = 0;
2226
return test_array [0];
2227
2228
  ;
2229
  return 0;
2230
}
2231
_ACEOF
2232
if ac_fn_c_try_compile "$LINENO"; then :
2233
  ac_lo=$ac_mid; break
2234
else
2235
  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2236
			if test $ac_mid -le $ac_hi; then
2237 1
			  ac_lo= ac_hi=
2238
			  break
2239
			fi
2240
			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2241
fi
2242
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2243
  done
2244
else
2245 1
  ac_lo= ac_hi=
2246
fi
2247
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2248
fi
2249
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2250
# Binary search between lo and hi bounds.
2251
while test "x$ac_lo" != "x$ac_hi"; do
2252
  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2253
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2254
/* end confdefs.h.  */
2255
$4
2256
int
2257
main ()
2258
{
2259
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2260
test_array [0] = 0;
2261
return test_array [0];
2262
2263
  ;
2264
  return 0;
2265
}
2266
_ACEOF
2267
if ac_fn_c_try_compile "$LINENO"; then :
2268
  ac_hi=$ac_mid
2269
else
2270
  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2271
fi
2272
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2273
done
2274
case $ac_lo in #((
2275
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2276
'') ac_retval=1 ;;
2277
esac
2278
  else
2279
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2280
/* end confdefs.h.  */
2281
$4
2282
static long int longval () { return $2; }
2283
static unsigned long int ulongval () { return $2; }
2284
#include <stdio.h>
2285
#include <stdlib.h>
2286
int
2287
main ()
2288
{
2289
2290
  FILE *f = fopen ("conftest.val", "w");
2291
  if (! f)
2292
    return 1;
2293
  if (($2) < 0)
2294
    {
2295
      long int i = longval ();
2296
      if (i != ($2))
2297
	return 1;
2298
      fprintf (f, "%ld", i);
2299
    }
2300
  else
2301
    {
2302
      unsigned long int i = ulongval ();
2303
      if (i != ($2))
2304
	return 1;
2305
      fprintf (f, "%lu", i);
2306
    }
2307
  /* Do not output a trailing newline, as this causes \r\n confusion
2308
     on some platforms.  */
2309
  return ferror (f) || fclose (f) != 0;
2310
2311
  ;
2312
  return 0;
2313
}
2314
_ACEOF
2315
if ac_fn_c_try_run "$LINENO"; then :
2316 1
  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2317
else
2318
  ac_retval=1
2319
fi
2320 1
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2321
  conftest.$ac_objext conftest.beam conftest.$ac_ext
2322
rm -f conftest.val
2323
2324
  fi
2325
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2326
  as_fn_set_status $ac_retval
2327
2328
} # ac_fn_c_compute_int
2329
cat >config.log <<_ACEOF
2330
This file contains any messages produced by compilers while
2331
running configure, to aid debugging if configure makes a mistake.
2332
2333
It was created by Treegix $as_me 4.4.1, which was
2334
generated by GNU Autoconf 2.69.  Invocation command line was
2335
2336
  $ $0 $@
2337
2338
_ACEOF
2339
exec 5>>config.log
2340
{
2341
cat <<_ASUNAME
2342
## --------- ##
2343
## Platform. ##
2344
## --------- ##
2345
2346
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2347
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2348
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2349
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2350
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2351
2352
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2353
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2354
2355
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2356
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2357
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2358
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2359
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2360
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2361
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2362
2363
_ASUNAME
2364
2365
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2366 1
for as_dir in $PATH
2367
do
2368
  IFS=$as_save_IFS
2369
  test -z "$as_dir" && as_dir=.
2370
    $as_echo "PATH: $as_dir"
2371
  done
2372
IFS=$as_save_IFS
2373
2374
} >&5
2375
2376
cat >&5 <<_ACEOF
2377
2378
2379
## ----------- ##
2380
## Core tests. ##
2381
## ----------- ##
2382
2383
_ACEOF
2384
2385
2386
# Keep a trace of the command line.
2387
# Strip out --no-create and --no-recursion so they do not pile up.
2388
# Strip out --silent because we don't want to record it for future runs.
2389
# Also quote any args containing shell meta-characters.
2390
# Make two passes to allow for proper duplicate-argument suppression.
2391
ac_configure_args=
2392
ac_configure_args0=
2393
ac_configure_args1=
2394
ac_must_keep_next=false
2395
for ac_pass in 1 2
2396
do
2397
  for ac_arg
2398
  do
2399
    case $ac_arg in
2400
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2401
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2402
    | -silent | --silent | --silen | --sile | --sil)
2403
      continue ;;
2404
    *\'*)
2405
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2406
    esac
2407
    case $ac_pass in
2408
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2409
    2)
2410
      as_fn_append ac_configure_args1 " '$ac_arg'"
2411
      if test $ac_must_keep_next = true; then
2412
	ac_must_keep_next=false # Got value, back to normal.
2413
      else
2414
	case $ac_arg in
2415
	  *=* | --config-cache | -C | -disable-* | --disable-* \
2416
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2417
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2418
	  | -with-* | --with-* | -without-* | --without-* | --x)
2419
	    case "$ac_configure_args0 " in
2420
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2421
	    esac
2422
	    ;;
2423
	  -* ) ac_must_keep_next=true ;;
2424
	esac
2425
      fi
2426
      as_fn_append ac_configure_args " '$ac_arg'"
2427
      ;;
2428
    esac
2429
  done
2430
done
2431
{ ac_configure_args0=; unset ac_configure_args0;}
2432
{ ac_configure_args1=; unset ac_configure_args1;}
2433
2434
# When interrupted or exit'd, cleanup temporary files, and complete
2435
# config.log.  We remove comments because anyway the quotes in there
2436
# would cause problems or look ugly.
2437
# WARNING: Use '\'' to represent an apostrophe within the trap.
2438
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2439 1
trap 'exit_status=$?
2440
  # Save into config.log some information that might help in debugging.
2441
  {
2442
    echo
2443
2444
    $as_echo "## ---------------- ##
2445
## Cache variables. ##
2446
## ---------------- ##"
2447
    echo
2448
    # The following way of writing the cache mishandles newlines in values,
2449
(
2450
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2451
    eval ac_val=\$$ac_var
2452
    case $ac_val in #(
2453
    *${as_nl}*)
2454
      case $ac_var in #(
2455
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2456
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2457
      esac
2458
      case $ac_var in #(
2459
      _ | IFS | as_nl) ;; #(
2460
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2461
      *) { eval $ac_var=; unset $ac_var;} ;;
2462
      esac ;;
2463
    esac
2464
  done
2465
  (set) 2>&1 |
2466
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2467
    *${as_nl}ac_space=\ *)
2468 1
      sed -n \
2469
	"s/'\''/'\''\\\\'\'''\''/g;
2470
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2471
      ;; #(
2472
    *)
2473
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2474
      ;;
2475
    esac |
2476
    sort
2477
)
2478
    echo
2479
2480
    $as_echo "## ----------------- ##
2481
## Output variables. ##
2482
## ----------------- ##"
2483
    echo
2484
    for ac_var in $ac_subst_vars
2485
    do
2486
      eval ac_val=\$$ac_var
2487
      case $ac_val in
2488 1
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2489
      esac
2490
      $as_echo "$ac_var='\''$ac_val'\''"
2491
    done | sort
2492
    echo
2493
2494
    if test -n "$ac_subst_files"; then
2495
      $as_echo "## ------------------- ##
2496
## File substitutions. ##
2497
## ------------------- ##"
2498
      echo
2499
      for ac_var in $ac_subst_files
2500
      do
2501
	eval ac_val=\$$ac_var
2502
	case $ac_val in
2503 1
	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2504
	esac
2505
	$as_echo "$ac_var='\''$ac_val'\''"
2506
      done | sort
2507
      echo
2508
    fi
2509
2510
    if test -s confdefs.h; then
2511
      $as_echo "## ----------- ##
2512
## confdefs.h. ##
2513
## ----------- ##"
2514
      echo
2515
      cat confdefs.h
2516
      echo
2517
    fi
2518
    test "$ac_signal" != 0 &&
2519
      $as_echo "$as_me: caught signal $ac_signal"
2520
    $as_echo "$as_me: exit $exit_status"
2521
  } >&5
2522
  rm -f core *.core core.conftest.* &&
2523
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2524
    exit $exit_status
2525
' 0
2526
for ac_signal in 1 2 13 15; do
2527
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2528
done
2529
ac_signal=0
2530
2531
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2532
rm -f -r conftest* confdefs.h
2533
2534
$as_echo "/* confdefs.h */" > confdefs.h
2535
2536
# Predefined preprocessor variables.
2537
2538 1
cat >>confdefs.h <<_ACEOF
2539
#define PACKAGE_NAME "$PACKAGE_NAME"
2540
_ACEOF
2541
2542
cat >>confdefs.h <<_ACEOF
2543
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2544
_ACEOF
2545
2546
cat >>confdefs.h <<_ACEOF
2547
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2548
_ACEOF
2549
2550
cat >>confdefs.h <<_ACEOF
2551
#define PACKAGE_STRING "$PACKAGE_STRING"
2552
_ACEOF
2553
2554
cat >>confdefs.h <<_ACEOF
2555
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2556
_ACEOF
2557
2558
cat >>confdefs.h <<_ACEOF
2559
#define PACKAGE_URL "$PACKAGE_URL"
2560
_ACEOF
2561
2562
2563
# Let the site file select an alternate cache file if it wants to.
2564
# Prefer an explicitly selected file to automatically selected ones.
2565
ac_site_file1=NONE
2566
ac_site_file2=NONE
2567
if test -n "$CONFIG_SITE"; then
2568
  # We do not want a PATH search for config.site.
2569
  case $CONFIG_SITE in #((
2570
    -*)  ac_site_file1=./$CONFIG_SITE;;
2571
    */*) ac_site_file1=$CONFIG_SITE;;
2572
    *)   ac_site_file1=./$CONFIG_SITE;;
2573
  esac
2574
elif test "x$prefix" != xNONE; then
2575
  ac_site_file1=$prefix/share/config.site
2576
  ac_site_file2=$prefix/etc/config.site
2577
else
2578
  ac_site_file1=$ac_default_prefix/share/config.site
2579
  ac_site_file2=$ac_default_prefix/etc/config.site
2580
fi
2581
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2582
do
2583
  test "x$ac_site_file" = xNONE && continue
2584
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2585
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2586
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2587
    sed 's/^/| /' "$ac_site_file" >&5
2588 1
    . "$ac_site_file" \
2589
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2590
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2591
as_fn_error $? "failed to load site script $ac_site_file
2592
See \`config.log' for more details" "$LINENO" 5; }
2593
  fi
2594
done
2595
2596
if test -r "$cache_file"; then
2597
  # Some versions of bash will fail to source /dev/null (special files
2598
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2599
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2600
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2601
$as_echo "$as_me: loading cache $cache_file" >&6;}
2602
    case $cache_file in
2603 1
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2604 1
      *)                      . "./$cache_file";;
2605
    esac
2606
  fi
2607
else
2608
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2609
$as_echo "$as_me: creating cache $cache_file" >&6;}
2610
  >$cache_file
2611
fi
2612
2613
# Check that the precious variables saved in the cache have kept the same
2614
# value.
2615
ac_cache_corrupted=false
2616
for ac_var in $ac_precious_vars; do
2617
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2618
  eval ac_new_set=\$ac_env_${ac_var}_set
2619
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2620
  eval ac_new_val=\$ac_env_${ac_var}_value
2621 2
  case $ac_old_set,$ac_new_set in
2622
    set,)
2623 1
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2624
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2625
      ac_cache_corrupted=: ;;
2626
    ,set)
2627
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2628
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2629
      ac_cache_corrupted=: ;;
2630
    ,);;
2631
    *)
2632 1
      if test "x$ac_old_val" != "x$ac_new_val"; then
2633
	# differences in whitespace do not lead to failure.
2634 1
	ac_old_val_w=`echo x $ac_old_val`
2635 1
	ac_new_val_w=`echo x $ac_new_val`
2636
	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2637
	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2638
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2639
	  ac_cache_corrupted=:
2640
	else
2641
	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2642
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2643
	  eval $ac_var=\$ac_old_val
2644
	fi
2645
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2646
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2647
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2648
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2649
      fi;;
2650
  esac
2651
  # Pass precious variables to config.status.
2652
  if test "$ac_new_set" = set; then
2653
    case $ac_new_val in
2654
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2655
    *) ac_arg=$ac_var=$ac_new_val ;;
2656
    esac
2657
    case " $ac_configure_args " in
2658
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2659
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2660
    esac
2661
  fi
2662
done
2663
if $ac_cache_corrupted; then
2664
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2665
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2666
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2667
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2668
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2669
fi
2670
## -------------------- ##
2671
## Main body of script. ##
2672
## -------------------- ##
2673
2674
ac_ext=c
2675
ac_cpp='$CPP $CPPFLAGS'
2676
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2677
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2678
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2679
2680
2681
2682
am__api_version='1.15'
2683
2684
ac_aux_dir=
2685
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2686
  if test -f "$ac_dir/install-sh"; then
2687
    ac_aux_dir=$ac_dir
2688
    ac_install_sh="$ac_aux_dir/install-sh -c"
2689
    break
2690
  elif test -f "$ac_dir/install.sh"; then
2691
    ac_aux_dir=$ac_dir
2692
    ac_install_sh="$ac_aux_dir/install.sh -c"
2693
    break
2694
  elif test -f "$ac_dir/shtool"; then
2695
    ac_aux_dir=$ac_dir
2696
    ac_install_sh="$ac_aux_dir/shtool install -c"
2697
    break
2698
  fi
2699
done
2700
if test -z "$ac_aux_dir"; then
2701
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2702
fi
2703
2704
# These three variables are undocumented and unsupported,
2705
# and are intended to be withdrawn in a future Autoconf release.
2706
# They can cause serious problems if a builder's source tree is in a directory
2707
# whose full name contains unusual characters.
2708
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2709
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2710
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2711
2712
2713
# Find a good install program.  We prefer a C program (faster),
2714
# so one script is as good as another.  But avoid the broken or
2715
# incompatible versions:
2716
# SysV /etc/install, /usr/sbin/install
2717
# SunOS /usr/etc/install
2718
# IRIX /sbin/install
2719
# AIX /bin/install
2720
# AmigaOS /C/install, which installs bootblocks on floppy discs
2721
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2722
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2723
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2724
# OS/2's system install, which has a completely different semantic
2725
# ./install, which can be erroneously created by make from ./install.sh.
2726
# Reject install programs that cannot install multiple files.
2727
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2728
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2729
if test -z "$INSTALL"; then
2730
if ${ac_cv_path_install+:} false; then :
2731
  $as_echo_n "(cached) " >&6
2732
else
2733
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2734 1
for as_dir in $PATH
2735
do
2736
  IFS=$as_save_IFS
2737
  test -z "$as_dir" && as_dir=.
2738
    # Account for people who put trailing slashes in PATH elements.
2739
case $as_dir/ in #((
2740
  ./ | .// | /[cC]/* | \
2741
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2742
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2743
  /usr/ucb/* ) ;;
2744
  *)
2745
    # OSF1 and SCO ODT 3.0 have their own names for install.
2746
    # Don't use installbsd from OSF since it installs stuff as root
2747
    # by default.
2748
    for ac_prog in ginstall scoinst install; do
2749 1
      for ac_exec_ext in '' $ac_executable_extensions; do
2750
	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2751
	  if test $ac_prog = install &&
2752
	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2753
	    # AIX install.  It has an incompatible calling convention.
2754
	    :
2755
	  elif test $ac_prog = install &&
2756
	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2757
	    # program-specific install script used by HP pwplus--don't use.
2758
	    :
2759
	  else
2760
	    rm -rf conftest.one conftest.two conftest.dir
2761
	    echo one > conftest.one
2762
	    echo two > conftest.two
2763
	    mkdir conftest.dir
2764
	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2765
	      test -s conftest.one && test -s conftest.two &&
2766
	      test -s conftest.dir/conftest.one &&
2767
	      test -s conftest.dir/conftest.two
2768
	    then
2769
	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2770
	      break 3
2771
	    fi
2772
	  fi
2773
	fi
2774
      done
2775
    done
2776
    ;;
2777
esac
2778
2779
  done
2780
IFS=$as_save_IFS
2781
2782
rm -rf conftest.one conftest.two conftest.dir
2783
2784
fi
2785
  if test "${ac_cv_path_install+set}" = set; then
2786
    INSTALL=$ac_cv_path_install
2787
  else
2788
    # As a last resort, use the slow shell script.  Don't cache a
2789
    # value for INSTALL within a source directory, because that will
2790
    # break other packages using the cache if that directory is
2791
    # removed, or if the value is a relative name.
2792
    INSTALL=$ac_install_sh
2793
  fi
2794
fi
2795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2796
$as_echo "$INSTALL" >&6; }
2797
2798
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2799
# It thinks the first close brace ends the variable substitution.
2800
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2801
2802
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2803
2804
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2805
2806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2807
$as_echo_n "checking whether build environment is sane... " >&6; }
2808
# Reject unsafe characters in $srcdir or the absolute working directory
2809
# name.  Accept space and tab only in the latter.
2810
am_lf='
2811
'
2812
case `pwd` in
2813
  *[\\\"\#\$\&\'\`$am_lf]*)
2814
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2815
esac
2816
case $srcdir in
2817
  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2818
    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2819
esac
2820
2821
# Do 'set' in a subshell so we don't clobber the current shell's
2822
# arguments.  Must try -L first in case configure is actually a
2823
# symlink; some systems play weird games with the mod time of symlinks
2824
# (eg FreeBSD returns the mod time of the symlink's containing
2825
# directory).
2826
if (
2827
   am_has_slept=no
2828
   for am_try in 1 2; do
2829
     echo "timestamp, slept: $am_has_slept" > conftest.file
2830 2
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2831
     if test "$*" = "X"; then
2832
	# -L didn't work.
2833 2
	set X `ls -t "$srcdir/configure" conftest.file`
2834
     fi
2835
     if test "$*" != "X $srcdir/configure conftest.file" \
2836
	&& test "$*" != "X conftest.file $srcdir/configure"; then
2837
2838
	# If neither matched, then we have a broken ls.  This can happen
2839
	# if, for instance, CONFIG_SHELL is bash and it inherits a
2840
	# broken ls alias from the environment.  This has actually
2841
	# happened.  Such a system could not be considered "sane".
2842
	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2843
  alias in your environment" "$LINENO" 5
2844
     fi
2845
     if test "$2" = conftest.file || test $am_try -eq 2; then
2846
       break
2847
     fi
2848
     # Just in case.
2849
     sleep 1
2850
     am_has_slept=yes
2851
   done
2852
   test "$2" = conftest.file
2853
   )
2854
then
2855
   # Ok.
2856
   :
2857
else
2858
   as_fn_error $? "newly created file is older than distributed files!
2859
Check your system clock" "$LINENO" 5
2860
fi
2861
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2862
$as_echo "yes" >&6; }
2863
# If we didn't sleep, we still need to ensure time stamps of config.status and
2864
# generated files are strictly newer.
2865
am_sleep_pid=
2866
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2867
  ( sleep 1 ) &
2868
  am_sleep_pid=$!
2869
fi
2870
2871
rm -f conftest.file
2872
2873
test "$program_prefix" != NONE &&
2874
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2875
# Use a double $ so make ignores it.
2876
test "$program_suffix" != NONE &&
2877
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2878
# Double any \ or $.
2879
# By default was `s,x,x', remove it if useless.
2880
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2881
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2882
2883
# Expand $ac_aux_dir to an absolute path.
2884
am_aux_dir=`cd "$ac_aux_dir" && pwd`
2885
2886
if test x"${MISSING+set}" != xset; then
2887
  case $am_aux_dir in
2888
  *\ * | *\	*)
2889
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2890
  *)
2891
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2892
  esac
2893
fi
2894
# Use eval to expand $SHELL
2895
if eval "$MISSING --is-lightweight"; then
2896
  am_missing_run="$MISSING "
2897
else
2898
  am_missing_run=
2899
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2900
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2901
fi
2902
2903
if test x"${install_sh+set}" != xset; then
2904
  case $am_aux_dir in
2905
  *\ * | *\	*)
2906
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2907
  *)
2908
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2909
  esac
2910
fi
2911
2912
# Installed binaries are usually stripped using 'strip' when the user
2913
# run "make install-strip".  However 'strip' might not be the right
2914
# tool to use in cross-compilation environments, therefore Automake
2915
# will honor the 'STRIP' environment variable to overrule this program.
2916
if test "$cross_compiling" != no; then
2917
  if test -n "$ac_tool_prefix"; then
2918
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2919 1
set dummy ${ac_tool_prefix}strip; ac_word=$2
2920
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2921
$as_echo_n "checking for $ac_word... " >&6; }
2922
if ${ac_cv_prog_STRIP+:} false; then :
2923
  $as_echo_n "(cached) " >&6
2924
else
2925
  if test -n "$STRIP"; then
2926
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2927
else
2928
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2929 1
for as_dir in $PATH
2930
do
2931
  IFS=$as_save_IFS
2932
  test -z "$as_dir" && as_dir=.
2933
    for ac_exec_ext in '' $ac_executable_extensions; do
2934
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2935
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2936
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2937
    break 2
2938
  fi
2939
done
2940
  done
2941
IFS=$as_save_IFS
2942
2943
fi
2944
fi
2945
STRIP=$ac_cv_prog_STRIP
2946
if test -n "$STRIP"; then
2947
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2948
$as_echo "$STRIP" >&6; }
2949
else
2950
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2951
$as_echo "no" >&6; }
2952
fi
2953
2954
2955
fi
2956
if test -z "$ac_cv_prog_STRIP"; then
2957
  ac_ct_STRIP=$STRIP
2958
  # Extract the first word of "strip", so it can be a program name with args.
2959 1
set dummy strip; ac_word=$2
2960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2961
$as_echo_n "checking for $ac_word... " >&6; }
2962
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2963
  $as_echo_n "(cached) " >&6
2964
else
2965
  if test -n "$ac_ct_STRIP"; then
2966
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2967
else
2968
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2969 1
for as_dir in $PATH
2970
do
2971
  IFS=$as_save_IFS
2972
  test -z "$as_dir" && as_dir=.
2973
    for ac_exec_ext in '' $ac_executable_extensions; do
2974
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2975
    ac_cv_prog_ac_ct_STRIP="strip"
2976
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2977
    break 2
2978
  fi
2979
done
2980
  done
2981
IFS=$as_save_IFS
2982
2983
fi
2984
fi
2985
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2986
if test -n "$ac_ct_STRIP"; then
2987
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2988
$as_echo "$ac_ct_STRIP" >&6; }
2989
else
2990
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2991
$as_echo "no" >&6; }
2992
fi
2993
2994
  if test "x$ac_ct_STRIP" = x; then
2995
    STRIP=":"
2996
  else
2997
    case $cross_compiling:$ac_tool_warned in
2998
yes:)
2999
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3000
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3001
ac_tool_warned=yes ;;
3002
esac
3003
    STRIP=$ac_ct_STRIP
3004
  fi
3005
else
3006
  STRIP="$ac_cv_prog_STRIP"
3007
fi
3008
3009
fi
3010
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3011
3012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3013
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3014
if test -z "$MKDIR_P"; then
3015
  if ${ac_cv_path_mkdir+:} false; then :
3016
  $as_echo_n "(cached) " >&6
3017
else
3018
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3019 1
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3020
do
3021
  IFS=$as_save_IFS
3022
  test -z "$as_dir" && as_dir=.
3023
    for ac_prog in mkdir gmkdir; do
3024
	 for ac_exec_ext in '' $ac_executable_extensions; do
3025
	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3026
	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3027
	     'mkdir (GNU coreutils) '* | \
3028
	     'mkdir (coreutils) '* | \
3029
	     'mkdir (fileutils) '4.1*)
3030
	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3031
	       break 3;;
3032
	   esac
3033
	 done
3034
       done
3035
  done
3036
IFS=$as_save_IFS
3037
3038
fi
3039
3040
  test -d ./--version && rmdir ./--version
3041
  if test "${ac_cv_path_mkdir+set}" = set; then
3042
    MKDIR_P="$ac_cv_path_mkdir -p"
3043
  else
3044
    # As a last resort, use the slow shell script.  Don't cache a
3045
    # value for MKDIR_P within a source directory, because that will
3046
    # break other packages using the cache if that directory is
3047
    # removed, or if the value is a relative name.
3048
    MKDIR_P="$ac_install_sh -d"
3049
  fi
3050
fi
3051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3052
$as_echo "$MKDIR_P" >&6; }
3053
3054
for ac_prog in gawk mawk nawk awk
3055
do
3056
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3057 1
set dummy $ac_prog; ac_word=$2
3058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3059
$as_echo_n "checking for $ac_word... " >&6; }
3060
if ${ac_cv_prog_AWK+:} false; then :
3061
  $as_echo_n "(cached) " >&6
3062
else
3063
  if test -n "$AWK"; then
3064
  ac_cv_prog_AWK="$AWK" # Let the user override the test.