"Fossies" - the Fresh Open Source Software Archive

Member "epm-4.5.1/configure" (18 Nov 2020, 179690 Bytes) of package /linux/privat/epm-4.5.1.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": 4.5_vs_4.5.1.

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