Search
lxdream.org :: lxdream/configure
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 94:8d80d9c7cc7d
prev10:c898b37506e0
next180:e6dcf9b65658
author nkeynes
date Sat May 20 02:40:16 2006 +0000 (14 years ago)
permissions -rwxr-xr-x
last change Add a few more unknown registers that have been observed
view annotate diff log raw
     1 #! /bin/sh
     2 # Guess values for system-dependent variables and create Makefiles.
     3 # Generated by GNU Autoconf 2.59.
     4 #
     5 # Copyright (C) 2003 Free Software Foundation, Inc.
     6 # This configure script is free software; the Free Software Foundation
     7 # gives unlimited permission to copy, distribute and modify it.
     8 ## --------------------- ##
     9 ## M4sh Initialization.  ##
    10 ## --------------------- ##
    12 # Be Bourne compatible
    13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    14   emulate sh
    15   NULLCMD=:
    16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    17   # is contrary to our usage.  Disable this feature.
    18   alias -g '${1+"$@"}'='"$@"'
    19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    20   set -o posix
    21 fi
    22 DUALCASE=1; export DUALCASE # for MKS sh
    24 # Support unset when possible.
    25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    26   as_unset=unset
    27 else
    28   as_unset=false
    29 fi
    32 # Work around bugs in pre-3.0 UWIN ksh.
    33 $as_unset ENV MAIL MAILPATH
    34 PS1='$ '
    35 PS2='> '
    36 PS4='+ '
    38 # NLS nuisances.
    39 for as_var in \
    40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    42   LC_TELEPHONE LC_TIME
    43 do
    44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    45     eval $as_var=C; export $as_var
    46   else
    47     $as_unset $as_var
    48   fi
    49 done
    51 # Required to use basename.
    52 if expr a : '\(a\)' >/dev/null 2>&1; then
    53   as_expr=expr
    54 else
    55   as_expr=false
    56 fi
    58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    59   as_basename=basename
    60 else
    61   as_basename=false
    62 fi
    65 # Name of the executable.
    66 as_me=`$as_basename "$0" ||
    67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    68 	 X"$0" : 'X\(//\)$' \| \
    69 	 X"$0" : 'X\(/\)$' \| \
    70 	 .     : '\(.\)' 2>/dev/null ||
    71 echo X/"$0" |
    72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    73   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
    74   	  /^X\/\(\/\).*/{ s//\1/; q; }
    75   	  s/.*/./; q'`
    78 # PATH needs CR, and LINENO needs CR and PATH.
    79 # Avoid depending upon Character Ranges.
    80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    83 as_cr_digits='0123456789'
    84 as_cr_alnum=$as_cr_Letters$as_cr_digits
    86 # The user is always right.
    87 if test "${PATH_SEPARATOR+set}" != set; then
    88   echo "#! /bin/sh" >conf$$.sh
    89   echo  "exit 0"   >>conf$$.sh
    90   chmod +x conf$$.sh
    91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    92     PATH_SEPARATOR=';'
    93   else
    94     PATH_SEPARATOR=:
    95   fi
    96   rm -f conf$$.sh
    97 fi
   100   as_lineno_1=$LINENO
   101   as_lineno_2=$LINENO
   102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   103   test "x$as_lineno_1" != "x$as_lineno_2" &&
   104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
   105   # Find who we are.  Look in the path if we contain no path at all
   106   # relative or not.
   107   case $0 in
   108     *[\\/]* ) as_myself=$0 ;;
   109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   110 for as_dir in $PATH
   111 do
   112   IFS=$as_save_IFS
   113   test -z "$as_dir" && as_dir=.
   114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   115 done
   117        ;;
   118   esac
   119   # We did not find ourselves, most probably we were run as `sh COMMAND'
   120   # in which case we are not to be found in the path.
   121   if test "x$as_myself" = x; then
   122     as_myself=$0
   123   fi
   124   if test ! -f "$as_myself"; then
   125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
   126    { (exit 1); exit 1; }; }
   127   fi
   128   case $CONFIG_SHELL in
   129   '')
   130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   132 do
   133   IFS=$as_save_IFS
   134   test -z "$as_dir" && as_dir=.
   135   for as_base in sh bash ksh sh5; do
   136 	 case $as_dir in
   137 	 /*)
   138 	   if ("$as_dir/$as_base" -c '
   139   as_lineno_1=$LINENO
   140   as_lineno_2=$LINENO
   141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   142   test "x$as_lineno_1" != "x$as_lineno_2" &&
   143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
   144 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
   145 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
   146 	     CONFIG_SHELL=$as_dir/$as_base
   147 	     export CONFIG_SHELL
   148 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
   149 	   fi;;
   150 	 esac
   151        done
   152 done
   153 ;;
   154   esac
   156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   157   # uniformly replaced by the line number.  The first 'sed' inserts a
   158   # line-number line before each line; the second 'sed' does the real
   159   # work.  The second script uses 'N' to pair each line-number line
   160   # with the numbered line, and appends trailing '-' during
   161   # substitution so that $LINENO is not a special case at line end.
   162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
   164   sed '=' <$as_myself |
   165     sed '
   166       N
   167       s,$,-,
   168       : loop
   169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
   170       t loop
   171       s,-$,,
   172       s,^['$as_cr_digits']*\n,,
   173     ' >$as_me.lineno &&
   174   chmod +x $as_me.lineno ||
   175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   176    { (exit 1); exit 1; }; }
   178   # Don't try to exec as it changes $[0], causing all sort of problems
   179   # (the dirname of $[0] is not the place where we might find the
   180   # original and so on.  Autoconf is especially sensible to this).
   181   . ./$as_me.lineno
   182   # Exit status is that of the last command.
   183   exit
   184 }
   187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
   188   *c*,-n*) ECHO_N= ECHO_C='
   189 ' ECHO_T='	' ;;
   190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
   191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
   192 esac
   194 if expr a : '\(a\)' >/dev/null 2>&1; then
   195   as_expr=expr
   196 else
   197   as_expr=false
   198 fi
   200 rm -f conf$$ conf$$.exe conf$$.file
   201 echo >conf$$.file
   202 if ln -s conf$$.file conf$$ 2>/dev/null; then
   203   # We could just check for DJGPP; but this test a) works b) is more generic
   204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   205   if test -f conf$$.exe; then
   206     # Don't use ln at all; we don't have any links
   207     as_ln_s='cp -p'
   208   else
   209     as_ln_s='ln -s'
   210   fi
   211 elif ln conf$$.file conf$$ 2>/dev/null; then
   212   as_ln_s=ln
   213 else
   214   as_ln_s='cp -p'
   215 fi
   216 rm -f conf$$ conf$$.exe conf$$.file
   218 if mkdir -p . 2>/dev/null; then
   219   as_mkdir_p=:
   220 else
   221   test -d ./-p && rmdir ./-p
   222   as_mkdir_p=false
   223 fi
   225 as_executable_p="test -f"
   227 # Sed expression to map a string onto a valid CPP name.
   228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   230 # Sed expression to map a string onto a valid variable name.
   231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   234 # IFS
   235 # We need space, tab and new line, in precisely that order.
   236 as_nl='
   237 '
   238 IFS=" 	$as_nl"
   240 # CDPATH.
   241 $as_unset CDPATH
   244 # Name of the host.
   245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   246 # so uname gets run too.
   247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   249 exec 6>&1
   251 #
   252 # Initializations.
   253 #
   254 ac_default_prefix=/usr/local
   255 ac_config_libobj_dir=.
   256 cross_compiling=no
   257 subdirs=
   258 MFLAGS=
   259 MAKEFLAGS=
   260 SHELL=${CONFIG_SHELL-/bin/sh}
   262 # Maximum number of lines to put in a shell here document.
   263 # This variable seems obsolete.  It should probably be removed, and
   264 # only ac_max_sed_lines should be used.
   265 : ${ac_max_here_lines=38}
   267 # Identity of this package.
   268 PACKAGE_NAME=
   269 PACKAGE_TARNAME=
   270 PACKAGE_VERSION=
   271 PACKAGE_STRING=
   272 PACKAGE_BUGREPORT=
   274 ac_unique_file="configure.in"
   275 # Factoring default headers for most tests.
   276 ac_includes_default="\
   277 #include <stdio.h>
   278 #if HAVE_SYS_TYPES_H
   279 # include <sys/types.h>
   280 #endif
   281 #if HAVE_SYS_STAT_H
   282 # include <sys/stat.h>
   283 #endif
   284 #if STDC_HEADERS
   285 # include <stdlib.h>
   286 # include <stddef.h>
   287 #else
   288 # if HAVE_STDLIB_H
   289 #  include <stdlib.h>
   290 # endif
   291 #endif
   292 #if HAVE_STRING_H
   293 # if !STDC_HEADERS && HAVE_MEMORY_H
   294 #  include <memory.h>
   295 # endif
   296 # include <string.h>
   297 #endif
   298 #if HAVE_STRINGS_H
   299 # include <strings.h>
   300 #endif
   301 #if HAVE_INTTYPES_H
   302 # include <inttypes.h>
   303 #else
   304 # if HAVE_STDINT_H
   305 #  include <stdint.h>
   306 # endif
   307 #endif
   308 #if HAVE_UNISTD_H
   309 # include <unistd.h>
   310 #endif"
   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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP PKG_CONFIG PACKAGE_CFLAGS PACKAGE_LIBS GETTEXT_PACKAGE USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS LIBOBJS LTLIBOBJS'
   313 ac_subst_files=''
   315 # Initialize some variables set by options.
   316 ac_init_help=
   317 ac_init_version=false
   318 # The variables have the same names as the options, with
   319 # dashes changed to underlines.
   320 cache_file=/dev/null
   321 exec_prefix=NONE
   322 no_create=
   323 no_recursion=
   324 prefix=NONE
   325 program_prefix=NONE
   326 program_suffix=NONE
   327 program_transform_name=s,x,x,
   328 silent=
   329 site=
   330 srcdir=
   331 verbose=
   332 x_includes=NONE
   333 x_libraries=NONE
   335 # Installation directory options.
   336 # These are left unexpanded so users can "make install exec_prefix=/foo"
   337 # and all the variables that are supposed to be based on exec_prefix
   338 # by default will actually change.
   339 # Use braces instead of parens because sh, perl, etc. also accept them.
   340 bindir='${exec_prefix}/bin'
   341 sbindir='${exec_prefix}/sbin'
   342 libexecdir='${exec_prefix}/libexec'
   343 datadir='${prefix}/share'
   344 sysconfdir='${prefix}/etc'
   345 sharedstatedir='${prefix}/com'
   346 localstatedir='${prefix}/var'
   347 libdir='${exec_prefix}/lib'
   348 includedir='${prefix}/include'
   349 oldincludedir='/usr/include'
   350 infodir='${prefix}/info'
   351 mandir='${prefix}/man'
   353 ac_prev=
   354 for ac_option
   355 do
   356   # If the previous option needs an argument, assign it.
   357   if test -n "$ac_prev"; then
   358     eval "$ac_prev=\$ac_option"
   359     ac_prev=
   360     continue
   361   fi
   363   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
   365   # Accept the important Cygnus configure options, so we can diagnose typos.
   367   case $ac_option in
   369   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   370     ac_prev=bindir ;;
   371   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   372     bindir=$ac_optarg ;;
   374   -build | --build | --buil | --bui | --bu)
   375     ac_prev=build_alias ;;
   376   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   377     build_alias=$ac_optarg ;;
   379   -cache-file | --cache-file | --cache-fil | --cache-fi \
   380   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   381     ac_prev=cache_file ;;
   382   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   383   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   384     cache_file=$ac_optarg ;;
   386   --config-cache | -C)
   387     cache_file=config.cache ;;
   389   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
   390     ac_prev=datadir ;;
   391   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
   392   | --da=*)
   393     datadir=$ac_optarg ;;
   395   -disable-* | --disable-*)
   396     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   397     # 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" ;;
   404   -enable-* | --enable-*)
   405     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   406     # 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 ;;
   414     esac
   415     eval "enable_$ac_feature='$ac_optarg'" ;;
   417   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   418   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   419   | --exec | --exe | --ex)
   420     ac_prev=exec_prefix ;;
   421   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   422   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   423   | --exec=* | --exe=* | --ex=*)
   424     exec_prefix=$ac_optarg ;;
   426   -gas | --gas | --ga | --g)
   427     # Obsolete; use --with-gas.
   428     with_gas=yes ;;
   430   -help | --help | --hel | --he | -h)
   431     ac_init_help=long ;;
   432   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   433     ac_init_help=recursive ;;
   434   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   435     ac_init_help=short ;;
   437   -host | --host | --hos | --ho)
   438     ac_prev=host_alias ;;
   439   -host=* | --host=* | --hos=* | --ho=*)
   440     host_alias=$ac_optarg ;;
   442   -includedir | --includedir | --includedi | --included | --include \
   443   | --includ | --inclu | --incl | --inc)
   444     ac_prev=includedir ;;
   445   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   446   | --includ=* | --inclu=* | --incl=* | --inc=*)
   447     includedir=$ac_optarg ;;
   449   -infodir | --infodir | --infodi | --infod | --info | --inf)
   450     ac_prev=infodir ;;
   451   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   452     infodir=$ac_optarg ;;
   454   -libdir | --libdir | --libdi | --libd)
   455     ac_prev=libdir ;;
   456   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   457     libdir=$ac_optarg ;;
   459   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   460   | --libexe | --libex | --libe)
   461     ac_prev=libexecdir ;;
   462   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   463   | --libexe=* | --libex=* | --libe=*)
   464     libexecdir=$ac_optarg ;;
   466   -localstatedir | --localstatedir | --localstatedi | --localstated \
   467   | --localstate | --localstat | --localsta | --localst \
   468   | --locals | --local | --loca | --loc | --lo)
   469     ac_prev=localstatedir ;;
   470   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   471   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
   472   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
   473     localstatedir=$ac_optarg ;;
   475   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   476     ac_prev=mandir ;;
   477   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   478     mandir=$ac_optarg ;;
   480   -nfp | --nfp | --nf)
   481     # Obsolete; use --without-fp.
   482     with_fp=no ;;
   484   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   485   | --no-cr | --no-c | -n)
   486     no_create=yes ;;
   488   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   489   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   490     no_recursion=yes ;;
   492   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   493   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   494   | --oldin | --oldi | --old | --ol | --o)
   495     ac_prev=oldincludedir ;;
   496   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   497   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   498   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   499     oldincludedir=$ac_optarg ;;
   501   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   502     ac_prev=prefix ;;
   503   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   504     prefix=$ac_optarg ;;
   506   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   507   | --program-pre | --program-pr | --program-p)
   508     ac_prev=program_prefix ;;
   509   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   510   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   511     program_prefix=$ac_optarg ;;
   513   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   514   | --program-suf | --program-su | --program-s)
   515     ac_prev=program_suffix ;;
   516   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   517   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   518     program_suffix=$ac_optarg ;;
   520   -program-transform-name | --program-transform-name \
   521   | --program-transform-nam | --program-transform-na \
   522   | --program-transform-n | --program-transform- \
   523   | --program-transform | --program-transfor \
   524   | --program-transfo | --program-transf \
   525   | --program-trans | --program-tran \
   526   | --progr-tra | --program-tr | --program-t)
   527     ac_prev=program_transform_name ;;
   528   -program-transform-name=* | --program-transform-name=* \
   529   | --program-transform-nam=* | --program-transform-na=* \
   530   | --program-transform-n=* | --program-transform-=* \
   531   | --program-transform=* | --program-transfor=* \
   532   | --program-transfo=* | --program-transf=* \
   533   | --program-trans=* | --program-tran=* \
   534   | --progr-tra=* | --program-tr=* | --program-t=*)
   535     program_transform_name=$ac_optarg ;;
   537   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   538   | -silent | --silent | --silen | --sile | --sil)
   539     silent=yes ;;
   541   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   542     ac_prev=sbindir ;;
   543   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   544   | --sbi=* | --sb=*)
   545     sbindir=$ac_optarg ;;
   547   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   548   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   549   | --sharedst | --shareds | --shared | --share | --shar \
   550   | --sha | --sh)
   551     ac_prev=sharedstatedir ;;
   552   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   553   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   554   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   555   | --sha=* | --sh=*)
   556     sharedstatedir=$ac_optarg ;;
   558   -site | --site | --sit)
   559     ac_prev=site ;;
   560   -site=* | --site=* | --sit=*)
   561     site=$ac_optarg ;;
   563   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   564     ac_prev=srcdir ;;
   565   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   566     srcdir=$ac_optarg ;;
   568   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   569   | --syscon | --sysco | --sysc | --sys | --sy)
   570     ac_prev=sysconfdir ;;
   571   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   572   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   573     sysconfdir=$ac_optarg ;;
   575   -target | --target | --targe | --targ | --tar | --ta | --t)
   576     ac_prev=target_alias ;;
   577   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   578     target_alias=$ac_optarg ;;
   580   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   581     verbose=yes ;;
   583   -version | --version | --versio | --versi | --vers | -V)
   584     ac_init_version=: ;;
   586   -with-* | --with-*)
   587     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   588     # 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 ;;
   596     esac
   597     eval "with_$ac_package='$ac_optarg'" ;;
   599   -without-* | --without-*)
   600     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   601     # 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" ;;
   608   --x)
   609     # Obsolete; use --with-x.
   610     with_x=yes ;;
   612   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   613   | --x-incl | --x-inc | --x-in | --x-i)
   614     ac_prev=x_includes ;;
   615   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   616   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   617     x_includes=$ac_optarg ;;
   619   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   620   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   621     ac_prev=x_libraries ;;
   622   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   623   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   624     x_libraries=$ac_optarg ;;
   626   -*) { echo "$as_me: error: unrecognized option: $ac_option
   627 Try \`$0 --help' for more information." >&2
   628    { (exit 1); exit 1; }; }
   629     ;;
   631   *=*)
   632     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   633     # 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'"
   639     export $ac_envvar ;;
   641   *)
   642     # FIXME: should be removed in autoconf 3.0.
   643     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   644     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}
   647     ;;
   649   esac
   650 done
   652 if test -n "$ac_prev"; then
   653   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   654   { echo "$as_me: error: missing argument to $ac_option" >&2
   655    { (exit 1); exit 1; }; }
   656 fi
   658 # Be sure to have absolute paths.
   659 for ac_var in exec_prefix prefix
   660 do
   661   eval ac_val=$`echo $ac_var`
   662   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; }; };;
   666   esac
   667 done
   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`
   674   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; }; };;
   678   esac
   679 done
   681 # There might be people who depend on the old broken behavior: `$host'
   682 # used to hold the argument of --host etc.
   683 # FIXME: To remove some day.
   684 build=$build_alias
   685 host=$host_alias
   686 target=$target_alias
   688 # FIXME: To remove some day.
   689 if test "x$host_alias" != x; then
   690   if test "x$build_alias" = x; then
   691     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   elif test "x$build_alias" != "x$host_alias"; then
   695     cross_compiling=yes
   696   fi
   697 fi
   699 ac_tool_prefix=
   700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   702 test "$silent" = yes && exec 6>/dev/null
   705 # Find the source files, if location was not specified.
   706 if test -z "$srcdir"; then
   707   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'`
   721   srcdir=$ac_confdir
   722   if test ! -r $srcdir/$ac_unique_file; then
   723     srcdir=..
   724   fi
   725 else
   726   ac_srcdir_defaulted=no
   727 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
   774 #
   775 # Report the --help message.
   776 #
   777 if test "$ac_init_help" = "long"; then
   778   # Omit some internal or obsolete options to make the list less imposing.
   779   # This message is too long to be a string in the A/UX 3.1 sh.
   780   cat <<_ACEOF
   781 \`configure' configures this package to adapt to many kinds of systems.
   783 Usage: $0 [OPTION]... [VAR=VALUE]...
   785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   786 VAR=VALUE.  See below for descriptions of some of the useful variables.
   788 Defaults for the options are specified in brackets.
   790 Configuration:
   791   -h, --help              display this help and exit
   792       --help=short        display options specific to this package
   793       --help=recursive    display the short help of all the included packages
   794   -V, --version           display version information and exit
   795   -q, --quiet, --silent   do not print \`checking...' messages
   796       --cache-file=FILE   cache test results in FILE [disabled]
   797   -C, --config-cache      alias for \`--cache-file=config.cache'
   798   -n, --no-create         do not create output files
   799       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   801 _ACEOF
   803   cat <<_ACEOF
   804 Installation directories:
   805   --prefix=PREFIX         install architecture-independent files in PREFIX
   806 			  [$ac_default_prefix]
   807   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   808 			  [PREFIX]
   810 By default, \`make install' will install all the files in
   811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   813 for instance \`--prefix=\$HOME'.
   815 For better control, use the options below.
   817 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]
   830 _ACEOF
   832   cat <<\_ACEOF
   834 Program names:
   835   --program-prefix=PREFIX            prepend PREFIX to installed program names
   836   --program-suffix=SUFFIX            append SUFFIX to installed program names
   837   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   838 _ACEOF
   839 fi
   841 if test -n "$ac_init_help"; then
   843   cat <<\_ACEOF
   845 Optional Features:
   846   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   847   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   848   --enable-maintainer-mode enable make rules and dependencies not useful
   849                           (and sometimes confusing) to the casual installer
   850   --disable-dependency-tracking Speeds up one-time builds
   851   --enable-dependency-tracking  Do not reject slow dependency extractors
   853 Some influential environment variables:
   854   CC          C compiler command
   855   CFLAGS      C compiler flags
   856   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   857               nonstandard directory <lib dir>
   858   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
   859               headers in a nonstandard directory <include dir>
   860   CPP         C preprocessor
   862 Use these variables to override the choices made by `configure' or to help
   863 it to find libraries and programs with nonstandard names/locations.
   865 _ACEOF
   866 fi
   868 if test "$ac_init_help" = "recursive"; then
   869   # If there are subdirs, report their specific --help.
   870   ac_popdir=`pwd`
   871   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   872     test -d $ac_dir || continue
   873     ac_builddir=.
   875 if test "$ac_dir" != .; then
   876   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   877   # A "../" for each directory in $ac_dir_suffix.
   878   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   879 else
   880   ac_dir_suffix= ac_top_builddir=
   881 fi
   883 case $srcdir in
   884   .)  # No --srcdir option.  We are building in place.
   885     ac_srcdir=.
   886     if test -z "$ac_top_builddir"; then
   887        ac_top_srcdir=.
   888     else
   889        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   890     fi ;;
   891   [\\/]* | ?:[\\/]* )  # Absolute path.
   892     ac_srcdir=$srcdir$ac_dir_suffix;
   893     ac_top_srcdir=$srcdir ;;
   894   *) # Relative path.
   895     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   896     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   897 esac
   899 # Do not use `cd foo && pwd` to compute absolute paths, because
   900 # the directories may not exist.
   901 case `pwd` in
   902 .) ac_abs_builddir="$ac_dir";;
   903 *)
   904   case "$ac_dir" in
   905   .) ac_abs_builddir=`pwd`;;
   906   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   907   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   908   esac;;
   909 esac
   910 case $ac_abs_builddir in
   911 .) ac_abs_top_builddir=${ac_top_builddir}.;;
   912 *)
   913   case ${ac_top_builddir}. in
   914   .) ac_abs_top_builddir=$ac_abs_builddir;;
   915   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   916   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   917   esac;;
   918 esac
   919 case $ac_abs_builddir in
   920 .) ac_abs_srcdir=$ac_srcdir;;
   921 *)
   922   case $ac_srcdir in
   923   .) ac_abs_srcdir=$ac_abs_builddir;;
   924   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   925   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   926   esac;;
   927 esac
   928 case $ac_abs_builddir in
   929 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   930 *)
   931   case $ac_top_srcdir in
   932   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   933   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   934   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   935   esac;;
   936 esac
   938     cd $ac_dir
   939     # Check for guested configure; otherwise get Cygnus style configure.
   940     if test -f $ac_srcdir/configure.gnu; then
   941       echo
   942       $SHELL $ac_srcdir/configure.gnu  --help=recursive
   943     elif test -f $ac_srcdir/configure; then
   944       echo
   945       $SHELL $ac_srcdir/configure  --help=recursive
   946     elif test -f $ac_srcdir/configure.ac ||
   947 	   test -f $ac_srcdir/configure.in; then
   948       echo
   949       $ac_configure --help
   950     else
   951       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   952     fi
   953     cd "$ac_popdir"
   954   done
   955 fi
   957 test -n "$ac_init_help" && exit 0
   958 if $ac_init_version; then
   959   cat <<\_ACEOF
   961 Copyright (C) 2003 Free Software Foundation, Inc.
   962 This configure script is free software; the Free Software Foundation
   963 gives unlimited permission to copy, distribute and modify it.
   964 _ACEOF
   965   exit 0
   966 fi
   967 exec 5>config.log
   968 cat >&5 <<_ACEOF
   969 This file contains any messages produced by compilers while
   970 running configure, to aid debugging if configure makes a mistake.
   972 It was created by $as_me, which was
   973 generated by GNU Autoconf 2.59.  Invocation command line was
   975   $ $0 $@
   977 _ACEOF
   978 {
   979 cat <<_ASUNAME
   980 ## --------- ##
   981 ## Platform. ##
   982 ## --------- ##
   984 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   985 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   986 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   987 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   988 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   990 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   991 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   993 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   994 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   995 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   996 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
   997 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   998 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   999 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1001 _ASUNAME
  1003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1004 for as_dir in $PATH
  1005 do
  1006   IFS=$as_save_IFS
  1007   test -z "$as_dir" && as_dir=.
  1008   echo "PATH: $as_dir"
  1009 done
  1011 } >&5
  1013 cat >&5 <<_ACEOF
  1016 ## ----------- ##
  1017 ## Core tests. ##
  1018 ## ----------- ##
  1020 _ACEOF
  1023 # Keep a trace of the command line.
  1024 # Strip out --no-create and --no-recursion so they do not pile up.
  1025 # Strip out --silent because we don't want to record it for future runs.
  1026 # Also quote any args containing shell meta-characters.
  1027 # Make two passes to allow for proper duplicate-argument suppression.
  1028 ac_configure_args=
  1029 ac_configure_args0=
  1030 ac_configure_args1=
  1031 ac_sep=
  1032 ac_must_keep_next=false
  1033 for ac_pass in 1 2
  1034 do
  1035   for ac_arg
  1036   do
  1037     case $ac_arg in
  1038     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1039     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1040     | -silent | --silent | --silen | --sile | --sil)
  1041       continue ;;
  1042     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1043       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1044     esac
  1045     case $ac_pass in
  1046     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1047     2)
  1048       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1049       if test $ac_must_keep_next = true; then
  1050 	ac_must_keep_next=false # Got value, back to normal.
  1051       else
  1052 	case $ac_arg in
  1053 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1054 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1055 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1056 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1057 	    case "$ac_configure_args0 " in
  1058 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1059 	    esac
  1060 	    ;;
  1061 	  -* ) ac_must_keep_next=true ;;
  1062 	esac
  1063       fi
  1064       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  1065       # Get rid of the leading space.
  1066       ac_sep=" "
  1067       ;;
  1068     esac
  1069   done
  1070 done
  1071 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1072 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1074 # When interrupted or exit'd, cleanup temporary files, and complete
  1075 # config.log.  We remove comments because anyway the quotes in there
  1076 # would cause problems or look ugly.
  1077 # WARNING: Be sure not to use single quotes in there, as some shells,
  1078 # such as our DU 5.0 friend, will then `close' the trap.
  1079 trap 'exit_status=$?
  1080   # Save into config.log some information that might help in debugging.
  1082     echo
  1084     cat <<\_ASBOX
  1085 ## ---------------- ##
  1086 ## Cache variables. ##
  1087 ## ---------------- ##
  1088 _ASBOX
  1089     echo
  1090     # The following way of writing the cache mishandles newlines in values,
  1092   (set) 2>&1 |
  1093     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  1094     *ac_space=\ *)
  1095       sed -n \
  1096 	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  1097 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  1098       ;;
  1099     *)
  1100       sed -n \
  1101 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  1102       ;;
  1103     esac;
  1105     echo
  1107     cat <<\_ASBOX
  1108 ## ----------------- ##
  1109 ## Output variables. ##
  1110 ## ----------------- ##
  1111 _ASBOX
  1112     echo
  1113     for ac_var in $ac_subst_vars
  1114     do
  1115       eval ac_val=$`echo $ac_var`
  1116       echo "$ac_var='"'"'$ac_val'"'"'"
  1117     done | sort
  1118     echo
  1120     if test -n "$ac_subst_files"; then
  1121       cat <<\_ASBOX
  1122 ## ------------- ##
  1123 ## Output files. ##
  1124 ## ------------- ##
  1125 _ASBOX
  1126       echo
  1127       for ac_var in $ac_subst_files
  1128       do
  1129 	eval ac_val=$`echo $ac_var`
  1130 	echo "$ac_var='"'"'$ac_val'"'"'"
  1131       done | sort
  1132       echo
  1133     fi
  1135     if test -s confdefs.h; then
  1136       cat <<\_ASBOX
  1137 ## ----------- ##
  1138 ## confdefs.h. ##
  1139 ## ----------- ##
  1140 _ASBOX
  1141       echo
  1142       sed "/^$/d" confdefs.h | sort
  1143       echo
  1144     fi
  1145     test "$ac_signal" != 0 &&
  1146       echo "$as_me: caught signal $ac_signal"
  1147     echo "$as_me: exit $exit_status"
  1148   } >&5
  1149   rm -f core *.core &&
  1150   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  1151     exit $exit_status
  1152      ' 0
  1153 for ac_signal in 1 2 13 15; do
  1154   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1155 done
  1156 ac_signal=0
  1158 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1159 rm -rf conftest* confdefs.h
  1160 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  1161 echo >confdefs.h
  1163 # Predefined preprocessor variables.
  1165 cat >>confdefs.h <<_ACEOF
  1166 #define PACKAGE_NAME "$PACKAGE_NAME"
  1167 _ACEOF
  1170 cat >>confdefs.h <<_ACEOF
  1171 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1172 _ACEOF
  1175 cat >>confdefs.h <<_ACEOF
  1176 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1177 _ACEOF
  1180 cat >>confdefs.h <<_ACEOF
  1181 #define PACKAGE_STRING "$PACKAGE_STRING"
  1182 _ACEOF
  1185 cat >>confdefs.h <<_ACEOF
  1186 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1187 _ACEOF
  1190 # Let the site file select an alternate cache file if it wants to.
  1191 # Prefer explicitly selected file to automatically selected ones.
  1192 if test -z "$CONFIG_SITE"; then
  1193   if test "x$prefix" != xNONE; then
  1194     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  1195   else
  1196     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  1197   fi
  1198 fi
  1199 for ac_site_file in $CONFIG_SITE; do
  1200   if test -r "$ac_site_file"; then
  1201     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1202 echo "$as_me: loading site script $ac_site_file" >&6;}
  1203     sed 's/^/| /' "$ac_site_file" >&5
  1204     . "$ac_site_file"
  1205   fi
  1206 done
  1208 if test -r "$cache_file"; then
  1209   # Some versions of bash will fail to source /dev/null (special
  1210   # files actually), so we avoid doing that.
  1211   if test -f "$cache_file"; then
  1212     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1213 echo "$as_me: loading cache $cache_file" >&6;}
  1214     case $cache_file in
  1215       [\\/]* | ?:[\\/]* ) . $cache_file;;
  1216       *)                      . ./$cache_file;;
  1217     esac
  1218   fi
  1219 else
  1220   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1221 echo "$as_me: creating cache $cache_file" >&6;}
  1222   >$cache_file
  1223 fi
  1225 # Check that the precious variables saved in the cache have kept the same
  1226 # value.
  1227 ac_cache_corrupted=false
  1228 for ac_var in `(set) 2>&1 |
  1229 	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  1230   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1231   eval ac_new_set=\$ac_env_${ac_var}_set
  1232   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  1233   eval ac_new_val="\$ac_env_${ac_var}_value"
  1234   case $ac_old_set,$ac_new_set in
  1235     set,)
  1236       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1237 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1238       ac_cache_corrupted=: ;;
  1239     ,set)
  1240       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1241 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1242       ac_cache_corrupted=: ;;
  1243     ,);;
  1244     *)
  1245       if test "x$ac_old_val" != "x$ac_new_val"; then
  1246 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1247 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1248 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  1249 echo "$as_me:   former value:  $ac_old_val" >&2;}
  1250 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  1251 echo "$as_me:   current value: $ac_new_val" >&2;}
  1252 	ac_cache_corrupted=:
  1253       fi;;
  1254   esac
  1255   # Pass precious variables to config.status.
  1256   if test "$ac_new_set" = set; then
  1257     case $ac_new_val in
  1258     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1259       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1260     *) ac_arg=$ac_var=$ac_new_val ;;
  1261     esac
  1262     case " $ac_configure_args " in
  1263       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1264       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1265     esac
  1266   fi
  1267 done
  1268 if $ac_cache_corrupted; then
  1269   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1270 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1271   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1272 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1273    { (exit 1); exit 1; }; }
  1274 fi
  1276 ac_ext=c
  1277 ac_cpp='$CPP $CPPFLAGS'
  1278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1300 am__api_version="1.7"
  1301 ac_aux_dir=
  1302 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  1303   if test -f $ac_dir/install-sh; then
  1304     ac_aux_dir=$ac_dir
  1305     ac_install_sh="$ac_aux_dir/install-sh -c"
  1306     break
  1307   elif test -f $ac_dir/install.sh; then
  1308     ac_aux_dir=$ac_dir
  1309     ac_install_sh="$ac_aux_dir/install.sh -c"
  1310     break
  1311   elif test -f $ac_dir/shtool; then
  1312     ac_aux_dir=$ac_dir
  1313     ac_install_sh="$ac_aux_dir/shtool install -c"
  1314     break
  1315   fi
  1316 done
  1317 if test -z "$ac_aux_dir"; then
  1318   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
  1319 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
  1320    { (exit 1); exit 1; }; }
  1321 fi
  1322 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
  1323 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
  1324 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
  1326 # Find a good install program.  We prefer a C program (faster),
  1327 # so one script is as good as another.  But avoid the broken or
  1328 # incompatible versions:
  1329 # SysV /etc/install, /usr/sbin/install
  1330 # SunOS /usr/etc/install
  1331 # IRIX /sbin/install
  1332 # AIX /bin/install
  1333 # AmigaOS /C/install, which installs bootblocks on floppy discs
  1334 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1335 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1336 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1337 # OS/2's system install, which has a completely different semantic
  1338 # ./install, which can be erroneously created by make from ./install.sh.
  1339 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1340 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
  1341 if test -z "$INSTALL"; then
  1342 if test "${ac_cv_path_install+set}" = set; then
  1343   echo $ECHO_N "(cached) $ECHO_C" >&6
  1344 else
  1345   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1346 for as_dir in $PATH
  1347 do
  1348   IFS=$as_save_IFS
  1349   test -z "$as_dir" && as_dir=.
  1350   # Account for people who put trailing slashes in PATH elements.
  1351 case $as_dir/ in
  1352   ./ | .// | /cC/* | \
  1353   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1354   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  1355   /usr/ucb/* ) ;;
  1356   *)
  1357     # OSF1 and SCO ODT 3.0 have their own names for install.
  1358     # Don't use installbsd from OSF since it installs stuff as root
  1359     # by default.
  1360     for ac_prog in ginstall scoinst install; do
  1361       for ac_exec_ext in '' $ac_executable_extensions; do
  1362 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  1363 	  if test $ac_prog = install &&
  1364 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1365 	    # AIX install.  It has an incompatible calling convention.
  1367 	  elif test $ac_prog = install &&
  1368 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1369 	    # program-specific install script used by HP pwplus--don't use.
  1371 	  else
  1372 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1373 	    break 3
  1374 	  fi
  1375 	fi
  1376       done
  1377     done
  1378     ;;
  1379 esac
  1380 done
  1383 fi
  1384   if test "${ac_cv_path_install+set}" = set; then
  1385     INSTALL=$ac_cv_path_install
  1386   else
  1387     # As a last resort, use the slow shell script.  We don't cache a
  1388     # path for INSTALL within a source directory, because that will
  1389     # break other packages using the cache if that directory is
  1390     # removed, or if the path is relative.
  1391     INSTALL=$ac_install_sh
  1392   fi
  1393 fi
  1394 echo "$as_me:$LINENO: result: $INSTALL" >&5
  1395 echo "${ECHO_T}$INSTALL" >&6
  1397 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1398 # It thinks the first close brace ends the variable substitution.
  1399 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1401 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1403 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1405 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  1406 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
  1407 # Just in case
  1408 sleep 1
  1409 echo timestamp > conftest.file
  1410 # Do `set' in a subshell so we don't clobber the current shell's
  1411 # arguments.  Must try -L first in case configure is actually a
  1412 # symlink; some systems play weird games with the mod time of symlinks
  1413 # (eg FreeBSD returns the mod time of the symlink's containing
  1414 # directory).
  1415 if (
  1416    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  1417    if test "$*" = "X"; then
  1418       # -L didn't work.
  1419       set X `ls -t $srcdir/configure conftest.file`
  1420    fi
  1421    rm -f conftest.file
  1422    if test "$*" != "X $srcdir/configure conftest.file" \
  1423       && test "$*" != "X conftest.file $srcdir/configure"; then
  1425       # If neither matched, then we have a broken ls.  This can happen
  1426       # if, for instance, CONFIG_SHELL is bash and it inherits a
  1427       # broken ls alias from the environment.  This has actually
  1428       # happened.  Such a system could not be considered "sane".
  1429       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  1430 alias in your environment" >&5
  1431 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  1432 alias in your environment" >&2;}
  1433    { (exit 1); exit 1; }; }
  1434    fi
  1436    test "$2" = conftest.file
  1438 then
  1439    # Ok.
  1441 else
  1442    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  1443 Check your system clock" >&5
  1444 echo "$as_me: error: newly created file is older than distributed files!
  1445 Check your system clock" >&2;}
  1446    { (exit 1); exit 1; }; }
  1447 fi
  1448 echo "$as_me:$LINENO: result: yes" >&5
  1449 echo "${ECHO_T}yes" >&6
  1450 test "$program_prefix" != NONE &&
  1451   program_transform_name="s,^,$program_prefix,;$program_transform_name"
  1452 # Use a double $ so make ignores it.
  1453 test "$program_suffix" != NONE &&
  1454   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
  1455 # Double any \ or $.  echo might interpret backslashes.
  1456 # By default was `s,x,x', remove it if useless.
  1457 cat <<\_ACEOF >conftest.sed
  1458 s/[\\$]/&&/g;s/;s,x,x,$//
  1459 _ACEOF
  1460 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  1461 rm conftest.sed
  1464 # expand $ac_aux_dir to an absolute path
  1465 am_aux_dir=`cd $ac_aux_dir && pwd`
  1467 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  1468 # Use eval to expand $SHELL
  1469 if eval "$MISSING --run true"; then
  1470   am_missing_run="$MISSING --run "
  1471 else
  1472   am_missing_run=
  1473   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  1474 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  1475 fi
  1477 for ac_prog in gawk mawk nawk awk
  1478 do
  1479   # Extract the first word of "$ac_prog", so it can be a program name with args.
  1480 set dummy $ac_prog; ac_word=$2
  1481 echo "$as_me:$LINENO: checking for $ac_word" >&5
  1482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1483 if test "${ac_cv_prog_AWK+set}" = set; then
  1484   echo $ECHO_N "(cached) $ECHO_C" >&6
  1485 else
  1486   if test -n "$AWK"; then
  1487   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  1488 else
  1489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1490 for as_dir in $PATH
  1491 do
  1492   IFS=$as_save_IFS
  1493   test -z "$as_dir" && as_dir=.
  1494   for ac_exec_ext in '' $ac_executable_extensions; do
  1495   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1496     ac_cv_prog_AWK="$ac_prog"
  1497     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1498     break 2
  1499   fi
  1500 done
  1501 done
  1503 fi
  1504 fi
  1505 AWK=$ac_cv_prog_AWK
  1506 if test -n "$AWK"; then
  1507   echo "$as_me:$LINENO: result: $AWK" >&5
  1508 echo "${ECHO_T}$AWK" >&6
  1509 else
  1510   echo "$as_me:$LINENO: result: no" >&5
  1511 echo "${ECHO_T}no" >&6
  1512 fi
  1514   test -n "$AWK" && break
  1515 done
  1517 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  1518 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
  1519 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
  1520 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
  1521   echo $ECHO_N "(cached) $ECHO_C" >&6
  1522 else
  1523   cat >conftest.make <<\_ACEOF
  1524 all:
  1525 	@echo 'ac_maketemp="$(MAKE)"'
  1526 _ACEOF
  1527 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  1528 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
  1529 if test -n "$ac_maketemp"; then
  1530   eval ac_cv_prog_make_${ac_make}_set=yes
  1531 else
  1532   eval ac_cv_prog_make_${ac_make}_set=no
  1533 fi
  1534 rm -f conftest.make
  1535 fi
  1536 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  1537   echo "$as_me:$LINENO: result: yes" >&5
  1538 echo "${ECHO_T}yes" >&6
  1539   SET_MAKE=
  1540 else
  1541   echo "$as_me:$LINENO: result: no" >&5
  1542 echo "${ECHO_T}no" >&6
  1543   SET_MAKE="MAKE=${MAKE-make}"
  1544 fi
  1546 rm -rf .tst 2>/dev/null
  1547 mkdir .tst 2>/dev/null
  1548 if test -d .tst; then
  1549   am__leading_dot=.
  1550 else
  1551   am__leading_dot=_
  1552 fi
  1553 rmdir .tst 2>/dev/null
  1555  # test to see if srcdir already configured
  1556 if test "`cd $srcdir && pwd`" != "`pwd`" &&
  1557    test -f $srcdir/config.status; then
  1558   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  1559 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  1560    { (exit 1); exit 1; }; }
  1561 fi
  1563 # test whether we have cygpath
  1564 if test -z "$CYGPATH_W"; then
  1565   if (cygpath --version) >/dev/null 2>/dev/null; then
  1566     CYGPATH_W='cygpath -w'
  1567   else
  1568     CYGPATH_W=echo
  1569   fi
  1570 fi
  1573 # Define the identity of the package.
  1574  PACKAGE=dream
  1575  VERSION=0.1
  1578 cat >>confdefs.h <<_ACEOF
  1579 #define PACKAGE "$PACKAGE"
  1580 _ACEOF
  1583 cat >>confdefs.h <<_ACEOF
  1584 #define VERSION "$VERSION"
  1585 _ACEOF
  1587 # Some tools Automake needs.
  1589 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  1592 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  1595 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  1598 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  1601 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  1604 AMTAR=${AMTAR-"${am_missing_run}tar"}
  1606 install_sh=${install_sh-"$am_aux_dir/install-sh"}
  1608 # Installed binaries are usually stripped using `strip' when the user
  1609 # run `make install-strip'.  However `strip' might not be the right
  1610 # tool to use in cross-compilation environments, therefore Automake
  1611 # will honor the `STRIP' environment variable to overrule this program.
  1612 if test "$cross_compiling" != no; then
  1613   if test -n "$ac_tool_prefix"; then
  1614   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  1615 set dummy ${ac_tool_prefix}strip; ac_word=$2
  1616 echo "$as_me:$LINENO: checking for $ac_word" >&5
  1617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1618 if test "${ac_cv_prog_STRIP+set}" = set; then
  1619   echo $ECHO_N "(cached) $ECHO_C" >&6
  1620 else
  1621   if test -n "$STRIP"; then
  1622   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  1623 else
  1624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1625 for as_dir in $PATH
  1626 do
  1627   IFS=$as_save_IFS
  1628   test -z "$as_dir" && as_dir=.
  1629   for ac_exec_ext in '' $ac_executable_extensions; do
  1630   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1631     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  1632     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1633     break 2
  1634   fi
  1635 done
  1636 done
  1638 fi
  1639 fi
  1640 STRIP=$ac_cv_prog_STRIP
  1641 if test -n "$STRIP"; then
  1642   echo "$as_me:$LINENO: result: $STRIP" >&5
  1643 echo "${ECHO_T}$STRIP" >&6
  1644 else
  1645   echo "$as_me:$LINENO: result: no" >&5
  1646 echo "${ECHO_T}no" >&6
  1647 fi
  1649 fi
  1650 if test -z "$ac_cv_prog_STRIP"; then
  1651   ac_ct_STRIP=$STRIP
  1652   # Extract the first word of "strip", so it can be a program name with args.
  1653 set dummy strip; ac_word=$2
  1654 echo "$as_me:$LINENO: checking for $ac_word" >&5
  1655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1656 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  1657   echo $ECHO_N "(cached) $ECHO_C" >&6
  1658 else
  1659   if test -n "$ac_ct_STRIP"; then
  1660   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  1661 else
  1662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1663 for as_dir in $PATH
  1664 do
  1665   IFS=$as_save_IFS
  1666   test -z "$as_dir" && as_dir=.
  1667   for ac_exec_ext in '' $ac_executable_extensions; do
  1668   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1669     ac_cv_prog_ac_ct_STRIP="strip"
  1670     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1671     break 2
  1672   fi
  1673 done
  1674 done
  1676   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
  1677 fi
  1678 fi
  1679 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  1680 if test -n "$ac_ct_STRIP"; then
  1681   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  1682 echo "${ECHO_T}$ac_ct_STRIP" >&6
  1683 else
  1684   echo "$as_me:$LINENO: result: no" >&5
  1685 echo "${ECHO_T}no" >&6
  1686 fi
  1688   STRIP=$ac_ct_STRIP
  1689 else
  1690   STRIP="$ac_cv_prog_STRIP"
  1691 fi
  1693 fi
  1694 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  1696 # We need awk for the "check" target.  The system "awk" is bad on
  1697 # some platforms.
  1701 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  1702 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
  1703     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
  1704 if test "${enable_maintainer_mode+set}" = set; then
  1705   enableval="$enable_maintainer_mode"
  1706   USE_MAINTAINER_MODE=$enableval
  1707 else
  1708   USE_MAINTAINER_MODE=no
  1709 fi;
  1710   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  1711 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
  1714 if test $USE_MAINTAINER_MODE = yes; then
  1715   MAINTAINER_MODE_TRUE=
  1716   MAINTAINER_MODE_FALSE='#'
  1717 else
  1718   MAINTAINER_MODE_TRUE='#'
  1719   MAINTAINER_MODE_FALSE=
  1720 fi
  1722   MAINT=$MAINTAINER_MODE_TRUE
  1725           ac_config_headers="$ac_config_headers config.h"
  1728 DEPDIR="${am__leading_dot}deps"
  1730           ac_config_commands="$ac_config_commands depfiles"
  1733 am_make=${MAKE-make}
  1734 cat > confinc << 'END'
  1735 am__doit:
  1736 	@echo done
  1737 .PHONY: am__doit
  1738 END
  1739 # If we don't find an include directive, just comment out the code.
  1740 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  1741 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
  1742 am__include="#"
  1743 am__quote=
  1744 _am_result=none
  1745 # First try GNU make style include.
  1746 echo "include confinc" > confmf
  1747 # We grep out `Entering directory' and `Leaving directory'
  1748 # messages which can occur if `w' ends up in MAKEFLAGS.
  1749 # In particular we don't look at `^make:' because GNU make might
  1750 # be invoked under some other name (usually "gmake"), in which
  1751 # case it prints its new name instead of `make'.
  1752 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  1753    am__include=include
  1754    am__quote=
  1755    _am_result=GNU
  1756 fi
  1757 # Now try BSD make style include.
  1758 if test "$am__include" = "#"; then
  1759    echo '.include "confinc"' > confmf
  1760    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  1761       am__include=.include
  1762       am__quote="\""
  1763       _am_result=BSD
  1764    fi
  1765 fi
  1768 echo "$as_me:$LINENO: result: $_am_result" >&5
  1769 echo "${ECHO_T}$_am_result" >&6
  1770 rm -f confinc confmf
  1772 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
  1773 if test "${enable_dependency_tracking+set}" = set; then
  1774   enableval="$enable_dependency_tracking"
  1776 fi;
  1777 if test "x$enable_dependency_tracking" != xno; then
  1778   am_depcomp="$ac_aux_dir/depcomp"
  1779   AMDEPBACKSLASH='\'
  1780 fi
  1783 if test "x$enable_dependency_tracking" != xno; then
  1784   AMDEP_TRUE=
  1785   AMDEP_FALSE='#'
  1786 else
  1787   AMDEP_TRUE='#'
  1788   AMDEP_FALSE=
  1789 fi
  1793 ac_ext=c
  1794 ac_cpp='$CPP $CPPFLAGS'
  1795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1798 if test -n "$ac_tool_prefix"; then
  1799   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1800 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1801 echo "$as_me:$LINENO: checking for $ac_word" >&5
  1802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1803 if test "${ac_cv_prog_CC+set}" = set; then
  1804   echo $ECHO_N "(cached) $ECHO_C" >&6
  1805 else
  1806   if test -n "$CC"; then
  1807   ac_cv_prog_CC="$CC" # Let the user override the test.
  1808 else
  1809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1810 for as_dir in $PATH
  1811 do
  1812   IFS=$as_save_IFS
  1813   test -z "$as_dir" && as_dir=.
  1814   for ac_exec_ext in '' $ac_executable_extensions; do
  1815   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1816     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1817     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1818     break 2
  1819   fi
  1820 done
  1821 done
  1823 fi
  1824 fi
  1825 CC=$ac_cv_prog_CC
  1826 if test -n "$CC"; then
  1827   echo "$as_me:$LINENO: result: $CC" >&5
  1828 echo "${ECHO_T}$CC" >&6
  1829 else
  1830   echo "$as_me:$LINENO: result: no" >&5
  1831 echo "${ECHO_T}no" >&6
  1832 fi
  1834 fi
  1835 if test -z "$ac_cv_prog_CC"; then
  1836   ac_ct_CC=$CC
  1837   # Extract the first word of "gcc", so it can be a program name with args.
  1838 set dummy gcc; ac_word=$2
  1839 echo "$as_me:$LINENO: checking for $ac_word" >&5
  1840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1841 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1842   echo $ECHO_N "(cached) $ECHO_C" >&6
  1843 else
  1844   if test -n "$ac_ct_CC"; then
  1845   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1846 else
  1847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1848 for as_dir in $PATH
  1849 do
  1850   IFS=$as_save_IFS
  1851   test -z "$as_dir" && as_dir=.
  1852   for ac_exec_ext in '' $ac_executable_extensions; do
  1853   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1854     ac_cv_prog_ac_ct_CC="gcc"
  1855     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1856     break 2
  1857   fi
  1858 done
  1859 done
  1861 fi
  1862 fi
  1863 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1864 if test -n "$ac_ct_CC"; then
  1865   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1866 echo "${ECHO_T}$ac_ct_CC" >&6
  1867 else
  1868   echo "$as_me:$LINENO: result: no" >&5
  1869 echo "${ECHO_T}no" >&6
  1870 fi
  1872   CC=$ac_ct_CC
  1873 else
  1874   CC="$ac_cv_prog_CC"
  1875 fi
  1877 if test -z "$CC"; then
  1878   if test -n "$ac_tool_prefix"; then
  1879   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1880 set dummy ${ac_tool_prefix}cc; ac_word=$2
  1881 echo "$as_me:$LINENO: checking for $ac_word" >&5
  1882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1883 if test "${ac_cv_prog_CC+set}" = set; then
  1884   echo $ECHO_N "(cached) $ECHO_C" >&6
  1885 else
  1886   if test -n "$CC"; then
  1887   ac_cv_prog_CC="$CC" # Let the user override the test.
  1888 else
  1889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1890 for as_dir in $PATH
  1891 do
  1892   IFS=$as_save_IFS
  1893   test -z "$as_dir" && as_dir=.
  1894   for ac_exec_ext in '' $ac_executable_extensions; do
  1895   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1896     ac_cv_prog_CC="${ac_tool_prefix}cc"
  1897     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1898     break 2
  1899   fi
  1900 done
  1901 done
  1903 fi
  1904 fi
  1905 CC=$ac_cv_prog_CC
  1906 if test -n "$CC"; then
  1907   echo "$as_me:$LINENO: result: $CC" >&5
  1908 echo "${ECHO_T}$CC" >&6
  1909 else
  1910   echo "$as_me:$LINENO: result: no" >&5
  1911 echo "${ECHO_T}no" >&6
  1912 fi
  1914 fi
  1915 if test -z "$ac_cv_prog_CC"; then
  1916   ac_ct_CC=$CC
  1917   # Extract the first word of "cc", so it can be a program name with args.
  1918 set dummy cc; ac_word=$2
  1919 echo "$as_me:$LINENO: checking for $ac_word" >&5
  1920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1921 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1922   echo $ECHO_N "(cached) $ECHO_C" >&6
  1923 else
  1924   if test -n "$ac_ct_CC"; then
  1925   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1926 else
  1927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1928 for as_dir in $PATH
  1929 do
  1930   IFS=$as_save_IFS
  1931   test -z "$as_dir" && as_dir=.
  1932   for ac_exec_ext in '' $ac_executable_extensions; do
  1933   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1934     ac_cv_prog_ac_ct_CC="cc"
  1935     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1936     break 2
  1937   fi
  1938 done
  1939 done
  1941 fi
  1942 fi
  1943 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1944 if test -n "$ac_ct_CC"; then
  1945   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1946 echo "${ECHO_T}$ac_ct_CC" >&6
  1947 else
  1948   echo "$as_me:$LINENO: result: no" >&5
  1949 echo "${ECHO_T}no" >&6
  1950 fi
  1952   CC=$ac_ct_CC
  1953 else
  1954   CC="$ac_cv_prog_CC"
  1955 fi
  1957 fi
  1958 if test -z "$CC"; then
  1959   # Extract the first word of "cc", so it can be a program name with args.
  1960 set dummy cc; ac_word=$2
  1961 echo "$as_me:$LINENO: checking for $ac_word" >&5
  1962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1963 if test "${ac_cv_prog_CC+set}" = set; then
  1964   echo $ECHO_N "(cached) $ECHO_C" >&6
  1965 else
  1966   if test -n "$CC"; then
  1967   ac_cv_prog_CC="$CC" # Let the user override the test.
  1968 else
  1969   ac_prog_rejected=no
  1970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1971 for as_dir in $PATH
  1972 do
  1973   IFS=$as_save_IFS
  1974   test -z "$as_dir" && as_dir=.
  1975   for ac_exec_ext in '' $ac_executable_extensions; do
  1976   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1977     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  1978        ac_prog_rejected=yes
  1979        continue
  1980      fi
  1981     ac_cv_prog_CC="cc"
  1982     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1983     break 2
  1984   fi
  1985 done
  1986 done
  1988 if test $ac_prog_rejected = yes; then
  1989   # We found a bogon in the path, so make sure we never use it.
  1990   set dummy $ac_cv_prog_CC
  1991   shift
  1992   if test $# != 0; then
  1993     # We chose a different compiler from the bogus one.
  1994     # However, it has the same basename, so the bogon will be chosen
  1995     # first if we set CC to just the basename; use the full file name.
  1996     shift
  1997     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  1998   fi
  1999 fi
  2000 fi
  2001 fi
  2002 CC=$ac_cv_prog_CC
  2003 if test -n "$CC"; then
  2004   echo "$as_me:$LINENO: result: $CC" >&5
  2005 echo "${ECHO_T}$CC" >&6
  2006 else
  2007   echo "$as_me:$LINENO: result: no" >&5
  2008 echo "${ECHO_T}no" >&6
  2009 fi
  2011 fi
  2012 if test -z "$CC"; then
  2013   if test -n "$ac_tool_prefix"; then
  2014   for ac_prog in cl
  2015   do
  2016     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2017 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2018 echo "$as_me:$LINENO: checking for $ac_word" >&5
  2019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2020 if test "${ac_cv_prog_CC+set}" = set; then
  2021   echo $ECHO_N "(cached) $ECHO_C" >&6
  2022 else
  2023   if test -n "$CC"; then
  2024   ac_cv_prog_CC="$CC" # Let the user override the test.
  2025 else
  2026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2027 for as_dir in $PATH
  2028 do
  2029   IFS=$as_save_IFS
  2030   test -z "$as_dir" && as_dir=.
  2031   for ac_exec_ext in '' $ac_executable_extensions; do
  2032   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2033     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2034     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2035     break 2
  2036   fi
  2037 done
  2038 done
  2040 fi
  2041 fi
  2042 CC=$ac_cv_prog_CC
  2043 if test -n "$CC"; then
  2044   echo "$as_me:$LINENO: result: $CC" >&5
  2045 echo "${ECHO_T}$CC" >&6
  2046 else
  2047   echo "$as_me:$LINENO: result: no" >&5
  2048 echo "${ECHO_T}no" >&6
  2049 fi
  2051     test -n "$CC" && break
  2052   done
  2053 fi
  2054 if test -z "$CC"; then
  2055   ac_ct_CC=$CC
  2056   for ac_prog in cl
  2057 do
  2058   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2059 set dummy $ac_prog; ac_word=$2
  2060 echo "$as_me:$LINENO: checking for $ac_word" >&5
  2061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2062 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2063   echo $ECHO_N "(cached) $ECHO_C" >&6
  2064 else
  2065   if test -n "$ac_ct_CC"; then
  2066   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2067 else
  2068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2069 for as_dir in $PATH
  2070 do
  2071   IFS=$as_save_IFS
  2072   test -z "$as_dir" && as_dir=.
  2073   for ac_exec_ext in '' $ac_executable_extensions; do
  2074   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2075     ac_cv_prog_ac_ct_CC="$ac_prog"
  2076     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2077     break 2
  2078   fi
  2079 done
  2080 done
  2082 fi
  2083 fi
  2084 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2085 if test -n "$ac_ct_CC"; then
  2086   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2087 echo "${ECHO_T}$ac_ct_CC" >&6
  2088 else
  2089   echo "$as_me:$LINENO: result: no" >&5
  2090 echo "${ECHO_T}no" >&6
  2091 fi
  2093   test -n "$ac_ct_CC" && break
  2094 done
  2096   CC=$ac_ct_CC
  2097 fi
  2099 fi
  2102 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2103 See \`config.log' for more details." >&5
  2104 echo "$as_me: error: no acceptable C compiler found in \$PATH
  2105 See \`config.log' for more details." >&2;}
  2106    { (exit 1); exit 1; }; }
  2108 # Provide some information about the compiler.
  2109 echo "$as_me:$LINENO:" \
  2110      "checking for C compiler version" >&5
  2111 ac_compiler=`set X $ac_compile; echo $2`
  2112 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  2113   (eval $ac_compiler --version </dev/null >&5) 2>&5
  2114   ac_status=$?
  2115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2116   (exit $ac_status); }
  2117 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  2118   (eval $ac_compiler -v </dev/null >&5) 2>&5
  2119   ac_status=$?
  2120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2121   (exit $ac_status); }
  2122 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  2123   (eval $ac_compiler -V </dev/null >&5) 2>&5
  2124   ac_status=$?
  2125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2126   (exit $ac_status); }
  2128 cat >conftest.$ac_ext <<_ACEOF
  2129 /* confdefs.h.  */
  2130 _ACEOF
  2131 cat confdefs.h >>conftest.$ac_ext
  2132 cat >>conftest.$ac_ext <<_ACEOF
  2133 /* end confdefs.h.  */
  2135 int
  2136 main ()
  2140   return 0;
  2142 _ACEOF
  2143 ac_clean_files_save=$ac_clean_files
  2144 ac_clean_files="$ac_clean_files a.out a.exe b.out"
  2145 # Try to create an executable without -o first, disregard a.out.
  2146 # It will help us diagnose broken compilers, and finding out an intuition
  2147 # of exeext.
  2148 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2149 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
  2150 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2151 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
  2152   (eval $ac_link_default) 2>&5
  2153   ac_status=$?
  2154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2155   (exit $ac_status); }; then
  2156   # Find the output, starting from the most likely.  This scheme is
  2157 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
  2158 # resort.
  2160 # Be careful to initialize this variable, since it used to be cached.
  2161 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
  2162 ac_cv_exeext=
  2163 # b.out is created by i960 compilers.
  2164 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
  2165 do
  2166   test -f "$ac_file" || continue
  2167   case $ac_file in
  2168     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
  2169 	;;
  2170     conftest.$ac_ext )
  2171 	# This is the source file.
  2172 	;;
  2173     [ab].out )
  2174 	# We found the default executable, but exeext='' is most
  2175 	# certainly right.
  2176 	break;;
  2177     *.* )
  2178 	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2179 	# FIXME: I believe we export ac_cv_exeext for Libtool,
  2180 	# but it would be cool to find out if it's true.  Does anybody
  2181 	# maintain Libtool? --akim.
  2182 	export ac_cv_exeext
  2183 	break;;
  2184     * )
  2185 	break;;
  2186   esac
  2187 done
  2188 else
  2189   echo "$as_me: failed program was:" >&5
  2190 sed 's/^/| /' conftest.$ac_ext >&5
  2192 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  2193 See \`config.log' for more details." >&5
  2194 echo "$as_me: error: C compiler cannot create executables
  2195 See \`config.log' for more details." >&2;}
  2196    { (exit 77); exit 77; }; }
  2197 fi
  2199 ac_exeext=$ac_cv_exeext
  2200 echo "$as_me:$LINENO: result: $ac_file" >&5
  2201 echo "${ECHO_T}$ac_file" >&6
  2203 # Check the compiler produces executables we can run.  If not, either
  2204 # the compiler is broken, or we cross compile.
  2205 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2206 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
  2207 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2208 # If not cross compiling, check that we can run a simple program.
  2209 if test "$cross_compiling" != yes; then
  2210   if { ac_try='./$ac_file'
  2211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2212   (eval $ac_try) 2>&5
  2213   ac_status=$?
  2214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2215   (exit $ac_status); }; }; then
  2216     cross_compiling=no
  2217   else
  2218     if test "$cross_compiling" = maybe; then
  2219 	cross_compiling=yes
  2220     else
  2221 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  2222 If you meant to cross compile, use \`--host'.
  2223 See \`config.log' for more details." >&5
  2224 echo "$as_me: error: cannot run C compiled programs.
  2225 If you meant to cross compile, use \`--host'.
  2226 See \`config.log' for more details." >&2;}
  2227    { (exit 1); exit 1; }; }
  2228     fi
  2229   fi
  2230 fi
  2231 echo "$as_me:$LINENO: result: yes" >&5
  2232 echo "${ECHO_T}yes" >&6
  2234 rm -f a.out a.exe conftest$ac_cv_exeext b.out
  2235 ac_clean_files=$ac_clean_files_save
  2236 # Check the compiler produces executables we can run.  If not, either
  2237 # the compiler is broken, or we cross compile.
  2238 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2239 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
  2240 echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2241 echo "${ECHO_T}$cross_compiling" >&6
  2243 echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2244 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
  2245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2246   (eval $ac_link) 2>&5
  2247   ac_status=$?
  2248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2249   (exit $ac_status); }; then
  2250   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2251 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  2252 # work properly (i.e., refer to `conftest.exe'), while it won't with
  2253 # `rm'.
  2254 for ac_file in conftest.exe conftest conftest.*; do
  2255   test -f "$ac_file" || continue
  2256   case $ac_file in
  2257     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
  2258     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2259 	  export ac_cv_exeext
  2260 	  break;;
  2261     * ) break;;
  2262   esac
  2263 done
  2264 else
  2265   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  2266 See \`config.log' for more details." >&5
  2267 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  2268 See \`config.log' for more details." >&2;}
  2269    { (exit 1); exit 1; }; }
  2270 fi
  2272 rm -f conftest$ac_cv_exeext
  2273 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2274 echo "${ECHO_T}$ac_cv_exeext" >&6
  2276 rm -f conftest.$ac_ext
  2277 EXEEXT=$ac_cv_exeext
  2278 ac_exeext=$EXEEXT
  2279 echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2280 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
  2281 if test "${ac_cv_objext+set}" = set; then
  2282   echo $ECHO_N "(cached) $ECHO_C" >&6
  2283 else
  2284   cat >conftest.$ac_ext <<_ACEOF
  2285 /* confdefs.h.  */
  2286 _ACEOF
  2287 cat confdefs.h >>conftest.$ac_ext
  2288 cat >>conftest.$ac_ext <<_ACEOF
  2289 /* end confdefs.h.  */
  2291 int
  2292 main ()
  2296   return 0;
  2298 _ACEOF
  2299 rm -f conftest.o conftest.obj
  2300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2301   (eval $ac_compile) 2>&5
  2302   ac_status=$?
  2303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2304   (exit $ac_status); }; then
  2305   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
  2306   case $ac_file in
  2307     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
  2308     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2309        break;;
  2310   esac
  2311 done
  2312 else
  2313   echo "$as_me: failed program was:" >&5
  2314 sed 's/^/| /' conftest.$ac_ext >&5
  2316 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  2317 See \`config.log' for more details." >&5
  2318 echo "$as_me: error: cannot compute suffix of object files: cannot compile
  2319 See \`config.log' for more details." >&2;}
  2320    { (exit 1); exit 1; }; }
  2321 fi
  2323 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2324 fi
  2325 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2326 echo "${ECHO_T}$ac_cv_objext" >&6
  2327 OBJEXT=$ac_cv_objext
  2328 ac_objext=$OBJEXT
  2329 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2330 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
  2331 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2332   echo $ECHO_N "(cached) $ECHO_C" >&6
  2333 else
  2334   cat >conftest.$ac_ext <<_ACEOF
  2335 /* confdefs.h.  */
  2336 _ACEOF
  2337 cat confdefs.h >>conftest.$ac_ext
  2338 cat >>conftest.$ac_ext <<_ACEOF
  2339 /* end confdefs.h.  */
  2341 int
  2342 main ()
  2344 #ifndef __GNUC__
  2345        choke me
  2346 #endif
  2349   return 0;
  2351 _ACEOF
  2352 rm -f conftest.$ac_objext
  2353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2354   (eval $ac_compile) 2>conftest.er1
  2355   ac_status=$?
  2356   grep -v '^ *+' conftest.er1 >conftest.err
  2357   rm -f conftest.er1
  2358   cat conftest.err >&5
  2359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2360   (exit $ac_status); } &&
  2361 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  2362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2363   (eval $ac_try) 2>&5
  2364   ac_status=$?
  2365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2366   (exit $ac_status); }; } &&
  2367 	 { ac_try='test -s conftest.$ac_objext'
  2368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2369   (eval $ac_try) 2>&5
  2370   ac_status=$?
  2371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2372   (exit $ac_status); }; }; then
  2373   ac_compiler_gnu=yes
  2374 else
  2375   echo "$as_me: failed program was:" >&5
  2376 sed 's/^/| /' conftest.$ac_ext >&5
  2378 ac_compiler_gnu=no
  2379 fi
  2380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2381 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2383 fi
  2384 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2385 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
  2386 GCC=`test $ac_compiler_gnu = yes && echo yes`
  2387 ac_test_CFLAGS=${CFLAGS+set}
  2388 ac_save_CFLAGS=$CFLAGS
  2389 CFLAGS="-g"
  2390 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2391 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
  2392 if test "${ac_cv_prog_cc_g+set}" = set; then
  2393   echo $ECHO_N "(cached) $ECHO_C" >&6
  2394 else
  2395   cat >conftest.$ac_ext <<_ACEOF
  2396 /* confdefs.h.  */
  2397 _ACEOF
  2398 cat confdefs.h >>conftest.$ac_ext
  2399 cat >>conftest.$ac_ext <<_ACEOF
  2400 /* end confdefs.h.  */
  2402 int
  2403 main ()
  2407   return 0;
  2409 _ACEOF
  2410 rm -f conftest.$ac_objext
  2411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2412   (eval $ac_compile) 2>conftest.er1
  2413   ac_status=$?
  2414   grep -v '^ *+' conftest.er1 >conftest.err
  2415   rm -f conftest.er1
  2416   cat conftest.err >&5
  2417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2418   (exit $ac_status); } &&
  2419 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  2420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2421   (eval $ac_try) 2>&5
  2422   ac_status=$?
  2423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2424   (exit $ac_status); }; } &&
  2425 	 { ac_try='test -s conftest.$ac_objext'
  2426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2427   (eval $ac_try) 2>&5
  2428   ac_status=$?
  2429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2430   (exit $ac_status); }; }; then
  2431   ac_cv_prog_cc_g=yes
  2432 else
  2433   echo "$as_me: failed program was:" >&5
  2434 sed 's/^/| /' conftest.$ac_ext >&5
  2436 ac_cv_prog_cc_g=no
  2437 fi
  2438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2439 fi
  2440 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  2441 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
  2442 if test "$ac_test_CFLAGS" = set; then
  2443   CFLAGS=$ac_save_CFLAGS
  2444 elif test $ac_cv_prog_cc_g = yes; then
  2445   if test "$GCC" = yes; then
  2446     CFLAGS="-g -O2"
  2447   else
  2448     CFLAGS="-g"
  2449   fi
  2450 else
  2451   if test "$GCC" = yes; then
  2452     CFLAGS="-O2"
  2453   else
  2454     CFLAGS=
  2455   fi
  2456 fi
  2457 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
  2458 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
  2459 if test "${ac_cv_prog_cc_stdc+set}" = set; then
  2460   echo $ECHO_N "(cached) $ECHO_C" >&6
  2461 else
  2462   ac_cv_prog_cc_stdc=no
  2463 ac_save_CC=$CC
  2464 cat >conftest.$ac_ext <<_ACEOF
  2465 /* confdefs.h.  */
  2466 _ACEOF
  2467 cat confdefs.h >>conftest.$ac_ext
  2468 cat >>conftest.$ac_ext <<_ACEOF
  2469 /* end confdefs.h.  */
  2470 #include <stdarg.h>
  2471 #include <stdio.h>
  2472 #include <sys/types.h>
  2473 #include <sys/stat.h>
  2474 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  2475 struct buf { int x; };
  2476 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  2477 static char *e (p, i)
  2478      char **p;
  2479      int i;
  2481   return p[i];
  2483 static char *f (char * (*g) (char **, int), char **p, ...)
  2485   char *s;
  2486   va_list v;
  2487   va_start (v,p);
  2488   s = g (p, va_arg (v,int));
  2489   va_end (v);
  2490   return s;
  2493 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  2494    function prototypes and stuff, but not '\xHH' hex character constants.
  2495    These don't provoke an error unfortunately, instead are silently treated
  2496    as 'x'.  The following induces an error, until -std1 is added to get
  2497    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  2498    array size at least.  It's necessary to write '\x00'==0 to get something
  2499    that's true only with -std1.  */
  2500 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  2502 int test (int i, double x);
  2503 struct s1 {int (*f) (int a);};
  2504 struct s2 {int (*f) (double a);};
  2505 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  2506 int argc;
  2507 char **argv;
  2508 int
  2509 main ()
  2511 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  2513   return 0;
  2515 _ACEOF
  2516 # Don't try gcc -ansi; that turns off useful extensions and
  2517 # breaks some systems' header files.
  2518 # AIX			-qlanglvl=ansi
  2519 # Ultrix and OSF/1	-std1
  2520 # HP-UX 10.20 and later	-Ae
  2521 # HP-UX older versions	-Aa -D_HPUX_SOURCE
  2522 # SVR4			-Xc -D__EXTENSIONS__
  2523 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2524 do
  2525   CC="$ac_save_CC $ac_arg"
  2526   rm -f conftest.$ac_objext
  2527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2528   (eval $ac_compile) 2>conftest.er1
  2529   ac_status=$?
  2530   grep -v '^ *+' conftest.er1 >conftest.err
  2531   rm -f conftest.er1
  2532   cat conftest.err >&5
  2533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2534   (exit $ac_status); } &&
  2535 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  2536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2537   (eval $ac_try) 2>&5
  2538   ac_status=$?
  2539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2540   (exit $ac_status); }; } &&
  2541 	 { ac_try='test -s conftest.$ac_objext'
  2542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2543   (eval $ac_try) 2>&5
  2544   ac_status=$?
  2545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2546   (exit $ac_status); }; }; then
  2547   ac_cv_prog_cc_stdc=$ac_arg
  2548 break
  2549 else
  2550   echo "$as_me: failed program was:" >&5
  2551 sed 's/^/| /' conftest.$ac_ext >&5
  2553 fi
  2554 rm -f conftest.err conftest.$ac_objext
  2555 done
  2556 rm -f conftest.$ac_ext conftest.$ac_objext
  2557 CC=$ac_save_CC
  2559 fi
  2561 case "x$ac_cv_prog_cc_stdc" in
  2562   x|xno)
  2563     echo "$as_me:$LINENO: result: none needed" >&5
  2564 echo "${ECHO_T}none needed" >&6 ;;
  2565   *)
  2566     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
  2567 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
  2568     CC="$CC $ac_cv_prog_cc_stdc" ;;
  2569 esac
  2571 # Some people use a C++ compiler to compile C.  Since we use `exit',
  2572 # in C++ we need to declare it.  In case someone uses the same compiler
  2573 # for both compiling C and C++ we need to have the C++ compiler decide
  2574 # the declaration of exit, since it's the most demanding environment.
  2575 cat >conftest.$ac_ext <<_ACEOF
  2576 #ifndef __cplusplus
  2577   choke me
  2578 #endif
  2579 _ACEOF
  2580 rm -f conftest.$ac_objext
  2581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2582   (eval $ac_compile) 2>conftest.er1
  2583   ac_status=$?
  2584   grep -v '^ *+' conftest.er1 >conftest.err
  2585   rm -f conftest.er1
  2586   cat conftest.err >&5
  2587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2588   (exit $ac_status); } &&
  2589 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  2590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2591   (eval $ac_try) 2>&5
  2592   ac_status=$?
  2593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2594   (exit $ac_status); }; } &&
  2595 	 { ac_try='test -s conftest.$ac_objext'
  2596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2597   (eval $ac_try) 2>&5
  2598   ac_status=$?
  2599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2600   (exit $ac_status); }; }; then
  2601   for ac_declaration in \
  2602    '' \
  2603    'extern "C" void std::exit (int) throw (); using std::exit;' \
  2604    'extern "C" void std::exit (int); using std::exit;' \
  2605    'extern "C" void exit (int) throw ();' \
  2606    'extern "C" void exit (int);' \
  2607    'void exit (int);'
  2608 do
  2609   cat >conftest.$ac_ext <<_ACEOF
  2610 /* confdefs.h.  */
  2611 _ACEOF
  2612 cat confdefs.h >>conftest.$ac_ext
  2613 cat >>conftest.$ac_ext <<_ACEOF
  2614 /* end confdefs.h.  */
  2615 $ac_declaration
  2616 #include <stdlib.h>
  2617 int
  2618 main ()
  2620 exit (42);
  2622   return 0;
  2624 _ACEOF
  2625 rm -f conftest.$ac_objext
  2626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2627   (eval $ac_compile) 2>conftest.er1
  2628   ac_status=$?
  2629   grep -v '^ *+' conftest.er1 >conftest.err
  2630   rm -f conftest.er1
  2631   cat conftest.err >&5
  2632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2633   (exit $ac_status); } &&
  2634 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  2635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2636   (eval $ac_try) 2>&5
  2637   ac_status=$?
  2638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2639   (exit $ac_status); }; } &&
  2640 	 { ac_try='test -s conftest.$ac_objext'
  2641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2642   (eval $ac_try) 2>&5
  2643   ac_status=$?
  2644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2645   (exit $ac_status); }; }; then
  2647 else
  2648   echo "$as_me: failed program was:" >&5
  2649 sed 's/^/| /' conftest.$ac_ext >&5
  2651 continue
  2652 fi
  2653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2654   cat >conftest.$ac_ext <<_ACEOF
  2655 /* confdefs.h.  */
  2656 _ACEOF
  2657 cat confdefs.h >>conftest.$ac_ext
  2658 cat >>conftest.$ac_ext <<_ACEOF
  2659 /* end confdefs.h.  */
  2660 $ac_declaration
  2661 int
  2662 main ()
  2664 exit (42);
  2666   return 0;
  2668 _ACEOF
  2669 rm -f conftest.$ac_objext
  2670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2671   (eval $ac_compile) 2>conftest.er1
  2672   ac_status=$?
  2673   grep -v '^ *+' conftest.er1 >conftest.err
  2674   rm -f conftest.er1
  2675   cat conftest.err >&5
  2676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2677   (exit $ac_status); } &&
  2678 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  2679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2680   (eval $ac_try) 2>&5
  2681   ac_status=$?
  2682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2683   (exit $ac_status); }; } &&
  2684 	 { ac_try='test -s conftest.$ac_objext'
  2685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2686   (eval $ac_try) 2>&5
  2687   ac_status=$?
  2688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2689   (exit $ac_status); }; }; then
  2690   break
  2691 else
  2692   echo "$as_me: failed program was:" >&5
  2693 sed 's/^/| /' conftest.$ac_ext >&5
  2695 fi
  2696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2697 done
  2698 rm -f conftest*
  2699 if test -n "$ac_declaration"; then
  2700   echo '#ifdef __cplusplus' >>confdefs.h
  2701   echo $ac_declaration      >>confdefs.h
  2702   echo '#endif'             >>confdefs.h
  2703 fi
  2705 else
  2706   echo "$as_me: failed program was:" >&5
  2707 sed 's/^/| /' conftest.$ac_ext >&5
  2709 fi
  2710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2711 ac_ext=c
  2712 ac_cpp='$CPP $CPPFLAGS'
  2713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2717 depcc="$CC"   am_compiler_list=
  2719 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  2720 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
  2721 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  2722   echo $ECHO_N "(cached) $ECHO_C" >&6
  2723 else
  2724   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  2725   # We make a subdir and do the tests there.  Otherwise we can end up
  2726   # making bogus files that we don't know about and never remove.  For
  2727   # instance it was reported that on HP-UX the gcc test will end up
  2728   # making a dummy file named `D' -- because `-MD' means `put the output
  2729   # in D'.
  2730   mkdir conftest.dir
  2731   # Copy depcomp to subdir because otherwise we won't find it if we're
  2732   # using a relative directory.
  2733   cp "$am_depcomp" conftest.dir
  2734   cd conftest.dir
  2735   # We will build objects and dependencies in a subdirectory because
  2736   # it helps to detect inapplicable dependency modes.  For instance
  2737   # both Tru64's cc and ICC support -MD to output dependencies as a
  2738   # side effect of compilation, but ICC will put the dependencies in
  2739   # the current directory while Tru64 will put them in the object
  2740   # directory.
  2741   mkdir sub
  2743   am_cv_CC_dependencies_compiler_type=none
  2744   if test "$am_compiler_list" = ""; then
  2745      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  2746   fi
  2747   for depmode in $am_compiler_list; do
  2748     # Setup a source with many dependencies, because some compilers
  2749     # like to wrap large dependency lists on column 80 (with \), and
  2750     # we should not choose a depcomp mode which is confused by this.
  2752     # We need to recreate these files for each test, as the compiler may
  2753     # overwrite some of them when testing with obscure command lines.
  2754     # This happens at least with the AIX C compiler.
  2755     : > sub/conftest.c
  2756     for i in 1 2 3 4 5 6; do
  2757       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  2758       : > sub/conftst$i.h
  2759     done
  2760     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  2762     case $depmode in
  2763     nosideeffect)
  2764       # after this tag, mechanisms are not by side-effect, so they'll
  2765       # only be used when explicitly requested
  2766       if test "x$enable_dependency_tracking" = xyes; then
  2767 	continue
  2768       else
  2769 	break
  2770       fi
  2771       ;;
  2772     none) break ;;
  2773     esac
  2774     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  2775     # mode.  It turns out that the SunPro C++ compiler does not properly
  2776     # handle `-M -o', and we need to detect this.
  2777     if depmode=$depmode \
  2778        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  2779        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  2780        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  2781          >/dev/null 2>conftest.err &&
  2782        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  2783        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  2784        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  2785       # icc doesn't choke on unknown options, it will just issue warnings
  2786       # (even with -Werror).  So we grep stderr for any message
  2787       # that says an option was ignored.
  2788       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
  2789         am_cv_CC_dependencies_compiler_type=$depmode
  2790         break
  2791       fi
  2792     fi
  2793   done
  2795   cd ..
  2796   rm -rf conftest.dir
  2797 else
  2798   am_cv_CC_dependencies_compiler_type=none
  2799 fi
  2801 fi
  2802 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  2803 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
  2804 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  2808 if
  2809   test "x$enable_dependency_tracking" != xno \
  2810   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  2811   am__fastdepCC_TRUE=
  2812   am__fastdepCC_FALSE='#'
  2813 else
  2814   am__fastdepCC_TRUE='#'
  2815   am__fastdepCC_FALSE=
  2816 fi
  2821         echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
  2822 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
  2823 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
  2824   echo $ECHO_N "(cached) $ECHO_C" >&6
  2825 else
  2826   ac_check_lib_save_LIBS=$LIBS
  2827 LIBS="-lcposix  $LIBS"
  2828 cat >conftest.$ac_ext <<_ACEOF
  2829 /* confdefs.h.  */
  2830 _ACEOF
  2831 cat confdefs.h >>conftest.$ac_ext
  2832 cat >>conftest.$ac_ext <<_ACEOF
  2833 /* end confdefs.h.  */
  2835 /* Override any gcc2 internal prototype to avoid an error.  */
  2836 #ifdef __cplusplus
  2837 extern "C"
  2838 #endif
  2839 /* We use char because int might match the return type of a gcc2
  2840    builtin and then its argument prototype would still apply.  */
  2841 char strerror ();
  2842 int
  2843 main ()
  2845 strerror ();
  2847   return 0;
  2849 _ACEOF
  2850 rm -f conftest.$ac_objext conftest$ac_exeext
  2851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2852   (eval $ac_link) 2>conftest.er1
  2853   ac_status=$?
  2854   grep -v '^ *+' conftest.er1 >conftest.err
  2855   rm -f conftest.er1
  2856   cat conftest.err >&5
  2857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2858   (exit $ac_status); } &&
  2859 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  2860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2861   (eval $ac_try) 2>&5
  2862   ac_status=$?
  2863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2864   (exit $ac_status); }; } &&
  2865 	 { ac_try='test -s conftest$ac_exeext'
  2866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2867   (eval $ac_try) 2>&5
  2868   ac_status=$?
  2869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2870   (exit $ac_status); }; }; then
  2871   ac_cv_lib_cposix_strerror=yes
  2872 else
  2873   echo "$as_me: failed program was:" >&5
  2874 sed 's/^/| /' conftest.$ac_ext >&5
  2876 ac_cv_lib_cposix_strerror=no
  2877 fi
  2878 rm -f conftest.err conftest.$ac_objext \
  2879       conftest$ac_exeext conftest.$ac_ext
  2880 LIBS=$ac_check_lib_save_LIBS
  2881 fi
  2882 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
  2883 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
  2884 if test $ac_cv_lib_cposix_strerror = yes; then
  2885   LIBS="$LIBS -lcposix"
  2886 fi
  2890 ac_ext=c
  2891 ac_cpp='$CPP $CPPFLAGS'
  2892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2895 if test -n "$ac_tool_prefix"; then
  2896   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2897 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2898 echo "$as_me:$LINENO: checking for $ac_word" >&5
  2899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2900 if test "${ac_cv_prog_CC+set}" = set; then
  2901   echo $ECHO_N "(cached) $ECHO_C" >&6
  2902 else
  2903   if test -n "$CC"; then
  2904   ac_cv_prog_CC="$CC" # Let the user override the test.
  2905 else
  2906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2907 for as_dir in $PATH
  2908 do
  2909   IFS=$as_save_IFS
  2910   test -z "$as_dir" && as_dir=.
  2911   for ac_exec_ext in '' $ac_executable_extensions; do
  2912   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2913     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2914     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2915     break 2
  2916   fi
  2917 done
  2918 done
  2920 fi
  2921 fi
  2922 CC=$ac_cv_prog_CC
  2923 if test -n "$CC"; then
  2924   echo "$as_me:$LINENO: result: $CC" >&5
  2925 echo "${ECHO_T}$CC" >&6
  2926 else
  2927   echo "$as_me:$LINENO: result: no" >&5
  2928 echo "${ECHO_T}no" >&6
  2929 fi
  2931 fi
  2932 if test -z "$ac_cv_prog_CC"; then
  2933   ac_ct_CC=$CC
  2934   # Extract the first word of "gcc", so it can be a program name with args.
  2935 set dummy gcc; ac_word=$2
  2936 echo "$as_me:$LINENO: checking for $ac_word" >&5
  2937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2938 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2939   echo $ECHO_N "(cached) $ECHO_C" >&6
  2940 else
  2941   if test -n "$ac_ct_CC"; then
  2942   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2943 else
  2944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2945 for as_dir in $PATH
  2946 do
  2947   IFS=$as_save_IFS
  2948   test -z "$as_dir" && as_dir=.
  2949   for ac_exec_ext in '' $ac_executable_extensions; do
  2950   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2951     ac_cv_prog_ac_ct_CC="gcc"
  2952     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2953     break 2
  2954   fi
  2955 done
  2956 done
  2958 fi
  2959 fi
  2960 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2961 if test -n "$ac_ct_CC"; then
  2962   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2963 echo "${ECHO_T}$ac_ct_CC" >&6
  2964 else
  2965   echo "$as_me:$LINENO: result: no" >&5
  2966 echo "${ECHO_T}no" >&6
  2967 fi
  2969   CC=$ac_ct_CC
  2970 else
  2971   CC="$ac_cv_prog_CC"
  2972 fi
  2974 if test -z "$CC"; then
  2975   if test -n "$ac_tool_prefix"; then
  2976   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2977 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2978 echo "$as_me:$LINENO: checking for $ac_word" >&5
  2979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2980 if test "${ac_cv_prog_CC+set}" = set; then
  2981   echo $ECHO_N "(cached) $ECHO_C" >&6
  2982 else
  2983   if test -n "$CC"; then
  2984   ac_cv_prog_CC="$CC" # Let the user override the test.
  2985 else
  2986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2987 for as_dir in $PATH
  2988 do
  2989   IFS=$as_save_IFS
  2990   test -z "$as_dir" && as_dir=.
  2991   for ac_exec_ext in '' $ac_executable_extensions; do
  2992   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2993     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2994     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2995     break 2
  2996   fi
  2997 done
  2998 done
  3000 fi
  3001 fi
  3002 CC=$ac_cv_prog_CC
  3003 if test -n "$CC"; then
  3004   echo "$as_me:$LINENO: result: $CC" >&5
  3005 echo "${ECHO_T}$CC" >&6
  3006 else
  3007   echo "$as_me:$LINENO: result: no" >&5
  3008 echo "${ECHO_T}no" >&6
  3009 fi
  3011 fi
  3012 if test -z "$ac_cv_prog_CC"; then
  3013   ac_ct_CC=$CC
  3014   # Extract the first word of "cc", so it can be a program name with args.
  3015 set dummy cc; ac_word=$2
  3016 echo "$as_me:$LINENO: checking for $ac_word" >&5
  3017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  3018 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3019   echo $ECHO_N "(cached) $ECHO_C" >&6
  3020 else
  3021   if test -n "$ac_ct_CC"; then
  3022   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3023 else
  3024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3025 for as_dir in $PATH
  3026 do
  3027   IFS=$as_save_IFS
  3028   test -z "$as_dir" && as_dir=.
  3029   for ac_exec_ext in '' $ac_executable_extensions; do
  3030   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3031     ac_cv_prog_ac_ct_CC="cc"
  3032     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3033     break 2
  3034   fi
  3035 done
  3036 done
  3038 fi
  3039 fi
  3040 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3041 if test -n "$ac_ct_CC"; then
  3042   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3043 echo "${ECHO_T}$ac_ct_CC" >&6
  3044 else
  3045   echo "$as_me:$LINENO: result: no" >&5
  3046 echo "${ECHO_T}no" >&6
  3047 fi
  3049   CC=$ac_ct_CC
  3050 else
  3051   CC="$ac_cv_prog_CC"
  3052 fi
  3054 fi
  3055 if test -z "$CC"; then
  3056   # Extract the first word of "cc", so it can be a program name with args.
  3057 set dummy cc; ac_word=$2
  3058 echo "$as_me:$LINENO: checking for $ac_word" >&5
  3059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  3060 if test "${ac_cv_prog_CC+set}" = set; then
  3061   echo $ECHO_N "(cached) $ECHO_C" >&6
  3062 else
  3063   if test -n "$CC"; then
  3064   ac_cv_prog_CC="$CC" # Let the user override the test.
  3065 else
  3066   ac_prog_rejected=no
  3067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3068 for as_dir in $PATH
  3069 do
  3070   IFS=$as_save_IFS
  3071   test -z "$as_dir" && as_dir=.
  3072   for ac_exec_ext in '' $ac_executable_extensions; do
  3073   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3074     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3075        ac_prog_rejected=yes
  3076        continue
  3077      fi
  3078     ac_cv_prog_CC="cc"
  3079     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3080     break 2
  3081   fi
  3082 done
  3083 done
  3085 if test $ac_prog_rejected = yes; then
  3086   # We found a bogon in the path, so make sure we never use it.
  3087   set dummy $ac_cv_prog_CC
  3088   shift
  3089   if test $# != 0; then
  3090     # We chose a different compiler from the bogus one.
  3091     # However, it has the same basename, so the bogon will be chosen
  3092     # first if we set CC to just the basename; use the full file name.
  3093     shift
  3094     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3095   fi
  3096 fi
  3097 fi
  3098 fi
  3099 CC=$ac_cv_prog_CC
  3100 if test -n "$CC"; then
  3101   echo "$as_me:$LINENO: result: $CC" >&5
  3102 echo "${ECHO_T}$CC" >&6
  3103 else
  3104   echo "$as_me:$LINENO: result: no" >&5
  3105 echo "${ECHO_T}no" >&6
  3106 fi
  3108 fi
  3109 if test -z "$CC"; then
  3110   if test -n "$ac_tool_prefix"; then
  3111   for ac_prog in cl
  3112   do
  3113     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3114 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3115 echo "$as_me:$LINENO: checking for $ac_word" >&5
  3116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  3117 if test "${ac_cv_prog_CC+set}" = set; then
  3118   echo $ECHO_N "(cached) $ECHO_C" >&6
  3119 else
  3120   if test -n "$CC"; then
  3121   ac_cv_prog_CC="$CC" # Let the user override the test.
  3122 else
  3123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3124 for as_dir in $PATH
  3125 do
  3126   IFS=$as_save_IFS
  3127   test -z "$as_dir" && as_dir=.
  3128   for ac_exec_ext in '' $ac_executable_extensions; do
  3129   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3130     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3131     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3132     break 2
  3133   fi
  3134 done
  3135 done
  3137 fi
  3138 fi
  3139 CC=$ac_cv_prog_CC
  3140 if test -n "$CC"; then
  3141   echo "$as_me:$LINENO: result: $CC" >&5
  3142 echo "${ECHO_T}$CC" >&6
  3143 else
  3144   echo "$as_me:$LINENO: result: no" >&5
  3145 echo "${ECHO_T}no" >&6
  3146 fi
  3148     test -n "$CC" && break
  3149   done
  3150 fi
  3151 if test -z "$CC"; then
  3152   ac_ct_CC=$CC
  3153   for ac_prog in cl
  3154 do
  3155   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3156 set dummy $ac_prog; ac_word=$2
  3157 echo "$as_me:$LINENO: checking for $ac_word" >&5
  3158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  3159 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3160   echo $ECHO_N "(cached) $ECHO_C" >&6
  3161 else
  3162   if test -n "$ac_ct_CC"; then
  3163   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3164 else
  3165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3166 for as_dir in $PATH
  3167 do
  3168   IFS=$as_save_IFS
  3169   test -z "$as_dir" && as_dir=.
  3170   for ac_exec_ext in '' $ac_executable_extensions; do
  3171   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3172     ac_cv_prog_ac_ct_CC="$ac_prog"
  3173     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3174     break 2
  3175   fi
  3176 done
  3177 done
  3179 fi
  3180 fi
  3181 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3182 if test -n "$ac_ct_CC"; then
  3183   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3184 echo "${ECHO_T}$ac_ct_CC" >&6
  3185 else
  3186   echo "$as_me:$LINENO: result: no" >&5
  3187 echo "${ECHO_T}no" >&6
  3188 fi
  3190   test -n "$ac_ct_CC" && break
  3191 done
  3193   CC=$ac_ct_CC
  3194 fi
  3196 fi
  3199 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  3200 See \`config.log' for more details." >&5
  3201 echo "$as_me: error: no acceptable C compiler found in \$PATH
  3202 See \`config.log' for more details." >&2;}
  3203    { (exit 1); exit 1; }; }
  3205 # Provide some information about the compiler.
  3206 echo "$as_me:$LINENO:" \
  3207      "checking for C compiler version" >&5
  3208 ac_compiler=`set X $ac_compile; echo $2`
  3209 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  3210   (eval $ac_compiler --version </dev/null >&5) 2>&5
  3211   ac_status=$?
  3212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3213   (exit $ac_status); }
  3214 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  3215   (eval $ac_compiler -v </dev/null >&5) 2>&5
  3216   ac_status=$?
  3217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3218   (exit $ac_status); }
  3219 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  3220   (eval $ac_compiler -V </dev/null >&5) 2>&5
  3221   ac_status=$?
  3222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3223   (exit $ac_status); }
  3225 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3226 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
  3227 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3228   echo $ECHO_N "(cached) $ECHO_C" >&6
  3229 else
  3230   cat >conftest.$ac_ext <<_ACEOF
  3231 /* confdefs.h.  */
  3232 _ACEOF
  3233 cat confdefs.h >>conftest.$ac_ext
  3234 cat >>conftest.$ac_ext <<_ACEOF
  3235 /* end confdefs.h.  */
  3237 int
  3238 main ()
  3240 #ifndef __GNUC__
  3241        choke me
  3242 #endif
  3245   return 0;
  3247 _ACEOF
  3248 rm -f conftest.$ac_objext
  3249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3250   (eval $ac_compile) 2>conftest.er1
  3251   ac_status=$?
  3252   grep -v '^ *+' conftest.er1 >conftest.err
  3253   rm -f conftest.er1
  3254   cat conftest.err >&5
  3255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3256   (exit $ac_status); } &&
  3257 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  3258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3259   (eval $ac_try) 2>&5
  3260   ac_status=$?
  3261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3262   (exit $ac_status); }; } &&
  3263 	 { ac_try='test -s conftest.$ac_objext'
  3264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3265   (eval $ac_try) 2>&5
  3266   ac_status=$?
  3267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3268   (exit $ac_status); }; }; then
  3269   ac_compiler_gnu=yes
  3270 else
  3271   echo "$as_me: failed program was:" >&5
  3272 sed 's/^/| /' conftest.$ac_ext >&5
  3274 ac_compiler_gnu=no
  3275 fi
  3276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3277 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3279 fi
  3280 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3281 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
  3282 GCC=`test $ac_compiler_gnu = yes && echo yes`
  3283 ac_test_CFLAGS=${CFLAGS+set}
  3284 ac_save_CFLAGS=$CFLAGS
  3285 CFLAGS="-g"
  3286 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3287 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
  3288 if test "${ac_cv_prog_cc_g+set}" = set; then
  3289   echo $ECHO_N "(cached) $ECHO_C" >&6
  3290 else
  3291   cat >conftest.$ac_ext <<_ACEOF
  3292 /* confdefs.h.  */
  3293 _ACEOF
  3294 cat confdefs.h >>conftest.$ac_ext
  3295 cat >>conftest.$ac_ext <<_ACEOF
  3296 /* end confdefs.h.  */
  3298 int
  3299 main ()
  3303   return 0;
  3305 _ACEOF
  3306 rm -f conftest.$ac_objext
  3307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3308   (eval $ac_compile) 2>conftest.er1
  3309   ac_status=$?
  3310   grep -v '^ *+' conftest.er1 >conftest.err
  3311   rm -f conftest.er1
  3312   cat conftest.err >&5
  3313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3314   (exit $ac_status); } &&
  3315 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  3316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3317   (eval $ac_try) 2>&5
  3318   ac_status=$?
  3319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3320   (exit $ac_status); }; } &&
  3321 	 { ac_try='test -s conftest.$ac_objext'
  3322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3323   (eval $ac_try) 2>&5
  3324   ac_status=$?
  3325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3326   (exit $ac_status); }; }; then
  3327   ac_cv_prog_cc_g=yes
  3328 else
  3329   echo "$as_me: failed program was:" >&5
  3330 sed 's/^/| /' conftest.$ac_ext >&5
  3332 ac_cv_prog_cc_g=no
  3333 fi
  3334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3335 fi
  3336 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3337 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
  3338 if test "$ac_test_CFLAGS" = set; then
  3339   CFLAGS=$ac_save_CFLAGS
  3340 elif test $ac_cv_prog_cc_g = yes; then
  3341   if test "$GCC" = yes; then
  3342     CFLAGS="-g -O2"
  3343   else
  3344     CFLAGS="-g"
  3345   fi
  3346 else
  3347   if test "$GCC" = yes; then
  3348     CFLAGS="-O2"
  3349   else
  3350     CFLAGS=
  3351   fi
  3352 fi
  3353 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
  3354 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
  3355 if test "${ac_cv_prog_cc_stdc+set}" = set; then
  3356   echo $ECHO_N "(cached) $ECHO_C" >&6
  3357 else
  3358   ac_cv_prog_cc_stdc=no
  3359 ac_save_CC=$CC
  3360 cat >conftest.$ac_ext <<_ACEOF
  3361 /* confdefs.h.  */
  3362 _ACEOF
  3363 cat confdefs.h >>conftest.$ac_ext
  3364 cat >>conftest.$ac_ext <<_ACEOF
  3365 /* end confdefs.h.  */
  3366 #include <stdarg.h>
  3367 #include <stdio.h>
  3368 #include <sys/types.h>
  3369 #include <sys/stat.h>
  3370 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3371 struct buf { int x; };
  3372 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3373 static char *e (p, i)
  3374      char **p;
  3375      int i;
  3377   return p[i];
  3379 static char *f (char * (*g) (char **, int), char **p, ...)
  3381   char *s;
  3382   va_list v;
  3383   va_start (v,p);
  3384   s = g (p, va_arg (v,int));
  3385   va_end (v);
  3386   return s;
  3389 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3390    function prototypes and stuff, but not '\xHH' hex character constants.
  3391    These don't provoke an error unfortunately, instead are silently treated
  3392    as 'x'.  The following induces an error, until -std1 is added to get
  3393    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3394    array size at least.  It's necessary to write '\x00'==0 to get something
  3395    that's true only with -std1.  */
  3396 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3398 int test (int i, double x);
  3399 struct s1 {int (*f) (int a);};
  3400 struct s2 {int (*f) (double a);};
  3401 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3402 int argc;
  3403 char **argv;
  3404 int
  3405 main ()
  3407 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3409   return 0;
  3411 _ACEOF
  3412 # Don't try gcc -ansi; that turns off useful extensions and
  3413 # breaks some systems' header files.
  3414 # AIX			-qlanglvl=ansi
  3415 # Ultrix and OSF/1	-std1
  3416 # HP-UX 10.20 and later	-Ae
  3417 # HP-UX older versions	-Aa -D_HPUX_SOURCE
  3418 # SVR4			-Xc -D__EXTENSIONS__
  3419 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3420 do
  3421   CC="$ac_save_CC $ac_arg"
  3422   rm -f conftest.$ac_objext
  3423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3424   (eval $ac_compile) 2>conftest.er1
  3425   ac_status=$?
  3426   grep -v '^ *+' conftest.er1 >conftest.err
  3427   rm -f conftest.er1
  3428   cat conftest.err >&5
  3429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3430   (exit $ac_status); } &&
  3431 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  3432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3433   (eval $ac_try) 2>&5
  3434   ac_status=$?
  3435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3436   (exit $ac_status); }; } &&
  3437 	 { ac_try='test -s conftest.$ac_objext'
  3438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3439   (eval $ac_try) 2>&5
  3440   ac_status=$?
  3441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3442   (exit $ac_status); }; }; then
  3443   ac_cv_prog_cc_stdc=$ac_arg
  3444 break
  3445 else
  3446   echo "$as_me: failed program was:" >&5
  3447 sed 's/^/| /' conftest.$ac_ext >&5
  3449 fi
  3450 rm -f conftest.err conftest.$ac_objext
  3451 done
  3452 rm -f conftest.$ac_ext conftest.$ac_objext
  3453 CC=$ac_save_CC
  3455 fi
  3457 case "x$ac_cv_prog_cc_stdc" in
  3458   x|xno)
  3459     echo "$as_me:$LINENO: result: none needed" >&5
  3460 echo "${ECHO_T}none needed" >&6 ;;
  3461   *)
  3462     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
  3463 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
  3464     CC="$CC $ac_cv_prog_cc_stdc" ;;
  3465 esac
  3467 # Some people use a C++ compiler to compile C.  Since we use `exit',
  3468 # in C++ we need to declare it.  In case someone uses the same compiler
  3469 # for both compiling C and C++ we need to have the C++ compiler decide
  3470 # the declaration of exit, since it's the most demanding environment.
  3471 cat >conftest.$ac_ext <<_ACEOF
  3472 #ifndef __cplusplus
  3473   choke me
  3474 #endif
  3475 _ACEOF
  3476 rm -f conftest.$ac_objext
  3477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3478   (eval $ac_compile) 2>conftest.er1
  3479   ac_status=$?
  3480   grep -v '^ *+' conftest.er1 >conftest.err
  3481   rm -f conftest.er1
  3482   cat conftest.err >&5
  3483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3484   (exit $ac_status); } &&
  3485 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  3486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3487   (eval $ac_try) 2>&5
  3488   ac_status=$?
  3489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3490   (exit $ac_status); }; } &&
  3491 	 { ac_try='test -s conftest.$ac_objext'
  3492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3493   (eval $ac_try) 2>&5
  3494   ac_status=$?
  3495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3496   (exit $ac_status); }; }; then
  3497   for ac_declaration in \
  3498    '' \
  3499    'extern "C" void std::exit (int) throw (); using std::exit;' \
  3500    'extern "C" void std::exit (int); using std::exit;' \
  3501    'extern "C" void exit (int) throw ();' \
  3502    'extern "C" void exit (int);' \
  3503    'void exit (int);'
  3504 do
  3505   cat >conftest.$ac_ext <<_ACEOF
  3506 /* confdefs.h.  */
  3507 _ACEOF
  3508 cat confdefs.h >>conftest.$ac_ext
  3509 cat >>conftest.$ac_ext <<_ACEOF
  3510 /* end confdefs.h.  */
  3511 $ac_declaration
  3512 #include <stdlib.h>
  3513 int
  3514 main ()
  3516 exit (42);
  3518   return 0;
  3520 _ACEOF
  3521 rm -f conftest.$ac_objext
  3522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3523   (eval $ac_compile) 2>conftest.er1
  3524   ac_status=$?
  3525   grep -v '^ *+' conftest.er1 >conftest.err
  3526   rm -f conftest.er1
  3527   cat conftest.err >&5
  3528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3529   (exit $ac_status); } &&
  3530 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  3531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3532   (eval $ac_try) 2>&5
  3533   ac_status=$?
  3534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3535   (exit $ac_status); }; } &&
  3536 	 { ac_try='test -s conftest.$ac_objext'
  3537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3538   (eval $ac_try) 2>&5
  3539   ac_status=$?
  3540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3541   (exit $ac_status); }; }; then
  3543 else
  3544   echo "$as_me: failed program was:" >&5
  3545 sed 's/^/| /' conftest.$ac_ext >&5
  3547 continue
  3548 fi
  3549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3550   cat >conftest.$ac_ext <<_ACEOF
  3551 /* confdefs.h.  */
  3552 _ACEOF
  3553 cat confdefs.h >>conftest.$ac_ext
  3554 cat >>conftest.$ac_ext <<_ACEOF
  3555 /* end confdefs.h.  */
  3556 $ac_declaration
  3557 int
  3558 main ()
  3560 exit (42);
  3562   return 0;
  3564 _ACEOF
  3565 rm -f conftest.$ac_objext
  3566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3567   (eval $ac_compile) 2>conftest.er1
  3568   ac_status=$?
  3569   grep -v '^ *+' conftest.er1 >conftest.err
  3570   rm -f conftest.er1
  3571   cat conftest.err >&5
  3572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3573   (exit $ac_status); } &&
  3574 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  3575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3576   (eval $ac_try) 2>&5
  3577   ac_status=$?
  3578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3579   (exit $ac_status); }; } &&
  3580 	 { ac_try='test -s conftest.$ac_objext'
  3581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3582   (eval $ac_try) 2>&5
  3583   ac_status=$?
  3584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3585   (exit $ac_status); }; }; then
  3586   break
  3587 else
  3588   echo "$as_me: failed program was:" >&5
  3589 sed 's/^/| /' conftest.$ac_ext >&5
  3591 fi
  3592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3593 done
  3594 rm -f conftest*
  3595 if test -n "$ac_declaration"; then
  3596   echo '#ifdef __cplusplus' >>confdefs.h
  3597   echo $ac_declaration      >>confdefs.h
  3598   echo '#endif'             >>confdefs.h
  3599 fi
  3601 else
  3602   echo "$as_me: failed program was:" >&5
  3603 sed 's/^/| /' conftest.$ac_ext >&5
  3605 fi
  3606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3607 ac_ext=c
  3608 ac_cpp='$CPP $CPPFLAGS'
  3609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3613 depcc="$CC"   am_compiler_list=
  3615 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3616 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
  3617 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3618   echo $ECHO_N "(cached) $ECHO_C" >&6
  3619 else
  3620   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3621   # We make a subdir and do the tests there.  Otherwise we can end up
  3622   # making bogus files that we don't know about and never remove.  For
  3623   # instance it was reported that on HP-UX the gcc test will end up
  3624   # making a dummy file named `D' -- because `-MD' means `put the output
  3625   # in D'.
  3626   mkdir conftest.dir
  3627   # Copy depcomp to subdir because otherwise we won't find it if we're
  3628   # using a relative directory.
  3629   cp "$am_depcomp" conftest.dir
  3630   cd conftest.dir
  3631   # We will build objects and dependencies in a subdirectory because
  3632   # it helps to detect inapplicable dependency modes.  For instance
  3633   # both Tru64's cc and ICC support -MD to output dependencies as a
  3634   # side effect of compilation, but ICC will put the dependencies in
  3635   # the current directory while Tru64 will put them in the object
  3636   # directory.
  3637   mkdir sub
  3639   am_cv_CC_dependencies_compiler_type=none
  3640   if test "$am_compiler_list" = ""; then
  3641      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3642   fi
  3643   for depmode in $am_compiler_list; do
  3644     # Setup a source with many dependencies, because some compilers
  3645     # like to wrap large dependency lists on column 80 (with \), and
  3646     # we should not choose a depcomp mode which is confused by this.
  3648     # We need to recreate these files for each test, as the compiler may
  3649     # overwrite some of them when testing with obscure command lines.
  3650     # This happens at least with the AIX C compiler.
  3651     : > sub/conftest.c
  3652     for i in 1 2 3 4 5 6; do
  3653       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3654       : > sub/conftst$i.h
  3655     done
  3656     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3658     case $depmode in
  3659     nosideeffect)
  3660       # after this tag, mechanisms are not by side-effect, so they'll
  3661       # only be used when explicitly requested
  3662       if test "x$enable_dependency_tracking" = xyes; then
  3663 	continue
  3664       else
  3665 	break
  3666       fi
  3667       ;;
  3668     none) break ;;
  3669     esac
  3670     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3671     # mode.  It turns out that the SunPro C++ compiler does not properly
  3672     # handle `-M -o', and we need to detect this.
  3673     if depmode=$depmode \
  3674        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  3675        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3676        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  3677          >/dev/null 2>conftest.err &&
  3678        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3679        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  3680        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3681       # icc doesn't choke on unknown options, it will just issue warnings
  3682       # (even with -Werror).  So we grep stderr for any message
  3683       # that says an option was ignored.
  3684       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
  3685         am_cv_CC_dependencies_compiler_type=$depmode
  3686         break
  3687       fi
  3688     fi
  3689   done
  3691   cd ..
  3692   rm -rf conftest.dir
  3693 else
  3694   am_cv_CC_dependencies_compiler_type=none
  3695 fi
  3697 fi
  3698 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3699 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
  3700 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3704 if
  3705   test "x$enable_dependency_tracking" != xno \
  3706   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3707   am__fastdepCC_TRUE=
  3708   am__fastdepCC_FALSE='#'
  3709 else
  3710   am__fastdepCC_TRUE='#'
  3711   am__fastdepCC_FALSE=
  3712 fi
  3718 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
  3719 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
  3720 if test "${am_cv_prog_cc_stdc+set}" = set; then
  3721   echo $ECHO_N "(cached) $ECHO_C" >&6
  3722 else
  3723   am_cv_prog_cc_stdc=no
  3724 ac_save_CC="$CC"
  3725 # Don't try gcc -ansi; that turns off useful extensions and
  3726 # breaks some systems' header files.
  3727 # AIX			-qlanglvl=ansi
  3728 # Ultrix and OSF/1	-std1
  3729 # HP-UX 10.20 and later	-Ae
  3730 # HP-UX older versions	-Aa -D_HPUX_SOURCE
  3731 # SVR4			-Xc -D__EXTENSIONS__
  3732 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3733 do
  3734   CC="$ac_save_CC $ac_arg"
  3735   cat >conftest.$ac_ext <<_ACEOF
  3736 /* confdefs.h.  */
  3737 _ACEOF
  3738 cat confdefs.h >>conftest.$ac_ext
  3739 cat >>conftest.$ac_ext <<_ACEOF
  3740 /* end confdefs.h.  */
  3741 #include <stdarg.h>
  3742 #include <stdio.h>
  3743 #include <sys/types.h>
  3744 #include <sys/stat.h>
  3745 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3746 struct buf { int x; };
  3747 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3748 static char *e (p, i)
  3749      char **p;
  3750      int i;
  3752   return p[i];
  3754 static char *f (char * (*g) (char **, int), char **p, ...)
  3756   char *s;
  3757   va_list v;
  3758   va_start (v,p);
  3759   s = g (p, va_arg (v,int));
  3760   va_end (v);
  3761   return s;
  3763 int test (int i, double x);
  3764 struct s1 {int (*f) (int a);};
  3765 struct s2 {int (*f) (double a);};
  3766 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3767 int argc;
  3768 char **argv;
  3770 int
  3771 main ()
  3774 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3777   return 0;
  3779 _ACEOF
  3780 rm -f conftest.$ac_objext
  3781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3782   (eval $ac_compile) 2>conftest.er1
  3783   ac_status=$?
  3784   grep -v '^ *+' conftest.er1 >conftest.err
  3785   rm -f conftest.er1
  3786   cat conftest.err >&5
  3787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3788   (exit $ac_status); } &&
  3789 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  3790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3791   (eval $ac_try) 2>&5
  3792   ac_status=$?
  3793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3794   (exit $ac_status); }; } &&
  3795 	 { ac_try='test -s conftest.$ac_objext'
  3796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3797   (eval $ac_try) 2>&5
  3798   ac_status=$?
  3799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3800   (exit $ac_status); }; }; then
  3801   am_cv_prog_cc_stdc="$ac_arg"; break
  3802 else
  3803   echo "$as_me: failed program was:" >&5
  3804 sed 's/^/| /' conftest.$ac_ext >&5
  3806 fi
  3807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3808 done
  3809 CC="$ac_save_CC"
  3811 fi
  3813 if test -z "$am_cv_prog_cc_stdc"; then
  3814   echo "$as_me:$LINENO: result: none needed" >&5
  3815 echo "${ECHO_T}none needed" >&6
  3816 else
  3817   echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
  3818 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
  3819 fi
  3820 case "x$am_cv_prog_cc_stdc" in
  3821   x|xno) ;;
  3822   *) CC="$CC $am_cv_prog_cc_stdc" ;;
  3823 esac
  3825 ac_ext=c
  3826 ac_cpp='$CPP $CPPFLAGS'
  3827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3830 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  3831 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
  3832 # On Suns, sometimes $CPP names a directory.
  3833 if test -n "$CPP" && test -d "$CPP"; then
  3834   CPP=
  3835 fi
  3836 if test -z "$CPP"; then
  3837   if test "${ac_cv_prog_CPP+set}" = set; then
  3838   echo $ECHO_N "(cached) $ECHO_C" >&6
  3839 else
  3840       # Double quotes because CPP needs to be expanded
  3841     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  3842     do
  3843       ac_preproc_ok=false
  3844 for ac_c_preproc_warn_flag in '' yes
  3845 do
  3846   # Use a header file that comes with gcc, so configuring glibc
  3847   # with a fresh cross-compiler works.
  3848   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3849   # <limits.h> exists even on freestanding compilers.
  3850   # On the NeXT, cc -E runs the code through the compiler's parser,
  3851   # not just through cpp. "Syntax error" is here to catch this case.
  3852   cat >conftest.$ac_ext <<_ACEOF
  3853 /* confdefs.h.  */
  3854 _ACEOF
  3855 cat confdefs.h >>conftest.$ac_ext
  3856 cat >>conftest.$ac_ext <<_ACEOF
  3857 /* end confdefs.h.  */
  3858 #ifdef __STDC__
  3859 # include <limits.h>
  3860 #else
  3861 # include <assert.h>
  3862 #endif
  3863 		     Syntax error
  3864 _ACEOF
  3865 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3866   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3867   ac_status=$?
  3868   grep -v '^ *+' conftest.er1 >conftest.err
  3869   rm -f conftest.er1
  3870   cat conftest.err >&5
  3871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3872   (exit $ac_status); } >/dev/null; then
  3873   if test -s conftest.err; then
  3874     ac_cpp_err=$ac_c_preproc_warn_flag
  3875     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3876   else
  3877     ac_cpp_err=
  3878   fi
  3879 else
  3880   ac_cpp_err=yes
  3881 fi
  3882 if test -z "$ac_cpp_err"; then
  3884 else
  3885   echo "$as_me: failed program was:" >&5
  3886 sed 's/^/| /' conftest.$ac_ext >&5
  3888   # Broken: fails on valid input.
  3889 continue
  3890 fi
  3891 rm -f conftest.err conftest.$ac_ext
  3893   # OK, works on sane cases.  Now check whether non-existent headers
  3894   # can be detected and how.
  3895   cat >conftest.$ac_ext <<_ACEOF
  3896 /* confdefs.h.  */
  3897 _ACEOF
  3898 cat confdefs.h >>conftest.$ac_ext
  3899 cat >>conftest.$ac_ext <<_ACEOF
  3900 /* end confdefs.h.  */
  3901 #include <ac_nonexistent.h>
  3902 _ACEOF
  3903 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3904   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3905   ac_status=$?
  3906   grep -v '^ *+' conftest.er1 >conftest.err
  3907   rm -f conftest.er1
  3908   cat conftest.err >&5
  3909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3910   (exit $ac_status); } >/dev/null; then
  3911   if test -s conftest.err; then
  3912     ac_cpp_err=$ac_c_preproc_warn_flag
  3913     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3914   else
  3915     ac_cpp_err=
  3916   fi
  3917 else
  3918   ac_cpp_err=yes
  3919 fi
  3920 if test -z "$ac_cpp_err"; then
  3921   # Broken: success on invalid input.
  3922 continue
  3923 else
  3924   echo "$as_me: failed program was:" >&5
  3925 sed 's/^/| /' conftest.$ac_ext >&5
  3927   # Passes both tests.
  3928 ac_preproc_ok=:
  3929 break
  3930 fi
  3931 rm -f conftest.err conftest.$ac_ext
  3933 done
  3934 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3935 rm -f conftest.err conftest.$ac_ext
  3936 if $ac_preproc_ok; then
  3937   break
  3938 fi
  3940     done
  3941     ac_cv_prog_CPP=$CPP
  3943 fi
  3944   CPP=$ac_cv_prog_CPP
  3945 else
  3946   ac_cv_prog_CPP=$CPP
  3947 fi
  3948 echo "$as_me:$LINENO: result: $CPP" >&5
  3949 echo "${ECHO_T}$CPP" >&6
  3950 ac_preproc_ok=false
  3951 for ac_c_preproc_warn_flag in '' yes
  3952 do
  3953   # Use a header file that comes with gcc, so configuring glibc
  3954   # with a fresh cross-compiler works.
  3955   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3956   # <limits.h> exists even on freestanding compilers.
  3957   # On the NeXT, cc -E runs the code through the compiler's parser,
  3958   # not just through cpp. "Syntax error" is here to catch this case.
  3959   cat >conftest.$ac_ext <<_ACEOF
  3960 /* confdefs.h.  */
  3961 _ACEOF
  3962 cat confdefs.h >>conftest.$ac_ext
  3963 cat >>conftest.$ac_ext <<_ACEOF
  3964 /* end confdefs.h.  */
  3965 #ifdef __STDC__
  3966 # include <limits.h>
  3967 #else
  3968 # include <assert.h>
  3969 #endif
  3970 		     Syntax error
  3971 _ACEOF
  3972 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3973   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3974   ac_status=$?
  3975   grep -v '^ *+' conftest.er1 >conftest.err
  3976   rm -f conftest.er1
  3977   cat conftest.err >&5
  3978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3979   (exit $ac_status); } >/dev/null; then
  3980   if test -s conftest.err; then
  3981     ac_cpp_err=$ac_c_preproc_warn_flag
  3982     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3983   else
  3984     ac_cpp_err=
  3985   fi
  3986 else
  3987   ac_cpp_err=yes
  3988 fi
  3989 if test -z "$ac_cpp_err"; then
  3991 else
  3992   echo "$as_me: failed program was:" >&5
  3993 sed 's/^/| /' conftest.$ac_ext >&5
  3995   # Broken: fails on valid input.
  3996 continue
  3997 fi
  3998 rm -f conftest.err conftest.$ac_ext
  4000   # OK, works on sane cases.  Now check whether non-existent headers
  4001   # can be detected and how.
  4002   cat >conftest.$ac_ext <<_ACEOF
  4003 /* confdefs.h.  */
  4004 _ACEOF
  4005 cat confdefs.h >>conftest.$ac_ext
  4006 cat >>conftest.$ac_ext <<_ACEOF
  4007 /* end confdefs.h.  */
  4008 #include <ac_nonexistent.h>
  4009 _ACEOF
  4010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  4011   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  4012   ac_status=$?
  4013   grep -v '^ *+' conftest.er1 >conftest.err
  4014   rm -f conftest.er1
  4015   cat conftest.err >&5
  4016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4017   (exit $ac_status); } >/dev/null; then
  4018   if test -s conftest.err; then
  4019     ac_cpp_err=$ac_c_preproc_warn_flag
  4020     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  4021   else
  4022     ac_cpp_err=
  4023   fi
  4024 else
  4025   ac_cpp_err=yes
  4026 fi
  4027 if test -z "$ac_cpp_err"; then
  4028   # Broken: success on invalid input.
  4029 continue
  4030 else
  4031   echo "$as_me: failed program was:" >&5
  4032 sed 's/^/| /' conftest.$ac_ext >&5
  4034   # Passes both tests.
  4035 ac_preproc_ok=:
  4036 break
  4037 fi
  4038 rm -f conftest.err conftest.$ac_ext
  4040 done
  4041 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4042 rm -f conftest.err conftest.$ac_ext
  4043 if $ac_preproc_ok; then
  4045 else
  4046   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  4047 See \`config.log' for more details." >&5
  4048 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  4049 See \`config.log' for more details." >&2;}
  4050    { (exit 1); exit 1; }; }
  4051 fi
  4053 ac_ext=c
  4054 ac_cpp='$CPP $CPPFLAGS'
  4055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4060 echo "$as_me:$LINENO: checking for egrep" >&5
  4061 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
  4062 if test "${ac_cv_prog_egrep+set}" = set; then
  4063   echo $ECHO_N "(cached) $ECHO_C" >&6
  4064 else
  4065   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
  4066     then ac_cv_prog_egrep='grep -E'
  4067     else ac_cv_prog_egrep='egrep'
  4068     fi
  4069 fi
  4070 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
  4071 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
  4072  EGREP=$ac_cv_prog_egrep
  4075 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  4076 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
  4077 if test "${ac_cv_header_stdc+set}" = set; then
  4078   echo $ECHO_N "(cached) $ECHO_C" >&6
  4079 else
  4080   cat >conftest.$ac_ext <<_ACEOF
  4081 /* confdefs.h.  */
  4082 _ACEOF
  4083 cat confdefs.h >>conftest.$ac_ext
  4084 cat >>conftest.$ac_ext <<_ACEOF
  4085 /* end confdefs.h.  */
  4086 #include <stdlib.h>
  4087 #include <stdarg.h>
  4088 #include <string.h>
  4089 #include <float.h>
  4091 int
  4092 main ()
  4096   return 0;
  4098 _ACEOF
  4099 rm -f conftest.$ac_objext
  4100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4101   (eval $ac_compile) 2>conftest.er1
  4102   ac_status=$?
  4103   grep -v '^ *+' conftest.er1 >conftest.err
  4104   rm -f conftest.er1
  4105   cat conftest.err >&5
  4106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4107   (exit $ac_status); } &&
  4108 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  4109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4110   (eval $ac_try) 2>&5
  4111   ac_status=$?
  4112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4113   (exit $ac_status); }; } &&
  4114 	 { ac_try='test -s conftest.$ac_objext'
  4115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4116   (eval $ac_try) 2>&5
  4117   ac_status=$?
  4118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4119   (exit $ac_status); }; }; then
  4120   ac_cv_header_stdc=yes
  4121 else
  4122   echo "$as_me: failed program was:" >&5
  4123 sed 's/^/| /' conftest.$ac_ext >&5
  4125 ac_cv_header_stdc=no
  4126 fi
  4127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4129 if test $ac_cv_header_stdc = yes; then
  4130   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  4131   cat >conftest.$ac_ext <<_ACEOF
  4132 /* confdefs.h.  */
  4133 _ACEOF
  4134 cat confdefs.h >>conftest.$ac_ext
  4135 cat >>conftest.$ac_ext <<_ACEOF
  4136 /* end confdefs.h.  */
  4137 #include <string.h>
  4139 _ACEOF
  4140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4141   $EGREP "memchr" >/dev/null 2>&1; then
  4143 else
  4144   ac_cv_header_stdc=no
  4145 fi
  4146 rm -f conftest*
  4148 fi
  4150 if test $ac_cv_header_stdc = yes; then
  4151   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  4152   cat >conftest.$ac_ext <<_ACEOF
  4153 /* confdefs.h.  */
  4154 _ACEOF
  4155 cat confdefs.h >>conftest.$ac_ext
  4156 cat >>conftest.$ac_ext <<_ACEOF
  4157 /* end confdefs.h.  */
  4158 #include <stdlib.h>
  4160 _ACEOF
  4161 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4162   $EGREP "free" >/dev/null 2>&1; then
  4164 else
  4165   ac_cv_header_stdc=no
  4166 fi
  4167 rm -f conftest*
  4169 fi
  4171 if test $ac_cv_header_stdc = yes; then
  4172   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  4173   if test "$cross_compiling" = yes; then
  4175 else
  4176   cat >conftest.$ac_ext <<_ACEOF
  4177 /* confdefs.h.  */
  4178 _ACEOF
  4179 cat confdefs.h >>conftest.$ac_ext
  4180 cat >>conftest.$ac_ext <<_ACEOF
  4181 /* end confdefs.h.  */
  4182 #include <ctype.h>
  4183 #if ((' ' & 0x0FF) == 0x020)
  4184 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  4185 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  4186 #else
  4187 # define ISLOWER(c) \
  4188 		   (('a' <= (c) && (c) <= 'i') \
  4189 		     || ('j' <= (c) && (c) <= 'r') \
  4190 		     || ('s' <= (c) && (c) <= 'z'))
  4191 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  4192 #endif
  4194 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  4195 int
  4196 main ()
  4198   int i;
  4199   for (i = 0; i < 256; i++)
  4200     if (XOR (islower (i), ISLOWER (i))
  4201 	|| toupper (i) != TOUPPER (i))
  4202       exit(2);
  4203   exit (0);
  4205 _ACEOF
  4206 rm -f conftest$ac_exeext
  4207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4208   (eval $ac_link) 2>&5
  4209   ac_status=$?
  4210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4211   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  4212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4213   (eval $ac_try) 2>&5
  4214   ac_status=$?
  4215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4216   (exit $ac_status); }; }; then
  4218 else
  4219   echo "$as_me: program exited with status $ac_status" >&5
  4220 echo "$as_me: failed program was:" >&5
  4221 sed 's/^/| /' conftest.$ac_ext >&5
  4223 ( exit $ac_status )
  4224 ac_cv_header_stdc=no
  4225 fi
  4226 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  4227 fi
  4228 fi
  4229 fi
  4230 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  4231 echo "${ECHO_T}$ac_cv_header_stdc" >&6
  4232 if test $ac_cv_header_stdc = yes; then
  4234 cat >>confdefs.h <<\_ACEOF
  4235 #define STDC_HEADERS 1
  4236 _ACEOF
  4238 fi
  4242   succeeded=no
  4244   if test -z "$PKG_CONFIG"; then
  4245     # Extract the first word of "pkg-config", so it can be a program name with args.
  4246 set dummy pkg-config; ac_word=$2
  4247 echo "$as_me:$LINENO: checking for $ac_word" >&5
  4248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  4249 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
  4250   echo $ECHO_N "(cached) $ECHO_C" >&6
  4251 else
  4252   case $PKG_CONFIG in
  4253   [\\/]* | ?:[\\/]*)
  4254   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  4255   ;;
  4256   *)
  4257   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4258 for as_dir in $PATH
  4259 do
  4260   IFS=$as_save_IFS
  4261   test -z "$as_dir" && as_dir=.
  4262   for ac_exec_ext in '' $ac_executable_extensions; do
  4263   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4264     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  4265     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4266     break 2
  4267   fi
  4268 done
  4269 done
  4271   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
  4272   ;;
  4273 esac
  4274 fi
  4275 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  4277 if test -n "$PKG_CONFIG"; then
  4278   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
  4279 echo "${ECHO_T}$PKG_CONFIG" >&6
  4280 else
  4281   echo "$as_me:$LINENO: result: no" >&5
  4282 echo "${ECHO_T}no" >&6
  4283 fi
  4285   fi
  4287   if test "$PKG_CONFIG" = "no" ; then
  4288      echo "*** The pkg-config script could not be found. Make sure it is"
  4289      echo "*** in your path, or set the PKG_CONFIG environment variable"
  4290      echo "*** to the full path to pkg-config."
  4291      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
  4292   else
  4293      PKG_CONFIG_MIN_VERSION=0.9.0
  4294      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
  4295         echo "$as_me:$LINENO: checking for  libgnomeui-2.0      esound " >&5
  4296 echo $ECHO_N "checking for  libgnomeui-2.0      esound ... $ECHO_C" >&6
  4298         if $PKG_CONFIG --exists " libgnomeui-2.0      esound " ; then
  4299             echo "$as_me:$LINENO: result: yes" >&5
  4300 echo "${ECHO_T}yes" >&6
  4301             succeeded=yes
  4303             echo "$as_me:$LINENO: checking PACKAGE_CFLAGS" >&5
  4304 echo $ECHO_N "checking PACKAGE_CFLAGS... $ECHO_C" >&6
  4305             PACKAGE_CFLAGS=`$PKG_CONFIG --cflags " libgnomeui-2.0      esound "`
  4306             echo "$as_me:$LINENO: result: $PACKAGE_CFLAGS" >&5
  4307 echo "${ECHO_T}$PACKAGE_CFLAGS" >&6
  4309             echo "$as_me:$LINENO: checking PACKAGE_LIBS" >&5
  4310 echo $ECHO_N "checking PACKAGE_LIBS... $ECHO_C" >&6
  4311             PACKAGE_LIBS=`$PKG_CONFIG --libs " libgnomeui-2.0      esound "`
  4312             echo "$as_me:$LINENO: result: $PACKAGE_LIBS" >&5
  4313 echo "${ECHO_T}$PACKAGE_LIBS" >&6
  4314         else
  4315             PACKAGE_CFLAGS=""
  4316             PACKAGE_LIBS=""
  4317             ## If we have a custom action on failure, don't print errors, but
  4318             ## do set a variable so people can do so.
  4319             PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " libgnomeui-2.0      esound "`
  4320             echo $PACKAGE_PKG_ERRORS
  4321         fi
  4325      else
  4326         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
  4327         echo "*** See http://www.freedesktop.org/software/pkgconfig"
  4328      fi
  4329   fi
  4331   if test $succeeded = yes; then
  4333   else
  4334      { { echo "$as_me:$LINENO: error: Library requirements ( libgnomeui-2.0      esound ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
  4335 echo "$as_me: error: Library requirements ( libgnomeui-2.0      esound ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
  4336    { (exit 1); exit 1; }; }
  4337   fi
  4343 echo "$as_me:$LINENO: checking for glXQueryVersion in -lGL" >&5
  4344 echo $ECHO_N "checking for glXQueryVersion in -lGL... $ECHO_C" >&6
  4345 if test "${ac_cv_lib_GL_glXQueryVersion+set}" = set; then
  4346   echo $ECHO_N "(cached) $ECHO_C" >&6
  4347 else
  4348   ac_check_lib_save_LIBS=$LIBS
  4349 LIBS="-lGL  $LIBS"
  4350 cat >conftest.$ac_ext <<_ACEOF
  4351 /* confdefs.h.  */
  4352 _ACEOF
  4353 cat confdefs.h >>conftest.$ac_ext
  4354 cat >>conftest.$ac_ext <<_ACEOF
  4355 /* end confdefs.h.  */
  4357 /* Override any gcc2 internal prototype to avoid an error.  */
  4358 #ifdef __cplusplus
  4359 extern "C"
  4360 #endif
  4361 /* We use char because int might match the return type of a gcc2
  4362    builtin and then its argument prototype would still apply.  */
  4363 char glXQueryVersion ();
  4364 int
  4365 main ()
  4367 glXQueryVersion ();
  4369   return 0;
  4371 _ACEOF
  4372 rm -f conftest.$ac_objext conftest$ac_exeext
  4373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4374   (eval $ac_link) 2>conftest.er1
  4375   ac_status=$?
  4376   grep -v '^ *+' conftest.er1 >conftest.err
  4377   rm -f conftest.er1
  4378   cat conftest.err >&5
  4379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4380   (exit $ac_status); } &&
  4381 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  4382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4383   (eval $ac_try) 2>&5
  4384   ac_status=$?
  4385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4386   (exit $ac_status); }; } &&
  4387 	 { ac_try='test -s conftest$ac_exeext'
  4388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4389   (eval $ac_try) 2>&5
  4390   ac_status=$?
  4391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4392   (exit $ac_status); }; }; then
  4393   ac_cv_lib_GL_glXQueryVersion=yes
  4394 else
  4395   echo "$as_me: failed program was:" >&5
  4396 sed 's/^/| /' conftest.$ac_ext >&5
  4398 ac_cv_lib_GL_glXQueryVersion=no
  4399 fi
  4400 rm -f conftest.err conftest.$ac_objext \
  4401       conftest$ac_exeext conftest.$ac_ext
  4402 LIBS=$ac_check_lib_save_LIBS
  4403 fi
  4404 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXQueryVersion" >&5
  4405 echo "${ECHO_T}$ac_cv_lib_GL_glXQueryVersion" >&6
  4406 if test $ac_cv_lib_GL_glXQueryVersion = yes; then
  4407   cat >>confdefs.h <<_ACEOF
  4408 #define HAVE_LIBGL 1
  4409 _ACEOF
  4411   LIBS="-lGL $LIBS"
  4413 fi
  4416 GETTEXT_PACKAGE=dream
  4418 cat >>confdefs.h <<_ACEOF
  4419 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
  4420 _ACEOF
  4423 ALL_LINGUAS=""
  4424 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  4434 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  4435 		  inttypes.h stdint.h unistd.h
  4436 do
  4437 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4438 echo "$as_me:$LINENO: checking for $ac_header" >&5
  4439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4441   echo $ECHO_N "(cached) $ECHO_C" >&6
  4442 else
  4443   cat >conftest.$ac_ext <<_ACEOF
  4444 /* confdefs.h.  */
  4445 _ACEOF
  4446 cat confdefs.h >>conftest.$ac_ext
  4447 cat >>conftest.$ac_ext <<_ACEOF
  4448 /* end confdefs.h.  */
  4449 $ac_includes_default
  4451 #include <$ac_header>
  4452 _ACEOF
  4453 rm -f conftest.$ac_objext
  4454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4455   (eval $ac_compile) 2>conftest.er1
  4456   ac_status=$?
  4457   grep -v '^ *+' conftest.er1 >conftest.err
  4458   rm -f conftest.er1
  4459   cat conftest.err >&5
  4460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4461   (exit $ac_status); } &&
  4462 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  4463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4464   (eval $ac_try) 2>&5
  4465   ac_status=$?
  4466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4467   (exit $ac_status); }; } &&
  4468 	 { ac_try='test -s conftest.$ac_objext'
  4469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4470   (eval $ac_try) 2>&5
  4471   ac_status=$?
  4472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4473   (exit $ac_status); }; }; then
  4474   eval "$as_ac_Header=yes"
  4475 else
  4476   echo "$as_me: failed program was:" >&5
  4477 sed 's/^/| /' conftest.$ac_ext >&5
  4479 eval "$as_ac_Header=no"
  4480 fi
  4481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4482 fi
  4483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4485 if test `eval echo '${'$as_ac_Header'}'` = yes; then
  4486   cat >>confdefs.h <<_ACEOF
  4487 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4488 _ACEOF
  4490 fi
  4492 done
  4497 for ac_header in locale.h
  4498 do
  4499 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4501   echo "$as_me:$LINENO: checking for $ac_header" >&5
  4502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4504   echo $ECHO_N "(cached) $ECHO_C" >&6
  4505 fi
  4506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4508 else
  4509   # Is the header compilable?
  4510 echo "$as_me:$LINENO: checking $ac_header usability" >&5
  4511 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  4512 cat >conftest.$ac_ext <<_ACEOF
  4513 /* confdefs.h.  */
  4514 _ACEOF
  4515 cat confdefs.h >>conftest.$ac_ext
  4516 cat >>conftest.$ac_ext <<_ACEOF
  4517 /* end confdefs.h.  */
  4518 $ac_includes_default
  4519 #include <$ac_header>
  4520 _ACEOF
  4521 rm -f conftest.$ac_objext
  4522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4523   (eval $ac_compile) 2>conftest.er1
  4524   ac_status=$?
  4525   grep -v '^ *+' conftest.er1 >conftest.err
  4526   rm -f conftest.er1
  4527   cat conftest.err >&5
  4528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4529   (exit $ac_status); } &&
  4530 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  4531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4532   (eval $ac_try) 2>&5
  4533   ac_status=$?
  4534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4535   (exit $ac_status); }; } &&
  4536 	 { ac_try='test -s conftest.$ac_objext'
  4537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4538   (eval $ac_try) 2>&5
  4539   ac_status=$?
  4540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4541   (exit $ac_status); }; }; then
  4542   ac_header_compiler=yes
  4543 else
  4544   echo "$as_me: failed program was:" >&5
  4545 sed 's/^/| /' conftest.$ac_ext >&5
  4547 ac_header_compiler=no
  4548 fi
  4549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4550 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  4551 echo "${ECHO_T}$ac_header_compiler" >&6
  4553 # Is the header present?
  4554 echo "$as_me:$LINENO: checking $ac_header presence" >&5
  4555 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  4556 cat >conftest.$ac_ext <<_ACEOF
  4557 /* confdefs.h.  */
  4558 _ACEOF
  4559 cat confdefs.h >>conftest.$ac_ext
  4560 cat >>conftest.$ac_ext <<_ACEOF
  4561 /* end confdefs.h.  */
  4562 #include <$ac_header>
  4563 _ACEOF
  4564 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  4565   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  4566   ac_status=$?
  4567   grep -v '^ *+' conftest.er1 >conftest.err
  4568   rm -f conftest.er1
  4569   cat conftest.err >&5
  4570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4571   (exit $ac_status); } >/dev/null; then
  4572   if test -s conftest.err; then
  4573     ac_cpp_err=$ac_c_preproc_warn_flag
  4574     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  4575   else
  4576     ac_cpp_err=
  4577   fi
  4578 else
  4579   ac_cpp_err=yes
  4580 fi
  4581 if test -z "$ac_cpp_err"; then
  4582   ac_header_preproc=yes
  4583 else
  4584   echo "$as_me: failed program was:" >&5
  4585 sed 's/^/| /' conftest.$ac_ext >&5
  4587   ac_header_preproc=no
  4588 fi
  4589 rm -f conftest.err conftest.$ac_ext
  4590 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4591 echo "${ECHO_T}$ac_header_preproc" >&6
  4593 # So?  What about this header?
  4594 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  4595   yes:no: )
  4596     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  4597 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  4598     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  4599 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  4600     ac_header_preproc=yes
  4601     ;;
  4602   no:yes:* )
  4603     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  4604 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  4605     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
  4606 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
  4607     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  4608 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  4609     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
  4610 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
  4611     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  4612 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  4613     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  4614 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  4616       cat <<\_ASBOX
  4617 ## ------------------------------------------ ##
  4618 ## Report this to the AC_PACKAGE_NAME lists.  ##
  4619 ## ------------------------------------------ ##
  4620 _ASBOX
  4621     ) |
  4622       sed "s/^/$as_me: WARNING:     /" >&2
  4623     ;;
  4624 esac
  4625 echo "$as_me:$LINENO: checking for $ac_header" >&5
  4626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4628   echo $ECHO_N "(cached) $ECHO_C" >&6
  4629 else
  4630   eval "$as_ac_Header=\$ac_header_preproc"
  4631 fi
  4632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4633 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4635 fi
  4636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
  4637   cat >>confdefs.h <<_ACEOF
  4638 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4639 _ACEOF
  4641 fi
  4643 done
  4645     if test $ac_cv_header_locale_h = yes; then
  4646     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
  4647 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
  4648 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
  4649   echo $ECHO_N "(cached) $ECHO_C" >&6
  4650 else
  4651   cat >conftest.$ac_ext <<_ACEOF
  4652 /* confdefs.h.  */
  4653 _ACEOF
  4654 cat confdefs.h >>conftest.$ac_ext
  4655 cat >>conftest.$ac_ext <<_ACEOF
  4656 /* end confdefs.h.  */
  4657 #include <locale.h>
  4658 int
  4659 main ()
  4661 return LC_MESSAGES
  4663   return 0;
  4665 _ACEOF
  4666 rm -f conftest.$ac_objext conftest$ac_exeext
  4667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4668   (eval $ac_link) 2>conftest.er1
  4669   ac_status=$?
  4670   grep -v '^ *+' conftest.er1 >conftest.err
  4671   rm -f conftest.er1
  4672   cat conftest.err >&5
  4673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4674   (exit $ac_status); } &&
  4675 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  4676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4677   (eval $ac_try) 2>&5
  4678   ac_status=$?
  4679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4680   (exit $ac_status); }; } &&
  4681 	 { ac_try='test -s conftest$ac_exeext'
  4682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4683   (eval $ac_try) 2>&5
  4684   ac_status=$?
  4685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4686   (exit $ac_status); }; }; then
  4687   am_cv_val_LC_MESSAGES=yes
  4688 else
  4689   echo "$as_me: failed program was:" >&5
  4690 sed 's/^/| /' conftest.$ac_ext >&5
  4692 am_cv_val_LC_MESSAGES=no
  4693 fi
  4694 rm -f conftest.err conftest.$ac_objext \
  4695       conftest$ac_exeext conftest.$ac_ext
  4696 fi
  4697 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
  4698 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
  4699     if test $am_cv_val_LC_MESSAGES = yes; then
  4701 cat >>confdefs.h <<\_ACEOF
  4702 #define HAVE_LC_MESSAGES 1
  4703 _ACEOF
  4705     fi
  4706   fi
  4707      USE_NLS=yes
  4710     gt_cv_have_gettext=no
  4712     CATOBJEXT=NONE
  4713     XGETTEXT=:
  4714     INTLLIBS=
  4716     if test "${ac_cv_header_libintl_h+set}" = set; then
  4717   echo "$as_me:$LINENO: checking for libintl.h" >&5
  4718 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
  4719 if test "${ac_cv_header_libintl_h+set}" = set; then
  4720   echo $ECHO_N "(cached) $ECHO_C" >&6
  4721 fi
  4722 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
  4723 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
  4724 else
  4725   # Is the header compilable?
  4726 echo "$as_me:$LINENO: checking libintl.h usability" >&5
  4727 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
  4728 cat >conftest.$ac_ext <<_ACEOF
  4729 /* confdefs.h.  */
  4730 _ACEOF
  4731 cat confdefs.h >>conftest.$ac_ext
  4732 cat >>conftest.$ac_ext <<_ACEOF
  4733 /* end confdefs.h.  */
  4734 $ac_includes_default
  4735 #include <libintl.h>
  4736 _ACEOF
  4737 rm -f conftest.$ac_objext
  4738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4739   (eval $ac_compile) 2>conftest.er1
  4740   ac_status=$?
  4741   grep -v '^ *+' conftest.er1 >conftest.err
  4742   rm -f conftest.er1
  4743   cat conftest.err >&5
  4744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4745   (exit $ac_status); } &&
  4746 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  4747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4748   (eval $ac_try) 2>&5
  4749   ac_status=$?
  4750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4751   (exit $ac_status); }; } &&
  4752 	 { ac_try='test -s conftest.$ac_objext'
  4753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4754   (eval $ac_try) 2>&5
  4755   ac_status=$?
  4756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4757   (exit $ac_status); }; }; then
  4758   ac_header_compiler=yes
  4759 else
  4760   echo "$as_me: failed program was:" >&5
  4761 sed 's/^/| /' conftest.$ac_ext >&5
  4763 ac_header_compiler=no
  4764 fi
  4765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4766 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  4767 echo "${ECHO_T}$ac_header_compiler" >&6
  4769 # Is the header present?
  4770 echo "$as_me:$LINENO: checking libintl.h presence" >&5
  4771 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
  4772 cat >conftest.$ac_ext <<_ACEOF
  4773 /* confdefs.h.  */
  4774 _ACEOF
  4775 cat confdefs.h >>conftest.$ac_ext
  4776 cat >>conftest.$ac_ext <<_ACEOF
  4777 /* end confdefs.h.  */
  4778 #include <libintl.h>
  4779 _ACEOF
  4780 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  4781   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  4782   ac_status=$?
  4783   grep -v '^ *+' conftest.er1 >conftest.err
  4784   rm -f conftest.er1
  4785   cat conftest.err >&5
  4786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4787   (exit $ac_status); } >/dev/null; then
  4788   if test -s conftest.err; then
  4789     ac_cpp_err=$ac_c_preproc_warn_flag
  4790     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  4791   else
  4792     ac_cpp_err=
  4793   fi
  4794 else
  4795   ac_cpp_err=yes
  4796 fi
  4797 if test -z "$ac_cpp_err"; then
  4798   ac_header_preproc=yes
  4799 else
  4800   echo "$as_me: failed program was:" >&5
  4801 sed 's/^/| /' conftest.$ac_ext >&5
  4803   ac_header_preproc=no
  4804 fi
  4805 rm -f conftest.err conftest.$ac_ext
  4806 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4807 echo "${ECHO_T}$ac_header_preproc" >&6
  4809 # So?  What about this header?
  4810 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  4811   yes:no: )
  4812     { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
  4813 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  4814     { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
  4815 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
  4816     ac_header_preproc=yes
  4817     ;;
  4818   no:yes:* )
  4819     { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
  4820 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
  4821     { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
  4822 echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
  4823     { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
  4824 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
  4825     { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
  4826 echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  4827     { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
  4828 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
  4829     { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
  4830 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
  4832       cat <<\_ASBOX
  4833 ## ------------------------------------------ ##
  4834 ## Report this to the AC_PACKAGE_NAME lists.  ##
  4835 ## ------------------------------------------ ##
  4836 _ASBOX
  4837     ) |
  4838       sed "s/^/$as_me: WARNING:     /" >&2
  4839     ;;
  4840 esac
  4841 echo "$as_me:$LINENO: checking for libintl.h" >&5
  4842 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
  4843 if test "${ac_cv_header_libintl_h+set}" = set; then
  4844   echo $ECHO_N "(cached) $ECHO_C" >&6
  4845 else
  4846   ac_cv_header_libintl_h=$ac_header_preproc
  4847 fi
  4848 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
  4849 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
  4851 fi
  4852 if test $ac_cv_header_libintl_h = yes; then
  4853   gt_cv_func_dgettext_libintl="no"
  4854       libintl_extra_libs=""
  4857       # First check in libc
  4859       echo "$as_me:$LINENO: checking for ngettext in libc" >&5
  4860 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6
  4861 if test "${gt_cv_func_ngettext_libc+set}" = set; then
  4862   echo $ECHO_N "(cached) $ECHO_C" >&6
  4863 else
  4864   cat >conftest.$ac_ext <<_ACEOF
  4865 /* confdefs.h.  */
  4866 _ACEOF
  4867 cat confdefs.h >>conftest.$ac_ext
  4868 cat >>conftest.$ac_ext <<_ACEOF
  4869 /* end confdefs.h.  */
  4871 #include <libintl.h>
  4873 int
  4874 main ()
  4876 return !ngettext ("","", 1)
  4878   return 0;
  4880 _ACEOF
  4881 rm -f conftest.$ac_objext conftest$ac_exeext
  4882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4883   (eval $ac_link) 2>conftest.er1
  4884   ac_status=$?
  4885   grep -v '^ *+' conftest.er1 >conftest.err
  4886   rm -f conftest.er1
  4887   cat conftest.err >&5
  4888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4889   (exit $ac_status); } &&
  4890 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  4891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4892   (eval $ac_try) 2>&5
  4893   ac_status=$?
  4894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4895   (exit $ac_status); }; } &&
  4896 	 { ac_try='test -s conftest$ac_exeext'
  4897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4898   (eval $ac_try) 2>&5
  4899   ac_status=$?
  4900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4901   (exit $ac_status); }; }; then
  4902   gt_cv_func_ngettext_libc=yes
  4903 else
  4904   echo "$as_me: failed program was:" >&5
  4905 sed 's/^/| /' conftest.$ac_ext >&5
  4907 gt_cv_func_ngettext_libc=no
  4908 fi
  4909 rm -f conftest.err conftest.$ac_objext \
  4910       conftest$ac_exeext conftest.$ac_ext
  4912 fi
  4913 echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
  4914 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6
  4916       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
  4917 	      echo "$as_me:$LINENO: checking for dgettext in libc" >&5
  4918 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6
  4919 if test "${gt_cv_func_dgettext_libc+set}" = set; then
  4920   echo $ECHO_N "(cached) $ECHO_C" >&6
  4921 else
  4922   cat >conftest.$ac_ext <<_ACEOF
  4923 /* confdefs.h.  */
  4924 _ACEOF
  4925 cat confdefs.h >>conftest.$ac_ext
  4926 cat >>conftest.$ac_ext <<_ACEOF
  4927 /* end confdefs.h.  */
  4929 #include <libintl.h>
  4931 int
  4932 main ()
  4934 return !dgettext ("","")
  4936   return 0;
  4938 _ACEOF
  4939 rm -f conftest.$ac_objext conftest$ac_exeext
  4940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4941   (eval $ac_link) 2>conftest.er1
  4942   ac_status=$?
  4943   grep -v '^ *+' conftest.er1 >conftest.err
  4944   rm -f conftest.er1
  4945   cat conftest.err >&5
  4946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4947   (exit $ac_status); } &&
  4948 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  4949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4950   (eval $ac_try) 2>&5
  4951   ac_status=$?
  4952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4953   (exit $ac_status); }; } &&
  4954 	 { ac_try='test -s conftest$ac_exeext'
  4955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4956   (eval $ac_try) 2>&5
  4957   ac_status=$?
  4958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4959   (exit $ac_status); }; }; then
  4960   gt_cv_func_dgettext_libc=yes
  4961 else
  4962   echo "$as_me: failed program was:" >&5
  4963 sed 's/^/| /' conftest.$ac_ext >&5
  4965 gt_cv_func_dgettext_libc=no
  4966 fi
  4967 rm -f conftest.err conftest.$ac_objext \
  4968       conftest$ac_exeext conftest.$ac_ext
  4970 fi
  4971 echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
  4972 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6
  4973       fi
  4975       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
  4977 for ac_func in bind_textdomain_codeset
  4978 do
  4979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  4980 echo "$as_me:$LINENO: checking for $ac_func" >&5
  4981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  4982 if eval "test \"\${$as_ac_var+set}\" = set"; then
  4983   echo $ECHO_N "(cached) $ECHO_C" >&6
  4984 else
  4985   cat >conftest.$ac_ext <<_ACEOF
  4986 /* confdefs.h.  */
  4987 _ACEOF
  4988 cat confdefs.h >>conftest.$ac_ext
  4989 cat >>conftest.$ac_ext <<_ACEOF
  4990 /* end confdefs.h.  */
  4991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  4992    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  4993 #define $ac_func innocuous_$ac_func
  4995 /* System header to define __stub macros and hopefully few prototypes,
  4996     which can conflict with char $ac_func (); below.
  4997     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4998     <limits.h> exists even on freestanding compilers.  */
  5000 #ifdef __STDC__
  5001 # include <limits.h>
  5002 #else
  5003 # include <assert.h>
  5004 #endif
  5006 #undef $ac_func
  5008 /* Override any gcc2 internal prototype to avoid an error.  */
  5009 #ifdef __cplusplus
  5010 extern "C"
  5012 #endif
  5013 /* We use char because int might match the return type of a gcc2
  5014    builtin and then its argument prototype would still apply.  */
  5015 char $ac_func ();
  5016 /* The GNU C library defines this for functions which it implements
  5017     to always fail with ENOSYS.  Some functions are actually named
  5018     something starting with __ and the normal name is an alias.  */
  5019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  5020 choke me
  5021 #else
  5022 char (*f) () = $ac_func;
  5023 #endif
  5024 #ifdef __cplusplus
  5026 #endif
  5028 int
  5029 main ()
  5031 return f != $ac_func;
  5033   return 0;
  5035 _ACEOF
  5036 rm -f conftest.$ac_objext conftest$ac_exeext
  5037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5038   (eval $ac_link) 2>conftest.er1
  5039   ac_status=$?
  5040   grep -v '^ *+' conftest.er1 >conftest.err
  5041   rm -f conftest.er1
  5042   cat conftest.err >&5
  5043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5044   (exit $ac_status); } &&
  5045 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  5046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5047   (eval $ac_try) 2>&5
  5048   ac_status=$?
  5049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5050   (exit $ac_status); }; } &&
  5051 	 { ac_try='test -s conftest$ac_exeext'
  5052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5053   (eval $ac_try) 2>&5
  5054   ac_status=$?
  5055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5056   (exit $ac_status); }; }; then
  5057   eval "$as_ac_var=yes"
  5058 else
  5059   echo "$as_me: failed program was:" >&5
  5060 sed 's/^/| /' conftest.$ac_ext >&5
  5062 eval "$as_ac_var=no"
  5063 fi
  5064 rm -f conftest.err conftest.$ac_objext \
  5065       conftest$ac_exeext conftest.$ac_ext
  5066 fi
  5067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  5068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  5069 if test `eval echo '${'$as_ac_var'}'` = yes; then
  5070   cat >>confdefs.h <<_ACEOF
  5071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  5072 _ACEOF
  5074 fi
  5075 done
  5077       fi
  5080       # If we don't have everything we want, check in libintl
  5082       if test "$gt_cv_func_dgettext_libc" != "yes" \
  5083 	 || test "$gt_cv_func_ngettext_libc" != "yes" \
  5084          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
  5086         echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
  5087 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
  5088 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
  5089   echo $ECHO_N "(cached) $ECHO_C" >&6
  5090 else
  5091   ac_check_lib_save_LIBS=$LIBS
  5092 LIBS="-lintl  $LIBS"
  5093 cat >conftest.$ac_ext <<_ACEOF
  5094 /* confdefs.h.  */
  5095 _ACEOF
  5096 cat confdefs.h >>conftest.$ac_ext
  5097 cat >>conftest.$ac_ext <<_ACEOF
  5098 /* end confdefs.h.  */
  5100 /* Override any gcc2 internal prototype to avoid an error.  */
  5101 #ifdef __cplusplus
  5102 extern "C"
  5103 #endif
  5104 /* We use char because int might match the return type of a gcc2
  5105    builtin and then its argument prototype would still apply.  */
  5106 char bindtextdomain ();
  5107 int
  5108 main ()
  5110 bindtextdomain ();
  5112   return 0;
  5114 _ACEOF
  5115 rm -f conftest.$ac_objext conftest$ac_exeext
  5116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5117   (eval $ac_link) 2>conftest.er1
  5118   ac_status=$?
  5119   grep -v '^ *+' conftest.er1 >conftest.err
  5120   rm -f conftest.er1
  5121   cat conftest.err >&5
  5122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5123   (exit $ac_status); } &&
  5124 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  5125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5126   (eval $ac_try) 2>&5
  5127   ac_status=$?
  5128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5129   (exit $ac_status); }; } &&
  5130 	 { ac_try='test -s conftest$ac_exeext'
  5131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5132   (eval $ac_try) 2>&5
  5133   ac_status=$?
  5134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5135   (exit $ac_status); }; }; then
  5136   ac_cv_lib_intl_bindtextdomain=yes
  5137 else
  5138   echo "$as_me: failed program was:" >&5
  5139 sed 's/^/| /' conftest.$ac_ext >&5
  5141 ac_cv_lib_intl_bindtextdomain=no
  5142 fi
  5143 rm -f conftest.err conftest.$ac_objext \
  5144       conftest$ac_exeext conftest.$ac_ext
  5145 LIBS=$ac_check_lib_save_LIBS
  5146 fi
  5147 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
  5148 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
  5149 if test $ac_cv_lib_intl_bindtextdomain = yes; then
  5150   echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
  5151 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6
  5152 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
  5153   echo $ECHO_N "(cached) $ECHO_C" >&6
  5154 else
  5155   ac_check_lib_save_LIBS=$LIBS
  5156 LIBS="-lintl  $LIBS"
  5157 cat >conftest.$ac_ext <<_ACEOF
  5158 /* confdefs.h.  */
  5159 _ACEOF
  5160 cat confdefs.h >>conftest.$ac_ext
  5161 cat >>conftest.$ac_ext <<_ACEOF
  5162 /* end confdefs.h.  */
  5164 /* Override any gcc2 internal prototype to avoid an error.  */
  5165 #ifdef __cplusplus
  5166 extern "C"
  5167 #endif
  5168 /* We use char because int might match the return type of a gcc2
  5169    builtin and then its argument prototype would still apply.  */
  5170 char ngettext ();
  5171 int
  5172 main ()
  5174 ngettext ();
  5176   return 0;
  5178 _ACEOF
  5179 rm -f conftest.$ac_objext conftest$ac_exeext
  5180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5181   (eval $ac_link) 2>conftest.er1
  5182   ac_status=$?
  5183   grep -v '^ *+' conftest.er1 >conftest.err
  5184   rm -f conftest.er1
  5185   cat conftest.err >&5
  5186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5187   (exit $ac_status); } &&
  5188 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  5189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5190   (eval $ac_try) 2>&5
  5191   ac_status=$?
  5192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5193   (exit $ac_status); }; } &&
  5194 	 { ac_try='test -s conftest$ac_exeext'
  5195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5196   (eval $ac_try) 2>&5
  5197   ac_status=$?
  5198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5199   (exit $ac_status); }; }; then
  5200   ac_cv_lib_intl_ngettext=yes
  5201 else
  5202   echo "$as_me: failed program was:" >&5
  5203 sed 's/^/| /' conftest.$ac_ext >&5
  5205 ac_cv_lib_intl_ngettext=no
  5206 fi
  5207 rm -f conftest.err conftest.$ac_objext \
  5208       conftest$ac_exeext conftest.$ac_ext
  5209 LIBS=$ac_check_lib_save_LIBS
  5210 fi
  5211 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
  5212 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6
  5213 if test $ac_cv_lib_intl_ngettext = yes; then
  5214   echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
  5215 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
  5216 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
  5217   echo $ECHO_N "(cached) $ECHO_C" >&6
  5218 else
  5219   ac_check_lib_save_LIBS=$LIBS
  5220 LIBS="-lintl  $LIBS"
  5221 cat >conftest.$ac_ext <<_ACEOF
  5222 /* confdefs.h.  */
  5223 _ACEOF
  5224 cat confdefs.h >>conftest.$ac_ext
  5225 cat >>conftest.$ac_ext <<_ACEOF
  5226 /* end confdefs.h.  */
  5228 /* Override any gcc2 internal prototype to avoid an error.  */
  5229 #ifdef __cplusplus
  5230 extern "C"
  5231 #endif
  5232 /* We use char because int might match the return type of a gcc2
  5233    builtin and then its argument prototype would still apply.  */
  5234 char dgettext ();
  5235 int
  5236 main ()
  5238 dgettext ();
  5240   return 0;
  5242 _ACEOF
  5243 rm -f conftest.$ac_objext conftest$ac_exeext
  5244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5245   (eval $ac_link) 2>conftest.er1
  5246   ac_status=$?
  5247   grep -v '^ *+' conftest.er1 >conftest.err
  5248   rm -f conftest.er1
  5249   cat conftest.err >&5
  5250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5251   (exit $ac_status); } &&
  5252 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  5253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5254   (eval $ac_try) 2>&5
  5255   ac_status=$?
  5256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5257   (exit $ac_status); }; } &&
  5258 	 { ac_try='test -s conftest$ac_exeext'
  5259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5260   (eval $ac_try) 2>&5
  5261   ac_status=$?
  5262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5263   (exit $ac_status); }; }; then
  5264   ac_cv_lib_intl_dgettext=yes
  5265 else
  5266   echo "$as_me: failed program was:" >&5
  5267 sed 's/^/| /' conftest.$ac_ext >&5
  5269 ac_cv_lib_intl_dgettext=no
  5270 fi
  5271 rm -f conftest.err conftest.$ac_objext \
  5272       conftest$ac_exeext conftest.$ac_ext
  5273 LIBS=$ac_check_lib_save_LIBS
  5274 fi
  5275 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
  5276 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
  5277 if test $ac_cv_lib_intl_dgettext = yes; then
  5278   gt_cv_func_dgettext_libintl=yes
  5279 fi
  5281 fi
  5283 fi
  5286 	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
  5287 	  echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
  5288 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6
  5289 	  echo "$as_me:$LINENO: result: " >&5
  5290 echo "${ECHO_T}" >&6
  5291   	  echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
  5292 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6
  5293 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
  5294   echo $ECHO_N "(cached) $ECHO_C" >&6
  5295 else
  5296   ac_check_lib_save_LIBS=$LIBS
  5297 LIBS="-lintl -liconv $LIBS"
  5298 cat >conftest.$ac_ext <<_ACEOF
  5299 /* confdefs.h.  */
  5300 _ACEOF
  5301 cat confdefs.h >>conftest.$ac_ext
  5302 cat >>conftest.$ac_ext <<_ACEOF
  5303 /* end confdefs.h.  */
  5305 /* Override any gcc2 internal prototype to avoid an error.  */
  5306 #ifdef __cplusplus
  5307 extern "C"
  5308 #endif
  5309 /* We use char because int might match the return type of a gcc2
  5310    builtin and then its argument prototype would still apply.  */
  5311 char ngettext ();
  5312 int
  5313 main ()
  5315 ngettext ();
  5317   return 0;
  5319 _ACEOF
  5320 rm -f conftest.$ac_objext conftest$ac_exeext
  5321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5322   (eval $ac_link) 2>conftest.er1
  5323   ac_status=$?
  5324   grep -v '^ *+' conftest.er1 >conftest.err
  5325   rm -f conftest.er1
  5326   cat conftest.err >&5
  5327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5328   (exit $ac_status); } &&
  5329 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  5330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5331   (eval $ac_try) 2>&5
  5332   ac_status=$?
  5333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5334   (exit $ac_status); }; } &&
  5335 	 { ac_try='test -s conftest$ac_exeext'
  5336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5337   (eval $ac_try) 2>&5
  5338   ac_status=$?
  5339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5340   (exit $ac_status); }; }; then
  5341   ac_cv_lib_intl_ngettext=yes
  5342 else
  5343   echo "$as_me: failed program was:" >&5
  5344 sed 's/^/| /' conftest.$ac_ext >&5
  5346 ac_cv_lib_intl_ngettext=no
  5347 fi
  5348 rm -f conftest.err conftest.$ac_objext \
  5349       conftest$ac_exeext conftest.$ac_ext
  5350 LIBS=$ac_check_lib_save_LIBS
  5351 fi
  5352 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
  5353 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6
  5354 if test $ac_cv_lib_intl_ngettext = yes; then
  5355   echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
  5356 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6
  5357 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
  5358   echo $ECHO_N "(cached) $ECHO_C" >&6
  5359 else
  5360   ac_check_lib_save_LIBS=$LIBS
  5361 LIBS="-lintl -liconv $LIBS"
  5362 cat >conftest.$ac_ext <<_ACEOF
  5363 /* confdefs.h.  */
  5364 _ACEOF
  5365 cat confdefs.h >>conftest.$ac_ext
  5366 cat >>conftest.$ac_ext <<_ACEOF
  5367 /* end confdefs.h.  */
  5369 /* Override any gcc2 internal prototype to avoid an error.  */
  5370 #ifdef __cplusplus
  5371 extern "C"
  5372 #endif
  5373 /* We use char because int might match the return type of a gcc2
  5374    builtin and then its argument prototype would still apply.  */
  5375 char dcgettext ();
  5376 int
  5377 main ()
  5379 dcgettext ();
  5381   return 0;
  5383 _ACEOF
  5384 rm -f conftest.$ac_objext conftest$ac_exeext
  5385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5386   (eval $ac_link) 2>conftest.er1
  5387   ac_status=$?
  5388   grep -v '^ *+' conftest.er1 >conftest.err
  5389   rm -f conftest.er1
  5390   cat conftest.err >&5
  5391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5392   (exit $ac_status); } &&
  5393 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  5394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5395   (eval $ac_try) 2>&5
  5396   ac_status=$?
  5397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5398   (exit $ac_status); }; } &&
  5399 	 { ac_try='test -s conftest$ac_exeext'
  5400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5401   (eval $ac_try) 2>&5
  5402   ac_status=$?
  5403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5404   (exit $ac_status); }; }; then
  5405   ac_cv_lib_intl_dcgettext=yes
  5406 else
  5407   echo "$as_me: failed program was:" >&5
  5408 sed 's/^/| /' conftest.$ac_ext >&5
  5410 ac_cv_lib_intl_dcgettext=no
  5411 fi
  5412 rm -f conftest.err conftest.$ac_objext \
  5413       conftest$ac_exeext conftest.$ac_ext
  5414 LIBS=$ac_check_lib_save_LIBS
  5415 fi
  5416 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
  5417 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6
  5418 if test $ac_cv_lib_intl_dcgettext = yes; then
  5419   gt_cv_func_dgettext_libintl=yes
  5420 			libintl_extra_libs=-liconv
  5421 else
  5423 fi
  5425 else
  5427 fi
  5429         fi
  5432         # If we found libintl, then check in it for bind_textdomain_codeset();
  5433         # we'll prefer libc if neither have bind_textdomain_codeset(),
  5434         # and both have dgettext and ngettext
  5436         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
  5437           glib_save_LIBS="$LIBS"
  5438           LIBS="$LIBS -lintl $libintl_extra_libs"
  5439           unset ac_cv_func_bind_textdomain_codeset
  5441 for ac_func in bind_textdomain_codeset
  5442 do
  5443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  5444 echo "$as_me:$LINENO: checking for $ac_func" >&5
  5445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  5446 if eval "test \"\${$as_ac_var+set}\" = set"; then
  5447   echo $ECHO_N "(cached) $ECHO_C" >&6
  5448 else
  5449   cat >conftest.$ac_ext <<_ACEOF
  5450 /* confdefs.h.  */
  5451 _ACEOF
  5452 cat confdefs.h >>conftest.$ac_ext
  5453 cat >>conftest.$ac_ext <<_ACEOF
  5454 /* end confdefs.h.  */
  5455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  5456    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  5457 #define $ac_func innocuous_$ac_func
  5459 /* System header to define __stub macros and hopefully few prototypes,
  5460     which can conflict with char $ac_func (); below.
  5461     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5462     <limits.h> exists even on freestanding compilers.  */
  5464 #ifdef __STDC__
  5465 # include <limits.h>
  5466 #else
  5467 # include <assert.h>
  5468 #endif
  5470 #undef $ac_func
  5472 /* Override any gcc2 internal prototype to avoid an error.  */
  5473 #ifdef __cplusplus
  5474 extern "C"
  5476 #endif
  5477 /* We use char because int might match the return type of a gcc2
  5478    builtin and then its argument prototype would still apply.  */
  5479 char $ac_func ();
  5480 /* The GNU C library defines this for functions which it implements
  5481     to always fail with ENOSYS.  Some functions are actually named
  5482     something starting with __ and the normal name is an alias.  */
  5483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  5484 choke me
  5485 #else
  5486 char (*f) () = $ac_func;
  5487 #endif
  5488 #ifdef __cplusplus
  5490 #endif
  5492 int
  5493 main ()
  5495 return f != $ac_func;
  5497   return 0;
  5499 _ACEOF
  5500 rm -f conftest.$ac_objext conftest$ac_exeext
  5501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5502   (eval $ac_link) 2>conftest.er1
  5503   ac_status=$?
  5504   grep -v '^ *+' conftest.er1 >conftest.err
  5505   rm -f conftest.er1
  5506   cat conftest.err >&5
  5507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5508   (exit $ac_status); } &&
  5509 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  5510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5511   (eval $ac_try) 2>&5
  5512   ac_status=$?
  5513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5514   (exit $ac_status); }; } &&
  5515 	 { ac_try='test -s conftest$ac_exeext'
  5516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5517   (eval $ac_try) 2>&5
  5518   ac_status=$?
  5519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5520   (exit $ac_status); }; }; then
  5521   eval "$as_ac_var=yes"
  5522 else
  5523   echo "$as_me: failed program was:" >&5
  5524 sed 's/^/| /' conftest.$ac_ext >&5
  5526 eval "$as_ac_var=no"
  5527 fi
  5528 rm -f conftest.err conftest.$ac_objext \
  5529       conftest$ac_exeext conftest.$ac_ext
  5530 fi
  5531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  5532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  5533 if test `eval echo '${'$as_ac_var'}'` = yes; then
  5534   cat >>confdefs.h <<_ACEOF
  5535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  5536 _ACEOF
  5538 fi
  5539 done
  5541           LIBS="$glib_save_LIBS"
  5543           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
  5544             gt_cv_func_dgettext_libc=no
  5545           else
  5546             if test "$gt_cv_func_dgettext_libc" = "yes" \
  5547 		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
  5548               gt_cv_func_dgettext_libintl=no
  5549             fi
  5550           fi
  5551         fi
  5552       fi
  5554       if test "$gt_cv_func_dgettext_libc" = "yes" \
  5555 	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
  5556         gt_cv_have_gettext=yes
  5557       fi
  5559       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
  5560         INTLLIBS="-lintl $libintl_extra_libs"
  5561       fi
  5563       if test "$gt_cv_have_gettext" = "yes"; then
  5565 cat >>confdefs.h <<\_ACEOF
  5566 #define HAVE_GETTEXT 1
  5567 _ACEOF
  5569 	# Extract the first word of "msgfmt", so it can be a program name with args.
  5570 set dummy msgfmt; ac_word=$2
  5571 echo "$as_me:$LINENO: checking for $ac_word" >&5
  5572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5573 if test "${ac_cv_path_MSGFMT+set}" = set; then
  5574   echo $ECHO_N "(cached) $ECHO_C" >&6
  5575 else
  5576   case "$MSGFMT" in
  5577   /*)
  5578   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
  5579   ;;
  5580   *)
  5581   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  5582   for ac_dir in $PATH; do
  5583     test -z "$ac_dir" && ac_dir=.
  5584     if test -f $ac_dir/$ac_word; then
  5585       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
  5586 	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
  5587 	break
  5588       fi
  5589     fi
  5590   done
  5591   IFS="$ac_save_ifs"
  5592   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
  5593   ;;
  5594 esac
  5595 fi
  5596 MSGFMT="$ac_cv_path_MSGFMT"
  5597 if test "$MSGFMT" != "no"; then
  5598   echo "$as_me:$LINENO: result: $MSGFMT" >&5
  5599 echo "${ECHO_T}$MSGFMT" >&6
  5600 else
  5601   echo "$as_me:$LINENO: result: no" >&5
  5602 echo "${ECHO_T}no" >&6
  5603 fi
  5604 	if test "$MSGFMT" != "no"; then
  5605           glib_save_LIBS="$LIBS"
  5606           LIBS="$LIBS $INTLLIBS"
  5608 for ac_func in dcgettext
  5609 do
  5610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  5611 echo "$as_me:$LINENO: checking for $ac_func" >&5
  5612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  5613 if eval "test \"\${$as_ac_var+set}\" = set"; then
  5614   echo $ECHO_N "(cached) $ECHO_C" >&6
  5615 else
  5616   cat >conftest.$ac_ext <<_ACEOF
  5617 /* confdefs.h.  */
  5618 _ACEOF
  5619 cat confdefs.h >>conftest.$ac_ext
  5620 cat >>conftest.$ac_ext <<_ACEOF
  5621 /* end confdefs.h.  */
  5622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  5623    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  5624 #define $ac_func innocuous_$ac_func
  5626 /* System header to define __stub macros and hopefully few prototypes,
  5627     which can conflict with char $ac_func (); below.
  5628     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5629     <limits.h> exists even on freestanding compilers.  */
  5631 #ifdef __STDC__
  5632 # include <limits.h>
  5633 #else
  5634 # include <assert.h>
  5635 #endif
  5637 #undef $ac_func
  5639 /* Override any gcc2 internal prototype to avoid an error.  */
  5640 #ifdef __cplusplus
  5641 extern "C"
  5643 #endif
  5644 /* We use char because int might match the return type of a gcc2
  5645    builtin and then its argument prototype would still apply.  */
  5646 char $ac_func ();
  5647 /* The GNU C library defines this for functions which it implements
  5648     to always fail with ENOSYS.  Some functions are actually named
  5649     something starting with __ and the normal name is an alias.  */
  5650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  5651 choke me
  5652 #else
  5653 char (*f) () = $ac_func;
  5654 #endif
  5655 #ifdef __cplusplus
  5657 #endif
  5659 int
  5660 main ()
  5662 return f != $ac_func;
  5664   return 0;
  5666 _ACEOF
  5667 rm -f conftest.$ac_objext conftest$ac_exeext
  5668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5669   (eval $ac_link) 2>conftest.er1
  5670   ac_status=$?
  5671   grep -v '^ *+' conftest.er1 >conftest.err
  5672   rm -f conftest.er1
  5673   cat conftest.err >&5
  5674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5675   (exit $ac_status); } &&
  5676 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  5677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5678   (eval $ac_try) 2>&5
  5679   ac_status=$?
  5680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5681   (exit $ac_status); }; } &&
  5682 	 { ac_try='test -s conftest$ac_exeext'
  5683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5684   (eval $ac_try) 2>&5
  5685   ac_status=$?
  5686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5687   (exit $ac_status); }; }; then
  5688   eval "$as_ac_var=yes"
  5689 else
  5690   echo "$as_me: failed program was:" >&5
  5691 sed 's/^/| /' conftest.$ac_ext >&5
  5693 eval "$as_ac_var=no"
  5694 fi
  5695 rm -f conftest.err conftest.$ac_objext \
  5696       conftest$ac_exeext conftest.$ac_ext
  5697 fi
  5698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  5699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  5700 if test `eval echo '${'$as_ac_var'}'` = yes; then
  5701   cat >>confdefs.h <<_ACEOF
  5702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  5703 _ACEOF
  5705 fi
  5706 done
  5708 	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
  5709 set dummy gmsgfmt; ac_word=$2
  5710 echo "$as_me:$LINENO: checking for $ac_word" >&5
  5711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5712 if test "${ac_cv_path_GMSGFMT+set}" = set; then
  5713   echo $ECHO_N "(cached) $ECHO_C" >&6
  5714 else
  5715   case $GMSGFMT in
  5716   [\\/]* | ?:[\\/]*)
  5717   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
  5718   ;;
  5719   *)
  5720   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5721 for as_dir in $PATH
  5722 do
  5723   IFS=$as_save_IFS
  5724   test -z "$as_dir" && as_dir=.
  5725   for ac_exec_ext in '' $ac_executable_extensions; do
  5726   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5727     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
  5728     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5729     break 2
  5730   fi
  5731 done
  5732 done
  5734   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
  5735   ;;
  5736 esac
  5737 fi
  5738 GMSGFMT=$ac_cv_path_GMSGFMT
  5740 if test -n "$GMSGFMT"; then
  5741   echo "$as_me:$LINENO: result: $GMSGFMT" >&5
  5742 echo "${ECHO_T}$GMSGFMT" >&6
  5743 else
  5744   echo "$as_me:$LINENO: result: no" >&5
  5745 echo "${ECHO_T}no" >&6
  5746 fi
  5748 	  # Extract the first word of "xgettext", so it can be a program name with args.
  5749 set dummy xgettext; ac_word=$2
  5750 echo "$as_me:$LINENO: checking for $ac_word" >&5
  5751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5752 if test "${ac_cv_path_XGETTEXT+set}" = set; then
  5753   echo $ECHO_N "(cached) $ECHO_C" >&6
  5754 else
  5755   case "$XGETTEXT" in
  5756   /*)
  5757   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
  5758   ;;
  5759   *)
  5760   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  5761   for ac_dir in $PATH; do
  5762     test -z "$ac_dir" && ac_dir=.
  5763     if test -f $ac_dir/$ac_word; then
  5764       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
  5765 	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
  5766 	break
  5767       fi
  5768     fi
  5769   done
  5770   IFS="$ac_save_ifs"
  5771   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
  5772   ;;
  5773 esac
  5774 fi
  5775 XGETTEXT="$ac_cv_path_XGETTEXT"
  5776 if test "$XGETTEXT" != ":"; then
  5777   echo "$as_me:$LINENO: result: $XGETTEXT" >&5
  5778 echo "${ECHO_T}$XGETTEXT" >&6
  5779 else
  5780   echo "$as_me:$LINENO: result: no" >&5
  5781 echo "${ECHO_T}no" >&6
  5782 fi
  5784 	  cat >conftest.$ac_ext <<_ACEOF
  5785 /* confdefs.h.  */
  5786 _ACEOF
  5787 cat confdefs.h >>conftest.$ac_ext
  5788 cat >>conftest.$ac_ext <<_ACEOF
  5789 /* end confdefs.h.  */
  5791 int
  5792 main ()
  5794 extern int _nl_msg_cat_cntr;
  5795 			 return _nl_msg_cat_cntr
  5797   return 0;
  5799 _ACEOF
  5800 rm -f conftest.$ac_objext conftest$ac_exeext
  5801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5802   (eval $ac_link) 2>conftest.er1
  5803   ac_status=$?
  5804   grep -v '^ *+' conftest.er1 >conftest.err
  5805   rm -f conftest.er1
  5806   cat conftest.err >&5
  5807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5808   (exit $ac_status); } &&
  5809 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  5810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5811   (eval $ac_try) 2>&5
  5812   ac_status=$?
  5813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5814   (exit $ac_status); }; } &&
  5815 	 { ac_try='test -s conftest$ac_exeext'
  5816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5817   (eval $ac_try) 2>&5
  5818   ac_status=$?
  5819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5820   (exit $ac_status); }; }; then
  5821   CATOBJEXT=.gmo
  5822              DATADIRNAME=share
  5823 else
  5824   echo "$as_me: failed program was:" >&5
  5825 sed 's/^/| /' conftest.$ac_ext >&5
  5827 case $host in
  5828 	    *-*-solaris*)
  5829 	    	                	    	                echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
  5830 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6
  5831 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
  5832   echo $ECHO_N "(cached) $ECHO_C" >&6
  5833 else
  5834   cat >conftest.$ac_ext <<_ACEOF
  5835 /* confdefs.h.  */
  5836 _ACEOF
  5837 cat confdefs.h >>conftest.$ac_ext
  5838 cat >>conftest.$ac_ext <<_ACEOF
  5839 /* end confdefs.h.  */
  5840 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
  5841    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  5842 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
  5844 /* System header to define __stub macros and hopefully few prototypes,
  5845     which can conflict with char bind_textdomain_codeset (); below.
  5846     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5847     <limits.h> exists even on freestanding compilers.  */
  5849 #ifdef __STDC__
  5850 # include <limits.h>
  5851 #else
  5852 # include <assert.h>
  5853 #endif
  5855 #undef bind_textdomain_codeset
  5857 /* Override any gcc2 internal prototype to avoid an error.  */
  5858 #ifdef __cplusplus
  5859 extern "C"
  5861 #endif
  5862 /* We use char because int might match the return type of a gcc2
  5863    builtin and then its argument prototype would still apply.  */
  5864 char bind_textdomain_codeset ();
  5865 /* The GNU C library defines this for functions which it implements
  5866     to always fail with ENOSYS.  Some functions are actually named
  5867     something starting with __ and the normal name is an alias.  */
  5868 #if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset)
  5869 choke me
  5870 #else
  5871 char (*f) () = bind_textdomain_codeset;
  5872 #endif
  5873 #ifdef __cplusplus
  5875 #endif
  5877 int
  5878 main ()
  5880 return f != bind_textdomain_codeset;
  5882   return 0;
  5884 _ACEOF
  5885 rm -f conftest.$ac_objext conftest$ac_exeext
  5886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5887   (eval $ac_link) 2>conftest.er1
  5888   ac_status=$?
  5889   grep -v '^ *+' conftest.er1 >conftest.err
  5890   rm -f conftest.er1
  5891   cat conftest.err >&5
  5892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5893   (exit $ac_status); } &&
  5894 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  5895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5896   (eval $ac_try) 2>&5
  5897   ac_status=$?
  5898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5899   (exit $ac_status); }; } &&
  5900 	 { ac_try='test -s conftest$ac_exeext'
  5901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5902   (eval $ac_try) 2>&5
  5903   ac_status=$?
  5904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5905   (exit $ac_status); }; }; then
  5906   ac_cv_func_bind_textdomain_codeset=yes
  5907 else
  5908   echo "$as_me: failed program was:" >&5
  5909 sed 's/^/| /' conftest.$ac_ext >&5
  5911 ac_cv_func_bind_textdomain_codeset=no
  5912 fi
  5913 rm -f conftest.err conftest.$ac_objext \
  5914       conftest$ac_exeext conftest.$ac_ext
  5915 fi
  5916 echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
  5917 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
  5918 if test $ac_cv_func_bind_textdomain_codeset = yes; then
  5919   CATOBJEXT=.gmo
  5920                DATADIRNAME=share
  5921 else
  5922   CATOBJEXT=.mo
  5923                DATADIRNAME=lib
  5924 fi
  5926 	    ;;
  5927 	    *)
  5928 	    CATOBJEXT=.mo
  5929             DATADIRNAME=lib
  5930 	    ;;
  5931 	    esac
  5932 fi
  5933 rm -f conftest.err conftest.$ac_objext \
  5934       conftest$ac_exeext conftest.$ac_ext
  5935           LIBS="$glib_save_LIBS"
  5936 	  INSTOBJEXT=.mo
  5937 	else
  5938 	  gt_cv_have_gettext=no
  5939 	fi
  5940       fi
  5942 fi
  5946     if test "$gt_cv_have_gettext" = "yes" ; then
  5948 cat >>confdefs.h <<\_ACEOF
  5949 #define ENABLE_NLS 1
  5950 _ACEOF
  5952     fi
  5954         if test "$XGETTEXT" != ":"; then
  5955                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
  5956         : ;
  5957       else
  5958         echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
  5959 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
  5960         XGETTEXT=":"
  5961       fi
  5962     fi
  5964     # We need to process the po/ directory.
  5965     POSUB=po
  5967               ac_config_commands="$ac_config_commands default-1"
  5970                 for lang in $ALL_LINGUAS; do
  5971       GMOFILES="$GMOFILES $lang.gmo"
  5972       POFILES="$POFILES $lang.po"
  5973     done
  5987    if test "$gt_cv_have_gettext" = "yes"; then
  5988      if test "x$ALL_LINGUAS" = "x"; then
  5989        LINGUAS=
  5990      else
  5991        echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
  5992 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
  5993        NEW_LINGUAS=
  5994        for presentlang in $ALL_LINGUAS; do
  5995          useit=no
  5996          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
  5997            desiredlanguages="$LINGUAS"
  5998          else
  5999            desiredlanguages="$ALL_LINGUAS"
  6000          fi
  6001          for desiredlang in $desiredlanguages; do
  6002  	   # Use the presentlang catalog if desiredlang is
  6003            #   a. equal to presentlang, or
  6004            #   b. a variant of presentlang (because in this case,
  6005            #      presentlang can be used as a fallback for messages
  6006            #      which are not translated in the desiredlang catalog).
  6007            case "$desiredlang" in
  6008              "$presentlang"*) useit=yes;;
  6009            esac
  6010          done
  6011          if test $useit = yes; then
  6012            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
  6013          fi
  6014        done
  6015        LINGUAS=$NEW_LINGUAS
  6016        echo "$as_me:$LINENO: result: $LINGUAS" >&5
  6017 echo "${ECHO_T}$LINGUAS" >&6
  6018      fi
  6020           if test -n "$LINGUAS"; then
  6021        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
  6022      fi
  6023    fi
  6025             MKINSTALLDIRS=
  6026    if test -n "$ac_aux_dir"; then
  6027      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
  6028    fi
  6029    if test -z "$MKINSTALLDIRS"; then
  6030      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
  6031    fi
  6034          test -d po || mkdir po
  6035    if test "x$srcdir" != "x."; then
  6036      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
  6037        posrcprefix="$srcdir/"
  6038      else
  6039        posrcprefix="../$srcdir/"
  6040      fi
  6041    else
  6042      posrcprefix="../"
  6043    fi
  6044    rm -f po/POTFILES
  6045    sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
  6046 	< $srcdir/po/POTFILES.in > po/POTFILES
  6049                               ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in"
  6050 cat >confcache <<\_ACEOF
  6051 # This file is a shell script that caches the results of configure
  6052 # tests run on this system so they can be shared between configure
  6053 # scripts and configure runs, see configure's option --config-cache.
  6054 # It is not useful on other systems.  If it contains results you don't
  6055 # want to keep, you may remove or edit it.
  6057 # config.status only pays attention to the cache file if you give it
  6058 # the --recheck option to rerun configure.
  6060 # `ac_cv_env_foo' variables (set or unset) will be overridden when
  6061 # loading this file, other *unset* `ac_cv_foo' will be assigned the
  6062 # following values.
  6064 _ACEOF
  6066 # The following way of writing the cache mishandles newlines in values,
  6067 # but we know of no workaround that is simple, portable, and efficient.
  6068 # So, don't put newlines in cache variables' values.
  6069 # Ultrix sh set writes to stderr and can't be redirected directly,
  6070 # and sets the high bit in the cache file unless we assign to the vars.
  6072   (set) 2>&1 |
  6073     case `(ac_space=' '; set | grep ac_space) 2>&1` in
  6074     *ac_space=\ *)
  6075       # `set' does not quote correctly, so add quotes (double-quote
  6076       # substitution turns \\\\ into \\, and sed turns \\ into \).
  6077       sed -n \
  6078 	"s/'/'\\\\''/g;
  6079 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  6080       ;;
  6081     *)
  6082       # `set' quotes correctly as required by POSIX, so do not add quotes.
  6083       sed -n \
  6084 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  6085       ;;
  6086     esac;
  6087 } |
  6088   sed '
  6089      t clear
  6090      : clear
  6091      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  6092      t end
  6093      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  6094      : end' >>confcache
  6095 if diff $cache_file confcache >/dev/null 2>&1; then :; else
  6096   if test -w $cache_file; then
  6097     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
  6098     cat confcache >$cache_file
  6099   else
  6100     echo "not updating unwritable cache $cache_file"
  6101   fi
  6102 fi
  6103 rm -f confcache
  6105 test "x$prefix" = xNONE && prefix=$ac_default_prefix
  6106 # Let make expand exec_prefix.
  6107 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  6109 # VPATH may cause trouble with some makes, so we remove $(srcdir),
  6110 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  6111 # trailing colons and then remove the whole line if VPATH becomes empty
  6112 # (actually we leave an empty line to preserve line numbers).
  6113 if test "x$srcdir" = x.; then
  6114   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
  6115 s/:*\$(srcdir):*/:/;
  6116 s/:*\${srcdir}:*/:/;
  6117 s/:*@srcdir@:*/:/;
  6118 s/^\([^=]*=[	 ]*\):*/\1/;
  6119 s/:*$//;
  6120 s/^[^=]*=[	 ]*$//;
  6121 }'
  6122 fi
  6124 DEFS=-DHAVE_CONFIG_H
  6126 ac_libobjs=
  6127 ac_ltlibobjs=
  6128 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  6129   # 1. Remove the extension, and $U if already installed.
  6130   ac_i=`echo "$ac_i" |
  6131 	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
  6132   # 2. Add them.
  6133   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
  6134   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
  6135 done
  6136 LIBOBJS=$ac_libobjs
  6138 LTLIBOBJS=$ac_ltlibobjs
  6141 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  6142   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
  6143 Usually this means the macro was only invoked conditionally." >&5
  6144 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
  6145 Usually this means the macro was only invoked conditionally." >&2;}
  6146    { (exit 1); exit 1; }; }
  6147 fi
  6148 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  6149   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
  6150 Usually this means the macro was only invoked conditionally." >&5
  6151 echo "$as_me: error: conditional \"AMDEP\" was never defined.
  6152 Usually this means the macro was only invoked conditionally." >&2;}
  6153    { (exit 1); exit 1; }; }
  6154 fi
  6155 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  6156   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
  6157 Usually this means the macro was only invoked conditionally." >&5
  6158 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
  6159 Usually this means the macro was only invoked conditionally." >&2;}
  6160    { (exit 1); exit 1; }; }
  6161 fi
  6162 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  6163   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
  6164 Usually this means the macro was only invoked conditionally." >&5
  6165 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
  6166 Usually this means the macro was only invoked conditionally." >&2;}
  6167    { (exit 1); exit 1; }; }
  6168 fi
  6170 : ${CONFIG_STATUS=./config.status}
  6171 ac_clean_files_save=$ac_clean_files
  6172 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  6173 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  6174 echo "$as_me: creating $CONFIG_STATUS" >&6;}
  6175 cat >$CONFIG_STATUS <<_ACEOF
  6176 #! $SHELL
  6177 # Generated by $as_me.
  6178 # Run this file to recreate the current configuration.
  6179 # Compiler output produced by configure, useful for debugging
  6180 # configure, is in config.log if it exists.
  6182 debug=false
  6183 ac_cs_recheck=false
  6184 ac_cs_silent=false
  6185 SHELL=\${CONFIG_SHELL-$SHELL}
  6186 _ACEOF
  6188 cat >>$CONFIG_STATUS <<\_ACEOF
  6189 ## --------------------- ##
  6190 ## M4sh Initialization.  ##
  6191 ## --------------------- ##
  6193 # Be Bourne compatible
  6194 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  6195   emulate sh
  6196   NULLCMD=:
  6197   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  6198   # is contrary to our usage.  Disable this feature.
  6199   alias -g '${1+"$@"}'='"$@"'
  6200 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  6201   set -o posix
  6202 fi
  6203 DUALCASE=1; export DUALCASE # for MKS sh
  6205 # Support unset when possible.
  6206 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  6207   as_unset=unset
  6208 else
  6209   as_unset=false
  6210 fi
  6213 # Work around bugs in pre-3.0 UWIN ksh.
  6214 $as_unset ENV MAIL MAILPATH
  6215 PS1='$ '
  6216 PS2='> '
  6217 PS4='+ '
  6219 # NLS nuisances.
  6220 for as_var in \
  6221   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  6222   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  6223   LC_TELEPHONE LC_TIME
  6224 do
  6225   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  6226     eval $as_var=C; export $as_var
  6227   else
  6228     $as_unset $as_var
  6229   fi
  6230 done
  6232 # Required to use basename.
  6233 if expr a : '\(a\)' >/dev/null 2>&1; then
  6234   as_expr=expr
  6235 else
  6236   as_expr=false
  6237 fi
  6239 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  6240   as_basename=basename
  6241 else
  6242   as_basename=false
  6243 fi
  6246 # Name of the executable.
  6247 as_me=`$as_basename "$0" ||
  6248 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  6249 	 X"$0" : 'X\(//\)$' \| \
  6250 	 X"$0" : 'X\(/\)$' \| \
  6251 	 .     : '\(.\)' 2>/dev/null ||
  6252 echo X/"$0" |
  6253     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  6254   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
  6255   	  /^X\/\(\/\).*/{ s//\1/; q; }
  6256   	  s/.*/./; q'`
  6259 # PATH needs CR, and LINENO needs CR and PATH.
  6260 # Avoid depending upon Character Ranges.
  6261 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  6262 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  6263 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  6264 as_cr_digits='0123456789'
  6265 as_cr_alnum=$as_cr_Letters$as_cr_digits
  6267 # The user is always right.
  6268 if test "${PATH_SEPARATOR+set}" != set; then
  6269   echo "#! /bin/sh" >conf$$.sh
  6270   echo  "exit 0"   >>conf$$.sh
  6271   chmod +x conf$$.sh
  6272   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  6273     PATH_SEPARATOR=';'
  6274   else
  6275     PATH_SEPARATOR=:
  6276   fi
  6277   rm -f conf$$.sh
  6278 fi
  6281   as_lineno_1=$LINENO
  6282   as_lineno_2=$LINENO
  6283   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  6284   test "x$as_lineno_1" != "x$as_lineno_2" &&
  6285   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  6286   # Find who we are.  Look in the path if we contain no path at all
  6287   # relative or not.
  6288   case $0 in
  6289     *[\\/]* ) as_myself=$0 ;;
  6290     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6291 for as_dir in $PATH
  6292 do
  6293   IFS=$as_save_IFS
  6294   test -z "$as_dir" && as_dir=.
  6295   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  6296 done
  6298        ;;
  6299   esac
  6300   # We did not find ourselves, most probably we were run as `sh COMMAND'
  6301   # in which case we are not to be found in the path.
  6302   if test "x$as_myself" = x; then
  6303     as_myself=$0
  6304   fi
  6305   if test ! -f "$as_myself"; then
  6306     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
  6307 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
  6308    { (exit 1); exit 1; }; }
  6309   fi
  6310   case $CONFIG_SHELL in
  6311   '')
  6312     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6313 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  6314 do
  6315   IFS=$as_save_IFS
  6316   test -z "$as_dir" && as_dir=.
  6317   for as_base in sh bash ksh sh5; do
  6318 	 case $as_dir in
  6319 	 /*)
  6320 	   if ("$as_dir/$as_base" -c '
  6321   as_lineno_1=$LINENO
  6322   as_lineno_2=$LINENO
  6323   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  6324   test "x$as_lineno_1" != "x$as_lineno_2" &&
  6325   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
  6326 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  6327 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  6328 	     CONFIG_SHELL=$as_dir/$as_base
  6329 	     export CONFIG_SHELL
  6330 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  6331 	   fi;;
  6332 	 esac
  6333        done
  6334 done
  6335 ;;
  6336   esac
  6338   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  6339   # uniformly replaced by the line number.  The first 'sed' inserts a
  6340   # line-number line before each line; the second 'sed' does the real
  6341   # work.  The second script uses 'N' to pair each line-number line
  6342   # with the numbered line, and appends trailing '-' during
  6343   # substitution so that $LINENO is not a special case at line end.
  6344   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  6345   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  6346   sed '=' <$as_myself |
  6347     sed '
  6349       s,$,-,
  6350       : loop
  6351       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  6352       t loop
  6353       s,-$,,
  6354       s,^['$as_cr_digits']*\n,,
  6355     ' >$as_me.lineno &&
  6356   chmod +x $as_me.lineno ||
  6357     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
  6358 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
  6359    { (exit 1); exit 1; }; }
  6361   # Don't try to exec as it changes $[0], causing all sort of problems
  6362   # (the dirname of $[0] is not the place where we might find the
  6363   # original and so on.  Autoconf is especially sensible to this).
  6364   . ./$as_me.lineno
  6365   # Exit status is that of the last command.
  6366   exit
  6370 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  6371   *c*,-n*) ECHO_N= ECHO_C='
  6372 ' ECHO_T='	' ;;
  6373   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  6374   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
  6375 esac
  6377 if expr a : '\(a\)' >/dev/null 2>&1; then
  6378   as_expr=expr
  6379 else
  6380   as_expr=false
  6381 fi
  6383 rm -f conf$$ conf$$.exe conf$$.file
  6384 echo >conf$$.file
  6385 if ln -s conf$$.file conf$$ 2>/dev/null; then
  6386   # We could just check for DJGPP; but this test a) works b) is more generic
  6387   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  6388   if test -f conf$$.exe; then
  6389     # Don't use ln at all; we don't have any links
  6390     as_ln_s='cp -p'
  6391   else
  6392     as_ln_s='ln -s'
  6393   fi
  6394 elif ln conf$$.file conf$$ 2>/dev/null; then
  6395   as_ln_s=ln
  6396 else
  6397   as_ln_s='cp -p'
  6398 fi
  6399 rm -f conf$$ conf$$.exe conf$$.file
  6401 if mkdir -p . 2>/dev/null; then
  6402   as_mkdir_p=:
  6403 else
  6404   test -d ./-p && rmdir ./-p
  6405   as_mkdir_p=false
  6406 fi
  6408 as_executable_p="test -f"
  6410 # Sed expression to map a string onto a valid CPP name.
  6411 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  6413 # Sed expression to map a string onto a valid variable name.
  6414 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  6417 # IFS
  6418 # We need space, tab and new line, in precisely that order.
  6419 as_nl='
  6421 IFS=" 	$as_nl"
  6423 # CDPATH.
  6424 $as_unset CDPATH
  6426 exec 6>&1
  6428 # Open the log real soon, to keep \$[0] and so on meaningful, and to
  6429 # report actual input values of CONFIG_FILES etc. instead of their
  6430 # values after options handling.  Logging --version etc. is OK.
  6431 exec 5>>config.log
  6433   echo
  6434   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  6435 ## Running $as_me. ##
  6436 _ASBOX
  6437 } >&5
  6438 cat >&5 <<_CSEOF
  6440 This file was extended by $as_me, which was
  6441 generated by GNU Autoconf 2.59.  Invocation command line was
  6443   CONFIG_FILES    = $CONFIG_FILES
  6444   CONFIG_HEADERS  = $CONFIG_HEADERS
  6445   CONFIG_LINKS    = $CONFIG_LINKS
  6446   CONFIG_COMMANDS = $CONFIG_COMMANDS
  6447   $ $0 $@
  6449 _CSEOF
  6450 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
  6451 echo >&5
  6452 _ACEOF
  6454 # Files that config.status was made for.
  6455 if test -n "$ac_config_files"; then
  6456   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
  6457 fi
  6459 if test -n "$ac_config_headers"; then
  6460   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
  6461 fi
  6463 if test -n "$ac_config_links"; then
  6464   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
  6465 fi
  6467 if test -n "$ac_config_commands"; then
  6468   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
  6469 fi
  6471 cat >>$CONFIG_STATUS <<\_ACEOF
  6473 ac_cs_usage="\
  6474 \`$as_me' instantiates files from templates according to the
  6475 current configuration.
  6477 Usage: $0 [OPTIONS] [FILE]...
  6479   -h, --help       print this help, then exit
  6480   -V, --version    print version number, then exit
  6481   -q, --quiet      do not print progress messages
  6482   -d, --debug      don't remove temporary files
  6483       --recheck    update $as_me by reconfiguring in the same conditions
  6484   --file=FILE[:TEMPLATE]
  6485 		   instantiate the configuration file FILE
  6486   --header=FILE[:TEMPLATE]
  6487 		   instantiate the configuration header FILE
  6489 Configuration files:
  6490 $config_files
  6492 Configuration headers:
  6493 $config_headers
  6495 Configuration commands:
  6496 $config_commands
  6498 Report bugs to <bug-autoconf@gnu.org>."
  6499 _ACEOF
  6501 cat >>$CONFIG_STATUS <<_ACEOF
  6502 ac_cs_version="\\
  6503 config.status
  6504 configured by $0, generated by GNU Autoconf 2.59,
  6505   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
  6507 Copyright (C) 2003 Free Software Foundation, Inc.
  6508 This config.status script is free software; the Free Software Foundation
  6509 gives unlimited permission to copy, distribute and modify it."
  6510 srcdir=$srcdir
  6511 INSTALL="$INSTALL"
  6512 _ACEOF
  6514 cat >>$CONFIG_STATUS <<\_ACEOF
  6515 # If no file are specified by the user, then we need to provide default
  6516 # value.  By we need to know if files were specified by the user.
  6517 ac_need_defaults=:
  6518 while test $# != 0
  6519 do
  6520   case $1 in
  6521   --*=*)
  6522     ac_option=`expr "x$1" : 'x\([^=]*\)='`
  6523     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
  6524     ac_shift=:
  6525     ;;
  6526   -*)
  6527     ac_option=$1
  6528     ac_optarg=$2
  6529     ac_shift=shift
  6530     ;;
  6531   *) # This is not an option, so the user has probably given explicit
  6532      # arguments.
  6533      ac_option=$1
  6534      ac_need_defaults=false;;
  6535   esac
  6537   case $ac_option in
  6538   # Handling of the options.
  6539 _ACEOF
  6540 cat >>$CONFIG_STATUS <<\_ACEOF
  6541   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  6542     ac_cs_recheck=: ;;
  6543   --version | --vers* | -V )
  6544     echo "$ac_cs_version"; exit 0 ;;
  6545   --he | --h)
  6546     # Conflict between --help and --header
  6547     { { echo "$as_me:$LINENO: error: ambiguous option: $1
  6548 Try \`$0 --help' for more information." >&5
  6549 echo "$as_me: error: ambiguous option: $1
  6550 Try \`$0 --help' for more information." >&2;}
  6551    { (exit 1); exit 1; }; };;
  6552   --help | --hel | -h )
  6553     echo "$ac_cs_usage"; exit 0 ;;
  6554   --debug | --d* | -d )
  6555     debug=: ;;
  6556   --file | --fil | --fi | --f )
  6557     $ac_shift
  6558     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
  6559     ac_need_defaults=false;;
  6560   --header | --heade | --head | --hea )
  6561     $ac_shift
  6562     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  6563     ac_need_defaults=false;;
  6564   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  6565   | -silent | --silent | --silen | --sile | --sil | --si | --s)
  6566     ac_cs_silent=: ;;
  6568   # This is an error.
  6569   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
  6570 Try \`$0 --help' for more information." >&5
  6571 echo "$as_me: error: unrecognized option: $1
  6572 Try \`$0 --help' for more information." >&2;}
  6573    { (exit 1); exit 1; }; } ;;
  6575   *) ac_config_targets="$ac_config_targets $1" ;;
  6577   esac
  6578   shift
  6579 done
  6581 ac_configure_extra_args=
  6583 if $ac_cs_silent; then
  6584   exec 6>/dev/null
  6585   ac_configure_extra_args="$ac_configure_extra_args --silent"
  6586 fi
  6588 _ACEOF
  6589 cat >>$CONFIG_STATUS <<_ACEOF
  6590 if \$ac_cs_recheck; then
  6591   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  6592   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  6593 fi
  6595 _ACEOF
  6597 cat >>$CONFIG_STATUS <<_ACEOF
  6599 # INIT-COMMANDS section.
  6602 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  6605 _ACEOF
  6609 cat >>$CONFIG_STATUS <<\_ACEOF
  6610 for ac_config_target in $ac_config_targets
  6611 do
  6612   case "$ac_config_target" in
  6613   # Handling of arguments.
  6614   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  6615   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  6616   "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
  6617   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  6618   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
  6619   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  6620   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  6621 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  6622    { (exit 1); exit 1; }; };;
  6623   esac
  6624 done
  6626 # If the user did not use the arguments to specify the items to instantiate,
  6627 # then the envvar interface is used.  Set only those that are not.
  6628 # We use the long form for the default assignment because of an extremely
  6629 # bizarre bug on SunOS 4.1.3.
  6630 if $ac_need_defaults; then
  6631   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  6632   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  6633   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  6634 fi
  6636 # Have a temporary directory for convenience.  Make it in the build tree
  6637 # simply because there is no reason to put it here, and in addition,
  6638 # creating and moving files from /tmp can sometimes cause problems.
  6639 # Create a temporary directory, and hook for its removal unless debugging.
  6640 $debug ||
  6642   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  6643   trap '{ (exit 1); exit 1; }' 1 2 13 15
  6646 # Create a (secure) tmp directory for tmp files.
  6649   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
  6650   test -n "$tmp" && test -d "$tmp"
  6651 }  ||
  6653   tmp=./confstat$$-$RANDOM
  6654   (umask 077 && mkdir $tmp)
  6655 } ||
  6657    echo "$me: cannot create a temporary directory in ." >&2
  6658    { (exit 1); exit 1; }
  6661 _ACEOF
  6663 cat >>$CONFIG_STATUS <<_ACEOF
  6666 # CONFIG_FILES section.
  6669 # No need to generate the scripts if there are no CONFIG_FILES.
  6670 # This happens for instance when ./config.status config.h
  6671 if test -n "\$CONFIG_FILES"; then
  6672   # Protect against being on the right side of a sed subst in config.status.
  6673   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
  6674    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
  6675 s,@SHELL@,$SHELL,;t t
  6676 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
  6677 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
  6678 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
  6679 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
  6680 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
  6681 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
  6682 s,@exec_prefix@,$exec_prefix,;t t
  6683 s,@prefix@,$prefix,;t t
  6684 s,@program_transform_name@,$program_transform_name,;t t
  6685 s,@bindir@,$bindir,;t t
  6686 s,@sbindir@,$sbindir,;t t
  6687 s,@libexecdir@,$libexecdir,;t t
  6688 s,@datadir@,$datadir,;t t
  6689 s,@sysconfdir@,$sysconfdir,;t t
  6690 s,@sharedstatedir@,$sharedstatedir,;t t
  6691 s,@localstatedir@,$localstatedir,;t t
  6692 s,@libdir@,$libdir,;t t
  6693 s,@includedir@,$includedir,;t t
  6694 s,@oldincludedir@,$oldincludedir,;t t
  6695 s,@infodir@,$infodir,;t t
  6696 s,@mandir@,$mandir,;t t
  6697 s,@build_alias@,$build_alias,;t t
  6698 s,@host_alias@,$host_alias,;t t
  6699 s,@target_alias@,$target_alias,;t t
  6700 s,@DEFS@,$DEFS,;t t
  6701 s,@ECHO_C@,$ECHO_C,;t t
  6702 s,@ECHO_N@,$ECHO_N,;t t
  6703 s,@ECHO_T@,$ECHO_T,;t t
  6704 s,@LIBS@,$LIBS,;t t
  6705 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t