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