"Fossies" - the Fresh Open Source Software Archive

Member "vfplot-1.0.15/configure" (7 Nov 2019, 203496 Bytes) of package /linux/privat/vfplot-1.0.15.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "configure": 1.0.14_vs_1.0.15.

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