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