~ubuntu-branches/ubuntu/saucy/vish/saucy-proposed

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