Check-in [0c3407a37c]
Overview
Comment:Corrected some build issues
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:0c3407a37c3e5bb9cdb1c58f9f2c2c2bb171ec45
User & Date: rkeene on 2013-11-26 16:31:37
Other Links: manifest | tags
Context
2013-11-26
16:31
Freecolor 0.8.9 check-in: 089015dd60 user: rkeene tags: trunk, 0.8.9
16:31
Corrected some build issues check-in: 0c3407a37c user: rkeene tags: trunk
2009-05-31
02:46
Freecolor 0.8.8 check-in: 1001b63010 user: rkeene tags: trunk, 0.8.8
Changes

Modified Makefile.in from [bb53233afa] to [a7fb2612a0].

     1      1   CC = @CC@
     2      2   CFLAGS = -Wall @CFLAGS@ @DEFS@
     3      3   CPPFLAGS = @CPPFLAGS@ @DEFS@
     4      4   LDFLAGS = @LDFLAGS@ @LIBS@
     5      5   INSTALL = @INSTALL@
            6  +LIBS = @LIBS@
     6      7   
     7      8   prefix = @prefix@
     8      9   mandir = @mandir@
     9     10   sysconfdir = @sysconfdir@
    10     11   datadir = @datadir@
    11     12   exec_prefix = @exec_prefix@
    12     13   bindir = @bindir@
    13     14   
    14     15   all:
    15         -	$(CC) $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) -o free freecolor.c
           16  +	$(CC) $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) -o free freecolor.c $(LIBS)
    16     17   
    17     18   install-over-free:
    18     19   	strip free
    19     20   	cp -i free `which free`
    20     21   
    21     22   install:
    22     23   	strip free

Modified aclocal.m4 from [d472f46fdb] to [6428a9cd91].

     1      1   AC_DEFUN(DC_ASK_STATGRAB, [
     2         -#    AC_CHECK_LIB(statgrab, get_memory_stats, AC_DEFINE(HAVE_LIBSTATGRAB, [1], [Have get_memory_stats from libstatgrab]))
            2  +  LIBSTATGRABFLAGS=`pkg-config --libs libstatgrab 2>/dev/null`
            3  +  LIBSTATGRABCFLAGS=`pkg-config --cflags libstatgrab 2>/dev/null`
     3      4     AC_ARG_WITH(libstatgrab, [  --with-libstatgrab      Support for libstatgrab], [
     4      5   # Specified
     5      6       LIBSTATGRAB=$withval
     6      7     ], [
     7      8   # Not specified
     8         -    LIBSTATGRABFLAGS=`pkg-config --libs libstatgrab 2>/dev/null`
     9         -    LIBSTATGRABCFLAGS=`pkg-config --cflags libstatgrab 2>/dev/null`
    10         -    AC_CHECK_LIB(statgrab, get_memory_stats, [
            9  +    AC_CHECK_LIB(statgrab, sg_get_mem_stats, [
    11     10         OLDCPPFLAGS="$CPPFLAGS"
    12     11         OLDCFLAGS="$CFLAGS"
    13     12         CPPFLAGS="$CPPFLAGS $LIBSTATGRABCFLAGS"
    14     13         CFLAGS="$CFLAGS $LIBSTATGRABCFLAGS"
    15     14         AC_CHECK_HEADER(statgrab.h, [
    16     15           LIBSTATGRAB=yes
    17     16         ], [
................................................................................
    29     28     		AC_MSG_WARN(Freecolor will be compiled without libstatgrab support)
    30     29     		;;
    31     30     	*)
    32     31     		if test ! "${LIBSTATGRAB}" = "yes"; then
    33     32   			LIBSTATGRABFLAGS="-L${LIBSTATGRAB}/lib ${LIBSTATGRABFLAGS}"
    34     33   			LIBSTATGRABCFLAGS="-I${LIBSTATGRAB}/include ${LIBSTATGRABCFLAGS}"
    35     34     		fi
    36         -		AC_CHECK_LIB(statgrab, get_memory_stats, [
           35  +		AC_CHECK_LIB(statgrab, sg_get_mem_stats, [
    37     36   		  OLDCFLAGS="$CFLAGS"
    38     37   		  OLDCPPFLAGS="$CPPFLAGS"
    39     38   		  CPPFLAGS="$CPPFLAGS ${LIBSTATGRABCFLAGS}"
    40     39   		  CFLAGS="$CFLAGS ${LIBSTATGRABCFLAGS}"
    41     40     		  AC_CHECK_HEADER(statgrab.h, [
    42     41   		    AC_DEFINE(HAVE_LIBSTATGRAB_H, [1], [Define to 1 if you have the <statgrab.h> header file.])
    43         -		    AC_DEFINE(HAVE_LIBSTATGRAB, [1], [Define to 1 if you have get_memory_stats from -lstatgrab])
    44         -		    LDFLAGS="$LDFLAGS $LIBSTATGRABFLAGS"
    45         -		    LIBS="$LIBS -lstatgrab"
           42  +		    AC_DEFINE(HAVE_LIBSTATGRAB, [1], [Define to 1 if you have sg_get_mem_stats from -lstatgrab])
           43  +		    LIBS="$LIBS $LIBSTATGRABFLAGS"
    46     44     		    AC_CHECK_LIB(statgrab, statgrab_drop_privileges, [
    47     45   		      AC_DEFINE(HAVE_STATGRAB_DROP_PRIVILEGES, [1], [Define to 1 if you have statgrab_drop_privileges from -lstatgrab])
    48     46   		    ])
    49     47   		  ], [
    50     48   		    CFLAGS="$OLDCFLAGS"
    51     49   		    CPPFLAGS="$OLDCPPFLAGS"
    52     50   		    AC_MSG_ERROR(Could not find statgrab.h)

Modified config.h.in from [9646a4bbfd] to [e74e26b184].

     1      1   /* config.h.in.  Generated from configure.in by autoheader.  */
     2      2   
     3      3   /* Define to 1 if you have the <inttypes.h> header file. */
     4      4   #undef HAVE_INTTYPES_H
     5      5   
     6         -/* Define to 1 if you have get_memory_stats from -lstatgrab */
            6  +/* Define to 1 if you have sg_get_mem_stats from -lstatgrab */
     7      7   #undef HAVE_LIBSTATGRAB
     8      8   
     9      9   /* Define to 1 if you have the <statgrab.h> header file. */
    10     10   #undef HAVE_LIBSTATGRAB_H
    11     11   
    12     12   /* Define to 1 if you have the <memory.h> header file. */
    13     13   #undef HAVE_MEMORY_H
................................................................................
    43     43   #undef PACKAGE_NAME
    44     44   
    45     45   /* Define to the full name and version of this package. */
    46     46   #undef PACKAGE_STRING
    47     47   
    48     48   /* Define to the one symbol short name of this package. */
    49     49   #undef PACKAGE_TARNAME
           50  +
           51  +/* Define to the home page for this package. */
           52  +#undef PACKAGE_URL
    50     53   
    51     54   /* Define to the version of this package. */
    52     55   #undef PACKAGE_VERSION
    53     56   
    54     57   /* Define to 1 if you have the ANSI C header files. */
    55     58   #undef STDC_HEADERS

Modified configure from [80aed77285] to [65ec8e3545].

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