Changeset 20832


Ignore:
Timestamp:
10/21/09 16:47:07 (12 years ago)
Author:
ak19
Message:

Libiconv and libexpat are now compiled up during configure time rather than during Make. Committing files affected with adjustments related to this change, of which setup.bash adds the lib folder in common-src packages (generated by compiling libiconv) to the LD_LIBRARY_PATH for now. The last is probably not necessary since libiconv is generated as a static library (not shared).

Files:
10 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/common-src/configure

    r18451 r20832  
    310310#endif"
    311311
    312 ac_subdirs_all="$ac_subdirs_all packages indexers"
     312ac_subdirs_all="$ac_subdirs_all packages"
     313ac_subdirs_all="$ac_subdirs_all indexers"
    313314ac_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 PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_ACCENTFOLD USE_SQLITE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS'
    314315ac_subst_files=''
     
    72497250
    72507251
    7251 subdirs="$subdirs packages indexers"
     7252subdirs="$subdirs packages"
     7253
     7254
     7255commonsrcprefix=`pwd`
     7256ac_configure_args="$ac_configure_args --with-libiconv-prefix=$commonsrcprefix/packages/iconv"
     7257
     7258
     7259subdirs="$subdirs indexers"
    72527260
    72537261
     
    72587266         src/gdbmedit/gdbmget/Makefile \
    72597267         src/gdbmedit/gdbmset/Makefile \
    7260         src/gdbmedit/gdbmkeys/Makefile \
    7261         src/gdbmedit/gdbmdel/Makefile \
     7268    src/gdbmedit/gdbmkeys/Makefile \
     7269    src/gdbmedit/gdbmdel/Makefile \
    72627270         src/getpw/Makefile"
    72637271
  • gsdl/trunk/common-src/configure.in

    r18450 r20832  
    336336# ---------------------------------------------------------------------------
    337337
    338 AC_CONFIG_SUBDIRS(packages indexers)
     338AC_CONFIG_SUBDIRS(packages)
     339
     340commonsrcprefix=`pwd`
     341ac_configure_args="$ac_configure_args --with-libiconv-prefix=$commonsrcprefix/packages/iconv"
     342AC_CONFIG_SUBDIRS(indexers)
    339343
    340344# the list of folders in the src folder
  • gsdl/trunk/common-src/packages/Makefile.in

    r18028 r20832  
    3434endif
    3535
    36 # PACKAGEDIRS contains the packages that we want to make and install.  It
     36# COMPILEDIRS contains the packages that we want to make and install.  It
    3737# is assumed that each package will have at least four rules: all, install,
    3838# clean, and distclean.
    39 PACKAGEDIRS =   expat gdbm $(SQLITE_DIR) search4j
     39# CLEANDIRS is COMPILEDIRS and iconv and expat. Iconv and expat get compiled
     40# up during the configure stage itself.
     41COMPILEDIRS =   gdbm $(SQLITE_DIR) search4j
     42CLEANDIRS = iconv expat $(COMPILEDIRS)
    4043
    4144
    4245all:
    43     for odir in $(PACKAGEDIRS); do \
     46    for odir in $(COMPILEDIRS); do \
    4447          echo making $@ in $$odir; \
    4548          (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \
     
    5255
    5356install:
    54     for idir in $(PACKAGEDIRS); do \
     57    for idir in $(COMPILEDIRS); do \
    5558          echo installing $$idir; \
    5659          (cd $$idir && $(MAKE) install) || exit 1; \
     
    5861
    5962clean:
    60     for subdir in $(PACKAGEDIRS); do \
     63    for subdir in $(COMPILEDIRS); do \
    6164          echo cleaning $@ in $$subdir; \
    6265          (cd $$subdir && $(MAKE) clean || exit 0) ; \
     
    6467
    6568distclean:
    66     for subdir in $(PACKAGEDIRS); do \
     69    for subdir in $(CLEANDIRS); do \
    6770          echo cleaning $@ in $$subdir; \
    6871          (cd $$subdir && $(MAKE) distclean || exit 0) ; \
  • gsdl/trunk/common-src/packages/configure

    r19778 r20832  
    119119
    120120
    121 # configure expat (needs to be done before XML::Parser
     121# configure expat (needs to be done before XML::Parser)
     122# now compile expat during the configure stage itself
    122123echo ""
    123124echo "Configuring expat"
     
    133134cd "$PACKAGES/expat/expat-1.95.8" && \
    134135CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --with-pic --prefix=$PACKAGES/expat --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT
     136
     137echo CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make $HOSTTARGETFLAGS $ENVIRONMENT
     138CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make $HOSTTARGETFLAGS $ENVIRONMENT
     139
     140echo CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make install $HOSTTARGETFLAGS $ENVIRONMENT
     141CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make install $HOSTTARGETFLAGS $ENVIRONMENT
     142
     143
     144# configure and compile libiconv during configuration stage
     145echo ""
     146echo "Configuring iconv"
     147echo ""
     148cd "$PACKAGES/iconv"
     149if test ! -d libiconv-1.13.1 ;
     150then
     151  gzip -dc libiconv-1.13.1.tar.gz | tar -xf -
     152fi
     153
     154# configure
     155echo CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT
     156cd "$PACKAGES/iconv/libiconv-1.13.1" && \
     157CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT
     158
     159# make
     160echo CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make $HOSTTARGETFLAGS $ENVIRONMENT
     161CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make $HOSTTARGETFLAGS $ENVIRONMENT
     162
     163# make install
     164echo CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make install $HOSTTARGETFLAGS $ENVIRONMENT
     165CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make install $HOSTTARGETFLAGS $ENVIRONMENT
     166
     167#./configure $CACHE_FILE --prefix="$PACKAGES/iconv" --disable-shared $HOSTTARGETFLAGS&&
     168#make && make install
    135169
    136170
  • gsdl/trunk/runtime-src/packages/configure

    r20746 r20832  
    190190  echo "add --disable-apache-httpd to the configure command to disable this"
    191191  echo ""
    192   echo "Setting up libiconv (used by Apache httpd)"
    193   cd "$PACKAGES/apache-httpd"
    194   if [ ! -e libiconv-1.13.1 ] ; then gzip -dc libiconv-1.13.1.tar.gz | tar -xf - ; fi
    195   cd libiconv-1.13.1&& \
    196     ./configure $CACHE_FILE --prefix="${prefix}/apache-httpd/${GSDLOS}" --disable-shared $HOSTTARGETFLAGS&&
    197     make && make install
    198   echo ""
     192#  echo "Setting up libiconv (used by Apache httpd)"
     193#  cd "$PACKAGES/apache-httpd"
     194#  if [ ! -e libiconv-1.13.1 ] ; then gzip -dc libiconv-1.13.1.tar.gz | tar -xf - ; fi
     195#  cd libiconv-1.13.1&& \
     196#    ./configure $CACHE_FILE --prefix="${prefix}/apache-httpd/${GSDLOS}" --disable-shared $HOSTTARGETFLAGS&&
     197#    make && make install
     198#  echo ""
    199199  echo "Configuring Apache httpd"
    200200  cd "$PACKAGES/apache-httpd"
  • gsdl/trunk/setup.bash

    r20342 r20832  
    248248
    249249  if test "$GSDLOS" = "linux" ; then
    250       LD_LIBRARY_PATH="$GSDLHOME/apache-httpd/$GSDLOS/lib:$LD_LIBRARY_PATH"
     250      LD_LIBRARY_PATH="$GSDLHOME/common-src/iconv/lib:$GSDLHOME/apache-httpd/$GSDLOS/lib:$LD_LIBRARY_PATH"
    251251      export LD_LIBRARY_PATH
    252252 
    253253  elif test "$GSDLOS" = "darwin" ; then
    254       DYLD_LIBRARY_PATH="$GSDLHOME/apache-httpd/$GSDLOS/lib:$DYLD_LIBRARY_PATH"
     254      DYLD_LIBRARY_PATH="$GSDLHOME/common-src/iconv/lib:$GSDLHOME/apache-httpd/$GSDLOS/lib:$DYLD_LIBRARY_PATH"
    255255      export DYLD_LIBRARY_PATH
    256256  fi
  • indexers/trunk/configure

    r19906 r20832  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.61.
     3# Generated by GNU Autoconf 2.59.
    44#
    5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
     5# Copyright (C) 2003 Free Software Foundation, Inc.
    76# This configure script is free software; the Free Software Foundation
    87# gives unlimited permission to copy, distribute and modify it.
     
    1110## --------------------- ##
    1211
    13 # Be more Bourne compatible
    14 DUALCASE=1; export DUALCASE # for MKS sh
     12# Be Bourne compatible
    1513if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    1614  emulate sh
     
    1917  # is contrary to our usage.  Disable this feature.
    2018  alias -g '${1+"$@"}'='"$@"'
    21   setopt NO_GLOB_SUBST
    22 else
    23   case `(set -o) 2>/dev/null` in
    24   *posix*) set -o posix ;;
    25 esac
    26 
    27 fi
    28 
    29 
    30 
    31 
    32 # PATH needs CR
     19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     20  set -o posix
     21fi
     22DUALCASE=1; export DUALCASE # for MKS sh
     23
     24# Support unset when possible.
     25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     26  as_unset=unset
     27else
     28  as_unset=false
     29fi
     30
     31
     32# Work around bugs in pre-3.0 UWIN ksh.
     33$as_unset ENV MAIL MAILPATH
     34PS1='$ '
     35PS2='> '
     36PS4='+ '
     37
     38# NLS nuisances.
     39for 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
     43do
     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
     49done
     50
     51# Required to use basename.
     52if expr a : '\(a\)' >/dev/null 2>&1; then
     53  as_expr=expr
     54else
     55  as_expr=false
     56fi
     57
     58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     59  as_basename=basename
     60else
     61  as_basename=false
     62fi
     63
     64
     65# Name of the executable.
     66as_me=`$as_basename "$0" ||
     67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     68     X"$0" : 'X\(//\)$' \| \
     69     X"$0" : 'X\(/\)$' \| \
     70     .     : '\(.\)' 2>/dev/null ||
     71echo X/"$0" |
     72    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     73      /^X\/\(\/\/\)$/{ s//\1/; q; }
     74      /^X\/\(\/\).*/{ s//\1/; q; }
     75      s/.*/./; q'`
     76
     77
     78# PATH needs CR, and LINENO needs CR and PATH.
    3379# Avoid depending upon Character Ranges.
    3480as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    5197fi
    5298
    53 # Support unset when possible.
    54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    55   as_unset=unset
    56 else
    57   as_unset=false
    58 fi
    59 
    60 
    61 # IFS
    62 # We need space, tab and new line, in precisely that order.  Quoting is
    63 # there to prevent editors from complaining about space-tab.
    64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    65 # splitting by setting IFS to empty value.)
    66 as_nl='
    67 '
    68 IFS=" ""    $as_nl"
    69 
    70 # Find who we are.  Look in the path if we contain no directory separator.
    71 case $0 in
    72   *[\\/]* ) as_myself=$0 ;;
    73   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     99
     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
    74110for as_dir in $PATH
    75111do
     
    78114  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    79115done
    80 IFS=$as_save_IFS
    81 
    82      ;;
    83 esac
    84 # We did not find ourselves, most probably we were run as `sh COMMAND'
    85 # in which case we are not to be found in the path.
    86 if test "x$as_myself" = x; then
    87   as_myself=$0
    88 fi
    89 if test ! -f "$as_myself"; then
    90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    91   { (exit 1); exit 1; }
    92 fi
    93 
    94 # Work around bugs in pre-3.0 UWIN ksh.
    95 for as_var in ENV MAIL MAILPATH
    96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    97 done
    98 PS1='$ '
    99 PS2='> '
    100 PS4='+ '
    101 
    102 # NLS nuisances.
    103 for as_var in \
    104   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    105   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    106   LC_TELEPHONE LC_TIME
    107 do
    108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    109     eval $as_var=C; export $as_var
    110   else
    111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    112   fi
    113 done
    114 
    115 # Required to use basename.
    116 if expr a : '\(a\)' >/dev/null 2>&1 &&
    117    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    118   as_expr=expr
    119 else
    120   as_expr=false
    121 fi
    122 
    123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    124   as_basename=basename
    125 else
    126   as_basename=false
    127 fi
    128 
    129 
    130 # Name of the executable.
    131 as_me=`$as_basename -- "$0" ||
    132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    133      X"$0" : 'X\(//\)$' \| \
    134      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    135 echo X/"$0" |
    136     sed '/^.*\/\([^/][^/]*\)\/*$/{
    137         s//\1/
    138         q
    139       }
    140       /^X\/\(\/\/\)$/{
    141         s//\1/
    142         q
    143       }
    144       /^X\/\(\/\).*/{
    145         s//\1/
    146         q
    147       }
    148       s/.*/./; q'`
    149 
    150 # CDPATH.
    151 $as_unset CDPATH
    152 
    153 
    154 if test "x$CONFIG_SHELL" = x; then
    155   if (eval ":") 2>/dev/null; then
    156   as_have_required=yes
    157 else
    158   as_have_required=no
    159 fi
    160 
    161   if test $as_have_required = yes &&     (eval ":
    162 (as_func_return () {
    163   (exit \$1)
    164 }
    165 as_func_success () {
    166   as_func_return 0
    167 }
    168 as_func_failure () {
    169   as_func_return 1
    170 }
    171 as_func_ret_success () {
    172   return 0
    173 }
    174 as_func_ret_failure () {
    175   return 1
    176 }
    177 
    178 exitcode=0
    179 if as_func_success; then
    180   :
    181 else
    182   exitcode=1
    183   echo as_func_success failed.
    184 fi
    185 
    186 if as_func_failure; then
    187   exitcode=1
    188   echo as_func_failure succeeded.
    189 fi
    190 
    191 if as_func_ret_success; then
    192   :
    193 else
    194   exitcode=1
    195   echo as_func_ret_success failed.
    196 fi
    197 
    198 if as_func_ret_failure; then
    199   exitcode=1
    200   echo as_func_ret_failure succeeded.
    201 fi
    202 
    203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    204   :
    205 else
    206   exitcode=1
    207   echo positional parameters were not saved.
    208 fi
    209 
    210 test \$exitcode = 0) || { (exit 1); exit 1; }
    211 
    212 (
    213   as_lineno_1=\$LINENO
    214   as_lineno_2=\$LINENO
    215   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    216   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    217 ") 2> /dev/null; then
    218   :
    219 else
    220   as_candidate_shells=
     116
     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  '')
    221130    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    222131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     
    224133  IFS=$as_save_IFS
    225134  test -z "$as_dir" && as_dir=.
    226   case $as_dir in
     135  for as_base in sh bash ksh sh5; do
     136     case $as_dir in
    227137     /*)
    228        for as_base in sh bash ksh sh5; do
    229          as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    230        done;;
    231        esac
    232 done
    233 IFS=$as_save_IFS
    234 
    235 
    236       for as_shell in $as_candidate_shells $SHELL; do
    237      # Try only shells that exist, to save several forks.
    238      if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    239         { ("$as_shell") 2> /dev/null <<\_ASEOF
    240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    241   emulate sh
    242   NULLCMD=:
    243   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    244   # is contrary to our usage.  Disable this feature.
    245   alias -g '${1+"$@"}'='"$@"'
    246   setopt NO_GLOB_SUBST
    247 else
    248   case `(set -o) 2>/dev/null` in
    249   *posix*) set -o posix ;;
    250 esac
    251 
    252 fi
    253 
    254 
    255 :
    256 _ASEOF
    257 }; then
    258   CONFIG_SHELL=$as_shell
    259            as_have_required=yes
    260            if { "$as_shell" 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 (as_func_return () {
    278   (exit $1)
    279 }
    280 as_func_success () {
    281   as_func_return 0
    282 }
    283 as_func_failure () {
    284   as_func_return 1
    285 }
    286 as_func_ret_success () {
    287   return 0
    288 }
    289 as_func_ret_failure () {
    290   return 1
    291 }
    292 
    293 exitcode=0
    294 if as_func_success; then
    295   :
    296 else
    297   exitcode=1
    298   echo as_func_success failed.
    299 fi
    300 
    301 if as_func_failure; then
    302   exitcode=1
    303   echo as_func_failure succeeded.
    304 fi
    305 
    306 if as_func_ret_success; then
    307   :
    308 else
    309   exitcode=1
    310   echo as_func_ret_success failed.
    311 fi
    312 
    313 if as_func_ret_failure; then
    314   exitcode=1
    315   echo as_func_ret_failure succeeded.
    316 fi
    317 
    318 if ( set x; as_func_ret_success y && test x = "$1" ); then
    319   :
    320 else
    321   exitcode=1
    322   echo positional parameters were not saved.
    323 fi
    324 
    325 test $exitcode = 0) || { (exit 1); exit 1; }
    326 
    327 (
     138       if ("$as_dir/$as_base" -c '
    328139  as_lineno_1=$LINENO
    329140  as_lineno_2=$LINENO
     141  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    330142  test "x$as_lineno_1" != "x$as_lineno_2" &&
    331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    332 
    333 _ASEOF
    334 }; then
    335   break
    336 fi
    337 
    338 fi
    339 
    340       done
    341 
    342       if test "x$CONFIG_SHELL" != x; then
    343   for as_var in BASH_ENV ENV
    344         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    345         done
    346         export CONFIG_SHELL
    347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    348 fi
    349 
    350 
    351     if test $as_have_required = no; then
    352   echo This script requires a shell more modern than all the
    353       echo shells that I found on your system.  Please install a
    354       echo modern shell, or manually run the script under such a
    355       echo shell if you do have one.
    356       { (exit 1); exit 1; }
    357 fi
    358 
    359 
    360 fi
    361 
    362 fi
    363 
    364 
    365 
    366 (eval "as_func_return () {
    367   (exit \$1)
    368 }
    369 as_func_success () {
    370   as_func_return 0
    371 }
    372 as_func_failure () {
    373   as_func_return 1
    374 }
    375 as_func_ret_success () {
    376   return 0
    377 }
    378 as_func_ret_failure () {
    379   return 1
    380 }
    381 
    382 exitcode=0
    383 if as_func_success; then
    384   :
    385 else
    386   exitcode=1
    387   echo as_func_success failed.
    388 fi
    389 
    390 if as_func_failure; then
    391   exitcode=1
    392   echo as_func_failure succeeded.
    393 fi
    394 
    395 if as_func_ret_success; then
    396   :
    397 else
    398   exitcode=1
    399   echo as_func_ret_success failed.
    400 fi
    401 
    402 if as_func_ret_failure; then
    403   exitcode=1
    404   echo as_func_ret_failure succeeded.
    405 fi
    406 
    407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    408   :
    409 else
    410   exitcode=1
    411   echo positional parameters were not saved.
    412 fi
    413 
    414 test \$exitcode = 0") || {
    415   echo No shell found that supports shell functions.
    416   echo Please tell autoconf@gnu.org about your system,
    417   echo including any error possibly output before this
    418   echo message
    419 }
    420 
    421 
    422 
    423   as_lineno_1=$LINENO
    424   as_lineno_2=$LINENO
    425   test "x$as_lineno_1" != "x$as_lineno_2" &&
    426   test "x`expr $as_lineno_1 + 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
     152done
     153;;
     154  esac
    427155
    428156  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    429157  # uniformly replaced by the line number.  The first 'sed' inserts a
    430   # line-number line after each line using $LINENO; the second 'sed'
    431   # does the real work.  The second script uses 'N' to pair each
    432   # line-number line with the line containing $LINENO, and appends
    433   # trailing '-' during substitution so that $LINENO is not a special
    434   # case at line end.
     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.
    435162  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    436   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    437   # E. McMahon (1931-1989) for sed's syntax.  :-)
    438   sed -n '
    439     p
    440     /[$]LINENO/=
    441   ' <$as_myself |
     163  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
     164  sed '=' <$as_myself |
    442165    sed '
    443       s/[$]LINENO.*/&-/
    444       t lineno
    445       b
    446       :lineno
    447166      N
    448       :loop
    449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
     167      s,$,-,
     168      : loop
     169      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    450170      t loop
    451       s/-\n.*//
     171      s,-$,,
     172      s,^['$as_cr_digits']*\n,,
    452173    ' >$as_me.lineno &&
    453   chmod +x "$as_me.lineno" ||
     174  chmod +x $as_me.lineno ||
    454175    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    455176   { (exit 1); exit 1; }; }
     
    457178  # Don't try to exec as it changes $[0], causing all sort of problems
    458179  # (the dirname of $[0] is not the place where we might find the
    459   # original and so on.  Autoconf is especially sensitive to this).
    460   . "./$as_me.lineno"
     180  # original and so on.  Autoconf is especially sensible to this).
     181  . ./$as_me.lineno
    461182  # Exit status is that of the last command.
    462183  exit
     
    464185
    465186
    466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    467   as_dirname=dirname
    468 else
    469   as_dirname=false
    470 fi
    471 
    472 ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in
    474 -n*)
    475   case `echo 'x\c'` in
    476   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
    477   *)   ECHO_C='\c';;
    478   esac;;
    479 *)
    480   ECHO_N='-n';;
     187case `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= ;;
    481192esac
    482193
    483 if expr a : '\(a\)' >/dev/null 2>&1 &&
    484    test "X`expr 00001 : '.*\(...\)'`" = X001; then
     194if expr a : '\(a\)' >/dev/null 2>&1; then
    485195  as_expr=expr
    486196else
     
    489199
    490200rm -f conf$$ conf$$.exe conf$$.file
    491 if test -d conf$$.dir; then
    492   rm -f conf$$.dir/conf$$.file
    493 else
    494   rm -f conf$$.dir
    495   mkdir conf$$.dir
    496 fi
    497201echo >conf$$.file
    498202if ln -s conf$$.file conf$$ 2>/dev/null; then
    499   as_ln_s='ln -s'
    500   # ... but there are two gotchas:
    501   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    502   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    503   # In both cases, we have to default to `cp -p'.
    504   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     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
    505207    as_ln_s='cp -p'
     208  else
     209    as_ln_s='ln -s'
     210  fi
    506211elif ln conf$$.file conf$$ 2>/dev/null; then
    507212  as_ln_s=ln
     
    509214  as_ln_s='cp -p'
    510215fi
    511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    512 rmdir conf$$.dir 2>/dev/null
     216rm -f conf$$ conf$$.exe conf$$.file
    513217
    514218if mkdir -p . 2>/dev/null; then
     
    519223fi
    520224
    521 if test -x / >/dev/null 2>&1; then
    522   as_test_x='test -x'
    523 else
    524   if ls -dL / >/dev/null 2>&1; then
    525     as_ls_L_option=L
    526   else
    527     as_ls_L_option=
    528   fi
    529   as_test_x='
    530     eval sh -c '\''
    531       if test -d "$1"; then
    532         test -d "$1/.";
    533       else
    534     case $1 in
    535         -*)set "./$1";;
    536     esac;
    537     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    538     ???[sx]*):;;*)false;;esac;fi
    539     '\'' sh
    540   '
    541 fi
    542 as_executable_p=$as_test_x
     225as_executable_p="test -f"
    543226
    544227# Sed expression to map a string onto a valid CPP name.
     
    549232
    550233
    551 
    552 exec 7<&0 </dev/null 6>&1
     234# IFS
     235# We need space, tab and new line, in precisely that order.
     236as_nl='
     237'
     238IFS="   $as_nl"
     239
     240# CDPATH.
     241$as_unset CDPATH
     242
    553243
    554244# Name of the host.
     
    557247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    558248
     249exec 6>&1
     250
    559251#
    560252# Initializations.
    561253#
    562254ac_default_prefix=/usr/local
    563 ac_clean_files=
    564255ac_config_libobj_dir=.
    565 LIBOBJS=
    566256cross_compiling=no
    567257subdirs=
     
    569259MAKEFLAGS=
    570260SHELL=${CONFIG_SHELL-/bin/sh}
     261
     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}
    571266
    572267# Identity of this package.
     
    578273
    579274ac_unique_file="mgpp/text/MGQuery.cpp"
    580 ac_subst_vars='SHELL
    581 PATH_SEPARATOR
    582 PACKAGE_NAME
    583 PACKAGE_TARNAME
    584 PACKAGE_VERSION
    585 PACKAGE_STRING
    586 PACKAGE_BUGREPORT
    587 exec_prefix
    588 prefix
    589 program_transform_name
    590 bindir
    591 sbindir
    592 libexecdir
    593 datarootdir
    594 datadir
    595 sysconfdir
    596 sharedstatedir
    597 localstatedir
    598 includedir
    599 oldincludedir
    600 docdir
    601 infodir
    602 htmldir
    603 dvidir
    604 pdfdir
    605 psdir
    606 libdir
    607 localedir
    608 mandir
    609 DEFS
    610 ECHO_C
    611 ECHO_N
    612 ECHO_T
    613 LIBS
    614 build_alias
    615 host_alias
    616 target_alias
    617 ENABLE_ACCENTFOLD
    618 COMPAT32BITFLAGS
    619 JAVAC
    620 JAVA
    621 uudecode
    622 subdirs
    623 LIBOBJS
    624 LTLIBOBJS'
     275ac_subdirs_all="$ac_subdirs_all packages/unac"
     276ac_subdirs_all="$ac_subdirs_all mg mgpp"
     277ac_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 ENABLE_ACCENTFOLD COMPAT32BITFLAGS JAVAC JAVA uudecode subdirs LIBOBJS LTLIBOBJS'
    625278ac_subst_files=''
    626       ac_precious_vars='build_alias
    627 host_alias
    628 target_alias'
    629 ac_subdirs_all='packages/unac
    630 mg mgpp'
    631279
    632280# Initialize some variables set by options.
     
    655303# by default will actually change.
    656304# Use braces instead of parens because sh, perl, etc. also accept them.
    657 # (The list follows the same order as the GNU Coding Standards.)
    658305bindir='${exec_prefix}/bin'
    659306sbindir='${exec_prefix}/sbin'
    660307libexecdir='${exec_prefix}/libexec'
    661 datarootdir='${prefix}/share'
    662 datadir='${datarootdir}'
     308datadir='${prefix}/share'
    663309sysconfdir='${prefix}/etc'
    664310sharedstatedir='${prefix}/com'
    665311localstatedir='${prefix}/var'
     312libdir='${exec_prefix}/lib'
    666313includedir='${prefix}/include'
    667314oldincludedir='/usr/include'
    668 docdir='${datarootdir}/doc/${PACKAGE}'
    669 infodir='${datarootdir}/info'
    670 htmldir='${docdir}'
    671 dvidir='${docdir}'
    672 pdfdir='${docdir}'
    673 psdir='${docdir}'
    674 libdir='${exec_prefix}/lib'
    675 localedir='${datarootdir}/locale'
    676 mandir='${datarootdir}/man'
     315infodir='${prefix}/info'
     316mandir='${prefix}/man'
    677317
    678318ac_prev=
    679 ac_dashdash=
    680319for ac_option
    681320do
    682321  # If the previous option needs an argument, assign it.
    683322  if test -n "$ac_prev"; then
    684     eval $ac_prev=\$ac_option
     323    eval "$ac_prev=\$ac_option"
    685324    ac_prev=
    686325    continue
    687326  fi
    688327
     328  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     329
     330  # Accept the important Cygnus configure options, so we can diagnose typos.
     331
    689332  case $ac_option in
    690   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    691   *)    ac_optarg=yes ;;
    692   esac
    693 
    694   # Accept the important Cygnus configure options, so we can diagnose typos.
    695 
    696   case $ac_dashdash$ac_option in
    697   --)
    698     ac_dashdash=yes ;;
    699333
    700334  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    718352    cache_file=config.cache ;;
    719353
    720   -datadir | --datadir | --datadi | --datad)
     354  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    721355    ac_prev=datadir ;;
    722   -datadir=* | --datadir=* | --datadi=* | --datad=*)
     356  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
     357  | --da=*)
    723358    datadir=$ac_optarg ;;
    724 
    725   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    726   | --dataroo | --dataro | --datar)
    727     ac_prev=datarootdir ;;
    728   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    729   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    730     datarootdir=$ac_optarg ;;
    731359
    732360  -disable-* | --disable-*)
    733361    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    734362    # Reject names that are not valid shell variable names.
    735     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     363    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    736364      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    737365   { (exit 1); exit 1; }; }
    738     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    739     eval enable_$ac_feature=no ;;
    740 
    741   -docdir | --docdir | --docdi | --doc | --do)
    742     ac_prev=docdir ;;
    743   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    744     docdir=$ac_optarg ;;
    745 
    746   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    747     ac_prev=dvidir ;;
    748   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    749     dvidir=$ac_optarg ;;
     366    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     367    eval "enable_$ac_feature=no" ;;
    750368
    751369  -enable-* | --enable-*)
    752370    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    753371    # Reject names that are not valid shell variable names.
    754     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     372    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    755373      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    756374   { (exit 1); exit 1; }; }
    757     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    758     eval enable_$ac_feature=\$ac_optarg ;;
     375    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     376    case $ac_option in
     377      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     378      *) ac_optarg=yes ;;
     379    esac
     380    eval "enable_$ac_feature='$ac_optarg'" ;;
    759381
    760382  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    783405    host_alias=$ac_optarg ;;
    784406
    785   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    786     ac_prev=htmldir ;;
    787   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    788   | --ht=*)
    789     htmldir=$ac_optarg ;;
    790 
    791407  -includedir | --includedir | --includedi | --included | --include \
    792408  | --includ | --inclu | --incl | --inc)
     
    813429    libexecdir=$ac_optarg ;;
    814430
    815   -localedir | --localedir | --localedi | --localed | --locale)
    816     ac_prev=localedir ;;
    817   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    818     localedir=$ac_optarg ;;
    819 
    820431  -localstatedir | --localstatedir | --localstatedi | --localstated \
    821   | --localstate | --localstat | --localsta | --localst | --locals)
     432  | --localstate | --localstat | --localsta | --localst \
     433  | --locals | --local | --loca | --loc | --lo)
    822434    ac_prev=localstatedir ;;
    823435  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    824   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
     436  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
     437  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    825438    localstatedir=$ac_optarg ;;
    826439
     
    887500    program_transform_name=$ac_optarg ;;
    888501
    889   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
    890     ac_prev=pdfdir ;;
    891   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
    892     pdfdir=$ac_optarg ;;
    893 
    894   -psdir | --psdir | --psdi | --psd | --ps)
    895     ac_prev=psdir ;;
    896   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
    897     psdir=$ac_optarg ;;
    898 
    899502  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    900503  | -silent | --silent | --silen | --sile | --sil)
     
    949552    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    950553    # Reject names that are not valid shell variable names.
    951     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     554    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    952555      { echo "$as_me: error: invalid package name: $ac_package" >&2
    953556   { (exit 1); exit 1; }; }
    954     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    955     eval with_$ac_package=\$ac_optarg ;;
     557    ac_package=`echo $ac_package| sed 's/-/_/g'`
     558    case $ac_option in
     559      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     560      *) ac_optarg=yes ;;
     561    esac
     562    eval "with_$ac_package='$ac_optarg'" ;;
    956563
    957564  -without-* | --without-*)
    958565    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    959566    # Reject names that are not valid shell variable names.
    960     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     567    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    961568      { echo "$as_me: error: invalid package name: $ac_package" >&2
    962569   { (exit 1); exit 1; }; }
    963     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    964     eval with_$ac_package=no ;;
     570    ac_package=`echo $ac_package | sed 's/-/_/g'`
     571    eval "with_$ac_package=no" ;;
    965572
    966573  --x)
     
    993600      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    994601   { (exit 1); exit 1; }; }
    995     eval $ac_envvar=\$ac_optarg
     602    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
     603    eval "$ac_envvar='$ac_optarg'"
    996604    export $ac_envvar ;;
    997605
     
    1013621fi
    1014622
    1015 # Be sure to have absolute directory names.
    1016 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
    1017         datadir sysconfdir sharedstatedir localstatedir includedir \
    1018         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
    1019         libdir localedir mandir
     623# Be sure to have absolute paths.
     624for ac_var in exec_prefix prefix
    1020625do
    1021   eval ac_val=\$$ac_var
     626  eval ac_val=$`echo $ac_var`
    1022627  case $ac_val in
    1023     [\\/$]* | ?:[\\/]* )  continue;;
    1024     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
     628    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
     629    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     630   { (exit 1); exit 1; }; };;
    1025631  esac
    1026   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1027    { (exit 1); exit 1; }; }
     632done
     633
     634# Be sure to have absolute paths.
     635for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
     636          localstatedir libdir includedir oldincludedir infodir mandir
     637do
     638  eval ac_val=$`echo $ac_var`
     639  case $ac_val in
     640    [\\/$]* | ?:[\\/]* ) ;;
     641    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     642   { (exit 1); exit 1; }; };;
     643  esac
    1028644done
    1029645
     
    1052668
    1053669
    1054 ac_pwd=`pwd` && test -n "$ac_pwd" &&
    1055 ac_ls_di=`ls -di .` &&
    1056 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1057   { echo "$as_me: error: Working directory cannot be determined" >&2
    1058    { (exit 1); exit 1; }; }
    1059 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1060   { echo "$as_me: error: pwd does not report name of working directory" >&2
    1061    { (exit 1); exit 1; }; }
    1062 
    1063 
    1064670# Find the source files, if location was not specified.
    1065671if test -z "$srcdir"; then
    1066672  ac_srcdir_defaulted=yes
    1067   # Try the directory containing this script, then the parent directory.
    1068   ac_confdir=`$as_dirname -- "$0" ||
     673  # Try the directory containing this script, then its parent.
     674  ac_confdir=`(dirname "$0") 2>/dev/null ||
    1069675$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    1070676     X"$0" : 'X\(//\)[^/]' \| \
    1071677     X"$0" : 'X\(//\)$' \| \
    1072      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     678     X"$0" : 'X\(/\)' \| \
     679     .     : '\(.\)' 2>/dev/null ||
    1073680echo X"$0" |
    1074     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    1075         s//\1/
    1076         q
    1077       }
    1078       /^X\(\/\/\)[^/].*/{
    1079         s//\1/
    1080         q
    1081       }
    1082       /^X\(\/\/\)$/{
    1083         s//\1/
    1084         q
    1085       }
    1086       /^X\(\/\).*/{
    1087         s//\1/
    1088         q
    1089       }
    1090       s/.*/./; q'`
     681    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     682      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     683      /^X\(\/\/\)$/{ s//\1/; q; }
     684      /^X\(\/\).*/{ s//\1/; q; }
     685      s/.*/./; q'`
    1091686  srcdir=$ac_confdir
    1092   if test ! -r "$srcdir/$ac_unique_file"; then
     687  if test ! -r $srcdir/$ac_unique_file; then
    1093688    srcdir=..
    1094689  fi
     
    1096691  ac_srcdir_defaulted=no
    1097692fi
    1098 if test ! -r "$srcdir/$ac_unique_file"; then
    1099   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1100   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     693if test ! -r $srcdir/$ac_unique_file; then
     694  if test "$ac_srcdir_defaulted" = yes; then
     695    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    1101696   { (exit 1); exit 1; }; }
    1102 fi
    1103 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    1104 ac_abs_confdir=`(
    1105     cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
     697  else
     698    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1106699   { (exit 1); exit 1; }; }
    1107     pwd)`
    1108 # When building in place, set srcdir=.
    1109 if test "$ac_abs_confdir" = "$ac_pwd"; then
    1110   srcdir=.
    1111 fi
    1112 # Remove unnecessary trailing slashes from srcdir.
    1113 # Double slashes in file names in object file debugging info
    1114 # mess up M-x gdb in Emacs.
    1115 case $srcdir in
    1116 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
    1117 esac
    1118 for ac_var in $ac_precious_vars; do
    1119   eval ac_env_${ac_var}_set=\${${ac_var}+set}
    1120   eval ac_env_${ac_var}_value=\$${ac_var}
    1121   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
    1122   eval ac_cv_env_${ac_var}_value=\$${ac_var}
    1123 done
     700  fi
     701fi
     702(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
     703  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
     704   { (exit 1); exit 1; }; }
     705srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
     706ac_env_build_alias_set=${build_alias+set}
     707ac_env_build_alias_value=$build_alias
     708ac_cv_env_build_alias_set=${build_alias+set}
     709ac_cv_env_build_alias_value=$build_alias
     710ac_env_host_alias_set=${host_alias+set}
     711ac_env_host_alias_value=$host_alias
     712ac_cv_env_host_alias_set=${host_alias+set}
     713ac_cv_env_host_alias_value=$host_alias
     714ac_env_target_alias_set=${target_alias+set}
     715ac_env_target_alias_value=$target_alias
     716ac_cv_env_target_alias_set=${target_alias+set}
     717ac_cv_env_target_alias_value=$target_alias
    1124718
    1125719#
     
    1150744      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    1151745
     746_ACEOF
     747
     748  cat <<_ACEOF
    1152749Installation directories:
    1153750  --prefix=PREFIX         install architecture-independent files in PREFIX
     
    1167764  --sbindir=DIR          system admin executables [EPREFIX/sbin]
    1168765  --libexecdir=DIR       program executables [EPREFIX/libexec]
     766  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    1169767  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    1170768  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     
    1173771  --includedir=DIR       C header files [PREFIX/include]
    1174772  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    1175   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
    1176   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
    1177   --infodir=DIR          info documentation [DATAROOTDIR/info]
    1178   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
    1179   --mandir=DIR           man documentation [DATAROOTDIR/man]
    1180   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
    1181   --htmldir=DIR          html documentation [DOCDIR]
    1182   --dvidir=DIR           dvi documentation [DOCDIR]
    1183   --pdfdir=DIR           pdf documentation [DOCDIR]
    1184   --psdir=DIR            ps documentation [DOCDIR]
     773  --infodir=DIR          info documentation [PREFIX/info]
     774  --mandir=DIR           man documentation [PREFIX/man]
    1185775_ACEOF
    1186776
     
    1202792  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    1203793  --with-unac=dir       Use specified unac directory
    1204 
    1205 _ACEOF
    1206 ac_status=$?
     794  --with-libiconv-prefix=dir       Use specified libiconv directory
     795
     796_ACEOF
    1207797fi
    1208798
    1209799if test "$ac_init_help" = "recursive"; then
    1210800  # If there are subdirs, report their specific --help.
     801  ac_popdir=`pwd`
    1211802  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    1212     test -d "$ac_dir" || continue
     803    test -d $ac_dir || continue
    1213804    ac_builddir=.
    1214805
    1215 case "$ac_dir" in
    1216 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     806if test "$ac_dir" != .; then
     807  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     808  # A "../" for each directory in $ac_dir_suffix.
     809  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     810else
     811  ac_dir_suffix= ac_top_builddir=
     812fi
     813
     814case $srcdir in
     815  .)  # No --srcdir option.  We are building in place.
     816    ac_srcdir=.
     817    if test -z "$ac_top_builddir"; then
     818       ac_top_srcdir=.
     819    else
     820       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     821    fi ;;
     822  [\\/]* | ?:[\\/]* )  # Absolute path.
     823    ac_srcdir=$srcdir$ac_dir_suffix;
     824    ac_top_srcdir=$srcdir ;;
     825  *) # Relative path.
     826    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     827    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     828esac
     829
     830# Do not use `cd foo && pwd` to compute absolute paths, because
     831# the directories may not exist.
     832case `pwd` in
     833.) ac_abs_builddir="$ac_dir";;
    1217834*)
    1218   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    1219   # A ".." for each directory in $ac_dir_suffix.
    1220   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
    1221   case $ac_top_builddir_sub in
    1222   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
    1223   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
    1224   esac ;;
     835  case "$ac_dir" in
     836  .) ac_abs_builddir=`pwd`;;
     837  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     838  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     839  esac;;
    1225840esac
    1226 ac_abs_top_builddir=$ac_pwd
    1227 ac_abs_builddir=$ac_pwd$ac_dir_suffix
    1228 # for backward compatibility:
    1229 ac_top_builddir=$ac_top_build_prefix
    1230 
    1231 case $srcdir in
    1232   .)  # We are building in place.
    1233     ac_srcdir=.
    1234     ac_top_srcdir=$ac_top_builddir_sub
    1235     ac_abs_top_srcdir=$ac_pwd ;;
    1236   [\\/]* | ?:[\\/]* )  # Absolute name.
    1237     ac_srcdir=$srcdir$ac_dir_suffix;
    1238     ac_top_srcdir=$srcdir
    1239     ac_abs_top_srcdir=$srcdir ;;
    1240   *) # Relative name.
    1241     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    1242     ac_top_srcdir=$ac_top_build_prefix$srcdir
    1243     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     841case $ac_abs_builddir in
     842.) ac_abs_top_builddir=${ac_top_builddir}.;;
     843*)
     844  case ${ac_top_builddir}. in
     845  .) ac_abs_top_builddir=$ac_abs_builddir;;
     846  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     847  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     848  esac;;
    1244849esac
    1245 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
    1246 
    1247     cd "$ac_dir" || { ac_status=$?; continue; }
    1248     # Check for guested configure.
    1249     if test -f "$ac_srcdir/configure.gnu"; then
    1250       echo &&
    1251       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
    1252     elif test -f "$ac_srcdir/configure"; then
    1253       echo &&
    1254       $SHELL "$ac_srcdir/configure" --help=recursive
     850case $ac_abs_builddir in
     851.) ac_abs_srcdir=$ac_srcdir;;
     852*)
     853  case $ac_srcdir in
     854  .) ac_abs_srcdir=$ac_abs_builddir;;
     855  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     856  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     857  esac;;
     858esac
     859case $ac_abs_builddir in
     860.) ac_abs_top_srcdir=$ac_top_srcdir;;
     861*)
     862  case $ac_top_srcdir in
     863  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     864  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     865  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     866  esac;;
     867esac
     868
     869    cd $ac_dir
     870    # Check for guested configure; otherwise get Cygnus style configure.
     871    if test -f $ac_srcdir/configure.gnu; then
     872      echo
     873      $SHELL $ac_srcdir/configure.gnu  --help=recursive
     874    elif test -f $ac_srcdir/configure; then
     875      echo
     876      $SHELL $ac_srcdir/configure  --help=recursive
     877    elif test -f $ac_srcdir/configure.ac ||
     878       test -f $ac_srcdir/configure.in; then
     879      echo
     880      $ac_configure --help
    1255881    else
    1256882      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    1257     fi || ac_status=$?
    1258     cd "$ac_pwd" || { ac_status=$?; break; }
     883    fi
     884    cd $ac_popdir
    1259885  done
    1260886fi
    1261887
    1262 test -n "$ac_init_help" && exit $ac_status
     888test -n "$ac_init_help" && exit 0
    1263889if $ac_init_version; then
    1264890  cat <<\_ACEOF
    1265 configure
    1266 generated by GNU Autoconf 2.61
    1267 
    1268 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1269 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
     891
     892Copyright (C) 2003 Free Software Foundation, Inc.
    1270893This configure script is free software; the Free Software Foundation
    1271894gives unlimited permission to copy, distribute and modify it.
    1272895_ACEOF
    1273   exit
    1274 fi
    1275 cat >config.log <<_ACEOF
     896  exit 0
     897fi
     898exec 5>config.log
     899cat >&5 <<_ACEOF
    1276900This file contains any messages produced by compilers while
    1277901running configure, to aid debugging if configure makes a mistake.
    1278902
    1279903It was created by $as_me, which was
    1280 generated by GNU Autoconf 2.61.  Invocation command line was
     904generated by GNU Autoconf 2.59.  Invocation command line was
    1281905
    1282906  $ $0 $@
    1283907
    1284908_ACEOF
    1285 exec 5>>config.log
    1286909{
    1287910cat <<_ASUNAME
     
    1302925/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    1303926/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1304 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
     927hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
    1305928/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    1306929/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    1316939  echo "PATH: $as_dir"
    1317940done
    1318 IFS=$as_save_IFS
    1319941
    1320942} >&5
     
    1338960ac_configure_args0=
    1339961ac_configure_args1=
     962ac_sep=
    1340963ac_must_keep_next=false
    1341964for ac_pass in 1 2
     
    1348971    | -silent | --silent | --silen | --sile | --sil)
    1349972      continue ;;
    1350     *\'*)
     973    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1351974      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    1352975    esac
     
    1370993    esac
    1371994      fi
    1372       ac_configure_args="$ac_configure_args '$ac_arg'"
     995      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
     996      # Get rid of the leading space.
     997      ac_sep=" "
    1373998      ;;
    1374999    esac
     
    13811006# config.log.  We remove comments because anyway the quotes in there
    13821007# would cause problems or look ugly.
    1383 # WARNING: Use '\'' to represent an apostrophe within the trap.
    1384 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
     1008# WARNING: Be sure not to use single quotes in there, as some shells,
     1009# such as our DU 5.0 friend, will then `close' the trap.
    13851010trap 'exit_status=$?
    13861011  # Save into config.log some information that might help in debugging.
     
    13951020    echo
    13961021    # The following way of writing the cache mishandles newlines in values,
    1397 (
    1398   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
    1399     eval ac_val=\$$ac_var
    1400     case $ac_val in #(
    1401     *${as_nl}*)
    1402       case $ac_var in #(
    1403       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
    1404 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
    1405       esac
    1406       case $ac_var in #(
    1407       _ | IFS | as_nl) ;; #(
    1408       *) $as_unset $ac_var ;;
    1409       esac ;;
    1410     esac
    1411   done
     1022{
    14121023  (set) 2>&1 |
    1413     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
    1414     *${as_nl}ac_space=\ *)
     1024    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
     1025    *ac_space=\ *)
    14151026      sed -n \
    1416     "s/'\''/'\''\\\\'\'''\''/g;
    1417       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
    1418       ;; #(
     1027    "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
     1028      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1029      ;;
    14191030    *)
    1420       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
     1031      sed -n \
     1032    "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    14211033      ;;
    1422     esac |
    1423     sort
    1424 )
     1034    esac;
     1035}
    14251036    echo
    14261037
     
    14331044    for ac_var in $ac_subst_vars
    14341045    do
    1435       eval ac_val=\$$ac_var
    1436       case $ac_val in
    1437       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    1438       esac
    1439       echo "$ac_var='\''$ac_val'\''"
     1046      eval ac_val=$`echo $ac_var`
     1047      echo "$ac_var='"'"'$ac_val'"'"'"
    14401048    done | sort
    14411049    echo
     
    14431051    if test -n "$ac_subst_files"; then
    14441052      cat <<\_ASBOX
    1445 ## ------------------- ##
    1446 ## File substitutions. ##
    1447 ## ------------------- ##
     1053## ------------- ##
     1054## Output files. ##
     1055## ------------- ##
    14481056_ASBOX
    14491057      echo
    14501058      for ac_var in $ac_subst_files
    14511059      do
    1452     eval ac_val=\$$ac_var
    1453     case $ac_val in
    1454     *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    1455     esac
    1456     echo "$ac_var='\''$ac_val'\''"
     1060    eval ac_val=$`echo $ac_var`
     1061    echo "$ac_var='"'"'$ac_val'"'"'"
    14571062      done | sort
    14581063      echo
     
    14661071_ASBOX
    14671072      echo
    1468       cat confdefs.h
     1073      sed "/^$/d" confdefs.h | sort
    14691074      echo
    14701075    fi
     
    14731078    echo "$as_me: exit $exit_status"
    14741079  } >&5
    1475   rm -f core *.core core.conftest.* &&
    1476     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
     1080  rm -f core *.core &&
     1081  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    14771082    exit $exit_status
    1478 ' 0
     1083     ' 0
    14791084for ac_signal in 1 2 13 15; do
    14801085  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     
    14831088
    14841089# confdefs.h avoids OS command line length limits that DEFS can exceed.
    1485 rm -f -r conftest* confdefs.h
     1090rm -rf conftest* confdefs.h
     1091# AIX cpp loses on an empty file, so make sure it contains at least a newline.
     1092echo >confdefs.h
    14861093
    14871094# Predefined preprocessor variables.
     
    15141121# Let the site file select an alternate cache file if it wants to.
    15151122# Prefer explicitly selected file to automatically selected ones.
    1516 if test -n "$CONFIG_SITE"; then
    1517   set x "$CONFIG_SITE"
    1518 elif test "x$prefix" != xNONE; then
    1519   set x "$prefix/share/config.site" "$prefix/etc/config.site"
    1520 else
    1521   set x "$ac_default_prefix/share/config.site" \
    1522     "$ac_default_prefix/etc/config.site"
    1523 fi
    1524 shift
    1525 for ac_site_file
    1526 do
     1123if test -z "$CONFIG_SITE"; then
     1124  if test "x$prefix" != xNONE; then
     1125    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
     1126  else
     1127    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
     1128  fi
     1129fi
     1130for ac_site_file in $CONFIG_SITE; do
    15271131  if test -r "$ac_site_file"; then
    15281132    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     
    15401144echo "$as_me: loading cache $cache_file" >&6;}
    15411145    case $cache_file in
    1542       [\\/]* | ?:[\\/]* ) . "$cache_file";;
    1543       *)                      . "./$cache_file";;
     1146      [\\/]* | ?:[\\/]* ) . $cache_file;;
     1147      *)                      . ./$cache_file;;
    15441148    esac
    15451149  fi
     
    15531157# value.
    15541158ac_cache_corrupted=false
    1555 for ac_var in $ac_precious_vars; do
     1159for ac_var in `(set) 2>&1 |
     1160           sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    15561161  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    15571162  eval ac_new_set=\$ac_env_${ac_var}_set
    1558   eval ac_old_val=\$ac_cv_env_${ac_var}_value
    1559   eval ac_new_val=\$ac_env_${ac_var}_value
     1163  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
     1164  eval ac_new_val="\$ac_env_${ac_var}_value"
    15601165  case $ac_old_set,$ac_new_set in
    15611166    set,)
     
    15821187  if test "$ac_new_set" = set; then
    15831188    case $ac_new_val in
    1584     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1189    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1190      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    15851191    *) ac_arg=$ac_var=$ac_new_val ;;
    15861192    esac
     
    15991205fi
    16001206
    1601 
    1602 
    1603 
    1604 
    1605 
    1606 
    1607 
    1608 
    1609 
    1610 
    1611 
    1612 
    1613 
    1614 
    1615 
    1616 
    16171207ac_ext=c
    16181208ac_cpp='$CPP $CPPFLAGS'
     
    16221212
    16231213
    1624 # Check whether --enable-accentfolding was given.
     1214
     1215
     1216
     1217
     1218
     1219
     1220
     1221
     1222
     1223
     1224
     1225
     1226
     1227
     1228
     1229
     1230
     1231# Check whether --enable-accentfolding or --disable-accentfolding was given.
    16251232if test "${enable_accentfolding+set}" = set; then
    1626   enableval=$enable_accentfolding; ENABLE_ACCENTFOLD=0
     1233  enableval="$enable_accentfolding"
     1234  ENABLE_ACCENTFOLD=0
    16271235else
    16281236  ENABLE_ACCENTFOLD=1
    1629 fi
    1630 
     1237fi;
    16311238cat >>confdefs.h <<_ACEOF
    16321239#define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD
     
    16411248
    16421249
    1643 echo "***** CLASSPATH = $CLASSPATH"
    1644 echo "***** CWD = " `pwd`
    1645 echo "***** PATH = $PATH"
    1646 echo "**** java: " `which java`
    1647 echo "***  javac:  " `which javac`
    16481250
    16491251
     
    16541256  # Extract the first word of "$ac_prog", so it can be a program name with args.
    16551257set dummy $ac_prog; ac_word=$2
    1656 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1258echo "$as_me:$LINENO: checking for $ac_word" >&5
     1259echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    16581260if test "${ac_cv_prog_JAVAC+set}" = set; then
    16591261  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    16681270  test -z "$as_dir" && as_dir=.
    16691271  for ac_exec_ext in '' $ac_executable_extensions; do
    1670   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1272  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    16711273    ac_cv_prog_JAVAC="$ac_prog"
    16721274    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    16751277done
    16761278done
    1677 IFS=$as_save_IFS
    16781279
    16791280fi
     
    16811282JAVAC=$ac_cv_prog_JAVAC
    16821283if test -n "$JAVAC"; then
    1683   { echo "$as_me:$LINENO: result: $JAVAC" >&5
    1684 echo "${ECHO_T}$JAVAC" >&6; }
    1685 else
    1686   { echo "$as_me:$LINENO: result: no" >&5
    1687 echo "${ECHO_T}no" >&6; }
    1688 fi
    1689 
     1284  echo "$as_me:$LINENO: result: $JAVAC" >&5
     1285echo "${ECHO_T}$JAVAC" >&6
     1286else
     1287  echo "$as_me:$LINENO: result: no" >&5
     1288echo "${ECHO_T}no" >&6
     1289fi
    16901290
    16911291  test -n "$JAVAC" && break
     
    16971297  # Extract the first word of "$ac_prog", so it can be a program name with args.
    16981298set dummy $ac_prog; ac_word=$2
    1699 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1299echo "$as_me:$LINENO: checking for $ac_word" >&5
     1300echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    17011301if test "${ac_cv_prog_JAVAC+set}" = set; then
    17021302  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    17111311  test -z "$as_dir" && as_dir=.
    17121312  for ac_exec_ext in '' $ac_executable_extensions; do
    1713   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1313  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    17141314    ac_cv_prog_JAVAC="$ac_prog"
    17151315    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    17181318done
    17191319done
    1720 IFS=$as_save_IFS
    17211320
    17221321fi
     
    17241323JAVAC=$ac_cv_prog_JAVAC
    17251324if test -n "$JAVAC"; then
    1726   { echo "$as_me:$LINENO: result: $JAVAC" >&5
    1727 echo "${ECHO_T}$JAVAC" >&6; }
    1728 else
    1729   { echo "$as_me:$LINENO: result: no" >&5
    1730 echo "${ECHO_T}no" >&6; }
    1731 fi
    1732 
     1325  echo "$as_me:$LINENO: result: $JAVAC" >&5
     1326echo "${ECHO_T}$JAVAC" >&6
     1327else
     1328  echo "$as_me:$LINENO: result: no" >&5
     1329echo "${ECHO_T}no" >&6
     1330fi
    17331331
    17341332  test -n "$JAVAC" && break
     
    17411339   { (exit 1); exit 1; }; }
    17421340
    1743 { echo "$as_me:$LINENO: checking if $JAVAC works" >&5
    1744 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6; }
     1341echo "$as_me:$LINENO: checking if $JAVAC works" >&5
     1342echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6
    17451343if test "${ac_cv_prog_javac_works+set}" = set; then
    17461344  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    17501348CLASS_TEST=Test.class
    17511349cat << \EOF > $JAVA_TEST
    1752 /* #line 1752 "configure" */
     1350/* #line 1350 "configure" */
    17531351public class Test {
    17541352}
     
    17711369
    17721370fi
    1773 { echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
    1774 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6; }
     1371echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
     1372echo "${ECHO_T}$ac_cv_prog_javac_works" >&6
    17751373
    17761374
     
    17811379  # Extract the first word of "$ac_prog", so it can be a program name with args.
    17821380set dummy $ac_prog; ac_word=$2
    1783 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1381echo "$as_me:$LINENO: checking for $ac_word" >&5
     1382echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    17851383if test "${ac_cv_prog_JAVA+set}" = set; then
    17861384  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    17951393  test -z "$as_dir" && as_dir=.
    17961394  for ac_exec_ext in '' $ac_executable_extensions; do
    1797   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1395  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    17981396    ac_cv_prog_JAVA="$ac_prog"
    17991397    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    18021400done
    18031401done
    1804 IFS=$as_save_IFS
    18051402
    18061403fi
     
    18081405JAVA=$ac_cv_prog_JAVA
    18091406if test -n "$JAVA"; then
    1810   { echo "$as_me:$LINENO: result: $JAVA" >&5
    1811 echo "${ECHO_T}$JAVA" >&6; }
    1812 else
    1813   { echo "$as_me:$LINENO: result: no" >&5
    1814 echo "${ECHO_T}no" >&6; }
    1815 fi
    1816 
     1407  echo "$as_me:$LINENO: result: $JAVA" >&5
     1408echo "${ECHO_T}$JAVA" >&6
     1409else
     1410  echo "$as_me:$LINENO: result: no" >&5
     1411echo "${ECHO_T}no" >&6
     1412fi
    18171413
    18181414  test -n "$JAVA" && break
     
    18241420  # Extract the first word of "$ac_prog", so it can be a program name with args.
    18251421set dummy $ac_prog; ac_word=$2
    1826 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1422echo "$as_me:$LINENO: checking for $ac_word" >&5
     1423echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    18281424if test "${ac_cv_prog_JAVA+set}" = set; then
    18291425  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    18381434  test -z "$as_dir" && as_dir=.
    18391435  for ac_exec_ext in '' $ac_executable_extensions; do
    1840   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1436  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    18411437    ac_cv_prog_JAVA="$ac_prog"
    18421438    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    18451441done
    18461442done
    1847 IFS=$as_save_IFS
    18481443
    18491444fi
     
    18511446JAVA=$ac_cv_prog_JAVA
    18521447if test -n "$JAVA"; then
    1853   { echo "$as_me:$LINENO: result: $JAVA" >&5
    1854 echo "${ECHO_T}$JAVA" >&6; }
    1855 else
    1856   { echo "$as_me:$LINENO: result: no" >&5
    1857 echo "${ECHO_T}no" >&6; }
    1858 fi
    1859 
     1448  echo "$as_me:$LINENO: result: $JAVA" >&5
     1449echo "${ECHO_T}$JAVA" >&6
     1450else
     1451  echo "$as_me:$LINENO: result: no" >&5
     1452echo "${ECHO_T}no" >&6
     1453fi
    18601454
    18611455  test -n "$JAVA" && break
     
    18701464# Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
    18711465set dummy uudecode$EXEEXT; ac_word=$2
    1872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1466echo "$as_me:$LINENO: checking for $ac_word" >&5
     1467echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    18741468if test "${ac_cv_prog_uudecode+set}" = set; then
    18751469  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    18841478  test -z "$as_dir" && as_dir=.
    18851479  for ac_exec_ext in '' $ac_executable_extensions; do
    1886   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1480  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    18871481    ac_cv_prog_uudecode="yes"
    18881482    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    18911485done
    18921486done
    1893 IFS=$as_save_IFS
    18941487
    18951488fi
     
    18971490uudecode=$ac_cv_prog_uudecode
    18981491if test -n "$uudecode"; then
    1899   { echo "$as_me:$LINENO: result: $uudecode" >&5
    1900 echo "${ECHO_T}$uudecode" >&6; }
    1901 else
    1902   { echo "$as_me:$LINENO: result: no" >&5
    1903 echo "${ECHO_T}no" >&6; }
    1904 fi
    1905 
     1492  echo "$as_me:$LINENO: result: $uudecode" >&5
     1493echo "${ECHO_T}$uudecode" >&6
     1494else
     1495  echo "$as_me:$LINENO: result: no" >&5
     1496echo "${ECHO_T}no" >&6
     1497fi
    19061498
    19071499if test x$uudecode = xyes; then
    1908 { echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5
    1909 echo $ECHO_N "checking if uudecode can decode base 64 file... $ECHO_C" >&6; }
     1500echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5
     1501echo $ECHO_N "checking if uudecode can decode base 64 file... $ECHO_C" >&6
    19101502if test "${ac_cv_prog_uudecode_base64+set}" = set; then
    19111503  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    19261518        ac_cv_prog_uudecode_base64=yes
    19271519else
    1928         echo "configure: 1928: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
     1520        echo "configure: 1520: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
    19291521        echo "configure: failed file was:" >&5
    19301522        cat Test.uue >&5
     
    19331525rm -f Test.uue
    19341526fi
    1935 { echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5
    1936 echo "${ECHO_T}$ac_cv_prog_uudecode_base64" >&6; }
     1527echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5
     1528echo "${ECHO_T}$ac_cv_prog_uudecode_base64" >&6
    19371529fi
    19381530if test x$ac_cv_prog_uudecode_base64 != xyes; then
     
    19521544  # Extract the first word of "$ac_prog", so it can be a program name with args.
    19531545set dummy $ac_prog; ac_word=$2
    1954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1546echo "$as_me:$LINENO: checking for $ac_word" >&5
     1547echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    19561548if test "${ac_cv_prog_JAVAC+set}" = set; then
    19571549  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    19661558  test -z "$as_dir" && as_dir=.
    19671559  for ac_exec_ext in '' $ac_executable_extensions; do
    1968   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1560  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19691561    ac_cv_prog_JAVAC="$ac_prog"
    19701562    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    19731565done
    19741566done
    1975 IFS=$as_save_IFS
    19761567
    19771568fi
     
    19791570JAVAC=$ac_cv_prog_JAVAC
    19801571if test -n "$JAVAC"; then
    1981   { echo "$as_me:$LINENO: result: $JAVAC" >&5
    1982 echo "${ECHO_T}$JAVAC" >&6; }
    1983 else
    1984   { echo "$as_me:$LINENO: result: no" >&5
    1985 echo "${ECHO_T}no" >&6; }
    1986 fi
    1987 
     1572  echo "$as_me:$LINENO: result: $JAVAC" >&5
     1573echo "${ECHO_T}$JAVAC" >&6
     1574else
     1575  echo "$as_me:$LINENO: result: no" >&5
     1576echo "${ECHO_T}no" >&6
     1577fi
    19881578
    19891579  test -n "$JAVAC" && break
     
    19951585  # Extract the first word of "$ac_prog", so it can be a program name with args.
    19961586set dummy $ac_prog; ac_word=$2
    1997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1587echo "$as_me:$LINENO: checking for $ac_word" >&5
     1588echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    19991589if test "${ac_cv_prog_JAVAC+set}" = set; then
    20001590  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    20091599  test -z "$as_dir" && as_dir=.
    20101600  for ac_exec_ext in '' $ac_executable_extensions; do
    2011   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1601  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20121602    ac_cv_prog_JAVAC="$ac_prog"
    20131603    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    20161606done
    20171607done
    2018 IFS=$as_save_IFS
    20191608
    20201609fi
     
    20221611JAVAC=$ac_cv_prog_JAVAC
    20231612if test -n "$JAVAC"; then
    2024   { echo "$as_me:$LINENO: result: $JAVAC" >&5
    2025 echo "${ECHO_T}$JAVAC" >&6; }
    2026 else
    2027   { echo "$as_me:$LINENO: result: no" >&5
    2028 echo "${ECHO_T}no" >&6; }
    2029 fi
    2030 
     1613  echo "$as_me:$LINENO: result: $JAVAC" >&5
     1614echo "${ECHO_T}$JAVAC" >&6
     1615else
     1616  echo "$as_me:$LINENO: result: no" >&5
     1617echo "${ECHO_T}no" >&6
     1618fi
    20311619
    20321620  test -n "$JAVAC" && break
     
    20391627   { (exit 1); exit 1; }; }
    20401628
    2041 { echo "$as_me:$LINENO: checking if $JAVAC works" >&5
    2042 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6; }
     1629echo "$as_me:$LINENO: checking if $JAVAC works" >&5
     1630echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6
    20431631if test "${ac_cv_prog_javac_works+set}" = set; then
    20441632  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    20481636CLASS_TEST=Test.class
    20491637cat << \EOF > $JAVA_TEST
    2050 /* #line 2050 "configure" */
     1638/* #line 1638 "configure" */
    20511639public class Test {
    20521640}
     
    20691657
    20701658fi
    2071 { echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
    2072 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6; }
     1659echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
     1660echo "${ECHO_T}$ac_cv_prog_javac_works" >&6
    20731661
    20741662
    20751663        fi
    20761664fi
    2077 { echo "$as_me:$LINENO: checking if $JAVA works" >&5
    2078 echo $ECHO_N "checking if $JAVA works... $ECHO_C" >&6; }
     1665echo "$as_me:$LINENO: checking if $JAVA works" >&5
     1666echo $ECHO_N "checking if $JAVA works... $ECHO_C" >&6
    20791667if test "${ac_cv_prog_java_works+set}" = set; then
    20801668  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    20851673TEST=Test
    20861674cat << \EOF > $JAVA_TEST
    2087 /* [#]line 2087 "configure" */
     1675/* [#]line 1675 "configure" */
    20881676public class Test {
    20891677public static void main (String args[]) {
     
    21241712
    21251713fi
    2126 { echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5
    2127 echo "${ECHO_T}$ac_cv_prog_java_works" >&6; }
    2128 
    2129 
    2130 
    2131 
    2132 
    2133 # Check whether --with-unac was given.
     1714echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5
     1715echo "${ECHO_T}$ac_cv_prog_java_works" >&6
     1716
     1717
     1718
     1719
     1720
     1721# Check whether --with-unac or --without-unac was given.
    21341722if test "${with_unac+set}" = set; then
    2135   withval=$with_unac; UNAC_DIR=$withval
    2136 fi
    2137 
     1723  withval="$with_unac"
     1724  UNAC_DIR=$withval
     1725fi;
     1726
     1727
     1728# Check whether --with-libiconv or --without-libiconv was given.
     1729if test "${with_libiconv+set}" = set; then
     1730  withval="$with_libiconv"
     1731  LIBICONV_DIR=$withval
     1732fi;
    21381733
    21391734if test $ENABLE_ACCENTFOLD = 1; then
    21401735ac_aux_dir=
    2141 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
    2142   if test -f "$ac_dir/install-sh"; then
     1736for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     1737  if test -f $ac_dir/install-sh; then
    21431738    ac_aux_dir=$ac_dir
    21441739    ac_install_sh="$ac_aux_dir/install-sh -c"
    21451740    break
    2146   elif test -f "$ac_dir/install.sh"; then
     1741  elif test -f $ac_dir/install.sh; then
    21471742    ac_aux_dir=$ac_dir
    21481743    ac_install_sh="$ac_aux_dir/install.sh -c"
    21491744    break
    2150   elif test -f "$ac_dir/shtool"; then
     1745  elif test -f $ac_dir/shtool; then
    21511746    ac_aux_dir=$ac_dir
    21521747    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    21551750done
    21561751if test -z "$ac_aux_dir"; then
    2157   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
    2158 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
     1752  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
     1753echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
    21591754   { (exit 1); exit 1; }; }
    21601755fi
    2161 
    2162 # These three variables are undocumented and unsupported,
    2163 # and are intended to be withdrawn in a future Autoconf release.
    2164 # They can cause serious problems if a builder's source tree is in a directory
    2165 # whose full name contains unusual characters.
    2166 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
    2167 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
    2168 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     1756ac_config_guess="$SHELL $ac_aux_dir/config.guess"
     1757ac_config_sub="$SHELL $ac_aux_dir/config.sub"
     1758ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     1759
    21691760
    21701761
     
    21731764fi
    21741765
     1766
     1767
    21751768subdirs="$subdirs mg mgpp"
    21761769
    21771770
    2178 ac_config_files="$ac_config_files Makefile"
    2179 
     1771          ac_config_files="$ac_config_files Makefile"
    21801772cat >confcache <<\_ACEOF
    21811773# This file is a shell script that caches the results of configure
     
    21961788# The following way of writing the cache mishandles newlines in values,
    21971789# but we know of no workaround that is simple, portable, and efficient.
    2198 # So, we kill variables containing newlines.
     1790# So, don't put newlines in cache variables' values.
    21991791# Ultrix sh set writes to stderr and can't be redirected directly,
    22001792# and sets the high bit in the cache file unless we assign to the vars.
    2201 (
    2202   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
    2203     eval ac_val=\$$ac_var
    2204     case $ac_val in #(
    2205     *${as_nl}*)
    2206       case $ac_var in #(
    2207       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
    2208 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
    2209       esac
    2210       case $ac_var in #(
    2211       _ | IFS | as_nl) ;; #(
    2212       *) $as_unset $ac_var ;;
    2213       esac ;;
    2214     esac
    2215   done
    2216 
     1793{
    22171794  (set) 2>&1 |
    2218     case $as_nl`(ac_space=' '; set) 2>&1` in #(
    2219     *${as_nl}ac_space=\ *)
     1795    case `(ac_space=' '; set | grep ac_space) 2>&1` in
     1796    *ac_space=\ *)
    22201797      # `set' does not quote correctly, so add quotes (double-quote
    22211798      # substitution turns \\\\ into \\, and sed turns \\ into \).
     
    22231800    "s/'/'\\\\''/g;
    22241801      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    2225       ;; #(
     1802      ;;
    22261803    *)
    22271804      # `set' quotes correctly as required by POSIX, so do not add quotes.
    2228       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
     1805      sed -n \
     1806    "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    22291807      ;;
    2230     esac |
    2231     sort
    2232 ) |
     1808    esac;
     1809} |
    22331810  sed '
    2234      /^ac_cv_env_/b end
    22351811     t clear
    2236      :clear
     1812     : clear
    22371813     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    22381814     t end
    2239      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
    2240      :end' >>confcache
    2241 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
    2242   if test -w "$cache_file"; then
    2243     test "x$cache_file" != "x/dev/null" &&
    2244       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
    2245 echo "$as_me: updating cache $cache_file" >&6;}
     1815     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     1816     : end' >>confcache
     1817if diff $cache_file confcache >/dev/null 2>&1; then :; else
     1818  if test -w $cache_file; then
     1819    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
    22461820    cat confcache >$cache_file
    22471821  else
    2248     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
    2249 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
     1822    echo "not updating unwritable cache $cache_file"
    22501823  fi
    22511824fi
     
    22551828# Let make expand exec_prefix.
    22561829test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
     1830
     1831# VPATH may cause trouble with some makes, so we remove $(srcdir),
     1832# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     1833# trailing colons and then remove the whole line if VPATH becomes empty
     1834# (actually we leave an empty line to preserve line numbers).
     1835if test "x$srcdir" = x.; then
     1836  ac_vpsub='/^[  ]*VPATH[    ]*=/{
     1837s/:*\$(srcdir):*/:/;
     1838s/:*\${srcdir}:*/:/;
     1839s/:*@srcdir@:*/:/;
     1840s/^\([^=]*=[     ]*\):*/\1/;
     1841s/:*$//;
     1842s/^[^=]*=[   ]*$//;
     1843}'
     1844fi
    22571845
    22581846# Transform confdefs.h into DEFS.
     
    22611849#
    22621850# If the first sed substitution is executed (which looks for macros that
    2263 # take arguments), then branch to the quote section.  Otherwise,
     1851# take arguments), then we branch to the quote section.  Otherwise,
    22641852# look for a macro that doesn't take arguments.
    2265 ac_script='
     1853cat >confdef2opt.sed <<\_ACEOF
    22661854t clear
    2267 :clear
    2268 s/^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
     1855: clear
     1856s,^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
    22691857t quote
    2270 s/^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
     1858s,^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
    22711859t quote
    2272 b any
    2273 :quote
    2274 s/[  `~#$^&*(){}\\|;'\''"<>?]/\\&/g
    2275 s/\[/\\&/g
    2276 s/\]/\\&/g
    2277 s/\$/$$/g
    2278 H
    2279 :any
    2280 ${
    2281     g
    2282     s/^\n//
    2283     s/\n/ /g
    2284     p
    2285 }
    2286 '
    2287 DEFS=`sed -n "$ac_script" confdefs.h`
     1860d
     1861: quote
     1862s,[  `~#$^&*(){}\\|;'"<>?],\\&,g
     1863s,\[,\\&,g
     1864s,\],\\&,g
     1865s,\$,$$,g
     1866p
     1867_ACEOF
     1868# We use echo to avoid assuming a particular line-breaking character.
     1869# The extra dot is to prevent the shell from consuming trailing
     1870# line-breaks from the sub-command output.  A line-break within
     1871# single-quotes doesn't work because, if this script is created in a
     1872# platform that uses two characters for line-breaks (e.g., DOS), tr
     1873# would break.
     1874ac_LF_and_DOT=`echo; echo .`
     1875DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
     1876rm -f confdef2opt.sed
    22881877
    22891878
     
    22921881for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    22931882  # 1. Remove the extension, and $U if already installed.
    2294   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
    2295   ac_i=`echo "$ac_i" | sed "$ac_script"`
    2296   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
    2297   #    will be set to the directory where LIBOBJS objects are built.
    2298   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
    2299   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
     1883  ac_i=`echo "$ac_i" |
     1884     sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
     1885  # 2. Add them.
     1886  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
     1887  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
    23001888done
    23011889LIBOBJS=$ac_libobjs
     
    23281916## --------------------- ##
    23291917
    2330 # Be more Bourne compatible
    2331 DUALCASE=1; export DUALCASE # for MKS sh
     1918# Be Bourne compatible
    23321919if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    23331920  emulate sh
     
    23361923  # is contrary to our usage.  Disable this feature.
    23371924  alias -g '${1+"$@"}'='"$@"'
    2338   setopt NO_GLOB_SUBST
    2339 else
    2340   case `(set -o) 2>/dev/null` in
    2341   *posix*) set -o posix ;;
    2342 esac
    2343 
    2344 fi
    2345 
    2346 
    2347 
    2348 
    2349 # PATH needs CR
     1925elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     1926  set -o posix
     1927fi
     1928DUALCASE=1; export DUALCASE # for MKS sh
     1929
     1930# Support unset when possible.
     1931if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     1932  as_unset=unset
     1933else
     1934  as_unset=false
     1935fi
     1936
     1937
     1938# Work around bugs in pre-3.0 UWIN ksh.
     1939$as_unset ENV MAIL MAILPATH
     1940PS1='$ '
     1941PS2='> '
     1942PS4='+ '
     1943
     1944# NLS nuisances.
     1945for as_var in \
     1946  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     1947  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     1948  LC_TELEPHONE LC_TIME
     1949do
     1950  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     1951    eval $as_var=C; export $as_var
     1952  else
     1953    $as_unset $as_var
     1954  fi
     1955done
     1956
     1957# Required to use basename.
     1958if expr a : '\(a\)' >/dev/null 2>&1; then
     1959  as_expr=expr
     1960else
     1961  as_expr=false
     1962fi
     1963
     1964if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     1965  as_basename=basename
     1966else
     1967  as_basename=false
     1968fi
     1969
     1970
     1971# Name of the executable.
     1972as_me=`$as_basename "$0" ||
     1973$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     1974     X"$0" : 'X\(//\)$' \| \
     1975     X"$0" : 'X\(/\)$' \| \
     1976     .     : '\(.\)' 2>/dev/null ||
     1977echo X/"$0" |
     1978    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     1979      /^X\/\(\/\/\)$/{ s//\1/; q; }
     1980      /^X\/\(\/\).*/{ s//\1/; q; }
     1981      s/.*/./; q'`
     1982
     1983
     1984# PATH needs CR, and LINENO needs CR and PATH.
    23501985# Avoid depending upon Character Ranges.
    23511986as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    23682003fi
    23692004
    2370 # Support unset when possible.
    2371 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    2372   as_unset=unset
    2373 else
    2374   as_unset=false
    2375 fi
    2376 
    2377 
    2378 # IFS
    2379 # We need space, tab and new line, in precisely that order.  Quoting is
    2380 # there to prevent editors from complaining about space-tab.
    2381 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    2382 # splitting by setting IFS to empty value.)
    2383 as_nl='
    2384 '
    2385 IFS=" ""    $as_nl"
    2386 
    2387 # Find who we are.  Look in the path if we contain no directory separator.
    2388 case $0 in
    2389   *[\\/]* ) as_myself=$0 ;;
    2390   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2005
     2006  as_lineno_1=$LINENO
     2007  as_lineno_2=$LINENO
     2008  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     2009  test "x$as_lineno_1" != "x$as_lineno_2" &&
     2010  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
     2011  # Find who we are.  Look in the path if we contain no path at all
     2012  # relative or not.
     2013  case $0 in
     2014    *[\\/]* ) as_myself=$0 ;;
     2015    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    23912016for as_dir in $PATH
    23922017do
     
    23952020  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    23962021done
    2397 IFS=$as_save_IFS
    2398 
    2399      ;;
    2400 esac
    2401 # We did not find ourselves, most probably we were run as `sh COMMAND'
    2402 # in which case we are not to be found in the path.
    2403 if test "x$as_myself" = x; then
    2404   as_myself=$0
    2405 fi
    2406 if test ! -f "$as_myself"; then
    2407   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    2408   { (exit 1); exit 1; }
    2409 fi
    2410 
    2411 # Work around bugs in pre-3.0 UWIN ksh.
    2412 for as_var in ENV MAIL MAILPATH
    2413 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    2414 done
    2415 PS1='$ '
    2416 PS2='> '
    2417 PS4='+ '
    2418 
    2419 # NLS nuisances.
    2420 for as_var in \
    2421   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    2422   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    2423   LC_TELEPHONE LC_TIME
     2022
     2023       ;;
     2024  esac
     2025  # We did not find ourselves, most probably we were run as `sh COMMAND'
     2026  # in which case we are not to be found in the path.
     2027  if test "x$as_myself" = x; then
     2028    as_myself=$0
     2029  fi
     2030  if test ! -f "$as_myself"; then
     2031    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
     2032echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
     2033   { (exit 1); exit 1; }; }
     2034  fi
     2035  case $CONFIG_SHELL in
     2036  '')
     2037    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2038for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    24242039do
    2425   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    2426     eval $as_var=C; export $as_var
    2427   else
    2428     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    2429   fi
    2430 done
    2431 
    2432 # Required to use basename.
    2433 if expr a : '\(a\)' >/dev/null 2>&1 &&
    2434    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    2435   as_expr=expr
    2436 else
    2437   as_expr=false
    2438 fi
    2439 
    2440 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    2441   as_basename=basename
    2442 else
    2443   as_basename=false
    2444 fi
    2445 
    2446 
    2447 # Name of the executable.
    2448 as_me=`$as_basename -- "$0" ||
    2449 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    2450      X"$0" : 'X\(//\)$' \| \
    2451      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    2452 echo X/"$0" |
    2453     sed '/^.*\/\([^/][^/]*\)\/*$/{
    2454         s//\1/
    2455         q
    2456       }
    2457       /^X\/\(\/\/\)$/{
    2458         s//\1/
    2459         q
    2460       }
    2461       /^X\/\(\/\).*/{
    2462         s//\1/
    2463         q
    2464       }
    2465       s/.*/./; q'`
    2466 
    2467 # CDPATH.
    2468 $as_unset CDPATH
    2469 
    2470 
    2471 
     2040  IFS=$as_save_IFS
     2041  test -z "$as_dir" && as_dir=.
     2042  for as_base in sh bash ksh sh5; do
     2043     case $as_dir in
     2044     /*)
     2045       if ("$as_dir/$as_base" -c '
    24722046  as_lineno_1=$LINENO
    24732047  as_lineno_2=$LINENO
     2048  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    24742049  test "x$as_lineno_1" != "x$as_lineno_2" &&
    2475   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
     2050  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
     2051         $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
     2052         $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
     2053         CONFIG_SHELL=$as_dir/$as_base
     2054         export CONFIG_SHELL
     2055         exec "$CONFIG_SHELL" "$0" ${1+"$@"}
     2056       fi;;
     2057     esac
     2058       done
     2059done
     2060;;
     2061  esac
    24762062
    24772063  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    24782064  # uniformly replaced by the line number.  The first 'sed' inserts a
    2479   # line-number line after each line using $LINENO; the second 'sed'
    2480   # does the real work.  The second script uses 'N' to pair each
    2481   # line-number line with the line containing $LINENO, and appends
    2482   # trailing '-' during substitution so that $LINENO is not a special
    2483   # case at line end.
     2065  # line-number line before each line; the second 'sed' does the real
     2066  # work.  The second script uses 'N' to pair each line-number line
     2067  # with the numbered line, and appends trailing '-' during
     2068  # substitution so that $LINENO is not a special case at line end.
    24842069  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    2485   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    2486   # E. McMahon (1931-1989) for sed's syntax.  :-)
    2487   sed -n '
    2488     p
    2489     /[$]LINENO/=
    2490   ' <$as_myself |
     2070  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
     2071  sed '=' <$as_myself |
    24912072    sed '
    2492       s/[$]LINENO.*/&-/
    2493       t lineno
    2494       b
    2495       :lineno
    24962073      N
    2497       :loop
    2498       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
     2074      s,$,-,
     2075      : loop
     2076      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    24992077      t loop
    2500       s/-\n.*//
     2078      s,-$,,
     2079      s,^['$as_cr_digits']*\n,,
    25012080    ' >$as_me.lineno &&
    2502   chmod +x "$as_me.lineno" ||
    2503     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     2081  chmod +x $as_me.lineno ||
     2082    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
     2083echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
    25042084   { (exit 1); exit 1; }; }
    25052085
    25062086  # Don't try to exec as it changes $[0], causing all sort of problems
    25072087  # (the dirname of $[0] is not the place where we might find the
    2508   # original and so on.  Autoconf is especially sensitive to this).
    2509   . "./$as_me.lineno"
     2088  # original and so on.  Autoconf is especially sensible to this).
     2089  . ./$as_me.lineno
    25102090  # Exit status is that of the last command.
    25112091  exit
     
    25132093
    25142094
    2515 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    2516   as_dirname=dirname
    2517 else
    2518   as_dirname=false
    2519 fi
    2520 
    2521 ECHO_C= ECHO_N= ECHO_T=
    2522 case `echo -n x` in
    2523 -n*)
    2524   case `echo 'x\c'` in
    2525   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
    2526   *)   ECHO_C='\c';;
    2527   esac;;
    2528 *)
    2529   ECHO_N='-n';;
     2095case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
     2096  *c*,-n*) ECHO_N= ECHO_C='
     2097' ECHO_T='  ' ;;
     2098  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
     2099  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    25302100esac
    25312101
    2532 if expr a : '\(a\)' >/dev/null 2>&1 &&
    2533    test "X`expr 00001 : '.*\(...\)'`" = X001; then
     2102if expr a : '\(a\)' >/dev/null 2>&1; then
    25342103  as_expr=expr
    25352104else
     
    25382107
    25392108rm -f conf$$ conf$$.exe conf$$.file
    2540 if test -d conf$$.dir; then
    2541   rm -f conf$$.dir/conf$$.file
    2542 else
    2543   rm -f conf$$.dir
    2544   mkdir conf$$.dir
    2545 fi
    25462109echo >conf$$.file
    25472110if ln -s conf$$.file conf$$ 2>/dev/null; then
    2548   as_ln_s='ln -s'
    2549   # ... but there are two gotchas:
    2550   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    2551   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    2552   # In both cases, we have to default to `cp -p'.
    2553   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     2111  # We could just check for DJGPP; but this test a) works b) is more generic
     2112  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     2113  if test -f conf$$.exe; then
     2114    # Don't use ln at all; we don't have any links
    25542115    as_ln_s='cp -p'
     2116  else
     2117    as_ln_s='ln -s'
     2118  fi
    25552119elif ln conf$$.file conf$$ 2>/dev/null; then
    25562120  as_ln_s=ln
     
    25582122  as_ln_s='cp -p'
    25592123fi
    2560 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    2561 rmdir conf$$.dir 2>/dev/null
     2124rm -f conf$$ conf$$.exe conf$$.file
    25622125
    25632126if mkdir -p . 2>/dev/null; then
     
    25682131fi
    25692132
    2570 if test -x / >/dev/null 2>&1; then
    2571   as_test_x='test -x'
    2572 else
    2573   if ls -dL / >/dev/null 2>&1; then
    2574     as_ls_L_option=L
    2575   else
    2576     as_ls_L_option=
    2577   fi
    2578   as_test_x='
    2579     eval sh -c '\''
    2580       if test -d "$1"; then
    2581         test -d "$1/.";
    2582       else
    2583     case $1 in
    2584         -*)set "./$1";;
    2585     esac;
    2586     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    2587     ???[sx]*):;;*)false;;esac;fi
    2588     '\'' sh
    2589   '
    2590 fi
    2591 as_executable_p=$as_test_x
     2133as_executable_p="test -f"
    25922134
    25932135# Sed expression to map a string onto a valid CPP name.
     
    25982140
    25992141
     2142# IFS
     2143# We need space, tab and new line, in precisely that order.
     2144as_nl='
     2145'
     2146IFS="   $as_nl"
     2147
     2148# CDPATH.
     2149$as_unset CDPATH
     2150
    26002151exec 6>&1
    26012152
    2602 # Save the log message, to keep $[0] and so on meaningful, and to
     2153# Open the log real soon, to keep \$[0] and so on meaningful, and to
    26032154# report actual input values of CONFIG_FILES etc. instead of their
    2604 # values after options handling.
    2605 ac_log="
     2155# values after options handling.  Logging --version etc. is OK.
     2156exec 5>>config.log
     2157{
     2158  echo
     2159  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
     2160## Running $as_me. ##
     2161_ASBOX
     2162} >&5
     2163cat >&5 <<_CSEOF
     2164
    26062165This file was extended by $as_me, which was
    2607 generated by GNU Autoconf 2.61.  Invocation command line was
     2166generated by GNU Autoconf 2.59.  Invocation command line was
    26082167
    26092168  CONFIG_FILES    = $CONFIG_FILES
     
    26132172  $ $0 $@
    26142173
    2615 on `(hostname || uname -n) 2>/dev/null | sed 1q`
    2616 "
    2617 
    2618 _ACEOF
    2619 
    2620 cat >>$CONFIG_STATUS <<_ACEOF
     2174_CSEOF
     2175echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
     2176echo >&5
     2177_ACEOF
     2178
    26212179# Files that config.status was made for.
    2622 config_files="$ac_config_files"
    2623 
    2624 _ACEOF
     2180if test -n "$ac_config_files"; then
     2181  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
     2182fi
     2183
     2184if test -n "$ac_config_headers"; then
     2185  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
     2186fi
     2187
     2188if test -n "$ac_config_links"; then
     2189  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
     2190fi
     2191
     2192if test -n "$ac_config_commands"; then
     2193  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
     2194fi
    26252195
    26262196cat >>$CONFIG_STATUS <<\_ACEOF
     2197
    26272198ac_cs_usage="\
    26282199\`$as_me' instantiates files from templates according to the
     
    26322203
    26332204  -h, --help       print this help, then exit
    2634   -V, --version    print version number and configuration settings, then exit
     2205  -V, --version    print version number, then exit
    26352206  -q, --quiet      do not print progress messages
    26362207  -d, --debug      don't remove temporary files
     
    26432214
    26442215Report bugs to <bug-autoconf@gnu.org>."
    2645 
    2646 _ACEOF
     2216_ACEOF
     2217
    26472218cat >>$CONFIG_STATUS <<_ACEOF
    26482219ac_cs_version="\\
    26492220config.status
    2650 configured by $0, generated by GNU Autoconf 2.61,
    2651   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
    2652 
    2653 Copyright (C) 2006 Free Software Foundation, Inc.
     2221configured by $0, generated by GNU Autoconf 2.59,
     2222  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
     2223
     2224Copyright (C) 2003 Free Software Foundation, Inc.
    26542225This config.status script is free software; the Free Software Foundation
    26552226gives unlimited permission to copy, distribute and modify it."
    2656 
    2657 ac_pwd='$ac_pwd'
    2658 srcdir='$srcdir'
     2227srcdir=$srcdir
    26592228_ACEOF
    26602229
     
    26672236  case $1 in
    26682237  --*=*)
    2669     ac_option=`expr "X$1" : 'X\([^=]*\)='`
    2670     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     2238    ac_option=`expr "x$1" : 'x\([^=]*\)='`
     2239    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
    26712240    ac_shift=:
    26722241    ;;
    2673   *)
     2242  -*)
    26742243    ac_option=$1
    26752244    ac_optarg=$2
    26762245    ac_shift=shift
    26772246    ;;
     2247  *) # This is not an option, so the user has probably given explicit
     2248     # arguments.
     2249     ac_option=$1
     2250     ac_need_defaults=false;;
    26782251  esac
    26792252
    26802253  case $ac_option in
    26812254  # Handling of the options.
     2255_ACEOF
     2256cat >>$CONFIG_STATUS <<\_ACEOF
    26822257  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    26832258    ac_cs_recheck=: ;;
    2684   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    2685     echo "$ac_cs_version"; exit ;;
    2686   --debug | --debu | --deb | --de | --d | -d )
     2259  --version | --vers* | -V )
     2260    echo "$ac_cs_version"; exit 0 ;;
     2261  --he | --h)
     2262    # Conflict between --help and --header
     2263    { { echo "$as_me:$LINENO: error: ambiguous option: $1
     2264Try \`$0 --help' for more information." >&5
     2265echo "$as_me: error: ambiguous option: $1
     2266Try \`$0 --help' for more information." >&2;}
     2267   { (exit 1); exit 1; }; };;
     2268  --help | --hel | -h )
     2269    echo "$ac_cs_usage"; exit 0 ;;
     2270  --debug | --d* | -d )
    26872271    debug=: ;;
    26882272  --file | --fil | --fi | --f )
     
    26902274    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
    26912275    ac_need_defaults=false;;
    2692   --he | --h |  --help | --hel | -h )
    2693     echo "$ac_cs_usage"; exit ;;
     2276  --header | --heade | --head | --hea )
     2277    $ac_shift
     2278    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
     2279    ac_need_defaults=false;;
    26942280  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    26952281  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     
    26972283
    26982284  # This is an error.
    2699   -*) { echo "$as_me: error: unrecognized option: $1
    2700 Try \`$0 --help' for more information." >&2
     2285  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
     2286Try \`$0 --help' for more information." >&5
     2287echo "$as_me: error: unrecognized option: $1
     2288Try \`$0 --help' for more information." >&2;}
    27012289   { (exit 1); exit 1; }; } ;;
    27022290
    2703   *) ac_config_targets="$ac_config_targets $1"
    2704      ac_need_defaults=false ;;
     2291  *) ac_config_targets="$ac_config_targets $1" ;;
    27052292
    27062293  esac
     
    27182305cat >>$CONFIG_STATUS <<_ACEOF
    27192306if \$ac_cs_recheck; then
    2720   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
    2721   CONFIG_SHELL=$SHELL
    2722   export CONFIG_SHELL
    2723   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    2724 fi
    2725 
    2726 _ACEOF
     2307  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
     2308  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     2309fi
     2310
     2311_ACEOF
     2312
     2313
     2314
     2315
     2316
    27272317cat >>$CONFIG_STATUS <<\_ACEOF
    2728 exec 5>>config.log
    2729 {
    2730   echo
    2731   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
    2732 ## Running $as_me. ##
    2733 _ASBOX
    2734   echo "$ac_log"
    2735 } >&5
    2736 
    2737 _ACEOF
    2738 cat >>$CONFIG_STATUS <<_ACEOF
    2739 _ACEOF
    2740 
    2741 cat >>$CONFIG_STATUS <<\_ACEOF
    2742 
    2743 # Handling of arguments.
    27442318for ac_config_target in $ac_config_targets
    27452319do
    2746   case $ac_config_target in
    2747     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    2748 
     2320  case "$ac_config_target" in
     2321  # Handling of arguments.
     2322  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    27492323  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    27502324echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     
    27522326  esac
    27532327done
    2754 
    27552328
    27562329# If the user did not use the arguments to specify the items to instantiate,
     
    27632336
    27642337# Have a temporary directory for convenience.  Make it in the build tree
    2765 # simply because there is no reason against having it here, and in addition,
     2338# simply because there is no reason to put it here, and in addition,
    27662339# creating and moving files from /tmp can sometimes cause problems.
    2767 # Hook for its removal unless debugging.
    2768 # Note that there is a small window in which the directory will not be cleaned:
    2769 # after its creation but before its name has been assigned to `$tmp'.
     2340# Create a temporary directory, and hook for its removal unless debugging.
    27702341$debug ||
    27712342{
    2772   tmp=
    2773   trap 'exit_status=$?
    2774   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
    2775 ' 0
     2343  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
    27762344  trap '{ (exit 1); exit 1; }' 1 2 13 15
    27772345}
     2346
    27782347# Create a (secure) tmp directory for tmp files.
    27792348
    27802349{
    2781   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
     2350  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
    27822351  test -n "$tmp" && test -d "$tmp"
    27832352}  ||
    27842353{
    2785   tmp=./conf$$-$RANDOM
    2786   (umask 077 && mkdir "$tmp")
     2354  tmp=./confstat$$-$RANDOM
     2355  (umask 077 && mkdir $tmp)
    27872356} ||
    27882357{
     
    27912360}
    27922361
     2362_ACEOF
     2363
     2364cat >>$CONFIG_STATUS <<_ACEOF
     2365
    27932366#
    2794 # Set up the sed scripts for CONFIG_FILES section.
     2367# CONFIG_FILES section.
    27952368#
    27962369
    27972370# No need to generate the scripts if there are no CONFIG_FILES.
    27982371# This happens for instance when ./config.status config.h
    2799 if test -n "$CONFIG_FILES"; then
    2800 
    2801 _ACEOF
    2802 
    2803 
    2804 
    2805 ac_delim='%!_!# '
    2806 for ac_last_try in false false false false false :; do
    2807   cat >conf$$subs.sed <<_ACEOF
    2808 SHELL!$SHELL$ac_delim
    2809 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
    2810 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
    2811 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
    2812 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
    2813 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
    2814 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
    2815 exec_prefix!$exec_prefix$ac_delim
    2816 prefix!$prefix$ac_delim
    2817 program_transform_name!$program_transform_name$ac_delim
    2818 bindir!$bindir$ac_delim
    2819 sbindir!$sbindir$ac_delim
    2820 libexecdir!$libexecdir$ac_delim
    2821 datarootdir!$datarootdir$ac_delim
    2822 datadir!$datadir$ac_delim
    2823 sysconfdir!$sysconfdir$ac_delim
    2824 sharedstatedir!$sharedstatedir$ac_delim
    2825 localstatedir!$localstatedir$ac_delim
    2826 includedir!$includedir$ac_delim
    2827 oldincludedir!$oldincludedir$ac_delim
    2828 docdir!$docdir$ac_delim
    2829 infodir!$infodir$ac_delim
    2830 htmldir!$htmldir$ac_delim
    2831 dvidir!$dvidir$ac_delim
    2832 pdfdir!$pdfdir$ac_delim
    2833 psdir!$psdir$ac_delim
    2834 libdir!$libdir$ac_delim
    2835 localedir!$localedir$ac_delim
    2836 mandir!$mandir$ac_delim
    2837 DEFS!$DEFS$ac_delim
    2838 ECHO_C!$ECHO_C$ac_delim
    2839 ECHO_N!$ECHO_N$ac_delim
    2840 ECHO_T!$ECHO_T$ac_delim
    2841 LIBS!$LIBS$ac_delim
    2842 build_alias!$build_alias$ac_delim
    2843 host_alias!$host_alias$ac_delim
    2844 target_alias!$target_alias$ac_delim
    2845 ENABLE_ACCENTFOLD!$ENABLE_ACCENTFOLD$ac_delim
    2846 COMPAT32BITFLAGS!$COMPAT32BITFLAGS$ac_delim
    2847 JAVAC!$JAVAC$ac_delim
    2848 JAVA!$JAVA$ac_delim
    2849 uudecode!$uudecode$ac_delim
    2850 subdirs!$subdirs$ac_delim
    2851 LIBOBJS!$LIBOBJS$ac_delim
    2852 LTLIBOBJS!$LTLIBOBJS$ac_delim
    2853 _ACEOF
    2854 
    2855   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 45; then
    2856     break
    2857   elif $ac_last_try; then
    2858     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    2859 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    2860    { (exit 1); exit 1; }; }
    2861   else
    2862     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
    2863   fi
    2864 done
    2865 
    2866 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
    2867 if test -n "$ac_eof"; then
    2868   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
    2869   ac_eof=`expr $ac_eof + 1`
    2870 fi
    2871 
    2872 cat >>$CONFIG_STATUS <<_ACEOF
    2873 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
    2874 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
    2875 _ACEOF
    2876 sed '
    2877 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
    2878 s/^/s,@/; s/!/@,|#_!!_#|/
    2879 :n
    2880 t n
    2881 s/'"$ac_delim"'$/,g/; t
    2882 s/$/\\/; p
    2883 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
    2884 ' >>$CONFIG_STATUS <conf$$subs.sed
    2885 rm -f conf$$subs.sed
    2886 cat >>$CONFIG_STATUS <<_ACEOF
    2887 :end
    2888 s/|#_!!_#|//g
    2889 CEOF$ac_eof
    2890 _ACEOF
    2891 
    2892 
    2893 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    2894 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    2895 # trailing colons and then remove the whole line if VPATH becomes empty
    2896 # (actually we leave an empty line to preserve line numbers).
    2897 if test "x$srcdir" = x.; then
    2898   ac_vpsub='/^[  ]*VPATH[    ]*=/{
    2899 s/:*\$(srcdir):*/:/
    2900 s/:*\${srcdir}:*/:/
    2901 s/:*@srcdir@:*/:/
    2902 s/^\([^=]*=[     ]*\):*/\1/
    2903 s/:*$//
    2904 s/^[^=]*=[   ]*$//
    2905 }'
    2906 fi
    2907 
     2372if test -n "\$CONFIG_FILES"; then
     2373  # Protect against being on the right side of a sed subst in config.status.
     2374  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
     2375   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
     2376s,@SHELL@,$SHELL,;t t
     2377s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
     2378s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
     2379s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
     2380s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
     2381s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
     2382s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
     2383s,@exec_prefix@,$exec_prefix,;t t
     2384s,@prefix@,$prefix,;t t
     2385s,@program_transform_name@,$program_transform_name,;t t
     2386s,@bindir@,$bindir,;t t
     2387s,@sbindir@,$sbindir,;t t
     2388s,@libexecdir@,$libexecdir,;t t
     2389s,@datadir@,$datadir,;t t
     2390s,@sysconfdir@,$sysconfdir,;t t
     2391s,@sharedstatedir@,$sharedstatedir,;t t
     2392s,@localstatedir@,$localstatedir,;t t
     2393s,@libdir@,$libdir,;t t
     2394s,@includedir@,$includedir,;t t
     2395s,@oldincludedir@,$oldincludedir,;t t
     2396s,@infodir@,$infodir,;t t
     2397s,@mandir@,$mandir,;t t
     2398s,@build_alias@,$build_alias,;t t
     2399s,@host_alias@,$host_alias,;t t
     2400s,@target_alias@,$target_alias,;t t
     2401s,@DEFS@,$DEFS,;t t
     2402s,@ECHO_C@,$ECHO_C,;t t
     2403s,@ECHO_N@,$ECHO_N,;t t
     2404s,@ECHO_T@,$ECHO_T,;t t
     2405s,@LIBS@,$LIBS,;t t
     2406s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t
     2407s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
     2408s,@JAVAC@,$JAVAC,;t t
     2409s,@JAVA@,$JAVA,;t t
     2410s,@uudecode@,$uudecode,;t t
     2411s,@subdirs@,$subdirs,;t t
     2412s,@LIBOBJS@,$LIBOBJS,;t t
     2413s,@LTLIBOBJS@,$LTLIBOBJS,;t t
     2414CEOF
     2415
     2416_ACEOF
     2417
     2418  cat >>$CONFIG_STATUS <<\_ACEOF
     2419  # Split the substitutions into bite-sized pieces for seds with
     2420  # small command number limits, like on Digital OSF/1 and HP-UX.
     2421  ac_max_sed_lines=48
     2422  ac_sed_frag=1 # Number of current file.
     2423  ac_beg=1 # First line for current file.
     2424  ac_end=$ac_max_sed_lines # Line after last line for current file.
     2425  ac_more_lines=:
     2426  ac_sed_cmds=
     2427  while $ac_more_lines; do
     2428    if test $ac_beg -gt 1; then
     2429      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     2430    else
     2431      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     2432    fi
     2433    if test ! -s $tmp/subs.frag; then
     2434      ac_more_lines=false
     2435    else
     2436      # The purpose of the label and of the branching condition is to
     2437      # speed up the sed processing (if there are no `@' at all, there
     2438      # is no need to browse any of the substitutions).
     2439      # These are the two extra sed commands mentioned above.
     2440      (echo ':t
     2441  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
     2442      if test -z "$ac_sed_cmds"; then
     2443    ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
     2444      else
     2445    ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
     2446      fi
     2447      ac_sed_frag=`expr $ac_sed_frag + 1`
     2448      ac_beg=$ac_end
     2449      ac_end=`expr $ac_end + $ac_max_sed_lines`
     2450    fi
     2451  done
     2452  if test -z "$ac_sed_cmds"; then
     2453    ac_sed_cmds=cat
     2454  fi
     2455fi # test -n "$CONFIG_FILES"
     2456
     2457_ACEOF
    29082458cat >>$CONFIG_STATUS <<\_ACEOF
    2909 fi # test -n "$CONFIG_FILES"
    2910 
    2911 
    2912 for ac_tag in  :F $CONFIG_FILES
    2913 do
    2914   case $ac_tag in
    2915   :[FHLC]) ac_mode=$ac_tag; continue;;
     2459for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
     2460  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
     2461  case $ac_file in
     2462  - | *:- | *:-:* ) # input from stdin
     2463    cat >$tmp/stdin
     2464    ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     2465    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     2466  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     2467    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     2468  * )   ac_file_in=$ac_file.in ;;
    29162469  esac
    2917   case $ac_mode$ac_tag in
    2918   :[FHL]*:*);;
    2919   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
    2920 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
    2921    { (exit 1); exit 1; }; };;
    2922   :[FH]-) ac_tag=-:-;;
    2923   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
    2924   esac
    2925   ac_save_IFS=$IFS
    2926   IFS=:
    2927   set x $ac_tag
    2928   IFS=$ac_save_IFS
    2929   shift
    2930   ac_file=$1
    2931   shift
    2932 
    2933   case $ac_mode in
    2934   :L) ac_source=$1;;
    2935   :[FH])
    2936     ac_file_inputs=
    2937     for ac_f
    2938     do
    2939       case $ac_f in
    2940       -) ac_f="$tmp/stdin";;
    2941       *) # Look for the file first in the build tree, then in the source tree
    2942      # (if the path is not absolute).  The absolute path cannot be DOS-style,
    2943      # because $ac_f cannot contain `:'.
    2944      test -f "$ac_f" ||
    2945        case $ac_f in
    2946        [\\/$]*) false;;
    2947        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    2948        esac ||
    2949        { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
    2950 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
    2951    { (exit 1); exit 1; }; };;
    2952       esac
    2953       ac_file_inputs="$ac_file_inputs $ac_f"
    2954     done
    2955 
    2956     # Let's still pretend it is `configure' which instantiates (i.e., don't
    2957     # use $as_me), people would be surprised to read:
    2958     #    /* config.h.  Generated by config.status.  */
    2959     configure_input="Generated from "`IFS=:
    2960       echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
    2961     if test x"$ac_file" != x-; then
    2962       configure_input="$ac_file.  $configure_input"
    2963       { echo "$as_me:$LINENO: creating $ac_file" >&5
    2964 echo "$as_me: creating $ac_file" >&6;}
    2965     fi
    2966 
    2967     case $ac_tag in
    2968     *:-:* | *:-) cat >"$tmp/stdin";;
    2969     esac
    2970     ;;
    2971   esac
    2972 
    2973   ac_dir=`$as_dirname -- "$ac_file" ||
     2470
     2471  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
     2472  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    29742473$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    29752474     X"$ac_file" : 'X\(//\)[^/]' \| \
    29762475     X"$ac_file" : 'X\(//\)$' \| \
    2977      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
     2476     X"$ac_file" : 'X\(/\)' \| \
     2477     .     : '\(.\)' 2>/dev/null ||
    29782478echo X"$ac_file" |
    2979     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    2980         s//\1/
    2981         q
    2982       }
    2983       /^X\(\/\/\)[^/].*/{
    2984         s//\1/
    2985         q
    2986       }
    2987       /^X\(\/\/\)$/{
    2988         s//\1/
    2989         q
    2990       }
    2991       /^X\(\/\).*/{
    2992         s//\1/
    2993         q
    2994       }
    2995       s/.*/./; q'`
    2996   { as_dir="$ac_dir"
    2997   case $as_dir in #(
    2998   -*) as_dir=./$as_dir;;
    2999   esac
    3000   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
     2479    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     2480      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     2481      /^X\(\/\/\)$/{ s//\1/; q; }
     2482      /^X\(\/\).*/{ s//\1/; q; }
     2483      s/.*/./; q'`
     2484  { if $as_mkdir_p; then
     2485    mkdir -p "$ac_dir"
     2486  else
     2487    as_dir="$ac_dir"
    30012488    as_dirs=
    3002     while :; do
    3003       case $as_dir in #(
    3004       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
    3005       *) as_qdir=$as_dir;;
    3006       esac
    3007       as_dirs="'$as_qdir' $as_dirs"
    3008       as_dir=`$as_dirname -- "$as_dir" ||
     2489    while test ! -d "$as_dir"; do
     2490      as_dirs="$as_dir $as_dirs"
     2491      as_dir=`(dirname "$as_dir") 2>/dev/null ||
    30092492$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    30102493     X"$as_dir" : 'X\(//\)[^/]' \| \
    30112494     X"$as_dir" : 'X\(//\)$' \| \
    3012      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     2495     X"$as_dir" : 'X\(/\)' \| \
     2496     .     : '\(.\)' 2>/dev/null ||
    30132497echo X"$as_dir" |
    3014     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    3015         s//\1/
    3016         q
    3017       }
    3018       /^X\(\/\/\)[^/].*/{
    3019         s//\1/
    3020         q
    3021       }
    3022       /^X\(\/\/\)$/{
    3023         s//\1/
    3024         q
    3025       }
    3026       /^X\(\/\).*/{
    3027         s//\1/
    3028         q
    3029       }
    3030       s/.*/./; q'`
    3031       test -d "$as_dir" && break
     2498    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     2499      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     2500      /^X\(\/\/\)$/{ s//\1/; q; }
     2501      /^X\(\/\).*/{ s//\1/; q; }
     2502      s/.*/./; q'`
    30322503    done
    3033     test -z "$as_dirs" || eval "mkdir $as_dirs"
    3034   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    3035 echo "$as_me: error: cannot create directory $as_dir" >&2;}
     2504    test ! -n "$as_dirs" || mkdir $as_dirs
     2505  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     2506echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    30362507   { (exit 1); exit 1; }; }; }
     2508
    30372509  ac_builddir=.
    30382510
    3039 case "$ac_dir" in
    3040 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     2511if test "$ac_dir" != .; then
     2512  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     2513  # A "../" for each directory in $ac_dir_suffix.
     2514  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     2515else
     2516  ac_dir_suffix= ac_top_builddir=
     2517fi
     2518
     2519case $srcdir in
     2520  .)  # No --srcdir option.  We are building in place.
     2521    ac_srcdir=.
     2522    if test -z "$ac_top_builddir"; then
     2523       ac_top_srcdir=.
     2524    else
     2525       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     2526    fi ;;
     2527  [\\/]* | ?:[\\/]* )  # Absolute path.
     2528    ac_srcdir=$srcdir$ac_dir_suffix;
     2529    ac_top_srcdir=$srcdir ;;
     2530  *) # Relative path.
     2531    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     2532    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     2533esac
     2534
     2535# Do not use `cd foo && pwd` to compute absolute paths, because
     2536# the directories may not exist.
     2537case `pwd` in
     2538.) ac_abs_builddir="$ac_dir";;
    30412539*)
    3042   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    3043   # A ".." for each directory in $ac_dir_suffix.
    3044   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
    3045   case $ac_top_builddir_sub in
    3046   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
    3047   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
    3048   esac ;;
     2540  case "$ac_dir" in
     2541  .) ac_abs_builddir=`pwd`;;
     2542  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     2543  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     2544  esac;;
    30492545esac
    3050 ac_abs_top_builddir=$ac_pwd
    3051 ac_abs_builddir=$ac_pwd$ac_dir_suffix
    3052 # for backward compatibility:
    3053 ac_top_builddir=$ac_top_build_prefix
    3054 
    3055 case $srcdir in
    3056   .)  # We are building in place.
    3057     ac_srcdir=.
    3058     ac_top_srcdir=$ac_top_builddir_sub
    3059     ac_abs_top_srcdir=$ac_pwd ;;
    3060   [\\/]* | ?:[\\/]* )  # Absolute name.
    3061     ac_srcdir=$srcdir$ac_dir_suffix;
    3062     ac_top_srcdir=$srcdir
    3063     ac_abs_top_srcdir=$srcdir ;;
    3064   *) # Relative name.
    3065     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    3066     ac_top_srcdir=$ac_top_build_prefix$srcdir
    3067     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     2546case $ac_abs_builddir in
     2547.) ac_abs_top_builddir=${ac_top_builddir}.;;
     2548*)
     2549  case ${ac_top_builddir}. in
     2550  .) ac_abs_top_builddir=$ac_abs_builddir;;
     2551  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     2552  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     2553  esac;;
    30682554esac
    3069 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
    3070 
    3071 
    3072   case $ac_mode in
    3073   :F)
    3074   #
    3075   # CONFIG_FILE
    3076   #
    3077 
    3078 _ACEOF
    3079 
    3080 cat >>$CONFIG_STATUS <<\_ACEOF
    3081 # If the template does not know about datarootdir, expand it.
    3082 # FIXME: This hack should be removed a few years after 2.60.
    3083 ac_datarootdir_hack=; ac_datarootdir_seen=
    3084 
    3085 case `sed -n '/datarootdir/ {
    3086   p
    3087   q
    3088 }
    3089 /@datadir@/p
    3090 /@docdir@/p
    3091 /@infodir@/p
    3092 /@localedir@/p
    3093 /@mandir@/p
    3094 ' $ac_file_inputs` in
    3095 *datarootdir*) ac_datarootdir_seen=yes;;
    3096 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
    3097   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    3098 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    3099 _ACEOF
    3100 cat >>$CONFIG_STATUS <<_ACEOF
    3101   ac_datarootdir_hack='
    3102   s&@datadir@&$datadir&g
    3103   s&@docdir@&$docdir&g
    3104   s&@infodir@&$infodir&g
    3105   s&@localedir@&$localedir&g
    3106   s&@mandir@&$mandir&g
    3107     s&\\\${datarootdir}&$datarootdir&g' ;;
     2555case $ac_abs_builddir in
     2556.) ac_abs_srcdir=$ac_srcdir;;
     2557*)
     2558  case $ac_srcdir in
     2559  .) ac_abs_srcdir=$ac_abs_builddir;;
     2560  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     2561  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     2562  esac;;
    31082563esac
    3109 _ACEOF
    3110 
    3111 # Neutralize VPATH when `$srcdir' = `.'.
    3112 # Shell code in configure.ac might set extrasub.
    3113 # FIXME: do we really want to maintain this feature?
     2564case $ac_abs_builddir in
     2565.) ac_abs_top_srcdir=$ac_top_srcdir;;
     2566*)
     2567  case $ac_top_srcdir in
     2568  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     2569  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     2570  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     2571  esac;;
     2572esac
     2573
     2574
     2575
     2576  if test x"$ac_file" != x-; then
     2577    { echo "$as_me:$LINENO: creating $ac_file" >&5
     2578echo "$as_me: creating $ac_file" >&6;}
     2579    rm -f "$ac_file"
     2580  fi
     2581  # Let's still pretend it is `configure' which instantiates (i.e., don't
     2582  # use $as_me), people would be surprised to read:
     2583  #    /* config.h.  Generated by config.status.  */
     2584  if test x"$ac_file" = x-; then
     2585    configure_input=
     2586  else
     2587    configure_input="$ac_file.  "
     2588  fi
     2589  configure_input=$configure_input"Generated from `echo $ac_file_in |
     2590                     sed 's,.*/,,'` by configure."
     2591
     2592  # First look for the input files in the build tree, otherwise in the
     2593  # src tree.
     2594  ac_file_inputs=`IFS=:
     2595    for f in $ac_file_in; do
     2596      case $f in
     2597      -) echo $tmp/stdin ;;
     2598      [\\/$]*)
     2599     # Absolute (can't be DOS-style, as IFS=:)
     2600     test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     2601echo "$as_me: error: cannot find input file: $f" >&2;}
     2602   { (exit 1); exit 1; }; }
     2603     echo "$f";;
     2604      *) # Relative
     2605     if test -f "$f"; then
     2606       # Build tree
     2607       echo "$f"
     2608     elif test -f "$srcdir/$f"; then
     2609       # Source tree
     2610       echo "$srcdir/$f"
     2611     else
     2612       # /dev/null tree
     2613       { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     2614echo "$as_me: error: cannot find input file: $f" >&2;}
     2615   { (exit 1); exit 1; }; }
     2616     fi;;
     2617      esac
     2618    done` || { (exit 1); exit 1; }
     2619_ACEOF
    31142620cat >>$CONFIG_STATUS <<_ACEOF
    31152621  sed "$ac_vpsub
     
    31192625:t
    31202626/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    3121 s&@configure_input@&$configure_input&;t t
    3122 s&@top_builddir@&$ac_top_builddir_sub&;t t
    3123 s&@srcdir@&$ac_srcdir&;t t
    3124 s&@abs_srcdir@&$ac_abs_srcdir&;t t
    3125 s&@top_srcdir@&$ac_top_srcdir&;t t
    3126 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
    3127 s&@builddir@&$ac_builddir&;t t
    3128 s&@abs_builddir@&$ac_abs_builddir&;t t
    3129 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
    3130 $ac_datarootdir_hack
    3131 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
    3132 
    3133 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
    3134   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
    3135   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
    3136   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    3137 which seems to be undefined.  Please make sure it is defined." >&5
    3138 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    3139 which seems to be undefined.  Please make sure it is defined." >&2;}
    3140 
    3141   rm -f "$tmp/stdin"
    3142   case $ac_file in
    3143   -) cat "$tmp/out"; rm -f "$tmp/out";;
    3144   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
    3145   esac
    3146  ;;
    3147 
    3148 
    3149 
    3150   esac
    3151 
    3152 done # for ac_tag
    3153 
     2627s,@configure_input@,$configure_input,;t t
     2628s,@srcdir@,$ac_srcdir,;t t
     2629s,@abs_srcdir@,$ac_abs_srcdir,;t t
     2630s,@top_srcdir@,$ac_top_srcdir,;t t
     2631s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
     2632s,@builddir@,$ac_builddir,;t t
     2633s,@abs_builddir@,$ac_abs_builddir,;t t
     2634s,@top_builddir@,$ac_top_builddir,;t t
     2635s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
     2636" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
     2637  rm -f $tmp/stdin
     2638  if test x"$ac_file" != x-; then
     2639    mv $tmp/out $ac_file
     2640  else
     2641    cat $tmp/out
     2642    rm -f $tmp/out
     2643  fi
     2644
     2645done
     2646_ACEOF
     2647
     2648cat >>$CONFIG_STATUS <<\_ACEOF
    31542649
    31552650{ (exit 0); exit 0; }
     
    31882683  ac_sub_configure_args=
    31892684  ac_prev=
    3190   eval "set x $ac_configure_args"
    3191   shift
    3192   for ac_arg
    3193   do
     2685  for ac_arg in $ac_configure_args; do
    31942686    if test -n "$ac_prev"; then
    31952687      ac_prev=
     
    32142706    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    32152707      ;;
    3216     *)
    3217       case $ac_arg in
    3218       *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    3219       esac
    3220       ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
     2708    *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
    32212709    esac
    32222710  done
     
    32242712  # Always prepend --prefix to ensure using the same prefix
    32252713  # in subdir configurations.
    3226   ac_arg="--prefix=$prefix"
    3227   case $ac_arg in
    3228   *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    3229   esac
    3230   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
    3231 
    3232   # Pass --silent
    3233   if test "$silent" = yes; then
    3234     ac_sub_configure_args="--silent $ac_sub_configure_args"
    3235   fi
     2714  ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
    32362715
    32372716  ac_popdir=`pwd`
     
    32402719    # Do not complain, so a configure script can configure whichever
    32412720    # parts of a large source tree are present.
    3242     test -d "$srcdir/$ac_dir" || continue
    3243 
    3244     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
    3245     echo "$as_me:$LINENO: $ac_msg" >&5
    3246     echo "$ac_msg" >&6
    3247     { as_dir="$ac_dir"
    3248   case $as_dir in #(
    3249   -*) as_dir=./$as_dir;;
    3250   esac
    3251   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
     2721    test -d $srcdir/$ac_dir || continue
     2722
     2723    { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
     2724echo "$as_me: configuring in $ac_dir" >&6;}
     2725    { if $as_mkdir_p; then
     2726    mkdir -p "$ac_dir"
     2727  else
     2728    as_dir="$ac_dir"
    32522729    as_dirs=
    3253     while :; do
    3254       case $as_dir in #(
    3255       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
    3256       *) as_qdir=$as_dir;;
    3257       esac
    3258       as_dirs="'$as_qdir' $as_dirs"
    3259       as_dir=`$as_dirname -- "$as_dir" ||
     2730    while test ! -d "$as_dir"; do
     2731      as_dirs="$as_dir $as_dirs"
     2732      as_dir=`(dirname "$as_dir") 2>/dev/null ||
    32602733$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    32612734     X"$as_dir" : 'X\(//\)[^/]' \| \
    32622735     X"$as_dir" : 'X\(//\)$' \| \
    3263      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     2736     X"$as_dir" : 'X\(/\)' \| \
     2737     .     : '\(.\)' 2>/dev/null ||
    32642738echo X"$as_dir" |
    3265     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    3266         s//\1/
    3267         q
    3268       }
    3269       /^X\(\/\/\)[^/].*/{
    3270         s//\1/
    3271         q
    3272       }
    3273       /^X\(\/\/\)$/{
    3274         s//\1/
    3275         q
    3276       }
    3277       /^X\(\/\).*/{
    3278         s//\1/
    3279         q
    3280       }
    3281       s/.*/./; q'`
    3282       test -d "$as_dir" && break
     2739    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     2740      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     2741      /^X\(\/\/\)$/{ s//\1/; q; }
     2742      /^X\(\/\).*/{ s//\1/; q; }
     2743      s/.*/./; q'`
    32832744    done
    3284     test -z "$as_dirs" || eval "mkdir $as_dirs"
    3285   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    3286 echo "$as_me: error: cannot create directory $as_dir" >&2;}
     2745    test ! -n "$as_dirs" || mkdir $as_dirs
     2746  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     2747echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    32872748   { (exit 1); exit 1; }; }; }
     2749
    32882750    ac_builddir=.
    32892751
    3290 case "$ac_dir" in
    3291 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     2752if test "$ac_dir" != .; then
     2753  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     2754  # A "../" for each directory in $ac_dir_suffix.
     2755  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     2756else
     2757  ac_dir_suffix= ac_top_builddir=
     2758fi
     2759
     2760case $srcdir in
     2761  .)  # No --srcdir option.  We are building in place.
     2762    ac_srcdir=.
     2763    if test -z "$ac_top_builddir"; then
     2764       ac_top_srcdir=.
     2765    else
     2766       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     2767    fi ;;
     2768  [\\/]* | ?:[\\/]* )  # Absolute path.
     2769    ac_srcdir=$srcdir$ac_dir_suffix;
     2770    ac_top_srcdir=$srcdir ;;
     2771  *) # Relative path.
     2772    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     2773    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     2774esac
     2775
     2776# Do not use `cd foo && pwd` to compute absolute paths, because
     2777# the directories may not exist.
     2778case `pwd` in
     2779.) ac_abs_builddir="$ac_dir";;
    32922780*)
    3293   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    3294   # A ".." for each directory in $ac_dir_suffix.
    3295   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
    3296   case $ac_top_builddir_sub in
    3297   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
    3298   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
    3299   esac ;;
     2781  case "$ac_dir" in
     2782  .) ac_abs_builddir=`pwd`;;
     2783  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     2784  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     2785  esac;;
    33002786esac
    3301 ac_abs_top_builddir=$ac_pwd
    3302 ac_abs_builddir=$ac_pwd$ac_dir_suffix
    3303 # for backward compatibility:
    3304 ac_top_builddir=$ac_top_build_prefix
    3305 
    3306 case $srcdir in
    3307   .)  # We are building in place.
    3308     ac_srcdir=.
    3309     ac_top_srcdir=$ac_top_builddir_sub
    3310     ac_abs_top_srcdir=$ac_pwd ;;
    3311   [\\/]* | ?:[\\/]* )  # Absolute name.
    3312     ac_srcdir=$srcdir$ac_dir_suffix;
    3313     ac_top_srcdir=$srcdir
    3314     ac_abs_top_srcdir=$srcdir ;;
    3315   *) # Relative name.
    3316     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    3317     ac_top_srcdir=$ac_top_build_prefix$srcdir
    3318     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     2787case $ac_abs_builddir in
     2788.) ac_abs_top_builddir=${ac_top_builddir}.;;
     2789*)
     2790  case ${ac_top_builddir}. in
     2791  .) ac_abs_top_builddir=$ac_abs_builddir;;
     2792  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     2793  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     2794  esac;;
    33192795esac
    3320 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
    3321 
    3322 
    3323     cd "$ac_dir"
     2796case $ac_abs_builddir in
     2797.) ac_abs_srcdir=$ac_srcdir;;
     2798*)
     2799  case $ac_srcdir in
     2800  .) ac_abs_srcdir=$ac_abs_builddir;;
     2801  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     2802  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     2803  esac;;
     2804esac
     2805case $ac_abs_builddir in
     2806.) ac_abs_top_srcdir=$ac_top_srcdir;;
     2807*)
     2808  case $ac_top_srcdir in
     2809  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     2810  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     2811  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     2812  esac;;
     2813esac
     2814
     2815
     2816    cd $ac_dir
    33242817
    33252818    # Check for guested configure; otherwise get Cygnus style configure.
    3326     if test -f "$ac_srcdir/configure.gnu"; then
    3327       ac_sub_configure=$ac_srcdir/configure.gnu
    3328     elif test -f "$ac_srcdir/configure"; then
    3329       ac_sub_configure=$ac_srcdir/configure
    3330     elif test -f "$ac_srcdir/configure.in"; then
    3331       # This should be Cygnus configure.
    3332       ac_sub_configure=$ac_aux_dir/configure
     2819    if test -f $ac_srcdir/configure.gnu; then
     2820      ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
     2821    elif test -f $ac_srcdir/configure; then
     2822      ac_sub_configure="$SHELL '$ac_srcdir/configure'"
     2823    elif test -f $ac_srcdir/configure.in; then
     2824      ac_sub_configure=$ac_configure
    33332825    else
    33342826      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
     
    33422834      case $cache_file in
    33432835      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
    3344       *) # Relative name.
    3345     ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
     2836      *) # Relative path.
     2837    ac_sub_cache_file=$ac_top_builddir$cache_file ;;
    33462838      esac
    33472839
    3348       { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
    3349 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
     2840      { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
     2841echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
    33502842      # The eval makes quoting arguments work.
    3351       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
    3352        --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
     2843      eval $ac_sub_configure $ac_sub_configure_args \
     2844       --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
    33532845    { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
    33542846echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
     
    33562848    fi
    33572849
    3358     cd "$ac_popdir"
     2850    cd $ac_popdir
    33592851  done
    33602852fi
  • indexers/trunk/configure.ac

    r20545 r20832  
    2323AC_ARG_WITH(unac, [  --with-unac=dir       Use specified unac directory], UNAC_DIR=$withval)
    2424
     25dnl
     26dnl Specify location of libiconv - if specified, will be passed to cascading configures
     27dnl
     28AC_ARG_WITH(libiconv, [  --with-libiconv-prefix=dir       Use specified libiconv directory], LIBICONV_DIR=$withval)
     29
    2530if test $ENABLE_ACCENTFOLD = 1; then
    2631AC_CONFIG_SUBDIRS(packages/unac)
  • indexers/trunk/mgpp/configure

    r18598 r20832  
    310310#endif"
    311311
    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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os PACKAGE VERSION COMPAT32BITFLAGS ENABLE_ACCENTFOLD CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT AWK YACC CC CFLAGS ac_ct_CC INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB CPP EGREP U ANSI2KNR UNAC_DIR ALLOCA LIBOBJS JNIINC JNISUFFIX JNIFLAGS LTLIBOBJS'
     312ac_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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os PACKAGE VERSION COMPAT32BITFLAGS ENABLE_ACCENTFOLD CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT AWK YACC CC CFLAGS ac_ct_CC INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB CPP EGREP U ANSI2KNR UNAC_DIR LIBICONV_DIR ALLOCA LIBOBJS JNIINC JNISUFFIX JNIFLAGS LTLIBOBJS'
    313313ac_subst_files=''
    314314
     
    867867  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    868868  --with-unac=dir         Use local unac library and headers
     869  --with-libiconv-prefix=dir         Use local libiconv library
    869870  --with-dmalloc          use dmalloc, as in
    870871                          ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz
     
    43394340cat >>confdefs.h <<_ACEOF
    43404341#define UNAC_DIR "$UNAC_DIR"
     4342_ACEOF
     4343
     4344
     4345
     4346
     4347# Check whether --with-unac or --without-unac was given.
     4348if test "${with_unac+set}" = set; then
     4349  withval="$with_unac"
     4350  LIBICONV_DIR=$withval
     4351fi;
     4352cat >>confdefs.h <<_ACEOF
     4353#define LIBICONV_DIR "$LIBICONV_DIR"
    43414354_ACEOF
    43424355
     
    84428455s,@ANSI2KNR@,$ANSI2KNR,;t t
    84438456s,@UNAC_DIR@,$UNAC_DIR,;t t
     8457s,@LIBICONV_DIR@,$LIBICONV_DIR,;t t
    84448458s,@ALLOCA@,$ALLOCA,;t t
    84458459s,@LIBOBJS@,$LIBOBJS,;t t
  • indexers/trunk/mgpp/configure.in

    r18598 r20832  
    7272AC_DEFINE_UNQUOTED(UNAC_DIR, "$UNAC_DIR")
    7373AC_SUBST(UNAC_DIR)
     74
     75dnl
     76dnl look for libiconv package if not in standard location
     77dnl
     78AC_ARG_WITH(unac, [  --with-libiconv-prefix=dir         Use local libiconv library], LIBICONV_DIR=$withval)
     79AC_DEFINE_UNQUOTED(LIBICONV_DIR, "$LIBICONV_DIR")
     80AC_SUBST(LIBICONV_DIR)
    7481
    7582
Note: See TracChangeset for help on using the changeset viewer.