Search
lxdream.org :: lxdream/configure
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 10:c898b37506e0
prev1:eea311cfd33e
next94:8d80d9c7cc7d
author nkeynes
date Mon Jan 16 11:23:28 2006 +0000 (18 years ago)
permissions -rwxr-xr-x
last change Tweaks to timer to make sure it's actually a one-shot
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
  4241 pkg_modules="libgnomeui-2.0"
  4243   succeeded=no
  4245   if test -z "$PKG_CONFIG"; then
  4246     # Extract the first word of "pkg-config", so it can be a program name with args.
  4247 set dummy pkg-config; ac_word=$2
  4248 echo "$as_me:$LINENO: checking for $ac_word" >&5
  4249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  4250 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
  4251   echo $ECHO_N "(cached) $ECHO_C" >&6
  4252 else
  4253   case $PKG_CONFIG in
  4254   [\\/]* | ?:[\\/]*)
  4255   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  4256   ;;
  4257   *)
  4258   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4259 for as_dir in $PATH
  4260 do
  4261   IFS=$as_save_IFS
  4262   test -z "$as_dir" && as_dir=.
  4263   for ac_exec_ext in '' $ac_executable_extensions; do
  4264   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4265     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  4266     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4267     break 2
  4268   fi
  4269 done
  4270 done
  4272   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
  4273   ;;
  4274 esac
  4275 fi
  4276 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  4278 if test -n "$PKG_CONFIG"; then
  4279   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
  4280 echo "${ECHO_T}$PKG_CONFIG" >&6
  4281 else
  4282   echo "$as_me:$LINENO: result: no" >&5
  4283 echo "${ECHO_T}no" >&6
  4284 fi
  4286   fi
  4288   if test "$PKG_CONFIG" = "no" ; then
  4289      echo "*** The pkg-config script could not be found. Make sure it is"
  4290      echo "*** in your path, or set the PKG_CONFIG environment variable"
  4291      echo "*** to the full path to pkg-config."
  4292      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
  4293   else
  4294      PKG_CONFIG_MIN_VERSION=0.9.0
  4295      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
  4296         echo "$as_me:$LINENO: checking for $pkg_modules" >&5
  4297 echo $ECHO_N "checking for $pkg_modules... $ECHO_C" >&6
  4299         if $PKG_CONFIG --exists "$pkg_modules" ; then
  4300             echo "$as_me:$LINENO: result: yes" >&5
  4301 echo "${ECHO_T}yes" >&6
  4302             succeeded=yes
  4304             echo "$as_me:$LINENO: checking PACKAGE_CFLAGS" >&5
  4305 echo $ECHO_N "checking PACKAGE_CFLAGS... $ECHO_C" >&6
  4306             PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules"`
  4307             echo "$as_me:$LINENO: result: $PACKAGE_CFLAGS" >&5
  4308 echo "${ECHO_T}$PACKAGE_CFLAGS" >&6
  4310             echo "$as_me:$LINENO: checking PACKAGE_LIBS" >&5
  4311 echo $ECHO_N "checking PACKAGE_LIBS... $ECHO_C" >&6
  4312             PACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_modules"`
  4313             echo "$as_me:$LINENO: result: $PACKAGE_LIBS" >&5
  4314 echo "${ECHO_T}$PACKAGE_LIBS" >&6
  4315         else
  4316             PACKAGE_CFLAGS=""
  4317             PACKAGE_LIBS=""
  4318             ## If we have a custom action on failure, don't print errors, but
  4319             ## do set a variable so people can do so.
  4320             PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_modules"`
  4321             echo $PACKAGE_PKG_ERRORS
  4322         fi
  4326      else
  4327         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
  4328         echo "*** See http://www.freedesktop.org/software/pkgconfig"
  4329      fi
  4330   fi
  4332   if test $succeeded = yes; then
  4334   else
  4335      { { echo "$as_me:$LINENO: error: Library requirements ($pkg_modules) 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
  4336 echo "$as_me: error: Library requirements ($pkg_modules) 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;}
  4337    { (exit 1); exit 1; }; }
  4338   fi
  4343 GETTEXT_PACKAGE=dream
  4345 cat >>confdefs.h <<_ACEOF
  4346 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
  4347 _ACEOF
  4350 ALL_LINGUAS=""
  4351 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  4361 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  4362 		  inttypes.h stdint.h unistd.h
  4363 do
  4364 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4365 echo "$as_me:$LINENO: checking for $ac_header" >&5
  4366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4368   echo $ECHO_N "(cached) $ECHO_C" >&6
  4369 else
  4370   cat >conftest.$ac_ext <<_ACEOF
  4371 /* confdefs.h.  */
  4372 _ACEOF
  4373 cat confdefs.h >>conftest.$ac_ext
  4374 cat >>conftest.$ac_ext <<_ACEOF
  4375 /* end confdefs.h.  */
  4376 $ac_includes_default
  4378 #include <$ac_header>
  4379 _ACEOF
  4380 rm -f conftest.$ac_objext
  4381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4382   (eval $ac_compile) 2>conftest.er1
  4383   ac_status=$?
  4384   grep -v '^ *+' conftest.er1 >conftest.err
  4385   rm -f conftest.er1
  4386   cat conftest.err >&5
  4387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4388   (exit $ac_status); } &&
  4389 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  4390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4391   (eval $ac_try) 2>&5
  4392   ac_status=$?
  4393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4394   (exit $ac_status); }; } &&
  4395 	 { ac_try='test -s conftest.$ac_objext'
  4396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4397   (eval $ac_try) 2>&5
  4398   ac_status=$?
  4399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4400   (exit $ac_status); }; }; then
  4401   eval "$as_ac_Header=yes"
  4402 else
  4403   echo "$as_me: failed program was:" >&5
  4404 sed 's/^/| /' conftest.$ac_ext >&5
  4406 eval "$as_ac_Header=no"
  4407 fi
  4408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4409 fi
  4410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4411 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
  4413   cat >>confdefs.h <<_ACEOF
  4414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4415 _ACEOF
  4417 fi
  4419 done
  4424 for ac_header in locale.h
  4425 do
  4426 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4428   echo "$as_me:$LINENO: checking for $ac_header" >&5
  4429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4431   echo $ECHO_N "(cached) $ECHO_C" >&6
  4432 fi
  4433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4435 else
  4436   # Is the header compilable?
  4437 echo "$as_me:$LINENO: checking $ac_header usability" >&5
  4438 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  4439 cat >conftest.$ac_ext <<_ACEOF
  4440 /* confdefs.h.  */
  4441 _ACEOF
  4442 cat confdefs.h >>conftest.$ac_ext
  4443 cat >>conftest.$ac_ext <<_ACEOF
  4444 /* end confdefs.h.  */
  4445 $ac_includes_default
  4446 #include <$ac_header>
  4447 _ACEOF
  4448 rm -f conftest.$ac_objext
  4449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4450   (eval $ac_compile) 2>conftest.er1
  4451   ac_status=$?
  4452   grep -v '^ *+' conftest.er1 >conftest.err
  4453   rm -f conftest.er1
  4454   cat conftest.err >&5
  4455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4456   (exit $ac_status); } &&
  4457 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  4458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4459   (eval $ac_try) 2>&5
  4460   ac_status=$?
  4461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4462   (exit $ac_status); }; } &&
  4463 	 { ac_try='test -s conftest.$ac_objext'
  4464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4465   (eval $ac_try) 2>&5
  4466   ac_status=$?
  4467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4468   (exit $ac_status); }; }; then
  4469   ac_header_compiler=yes
  4470 else
  4471   echo "$as_me: failed program was:" >&5
  4472 sed 's/^/| /' conftest.$ac_ext >&5
  4474 ac_header_compiler=no
  4475 fi
  4476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4477 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  4478 echo "${ECHO_T}$ac_header_compiler" >&6
  4480 # Is the header present?
  4481 echo "$as_me:$LINENO: checking $ac_header presence" >&5
  4482 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  4483 cat >conftest.$ac_ext <<_ACEOF
  4484 /* confdefs.h.  */
  4485 _ACEOF
  4486 cat confdefs.h >>conftest.$ac_ext
  4487 cat >>conftest.$ac_ext <<_ACEOF
  4488 /* end confdefs.h.  */
  4489 #include <$ac_header>
  4490 _ACEOF
  4491 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  4492   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  4493   ac_status=$?
  4494   grep -v '^ *+' conftest.er1 >conftest.err
  4495   rm -f conftest.er1
  4496   cat conftest.err >&5
  4497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4498   (exit $ac_status); } >/dev/null; then
  4499   if test -s conftest.err; then
  4500     ac_cpp_err=$ac_c_preproc_warn_flag
  4501     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  4502   else
  4503     ac_cpp_err=
  4504   fi
  4505 else
  4506   ac_cpp_err=yes
  4507 fi
  4508 if test -z "$ac_cpp_err"; then
  4509   ac_header_preproc=yes
  4510 else
  4511   echo "$as_me: failed program was:" >&5
  4512 sed 's/^/| /' conftest.$ac_ext >&5
  4514   ac_header_preproc=no
  4515 fi
  4516 rm -f conftest.err conftest.$ac_ext
  4517 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4518 echo "${ECHO_T}$ac_header_preproc" >&6
  4520 # So?  What about this header?
  4521 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  4522   yes:no: )
  4523     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  4524 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  4525     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  4526 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  4527     ac_header_preproc=yes
  4528     ;;
  4529   no:yes:* )
  4530     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  4531 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  4532     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
  4533 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
  4534     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  4535 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  4536     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
  4537 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
  4538     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  4539 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  4540     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  4541 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  4543       cat <<\_ASBOX
  4544 ## ------------------------------------------ ##
  4545 ## Report this to the AC_PACKAGE_NAME lists.  ##
  4546 ## ------------------------------------------ ##
  4547 _ASBOX
  4548     ) |
  4549       sed "s/^/$as_me: WARNING:     /" >&2
  4550     ;;
  4551 esac
  4552 echo "$as_me:$LINENO: checking for $ac_header" >&5
  4553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4555   echo $ECHO_N "(cached) $ECHO_C" >&6
  4556 else
  4557   eval "$as_ac_Header=\$ac_header_preproc"
  4558 fi
  4559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4560 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4562 fi
  4563 if test `eval echo '${'$as_ac_Header'}'` = yes; then
  4564   cat >>confdefs.h <<_ACEOF
  4565 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4566 _ACEOF
  4568 fi
  4570 done
  4572     if test $ac_cv_header_locale_h = yes; then
  4573     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
  4574 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
  4575 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
  4576   echo $ECHO_N "(cached) $ECHO_C" >&6
  4577 else
  4578   cat >conftest.$ac_ext <<_ACEOF
  4579 /* confdefs.h.  */
  4580 _ACEOF
  4581 cat confdefs.h >>conftest.$ac_ext
  4582 cat >>conftest.$ac_ext <<_ACEOF
  4583 /* end confdefs.h.  */
  4584 #include <locale.h>
  4585 int
  4586 main ()
  4588 return LC_MESSAGES
  4590   return 0;
  4592 _ACEOF
  4593 rm -f conftest.$ac_objext conftest$ac_exeext
  4594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4595   (eval $ac_link) 2>conftest.er1
  4596   ac_status=$?
  4597   grep -v '^ *+' conftest.er1 >conftest.err
  4598   rm -f conftest.er1
  4599   cat conftest.err >&5
  4600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4601   (exit $ac_status); } &&
  4602 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  4603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4604   (eval $ac_try) 2>&5
  4605   ac_status=$?
  4606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4607   (exit $ac_status); }; } &&
  4608 	 { ac_try='test -s conftest$ac_exeext'
  4609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4610   (eval $ac_try) 2>&5
  4611   ac_status=$?
  4612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4613   (exit $ac_status); }; }; then
  4614   am_cv_val_LC_MESSAGES=yes
  4615 else
  4616   echo "$as_me: failed program was:" >&5
  4617 sed 's/^/| /' conftest.$ac_ext >&5
  4619 am_cv_val_LC_MESSAGES=no
  4620 fi
  4621 rm -f conftest.err conftest.$ac_objext \
  4622       conftest$ac_exeext conftest.$ac_ext
  4623 fi
  4624 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
  4625 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
  4626     if test $am_cv_val_LC_MESSAGES = yes; then
  4628 cat >>confdefs.h <<\_ACEOF
  4629 #define HAVE_LC_MESSAGES 1
  4630 _ACEOF
  4632     fi
  4633   fi
  4634      USE_NLS=yes
  4637     gt_cv_have_gettext=no
  4639     CATOBJEXT=NONE
  4640     XGETTEXT=:
  4641     INTLLIBS=
  4643     if test "${ac_cv_header_libintl_h+set}" = set; then
  4644   echo "$as_me:$LINENO: checking for libintl.h" >&5
  4645 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
  4646 if test "${ac_cv_header_libintl_h+set}" = set; then
  4647   echo $ECHO_N "(cached) $ECHO_C" >&6
  4648 fi
  4649 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
  4650 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
  4651 else
  4652   # Is the header compilable?
  4653 echo "$as_me:$LINENO: checking libintl.h usability" >&5
  4654 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
  4655 cat >conftest.$ac_ext <<_ACEOF
  4656 /* confdefs.h.  */
  4657 _ACEOF
  4658 cat confdefs.h >>conftest.$ac_ext
  4659 cat >>conftest.$ac_ext <<_ACEOF
  4660 /* end confdefs.h.  */
  4661 $ac_includes_default
  4662 #include <libintl.h>
  4663 _ACEOF
  4664 rm -f conftest.$ac_objext
  4665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4666   (eval $ac_compile) 2>conftest.er1
  4667   ac_status=$?
  4668   grep -v '^ *+' conftest.er1 >conftest.err
  4669   rm -f conftest.er1
  4670   cat conftest.err >&5
  4671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4672   (exit $ac_status); } &&
  4673 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  4674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4675   (eval $ac_try) 2>&5
  4676   ac_status=$?
  4677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4678   (exit $ac_status); }; } &&
  4679 	 { ac_try='test -s conftest.$ac_objext'
  4680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4681   (eval $ac_try) 2>&5
  4682   ac_status=$?
  4683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4684   (exit $ac_status); }; }; then
  4685   ac_header_compiler=yes
  4686 else
  4687   echo "$as_me: failed program was:" >&5
  4688 sed 's/^/| /' conftest.$ac_ext >&5
  4690 ac_header_compiler=no
  4691 fi
  4692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4693 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  4694 echo "${ECHO_T}$ac_header_compiler" >&6
  4696 # Is the header present?
  4697 echo "$as_me:$LINENO: checking libintl.h presence" >&5
  4698 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
  4699 cat >conftest.$ac_ext <<_ACEOF
  4700 /* confdefs.h.  */
  4701 _ACEOF
  4702 cat confdefs.h >>conftest.$ac_ext
  4703 cat >>conftest.$ac_ext <<_ACEOF
  4704 /* end confdefs.h.  */
  4705 #include <libintl.h>
  4706 _ACEOF
  4707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  4708   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  4709   ac_status=$?
  4710   grep -v '^ *+' conftest.er1 >conftest.err
  4711   rm -f conftest.er1
  4712   cat conftest.err >&5
  4713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4714   (exit $ac_status); } >/dev/null; then
  4715   if test -s conftest.err; then
  4716     ac_cpp_err=$ac_c_preproc_warn_flag
  4717     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  4718   else
  4719     ac_cpp_err=
  4720   fi
  4721 else
  4722   ac_cpp_err=yes
  4723 fi
  4724 if test -z "$ac_cpp_err"; then
  4725   ac_header_preproc=yes
  4726 else
  4727   echo "$as_me: failed program was:" >&5
  4728 sed 's/^/| /' conftest.$ac_ext >&5
  4730   ac_header_preproc=no
  4731 fi
  4732 rm -f conftest.err conftest.$ac_ext
  4733 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4734 echo "${ECHO_T}$ac_header_preproc" >&6
  4736 # So?  What about this header?
  4737 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  4738   yes:no: )
  4739     { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
  4740 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  4741     { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
  4742 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
  4743     ac_header_preproc=yes
  4744     ;;
  4745   no:yes:* )
  4746     { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
  4747 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
  4748     { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
  4749 echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
  4750     { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
  4751 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
  4752     { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
  4753 echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  4754     { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
  4755 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
  4756     { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
  4757 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
  4759       cat <<\_ASBOX
  4760 ## ------------------------------------------ ##
  4761 ## Report this to the AC_PACKAGE_NAME lists.  ##
  4762 ## ------------------------------------------ ##
  4763 _ASBOX
  4764     ) |
  4765       sed "s/^/$as_me: WARNING:     /" >&2
  4766     ;;
  4767 esac
  4768 echo "$as_me:$LINENO: checking for libintl.h" >&5
  4769 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
  4770 if test "${ac_cv_header_libintl_h+set}" = set; then
  4771   echo $ECHO_N "(cached) $ECHO_C" >&6
  4772 else
  4773   ac_cv_header_libintl_h=$ac_header_preproc
  4774 fi
  4775 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
  4776 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
  4778 fi
  4779 if test $ac_cv_header_libintl_h = yes; then
  4780   gt_cv_func_dgettext_libintl="no"
  4781       libintl_extra_libs=""
  4784       # First check in libc
  4786       echo "$as_me:$LINENO: checking for ngettext in libc" >&5
  4787 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6
  4788 if test "${gt_cv_func_ngettext_libc+set}" = set; then
  4789   echo $ECHO_N "(cached) $ECHO_C" >&6
  4790 else
  4791   cat >conftest.$ac_ext <<_ACEOF
  4792 /* confdefs.h.  */
  4793 _ACEOF
  4794 cat confdefs.h >>conftest.$ac_ext
  4795 cat >>conftest.$ac_ext <<_ACEOF
  4796 /* end confdefs.h.  */
  4798 #include <libintl.h>
  4800 int
  4801 main ()
  4803 return !ngettext ("","", 1)
  4805   return 0;
  4807 _ACEOF
  4808 rm -f conftest.$ac_objext conftest$ac_exeext
  4809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4810   (eval $ac_link) 2>conftest.er1
  4811   ac_status=$?
  4812   grep -v '^ *+' conftest.er1 >conftest.err
  4813   rm -f conftest.er1
  4814   cat conftest.err >&5
  4815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4816   (exit $ac_status); } &&
  4817 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  4818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4819   (eval $ac_try) 2>&5
  4820   ac_status=$?
  4821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4822   (exit $ac_status); }; } &&
  4823 	 { ac_try='test -s conftest$ac_exeext'
  4824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4825   (eval $ac_try) 2>&5
  4826   ac_status=$?
  4827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4828   (exit $ac_status); }; }; then
  4829   gt_cv_func_ngettext_libc=yes
  4830 else
  4831   echo "$as_me: failed program was:" >&5
  4832 sed 's/^/| /' conftest.$ac_ext >&5
  4834 gt_cv_func_ngettext_libc=no
  4835 fi
  4836 rm -f conftest.err conftest.$ac_objext \
  4837       conftest$ac_exeext conftest.$ac_ext
  4839 fi
  4840 echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
  4841 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6
  4843       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
  4844 	      echo "$as_me:$LINENO: checking for dgettext in libc" >&5
  4845 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6
  4846 if test "${gt_cv_func_dgettext_libc+set}" = set; then
  4847   echo $ECHO_N "(cached) $ECHO_C" >&6
  4848 else
  4849   cat >conftest.$ac_ext <<_ACEOF
  4850 /* confdefs.h.  */
  4851 _ACEOF
  4852 cat confdefs.h >>conftest.$ac_ext
  4853 cat >>conftest.$ac_ext <<_ACEOF
  4854 /* end confdefs.h.  */
  4856 #include <libintl.h>
  4858 int
  4859 main ()
  4861 return !dgettext ("","")
  4863   return 0;
  4865 _ACEOF
  4866 rm -f conftest.$ac_objext conftest$ac_exeext
  4867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4868   (eval $ac_link) 2>conftest.er1
  4869   ac_status=$?
  4870   grep -v '^ *+' conftest.er1 >conftest.err
  4871   rm -f conftest.er1
  4872   cat conftest.err >&5
  4873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4874   (exit $ac_status); } &&
  4875 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  4876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4877   (eval $ac_try) 2>&5
  4878   ac_status=$?
  4879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4880   (exit $ac_status); }; } &&
  4881 	 { ac_try='test -s conftest$ac_exeext'
  4882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4883   (eval $ac_try) 2>&5
  4884   ac_status=$?
  4885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4886   (exit $ac_status); }; }; then
  4887   gt_cv_func_dgettext_libc=yes
  4888 else
  4889   echo "$as_me: failed program was:" >&5
  4890 sed 's/^/| /' conftest.$ac_ext >&5
  4892 gt_cv_func_dgettext_libc=no
  4893 fi
  4894 rm -f conftest.err conftest.$ac_objext \
  4895       conftest$ac_exeext conftest.$ac_ext
  4897 fi
  4898 echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
  4899 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6
  4900       fi
  4902       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
  4904 for ac_func in bind_textdomain_codeset
  4905 do
  4906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  4907 echo "$as_me:$LINENO: checking for $ac_func" >&5
  4908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  4909 if eval "test \"\${$as_ac_var+set}\" = set"; then
  4910   echo $ECHO_N "(cached) $ECHO_C" >&6
  4911 else
  4912   cat >conftest.$ac_ext <<_ACEOF
  4913 /* confdefs.h.  */
  4914 _ACEOF
  4915 cat confdefs.h >>conftest.$ac_ext
  4916 cat >>conftest.$ac_ext <<_ACEOF
  4917 /* end confdefs.h.  */
  4918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  4919    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  4920 #define $ac_func innocuous_$ac_func
  4922 /* System header to define __stub macros and hopefully few prototypes,
  4923     which can conflict with char $ac_func (); below.
  4924     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4925     <limits.h> exists even on freestanding compilers.  */
  4927 #ifdef __STDC__
  4928 # include <limits.h>
  4929 #else
  4930 # include <assert.h>
  4931 #endif
  4933 #undef $ac_func
  4935 /* Override any gcc2 internal prototype to avoid an error.  */
  4936 #ifdef __cplusplus
  4937 extern "C"
  4939 #endif
  4940 /* We use char because int might match the return type of a gcc2
  4941    builtin and then its argument prototype would still apply.  */
  4942 char $ac_func ();
  4943 /* The GNU C library defines this for functions which it implements
  4944     to always fail with ENOSYS.  Some functions are actually named
  4945     something starting with __ and the normal name is an alias.  */
  4946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  4947 choke me
  4948 #else
  4949 char (*f) () = $ac_func;
  4950 #endif
  4951 #ifdef __cplusplus
  4953 #endif
  4955 int
  4956 main ()
  4958 return f != $ac_func;
  4960   return 0;
  4962 _ACEOF
  4963 rm -f conftest.$ac_objext conftest$ac_exeext
  4964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4965   (eval $ac_link) 2>conftest.er1
  4966   ac_status=$?
  4967   grep -v '^ *+' conftest.er1 >conftest.err
  4968   rm -f conftest.er1
  4969   cat conftest.err >&5
  4970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4971   (exit $ac_status); } &&
  4972 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  4973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4974   (eval $ac_try) 2>&5
  4975   ac_status=$?
  4976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4977   (exit $ac_status); }; } &&
  4978 	 { ac_try='test -s conftest$ac_exeext'
  4979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4980   (eval $ac_try) 2>&5
  4981   ac_status=$?
  4982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4983   (exit $ac_status); }; }; then
  4984   eval "$as_ac_var=yes"
  4985 else
  4986   echo "$as_me: failed program was:" >&5
  4987 sed 's/^/| /' conftest.$ac_ext >&5
  4989 eval "$as_ac_var=no"
  4990 fi
  4991 rm -f conftest.err conftest.$ac_objext \
  4992       conftest$ac_exeext conftest.$ac_ext
  4993 fi
  4994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  4995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  4996 if test `eval echo '${'$as_ac_var'}'` = yes; then
  4997   cat >>confdefs.h <<_ACEOF
  4998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  4999 _ACEOF
  5001 fi
  5002 done
  5004       fi
  5007       # If we don't have everything we want, check in libintl
  5009       if test "$gt_cv_func_dgettext_libc" != "yes" \
  5010 	 || test "$gt_cv_func_ngettext_libc" != "yes" \
  5011          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
  5013         echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
  5014 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
  5015 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
  5016   echo $ECHO_N "(cached) $ECHO_C" >&6
  5017 else
  5018   ac_check_lib_save_LIBS=$LIBS
  5019 LIBS="-lintl  $LIBS"
  5020 cat >conftest.$ac_ext <<_ACEOF
  5021 /* confdefs.h.  */
  5022 _ACEOF
  5023 cat confdefs.h >>conftest.$ac_ext
  5024 cat >>conftest.$ac_ext <<_ACEOF
  5025 /* end confdefs.h.  */
  5027 /* Override any gcc2 internal prototype to avoid an error.  */
  5028 #ifdef __cplusplus
  5029 extern "C"
  5030 #endif
  5031 /* We use char because int might match the return type of a gcc2
  5032    builtin and then its argument prototype would still apply.  */
  5033 char bindtextdomain ();
  5034 int
  5035 main ()
  5037 bindtextdomain ();
  5039   return 0;
  5041 _ACEOF
  5042 rm -f conftest.$ac_objext conftest$ac_exeext
  5043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5044   (eval $ac_link) 2>conftest.er1
  5045   ac_status=$?
  5046   grep -v '^ *+' conftest.er1 >conftest.err
  5047   rm -f conftest.er1
  5048   cat conftest.err >&5
  5049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5050   (exit $ac_status); } &&
  5051 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  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); }; } &&
  5057 	 { ac_try='test -s conftest$ac_exeext'
  5058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5059   (eval $ac_try) 2>&5
  5060   ac_status=$?
  5061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5062   (exit $ac_status); }; }; then
  5063   ac_cv_lib_intl_bindtextdomain=yes
  5064 else
  5065   echo "$as_me: failed program was:" >&5
  5066 sed 's/^/| /' conftest.$ac_ext >&5
  5068 ac_cv_lib_intl_bindtextdomain=no
  5069 fi
  5070 rm -f conftest.err conftest.$ac_objext \
  5071       conftest$ac_exeext conftest.$ac_ext
  5072 LIBS=$ac_check_lib_save_LIBS
  5073 fi
  5074 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
  5075 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
  5076 if test $ac_cv_lib_intl_bindtextdomain = yes; then
  5077   echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
  5078 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6
  5079 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
  5080   echo $ECHO_N "(cached) $ECHO_C" >&6
  5081 else
  5082   ac_check_lib_save_LIBS=$LIBS
  5083 LIBS="-lintl  $LIBS"
  5084 cat >conftest.$ac_ext <<_ACEOF
  5085 /* confdefs.h.  */
  5086 _ACEOF
  5087 cat confdefs.h >>conftest.$ac_ext
  5088 cat >>conftest.$ac_ext <<_ACEOF
  5089 /* end confdefs.h.  */
  5091 /* Override any gcc2 internal prototype to avoid an error.  */
  5092 #ifdef __cplusplus
  5093 extern "C"
  5094 #endif
  5095 /* We use char because int might match the return type of a gcc2
  5096    builtin and then its argument prototype would still apply.  */
  5097 char ngettext ();
  5098 int
  5099 main ()
  5101 ngettext ();
  5103   return 0;
  5105 _ACEOF
  5106 rm -f conftest.$ac_objext conftest$ac_exeext
  5107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5108   (eval $ac_link) 2>conftest.er1
  5109   ac_status=$?
  5110   grep -v '^ *+' conftest.er1 >conftest.err
  5111   rm -f conftest.er1
  5112   cat conftest.err >&5
  5113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5114   (exit $ac_status); } &&
  5115 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  5116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5117   (eval $ac_try) 2>&5
  5118   ac_status=$?
  5119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5120   (exit $ac_status); }; } &&
  5121 	 { ac_try='test -s conftest$ac_exeext'
  5122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5123   (eval $ac_try) 2>&5
  5124   ac_status=$?
  5125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5126   (exit $ac_status); }; }; then
  5127   ac_cv_lib_intl_ngettext=yes
  5128 else
  5129   echo "$as_me: failed program was:" >&5
  5130 sed 's/^/| /' conftest.$ac_ext >&5
  5132 ac_cv_lib_intl_ngettext=no
  5133 fi
  5134 rm -f conftest.err conftest.$ac_objext \
  5135       conftest$ac_exeext conftest.$ac_ext
  5136 LIBS=$ac_check_lib_save_LIBS
  5137 fi
  5138 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
  5139 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6
  5140 if test $ac_cv_lib_intl_ngettext = yes; then
  5141   echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
  5142 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
  5143 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
  5144   echo $ECHO_N "(cached) $ECHO_C" >&6
  5145 else
  5146   ac_check_lib_save_LIBS=$LIBS
  5147 LIBS="-lintl  $LIBS"
  5148 cat >conftest.$ac_ext <<_ACEOF
  5149 /* confdefs.h.  */
  5150 _ACEOF
  5151 cat confdefs.h >>conftest.$ac_ext
  5152 cat >>conftest.$ac_ext <<_ACEOF
  5153 /* end confdefs.h.  */
  5155 /* Override any gcc2 internal prototype to avoid an error.  */
  5156 #ifdef __cplusplus
  5157 extern "C"
  5158 #endif
  5159 /* We use char because int might match the return type of a gcc2
  5160    builtin and then its argument prototype would still apply.  */
  5161 char dgettext ();
  5162 int
  5163 main ()
  5165 dgettext ();
  5167   return 0;
  5169 _ACEOF
  5170 rm -f conftest.$ac_objext conftest$ac_exeext
  5171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5172   (eval $ac_link) 2>conftest.er1
  5173   ac_status=$?
  5174   grep -v '^ *+' conftest.er1 >conftest.err
  5175   rm -f conftest.er1
  5176   cat conftest.err >&5
  5177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5178   (exit $ac_status); } &&
  5179 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  5180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5181   (eval $ac_try) 2>&5
  5182   ac_status=$?
  5183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5184   (exit $ac_status); }; } &&
  5185 	 { ac_try='test -s conftest$ac_exeext'
  5186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5187   (eval $ac_try) 2>&5
  5188   ac_status=$?
  5189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5190   (exit $ac_status); }; }; then
  5191   ac_cv_lib_intl_dgettext=yes
  5192 else
  5193   echo "$as_me: failed program was:" >&5
  5194 sed 's/^/| /' conftest.$ac_ext >&5
  5196 ac_cv_lib_intl_dgettext=no
  5197 fi
  5198 rm -f conftest.err conftest.$ac_objext \
  5199       conftest$ac_exeext conftest.$ac_ext
  5200 LIBS=$ac_check_lib_save_LIBS
  5201 fi
  5202 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
  5203 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
  5204 if test $ac_cv_lib_intl_dgettext = yes; then
  5205   gt_cv_func_dgettext_libintl=yes
  5206 fi
  5208 fi
  5210 fi
  5213 	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
  5214 	  echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
  5215 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6
  5216 	  echo "$as_me:$LINENO: result: " >&5
  5217 echo "${ECHO_T}" >&6
  5218   	  echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
  5219 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6
  5220 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
  5221   echo $ECHO_N "(cached) $ECHO_C" >&6
  5222 else
  5223   ac_check_lib_save_LIBS=$LIBS
  5224 LIBS="-lintl -liconv $LIBS"
  5225 cat >conftest.$ac_ext <<_ACEOF
  5226 /* confdefs.h.  */
  5227 _ACEOF
  5228 cat confdefs.h >>conftest.$ac_ext
  5229 cat >>conftest.$ac_ext <<_ACEOF
  5230 /* end confdefs.h.  */
  5232 /* Override any gcc2 internal prototype to avoid an error.  */
  5233 #ifdef __cplusplus
  5234 extern "C"
  5235 #endif
  5236 /* We use char because int might match the return type of a gcc2
  5237    builtin and then its argument prototype would still apply.  */
  5238 char ngettext ();
  5239 int
  5240 main ()
  5242 ngettext ();
  5244   return 0;
  5246 _ACEOF
  5247 rm -f conftest.$ac_objext conftest$ac_exeext
  5248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5249   (eval $ac_link) 2>conftest.er1
  5250   ac_status=$?
  5251   grep -v '^ *+' conftest.er1 >conftest.err
  5252   rm -f conftest.er1
  5253   cat conftest.err >&5
  5254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5255   (exit $ac_status); } &&
  5256 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  5257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5258   (eval $ac_try) 2>&5
  5259   ac_status=$?
  5260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5261   (exit $ac_status); }; } &&
  5262 	 { ac_try='test -s conftest$ac_exeext'
  5263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5264   (eval $ac_try) 2>&5
  5265   ac_status=$?
  5266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5267   (exit $ac_status); }; }; then
  5268   ac_cv_lib_intl_ngettext=yes
  5269 else
  5270   echo "$as_me: failed program was:" >&5
  5271 sed 's/^/| /' conftest.$ac_ext >&5
  5273 ac_cv_lib_intl_ngettext=no
  5274 fi
  5275 rm -f conftest.err conftest.$ac_objext \
  5276       conftest$ac_exeext conftest.$ac_ext
  5277 LIBS=$ac_check_lib_save_LIBS
  5278 fi
  5279 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
  5280 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6
  5281 if test $ac_cv_lib_intl_ngettext = yes; then
  5282   echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
  5283 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6
  5284 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
  5285   echo $ECHO_N "(cached) $ECHO_C" >&6
  5286 else
  5287   ac_check_lib_save_LIBS=$LIBS
  5288 LIBS="-lintl -liconv $LIBS"
  5289 cat >conftest.$ac_ext <<_ACEOF
  5290 /* confdefs.h.  */
  5291 _ACEOF
  5292 cat confdefs.h >>conftest.$ac_ext
  5293 cat >>conftest.$ac_ext <<_ACEOF
  5294 /* end confdefs.h.  */
  5296 /* Override any gcc2 internal prototype to avoid an error.  */
  5297 #ifdef __cplusplus
  5298 extern "C"
  5299 #endif
  5300 /* We use char because int might match the return type of a gcc2
  5301    builtin and then its argument prototype would still apply.  */
  5302 char dcgettext ();
  5303 int
  5304 main ()
  5306 dcgettext ();
  5308   return 0;
  5310 _ACEOF
  5311 rm -f conftest.$ac_objext conftest$ac_exeext
  5312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5313   (eval $ac_link) 2>conftest.er1
  5314   ac_status=$?
  5315   grep -v '^ *+' conftest.er1 >conftest.err
  5316   rm -f conftest.er1
  5317   cat conftest.err >&5
  5318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5319   (exit $ac_status); } &&
  5320 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  5321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5322   (eval $ac_try) 2>&5
  5323   ac_status=$?
  5324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5325   (exit $ac_status); }; } &&
  5326 	 { ac_try='test -s conftest$ac_exeext'
  5327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5328   (eval $ac_try) 2>&5
  5329   ac_status=$?
  5330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5331   (exit $ac_status); }; }; then
  5332   ac_cv_lib_intl_dcgettext=yes
  5333 else
  5334   echo "$as_me: failed program was:" >&5
  5335 sed 's/^/| /' conftest.$ac_ext >&5
  5337 ac_cv_lib_intl_dcgettext=no
  5338 fi
  5339 rm -f conftest.err conftest.$ac_objext \
  5340       conftest$ac_exeext conftest.$ac_ext
  5341 LIBS=$ac_check_lib_save_LIBS
  5342 fi
  5343 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
  5344 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6
  5345 if test $ac_cv_lib_intl_dcgettext = yes; then
  5346   gt_cv_func_dgettext_libintl=yes
  5347 			libintl_extra_libs=-liconv
  5348 else
  5350 fi
  5352 else
  5354 fi
  5356         fi
  5359         # If we found libintl, then check in it for bind_textdomain_codeset();
  5360         # we'll prefer libc if neither have bind_textdomain_codeset(),
  5361         # and both have dgettext and ngettext
  5363         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
  5364           glib_save_LIBS="$LIBS"
  5365           LIBS="$LIBS -lintl $libintl_extra_libs"
  5366           unset ac_cv_func_bind_textdomain_codeset
  5368 for ac_func in bind_textdomain_codeset
  5369 do
  5370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  5371 echo "$as_me:$LINENO: checking for $ac_func" >&5
  5372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  5373 if eval "test \"\${$as_ac_var+set}\" = set"; then
  5374   echo $ECHO_N "(cached) $ECHO_C" >&6
  5375 else
  5376   cat >conftest.$ac_ext <<_ACEOF
  5377 /* confdefs.h.  */
  5378 _ACEOF
  5379 cat confdefs.h >>conftest.$ac_ext
  5380 cat >>conftest.$ac_ext <<_ACEOF
  5381 /* end confdefs.h.  */
  5382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  5383    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  5384 #define $ac_func innocuous_$ac_func
  5386 /* System header to define __stub macros and hopefully few prototypes,
  5387     which can conflict with char $ac_func (); below.
  5388     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5389     <limits.h> exists even on freestanding compilers.  */
  5391 #ifdef __STDC__
  5392 # include <limits.h>
  5393 #else
  5394 # include <assert.h>
  5395 #endif
  5397 #undef $ac_func
  5399 /* Override any gcc2 internal prototype to avoid an error.  */
  5400 #ifdef __cplusplus
  5401 extern "C"
  5403 #endif
  5404 /* We use char because int might match the return type of a gcc2
  5405    builtin and then its argument prototype would still apply.  */
  5406 char $ac_func ();
  5407 /* The GNU C library defines this for functions which it implements
  5408     to always fail with ENOSYS.  Some functions are actually named
  5409     something starting with __ and the normal name is an alias.  */
  5410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  5411 choke me
  5412 #else
  5413 char (*f) () = $ac_func;
  5414 #endif
  5415 #ifdef __cplusplus
  5417 #endif
  5419 int
  5420 main ()
  5422 return f != $ac_func;
  5424   return 0;
  5426 _ACEOF
  5427 rm -f conftest.$ac_objext conftest$ac_exeext
  5428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5429   (eval $ac_link) 2>conftest.er1
  5430   ac_status=$?
  5431   grep -v '^ *+' conftest.er1 >conftest.err
  5432   rm -f conftest.er1
  5433   cat conftest.err >&5
  5434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5435   (exit $ac_status); } &&
  5436 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  5437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5438   (eval $ac_try) 2>&5
  5439   ac_status=$?
  5440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5441   (exit $ac_status); }; } &&
  5442 	 { ac_try='test -s conftest$ac_exeext'
  5443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5444   (eval $ac_try) 2>&5
  5445   ac_status=$?
  5446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5447   (exit $ac_status); }; }; then
  5448   eval "$as_ac_var=yes"
  5449 else
  5450   echo "$as_me: failed program was:" >&5
  5451 sed 's/^/| /' conftest.$ac_ext >&5
  5453 eval "$as_ac_var=no"
  5454 fi
  5455 rm -f conftest.err conftest.$ac_objext \
  5456       conftest$ac_exeext conftest.$ac_ext
  5457 fi
  5458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  5459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  5460 if test `eval echo '${'$as_ac_var'}'` = yes; then
  5461   cat >>confdefs.h <<_ACEOF
  5462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  5463 _ACEOF
  5465 fi
  5466 done
  5468           LIBS="$glib_save_LIBS"
  5470           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
  5471             gt_cv_func_dgettext_libc=no
  5472           else
  5473             if test "$gt_cv_func_dgettext_libc" = "yes" \
  5474 		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
  5475               gt_cv_func_dgettext_libintl=no
  5476             fi
  5477           fi
  5478         fi
  5479       fi
  5481       if test "$gt_cv_func_dgettext_libc" = "yes" \
  5482 	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
  5483         gt_cv_have_gettext=yes
  5484       fi
  5486       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
  5487         INTLLIBS="-lintl $libintl_extra_libs"
  5488       fi
  5490       if test "$gt_cv_have_gettext" = "yes"; then
  5492 cat >>confdefs.h <<\_ACEOF
  5493 #define HAVE_GETTEXT 1
  5494 _ACEOF
  5496 	# Extract the first word of "msgfmt", so it can be a program name with args.
  5497 set dummy msgfmt; ac_word=$2
  5498 echo "$as_me:$LINENO: checking for $ac_word" >&5
  5499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5500 if test "${ac_cv_path_MSGFMT+set}" = set; then
  5501   echo $ECHO_N "(cached) $ECHO_C" >&6
  5502 else
  5503   case "$MSGFMT" in
  5504   /*)
  5505   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
  5506   ;;
  5507   *)
  5508   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  5509   for ac_dir in $PATH; do
  5510     test -z "$ac_dir" && ac_dir=.
  5511     if test -f $ac_dir/$ac_word; then
  5512       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
  5513 	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
  5514 	break
  5515       fi
  5516     fi
  5517   done
  5518   IFS="$ac_save_ifs"
  5519   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
  5520   ;;
  5521 esac
  5522 fi
  5523 MSGFMT="$ac_cv_path_MSGFMT"
  5524 if test "$MSGFMT" != "no"; then
  5525   echo "$as_me:$LINENO: result: $MSGFMT" >&5
  5526 echo "${ECHO_T}$MSGFMT" >&6
  5527 else
  5528   echo "$as_me:$LINENO: result: no" >&5
  5529 echo "${ECHO_T}no" >&6
  5530 fi
  5531 	if test "$MSGFMT" != "no"; then
  5532           glib_save_LIBS="$LIBS"
  5533           LIBS="$LIBS $INTLLIBS"
  5535 for ac_func in dcgettext
  5536 do
  5537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  5538 echo "$as_me:$LINENO: checking for $ac_func" >&5
  5539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  5540 if eval "test \"\${$as_ac_var+set}\" = set"; then
  5541   echo $ECHO_N "(cached) $ECHO_C" >&6
  5542 else
  5543   cat >conftest.$ac_ext <<_ACEOF
  5544 /* confdefs.h.  */
  5545 _ACEOF
  5546 cat confdefs.h >>conftest.$ac_ext
  5547 cat >>conftest.$ac_ext <<_ACEOF
  5548 /* end confdefs.h.  */
  5549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  5550    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  5551 #define $ac_func innocuous_$ac_func
  5553 /* System header to define __stub macros and hopefully few prototypes,
  5554     which can conflict with char $ac_func (); below.
  5555     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5556     <limits.h> exists even on freestanding compilers.  */
  5558 #ifdef __STDC__
  5559 # include <limits.h>
  5560 #else
  5561 # include <assert.h>
  5562 #endif
  5564 #undef $ac_func
  5566 /* Override any gcc2 internal prototype to avoid an error.  */
  5567 #ifdef __cplusplus
  5568 extern "C"
  5570 #endif
  5571 /* We use char because int might match the return type of a gcc2
  5572    builtin and then its argument prototype would still apply.  */
  5573 char $ac_func ();
  5574 /* The GNU C library defines this for functions which it implements
  5575     to always fail with ENOSYS.  Some functions are actually named
  5576     something starting with __ and the normal name is an alias.  */
  5577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  5578 choke me
  5579 #else
  5580 char (*f) () = $ac_func;
  5581 #endif
  5582 #ifdef __cplusplus
  5584 #endif
  5586 int
  5587 main ()
  5589 return f != $ac_func;
  5591   return 0;
  5593 _ACEOF
  5594 rm -f conftest.$ac_objext conftest$ac_exeext
  5595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5596   (eval $ac_link) 2>conftest.er1
  5597   ac_status=$?
  5598   grep -v '^ *+' conftest.er1 >conftest.err
  5599   rm -f conftest.er1
  5600   cat conftest.err >&5
  5601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5602   (exit $ac_status); } &&
  5603 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  5604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5605   (eval $ac_try) 2>&5
  5606   ac_status=$?
  5607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5608   (exit $ac_status); }; } &&
  5609 	 { ac_try='test -s conftest$ac_exeext'
  5610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5611   (eval $ac_try) 2>&5
  5612   ac_status=$?
  5613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5614   (exit $ac_status); }; }; then
  5615   eval "$as_ac_var=yes"
  5616 else
  5617   echo "$as_me: failed program was:" >&5
  5618 sed 's/^/| /' conftest.$ac_ext >&5
  5620 eval "$as_ac_var=no"
  5621 fi
  5622 rm -f conftest.err conftest.$ac_objext \
  5623       conftest$ac_exeext conftest.$ac_ext
  5624 fi
  5625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  5626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  5627 if test `eval echo '${'$as_ac_var'}'` = yes; then
  5628   cat >>confdefs.h <<_ACEOF
  5629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  5630 _ACEOF
  5632 fi
  5633 done
  5635 	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
  5636 set dummy gmsgfmt; ac_word=$2
  5637 echo "$as_me:$LINENO: checking for $ac_word" >&5
  5638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5639 if test "${ac_cv_path_GMSGFMT+set}" = set; then
  5640   echo $ECHO_N "(cached) $ECHO_C" >&6
  5641 else
  5642   case $GMSGFMT in
  5643   [\\/]* | ?:[\\/]*)
  5644   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
  5645   ;;
  5646   *)
  5647   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5648 for as_dir in $PATH
  5649 do
  5650   IFS=$as_save_IFS
  5651   test -z "$as_dir" && as_dir=.
  5652   for ac_exec_ext in '' $ac_executable_extensions; do
  5653   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5654     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
  5655     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5656     break 2
  5657   fi
  5658 done
  5659 done
  5661   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
  5662   ;;
  5663 esac
  5664 fi
  5665 GMSGFMT=$ac_cv_path_GMSGFMT
  5667 if test -n "$GMSGFMT"; then
  5668   echo "$as_me:$LINENO: result: $GMSGFMT" >&5
  5669 echo "${ECHO_T}$GMSGFMT" >&6
  5670 else
  5671   echo "$as_me:$LINENO: result: no" >&5
  5672 echo "${ECHO_T}no" >&6
  5673 fi
  5675 	  # Extract the first word of "xgettext", so it can be a program name with args.
  5676 set dummy xgettext; ac_word=$2
  5677 echo "$as_me:$LINENO: checking for $ac_word" >&5
  5678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5679 if test "${ac_cv_path_XGETTEXT+set}" = set; then
  5680   echo $ECHO_N "(cached) $ECHO_C" >&6
  5681 else
  5682   case "$XGETTEXT" in
  5683   /*)
  5684   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
  5685   ;;
  5686   *)
  5687   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  5688   for ac_dir in $PATH; do
  5689     test -z "$ac_dir" && ac_dir=.
  5690     if test -f $ac_dir/$ac_word; then
  5691       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
  5692 	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
  5693 	break
  5694       fi
  5695     fi
  5696   done
  5697   IFS="$ac_save_ifs"
  5698   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
  5699   ;;
  5700 esac
  5701 fi
  5702 XGETTEXT="$ac_cv_path_XGETTEXT"
  5703 if test "$XGETTEXT" != ":"; then
  5704   echo "$as_me:$LINENO: result: $XGETTEXT" >&5
  5705 echo "${ECHO_T}$XGETTEXT" >&6
  5706 else
  5707   echo "$as_me:$LINENO: result: no" >&5
  5708 echo "${ECHO_T}no" >&6
  5709 fi
  5711 	  cat >conftest.$ac_ext <<_ACEOF
  5712 /* confdefs.h.  */
  5713 _ACEOF
  5714 cat confdefs.h >>conftest.$ac_ext
  5715 cat >>conftest.$ac_ext <<_ACEOF
  5716 /* end confdefs.h.  */
  5718 int
  5719 main ()
  5721 extern int _nl_msg_cat_cntr;
  5722 			 return _nl_msg_cat_cntr
  5724   return 0;
  5726 _ACEOF
  5727 rm -f conftest.$ac_objext conftest$ac_exeext
  5728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5729   (eval $ac_link) 2>conftest.er1
  5730   ac_status=$?
  5731   grep -v '^ *+' conftest.er1 >conftest.err
  5732   rm -f conftest.er1
  5733   cat conftest.err >&5
  5734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5735   (exit $ac_status); } &&
  5736 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  5737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5738   (eval $ac_try) 2>&5
  5739   ac_status=$?
  5740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5741   (exit $ac_status); }; } &&
  5742 	 { ac_try='test -s conftest$ac_exeext'
  5743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5744   (eval $ac_try) 2>&5
  5745   ac_status=$?
  5746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5747   (exit $ac_status); }; }; then
  5748   CATOBJEXT=.gmo
  5749              DATADIRNAME=share
  5750 else
  5751   echo "$as_me: failed program was:" >&5
  5752 sed 's/^/| /' conftest.$ac_ext >&5
  5754 case $host in
  5755 	    *-*-solaris*)
  5756 	    	                	    	                echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
  5757 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6
  5758 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
  5759   echo $ECHO_N "(cached) $ECHO_C" >&6
  5760 else
  5761   cat >conftest.$ac_ext <<_ACEOF
  5762 /* confdefs.h.  */
  5763 _ACEOF
  5764 cat confdefs.h >>conftest.$ac_ext
  5765 cat >>conftest.$ac_ext <<_ACEOF
  5766 /* end confdefs.h.  */
  5767 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
  5768    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  5769 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
  5771 /* System header to define __stub macros and hopefully few prototypes,
  5772     which can conflict with char bind_textdomain_codeset (); below.
  5773     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5774     <limits.h> exists even on freestanding compilers.  */
  5776 #ifdef __STDC__
  5777 # include <limits.h>
  5778 #else
  5779 # include <assert.h>
  5780 #endif
  5782 #undef bind_textdomain_codeset
  5784 /* Override any gcc2 internal prototype to avoid an error.  */
  5785 #ifdef __cplusplus
  5786 extern "C"
  5788 #endif
  5789 /* We use char because int might match the return type of a gcc2
  5790    builtin and then its argument prototype would still apply.  */
  5791 char bind_textdomain_codeset ();
  5792 /* The GNU C library defines this for functions which it implements
  5793     to always fail with ENOSYS.  Some functions are actually named
  5794     something starting with __ and the normal name is an alias.  */
  5795 #if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset)
  5796 choke me
  5797 #else
  5798 char (*f) () = bind_textdomain_codeset;
  5799 #endif
  5800 #ifdef __cplusplus
  5802 #endif
  5804 int
  5805 main ()
  5807 return f != bind_textdomain_codeset;
  5809   return 0;
  5811 _ACEOF
  5812 rm -f conftest.$ac_objext conftest$ac_exeext
  5813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5814   (eval $ac_link) 2>conftest.er1
  5815   ac_status=$?
  5816   grep -v '^ *+' conftest.er1 >conftest.err
  5817   rm -f conftest.er1
  5818   cat conftest.err >&5
  5819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5820   (exit $ac_status); } &&
  5821 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  5822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5823   (eval $ac_try) 2>&5
  5824   ac_status=$?
  5825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5826   (exit $ac_status); }; } &&
  5827 	 { ac_try='test -s conftest$ac_exeext'
  5828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5829   (eval $ac_try) 2>&5
  5830   ac_status=$?
  5831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5832   (exit $ac_status); }; }; then
  5833   ac_cv_func_bind_textdomain_codeset=yes
  5834 else
  5835   echo "$as_me: failed program was:" >&5
  5836 sed 's/^/| /' conftest.$ac_ext >&5
  5838 ac_cv_func_bind_textdomain_codeset=no
  5839 fi
  5840 rm -f conftest.err conftest.$ac_objext \
  5841       conftest$ac_exeext conftest.$ac_ext
  5842 fi
  5843 echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
  5844 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
  5845 if test $ac_cv_func_bind_textdomain_codeset = yes; then
  5846   CATOBJEXT=.gmo
  5847                DATADIRNAME=share
  5848 else
  5849   CATOBJEXT=.mo
  5850                DATADIRNAME=lib
  5851 fi
  5853 	    ;;
  5854 	    *)
  5855 	    CATOBJEXT=.mo
  5856             DATADIRNAME=lib
  5857 	    ;;
  5858 	    esac
  5859 fi
  5860 rm -f conftest.err conftest.$ac_objext \
  5861       conftest$ac_exeext conftest.$ac_ext
  5862           LIBS="$glib_save_LIBS"
  5863 	  INSTOBJEXT=.mo
  5864 	else
  5865 	  gt_cv_have_gettext=no
  5866 	fi
  5867       fi
  5869 fi
  5873     if test "$gt_cv_have_gettext" = "yes" ; then
  5875 cat >>confdefs.h <<\_ACEOF
  5876 #define ENABLE_NLS 1
  5877 _ACEOF
  5879     fi
  5881         if test "$XGETTEXT" != ":"; then
  5882                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
  5883         : ;
  5884       else
  5885         echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
  5886 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
  5887         XGETTEXT=":"
  5888       fi
  5889     fi
  5891     # We need to process the po/ directory.
  5892     POSUB=po
  5894               ac_config_commands="$ac_config_commands default-1"
  5897                 for lang in $ALL_LINGUAS; do
  5898       GMOFILES="$GMOFILES $lang.gmo"
  5899       POFILES="$POFILES $lang.po"
  5900     done
  5914    if test "$gt_cv_have_gettext" = "yes"; then
  5915      if test "x$ALL_LINGUAS" = "x"; then
  5916        LINGUAS=
  5917      else
  5918        echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
  5919 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
  5920        NEW_LINGUAS=
  5921        for presentlang in $ALL_LINGUAS; do
  5922          useit=no
  5923          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
  5924            desiredlanguages="$LINGUAS"
  5925          else
  5926            desiredlanguages="$ALL_LINGUAS"
  5927          fi
  5928          for desiredlang in $desiredlanguages; do
  5929  	   # Use the presentlang catalog if desiredlang is
  5930            #   a. equal to presentlang, or
  5931            #   b. a variant of presentlang (because in this case,
  5932            #      presentlang can be used as a fallback for messages
  5933            #      which are not translated in the desiredlang catalog).
  5934            case "$desiredlang" in
  5935              "$presentlang"*) useit=yes;;
  5936            esac
  5937          done
  5938          if test $useit = yes; then
  5939            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
  5940          fi
  5941        done
  5942        LINGUAS=$NEW_LINGUAS
  5943        echo "$as_me:$LINENO: result: $LINGUAS" >&5
  5944 echo "${ECHO_T}$LINGUAS" >&6
  5945      fi
  5947           if test -n "$LINGUAS"; then
  5948        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
  5949      fi
  5950    fi
  5952             MKINSTALLDIRS=
  5953    if test -n "$ac_aux_dir"; then
  5954      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
  5955    fi
  5956    if test -z "$MKINSTALLDIRS"; then
  5957      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
  5958    fi
  5961          test -d po || mkdir po
  5962    if test "x$srcdir" != "x."; then
  5963      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
  5964        posrcprefix="$srcdir/"
  5965      else
  5966        posrcprefix="../$srcdir/"
  5967      fi
  5968    else
  5969      posrcprefix="../"
  5970    fi
  5971    rm -f po/POTFILES
  5972    sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
  5973 	< $srcdir/po/POTFILES.in > po/POTFILES
  5976                               ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in"
  5977 cat >confcache <<\_ACEOF
  5978 # This file is a shell script that caches the results of configure
  5979 # tests run on this system so they can be shared between configure
  5980 # scripts and configure runs, see configure's option --config-cache.
  5981 # It is not useful on other systems.  If it contains results you don't
  5982 # want to keep, you may remove or edit it.
  5984 # config.status only pays attention to the cache file if you give it
  5985 # the --recheck option to rerun configure.
  5987 # `ac_cv_env_foo' variables (set or unset) will be overridden when
  5988 # loading this file, other *unset* `ac_cv_foo' will be assigned the
  5989 # following values.
  5991 _ACEOF
  5993 # The following way of writing the cache mishandles newlines in values,
  5994 # but we know of no workaround that is simple, portable, and efficient.
  5995 # So, don't put newlines in cache variables' values.
  5996 # Ultrix sh set writes to stderr and can't be redirected directly,
  5997 # and sets the high bit in the cache file unless we assign to the vars.
  5999   (set) 2>&1 |
  6000     case `(ac_space=' '; set | grep ac_space) 2>&1` in
  6001     *ac_space=\ *)
  6002       # `set' does not quote correctly, so add quotes (double-quote
  6003       # substitution turns \\\\ into \\, and sed turns \\ into \).
  6004       sed -n \
  6005 	"s/'/'\\\\''/g;
  6006 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  6007       ;;
  6008     *)
  6009       # `set' quotes correctly as required by POSIX, so do not add quotes.
  6010       sed -n \
  6011 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  6012       ;;
  6013     esac;
  6014 } |
  6015   sed '
  6016      t clear
  6017      : clear
  6018      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  6019      t end
  6020      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  6021      : end' >>confcache
  6022 if diff $cache_file confcache >/dev/null 2>&1; then :; else
  6023   if test -w $cache_file; then
  6024     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
  6025     cat confcache >$cache_file
  6026   else
  6027     echo "not updating unwritable cache $cache_file"
  6028   fi
  6029 fi
  6030 rm -f confcache
  6032 test "x$prefix" = xNONE && prefix=$ac_default_prefix
  6033 # Let make expand exec_prefix.
  6034 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  6036 # VPATH may cause trouble with some makes, so we remove $(srcdir),
  6037 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  6038 # trailing colons and then remove the whole line if VPATH becomes empty
  6039 # (actually we leave an empty line to preserve line numbers).
  6040 if test "x$srcdir" = x.; then
  6041   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
  6042 s/:*\$(srcdir):*/:/;
  6043 s/:*\${srcdir}:*/:/;
  6044 s/:*@srcdir@:*/:/;
  6045 s/^\([^=]*=[	 ]*\):*/\1/;
  6046 s/:*$//;
  6047 s/^[^=]*=[	 ]*$//;
  6048 }'
  6049 fi
  6051 DEFS=-DHAVE_CONFIG_H
  6053 ac_libobjs=
  6054 ac_ltlibobjs=
  6055 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  6056   # 1. Remove the extension, and $U if already installed.
  6057   ac_i=`echo "$ac_i" |
  6058 	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
  6059   # 2. Add them.
  6060   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
  6061   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
  6062 done
  6063 LIBOBJS=$ac_libobjs
  6065 LTLIBOBJS=$ac_ltlibobjs
  6068 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  6069   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
  6070 Usually this means the macro was only invoked conditionally." >&5
  6071 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
  6072 Usually this means the macro was only invoked conditionally." >&2;}
  6073    { (exit 1); exit 1; }; }
  6074 fi
  6075 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  6076   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
  6077 Usually this means the macro was only invoked conditionally." >&5
  6078 echo "$as_me: error: conditional \"AMDEP\" was never defined.
  6079 Usually this means the macro was only invoked conditionally." >&2;}
  6080    { (exit 1); exit 1; }; }
  6081 fi
  6082 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  6083   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
  6084 Usually this means the macro was only invoked conditionally." >&5
  6085 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
  6086 Usually this means the macro was only invoked conditionally." >&2;}
  6087    { (exit 1); exit 1; }; }
  6088 fi
  6089 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  6090   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
  6091 Usually this means the macro was only invoked conditionally." >&5
  6092 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
  6093 Usually this means the macro was only invoked conditionally." >&2;}
  6094    { (exit 1); exit 1; }; }
  6095 fi
  6097 : ${CONFIG_STATUS=./config.status}
  6098 ac_clean_files_save=$ac_clean_files
  6099 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  6100 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  6101 echo "$as_me: creating $CONFIG_STATUS" >&6;}
  6102 cat >$CONFIG_STATUS <<_ACEOF
  6103 #! $SHELL
  6104 # Generated by $as_me.
  6105 # Run this file to recreate the current configuration.
  6106 # Compiler output produced by configure, useful for debugging
  6107 # configure, is in config.log if it exists.
  6109 debug=false
  6110 ac_cs_recheck=false
  6111 ac_cs_silent=false
  6112 SHELL=\${CONFIG_SHELL-$SHELL}
  6113 _ACEOF
  6115 cat >>$CONFIG_STATUS <<\_ACEOF
  6116 ## --------------------- ##
  6117 ## M4sh Initialization.  ##
  6118 ## --------------------- ##
  6120 # Be Bourne compatible
  6121 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  6122   emulate sh
  6123   NULLCMD=:
  6124   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  6125   # is contrary to our usage.  Disable this feature.
  6126   alias -g '${1+"$@"}'='"$@"'
  6127 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  6128   set -o posix
  6129 fi
  6130 DUALCASE=1; export DUALCASE # for MKS sh
  6132 # Support unset when possible.
  6133 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  6134   as_unset=unset
  6135 else
  6136   as_unset=false
  6137 fi
  6140 # Work around bugs in pre-3.0 UWIN ksh.
  6141 $as_unset ENV MAIL MAILPATH
  6142 PS1='$ '
  6143 PS2='> '
  6144 PS4='+ '
  6146 # NLS nuisances.
  6147 for as_var in \
  6148   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  6149   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  6150   LC_TELEPHONE LC_TIME
  6151 do
  6152   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  6153     eval $as_var=C; export $as_var
  6154   else
  6155     $as_unset $as_var
  6156   fi
  6157 done
  6159 # Required to use basename.
  6160 if expr a : '\(a\)' >/dev/null 2>&1; then
  6161   as_expr=expr
  6162 else
  6163   as_expr=false
  6164 fi
  6166 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  6167   as_basename=basename
  6168 else
  6169   as_basename=false
  6170 fi
  6173 # Name of the executable.
  6174 as_me=`$as_basename "$0" ||
  6175 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  6176 	 X"$0" : 'X\(//\)$' \| \
  6177 	 X"$0" : 'X\(/\)$' \| \
  6178 	 .     : '\(.\)' 2>/dev/null ||
  6179 echo X/"$0" |
  6180     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  6181   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
  6182   	  /^X\/\(\/\).*/{ s//\1/; q; }
  6183   	  s/.*/./; q'`
  6186 # PATH needs CR, and LINENO needs CR and PATH.
  6187 # Avoid depending upon Character Ranges.
  6188 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  6189 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  6190 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  6191 as_cr_digits='0123456789'
  6192 as_cr_alnum=$as_cr_Letters$as_cr_digits
  6194 # The user is always right.
  6195 if test "${PATH_SEPARATOR+set}" != set; then
  6196   echo "#! /bin/sh" >conf$$.sh
  6197   echo  "exit 0"   >>conf$$.sh
  6198   chmod +x conf$$.sh
  6199   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  6200     PATH_SEPARATOR=';'
  6201   else
  6202     PATH_SEPARATOR=:
  6203   fi
  6204   rm -f conf$$.sh
  6205 fi
  6208   as_lineno_1=$LINENO
  6209   as_lineno_2=$LINENO
  6210   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  6211   test "x$as_lineno_1" != "x$as_lineno_2" &&
  6212   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  6213   # Find who we are.  Look in the path if we contain no path at all
  6214   # relative or not.
  6215   case $0 in
  6216     *[\\/]* ) as_myself=$0 ;;
  6217     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6218 for as_dir in $PATH
  6219 do
  6220   IFS=$as_save_IFS
  6221   test -z "$as_dir" && as_dir=.
  6222   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  6223 done
  6225        ;;
  6226   esac
  6227   # We did not find ourselves, most probably we were run as `sh COMMAND'
  6228   # in which case we are not to be found in the path.
  6229   if test "x$as_myself" = x; then
  6230     as_myself=$0
  6231   fi
  6232   if test ! -f "$as_myself"; then
  6233     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
  6234 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
  6235    { (exit 1); exit 1; }; }
  6236   fi
  6237   case $CONFIG_SHELL in
  6238   '')
  6239     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6240 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  6241 do
  6242   IFS=$as_save_IFS
  6243   test -z "$as_dir" && as_dir=.
  6244   for as_base in sh bash ksh sh5; do
  6245 	 case $as_dir in
  6246 	 /*)
  6247 	   if ("$as_dir/$as_base" -c '
  6248   as_lineno_1=$LINENO
  6249   as_lineno_2=$LINENO
  6250   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  6251   test "x$as_lineno_1" != "x$as_lineno_2" &&
  6252   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
  6253 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  6254 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  6255 	     CONFIG_SHELL=$as_dir/$as_base
  6256 	     export CONFIG_SHELL
  6257 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  6258 	   fi;;
  6259 	 esac
  6260        done
  6261 done
  6262 ;;
  6263   esac
  6265   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  6266   # uniformly replaced by the line number.  The first 'sed' inserts a
  6267   # line-number line before each line; the second 'sed' does the real
  6268   # work.  The second script uses 'N' to pair each line-number line
  6269   # with the numbered line, and appends trailing '-' during
  6270   # substitution so that $LINENO is not a special case at line end.
  6271   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  6272   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  6273   sed '=' <$as_myself |
  6274     sed '
  6276       s,$,-,
  6277       : loop
  6278       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  6279       t loop
  6280       s,-$,,
  6281       s,^['$as_cr_digits']*\n,,
  6282     ' >$as_me.lineno &&
  6283   chmod +x $as_me.lineno ||
  6284     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
  6285 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
  6286    { (exit 1); exit 1; }; }
  6288   # Don't try to exec as it changes $[0], causing all sort of problems
  6289   # (the dirname of $[0] is not the place where we might find the
  6290   # original and so on.  Autoconf is especially sensible to this).
  6291   . ./$as_me.lineno
  6292   # Exit status is that of the last command.
  6293   exit
  6297 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  6298   *c*,-n*) ECHO_N= ECHO_C='
  6299 ' ECHO_T='	' ;;
  6300   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  6301   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
  6302 esac
  6304 if expr a : '\(a\)' >/dev/null 2>&1; then
  6305   as_expr=expr
  6306 else
  6307   as_expr=false
  6308 fi
  6310 rm -f conf$$ conf$$.exe conf$$.file
  6311 echo >conf$$.file
  6312 if ln -s conf$$.file conf$$ 2>/dev/null; then
  6313   # We could just check for DJGPP; but this test a) works b) is more generic
  6314   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  6315   if test -f conf$$.exe; then
  6316     # Don't use ln at all; we don't have any links
  6317     as_ln_s='cp -p'
  6318   else
  6319     as_ln_s='ln -s'
  6320   fi
  6321 elif ln conf$$.file conf$$ 2>/dev/null; then
  6322   as_ln_s=ln
  6323 else
  6324   as_ln_s='cp -p'
  6325 fi
  6326 rm -f conf$$ conf$$.exe conf$$.file
  6328 if mkdir -p . 2>/dev/null; then
  6329   as_mkdir_p=:
  6330 else
  6331   test -d ./-p && rmdir ./-p
  6332   as_mkdir_p=false
  6333 fi
  6335 as_executable_p="test -f"
  6337 # Sed expression to map a string onto a valid CPP name.
  6338 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  6340 # Sed expression to map a string onto a valid variable name.
  6341 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  6344 # IFS
  6345 # We need space, tab and new line, in precisely that order.
  6346 as_nl='
  6348 IFS=" 	$as_nl"
  6350 # CDPATH.
  6351 $as_unset CDPATH
  6353 exec 6>&1
  6355 # Open the log real soon, to keep \$[0] and so on meaningful, and to
  6356 # report actual input values of CONFIG_FILES etc. instead of their
  6357 # values after options handling.  Logging --version etc. is OK.
  6358 exec 5>>config.log
  6360   echo
  6361   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  6362 ## Running $as_me. ##
  6363 _ASBOX
  6364 } >&5
  6365 cat >&5 <<_CSEOF
  6367 This file was extended by $as_me, which was
  6368 generated by GNU Autoconf 2.59.  Invocation command line was
  6370   CONFIG_FILES    = $CONFIG_FILES
  6371   CONFIG_HEADERS  = $CONFIG_HEADERS
  6372   CONFIG_LINKS    = $CONFIG_LINKS
  6373   CONFIG_COMMANDS = $CONFIG_COMMANDS
  6374   $ $0 $@
  6376 _CSEOF
  6377 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
  6378 echo >&5
  6379 _ACEOF
  6381 # Files that config.status was made for.
  6382 if test -n "$ac_config_files"; then
  6383   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
  6384 fi
  6386 if test -n "$ac_config_headers"; then
  6387   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
  6388 fi
  6390 if test -n "$ac_config_links"; then
  6391   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
  6392 fi
  6394 if test -n "$ac_config_commands"; then
  6395   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
  6396 fi
  6398 cat >>$CONFIG_STATUS <<\_ACEOF
  6400 ac_cs_usage="\
  6401 \`$as_me' instantiates files from templates according to the
  6402 current configuration.
  6404 Usage: $0 [OPTIONS] [FILE]...
  6406   -h, --help       print this help, then exit
  6407   -V, --version    print version number, then exit
  6408   -q, --quiet      do not print progress messages
  6409   -d, --debug      don't remove temporary files
  6410       --recheck    update $as_me by reconfiguring in the same conditions
  6411   --file=FILE[:TEMPLATE]
  6412 		   instantiate the configuration file FILE
  6413   --header=FILE[:TEMPLATE]
  6414 		   instantiate the configuration header FILE
  6416 Configuration files:
  6417 $config_files
  6419 Configuration headers:
  6420 $config_headers
  6422 Configuration commands:
  6423 $config_commands
  6425 Report bugs to <bug-autoconf@gnu.org>."
  6426 _ACEOF
  6428 cat >>$CONFIG_STATUS <<_ACEOF
  6429 ac_cs_version="\\
  6430 config.status
  6431 configured by $0, generated by GNU Autoconf 2.59,
  6432   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
  6434 Copyright (C) 2003 Free Software Foundation, Inc.
  6435 This config.status script is free software; the Free Software Foundation
  6436 gives unlimited permission to copy, distribute and modify it."
  6437 srcdir=$srcdir
  6438 INSTALL="$INSTALL"
  6439 _ACEOF
  6441 cat >>$CONFIG_STATUS <<\_ACEOF
  6442 # If no file are specified by the user, then we need to provide default
  6443 # value.  By we need to know if files were specified by the user.
  6444 ac_need_defaults=:
  6445 while test $# != 0
  6446 do
  6447   case $1 in
  6448   --*=*)
  6449     ac_option=`expr "x$1" : 'x\([^=]*\)='`
  6450     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
  6451     ac_shift=:
  6452     ;;
  6453   -*)
  6454     ac_option=$1
  6455     ac_optarg=$2
  6456     ac_shift=shift
  6457     ;;
  6458   *) # This is not an option, so the user has probably given explicit
  6459      # arguments.
  6460      ac_option=$1
  6461      ac_need_defaults=false;;
  6462   esac
  6464   case $ac_option in
  6465   # Handling of the options.
  6466 _ACEOF
  6467 cat >>$CONFIG_STATUS <<\_ACEOF
  6468   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  6469     ac_cs_recheck=: ;;
  6470   --version | --vers* | -V )
  6471     echo "$ac_cs_version"; exit 0 ;;
  6472   --he | --h)
  6473     # Conflict between --help and --header
  6474     { { echo "$as_me:$LINENO: error: ambiguous option: $1
  6475 Try \`$0 --help' for more information." >&5
  6476 echo "$as_me: error: ambiguous option: $1
  6477 Try \`$0 --help' for more information." >&2;}
  6478    { (exit 1); exit 1; }; };;
  6479   --help | --hel | -h )
  6480     echo "$ac_cs_usage"; exit 0 ;;
  6481   --debug | --d* | -d )
  6482     debug=: ;;
  6483   --file | --fil | --fi | --f )
  6484     $ac_shift
  6485     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
  6486     ac_need_defaults=false;;
  6487   --header | --heade | --head | --hea )
  6488     $ac_shift
  6489     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  6490     ac_need_defaults=false;;
  6491   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  6492   | -silent | --silent | --silen | --sile | --sil | --si | --s)
  6493     ac_cs_silent=: ;;
  6495   # This is an error.
  6496   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
  6497 Try \`$0 --help' for more information." >&5
  6498 echo "$as_me: error: unrecognized option: $1
  6499 Try \`$0 --help' for more information." >&2;}
  6500    { (exit 1); exit 1; }; } ;;
  6502   *) ac_config_targets="$ac_config_targets $1" ;;
  6504   esac
  6505   shift
  6506 done
  6508 ac_configure_extra_args=
  6510 if $ac_cs_silent; then
  6511   exec 6>/dev/null
  6512   ac_configure_extra_args="$ac_configure_extra_args --silent"
  6513 fi
  6515 _ACEOF
  6516 cat >>$CONFIG_STATUS <<_ACEOF
  6517 if \$ac_cs_recheck; then
  6518   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  6519   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  6520 fi
  6522 _ACEOF
  6524 cat >>$CONFIG_STATUS <<_ACEOF
  6526 # INIT-COMMANDS section.
  6529 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  6532 _ACEOF
  6536 cat >>$CONFIG_STATUS <<\_ACEOF
  6537 for ac_config_target in $ac_config_targets
  6538 do
  6539   case "$ac_config_target" in
  6540   # Handling of arguments.
  6541   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  6542   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  6543   "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
  6544   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  6545   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
  6546   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  6547   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  6548 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  6549    { (exit 1); exit 1; }; };;
  6550   esac
  6551 done
  6553 # If the user did not use the arguments to specify the items to instantiate,
  6554 # then the envvar interface is used.  Set only those that are not.
  6555 # We use the long form for the default assignment because of an extremely
  6556 # bizarre bug on SunOS 4.1.3.
  6557 if $ac_need_defaults; then
  6558   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  6559   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  6560   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  6561 fi
  6563 # Have a temporary directory for convenience.  Make it in the build tree
  6564 # simply because there is no reason to put it here, and in addition,
  6565 # creating and moving files from /tmp can sometimes cause problems.
  6566 # Create a temporary directory, and hook for its removal unless debugging.
  6567 $debug ||
  6569   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  6570   trap '{ (exit 1); exit 1; }' 1 2 13 15
  6573 # Create a (secure) tmp directory for tmp files.
  6576   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
  6577   test -n "$tmp" && test -d "$tmp"
  6578 }  ||
  6580   tmp=./confstat$$-$RANDOM
  6581   (umask 077 && mkdir $tmp)
  6582 } ||
  6584    echo "$me: cannot create a temporary directory in ." >&2
  6585    { (exit 1); exit 1; }
  6588 _ACEOF
  6590 cat >>$CONFIG_STATUS <<_ACEOF
  6593 # CONFIG_FILES section.
  6596 # No need to generate the scripts if there are no CONFIG_FILES.
  6597 # This happens for instance when ./config.status config.h
  6598 if test -n "\$CONFIG_FILES"; then
  6599   # Protect against being on the right side of a sed subst in config.status.
  6600   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
  6601    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
  6602 s,@SHELL@,$SHELL,;t t
  6603 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
  6604 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
  6605 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
  6606 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
  6607 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
  6608 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
  6609 s,@exec_prefix@,$exec_prefix,;t t
  6610 s,@prefix@,$prefix,;t t
  6611 s,@program_transform_name@,$program_transform_name,;t t
  6612 s,@bindir@,$bindir,;t t
  6613 s,@sbindir@,$sbindir,;t t
  6614 s,@libexecdir@,$libexecdir,;t t
  6615 s,@datadir@,$datadir,;t t
  6616 s,@sysconfdir@,$sysconfdir,;t t
  6617 s,@sharedstatedir@,$sharedstatedir,;t t
  6618 s,@localstatedir@,$localstatedir,;t t
  6619 s,@libdir@,$libdir,;t t
  6620 s,@includedir@,$includedir,;t t
  6621 s,@oldincludedir@,$oldincludedir,;t t
  6622 s,@infodir@,$infodir,;t t
  6623 s,@mandir@,$mandir,;t t
  6624 s,@build_alias@,$build_alias,;t t
  6625 s,@host_alias@,$host_alias,;t t
  6626 s,@target_alias@,$target_alias,;t t
  6627 s,@DEFS@,$DEFS,;t t
  6628 s,@ECHO_C@,$ECHO_C,;t t
  6629 s,@ECHO_N@,$ECHO_N,;t t
  6630 s,@ECHO_T@,$ECHO_T,;t t
  6631 s,@LIBS@,$LIBS,;t t
  6632 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
  6633 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
  6634 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
  6635 s,@CYGPATH_W@,$CYGPATH_W,;t t
  6636 s,@PACKAGE@,$PACKAGE,;t t
  6637 s,@VERSION@,$VERSION,;t t
  6638 s,@ACLOCAL@,$ACLOCAL,;t t
  6639 s,@AUTOCONF@,$AUTOCONF,;t t
  6640 s,@AUTOMAKE@,$AUTOMAKE,;t t
  6641 s,@AUTOHEADER@,$AUTOHEADER,;t t
  6642 s,@MAKEINFO@,$MAKEINFO,;t t
  6643 s,@AMTAR@,$AMTAR,;t t
  6644 s,@install_sh@,$install_sh,;t t
  6645 s,@STRIP@,$STRIP,;t t
  6646 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
  6647 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
  6648 s,@AWK@,$AWK,;t t
  6649 s,@SET_MAKE@,$SET_MAKE,;t t
  6650 s,@am__leading_dot@,$am__leading_dot,;t t
  6651 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
  6652 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
  6653 s,@MAINT@,$MAINT,;t t
  6654 s,@CC@,$CC,;t t
  6655 s,@CFLAGS@,$CFLAGS,;t t
  6656 s,@LDFLAGS@,$LDFLAGS,;t t
  6657 s,@CPPFLAGS@,$CPPFLAGS,;t t
  6658 s,@ac_ct_CC@,$ac_ct_CC,;t t
  6659 s,@EXEEXT@,$EXEEXT,;t t
  6660 s,@OBJEXT@,$OBJEXT,;t t
  6661 s,@DEPDIR@,$DEPDIR,;t t
  6662 s,@am__include@,$am__include,;t t
  6663 s,@am__quote@,$am__quote,;t t
  6664 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
  6665 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
  6666 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
  6667 s,@CCDEPMODE@,$CCDEPMODE,;t t
  6668 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
  6669 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
  6670 s,@CPP@,$CPP,;t t
  6671 s,@EGREP@,$EGREP,;t t
  6672 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
  6673 s,@PACKAGE_CFLAGS@,$PACKAGE_CFLAGS,;t t
  6674 s,@PACKAGE_LIBS@,$PACKAGE_LIBS,;t t
  6675 s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
  6676 s,@USE_NLS@,$USE_NLS,;t t
  6677 s,@MSGFMT@,$MSGFMT,;t t
  6678 s,@GMSGFMT@,$GMSGFMT,;t t
  6679 s,@XGETTEXT@,$XGETTEXT,;t t
  6680 s,@CATALOGS@,$CATALOGS,;t t
  6681 s,@CATOBJEXT@,$CATOBJEXT,;t t
  6682 s,@DATADIRNAME@,$DATADIRNAME,;t t
  6683 s,@GMOFILES@,$GMOFILES,;t t
  6684 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
  6685 s,@INTLLIBS@,$INTLLIBS,;t t
  6686 s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t
  6687 s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t
  6688 s,@POFILES@,$POFILES,;t t
  6689 s,@POSUB@,$POSUB,;t t
  6690 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
  6691 s,@LIBOBJS@,$LIBOBJS,;t t
  6692 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
  6693 CEOF
  6695 _ACEOF
  6697   cat >>$CONFIG_STATUS <<\_ACEOF
  6698   # Split the substitutions into bite-sized pieces for seds with
  6699   # small command number limits, like on Digital OSF/1 and HP-UX.
  6700   ac_max_sed_lines=48
  6701   ac_sed_frag=1 # Number of current file.
  6702   ac_beg=1 # First line for current file.
  6703   ac_end=$ac_max_sed_lines # Line after last line for current file.
  6704   ac_more_lines=:
  6705   ac_sed_cmds=
  6706   while $ac_more_lines; do
  6707     if test $ac_beg -gt 1; then
  6708       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  6709     else
  6710       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  6711     fi
  6712     if test ! -s $tmp/subs.frag; then
  6713       ac_more_lines=false
  6714     else
  6715       # The purpose of the label and of the branching condition is to
  6716       # speed up the sed processing (if there are no `@' at all, there
  6717       # is no need to browse any of the substitutions).
  6718       # These are the two extra sed commands mentioned above.
  6719       (echo ':t
  6720   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
  6721       if test -z "$ac_sed_cmds"; then
  6722 	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
  6723       else
  6724 	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
  6725       fi
  6726       ac_sed_frag=`expr $ac_sed_frag + 1`
  6727       ac_beg=$ac_end
  6728       ac_end=`expr $ac_end + $ac_max_sed_lines`
  6729     fi
  6730   done
  6731   if test -z "$ac_sed_cmds"; then
  6732     ac_sed_cmds=cat
  6733   fi
  6734 fi # test -n "$CONFIG_FILES"
  6736 _ACEOF
  6737 cat >>$CONFIG_STATUS <<\_ACEOF
  6738 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  6739   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  6740   case $ac_file in
  6741   - | *:- | *:-:* ) # input from stdin
  6742 	cat >$tmp/stdin
  6743 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  6744 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  6745   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  6746 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  6747   * )   ac_file_in=$ac_file.in ;;
  6748   esac
  6750   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
  6751   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  6752 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  6753 	 X"$ac_file" : 'X\(//\)[^/]' \| \
  6754 	 X"$ac_file" : 'X\(//\)$' \| \
  6755 	 X"$ac_file" : 'X\(/\)' \| \
  6756 	 .     : '\(.\)' 2>/dev/null ||
  6757 echo X"$ac_file" |
  6758     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  6759   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  6760   	  /^X\(\/\/\)$/{ s//\1/; q; }
  6761   	  /^X\(\/\).*/{ s//\1/; q; }
  6762   	  s/.*/./; q'`
  6763   { if $as_mkdir_p; then
  6764     mkdir -p "$ac_dir"
  6765   else
  6766     as_dir="$ac_dir"
  6767     as_dirs=
  6768     while test ! -d "$as_dir"; do
  6769       as_dirs="$as_dir $as_dirs"
  6770       as_dir=`(dirname "$as_dir") 2>/dev/null ||
  6771 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  6772 	 X"$as_dir" : 'X\(//\)[^/]' \| \
  6773 	 X"$as_dir" : 'X\(//\)$' \| \
  6774 	 X"$as_dir" : 'X\(/\)' \| \
  6775 	 .     : '\(.\)' 2>/dev/null ||
  6776 echo X"$as_dir" |
  6777     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  6778   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  6779   	  /^X\(\/\/\)$/{ s//\1/; q; }
  6780   	  /^X\(\/\).*/{ s//\1/; q; }
  6781   	  s/.*/./; q'`
  6782     done
  6783     test ! -n "$as_dirs" || mkdir $as_dirs
  6784   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  6785 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  6786    { (exit 1); exit 1; }; }; }
  6788   ac_builddir=.
  6790 if test "$ac_dir" != .; then
  6791   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  6792   # A "../" for each directory in $ac_dir_suffix.
  6793   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  6794 else
  6795   ac_dir_suffix= ac_top_builddir=
  6796 fi
  6798 case $srcdir in
  6799   .)  # No --srcdir option.  We are building in place.
  6800     ac_srcdir=.
  6801     if test -z "$ac_top_builddir"; then
  6802        ac_top_srcdir=.
  6803     else
  6804        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  6805     fi ;;
  6806   [\\/]* | ?:[\\/]* )  # Absolute path.
  6807     ac_srcdir=$srcdir$ac_dir_suffix;
  6808     ac_top_srcdir=$srcdir ;;
  6809   *) # Relative path.
  6810     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  6811     ac_top_srcdir=$ac_top_builddir$srcdir ;;
  6812 esac
  6814 # Do not use `cd foo && pwd` to compute absolute paths, because
  6815 # the directories may not exist.
  6816 case `pwd` in
  6817 .) ac_abs_builddir="$ac_dir";;
  6818 *)
  6819   case "$ac_dir" in
  6820   .) ac_abs_builddir=`pwd`;;
  6821   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  6822   *) ac_abs_builddir=`pwd`/"$ac_dir";;
  6823   esac;;
  6824 esac
  6825 case $ac_abs_builddir in
  6826 .) ac_abs_top_builddir=${ac_top_builddir}.;;
  6827 *)
  6828   case ${ac_top_builddir}. in
  6829   .) ac_abs_top_builddir=$ac_abs_builddir;;
  6830   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  6831   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  6832   esac;;
  6833 esac
  6834 case $ac_abs_builddir in
  6835 .) ac_abs_srcdir=$ac_srcdir;;
  6836 *)
  6837   case $ac_srcdir in
  6838   .) ac_abs_srcdir=$ac_abs_builddir;;
  6839   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  6840   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  6841   esac;;
  6842 esac
  6843 case $ac_abs_builddir in
  6844 .) ac_abs_top_srcdir=$ac_top_srcdir;;
  6845 *)
  6846   case $ac_top_srcdir in
  6847   .) ac_abs_top_srcdir=$ac_abs_builddir;;
  6848   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  6849   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  6850   esac;;
  6851 esac
  6854   case $INSTALL in
  6855   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  6856   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
  6857   esac
  6859   # Let's still pretend it is `configure' which instantiates (i.e., don't
  6860   # use $as_me), people would be surprised to read:
  6861   #    /* config.h.  Generated by config.status.  */
  6862   if test x"$ac_file" = x-; then
  6863     configure_input=
  6864   else
  6865     configure_input="$ac_file.  "
  6866   fi
  6867   configure_input=$configure_input"Generated from `echo $ac_file_in |
  6868 				     sed 's,.*/,,'` by configure."
  6870   # First look for the input files in the build tree, otherwise in the
  6871   # src tree.
  6872   ac_file_inputs=`IFS=:
  6873     for f in $ac_file_in; do
  6874       case $f in
  6875       -) echo $tmp/stdin ;;
  6876       [\\/$]*)
  6877 	 # Absolute (can't be DOS-style, as IFS=:)
  6878 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  6879 echo "$as_me: error: cannot find input file: $f" >&2;}
  6880    { (exit 1); exit 1; }; }
  6881 	 echo "$f";;
  6882       *) # Relative
  6883 	 if test -f "$f"; then
  6884 	   # Build tree
  6885 	   echo "$f"
  6886 	 elif test -f "$srcdir/$f"; then
  6887 	   # Source tree
  6888 	   echo "$srcdir/$f"
  6889 	 else
  6890 	   # /dev/null tree
  6891 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  6892 echo "$as_me: error: cannot find input file: $f" >&2;}
  6893    { (exit 1); exit 1; }; }
  6894 	 fi;;
  6895       esac
  6896     done` || { (exit 1); exit 1; }
  6898   if test x"$ac_file" != x-; then
  6899     { echo "$as_me:$LINENO: creating $ac_file" >&5
  6900 echo "$as_me: creating $ac_file" >&6;}
  6901     rm -f "$ac_file"
  6902   fi
  6903 _ACEOF
  6904 cat >>$CONFIG_STATUS <<_ACEOF
  6905   sed "$ac_vpsub
  6906 $extrasub
  6907 _ACEOF
  6908 cat >>$CONFIG_STATUS <<\_ACEOF
  6909 :t
  6910 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  6911 s,@configure_input@,$configure_input,;t t
  6912 s,@srcdir@,$ac_srcdir,;t t
  6913 s,@abs_srcdir@,$ac_abs_srcdir,;t t
  6914 s,@top_srcdir@,$ac_top_srcdir,;t t
  6915 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
  6916 s,@builddir@,$ac_builddir,;t t
  6917 s,@abs_builddir@,$ac_abs_builddir,;t t
  6918 s,@top_builddir@,$ac_top_builddir,;t t
  6919 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
  6920 s,@INSTALL@,$ac_INSTALL,;t t
  6921 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  6922   rm -f $tmp/stdin
  6923   if test x"$ac_file" != x-; then
  6924     mv $tmp/out $ac_file
  6925   else
  6926     cat $tmp/out
  6927     rm -f $tmp/out
  6928   fi
  6930 done
  6931 _ACEOF
  6932 cat >>$CONFIG_STATUS <<\_ACEOF
  6935 # CONFIG_HEADER section.
  6938 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
  6939 # NAME is the cpp macro being defined and VALUE is the value it is being given.
  6941 # ac_d sets the value in "#define NAME VALUE" lines.
  6942 ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
  6943 ac_dB='[	 ].*$,\1#\2'
  6944 ac_dC=' '
  6945 ac_dD=',;t'
  6946 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  6947 ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
  6948 ac_uB='$,\1#\2define\3'
  6949 ac_uC=' '
  6950 ac_uD=',;t'
  6952 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
  6953   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  6954   case $ac_file in
  6955   - | *:- | *:-:* ) # input from stdin
  6956 	cat >$tmp/stdin
  6957 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  6958 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  6959   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  6960 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  6961   * )   ac_file_in=$ac_file.in ;;
  6962   esac
  6964   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
  6965 echo "$as_me: creating $ac_file" >&6;}
  6967   # First look for the input files in the build tree, otherwise in the
  6968   # src tree.
  6969   ac_file_inputs=`IFS=:
  6970     for f in $ac_file_in; do
  6971       case $f in
  6972       -) echo $tmp/stdin ;;
  6973       [\\/$]*)
  6974 	 # Absolute (can't be DOS-style, as IFS=:)
  6975 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  6976 echo "$as_me: error: cannot find input file: $f" >&2;}
  6977    { (exit 1); exit 1; }; }
  6978 	 # Do quote $f, to prevent DOS paths from being IFS'd.
  6979 	 echo "$f";;
  6980       *) # Relative
  6981 	 if test -f "$f"; then
  6982 	   # Build tree
  6983 	   echo "$f"
  6984 	 elif test -f "$srcdir/$f"; then
  6985 	   # Source tree
  6986 	   echo "$srcdir/$f"
  6987 	 else
  6988 	   # /dev/null tree
  6989 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  6990 echo "$as_me: error: cannot find input file: $f" >&2;}
  6991    { (exit 1); exit 1; }; }
  6992 	 fi;;
  6993       esac
  6994     done` || { (exit 1); exit 1; }
  6995   # Remove the trailing spaces.
  6996   sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
  6998 _ACEOF
  7000 # Transform confdefs.h into two sed scripts, `conftest.defines' and
  7001 # `conftest.undefs', that substitutes the proper values into
  7002 # config.h.in to produce config.h.  The first handles `#define'
  7003 # templates, and the second `#undef' templates.
  7004 # And first: Protect against being on the right side of a sed subst in
  7005 # config.status.  Protect against being in an unquoted here document
  7006 # in config.status.
  7007 rm -f conftest.defines conftest.undefs
  7008 # Using a here document instead of a string reduces the quoting nightmare.
  7009 # Putting comments in sed scripts is not portable.
  7011 # `end' is used to avoid that the second main sed command (meant for
  7012 # 0-ary CPP macros) applies to n-ary macro definitions.
  7013 # See the Autoconf documentation for `clear'.
  7014 cat >confdef2sed.sed <<\_ACEOF
  7015 s/[\\&,]/\\&/g
  7016 s,[\\$`],\\&,g
  7017 t clear
  7018 : clear
  7019 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
  7020 t end
  7021 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
  7022 : end
  7023 _ACEOF
  7024 # If some macros were called several times there might be several times
  7025 # the same #defines, which is useless.  Nevertheless, we may not want to
  7026 # sort them, since we want the *last* AC-DEFINE to be honored.
  7027 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
  7028 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
  7029 rm -f confdef2sed.sed
  7031 # This sed command replaces #undef with comments.  This is necessary, for
  7032 # example, in the case of _POSIX_SOURCE, which is predefined and required
  7033 # on some systems where configure will not decide to define it.
  7034 cat >>conftest.undefs <<\_ACEOF
  7035 s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
  7036 _ACEOF
  7038 # Break up conftest.defines because some shells have a limit on the size
  7039 # of here documents, and old seds have small limits too (100 cmds).
  7040 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
  7041 echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
  7042 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
  7043 echo '  :' >>$CONFIG_STATUS
  7044 rm -f conftest.tail
  7045 while grep . conftest.defines >/dev/null
  7046 do
  7047   # Write a limited-size here document to $tmp/defines.sed.
  7048   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
  7049   # Speed up: don't consider the non `#define' lines.
  7050   echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
  7051   # Work around the forget-to-reset-the-flag bug.
  7052   echo 't clr' >>$CONFIG_STATUS
  7053   echo ': clr' >>$CONFIG_STATUS
  7054   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
  7055   echo 'CEOF
  7056   sed -f $tmp/defines.sed $tmp/in >$tmp/out
  7057   rm -f $tmp/in
  7058   mv $tmp/out $tmp/in
  7059 ' >>$CONFIG_STATUS
  7060   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
  7061   rm -f conftest.defines
  7062   mv conftest.tail conftest.defines
  7063 done
  7064 rm -f conftest.defines
  7065 echo '  fi # grep' >>$CONFIG_STATUS
  7066 echo >>$CONFIG_STATUS
  7068 # Break up conftest.undefs because some shells have a limit on the size
  7069 # of here documents, and old seds have small limits too (100 cmds).
  7070 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
  7071 rm -f conftest.tail
  7072 while grep . conftest.undefs >/dev/null
  7073 do
  7074   # Write a limited-size here document to $tmp/undefs.sed.
  7075   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
  7076   # Speed up: don't consider the non `#undef'
  7077   echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
  7078   # Work around the forget-to-reset-the-flag bug.
  7079   echo 't clr' >>$CONFIG_STATUS
  7080   echo ': clr' >>$CONFIG_STATUS
  7081   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
  7082   echo 'CEOF
  7083   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
  7084   rm -f $tmp/in
  7085   mv $tmp/out $tmp/in
  7086 ' >>$CONFIG_STATUS
  7087   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
  7088   rm -f conftest.undefs
  7089   mv conftest.tail conftest.undefs
  7090 done
  7091 rm -f conftest.undefs
  7093 cat >>$CONFIG_STATUS <<\_ACEOF
  7094   # Let's still pretend it is `configure' which instantiates (i.e., don't
  7095   # use $as_me), people would be surprised to read:
  7096   #    /* config.h.  Generated by config.status.  */
  7097   if test x"$ac_file" = x-; then
  7098     echo "/* Generated by configure.  */" >$tmp/config.h
  7099   else
  7100     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
  7101   fi
  7102   cat $tmp/in >>$tmp/config.h
  7103   rm -f $tmp/in
  7104   if test x"$ac_file" != x-; then
  7105     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
  7106       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  7107 echo "$as_me: $ac_file is unchanged" >&6;}
  7108     else
  7109       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  7110 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  7111 	 X"$ac_file" : 'X\(//\)[^/]' \| \
  7112 	 X"$ac_file" : 'X\(//\)$' \| \
  7113 	 X"$ac_file" : 'X\(/\)' \| \
  7114 	 .     : '\(.\)' 2>/dev/null ||
  7115 echo X"$ac_file" |
  7116     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  7117   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  7118   	  /^X\(\/\/\)$/{ s//\1/; q; }
  7119   	  /^X\(\/\).*/{ s//\1/; q; }
  7120   	  s/.*/./; q'`
  7121       { if $as_mkdir_p; then
  7122     mkdir -p "$ac_dir"
  7123   else
  7124     as_dir="$ac_dir"
  7125     as_dirs=
  7126     while test ! -d "$as_dir"; do
  7127       as_dirs="$as_dir $as_dirs"
  7128       as_dir=`(dirname "$as_dir") 2>/dev/null ||
  7129 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  7130 	 X"$as_dir" : 'X\(//\)[^/]' \| \
  7131 	 X"$as_dir" : 'X\(//\)$' \| \
  7132 	 X"$as_dir" : 'X\(/\)' \| \
  7133 	 .     : '\(.\)' 2>/dev/null ||
  7134 echo X"$as_dir" |
  7135     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  7136   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  7137   	  /^X\(\/\/\)$/{ s//\1/; q; }
  7138   	  /^X\(\/\).*/{ s//\1/; q; }
  7139   	  s/.*/./; q'`
  7140     done
  7141     test ! -n "$as_dirs" || mkdir $as_dirs
  7142   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  7143 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  7144    { (exit 1); exit 1; }; }; }
  7146       rm -f $ac_file
  7147       mv $tmp/config.h $ac_file
  7148     fi
  7149   else
  7150     cat $tmp/config.h
  7151     rm -f $tmp/config.h
  7152   fi
  7153 # Compute $ac_file's index in $config_headers.
  7154 _am_stamp_count=1
  7155 for _am_header in $config_headers :; do
  7156   case $_am_header in
  7157     $ac_file | $ac_file:* )
  7158       break ;;
  7159     * )
  7160       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  7161   esac
  7162 done
  7163 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
  7164 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  7165 	 X$ac_file : 'X\(//\)[^/]' \| \
  7166 	 X$ac_file : 'X\(//\)$' \| \
  7167 	 X$ac_file : 'X\(/\)' \| \
  7168 	 .     : '\(.\)' 2>/dev/null ||
  7169 echo X$ac_file |
  7170     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  7171   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  7172   	  /^X\(\/\/\)$/{ s//\1/; q; }
  7173   	  /^X\(\/\).*/{ s//\1/; q; }
  7174   	  s/.*/./; q'`/stamp-h$_am_stamp_count
  7175 done
  7176 _ACEOF
  7177 cat >>$CONFIG_STATUS <<\_ACEOF
  7180 # CONFIG_COMMANDS section.
  7182 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
  7183   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
  7184   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
  7185   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
  7186 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  7187 	 X"$ac_dest" : 'X\(//\)[^/]' \| \
  7188 	 X"$ac_dest" : 'X\(//\)$' \| \
  7189 	 X"$ac_dest" : 'X\(/\)' \| \
  7190 	 .     : '\(.\)' 2>/dev/null ||
  7191 echo X"$ac_dest" |
  7192     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  7193   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  7194   	  /^X\(\/\/\)$/{ s//\1/; q; }
  7195   	  /^X\(\/\).*/{ s//\1/; q; }
  7196   	  s/.*/./; q'`
  7197   { if $as_mkdir_p; then
  7198     mkdir -p "$ac_dir"
  7199   else
  7200     as_dir="$ac_dir"
  7201     as_dirs=
  7202     while test ! -d "$as_dir"; do
  7203       as_dirs="$as_dir $as_dirs"
  7204       as_dir=`(dirname "$as_dir") 2>/dev/null ||
  7205 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  7206 	 X"$as_dir" : 'X\(//\)[^/]' \| \
  7207 	 X"$as_dir" : 'X\(//\)$' \| \
  7208 	 X"$as_dir" : 'X\(/\)' \| \
  7209 	 .     : '\(.\)' 2>/dev/null ||
  7210 echo X"$as_dir" |
  7211     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  7212   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  7213   	  /^X\(\/\/\)$/{ s//\1/; q; }
  7214   	  /^X\(\/\).*/{ s//\1/; q; }
  7215   	  s/.*/./; q'`
  7216     done
  7217     test ! -n "$as_dirs" || mkdir $as_dirs
  7218   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  7219 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  7220    { (exit 1); exit 1; }; }; }
  7222   ac_builddir=.
  7224 if test "$ac_dir" != .; then
  7225   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  7226   # A "../" for each directory in $ac_dir_suffix.
  7227   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  7228 else
  7229   ac_dir_suffix= ac_top_builddir=
  7230 fi
  7232 case $srcdir in
  7233   .)  # No --srcdir option.  We are building in place.
  7234     ac_srcdir=.
  7235     if test -z "$ac_top_builddir"; then
  7236        ac_top_srcdir=.
  7237     else
  7238        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  7239     fi ;;
  7240   [\\/]* | ?:[\\/]* )  # Absolute path.
  7241     ac_srcdir=$srcdir$ac_dir_suffix;
  7242     ac_top_srcdir=$srcdir ;;
  7243   *) # Relative path.
  7244     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  7245     ac_top_srcdir=$ac_top_builddir$srcdir ;;
  7246 esac
  7248 # Do not use `cd foo && pwd` to compute absolute paths, because
  7249 # the directories may not exist.
  7250 case `pwd` in
  7251 .) ac_abs_builddir="$ac_dir";;
  7252 *)
  7253   case "$ac_dir" in
  7254   .) ac_abs_builddir=`pwd`;;
  7255   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  7256   *) ac_abs_builddir=`pwd`/"$ac_dir";;
  7257   esac;;
  7258 esac
  7259 case $ac_abs_builddir in
  7260 .) ac_abs_top_builddir=${ac_top_builddir}.;;
  7261 *)
  7262   case ${ac_top_builddir}. in
  7263   .) ac_abs_top_builddir=$ac_abs_builddir;;
  7264   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  7265   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  7266   esac;;
  7267 esac
  7268 case $ac_abs_builddir in
  7269 .) ac_abs_srcdir=$ac_srcdir;;
  7270 *)
  7271   case $ac_srcdir in
  7272   .) ac_abs_srcdir=$ac_abs_builddir;;
  7273   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  7274   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  7275   esac;;
  7276 esac
  7277 case $ac_abs_builddir in
  7278 .) ac_abs_top_srcdir=$ac_top_srcdir;;
  7279 *)
  7280   case $ac_top_srcdir in
  7281   .) ac_abs_top_srcdir=$ac_abs_builddir;;
  7282   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  7283   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  7284   esac;;
  7285 esac
  7288   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
  7289 echo "$as_me: executing $ac_dest commands" >&6;}
  7290   case $ac_dest in
  7291     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
  7292   # Strip MF so we end up with the name of the file.
  7293   mf=`echo "$mf" | sed -e 's/:.*$//'`
  7294   # Check whether this is an Automake generated Makefile or not.
  7295   # We used to match only the files named `Makefile.in', but
  7296   # some people rename them; so instead we look at the file content.
  7297   # Grep'ing the first line is not enough: some people post-process
  7298   # each Makefile.in and add a new line on top of each file to say so.
  7299   # So let's grep whole file.
  7300   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
  7301     dirpart=`(dirname "$mf") 2>/dev/null ||
  7302 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  7303 	 X"$mf" : 'X\(//\)[^/]' \| \
  7304 	 X"$mf" : 'X\(//\)$' \| \
  7305 	 X"$mf" : 'X\(/\)' \| \
  7306 	 .     : '\(.\)' 2>/dev/null ||
  7307 echo X"$mf" |
  7308     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  7309   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  7310   	  /^X\(\/\/\)$/{ s//\1/; q; }
  7311   	  /^X\(\/\).*/{ s//\1/; q; }
  7312   	  s/.*/./; q'`
  7313   else
  7314     continue
  7315   fi
  7316   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
  7317   # Extract the definition of DEP_FILES from the Makefile without
  7318   # running `make'.
  7319   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
  7320   test -z "$DEPDIR" && continue
  7321   # When using ansi2knr, U may be empty or an underscore; expand it
  7322   U=`sed -n -e '/^U = / s///p' < "$mf"`
  7323   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
  7324   # We invoke sed twice because it is the simplest approach to
  7325   # changing $(DEPDIR) to its actual value in the expansion.
  7326   for file in `sed -n -e '
  7327     /^DEP_FILES = .*\\\\$/ {
  7328       s/^DEP_FILES = //
  7329       :loop
  7330 	s/\\\\$//
  7333 	/\\\\$/ b loop
  7336     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
  7337        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  7338     # Make sure the directory exists.
  7339     test -f "$dirpart/$file" && continue
  7340     fdir=`(dirname "$file") 2>/dev/null ||
  7341 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  7342 	 X"$file" : 'X\(//\)[^/]' \| \
  7343 	 X"$file" : 'X\(//\)$' \| \
  7344 	 X"$file" : 'X\(/\)' \| \
  7345 	 .     : '\(.\)' 2>/dev/null ||
  7346 echo X"$file" |
  7347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  7348   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  7349   	  /^X\(\/\/\)$/{ s//\1/; q; }
  7350   	  /^X\(\/\).*/{ s//\1/; q; }
  7351   	  s/.*/./; q'`
  7352     { if $as_mkdir_p; then
  7353     mkdir -p $dirpart/$fdir
  7354   else
  7355     as_dir=$dirpart/$fdir
  7356     as_dirs=
  7357     while test ! -d "$as_dir"; do
  7358       as_dirs="$as_dir $as_dirs"
  7359       as_dir=`(dirname "$as_dir") 2>/dev/null ||
  7360 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  7361 	 X"$as_dir" : 'X\(//\)[^/]' \| \
  7362 	 X"$as_dir" : 'X\(//\)$' \| \
  7363 	 X"$as_dir" : 'X\(/\)' \| \
  7364 	 .     : '\(.\)' 2>/dev/null ||
  7365 echo X"$as_dir" |
  7366     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  7367   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  7368   	  /^X\(\/\/\)$/{ s//\1/; q; }
  7369   	  /^X\(\/\).*/{ s//\1/; q; }
  7370   	  s/.*/./; q'`
  7371     done
  7372     test ! -n "$as_dirs" || mkdir $as_dirs
  7373   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
  7374 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
  7375    { (exit 1); exit 1; }; }; }
  7377     # echo "creating $dirpart/$file"
  7378     echo '# dummy' > "$dirpart/$file"
  7379   done
  7380 done
  7381  ;;
  7382     default-1 ) case "$CONFIG_FILES" in *po/Makefile.in*)
  7383         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
  7384       esac ;;
  7385   esac
  7386 done
  7387 _ACEOF
  7389 cat >>$CONFIG_STATUS <<\_ACEOF
  7391 { (exit 0); exit 0; }
  7392 _ACEOF
  7393 chmod +x $CONFIG_STATUS
  7394 ac_clean_files=$ac_clean_files_save
  7397 # configure is writing to config.log, and then calls config.status.
  7398 # config.status does its own redirection, appending to config.log.
  7399 # Unfortunately, on DOS this fails, as config.log is still kept open
  7400 # by configure, so config.status won't be able to write to it; its
  7401 # output is simply discarded.  So we exec the FD to /dev/null,
  7402 # effectively closing config.log, so it can be properly (re)opened and
  7403 # appended to by config.status.  When coming back to configure, we
  7404 # need to make the FD available again.
  7405 if test "$no_create" != yes; then
  7406   ac_cs_success=:
  7407   ac_config_status_args=
  7408   test "$silent" = yes &&
  7409     ac_config_status_args="$ac_config_status_args --quiet"
  7410   exec 5>/dev/null
  7411   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  7412   exec 5>>config.log
  7413   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  7414   # would make configure fail if this is the last instruction.
  7415   $ac_cs_success || { (exit 1); exit 1; }
  7416 fi
.