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

Generated by cgit