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