/[gtktalog]/gtktalog/configure
ViewVC logotype

Diff of /gtktalog/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.140 by ymettier, Sun Oct 13 14:12:50 2002 UTC revision 1.140.2.1 by ymettier, Fri Mar 28 21:46:01 2003 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
   
2  # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
3  # Generated automatically using autoconf version 2.13  # Generated by GNU Autoconf 2.57.
 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.  
4  #  #
5    # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6    # Free Software Foundation, Inc.
7  # This configure script is free software; the Free Software Foundation  # This configure script is free software; the Free Software Foundation
8  # gives unlimited permission to copy, distribute and modify it.  # gives unlimited permission to copy, distribute and modify it.
9    ## --------------------- ##
10  # Defaults:  ## M4sh Initialization.  ##
11  ac_help=  ## --------------------- ##
12  ac_default_prefix=/usr/local  
13  # Any additions from configure.in:  # Be Bourne compatible
14  ac_help="$ac_help  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15    --enable-maintainer-mode enable make rules and dependencies not useful    emulate sh
16                            (and sometimes confusing) to the casual installer"    NULLCMD=:
17  ac_help="$ac_help    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18    --with-gnome-includes   Specify location of GNOME headers"    # is contrary to our usage.  Disable this feature.
19  ac_help="$ac_help    alias -g '${1+"$@"}'='"$@"'
20    --with-gnome-libs       Specify location of GNOME libs"  elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21  ac_help="$ac_help    set -o posix
22    --with-gnome            Specify prefix for GNOME files"  fi
23  ac_help="$ac_help  
24    --enable-shared[=PKGS]  build shared libraries [default=yes]"  # Support unset when possible.
25  ac_help="$ac_help  if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
26    --enable-static[=PKGS]  build static libraries [default=yes]"    as_unset=unset
27  ac_help="$ac_help  else
28    --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]"    as_unset=false
 ac_help="$ac_help  
   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]"  
   
 # Find the correct PATH separator.  Usually this is `:', but  
 # DJGPP uses `;' like DOS.  
 if test "X${PATH_SEPARATOR+set}" != Xset; then  
   UNAME=${UNAME-`uname 2>/dev/null`}  
   case X$UNAME in  
     *-DOS) lt_cv_sys_path_separator=';' ;;  
     *)     lt_cv_sys_path_separator=':' ;;  
   esac  
   PATH_SEPARATOR=$lt_cv_sys_path_separator  
29  fi  fi
30    
31    
32  # Check that we are running under the correct shell.  # Work around bugs in pre-3.0 UWIN ksh.
33  SHELL=${CONFIG_SHELL-/bin/sh}  $as_unset ENV MAIL MAILPATH
34    PS1='$ '
35    PS2='> '
36    PS4='+ '
37    
38  case X$ECHO in  # NLS nuisances.
39  X*--fallback-echo)  for as_var in \
40    # Remove one level of quotation (which was required for Make).    LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41    ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42    ;;    LC_TELEPHONE LC_TIME
43  esac  do
44      if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45        eval $as_var=C; export $as_var
46      else
47        $as_unset $as_var
48      fi
49    done
50    
51  echo=${ECHO-echo}  # Required to use basename.
52  if test "X$1" = X--no-reexec; then  if expr a : '\(a\)' >/dev/null 2>&1; then
53    # Discard the --no-reexec flag, and continue.    as_expr=expr
54    shift  else
55  elif test "X$1" = X--fallback-echo; then    as_expr=false
56    # Avoid inline document here, it may be left over  fi
57    :  
58  elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then  if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59    # Yippee, $echo works!    as_basename=basename
60    :  else
61  else    as_basename=false
   # Restart under the correct shell.  
   exec $SHELL "$0" --no-reexec ${1+"$@"}  
62  fi  fi
63    
 if test "X$1" = X--fallback-echo; then  
   # used as fallback echo  
   shift  
   cat <<EOF  
64    
65  EOF  # Name of the executable.
66    exit 0  as_me=`$as_basename "$0" ||
67    $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68             X"$0" : 'X\(//\)$' \| \
69             X"$0" : 'X\(/\)$' \| \
70             .     : '\(.\)' 2>/dev/null ||
71    echo X/"$0" |
72        sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73              /^X\/\(\/\/\)$/{ s//\1/; q; }
74              /^X\/\(\/\).*/{ s//\1/; q; }
75              s/.*/./; q'`
76    
77    
78    # PATH needs CR, and LINENO needs CR and PATH.
79    # Avoid depending upon Character Ranges.
80    as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81    as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82    as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83    as_cr_digits='0123456789'
84    as_cr_alnum=$as_cr_Letters$as_cr_digits
85    
86    # The user is always right.
87    if test "${PATH_SEPARATOR+set}" != set; then
88      echo "#! /bin/sh" >conf$$.sh
89      echo  "exit 0"   >>conf$$.sh
90      chmod +x conf$$.sh
91      if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92        PATH_SEPARATOR=';'
93      else
94        PATH_SEPARATOR=:
95      fi
96      rm -f conf$$.sh
97  fi  fi
98    
 # The HP-UX ksh and POSIX shell print the target directory to stdout  
 # if CDPATH is set.  
 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi  
   
 if test -z "$ECHO"; then  
 if test "X${echo_test_string+set}" != Xset; then  
 # find a string as large as possible, as long as the shell can cope with it  
   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do  
     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...  
     if (echo_test_string="`eval $cmd`") 2>/dev/null &&  
        echo_test_string="`eval $cmd`" &&  
        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null  
     then  
       break  
     fi  
   done  
 fi  
99    
100  if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&    as_lineno_1=$LINENO
101     echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&    as_lineno_2=$LINENO
102     test "X$echo_testing_string" = "X$echo_test_string"; then    as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103    :    test "x$as_lineno_1" != "x$as_lineno_2" &&
104  else    test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105    # The Solaris, AIX, and Digital Unix default echo programs unquote    # Find who we are.  Look in the path if we contain no path at all
106    # backslashes.  This makes it impossible to quote backslashes using    # relative or not.
107    #   echo "$something" | sed 's/\\/\\\\/g'    case $0 in
108    #      *[\\/]* ) as_myself=$0 ;;
109    # So, first we look for a working echo in the user's PATH.      *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110    for as_dir in $PATH
111    IFS="${IFS=   }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR  do
112    for dir in $PATH /usr/ucb; do    IFS=$as_save_IFS
113      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&    test -z "$as_dir" && as_dir=.
114         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&  done
        test "X$echo_testing_string" = "X$echo_test_string"; then  
       echo="$dir/echo"  
       break  
     fi  
   done  
   IFS="$save_ifs"  
116    
117    if test "X$echo" = Xecho; then         ;;
118      # We didn't find a better echo, so look for alternatives.    esac
119      if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&    # We did not find ourselves, most probably we were run as `sh COMMAND'
120         echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&    # in which case we are not to be found in the path.
121         test "X$echo_testing_string" = "X$echo_test_string"; then    if test "x$as_myself" = x; then
122        # This shell has a builtin print -r that does the trick.      as_myself=$0
123        echo='print -r'    fi
124      elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&    if test ! -f "$as_myself"; then
125           test "X$CONFIG_SHELL" != X/bin/ksh; then      { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126        # If we have ksh, try running configure again with it.     { (exit 1); exit 1; }; }
127        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}    fi
128        export ORIGINAL_CONFIG_SHELL    case $CONFIG_SHELL in
129        CONFIG_SHELL=/bin/ksh    '')
130        export CONFIG_SHELL      as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}  for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132      else  do
133        # Try using printf.    IFS=$as_save_IFS
134        echo='printf %s\n'    test -z "$as_dir" && as_dir=.
135        if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&    for as_base in sh bash ksh sh5; do
136           echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&           case $as_dir in
137           test "X$echo_testing_string" = "X$echo_test_string"; then           /*)
138          # Cool, printf works             if ("$as_dir/$as_base" -c '
139          :    as_lineno_1=$LINENO
140        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&    as_lineno_2=$LINENO
141             test "X$echo_testing_string" = 'X\t' &&    as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&    test "x$as_lineno_1" != "x$as_lineno_2" &&
143             test "X$echo_testing_string" = "X$echo_test_string"; then    test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL               $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145          export CONFIG_SHELL               $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146          SHELL="$CONFIG_SHELL"               CONFIG_SHELL=$as_dir/$as_base
147          export SHELL               export CONFIG_SHELL
148          echo="$CONFIG_SHELL $0 --fallback-echo"               exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&             fi;;
150             test "X$echo_testing_string" = 'X\t' &&           esac
151             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&         done
152             test "X$echo_testing_string" = "X$echo_test_string"; then  done
153          echo="$CONFIG_SHELL $0 --fallback-echo"  ;;
154        else    esac
155          # maybe with a smaller string...  
156          prev=:    # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157      # uniformly replaced by the line number.  The first 'sed' inserts a
158      # line-number line before each line; the second 'sed' does the real
159      # work.  The second script uses 'N' to pair each line-number line
160      # with the numbered line, and appends trailing '-' during
161      # substitution so that $LINENO is not a special case at line end.
162      # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163      # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164      sed '=' <$as_myself |
165        sed '
166          N
167          s,$,-,
168          : loop
169          s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170          t loop
171          s,-$,,
172          s,^['$as_cr_digits']*\n,,
173        ' >$as_me.lineno &&
174      chmod +x $as_me.lineno ||
175        { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176       { (exit 1); exit 1; }; }
177    
178      # Don't try to exec as it changes $[0], causing all sort of problems
179      # (the dirname of $[0] is not the place where we might find the
180      # original and so on.  Autoconf is especially sensible to this).
181      . ./$as_me.lineno
182      # Exit status is that of the last command.
183      exit
184    }
185    
         for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do  
           if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null  
           then  
             break  
     fi  
           prev="$cmd"  
         done  
186    
187          if test "$prev" != 'sed 50q "$0"'; then  case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188            echo_test_string=`eval $prev`    *c*,-n*) ECHO_N= ECHO_C='
189            export echo_test_string  ' ECHO_T='      ' ;;
190            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}    *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191      *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192    esac
193    
194    if expr a : '\(a\)' >/dev/null 2>&1; then
195      as_expr=expr
196    else
197      as_expr=false
198    fi
199    
200    rm -f conf$$ conf$$.exe conf$$.file
201    echo >conf$$.file
202    if ln -s conf$$.file conf$$ 2>/dev/null; then
203      # We could just check for DJGPP; but this test a) works b) is more generic
204      # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205      if test -f conf$$.exe; then
206        # Don't use ln at all; we don't have any links
207        as_ln_s='cp -p'
208    else    else
209            # Oops.  We lost completely, so just stick with echo.      as_ln_s='ln -s'
           echo=echo  
         fi  
       fi  
     fi  
210    fi    fi
211    elif ln conf$$.file conf$$ 2>/dev/null; then
212      as_ln_s=ln
213    else
214      as_ln_s='cp -p'
215  fi  fi
216  fi  rm -f conf$$ conf$$.exe conf$$.file
217    
218  # Copy echo and quote the copy suitably for passing to libtool from  if mkdir -p . 2>/dev/null; then
219  # the Makefile, instead of quoting the original, which is used later.    as_mkdir_p=:
220  ECHO=$echo  else
221  if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then    as_mkdir_p=false
    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"  
222  fi  fi
223    
224    as_executable_p="test -f"
225    
226    # Sed expression to map a string onto a valid CPP name.
227    as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
228    
229    # Sed expression to map a string onto a valid variable name.
230    as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
231    
232  ac_help="$ac_help  
233    --disable-libtool-lock  avoid locking (might break parallel builds)"  # IFS
234  ac_help="$ac_help  # We need space, tab and new line, in precisely that order.
235    --with-pic              try to use only PIC/non-PIC objects [default=use both]"  as_nl='
236  ac_help="$ac_help  '
237    --disable-nls           do not use Native Language Support"  IFS="   $as_nl"
238  ac_help="$ac_help  
239    --with-catgets          use catgets functions if available"  # CDPATH.
240  ac_help="$ac_help  $as_unset CDPATH
241  \  
242    --with-pthread-libs     path to pthread libraries"  
243  ac_help="$ac_help  # Name of the host.
244    --enable-compile-warnings=[no/minimum/yes]    Turn on compiler warnings."  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245  ac_help="$ac_help  # so uname gets run too.
246    --enable-iso-c          Try to warn if code is not ISO C "  ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
247  ac_help="$ac_help  
248    --enable-gnome20        compile for gnome 2.0 instead of gnome-1.4 (EXPERIMENTAL)"  exec 6>&1
249  ac_help="$ac_help  
250    --enable-eject          compile eject if you do not already have one"  #
251  ac_help="$ac_help  # Initializations.
252    --disable-plugins       do not compile any plugins"  #
253  ac_help="$ac_help  ac_default_prefix=/usr/local
254    --enable-htmltitle      enable plugin htmltitle"  ac_config_libobj_dir=.
255  ac_help="$ac_help  cross_compiling=no
256    --enable-mp3info        enable plugin mp3info"  subdirs=
257  ac_help="$ac_help  MFLAGS=
258    --enable-ogginfo        enable plugin ogginfo"  MAKEFLAGS=
259  ac_help="$ac_help  SHELL=${CONFIG_SHELL-/bin/sh}
260    --enable-modinfo        enable plugin modinfo"  
261  ac_help="$ac_help  # Maximum number of lines to put in a shell here document.
262    --enable-aviinfo        enable plugin aviinfo"  # This variable seems obsolete.  It should probably be removed, and
263  ac_help="$ac_help  # only ac_max_sed_lines should be used.
264    --enable-mpeginfo       enable plugin mpeginfo"  : ${ac_max_here_lines=38}
265  ac_help="$ac_help  
266    --enable-mpgtx          enable plugin mpgtx"  # Identity of this package.
267  ac_help="$ac_help  PACKAGE_NAME=
268    --enable-tcprobe        enable plugin tcprobe"  PACKAGE_TARNAME=
269  ac_help="$ac_help  PACKAGE_VERSION=
270    --enable-catalog2       enable loading catalogs saved with version 0.0.x"  PACKAGE_STRING=
271  ac_help="$ac_help  PACKAGE_BUGREPORT=
272    --enable-catalog3       enable loading catalogs saved with version prior to 0.10.1"  
273  ac_help="$ac_help  ac_unique_file="src/gtktalog/about.c"
274    --enable-fixcd          enable fixing the CD mountpoint bug. Should be done once for each catalog"  # Factoring default headers for most tests.
275  ac_help="$ac_help  ac_includes_default="\
276    --enable-pthreads       enable pthreads [default=yes]"  #include <stdio.h>
277  ac_help="$ac_help  #if HAVE_SYS_TYPES_H
278    --enable-debug          use GTKtalog in debugging mode. [default=no]"  # include <sys/types.h>
279    #endif
280    #if HAVE_SYS_STAT_H
281    # include <sys/stat.h>
282    #endif
283    #if STDC_HEADERS
284    # include <stdlib.h>
285    # include <stddef.h>
286    #else
287    # if HAVE_STDLIB_H
288    #  include <stdlib.h>
289    # endif
290    #endif
291    #if HAVE_STRING_H
292    # if !STDC_HEADERS && HAVE_MEMORY_H
293    #  include <memory.h>
294    # endif
295    # include <string.h>
296    #endif
297    #if HAVE_STRINGS_H
298    # include <strings.h>
299    #endif
300    #if HAVE_INTTYPES_H
301    # include <inttypes.h>
302    #else
303    # if HAVE_STDINT_H
304    #  include <stdint.h>
305    # endif
306    #endif
307    #if HAVE_UNISTD_H
308    # include <unistd.h>
309    #endif"
310    
311    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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE LN_S CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE LEX LEXLIB LEX_OUTPUT_ROOT YACC MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE USE_NLS LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB localedir PTHREADS_INSTALLED CPP EGREP EXTRA_GNOME_CFLAGS EXTRA_GNOME_LIBS MOUNT_PROG UMOUNT_PROG EJECT_PROG EJECT OPTION_EJECT PLAYMPEG_PROG MPGTX_PROG OGGINFO_PROG TCPROBE_PROG PLUGIN_HTMLTITLE SPEC_PLUGIN_HTMLTITLE PROG_PLUGIN_HTMLTITLE EXTENSION_HTMLTITLE PLUGIN_MP3INFO SPEC_PLUGIN_MP3INFO PROG_PLUGIN_MP3INFO EXTENSION_MP3INFO PLUGIN_OGGINFO SPEC_PLUGIN_OGGINFO PROG_PLUGIN_OGGINFO EXTENSION_OGGINFO PLUGIN_MODINFO SPEC_PLUGIN_MODINFO PROG_PLUGIN_MODINFO EXTENSION_MODINFO PLUGIN_AVIINFO SPEC_PLUGIN_AVIINFO PROG_PLUGIN_AVIINFO EXTENSION_AVIINFO PLUGIN_MPEGINFO PLUGIN_MPGTX SPEC_PLUGIN_MPEGINFO PROG_PLUGIN_MPEGINFO EXTENSION_MPEGINFO SPEC_PLUGIN_MPGTX PROG_PLUGIN_MPGTX EXTENSION_MPGTX PLUGIN_TCPROBE SPEC_PLUGIN_TCPROBE PROG_PLUGIN_TCPROBE EXTENSION_TCPROBE PROG_DPKG EXTENSION_DPKG PROG_RPM EXTENSION_RPM PROG_BZIP2 EXTENSION_BZIP2 PROG_UNZIP EXTENSION_UNZIP PROG_FILE PROG_FILE_ARGS USE_DEFAULT_PLUGIN_FILE HOST_OS GMLLIB LIBOBJS LTLIBOBJS'
312    ac_subst_files='EJECT_PROG'
313    
314  # Initialize some variables set by options.  # Initialize some variables set by options.
315    ac_init_help=
316    ac_init_version=false
317  # The variables have the same names as the options, with  # The variables have the same names as the options, with
318  # dashes changed to underlines.  # dashes changed to underlines.
319  build=NONE  cache_file=/dev/null
 cache_file=./config.cache  
320  exec_prefix=NONE  exec_prefix=NONE
 host=NONE  
321  no_create=  no_create=
 nonopt=NONE  
322  no_recursion=  no_recursion=
323  prefix=NONE  prefix=NONE
324  program_prefix=NONE  program_prefix=NONE
# Line 252  program_transform_name=s,x,x, Line 327  program_transform_name=s,x,x,
327  silent=  silent=
328  site=  site=
329  srcdir=  srcdir=
 target=NONE  
330  verbose=  verbose=
331  x_includes=NONE  x_includes=NONE
332  x_libraries=NONE  x_libraries=NONE
333    
334    # Installation directory options.
335    # These are left unexpanded so users can "make install exec_prefix=/foo"
336    # and all the variables that are supposed to be based on exec_prefix
337    # by default will actually change.
338    # Use braces instead of parens because sh, perl, etc. also accept them.
339  bindir='${exec_prefix}/bin'  bindir='${exec_prefix}/bin'
340  sbindir='${exec_prefix}/sbin'  sbindir='${exec_prefix}/sbin'
341  libexecdir='${exec_prefix}/libexec'  libexecdir='${exec_prefix}/libexec'
# Line 269  oldincludedir='/usr/include' Line 349  oldincludedir='/usr/include'
349  infodir='${prefix}/info'  infodir='${prefix}/info'
350  mandir='${prefix}/man'  mandir='${prefix}/man'
351    
 # Initialize some other variables.  
 subdirs=  
 MFLAGS= MAKEFLAGS=  
 SHELL=${CONFIG_SHELL-/bin/sh}  
 # Maximum number of lines to put in a shell here document.  
 ac_max_here_lines=12  
   
352  ac_prev=  ac_prev=
353  for ac_option  for ac_option
354  do  do
   
355    # If the previous option needs an argument, assign it.    # If the previous option needs an argument, assign it.
356    if test -n "$ac_prev"; then    if test -n "$ac_prev"; then
357      eval "$ac_prev=\$ac_option"      eval "$ac_prev=\$ac_option"
# Line 287  do Line 359  do
359      continue      continue
360    fi    fi
361    
362    case "$ac_option" in    ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;  
   *) ac_optarg= ;;  
   esac  
363    
364    # Accept the important Cygnus configure options, so we can diagnose typos.    # Accept the important Cygnus configure options, so we can diagnose typos.
365    
366    case "$ac_option" in    case $ac_option in
367    
368    -bindir | --bindir | --bindi | --bind | --bin | --bi)    -bindir | --bindir | --bindi | --bind | --bin | --bi)
369      ac_prev=bindir ;;      ac_prev=bindir ;;
370    -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)    -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
371      bindir="$ac_optarg" ;;      bindir=$ac_optarg ;;
372    
373    -build | --build | --buil | --bui | --bu)    -build | --build | --buil | --bui | --bu)
374      ac_prev=build ;;      ac_prev=build_alias ;;
375    -build=* | --build=* | --buil=* | --bui=* | --bu=*)    -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376      build="$ac_optarg" ;;      build_alias=$ac_optarg ;;
377    
378    -cache-file | --cache-file | --cache-fil | --cache-fi \    -cache-file | --cache-file | --cache-fil | --cache-fi \
379    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380      ac_prev=cache_file ;;      ac_prev=cache_file ;;
381    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383      cache_file="$ac_optarg" ;;      cache_file=$ac_optarg ;;
384    
385      --config-cache | -C)
386        cache_file=config.cache ;;
387    
388    -datadir | --datadir | --datadi | --datad | --data | --dat | --da)    -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
389      ac_prev=datadir ;;      ac_prev=datadir ;;
390    -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \    -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391    | --da=*)    | --da=*)
392      datadir="$ac_optarg" ;;      datadir=$ac_optarg ;;
393    
394    -disable-* | --disable-*)    -disable-* | --disable-*)
395      ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
397      if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then      expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398        { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399      fi     { (exit 1); exit 1; }; }
400      ac_feature=`echo $ac_feature| sed 's/-/_/g'`      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401      eval "enable_${ac_feature}=no" ;;      eval "enable_$ac_feature=no" ;;
402    
403    -enable-* | --enable-*)    -enable-* | --enable-*)
404      ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
406      if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then      expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407        { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408      fi     { (exit 1); exit 1; }; }
409      ac_feature=`echo $ac_feature| sed 's/-/_/g'`      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
410      case "$ac_option" in      case $ac_option in
411        *=*) ;;        *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
412        *) ac_optarg=yes ;;        *) ac_optarg=yes ;;
413      esac      esac
414      eval "enable_${ac_feature}='$ac_optarg'" ;;      eval "enable_$ac_feature='$ac_optarg'" ;;
415    
416    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
# Line 348  do Line 420  do
420    -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \    -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421    | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \    | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422    | --exec=* | --exe=* | --ex=*)    | --exec=* | --exe=* | --ex=*)
423      exec_prefix="$ac_optarg" ;;      exec_prefix=$ac_optarg ;;
424    
425    -gas | --gas | --ga | --g)    -gas | --gas | --ga | --g)
426      # Obsolete; use --with-gas.      # Obsolete; use --with-gas.
427      with_gas=yes ;;      with_gas=yes ;;
428    
429    -help | --help | --hel | --he)    -help | --help | --hel | --he | -h)
430      # Omit some internal or obsolete options to make the list less imposing.      ac_init_help=long ;;
431      # This message is too long to be a string in the A/UX 3.1 sh.    -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432      cat << EOF      ac_init_help=recursive ;;
433  Usage: configure [options] [host]    -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434  Options: [defaults in brackets after descriptions]      ac_init_help=short ;;
 Configuration:  
   --cache-file=FILE       cache test results in FILE  
   --help                  print this message  
   --no-create             do not create output files  
   --quiet, --silent       do not print \`checking...' messages  
   --version               print the version of autoconf that created configure  
 Directory and file names:  
   --prefix=PREFIX         install architecture-independent files in PREFIX  
                           [$ac_default_prefix]  
   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX  
                           [same as prefix]  
   --bindir=DIR            user executables in DIR [EPREFIX/bin]  
   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]  
   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]  
   --datadir=DIR           read-only architecture-independent data in DIR  
                           [PREFIX/share]  
   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]  
   --sharedstatedir=DIR    modifiable architecture-independent data in DIR  
                           [PREFIX/com]  
   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]  
   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]  
   --includedir=DIR        C header files in DIR [PREFIX/include]  
   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]  
   --infodir=DIR           info documentation in DIR [PREFIX/info]  
   --mandir=DIR            man documentation in DIR [PREFIX/man]  
   --srcdir=DIR            find the sources in DIR [configure dir or ..]  
   --program-prefix=PREFIX prepend PREFIX to installed program names  
   --program-suffix=SUFFIX append SUFFIX to installed program names  
   --program-transform-name=PROGRAM  
                           run sed PROGRAM on installed program names  
 EOF  
     cat << EOF  
 Host type:  
   --build=BUILD           configure for building on BUILD [BUILD=HOST]  
   --host=HOST             configure for HOST [guessed]  
   --target=TARGET         configure for TARGET [TARGET=HOST]  
 Features and packages:  
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)  
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]  
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]  
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)  
   --x-includes=DIR        X include files are in DIR  
   --x-libraries=DIR       X library files are in DIR  
 EOF  
     if test -n "$ac_help"; then  
       echo "--enable and --with options recognized:$ac_help"  
     fi  
     exit 0 ;;  
435    
436    -host | --host | --hos | --ho)    -host | --host | --hos | --ho)
437      ac_prev=host ;;      ac_prev=host_alias ;;
438    -host=* | --host=* | --hos=* | --ho=*)    -host=* | --host=* | --hos=* | --ho=*)
439      host="$ac_optarg" ;;      host_alias=$ac_optarg ;;
440    
441    -includedir | --includedir | --includedi | --included | --include \    -includedir | --includedir | --includedi | --included | --include \
442    | --includ | --inclu | --incl | --inc)    | --includ | --inclu | --incl | --inc)
443      ac_prev=includedir ;;      ac_prev=includedir ;;
444    -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \    -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445    | --includ=* | --inclu=* | --incl=* | --inc=*)    | --includ=* | --inclu=* | --incl=* | --inc=*)
446      includedir="$ac_optarg" ;;      includedir=$ac_optarg ;;
447    
448    -infodir | --infodir | --infodi | --infod | --info | --inf)    -infodir | --infodir | --infodi | --infod | --info | --inf)
449      ac_prev=infodir ;;      ac_prev=infodir ;;
450    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451      infodir="$ac_optarg" ;;      infodir=$ac_optarg ;;
452    
453    -libdir | --libdir | --libdi | --libd)    -libdir | --libdir | --libdi | --libd)
454      ac_prev=libdir ;;      ac_prev=libdir ;;
455    -libdir=* | --libdir=* | --libdi=* | --libd=*)    -libdir=* | --libdir=* | --libdi=* | --libd=*)
456      libdir="$ac_optarg" ;;      libdir=$ac_optarg ;;
457    
458    -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \    -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459    | --libexe | --libex | --libe)    | --libexe | --libex | --libe)
460      ac_prev=libexecdir ;;      ac_prev=libexecdir ;;
461    -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \    -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462    | --libexe=* | --libex=* | --libe=*)    | --libexe=* | --libex=* | --libe=*)
463      libexecdir="$ac_optarg" ;;      libexecdir=$ac_optarg ;;
464    
465    -localstatedir | --localstatedir | --localstatedi | --localstated \    -localstatedir | --localstatedir | --localstatedi | --localstated \
466    | --localstate | --localstat | --localsta | --localst \    | --localstate | --localstat | --localsta | --localst \
# Line 445  EOF Line 469  EOF
469    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470    | --localstate=* | --localstat=* | --localsta=* | --localst=* \    | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471    | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)    | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472      localstatedir="$ac_optarg" ;;      localstatedir=$ac_optarg ;;
473    
474    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
475      ac_prev=mandir ;;      ac_prev=mandir ;;
476    -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)    -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477      mandir="$ac_optarg" ;;      mandir=$ac_optarg ;;
478    
479    -nfp | --nfp | --nf)    -nfp | --nfp | --nf)
480      # Obsolete; use --without-fp.      # Obsolete; use --without-fp.
481      with_fp=no ;;      with_fp=no ;;
482    
483    -no-create | --no-create | --no-creat | --no-crea | --no-cre \    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484    | --no-cr | --no-c)    | --no-cr | --no-c | -n)
485      no_create=yes ;;      no_create=yes ;;
486    
487    -no-recursion | --no-recursion | --no-recursio | --no-recursi \    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
# Line 471  EOF Line 495  EOF
495    -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \    -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496    | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \    | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497    | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)    | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498      oldincludedir="$ac_optarg" ;;      oldincludedir=$ac_optarg ;;
499    
500    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
501      ac_prev=prefix ;;      ac_prev=prefix ;;
502    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
503      prefix="$ac_optarg" ;;      prefix=$ac_optarg ;;
504    
505    -program-prefix | --program-prefix | --program-prefi | --program-pref \    -program-prefix | --program-prefix | --program-prefi | --program-pref \
506    | --program-pre | --program-pr | --program-p)    | --program-pre | --program-pr | --program-p)
507      ac_prev=program_prefix ;;      ac_prev=program_prefix ;;
508    -program-prefix=* | --program-prefix=* | --program-prefi=* \    -program-prefix=* | --program-prefix=* | --program-prefi=* \
509    | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)    | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510      program_prefix="$ac_optarg" ;;      program_prefix=$ac_optarg ;;
511    
512    -program-suffix | --program-suffix | --program-suffi | --program-suff \    -program-suffix | --program-suffix | --program-suffi | --program-suff \
513    | --program-suf | --program-su | --program-s)    | --program-suf | --program-su | --program-s)
514      ac_prev=program_suffix ;;      ac_prev=program_suffix ;;
515    -program-suffix=* | --program-suffix=* | --program-suffi=* \    -program-suffix=* | --program-suffix=* | --program-suffi=* \
516    | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)    | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517      program_suffix="$ac_optarg" ;;      program_suffix=$ac_optarg ;;
518    
519    -program-transform-name | --program-transform-name \    -program-transform-name | --program-transform-name \
520    | --program-transform-nam | --program-transform-na \    | --program-transform-nam | --program-transform-na \
# Line 507  EOF Line 531  EOF
531    | --program-transfo=* | --program-transf=* \    | --program-transfo=* | --program-transf=* \
532    | --program-trans=* | --program-tran=* \    | --program-trans=* | --program-tran=* \
533    | --progr-tra=* | --program-tr=* | --program-t=*)    | --progr-tra=* | --program-tr=* | --program-t=*)
534      program_transform_name="$ac_optarg" ;;      program_transform_name=$ac_optarg ;;
535    
536    -q | -quiet | --quiet | --quie | --qui | --qu | --q \    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537    | -silent | --silent | --silen | --sile | --sil)    | -silent | --silent | --silen | --sile | --sil)
# Line 517  EOF Line 541  EOF
541      ac_prev=sbindir ;;      ac_prev=sbindir ;;
542    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
543    | --sbi=* | --sb=*)    | --sbi=* | --sb=*)
544      sbindir="$ac_optarg" ;;      sbindir=$ac_optarg ;;
545    
546    -sharedstatedir | --sharedstatedir | --sharedstatedi \    -sharedstatedir | --sharedstatedir | --sharedstatedi \
547    | --sharedstated | --sharedstate | --sharedstat | --sharedsta \    | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
# Line 528  EOF Line 552  EOF
552    | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \    | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553    | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \    | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
554    | --sha=* | --sh=*)    | --sha=* | --sh=*)
555      sharedstatedir="$ac_optarg" ;;      sharedstatedir=$ac_optarg ;;
556    
557    -site | --site | --sit)    -site | --site | --sit)
558      ac_prev=site ;;      ac_prev=site ;;
559    -site=* | --site=* | --sit=*)    -site=* | --site=* | --sit=*)
560      site="$ac_optarg" ;;      site=$ac_optarg ;;
561    
562    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563      ac_prev=srcdir ;;      ac_prev=srcdir ;;
564    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
565      srcdir="$ac_optarg" ;;      srcdir=$ac_optarg ;;
566    
567    -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \    -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568    | --syscon | --sysco | --sysc | --sys | --sy)    | --syscon | --sysco | --sysc | --sys | --sy)
569      ac_prev=sysconfdir ;;      ac_prev=sysconfdir ;;
570    -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \    -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571    | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)    | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572      sysconfdir="$ac_optarg" ;;      sysconfdir=$ac_optarg ;;
573    
574    -target | --target | --targe | --targ | --tar | --ta | --t)    -target | --target | --targe | --targ | --tar | --ta | --t)
575      ac_prev=target ;;      ac_prev=target_alias ;;
576    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577      target="$ac_optarg" ;;      target_alias=$ac_optarg ;;
578    
579    -v | -verbose | --verbose | --verbos | --verbo | --verb)    -v | -verbose | --verbose | --verbos | --verbo | --verb)
580      verbose=yes ;;      verbose=yes ;;
581    
582    -version | --version | --versio | --versi | --vers)    -version | --version | --versio | --versi | --vers | -V)
583      echo "configure generated by autoconf version 2.13"      ac_init_version=: ;;
     exit 0 ;;  
584    
585    -with-* | --with-*)    -with-* | --with-*)
586      ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
588      if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then      expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589        { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }        { echo "$as_me: error: invalid package name: $ac_package" >&2
590      fi     { (exit 1); exit 1; }; }
591      ac_package=`echo $ac_package| sed 's/-/_/g'`      ac_package=`echo $ac_package| sed 's/-/_/g'`
592      case "$ac_option" in      case $ac_option in
593        *=*) ;;        *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
594        *) ac_optarg=yes ;;        *) ac_optarg=yes ;;
595      esac      esac
596      eval "with_${ac_package}='$ac_optarg'" ;;      eval "with_$ac_package='$ac_optarg'" ;;
597    
598    -without-* | --without-*)    -without-* | --without-*)
599      ac_package=`echo $ac_option|sed -e 's/-*without-//'`      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
601      if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then      expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602        { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }        { echo "$as_me: error: invalid package name: $ac_package" >&2
603      fi     { (exit 1); exit 1; }; }
604      ac_package=`echo $ac_package| sed 's/-/_/g'`      ac_package=`echo $ac_package | sed 's/-/_/g'`
605      eval "with_${ac_package}=no" ;;      eval "with_$ac_package=no" ;;
606    
607    --x)    --x)
608      # Obsolete; use --with-x.      # Obsolete; use --with-x.
# Line 590  EOF Line 613  EOF
613      ac_prev=x_includes ;;      ac_prev=x_includes ;;
614    -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \    -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615    | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)    | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616      x_includes="$ac_optarg" ;;      x_includes=$ac_optarg ;;
617    
618    -x-libraries | --x-libraries | --x-librarie | --x-librari \    -x-libraries | --x-libraries | --x-librarie | --x-librari \
619    | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)    | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620      ac_prev=x_libraries ;;      ac_prev=x_libraries ;;
621    -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \    -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623      x_libraries="$ac_optarg" ;;      x_libraries=$ac_optarg ;;
624    
625    -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }    -*) { echo "$as_me: error: unrecognized option: $ac_option
626    Try \`$0 --help' for more information." >&2
627       { (exit 1); exit 1; }; }
628      ;;      ;;
629    
630      *=*)
631        ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632        # Reject names that are not valid shell variable names.
633        expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634          { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635       { (exit 1); exit 1; }; }
636        ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637        eval "$ac_envvar='$ac_optarg'"
638        export $ac_envvar ;;
639    
640    *)    *)
641      if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then      # FIXME: should be removed in autoconf 3.0.
642        echo "configure: warning: $ac_option: invalid host type" 1>&2      echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643      fi      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644      if test "x$nonopt" != xNONE; then        echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645        { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     fi  
     nonopt="$ac_option"  
646      ;;      ;;
647    
648    esac    esac
649  done  done
650    
651  if test -n "$ac_prev"; then  if test -n "$ac_prev"; then
652    { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653      { echo "$as_me: error: missing argument to $ac_option" >&2
654       { (exit 1); exit 1; }; }
655  fi  fi
656    
657  trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15  # Be sure to have absolute paths.
658    for ac_var in exec_prefix prefix
659  # File descriptor usage:  do
660  # 0 standard input    eval ac_val=$`echo $ac_var`
661  # 1 file creation    case $ac_val in
662  # 2 errors and warnings      [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663  # 3 some systems may open it to /dev/tty      *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664  # 4 used on the Kubota Titan     { (exit 1); exit 1; }; };;
665  # 6 checking for... messages and results    esac
666  # 5 compiler messages saved in config.log  done
 if test "$silent" = yes; then  
   exec 6>/dev/null  
 else  
   exec 6>&1  
 fi  
 exec 5>./config.log  
   
 echo "\  
 This file contains any messages produced by compilers while  
 running configure, to aid debugging if configure makes a mistake.  
 " 1>&5  
667    
668  # Strip out --no-create and --no-recursion so they do not pile up.  # Be sure to have absolute paths.
669  # Also quote any args containing shell metacharacters.  for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670  ac_configure_args=                localstatedir libdir includedir oldincludedir infodir mandir
 for ac_arg  
671  do  do
672    case "$ac_arg" in    eval ac_val=$`echo $ac_var`
673    -no-create | --no-create | --no-creat | --no-crea | --no-cre \    case $ac_val in
674    | --no-cr | --no-c) ;;      [\\/$]* | ?:[\\/]* ) ;;
675    -no-recursion | --no-recursion | --no-recursio | --no-recursi \      *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676    | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;     { (exit 1); exit 1; }; };;
   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)  
   ac_configure_args="$ac_configure_args '$ac_arg'" ;;  
   *) ac_configure_args="$ac_configure_args $ac_arg" ;;  
677    esac    esac
678  done  done
679    
680  # NLS nuisances.  # There might be people who depend on the old broken behavior: `$host'
681  # Only set these to C if already set.  These must not be set unconditionally  # used to hold the argument of --host etc.
682  # because not all systems understand e.g. LANG=C (notably SCO).  # FIXME: To remove some day.
683  # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!  build=$build_alias
684  # Non-C LC_CTYPE values break the ctype check.  host=$host_alias
685  if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi  target=$target_alias
686  if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi  
687  if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi  # FIXME: To remove some day.
688  if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi  if test "x$host_alias" != x; then
689      if test "x$build_alias" = x; then
690        cross_compiling=maybe
691        echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692        If a cross compiler is detected then cross compile mode will be used." >&2
693      elif test "x$build_alias" != "x$host_alias"; then
694        cross_compiling=yes
695      fi
696    fi
697    
698  # confdefs.h avoids OS command line length limits that DEFS can exceed.  ac_tool_prefix=
699  rm -rf conftest* confdefs.h  test -n "$host_alias" && ac_tool_prefix=$host_alias-
700  # AIX cpp loses on an empty file, so make sure it contains at least a newline.  
701  echo > confdefs.h  test "$silent" = yes && exec 6>/dev/null
702    
 # A filename unique to this package, relative to the directory that  
 # configure is in, which we can look for to find out if srcdir is correct.  
 ac_unique_file=src/gtktalog/about.c  
703    
704  # Find the source files, if location was not specified.  # Find the source files, if location was not specified.
705  if test -z "$srcdir"; then  if test -z "$srcdir"; then
706    ac_srcdir_defaulted=yes    ac_srcdir_defaulted=yes
707    # Try the directory containing this script, then its parent.    # Try the directory containing this script, then its parent.
708    ac_prog=$0    ac_confdir=`(dirname "$0") 2>/dev/null ||
709    ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710    test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.           X"$0" : 'X\(//\)[^/]' \| \
711             X"$0" : 'X\(//\)$' \| \
712             X"$0" : 'X\(/\)' \| \
713             .     : '\(.\)' 2>/dev/null ||
714    echo X"$0" |
715        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716              /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717              /^X\(\/\/\)$/{ s//\1/; q; }
718              /^X\(\/\).*/{ s//\1/; q; }
719              s/.*/./; q'`
720    srcdir=$ac_confdir    srcdir=$ac_confdir
721    if test ! -r $srcdir/$ac_unique_file; then    if test ! -r $srcdir/$ac_unique_file; then
722      srcdir=..      srcdir=..
# Line 692  else Line 726  else
726  fi  fi
727  if test ! -r $srcdir/$ac_unique_file; then  if test ! -r $srcdir/$ac_unique_file; then
728    if test "$ac_srcdir_defaulted" = yes; then    if test "$ac_srcdir_defaulted" = yes; then
729      { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }      { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730       { (exit 1); exit 1; }; }
731    else    else
732      { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }      { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733       { (exit 1); exit 1; }; }
734    fi    fi
735  fi  fi
736  srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`  (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737      { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738       { (exit 1); exit 1; }; }
739    srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740    ac_env_build_alias_set=${build_alias+set}
741    ac_env_build_alias_value=$build_alias
742    ac_cv_env_build_alias_set=${build_alias+set}
743    ac_cv_env_build_alias_value=$build_alias
744    ac_env_host_alias_set=${host_alias+set}
745    ac_env_host_alias_value=$host_alias
746    ac_cv_env_host_alias_set=${host_alias+set}
747    ac_cv_env_host_alias_value=$host_alias
748    ac_env_target_alias_set=${target_alias+set}
749    ac_env_target_alias_value=$target_alias
750    ac_cv_env_target_alias_set=${target_alias+set}
751    ac_cv_env_target_alias_value=$target_alias
752    ac_env_CC_set=${CC+set}
753    ac_env_CC_value=$CC
754    ac_cv_env_CC_set=${CC+set}
755    ac_cv_env_CC_value=$CC
756    ac_env_CFLAGS_set=${CFLAGS+set}
757    ac_env_CFLAGS_value=$CFLAGS
758    ac_cv_env_CFLAGS_set=${CFLAGS+set}
759    ac_cv_env_CFLAGS_value=$CFLAGS
760    ac_env_LDFLAGS_set=${LDFLAGS+set}
761    ac_env_LDFLAGS_value=$LDFLAGS
762    ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763    ac_cv_env_LDFLAGS_value=$LDFLAGS
764    ac_env_CPPFLAGS_set=${CPPFLAGS+set}
765    ac_env_CPPFLAGS_value=$CPPFLAGS
766    ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
767    ac_cv_env_CPPFLAGS_value=$CPPFLAGS
768    ac_env_CXX_set=${CXX+set}
769    ac_env_CXX_value=$CXX
770    ac_cv_env_CXX_set=${CXX+set}
771    ac_cv_env_CXX_value=$CXX
772    ac_env_CXXFLAGS_set=${CXXFLAGS+set}
773    ac_env_CXXFLAGS_value=$CXXFLAGS
774    ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
775    ac_cv_env_CXXFLAGS_value=$CXXFLAGS
776    ac_env_CPP_set=${CPP+set}
777    ac_env_CPP_value=$CPP
778    ac_cv_env_CPP_set=${CPP+set}
779    ac_cv_env_CPP_value=$CPP
780    
781    #
782    # Report the --help message.
783    #
784    if test "$ac_init_help" = "long"; then
785      # Omit some internal or obsolete options to make the list less imposing.
786      # This message is too long to be a string in the A/UX 3.1 sh.
787      cat <<_ACEOF
788    \`configure' configures this package to adapt to many kinds of systems.
789    
790    Usage: $0 [OPTION]... [VAR=VALUE]...
791    
792    To assign environment variables (e.g., CC, CFLAGS...), specify them as
793    VAR=VALUE.  See below for descriptions of some of the useful variables.
794    
795    Defaults for the options are specified in brackets.
796    
797    Configuration:
798      -h, --help              display this help and exit
799          --help=short        display options specific to this package
800          --help=recursive    display the short help of all the included packages
801      -V, --version           display version information and exit
802      -q, --quiet, --silent   do not print \`checking...' messages
803          --cache-file=FILE   cache test results in FILE [disabled]
804      -C, --config-cache      alias for \`--cache-file=config.cache'
805      -n, --no-create         do not create output files
806          --srcdir=DIR        find the sources in DIR [configure dir or \`..']
807    
808    _ACEOF
809    
810      cat <<_ACEOF
811    Installation directories:
812      --prefix=PREFIX         install architecture-independent files in PREFIX
813                              [$ac_default_prefix]
814      --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
815                              [PREFIX]
816    
817    By default, \`make install' will install all the files in
818    \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
819    an installation prefix other than \`$ac_default_prefix' using \`--prefix',
820    for instance \`--prefix=\$HOME'.
821    
822    For better control, use the options below.
823    
824    Fine tuning of the installation directories:
825      --bindir=DIR           user executables [EPREFIX/bin]
826      --sbindir=DIR          system admin executables [EPREFIX/sbin]
827      --libexecdir=DIR       program executables [EPREFIX/libexec]
828      --datadir=DIR          read-only architecture-independent data [PREFIX/share]
829      --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
830      --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
831      --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
832      --libdir=DIR           object code libraries [EPREFIX/lib]
833      --includedir=DIR       C header files [PREFIX/include]
834      --oldincludedir=DIR    C header files for non-gcc [/usr/include]
835      --infodir=DIR          info documentation [PREFIX/info]
836      --mandir=DIR           man documentation [PREFIX/man]
837    _ACEOF
838    
839      cat <<\_ACEOF
840    
841    Program names:
842      --program-prefix=PREFIX            prepend PREFIX to installed program names
843      --program-suffix=SUFFIX            append SUFFIX to installed program names
844      --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
845    
846    System types:
847      --build=BUILD     configure for building on BUILD [guessed]
848      --host=HOST       cross-compile to build programs to run on HOST [BUILD]
849      --target=TARGET   configure for building compilers for TARGET [HOST]
850    _ACEOF
851    fi
852    
853    if test -n "$ac_init_help"; then
854    
855      cat <<\_ACEOF
856    
857    Optional Features:
858      --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
859      --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
860      --disable-dependency-tracking Speeds up one-time builds
861      --enable-dependency-tracking  Do not reject slow dependency extractors
862      --disable-rpath         do not hardcode runtime library paths
863      --disable-nls           do not use Native Language Support
864      --enable-gnome20        compile for gnome 2.0 instead of gnome-1.4 (EXPERIMENTAL)
865      --enable-eject          compile eject if you do not already have one
866      --disable-plugins       do not compile any plugins
867      --enable-htmltitle      enable plugin htmltitle
868      --enable-mp3info        enable plugin mp3info
869      --enable-ogginfo        enable plugin ogginfo
870      --enable-modinfo        enable plugin modinfo
871      --enable-aviinfo        enable plugin aviinfo
872      --enable-mpeginfo       enable plugin mpeginfo
873      --enable-mpgtx          enable plugin mpgtx
874      --enable-tcprobe        enable plugin tcprobe
875      --enable-catalog2       enable loading catalogs saved with version 0.0.x
876      --enable-catalog3       enable loading catalogs saved with version prior to 0.10.1
877      --enable-fixcd          enable fixing the CD mountpoint bug. Should be done once for each catalog
878      --enable-pthreads       enable pthreads default=yes
879      --enable-debug          use GTKtalog in debugging mode. default=no
880    
881    Optional Packages:
882      --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
883      --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
884      --with-gnu-ld           assume the C compiler uses GNU ld default=no
885      --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
886      --without-libiconv-prefix     don't search for libiconv in includedir and libdir
887      --with-libintl-prefix=DIR  search for libintl in DIR/include and DIR/lib
888      --without-libintl-prefix     don't search for libintl in includedir and libdir
889    \
890      --with-pthread-libs     path to pthread libraries
891    
892    Some influential environment variables:
893      CC          C compiler command
894      CFLAGS      C compiler flags
895      LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
896                  nonstandard directory <lib dir>
897      CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
898                  headers in a nonstandard directory <include dir>
899      CXX         C++ compiler command
900      CXXFLAGS    C++ compiler flags
901      CPP         C preprocessor
902    
903    Use these variables to override the choices made by `configure' or to help
904    it to find libraries and programs with nonstandard names/locations.
905    
906    _ACEOF
907    fi
908    
909    if test "$ac_init_help" = "recursive"; then
910      # If there are subdirs, report their specific --help.
911      ac_popdir=`pwd`
912      for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
913        test -d $ac_dir || continue
914        ac_builddir=.
915    
916    if test "$ac_dir" != .; then
917      ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
918      # A "../" for each directory in $ac_dir_suffix.
919      ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
920    else
921      ac_dir_suffix= ac_top_builddir=
922    fi
923    
924    case $srcdir in
925      .)  # No --srcdir option.  We are building in place.
926        ac_srcdir=.
927        if test -z "$ac_top_builddir"; then
928           ac_top_srcdir=.
929        else
930           ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
931        fi ;;
932      [\\/]* | ?:[\\/]* )  # Absolute path.
933        ac_srcdir=$srcdir$ac_dir_suffix;
934        ac_top_srcdir=$srcdir ;;
935      *) # Relative path.
936        ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
937        ac_top_srcdir=$ac_top_builddir$srcdir ;;
938    esac
939    # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
940    # absolute.
941    ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
942    ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
943    ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
944    ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
945    
946        cd $ac_dir
947        # Check for guested configure; otherwise get Cygnus style configure.
948        if test -f $ac_srcdir/configure.gnu; then
949          echo
950          $SHELL $ac_srcdir/configure.gnu  --help=recursive
951        elif test -f $ac_srcdir/configure; then
952          echo
953          $SHELL $ac_srcdir/configure  --help=recursive
954        elif test -f $ac_srcdir/configure.ac ||
955               test -f $ac_srcdir/configure.in; then
956          echo
957          $ac_configure --help
958        else
959          echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
960        fi
961        cd $ac_popdir
962      done
963    fi
964    
965    test -n "$ac_init_help" && exit 0
966    if $ac_init_version; then
967      cat <<\_ACEOF
968    
969    Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
970    Free Software Foundation, Inc.
971    This configure script is free software; the Free Software Foundation
972    gives unlimited permission to copy, distribute and modify it.
973    _ACEOF
974      exit 0
975    fi
976    exec 5>config.log
977    cat >&5 <<_ACEOF
978    This file contains any messages produced by compilers while
979    running configure, to aid debugging if configure makes a mistake.
980    
981    It was created by $as_me, which was
982    generated by GNU Autoconf 2.57.  Invocation command line was
983    
984      $ $0 $@
985    
986    _ACEOF
987    {
988    cat <<_ASUNAME
989    ## --------- ##
990    ## Platform. ##
991    ## --------- ##
992    
993    hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
994    uname -m = `(uname -m) 2>/dev/null || echo unknown`
995    uname -r = `(uname -r) 2>/dev/null || echo unknown`
996    uname -s = `(uname -s) 2>/dev/null || echo unknown`
997    uname -v = `(uname -v) 2>/dev/null || echo unknown`
998    
999    /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1000    /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1001    
1002    /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1003    /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1004    /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1005    hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1006    /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1007    /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1008    /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1009    
1010    _ASUNAME
1011    
1012    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1013    for as_dir in $PATH
1014    do
1015      IFS=$as_save_IFS
1016      test -z "$as_dir" && as_dir=.
1017      echo "PATH: $as_dir"
1018    done
1019    
1020    } >&5
1021    
1022    cat >&5 <<_ACEOF
1023    
1024    
1025    ## ----------- ##
1026    ## Core tests. ##
1027    ## ----------- ##
1028    
1029    _ACEOF
1030    
1031    
1032    # Keep a trace of the command line.
1033    # Strip out --no-create and --no-recursion so they do not pile up.
1034    # Strip out --silent because we don't want to record it for future runs.
1035    # Also quote any args containing shell meta-characters.
1036    # Make two passes to allow for proper duplicate-argument suppression.
1037    ac_configure_args=
1038    ac_configure_args0=
1039    ac_configure_args1=
1040    ac_sep=
1041    ac_must_keep_next=false
1042    for ac_pass in 1 2
1043    do
1044      for ac_arg
1045      do
1046        case $ac_arg in
1047        -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1048        -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1049        | -silent | --silent | --silen | --sile | --sil)
1050          continue ;;
1051        *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1052          ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1053        esac
1054        case $ac_pass in
1055        1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1056        2)
1057          ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1058          if test $ac_must_keep_next = true; then
1059            ac_must_keep_next=false # Got value, back to normal.
1060          else
1061            case $ac_arg in
1062              *=* | --config-cache | -C | -disable-* | --disable-* \
1063              | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1064              | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1065              | -with-* | --with-* | -without-* | --without-* | --x)
1066                case "$ac_configure_args0 " in
1067                  "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1068                esac
1069                ;;
1070              -* ) ac_must_keep_next=true ;;
1071            esac
1072          fi
1073          ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1074          # Get rid of the leading space.
1075          ac_sep=" "
1076          ;;
1077        esac
1078      done
1079    done
1080    $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1081    $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1082    
1083    # When interrupted or exit'd, cleanup temporary files, and complete
1084    # config.log.  We remove comments because anyway the quotes in there
1085    # would cause problems or look ugly.
1086    # WARNING: Be sure not to use single quotes in there, as some shells,
1087    # such as our DU 5.0 friend, will then `close' the trap.
1088    trap 'exit_status=$?
1089      # Save into config.log some information that might help in debugging.
1090      {
1091        echo
1092    
1093        cat <<\_ASBOX
1094    ## ---------------- ##
1095    ## Cache variables. ##
1096    ## ---------------- ##
1097    _ASBOX
1098        echo
1099        # The following way of writing the cache mishandles newlines in values,
1100    {
1101      (set) 2>&1 |
1102        case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1103        *ac_space=\ *)
1104          sed -n \
1105            "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1106              s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1107          ;;
1108        *)
1109          sed -n \
1110            "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1111          ;;
1112        esac;
1113    }
1114        echo
1115    
1116        cat <<\_ASBOX
1117    ## ----------------- ##
1118    ## Output variables. ##
1119    ## ----------------- ##
1120    _ASBOX
1121        echo
1122        for ac_var in $ac_subst_vars
1123        do
1124          eval ac_val=$`echo $ac_var`
1125          echo "$ac_var='"'"'$ac_val'"'"'"
1126        done | sort
1127        echo
1128    
1129        if test -n "$ac_subst_files"; then
1130          cat <<\_ASBOX
1131    ## ------------- ##
1132    ## Output files. ##
1133    ## ------------- ##
1134    _ASBOX
1135          echo
1136          for ac_var in $ac_subst_files
1137          do
1138            eval ac_val=$`echo $ac_var`
1139            echo "$ac_var='"'"'$ac_val'"'"'"
1140          done | sort
1141          echo
1142        fi
1143    
1144        if test -s confdefs.h; then
1145          cat <<\_ASBOX
1146    ## ----------- ##
1147    ## confdefs.h. ##
1148    ## ----------- ##
1149    _ASBOX
1150          echo
1151          sed "/^$/d" confdefs.h | sort
1152          echo
1153        fi
1154        test "$ac_signal" != 0 &&
1155          echo "$as_me: caught signal $ac_signal"
1156        echo "$as_me: exit $exit_status"
1157      } >&5
1158      rm -f core core.* *.core &&
1159      rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1160        exit $exit_status
1161         ' 0
1162    for ac_signal in 1 2 13 15; do
1163      trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1164    done
1165    ac_signal=0
1166    
1167    # confdefs.h avoids OS command line length limits that DEFS can exceed.
1168    rm -rf conftest* confdefs.h
1169    # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1170    echo >confdefs.h
1171    
1172    # Predefined preprocessor variables.
1173    
1174    cat >>confdefs.h <<_ACEOF
1175    #define PACKAGE_NAME "$PACKAGE_NAME"
1176    _ACEOF
1177    
1178    
1179    cat >>confdefs.h <<_ACEOF
1180    #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1181    _ACEOF
1182    
1183    
1184    cat >>confdefs.h <<_ACEOF
1185    #define PACKAGE_VERSION "$PACKAGE_VERSION"
1186    _ACEOF
1187    
1188    
1189    cat >>confdefs.h <<_ACEOF
1190    #define PACKAGE_STRING "$PACKAGE_STRING"
1191    _ACEOF
1192    
1193    
1194    cat >>confdefs.h <<_ACEOF
1195    #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1196    _ACEOF
1197    
1198    
1199    # Let the site file select an alternate cache file if it wants to.
1200  # Prefer explicitly selected file to automatically selected ones.  # Prefer explicitly selected file to automatically selected ones.
1201  if test -z "$CONFIG_SITE"; then  if test -z "$CONFIG_SITE"; then
1202    if test "x$prefix" != xNONE; then    if test "x$prefix" != xNONE; then
# Line 709  if test -z "$CONFIG_SITE"; then Line 1207  if test -z "$CONFIG_SITE"; then
1207  fi  fi
1208  for ac_site_file in $CONFIG_SITE; do  for ac_site_file in $CONFIG_SITE; do
1209    if test -r "$ac_site_file"; then    if test -r "$ac_site_file"; then
1210      echo "loading site script $ac_site_file"      { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1211    echo "$as_me: loading site script $ac_site_file" >&6;}
1212        sed 's/^/| /' "$ac_site_file" >&5
1213      . "$ac_site_file"      . "$ac_site_file"
1214    fi    fi
1215  done  done
1216    
1217  if test -r "$cache_file"; then  if test -r "$cache_file"; then
1218    echo "loading cache $cache_file"    # Some versions of bash will fail to source /dev/null (special
1219    . $cache_file    # files actually), so we avoid doing that.
1220      if test -f "$cache_file"; then
1221        { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1222    echo "$as_me: loading cache $cache_file" >&6;}
1223        case $cache_file in
1224          [\\/]* | ?:[\\/]* ) . $cache_file;;
1225          *)                      . ./$cache_file;;
1226        esac
1227      fi
1228  else  else
1229    echo "creating cache $cache_file"    { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1230    > $cache_file  echo "$as_me: creating cache $cache_file" >&6;}
1231      >$cache_file
1232    fi
1233    
1234    # Check that the precious variables saved in the cache have kept the same
1235    # value.
1236    ac_cache_corrupted=false
1237    for ac_var in `(set) 2>&1 |
1238                   sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1239      eval ac_old_set=\$ac_cv_env_${ac_var}_set
1240      eval ac_new_set=\$ac_env_${ac_var}_set
1241      eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1242      eval ac_new_val="\$ac_env_${ac_var}_value"
1243      case $ac_old_set,$ac_new_set in
1244        set,)
1245          { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1246    echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1247          ac_cache_corrupted=: ;;
1248        ,set)
1249          { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1250    echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1251          ac_cache_corrupted=: ;;
1252        ,);;
1253        *)
1254          if test "x$ac_old_val" != "x$ac_new_val"; then
1255            { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1256    echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1257            { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1258    echo "$as_me:   former value:  $ac_old_val" >&2;}
1259            { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1260    echo "$as_me:   current value: $ac_new_val" >&2;}
1261            ac_cache_corrupted=:
1262          fi;;
1263      esac
1264      # Pass precious variables to config.status.
1265      if test "$ac_new_set" = set; then
1266        case $ac_new_val in
1267        *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1268          ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1269        *) ac_arg=$ac_var=$ac_new_val ;;
1270        esac
1271        case " $ac_configure_args " in
1272          *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1273          *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1274        esac
1275      fi
1276    done
1277    if $ac_cache_corrupted; then
1278      { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1279    echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1280      { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1281    echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1282       { (exit 1); exit 1; }; }
1283  fi  fi
1284    
1285  ac_ext=c  ac_ext=c
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  
1286  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
1287  ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1288  ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1289  cross_compiling=$ac_cv_prog_cc_cross  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1290    
1291  ac_exeext=  
1292  ac_objext=o  
1293  if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then  
1294    # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.  
1295    if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then  
1296      ac_n= ac_c='  
1297  ' ac_t='        '  
1298    else  
1299      ac_n=-n ac_c= ac_t=  
1300    fi  
1301  else  
1302    ac_n= ac_c='\c' ac_t=  
1303  fi  
1304    
1305    
1306    
1307    
1308    
1309  ac_aux_dir=  ac_aux_dir=
# Line 754  for ac_dir in $srcdir $srcdir/.. $srcdir Line 1316  for ac_dir in $srcdir $srcdir/.. $srcdir
1316      ac_aux_dir=$ac_dir      ac_aux_dir=$ac_dir
1317      ac_install_sh="$ac_aux_dir/install.sh -c"      ac_install_sh="$ac_aux_dir/install.sh -c"
1318      break      break
1319      elif test -f $ac_dir/shtool; then
1320        ac_aux_dir=$ac_dir
1321        ac_install_sh="$ac_aux_dir/shtool install -c"
1322        break
1323    fi    fi
1324  done  done
1325  if test -z "$ac_aux_dir"; then  if test -z "$ac_aux_dir"; then
1326    { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }    { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1327  fi  echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1328  ac_config_guess=$ac_aux_dir/config.guess     { (exit 1); exit 1; }; }
1329  ac_config_sub=$ac_aux_dir/config.sub  fi
1330  ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.  ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1331    ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1332    ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1333    
1334    # Make sure we can run config.sub.
1335    $ac_config_sub sun4 >/dev/null 2>&1 ||
1336      { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1337    echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1338       { (exit 1); exit 1; }; }
1339    
1340    echo "$as_me:$LINENO: checking build system type" >&5
1341    echo $ECHO_N "checking build system type... $ECHO_C" >&6
1342    if test "${ac_cv_build+set}" = set; then
1343      echo $ECHO_N "(cached) $ECHO_C" >&6
1344    else
1345      ac_cv_build_alias=$build_alias
1346    test -z "$ac_cv_build_alias" &&
1347      ac_cv_build_alias=`$ac_config_guess`
1348    test -z "$ac_cv_build_alias" &&
1349      { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1350    echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1351       { (exit 1); exit 1; }; }
1352    ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1353      { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1354    echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1355       { (exit 1); exit 1; }; }
1356    
1357    fi
1358    echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1359    echo "${ECHO_T}$ac_cv_build" >&6
1360    build=$ac_cv_build
1361    build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1362    build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1363    build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1364    
1365    
1366    echo "$as_me:$LINENO: checking host system type" >&5
1367    echo $ECHO_N "checking host system type... $ECHO_C" >&6
1368    if test "${ac_cv_host+set}" = set; then
1369      echo $ECHO_N "(cached) $ECHO_C" >&6
1370    else
1371      ac_cv_host_alias=$host_alias
1372    test -z "$ac_cv_host_alias" &&
1373      ac_cv_host_alias=$ac_cv_build_alias
1374    ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1375      { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1376    echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1377       { (exit 1); exit 1; }; }
1378    
1379    fi
1380    echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1381    echo "${ECHO_T}$ac_cv_host" >&6
1382    host=$ac_cv_host
1383    host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1384    host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1385    host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1386    
1387    
1388    echo "$as_me:$LINENO: checking target system type" >&5
1389    echo $ECHO_N "checking target system type... $ECHO_C" >&6
1390    if test "${ac_cv_target+set}" = set; then
1391      echo $ECHO_N "(cached) $ECHO_C" >&6
1392    else
1393      ac_cv_target_alias=$target_alias
1394    test "x$ac_cv_target_alias" = "x" &&
1395      ac_cv_target_alias=$ac_cv_host_alias
1396    ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1397      { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1398    echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1399       { (exit 1); exit 1; }; }
1400    
1401    fi
1402    echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1403    echo "${ECHO_T}$ac_cv_target" >&6
1404    target=$ac_cv_target
1405    target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1406    target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1407    target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1408    
 # Do some error checking and defaulting for the host and target type.  
 # The inputs are:  
 #    configure --host=HOST --target=TARGET --build=BUILD NONOPT  
 #  
 # The rules are:  
 # 1. You are not allowed to specify --host, --target, and nonopt at the  
 #    same time.  
 # 2. Host defaults to nonopt.  
 # 3. If nonopt is not specified, then host defaults to the current host,  
 #    as determined by config.guess.  
 # 4. Target and build default to nonopt.  
 # 5. If nonopt is not specified, then target and build default to host.  
1409    
1410  # The aliases save the names the user supplied, while $host etc.  # The aliases save the names the user supplied, while $host etc.
1411  # will get canonicalized.  # will get canonicalized.
1412  case $host---$target---$nonopt in  test -n "$target_alias" &&
 NONE---*---* | *---NONE---* | *---*---NONE) ;;  
 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;  
 esac  
   
   
 # Make sure we can run config.sub.  
 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :  
 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }  
 fi  
   
 echo $ac_n "checking host system type""... $ac_c" 1>&6  
 echo "configure:795: checking host system type" >&5  
   
 host_alias=$host  
 case "$host_alias" in  
 NONE)  
   case $nonopt in  
   NONE)  
     if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :  
     else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }  
     fi ;;  
   *) host_alias=$nonopt ;;  
   esac ;;  
 esac  
   
 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`  
 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  
 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  
 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  
 echo "$ac_t""$host" 1>&6  
   
 echo $ac_n "checking target system type""... $ac_c" 1>&6  
 echo "configure:816: checking target system type" >&5  
   
 target_alias=$target  
 case "$target_alias" in  
 NONE)  
   case $nonopt in  
   NONE) target_alias=$host_alias ;;  
   *) target_alias=$nonopt ;;  
   esac ;;  
 esac  
   
 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`  
 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  
 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  
 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  
 echo "$ac_t""$target" 1>&6  
   
 echo $ac_n "checking build system type""... $ac_c" 1>&6  
 echo "configure:834: checking build system type" >&5  
   
 build_alias=$build  
 case "$build_alias" in  
 NONE)  
   case $nonopt in  
   NONE) build_alias=$host_alias ;;  
   *) build_alias=$nonopt ;;  
   esac ;;  
 esac  
   
 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`  
 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  
 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  
 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  
 echo "$ac_t""$build" 1>&6  
   
 test "$host_alias" != "$target_alias" &&  
1413    test "$program_prefix$program_suffix$program_transform_name" = \    test "$program_prefix$program_suffix$program_transform_name" = \
1414      NONENONEs,x,x, &&      NONENONEs,x,x, &&
1415    program_prefix=${target_alias}-    program_prefix=${target_alias}-
1416              ac_config_headers="$ac_config_headers config.h"
1417    
1418    am__api_version="1.7"
   
   
1419  # Find a good install program.  We prefer a C program (faster),  # Find a good install program.  We prefer a C program (faster),
1420  # so one script is as good as another.  But avoid the broken or  # so one script is as good as another.  But avoid the broken or
1421  # incompatible versions:  # incompatible versions:
# Line 862  test "$host_alias" != "$target_alias" && Line 1423  test "$host_alias" != "$target_alias" &&
1423  # SunOS /usr/etc/install  # SunOS /usr/etc/install
1424  # IRIX /sbin/install  # IRIX /sbin/install
1425  # AIX /bin/install  # AIX /bin/install
1426    # AmigaOS /C/install, which installs bootblocks on floppy discs
1427  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1428  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1429  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1430  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
1431  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1432  echo "configure:871: checking for a BSD compatible install" >&5  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1433  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
1434  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then  if test "${ac_cv_path_install+set}" = set; then
1435    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1436  else  else
1437      IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1438    for ac_dir in $PATH; do  for as_dir in $PATH
1439      # Account for people who put trailing slashes in PATH elements.  do
1440      case "$ac_dir/" in    IFS=$as_save_IFS
1441      /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;    test -z "$as_dir" && as_dir=.
1442      *)    # Account for people who put trailing slashes in PATH elements.
1443        # OSF1 and SCO ODT 3.0 have their own names for install.  case $as_dir/ in
1444        # Don't use installbsd from OSF since it installs stuff as root    ./ | .// | /cC/* | \
1445        # by default.    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1446        for ac_prog in ginstall scoinst install; do    /usr/ucb/* ) ;;
1447          if test -f $ac_dir/$ac_prog; then    *)
1448            if test $ac_prog = install &&      # OSF1 and SCO ODT 3.0 have their own names for install.
1449              grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then      # Don't use installbsd from OSF since it installs stuff as root
1450              # AIX install.  It has an incompatible calling convention.      # by default.
1451              :      for ac_prog in ginstall scoinst install; do
1452            else        for ac_exec_ext in '' $ac_executable_extensions; do
1453              ac_cv_path_install="$ac_dir/$ac_prog -c"          if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1454              break 2            if test $ac_prog = install &&
1455            fi              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1456          fi              # AIX install.  It has an incompatible calling convention.
1457                :
1458              elif test $ac_prog = install &&
1459                grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1460                # program-specific install script used by HP pwplus--don't use.
1461                :
1462              else
1463                ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1464                break 3
1465              fi
1466            fi
1467        done        done
1468        ;;      done
1469      esac      ;;
1470    done  esac
1471    IFS="$ac_save_IFS"  done
1472    
1473    
1474  fi  fi
1475    if test "${ac_cv_path_install+set}" = set; then    if test "${ac_cv_path_install+set}" = set; then
1476      INSTALL="$ac_cv_path_install"      INSTALL=$ac_cv_path_install
1477    else    else
1478      # As a last resort, use the slow shell script.  We don't cache a      # As a last resort, use the slow shell script.  We don't cache a
1479      # path for INSTALL within a source directory, because that will      # path for INSTALL within a source directory, because that will
1480      # break other packages using the cache if that directory is      # break other packages using the cache if that directory is
1481      # removed, or if the path is relative.      # removed, or if the path is relative.
1482      INSTALL="$ac_install_sh"      INSTALL=$ac_install_sh
1483    fi    fi
1484  fi  fi
1485  echo "$ac_t""$INSTALL" 1>&6  echo "$as_me:$LINENO: result: $INSTALL" >&5
1486    echo "${ECHO_T}$INSTALL" >&6
1487    
1488  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1489  # It thinks the first close brace ends the variable substitution.  # It thinks the first close brace ends the variable substitution.
1490  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1491    
1492  test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'  test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1493    
1494  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1495    
1496  echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1497  echo "configure:924: checking whether build environment is sane" >&5  echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1498  # Just in case  # Just in case
1499  sleep 1  sleep 1
1500  echo timestamp > conftestfile  echo timestamp > conftest.file
1501  # Do `set' in a subshell so we don't clobber the current shell's  # Do `set' in a subshell so we don't clobber the current shell's
1502  # arguments.  Must try -L first in case configure is actually a  # arguments.  Must try -L first in case configure is actually a
1503  # symlink; some systems play weird games with the mod time of symlinks  # symlink; some systems play weird games with the mod time of symlinks
1504  # (eg FreeBSD returns the mod time of the symlink's containing  # (eg FreeBSD returns the mod time of the symlink's containing
1505  # directory).  # directory).
1506  if (  if (
1507     set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`     set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1508     if test "$*" = "X"; then     if test "$*" = "X"; then
1509        # -L didn't work.        # -L didn't work.
1510        set X `ls -t $srcdir/configure conftestfile`        set X `ls -t $srcdir/configure conftest.file`
1511     fi     fi
1512     if test "$*" != "X $srcdir/configure conftestfile" \     rm -f conftest.file
1513        && test "$*" != "X conftestfile $srcdir/configure"; then     if test "$*" != "X $srcdir/configure conftest.file" \
1514          && test "$*" != "X conftest.file $srcdir/configure"; then
1515    
1516        # If neither matched, then we have a broken ls.  This can happen        # If neither matched, then we have a broken ls.  This can happen
1517        # if, for instance, CONFIG_SHELL is bash and it inherits a        # if, for instance, CONFIG_SHELL is bash and it inherits a
1518        # broken ls alias from the environment.  This has actually        # broken ls alias from the environment.  This has actually
1519        # happened.  Such a system could not be considered "sane".        # happened.  Such a system could not be considered "sane".
1520        { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken        { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1521  alias in your environment" 1>&2; exit 1; }  alias in your environment" >&5
1522    echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1523    alias in your environment" >&2;}
1524       { (exit 1); exit 1; }; }
1525     fi     fi
1526    
1527     test "$2" = conftestfile     test "$2" = conftest.file
1528     )     )
1529  then  then
1530     # Ok.     # Ok.
1531     :     :
1532  else  else
1533     { echo "configure: error: newly created file is older than distributed files!     { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1534  Check your system clock" 1>&2; exit 1; }  Check your system clock" >&5
1535  fi  echo "$as_me: error: newly created file is older than distributed files!
1536  rm -f conftest*  Check your system clock" >&2;}
1537  echo "$ac_t""yes" 1>&6     { (exit 1); exit 1; }; }
 if test "$program_transform_name" = s,x,x,; then  
   program_transform_name=  
 else  
   # Double any \ or $.  echo might interpret backslashes.  
   cat <<\EOF_SED > conftestsed  
 s,\\,\\\\,g; s,\$,$$,g  
 EOF_SED  
   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"  
   rm -f conftestsed  
1538  fi  fi
1539    echo "$as_me:$LINENO: result: yes" >&5
1540    echo "${ECHO_T}yes" >&6
1541  test "$program_prefix" != NONE &&  test "$program_prefix" != NONE &&
1542    program_transform_name="s,^,${program_prefix},; $program_transform_name"    program_transform_name="s,^,$program_prefix,;$program_transform_name"
1543  # Use a double $ so make ignores it.  # Use a double $ so make ignores it.
1544  test "$program_suffix" != NONE &&  test "$program_suffix" != NONE &&
1545    program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"    program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1546    # Double any \ or $.  echo might interpret backslashes.
1547    # By default was `s,x,x', remove it if useless.
1548    cat <<\_ACEOF >conftest.sed
1549    s/[\\$]/&&/g;s/;s,x,x,$//
1550    _ACEOF
1551    program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1552    rm conftest.sed
1553    
1554    
1555    # expand $ac_aux_dir to an absolute path
1556    am_aux_dir=`cd $ac_aux_dir && pwd`
1557    
1558    test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1559    # Use eval to expand $SHELL
1560    if eval "$MISSING --run true"; then
1561      am_missing_run="$MISSING --run "
1562    else
1563      am_missing_run=
1564      { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1565    echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1566    fi
1567    
1568  # sed with no file args requires a program.  for ac_prog in gawk mawk nawk awk
1569  test "$program_transform_name" = "" && program_transform_name="s,x,x,"  do
1570      # Extract the first word of "$ac_prog", so it can be a program name with args.
1571    set dummy $ac_prog; ac_word=$2
1572    echo "$as_me:$LINENO: checking for $ac_word" >&5
1573    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1574    if test "${ac_cv_prog_AWK+set}" = set; then
1575      echo $ECHO_N "(cached) $ECHO_C" >&6
1576    else
1577      if test -n "$AWK"; then
1578      ac_cv_prog_AWK="$AWK" # Let the user override the test.
1579    else
1580    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1581    for as_dir in $PATH
1582    do
1583      IFS=$as_save_IFS
1584      test -z "$as_dir" && as_dir=.
1585      for ac_exec_ext in '' $ac_executable_extensions; do
1586      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1587        ac_cv_prog_AWK="$ac_prog"
1588        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1589        break 2
1590      fi
1591    done
1592    done
1593    
1594    fi
1595    fi
1596    AWK=$ac_cv_prog_AWK
1597    if test -n "$AWK"; then
1598      echo "$as_me:$LINENO: result: $AWK" >&5
1599    echo "${ECHO_T}$AWK" >&6
1600    else
1601      echo "$as_me:$LINENO: result: no" >&5
1602    echo "${ECHO_T}no" >&6
1603    fi
1604    
1605  echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6    test -n "$AWK" && break
1606  echo "configure:981: checking whether ${MAKE-make} sets \${MAKE}" >&5  done
1607  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`  
1608  if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then  echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1609    echo $ac_n "(cached) $ac_c" 1>&6  echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1610    set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1611    if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1612      echo $ECHO_N "(cached) $ECHO_C" >&6
1613  else  else
1614    cat > conftestmake <<\EOF    cat >conftest.make <<\_ACEOF
1615  all:  all:
1616          @echo 'ac_maketemp="${MAKE}"'          @echo 'ac_maketemp="$(MAKE)"'
1617  EOF  _ACEOF
1618  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1619  eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`  eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1620  if test -n "$ac_maketemp"; then  if test -n "$ac_maketemp"; then
1621    eval ac_cv_prog_make_${ac_make}_set=yes    eval ac_cv_prog_make_${ac_make}_set=yes
1622  else  else
1623    eval ac_cv_prog_make_${ac_make}_set=no    eval ac_cv_prog_make_${ac_make}_set=no
1624  fi  fi
1625  rm -f conftestmake  rm -f conftest.make
1626  fi  fi
1627  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1628    echo "$ac_t""yes" 1>&6    echo "$as_me:$LINENO: result: yes" >&5
1629    echo "${ECHO_T}yes" >&6
1630    SET_MAKE=    SET_MAKE=
1631  else  else
1632    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
1633    echo "${ECHO_T}no" >&6
1634    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
1635  fi  fi
1636    
1637     # test to see if srcdir already configured
1638    if test "`cd $srcdir && pwd`" != "`pwd`" &&
1639       test -f $srcdir/config.status; then
1640      { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1641    echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1642       { (exit 1); exit 1; }; }
1643    fi
1644    
1645  PACKAGE=gtktalog  # test whether we have cygpath
1646    if test -z "$CYGPATH_W"; then
1647  VERSION=1.0.0    if (cygpath --version) >/dev/null 2>/dev/null; then
1648        CYGPATH_W='cygpath -w'
1649  if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then    else
1650    { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }      CYGPATH_W=echo
1651      fi
1652  fi  fi
 cat >> confdefs.h <<EOF  
 #define PACKAGE "$PACKAGE"  
 EOF  
1653    
 cat >> confdefs.h <<EOF  
 #define VERSION "$VERSION"  
 EOF  
1654    
1655    # Define the identity of the package.
1656     PACKAGE=gtktalog
1657     VERSION=1.0.1
1658    
1659    
1660  missing_dir=`cd $ac_aux_dir && pwd`  cat >>confdefs.h <<_ACEOF
1661  echo $ac_n "checking for working aclocal""... $ac_c" 1>&6  #define PACKAGE "$PACKAGE"
1662  echo "configure:1027: checking for working aclocal" >&5  _ACEOF
 # Run test in a subshell; some versions of sh will print an error if  
 # an executable is not found, even if stderr is redirected.  
 # Redirect stdin to placate older versions of autoconf.  Sigh.  
 if (aclocal --version) < /dev/null > /dev/null 2>&1; then  
    ACLOCAL=aclocal  
    echo "$ac_t""found" 1>&6  
 else  
    ACLOCAL="$missing_dir/missing aclocal"  
    echo "$ac_t""missing" 1>&6  
 fi  
1663    
 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6  
 echo "configure:1040: checking for working autoconf" >&5  
 # Run test in a subshell; some versions of sh will print an error if  
 # an executable is not found, even if stderr is redirected.  
 # Redirect stdin to placate older versions of autoconf.  Sigh.  
 if (autoconf --version) < /dev/null > /dev/null 2>&1; then  
    AUTOCONF=autoconf  
    echo "$ac_t""found" 1>&6  
 else  
    AUTOCONF="$missing_dir/missing autoconf"  
    echo "$ac_t""missing" 1>&6  
 fi  
1664    
1665  echo $ac_n "checking for working automake""... $ac_c" 1>&6  cat >>confdefs.h <<_ACEOF
1666  echo "configure:1053: checking for working automake" >&5  #define VERSION "$VERSION"
1667  # Run test in a subshell; some versions of sh will print an error if  _ACEOF
 # an executable is not found, even if stderr is redirected.  
 # Redirect stdin to placate older versions of autoconf.  Sigh.  
 if (automake --version) < /dev/null > /dev/null 2>&1; then  
    AUTOMAKE=automake  
    echo "$ac_t""found" 1>&6  
 else  
    AUTOMAKE="$missing_dir/missing automake"  
    echo "$ac_t""missing" 1>&6  
 fi  
   
 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6  
 echo "configure:1066: checking for working autoheader" >&5  
 # Run test in a subshell; some versions of sh will print an error if  
 # an executable is not found, even if stderr is redirected.  
 # Redirect stdin to placate older versions of autoconf.  Sigh.  
 if (autoheader --version) < /dev/null > /dev/null 2>&1; then  
    AUTOHEADER=autoheader  
    echo "$ac_t""found" 1>&6  
 else  
    AUTOHEADER="$missing_dir/missing autoheader"  
    echo "$ac_t""missing" 1>&6  
 fi  
1668    
1669  echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6  # Some tools Automake needs.
 echo "configure:1079: checking for working makeinfo" >&5  
 # Run test in a subshell; some versions of sh will print an error if  
 # an executable is not found, even if stderr is redirected.  
 # Redirect stdin to placate older versions of autoconf.  Sigh.  
 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then  
    MAKEINFO=makeinfo  
    echo "$ac_t""found" 1>&6  
 else  
    MAKEINFO="$missing_dir/missing makeinfo"  
    echo "$ac_t""missing" 1>&6  
 fi  
1670    
1671    ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1672    
 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6  
 echo "configure:1093: checking whether to enable maintainer-specific portions of Makefiles" >&5  
     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.  
 if test "${enable_maintainer_mode+set}" = set; then  
   enableval="$enable_maintainer_mode"  
   USE_MAINTAINER_MODE=$enableval  
 else  
   USE_MAINTAINER_MODE=no  
 fi  
1673    
1674    echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6  AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
     
1675    
 if test $USE_MAINTAINER_MODE = yes; then  
   MAINTAINER_MODE_TRUE=  
   MAINTAINER_MODE_FALSE='#'  
 else  
   MAINTAINER_MODE_TRUE='#'  
   MAINTAINER_MODE_FALSE=  
 fi  
   MAINT=$MAINTAINER_MODE_TRUE  
     
1676    
1677    AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1678    
           
1679    
1680  if false; then  AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   INSIDE_GNOME_COMMON_TRUE=  
   INSIDE_GNOME_COMMON_FALSE='#'  
 else  
   INSIDE_GNOME_COMMON_TRUE='#'  
   INSIDE_GNOME_COMMON_FALSE=  
 fi  
1681    
         test -n "$ACLOCAL_FLAGS" && ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"  
1682    
1683          for k in macros ; do ACLOCAL="$ACLOCAL -I $k" ; done  MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1684    
1685    
1686    AMTAR=${AMTAR-"${am_missing_run}tar"}
1687    
1688    install_sh=${install_sh-"$am_aux_dir/install-sh"}
1689    
1690            # Installed binaries are usually stripped using `strip' when the user
1691            # run `make install-strip'.  However `strip' might not be the right
1692            # tool to use in cross-compilation environments, therefore Automake
1693            # will honor the `STRIP' environment variable to overrule this program.
1694            if test "$cross_compiling" != no; then
1695              if test -n "$ac_tool_prefix"; then
1696              # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1697            set dummy ${ac_tool_prefix}strip; ac_word=$2
1698    echo "$as_me:$LINENO: checking for $ac_word" >&5
1699    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1700    if test "${ac_cv_prog_STRIP+set}" = set; then
1701      echo $ECHO_N "(cached) $ECHO_C" >&6
1702    else
1703      if test -n "$STRIP"; then
1704      ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1705    else
1706    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1707    for as_dir in $PATH
1708    do
1709      IFS=$as_save_IFS
1710      test -z "$as_dir" && as_dir=.
1711      for ac_exec_ext in '' $ac_executable_extensions; do
1712      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1713        ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1714        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1715        break 2
1716      fi
1717    done
1718    done
1719    
         # Check whether --with-gnome-includes or --without-gnome-includes was given.  
 if test "${with_gnome_includes+set}" = set; then  
   withval="$with_gnome_includes"  
     
         CFLAGS="$CFLAGS -I$withval"  
           
1720  fi  fi
   
           
         # Check whether --with-gnome-libs or --without-gnome-libs was given.  
 if test "${with_gnome_libs+set}" = set; then  
   withval="$with_gnome_libs"  
     
         LDFLAGS="$LDFLAGS -L$withval"  
         gnome_prefix=$withval  
           
1721  fi  fi
1722    STRIP=$ac_cv_prog_STRIP
1723    if test -n "$STRIP"; then
1724          # Check whether --with-gnome or --without-gnome was given.    echo "$as_me:$LINENO: result: $STRIP" >&5
1725  if test "${with_gnome+set}" = set; then  echo "${ECHO_T}$STRIP" >&6
   withval="$with_gnome"  
   if test x$withval = xyes; then  
                         want_gnome=yes  
                                                                         :  
                 else  
                         if test "x$withval" = xno; then  
                                 want_gnome=no  
                         else  
                                 want_gnome=yes  
                                 LDFLAGS="$LDFLAGS -L$withval/lib"  
                                 CFLAGS="$CFLAGS -I$withval/include"  
                                 gnome_prefix=$withval/lib  
                         fi  
                 fi  
1726  else  else
1727    want_gnome=yes    echo "$as_me:$LINENO: result: no" >&5
1728    echo "${ECHO_T}no" >&6
1729  fi  fi
1730    
   
         if test "x$want_gnome" = xyes; then  
   
             # Extract the first word of "gnome-config", so it can be a program name with args.  
 set dummy gnome-config; ac_word=$2  
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  
 echo "configure:1187: checking for $ac_word" >&5  
 if eval "test \"`echo '$''{'ac_cv_path_GNOME_CONFIG'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   case "$GNOME_CONFIG" in  
   /*)  
   ac_cv_path_GNOME_CONFIG="$GNOME_CONFIG" # Let the user override the test with a path.  
   ;;  
   ?:/*)                    
   ac_cv_path_GNOME_CONFIG="$GNOME_CONFIG" # Let the user override the test with a dos path.  
   ;;  
   *)  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  
   ac_dummy="$PATH"  
   for ac_dir in $ac_dummy; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f $ac_dir/$ac_word; then  
       ac_cv_path_GNOME_CONFIG="$ac_dir/$ac_word"  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
   test -z "$ac_cv_path_GNOME_CONFIG" && ac_cv_path_GNOME_CONFIG="no"  
   ;;  
 esac  
1731  fi  fi
1732  GNOME_CONFIG="$ac_cv_path_GNOME_CONFIG"  if test -z "$ac_cv_prog_STRIP"; then
1733  if test -n "$GNOME_CONFIG"; then    ac_ct_STRIP=$STRIP
1734    echo "$ac_t""$GNOME_CONFIG" 1>&6    # Extract the first word of "strip", so it can be a program name with args.
1735  else  set dummy strip; ac_word=$2
1736    echo "$ac_t""no" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
1737  fi  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1738    if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1739              if test "$GNOME_CONFIG" = "no"; then    echo $ECHO_N "(cached) $ECHO_C" >&6
               no_gnome_config="yes"  
             else  
               echo $ac_n "checking if $GNOME_CONFIG works""... $ac_c" 1>&6  
 echo "configure:1224: checking if $GNOME_CONFIG works" >&5  
               if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then  
                 echo "$ac_t""yes" 1>&6  
                   
           
         # Extract the first word of "orbit-config", so it can be a program name with args.  
 set dummy orbit-config; ac_word=$2  
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  
 echo "configure:1232: checking for $ac_word" >&5  
 if eval "test \"`echo '$''{'ac_cv_path_ORBIT_CONFIG'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
1740  else  else
1741    case "$ORBIT_CONFIG" in    if test -n "$ac_ct_STRIP"; then
1742    /*)    ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1743    ac_cv_path_ORBIT_CONFIG="$ORBIT_CONFIG" # Let the user override the test with a path.  else
1744    ;;  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1745    ?:/*)                    for as_dir in $PATH
1746    ac_cv_path_ORBIT_CONFIG="$ORBIT_CONFIG" # Let the user override the test with a dos path.  do
1747    ;;    IFS=$as_save_IFS
1748    *)    test -z "$as_dir" && as_dir=.
1749    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    for ac_exec_ext in '' $ac_executable_extensions; do
1750    ac_dummy="$PATH"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1751    for ac_dir in $ac_dummy; do      ac_cv_prog_ac_ct_STRIP="strip"
1752      test -z "$ac_dir" && ac_dir=.      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1753      if test -f $ac_dir/$ac_word; then      break 2
1754        ac_cv_path_ORBIT_CONFIG="$ac_dir/$ac_word"    fi
1755        break  done
1756      fi  done
1757    done  
1758    IFS="$ac_save_ifs"    test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
   test -z "$ac_cv_path_ORBIT_CONFIG" && ac_cv_path_ORBIT_CONFIG="no"  
   ;;  
 esac  
1759  fi  fi
1760  ORBIT_CONFIG="$ac_cv_path_ORBIT_CONFIG"  fi
1761  if test -n "$ORBIT_CONFIG"; then  ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1762    echo "$ac_t""$ORBIT_CONFIG" 1>&6  if test -n "$ac_ct_STRIP"; then
1763      echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1764    echo "${ECHO_T}$ac_ct_STRIP" >&6
1765  else  else
1766    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
1767    echo "${ECHO_T}no" >&6
1768  fi  fi
1769    
1770          # Extract the first word of "orbit-idl", so it can be a program name with args.    STRIP=$ac_ct_STRIP
 set dummy orbit-idl; ac_word=$2  
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  
 echo "configure:1268: checking for $ac_word" >&5  
 if eval "test \"`echo '$''{'ac_cv_path_ORBIT_IDL'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
1771  else  else
1772    case "$ORBIT_IDL" in    STRIP="$ac_cv_prog_STRIP"
   /*)  
   ac_cv_path_ORBIT_IDL="$ORBIT_IDL" # Let the user override the test with a path.  
   ;;  
   ?:/*)                    
   ac_cv_path_ORBIT_IDL="$ORBIT_IDL" # Let the user override the test with a dos path.  
   ;;  
   *)  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  
   ac_dummy="$PATH"  
   for ac_dir in $ac_dummy; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f $ac_dir/$ac_word; then  
       ac_cv_path_ORBIT_IDL="$ac_dir/$ac_word"  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
   test -z "$ac_cv_path_ORBIT_IDL" && ac_cv_path_ORBIT_IDL="no"  
   ;;  
 esac  
1773  fi  fi
 ORBIT_IDL="$ac_cv_path_ORBIT_IDL"  
 if test -n "$ORBIT_IDL"; then  
   echo "$ac_t""$ORBIT_IDL" 1>&6  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
         echo $ac_n "checking for working ORBit environment""... $ac_c" 1>&6  
 echo "configure:1302: checking for working ORBit environment" >&5  
 if eval "test \"`echo '$''{'gnome_cv_orbit_found'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
     
                 if test x$ORBIT_CONFIG = xno -o x$ORBIT_IDL = xno; then  
                         gnome_cv_orbit_found=no  
                 else  
                         gnome_cv_orbit_found=yes  
                 fi  
           
 fi  
   
 echo "$ac_t""$gnome_cv_orbit_found" 1>&6  
           
   
 if test x$gnome_cv_orbit_found = xyes; then  
   HAVE_ORBIT_TRUE=  
   HAVE_ORBIT_FALSE='#'  
 else  
   HAVE_ORBIT_TRUE='#'  
   HAVE_ORBIT_FALSE=  
 fi  
         if test x$gnome_cv_orbit_found = xyes; then  
                   
                 ORBIT_CFLAGS=`orbit-config --cflags client server`  
                 ORBIT_LIBS=`orbit-config --use-service=name --libs client server`  
                   
                   
         else  
                 if test xfail = xfailure; then  
                         { echo "configure: error: ORBit not installed or installation problem" 1>&2; exit 1; }  
                 fi  
         fi  
1774    
1775          echo $ac_n "checking for gnorba libraries""... $ac_c" 1>&6  fi
1776  echo "configure:1338: checking for gnorba libraries" >&5  INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 if eval "test \"`echo '$''{'gnome_cv_gnorba_found'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
     
                 gnome_cv_gnorba_found=no  
                 if test x$gnome_cv_orbit_found = xyes; then  
                         GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`"  
                         GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`"  
                         if test -n "$GNORBA_LIBS"; then  
                                 gnome_cv_gnorba_found=yes  
                         fi  
                 fi  
           
 fi  
   
 echo "$ac_t""$gnome_cv_gnorba_found" 1>&6  
           
   
 if test x$gnome_cv_gnorba_found = xyes; then  
   HAVE_GNORBA_TRUE=  
   HAVE_GNORBA_FALSE='#'  
 else  
   HAVE_GNORBA_TRUE='#'  
   HAVE_GNORBA_FALSE=  
 fi  
         if test x$gnome_cv_orbit_found = xyes; then  
                   
                 GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`"  
                 GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`"  
                   
                   
         else  
                 if test xfail = xfailure; then  
                         { echo "configure: error: gnorba library not installed or installation problem" 1>&2; exit 1; }  
                 fi  
         fi  
1777    
1778                  GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome`"  # We need awk for the "check" target.  The system "awk" is bad on
1779                  GNOMEUI_LIBS="`$GNOME_CONFIG --libs-only-l gnomeui`"  # some platforms.
                 GNOMEGNORBA_LIBS="`$GNOME_CONFIG --libs-only-l gnorba gnomeui`"  
                 GTKXMHTML_LIBS="`$GNOME_CONFIG --libs-only-l gtkxmhtml`"  
                 ZVT_LIBS="`$GNOME_CONFIG --libs-only-l zvt`"  
                 GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`"  
                 GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`"  
                   
               else  
                 echo "$ac_t""no" 1>&6  
                 no_gnome_config="yes"  
               fi  
             fi  
1780    
             if test x$exec_prefix = xNONE; then  
                 if test x$prefix = xNONE; then  
                     gnome_prefix=$ac_default_prefix/lib  
                 else  
                     gnome_prefix=$prefix/lib  
                 fi  
             else  
                 gnome_prefix=`eval echo \`echo $libdir\``  
             fi  
           
             if test "$no_gnome_config" = "yes"; then  
               echo $ac_n "checking for gnomeConf.sh file in $gnome_prefix""... $ac_c" 1>&6  
 echo "configure:1402: checking for gnomeConf.sh file in $gnome_prefix" >&5  
               if test -f $gnome_prefix/gnomeConf.sh; then  
                 echo "$ac_t""found" 1>&6  
                 echo "loading gnome configuration from" \  
                      "$gnome_prefix/gnomeConf.sh"  
                 . $gnome_prefix/gnomeConf.sh  
                   
               else  
                 echo "$ac_t""not found" 1>&6  
                 if test xfail = xfail; then  
                   { echo "configure: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" 1>&2; exit 1; }  
                 fi  
               fi  
             fi  
         fi  
1781    
1782          if test -n ""; then  
1783            n=""  #AM_ACLOCAL_INCLUDE(macros)
           for i in $n; do  
             echo $ac_n "checking extra library \"$i\"""... $ac_c" 1>&6  
 echo "configure:1422: checking extra library \"$i\"" >&5  
             case $i in  
               applets)  
                   
                 GNOME_APPLETS_LIBS=`$GNOME_CONFIG --libs-only-l applets`  
                 echo "$ac_t""$GNOME_APPLETS_LIBS" 1>&6;;  
               docklets)  
                   
                 GNOME_DOCKLETS_LIBS=`$GNOME_CONFIG --libs-only-l docklets`  
                 echo "$ac_t""$GNOME_DOCKLETS_LIBS" 1>&6;;  
               capplet)  
                   
                 GNOME_CAPPLET_LIBS=`$GNOME_CONFIG --libs-only-l capplet`  
                 echo "$ac_t""$GNOME_CAPPLET_LIBS" 1>&6;;  
               *)  
                 echo "$ac_t""unknown library" 1>&6  
             esac  
             EXTRA_INCLUDEDIR=`$GNOME_CONFIG --cflags $i`  
             GNOME_INCLUDEDIR="$GNOME_INCLUDEDIR $EXTRA_INCLUDEDIR"  
           done  
         fi  
1784    
1785    
1786    
1787  for ac_prog in gawk mawk nawk awk  for ac_prog in gawk mawk nawk awk
1788  do  do
1789  # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
1790  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1791  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
1792  echo "configure:1451: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1793  if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then  if test "${ac_cv_prog_AWK+set}" = set; then
1794    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1795  else  else
1796    if test -n "$AWK"; then    if test -n "$AWK"; then
1797    ac_cv_prog_AWK="$AWK" # Let the user override the test.    ac_cv_prog_AWK="$AWK" # Let the user override the test.
1798  else  else
1799    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1800    ac_dummy="$PATH"  for as_dir in $PATH
1801    for ac_dir in $ac_dummy; do  do
1802      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
1803      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
1804        ac_cv_prog_AWK="$ac_prog"    for ac_exec_ext in '' $ac_executable_extensions; do
1805        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1806      fi      ac_cv_prog_AWK="$ac_prog"
1807    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1808    IFS="$ac_save_ifs"      break 2
1809      fi
1810    done
1811    done
1812    
1813  fi  fi
1814  fi  fi
1815  AWK="$ac_cv_prog_AWK"  AWK=$ac_cv_prog_AWK
1816  if test -n "$AWK"; then  if test -n "$AWK"; then
1817    echo "$ac_t""$AWK" 1>&6    echo "$as_me:$LINENO: result: $AWK" >&5
1818    echo "${ECHO_T}$AWK" >&6
1819  else  else
1820    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
1821    echo "${ECHO_T}no" >&6
1822  fi  fi
1823    
1824  test -n "$AWK" && break    test -n "$AWK" && break
1825  done  done
1826    
1827  echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking whether ln -s works" >&5
1828  echo "configure:1481: checking whether ln -s works" >&5  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1829  if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then  LN_S=$as_ln_s
1830    echo $ac_n "(cached) $ac_c" 1>&6  if test "$LN_S" = "ln -s"; then
1831      echo "$as_me:$LINENO: result: yes" >&5
1832    echo "${ECHO_T}yes" >&6
1833  else  else
1834    rm -f conftestdata    echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1835  if ln -s X conftestdata 2>/dev/null  echo "${ECHO_T}no, using $LN_S" >&6
1836  then  fi
1837    rm -f conftestdata  
1838    ac_cv_prog_LN_S="ln -s"  ac_ext=c
1839    ac_cpp='$CPP $CPPFLAGS'
1840    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1841    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1842    ac_compiler_gnu=$ac_cv_c_compiler_gnu
1843    if test -n "$ac_tool_prefix"; then
1844      # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1845    set dummy ${ac_tool_prefix}gcc; ac_word=$2
1846    echo "$as_me:$LINENO: checking for $ac_word" >&5
1847    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1848    if test "${ac_cv_prog_CC+set}" = set; then
1849      echo $ECHO_N "(cached) $ECHO_C" >&6
1850    else
1851      if test -n "$CC"; then
1852      ac_cv_prog_CC="$CC" # Let the user override the test.
1853  else  else
1854    ac_cv_prog_LN_S=ln  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1855    for as_dir in $PATH
1856    do
1857      IFS=$as_save_IFS
1858      test -z "$as_dir" && as_dir=.
1859      for ac_exec_ext in '' $ac_executable_extensions; do
1860      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1861        ac_cv_prog_CC="${ac_tool_prefix}gcc"
1862        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1863        break 2
1864      fi
1865    done
1866    done
1867    
1868  fi  fi
1869  fi  fi
1870  LN_S="$ac_cv_prog_LN_S"  CC=$ac_cv_prog_CC
1871  if test "$ac_cv_prog_LN_S" = "ln -s"; then  if test -n "$CC"; then
1872    echo "$ac_t""yes" 1>&6    echo "$as_me:$LINENO: result: $CC" >&5
1873    echo "${ECHO_T}$CC" >&6
1874  else  else
1875    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
1876    echo "${ECHO_T}no" >&6
1877  fi  fi
1878    
1879  # Extract the first word of "gcc", so it can be a program name with args.  fi
1880    if test -z "$ac_cv_prog_CC"; then
1881      ac_ct_CC=$CC
1882      # Extract the first word of "gcc", so it can be a program name with args.
1883  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1884  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
1885  echo "configure:1504: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1886  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1887    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1888    else
1889      if test -n "$ac_ct_CC"; then
1890      ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1891    else
1892    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1893    for as_dir in $PATH
1894    do
1895      IFS=$as_save_IFS
1896      test -z "$as_dir" && as_dir=.
1897      for ac_exec_ext in '' $ac_executable_extensions; do
1898      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1899        ac_cv_prog_ac_ct_CC="gcc"
1900        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1901        break 2
1902      fi
1903    done
1904    done
1905    
1906    fi
1907    fi
1908    ac_ct_CC=$ac_cv_prog_ac_ct_CC
1909    if test -n "$ac_ct_CC"; then
1910      echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1911    echo "${ECHO_T}$ac_ct_CC" >&6
1912    else
1913      echo "$as_me:$LINENO: result: no" >&5
1914    echo "${ECHO_T}no" >&6
1915    fi
1916    
1917      CC=$ac_ct_CC
1918    else
1919      CC="$ac_cv_prog_CC"
1920    fi
1921    
1922    if test -z "$CC"; then
1923      if test -n "$ac_tool_prefix"; then
1924      # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1925    set dummy ${ac_tool_prefix}cc; ac_word=$2
1926    echo "$as_me:$LINENO: checking for $ac_word" >&5
1927    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1928    if test "${ac_cv_prog_CC+set}" = set; then
1929      echo $ECHO_N "(cached) $ECHO_C" >&6
1930  else  else
1931    if test -n "$CC"; then    if test -n "$CC"; then
1932    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1933  else  else
1934    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1935    ac_dummy="$PATH"  for as_dir in $PATH
1936    for ac_dir in $ac_dummy; do  do
1937      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
1938      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
1939        ac_cv_prog_CC="gcc"    for ac_exec_ext in '' $ac_executable_extensions; do
1940        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1941      fi      ac_cv_prog_CC="${ac_tool_prefix}cc"
1942    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1943    IFS="$ac_save_ifs"      break 2
1944      fi
1945    done
1946    done
1947    
1948  fi  fi
1949  fi  fi
1950  CC="$ac_cv_prog_CC"  CC=$ac_cv_prog_CC
1951  if test -n "$CC"; then  if test -n "$CC"; then
1952    echo "$ac_t""$CC" 1>&6    echo "$as_me:$LINENO: result: $CC" >&5
1953    echo "${ECHO_T}$CC" >&6
1954  else  else
1955    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
1956    echo "${ECHO_T}no" >&6
1957  fi  fi
1958    
1959    fi
1960    if test -z "$ac_cv_prog_CC"; then
1961      ac_ct_CC=$CC
1962      # Extract the first word of "cc", so it can be a program name with args.
1963    set dummy cc; ac_word=$2
1964    echo "$as_me:$LINENO: checking for $ac_word" >&5
1965    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1966    if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1967      echo $ECHO_N "(cached) $ECHO_C" >&6
1968    else
1969      if test -n "$ac_ct_CC"; then
1970      ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1971    else
1972    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1973    for as_dir in $PATH
1974    do
1975      IFS=$as_save_IFS
1976      test -z "$as_dir" && as_dir=.
1977      for ac_exec_ext in '' $ac_executable_extensions; do
1978      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1979        ac_cv_prog_ac_ct_CC="cc"
1980        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1981        break 2
1982      fi
1983    done
1984    done
1985    
1986    fi
1987    fi
1988    ac_ct_CC=$ac_cv_prog_ac_ct_CC
1989    if test -n "$ac_ct_CC"; then
1990      echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1991    echo "${ECHO_T}$ac_ct_CC" >&6
1992    else
1993      echo "$as_me:$LINENO: result: no" >&5
1994    echo "${ECHO_T}no" >&6
1995    fi
1996    
1997      CC=$ac_ct_CC
1998    else
1999      CC="$ac_cv_prog_CC"
2000    fi
2001    
2002    fi
2003  if test -z "$CC"; then  if test -z "$CC"; then
2004    # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "cc", so it can be a program name with args.
2005  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
2006  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
2007  echo "configure:1534: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2008  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if test "${ac_cv_prog_CC+set}" = set; then
2009    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2010  else  else
2011    if test -n "$CC"; then    if test -n "$CC"; then
2012    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
2013  else  else
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  
2014    ac_prog_rejected=no    ac_prog_rejected=no
2015    ac_dummy="$PATH"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2016    for ac_dir in $ac_dummy; do  for as_dir in $PATH
2017      test -z "$ac_dir" && ac_dir=.  do
2018      if test -f $ac_dir/$ac_word; then    IFS=$as_save_IFS
2019        if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then    test -z "$as_dir" && as_dir=.
2020          ac_prog_rejected=yes    for ac_exec_ext in '' $ac_executable_extensions; do
2021          continue    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2022        fi      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2023        ac_cv_prog_CC="cc"         ac_prog_rejected=yes
2024        break         continue
2025      fi       fi
2026    done      ac_cv_prog_CC="cc"
2027    IFS="$ac_save_ifs"      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2028        break 2
2029      fi
2030    done
2031    done
2032    
2033  if test $ac_prog_rejected = yes; then  if test $ac_prog_rejected = yes; then
2034    # We found a bogon in the path, so make sure we never use it.    # We found a bogon in the path, so make sure we never use it.
2035    set dummy $ac_cv_prog_CC    set dummy $ac_cv_prog_CC
2036    shift    shift
2037    if test $# -gt 0; then    if test $# != 0; then
2038      # We chose a different compiler from the bogus one.      # We chose a different compiler from the bogus one.
2039      # However, it has the same basename, so the bogon will be chosen      # However, it has the same basename, so the bogon will be chosen
2040      # first if we set CC to just the basename; use the full file name.      # first if we set CC to just the basename; use the full file name.
2041      shift      shift
2042      set dummy "$ac_dir/$ac_word" "$@"      ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
     shift  
     ac_cv_prog_CC="$@"  
2043    fi    fi
2044  fi  fi
2045  fi  fi
2046  fi  fi
2047  CC="$ac_cv_prog_CC"  CC=$ac_cv_prog_CC
2048  if test -n "$CC"; then  if test -n "$CC"; then
2049    echo "$ac_t""$CC" 1>&6    echo "$as_me:$LINENO: result: $CC" >&5
2050    echo "${ECHO_T}$CC" >&6
2051  else  else
2052    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
2053    echo "${ECHO_T}no" >&6
2054  fi  fi
2055    
2056    if test -z "$CC"; then  fi
2057      case "`uname -s`" in  if test -z "$CC"; then
2058      *win32* | *WIN32*)    if test -n "$ac_tool_prefix"; then
2059        # Extract the first word of "cl", so it can be a program name with args.    for ac_prog in cl
2060  set dummy cl; ac_word=$2    do
2061  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2062  echo "configure:1585: checking for $ac_word" >&5  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2063  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  echo "$as_me:$LINENO: checking for $ac_word" >&5
2064    echo $ac_n "(cached) $ac_c" 1>&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2065    if test "${ac_cv_prog_CC+set}" = set; then
2066      echo $ECHO_N "(cached) $ECHO_C" >&6
2067  else  else
2068    if test -n "$CC"; then    if test -n "$CC"; then
2069    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
2070  else  else
2071    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2072    ac_dummy="$PATH"  for as_dir in $PATH
2073    for ac_dir in $ac_dummy; do  do
2074      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
2075      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
2076        ac_cv_prog_CC="cl"    for ac_exec_ext in '' $ac_executable_extensions; do
2077        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2078      fi      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2079    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2080    IFS="$ac_save_ifs"      break 2
2081      fi
2082    done
2083    done
2084    
2085  fi  fi
2086  fi  fi
2087  CC="$ac_cv_prog_CC"  CC=$ac_cv_prog_CC
2088  if test -n "$CC"; then  if test -n "$CC"; then
2089    echo "$ac_t""$CC" 1>&6    echo "$as_me:$LINENO: result: $CC" >&5
2090    echo "${ECHO_T}$CC" >&6
2091  else  else
2092    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
2093    echo "${ECHO_T}no" >&6
2094  fi  fi
2095   ;;  
2096      esac      test -n "$CC" && break
2097      done
2098    fi
2099    if test -z "$CC"; then
2100      ac_ct_CC=$CC
2101      for ac_prog in cl
2102    do
2103      # Extract the first word of "$ac_prog", so it can be a program name with args.
2104    set dummy $ac_prog; ac_word=$2
2105    echo "$as_me:$LINENO: checking for $ac_word" >&5
2106    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2107    if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2108      echo $ECHO_N "(cached) $ECHO_C" >&6
2109    else
2110      if test -n "$ac_ct_CC"; then
2111      ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2112    else
2113    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2114    for as_dir in $PATH
2115    do
2116      IFS=$as_save_IFS
2117      test -z "$as_dir" && as_dir=.
2118      for ac_exec_ext in '' $ac_executable_extensions; do
2119      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2120        ac_cv_prog_ac_ct_CC="$ac_prog"
2121        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2122        break 2
2123    fi    fi
2124    test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }  done
2125    done
2126    
2127    fi
2128    fi
2129    ac_ct_CC=$ac_cv_prog_ac_ct_CC
2130    if test -n "$ac_ct_CC"; then
2131      echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2132    echo "${ECHO_T}$ac_ct_CC" >&6
2133    else
2134      echo "$as_me:$LINENO: result: no" >&5
2135    echo "${ECHO_T}no" >&6
2136    fi
2137    
2138      test -n "$ac_ct_CC" && break
2139    done
2140    
2141      CC=$ac_ct_CC
2142  fi  fi
2143    
2144  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6  fi
 echo "configure:1617: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5  
2145    
2146  ac_ext=c  
2147  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2148  ac_cpp='$CPP $CPPFLAGS'  See \`config.log' for more details." >&5
2149  ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  echo "$as_me: error: no acceptable C compiler found in \$PATH
2150  ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  See \`config.log' for more details." >&2;}
2151  cross_compiling=$ac_cv_prog_cc_cross     { (exit 1); exit 1; }; }
2152    
2153  cat > conftest.$ac_ext << EOF  # Provide some information about the compiler.
2154    echo "$as_me:$LINENO:" \
2155  #line 1628 "configure"       "checking for C compiler version" >&5
2156  #include "confdefs.h"  ac_compiler=`set X $ac_compile; echo $2`
2157    { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2158  main(){return(0);}    (eval $ac_compiler --version </dev/null >&5) 2>&5
2159  EOF    ac_status=$?
2160  if { (eval echo configure:1633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2161    ac_cv_prog_cc_works=yes    (exit $ac_status); }
2162    # If we can't run a trivial program, we are probably using a cross compiler.  { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2163    if (./conftest; exit) 2>/dev/null; then    (eval $ac_compiler -v </dev/null >&5) 2>&5
2164      ac_cv_prog_cc_cross=no    ac_status=$?
2165      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2166      (exit $ac_status); }
2167    { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2168      (eval $ac_compiler -V </dev/null >&5) 2>&5
2169      ac_status=$?
2170      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2171      (exit $ac_status); }
2172    
2173    cat >conftest.$ac_ext <<_ACEOF
2174    #line $LINENO "configure"
2175    /* confdefs.h.  */
2176    _ACEOF
2177    cat confdefs.h >>conftest.$ac_ext
2178    cat >>conftest.$ac_ext <<_ACEOF
2179    /* end confdefs.h.  */
2180    
2181    int
2182    main ()
2183    {
2184    
2185      ;
2186      return 0;
2187    }
2188    _ACEOF
2189    ac_clean_files_save=$ac_clean_files
2190    ac_clean_files="$ac_clean_files a.out a.exe b.out"
2191    # Try to create an executable without -o first, disregard a.out.
2192    # It will help us diagnose broken compilers, and finding out an intuition
2193    # of exeext.
2194    echo "$as_me:$LINENO: checking for C compiler default output" >&5
2195    echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2196    ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2197    if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2198      (eval $ac_link_default) 2>&5
2199      ac_status=$?
2200      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2201      (exit $ac_status); }; then
2202      # Find the output, starting from the most likely.  This scheme is
2203    # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2204    # resort.
2205    
2206    # Be careful to initialize this variable, since it used to be cached.
2207    # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2208    ac_cv_exeext=
2209    # b.out is created by i960 compilers.
2210    for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2211    do
2212      test -f "$ac_file" || continue
2213      case $ac_file in
2214        *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2215            ;;
2216        conftest.$ac_ext )
2217            # This is the source file.
2218            ;;
2219        [ab].out )
2220            # We found the default executable, but exeext='' is most
2221            # certainly right.
2222            break;;
2223        *.* )
2224            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2225            # FIXME: I believe we export ac_cv_exeext for Libtool,
2226            # but it would be cool to find out if it's true.  Does anybody
2227            # maintain Libtool? --akim.
2228            export ac_cv_exeext
2229            break;;
2230        * )
2231            break;;
2232      esac
2233    done
2234    else
2235      echo "$as_me: failed program was:" >&5
2236    sed 's/^/| /' conftest.$ac_ext >&5
2237    
2238    { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2239    See \`config.log' for more details." >&5
2240    echo "$as_me: error: C compiler cannot create executables
2241    See \`config.log' for more details." >&2;}
2242       { (exit 77); exit 77; }; }
2243    fi
2244    
2245    ac_exeext=$ac_cv_exeext
2246    echo "$as_me:$LINENO: result: $ac_file" >&5
2247    echo "${ECHO_T}$ac_file" >&6
2248    
2249    # Check the compiler produces executables we can run.  If not, either
2250    # the compiler is broken, or we cross compile.
2251    echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2252    echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2253    # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2254    # If not cross compiling, check that we can run a simple program.
2255    if test "$cross_compiling" != yes; then
2256      if { ac_try='./$ac_file'
2257      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2258      (eval $ac_try) 2>&5
2259      ac_status=$?
2260      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261      (exit $ac_status); }; }; then
2262        cross_compiling=no
2263    else    else
2264      ac_cv_prog_cc_cross=yes      if test "$cross_compiling" = maybe; then
2265            cross_compiling=yes
2266        else
2267            { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2268    If you meant to cross compile, use \`--host'.
2269    See \`config.log' for more details." >&5
2270    echo "$as_me: error: cannot run C compiled programs.
2271    If you meant to cross compile, use \`--host'.
2272    See \`config.log' for more details." >&2;}
2273       { (exit 1); exit 1; }; }
2274        fi
2275    fi    fi
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   ac_cv_prog_cc_works=no  
2276  fi  fi
2277  rm -fr conftest*  echo "$as_me:$LINENO: result: yes" >&5
2278  ac_ext=c  echo "${ECHO_T}yes" >&6
2279  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  
2280  ac_cpp='$CPP $CPPFLAGS'  rm -f a.out a.exe conftest$ac_cv_exeext b.out
2281  ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  ac_clean_files=$ac_clean_files_save
2282  ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  # Check the compiler produces executables we can run.  If not, either
2283  cross_compiling=$ac_cv_prog_cc_cross  # the compiler is broken, or we cross compile.
2284    echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2285  echo "$ac_t""$ac_cv_prog_cc_works" 1>&6  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2286  if test $ac_cv_prog_cc_works = no; then  echo "$as_me:$LINENO: result: $cross_compiling" >&5
2287    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }  echo "${ECHO_T}$cross_compiling" >&6
2288  fi  
2289  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for suffix of executables" >&5
2290  echo "configure:1659: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5  echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2291  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2292  cross_compiling=$ac_cv_prog_cc_cross    (eval $ac_link) 2>&5
2293      ac_status=$?
2294  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2295  echo "configure:1664: checking whether we are using GNU C" >&5    (exit $ac_status); }; then
2296  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2297    echo $ac_n "(cached) $ac_c" 1>&6  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2298  else  # work properly (i.e., refer to `conftest.exe'), while it won't with
2299    cat > conftest.c <<EOF  # `rm'.
2300  #ifdef __GNUC__  for ac_file in conftest.exe conftest conftest.*; do
2301    yes;    test -f "$ac_file" || continue
2302  #endif    case $ac_file in
2303  EOF      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2304  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1673: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2305    ac_cv_prog_gcc=yes            export ac_cv_exeext
2306              break;;
2307        * ) break;;
2308      esac
2309    done
2310  else  else
2311    ac_cv_prog_gcc=no    { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2312  fi  See \`config.log' for more details." >&5
2313    echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2314    See \`config.log' for more details." >&2;}
2315       { (exit 1); exit 1; }; }
2316  fi  fi
2317    
2318  echo "$ac_t""$ac_cv_prog_gcc" 1>&6  rm -f conftest$ac_cv_exeext
2319    echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2320    echo "${ECHO_T}$ac_cv_exeext" >&6
2321    
2322    rm -f conftest.$ac_ext
2323    EXEEXT=$ac_cv_exeext
2324    ac_exeext=$EXEEXT
2325    echo "$as_me:$LINENO: checking for suffix of object files" >&5
2326    echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2327    if test "${ac_cv_objext+set}" = set; then
2328      echo $ECHO_N "(cached) $ECHO_C" >&6
2329    else
2330      cat >conftest.$ac_ext <<_ACEOF
2331    #line $LINENO "configure"
2332    /* confdefs.h.  */
2333    _ACEOF
2334    cat confdefs.h >>conftest.$ac_ext
2335    cat >>conftest.$ac_ext <<_ACEOF
2336    /* end confdefs.h.  */
2337    
2338    int
2339    main ()
2340    {
2341    
2342  if test $ac_cv_prog_gcc = yes; then    ;
2343    GCC=yes    return 0;
2344    }
2345    _ACEOF
2346    rm -f conftest.o conftest.obj
2347    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2348      (eval $ac_compile) 2>&5
2349      ac_status=$?
2350      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2351      (exit $ac_status); }; then
2352      for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2353      case $ac_file in
2354        *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2355        *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2356           break;;
2357      esac
2358    done
2359  else  else
2360    GCC=    echo "$as_me: failed program was:" >&5
2361    sed 's/^/| /' conftest.$ac_ext >&5
2362    
2363    { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2364    See \`config.log' for more details." >&5
2365    echo "$as_me: error: cannot compute suffix of object files: cannot compile
2366    See \`config.log' for more details." >&2;}
2367       { (exit 1); exit 1; }; }
2368  fi  fi
2369    
2370  ac_test_CFLAGS="${CFLAGS+set}"  rm -f conftest.$ac_cv_objext conftest.$ac_ext
2371  ac_save_CFLAGS="$CFLAGS"  fi
2372  CFLAGS=  echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2373  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6  echo "${ECHO_T}$ac_cv_objext" >&6
2374  echo "configure:1692: checking whether ${CC-cc} accepts -g" >&5  OBJEXT=$ac_cv_objext
2375  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  ac_objext=$OBJEXT
2376    echo $ac_n "(cached) $ac_c" 1>&6  echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2377  else  echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2378    echo 'void f(){}' > conftest.c  if test "${ac_cv_c_compiler_gnu+set}" = set; then
2379  if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then    echo $ECHO_N "(cached) $ECHO_C" >&6
2380    else
2381      cat >conftest.$ac_ext <<_ACEOF
2382    #line $LINENO "configure"
2383    /* confdefs.h.  */
2384    _ACEOF
2385    cat confdefs.h >>conftest.$ac_ext
2386    cat >>conftest.$ac_ext <<_ACEOF
2387    /* end confdefs.h.  */
2388    
2389    int
2390    main ()
2391    {
2392    #ifndef __GNUC__
2393           choke me
2394    #endif
2395    
2396      ;
2397      return 0;
2398    }
2399    _ACEOF
2400    rm -f conftest.$ac_objext
2401    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2402      (eval $ac_compile) 2>&5
2403      ac_status=$?
2404      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2405      (exit $ac_status); } &&
2406             { ac_try='test -s conftest.$ac_objext'
2407      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2408      (eval $ac_try) 2>&5
2409      ac_status=$?
2410      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411      (exit $ac_status); }; }; then
2412      ac_compiler_gnu=yes
2413    else
2414      echo "$as_me: failed program was:" >&5
2415    sed 's/^/| /' conftest.$ac_ext >&5
2416    
2417    ac_compiler_gnu=no
2418    fi
2419    rm -f conftest.$ac_objext conftest.$ac_ext
2420    ac_cv_c_compiler_gnu=$ac_compiler_gnu
2421    
2422    fi
2423    echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2424    echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2425    GCC=`test $ac_compiler_gnu = yes && echo yes`
2426    ac_test_CFLAGS=${CFLAGS+set}
2427    ac_save_CFLAGS=$CFLAGS
2428    CFLAGS="-g"
2429    echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2430    echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2431    if test "${ac_cv_prog_cc_g+set}" = set; then
2432      echo $ECHO_N "(cached) $ECHO_C" >&6
2433    else
2434      cat >conftest.$ac_ext <<_ACEOF
2435    #line $LINENO "configure"
2436    /* confdefs.h.  */
2437    _ACEOF
2438    cat confdefs.h >>conftest.$ac_ext
2439    cat >>conftest.$ac_ext <<_ACEOF
2440    /* end confdefs.h.  */
2441    
2442    int
2443    main ()
2444    {
2445    
2446      ;
2447      return 0;
2448    }
2449    _ACEOF
2450    rm -f conftest.$ac_objext
2451    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2452      (eval $ac_compile) 2>&5
2453      ac_status=$?
2454      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2455      (exit $ac_status); } &&
2456             { ac_try='test -s conftest.$ac_objext'
2457      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2458      (eval $ac_try) 2>&5
2459      ac_status=$?
2460      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461      (exit $ac_status); }; }; then
2462    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2463  else  else
2464    ac_cv_prog_cc_g=no    echo "$as_me: failed program was:" >&5
2465  fi  sed 's/^/| /' conftest.$ac_ext >&5
 rm -f conftest*  
2466    
2467    ac_cv_prog_cc_g=no
2468  fi  fi
2469    rm -f conftest.$ac_objext conftest.$ac_ext
2470  echo "$ac_t""$ac_cv_prog_cc_g" 1>&6  fi
2471    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2472    echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2473  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
2474    CFLAGS="$ac_save_CFLAGS"    CFLAGS=$ac_save_CFLAGS
2475  elif test $ac_cv_prog_cc_g = yes; then  elif test $ac_cv_prog_cc_g = yes; then
2476    if test "$GCC" = yes; then    if test "$GCC" = yes; then
2477      CFLAGS="-g -O2"      CFLAGS="-g -O2"
# Line 1718  else Line 2485  else
2485      CFLAGS=      CFLAGS=
2486    fi    fi
2487  fi  fi
2488    echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2489    echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2490    if test "${ac_cv_prog_cc_stdc+set}" = set; then
2491      echo $ECHO_N "(cached) $ECHO_C" >&6
2492    else
2493      ac_cv_prog_cc_stdc=no
2494    ac_save_CC=$CC
2495    cat >conftest.$ac_ext <<_ACEOF
2496    #line $LINENO "configure"
2497    /* confdefs.h.  */
2498    _ACEOF
2499    cat confdefs.h >>conftest.$ac_ext
2500    cat >>conftest.$ac_ext <<_ACEOF
2501    /* end confdefs.h.  */
2502    #include <stdarg.h>
2503    #include <stdio.h>
2504    #include <sys/types.h>
2505    #include <sys/stat.h>
2506    /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2507    struct buf { int x; };
2508    FILE * (*rcsopen) (struct buf *, struct stat *, int);
2509    static char *e (p, i)
2510         char **p;
2511         int i;
2512    {
2513      return p[i];
2514    }
2515    static char *f (char * (*g) (char **, int), char **p, ...)
2516    {
2517      char *s;
2518      va_list v;
2519      va_start (v,p);
2520      s = g (p, va_arg (v,int));
2521      va_end (v);
2522      return s;
2523    }
2524    int test (int i, double x);
2525    struct s1 {int (*f) (int a);};
2526    struct s2 {int (*f) (double a);};
2527    int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2528    int argc;
2529    char **argv;
2530    int
2531    main ()
2532    {
2533    return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2534      ;
2535      return 0;
2536    }
2537    _ACEOF
2538    # Don't try gcc -ansi; that turns off useful extensions and
2539    # breaks some systems' header files.
2540    # AIX                   -qlanglvl=ansi
2541    # Ultrix and OSF/1      -std1
2542    # HP-UX 10.20 and later -Ae
2543    # HP-UX older versions  -Aa -D_HPUX_SOURCE
2544    # SVR4                  -Xc -D__EXTENSIONS__
2545    for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2546    do
2547      CC="$ac_save_CC $ac_arg"
2548      rm -f conftest.$ac_objext
2549    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2550      (eval $ac_compile) 2>&5
2551      ac_status=$?
2552      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553      (exit $ac_status); } &&
2554             { ac_try='test -s conftest.$ac_objext'
2555      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2556      (eval $ac_try) 2>&5
2557      ac_status=$?
2558      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559      (exit $ac_status); }; }; then
2560      ac_cv_prog_cc_stdc=$ac_arg
2561    break
2562    else
2563      echo "$as_me: failed program was:" >&5
2564    sed 's/^/| /' conftest.$ac_ext >&5
2565    
2566    fi
2567    rm -f conftest.$ac_objext
2568    done
2569    rm -f conftest.$ac_ext conftest.$ac_objext
2570    CC=$ac_save_CC
2571    
2572  for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl  fi
2573    
2574    case "x$ac_cv_prog_cc_stdc" in
2575      x|xno)
2576        echo "$as_me:$LINENO: result: none needed" >&5
2577    echo "${ECHO_T}none needed" >&6 ;;
2578      *)
2579        echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2580    echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2581        CC="$CC $ac_cv_prog_cc_stdc" ;;
2582    esac
2583    
2584    # Some people use a C++ compiler to compile C.  Since we use `exit',
2585    # in C++ we need to declare it.  In case someone uses the same compiler
2586    # for both compiling C and C++ we need to have the C++ compiler decide
2587    # the declaration of exit, since it's the most demanding environment.
2588    cat >conftest.$ac_ext <<_ACEOF
2589    #ifndef __cplusplus
2590      choke me
2591    #endif
2592    _ACEOF
2593    rm -f conftest.$ac_objext
2594    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2595      (eval $ac_compile) 2>&5
2596      ac_status=$?
2597      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598      (exit $ac_status); } &&
2599             { ac_try='test -s conftest.$ac_objext'
2600      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2601      (eval $ac_try) 2>&5
2602      ac_status=$?
2603      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604      (exit $ac_status); }; }; then
2605      for ac_declaration in \
2606       ''\
2607       '#include <stdlib.h>' \
2608       'extern "C" void std::exit (int) throw (); using std::exit;' \
2609       'extern "C" void std::exit (int); using std::exit;' \
2610       'extern "C" void exit (int) throw ();' \
2611       'extern "C" void exit (int);' \
2612       'void exit (int);'
2613  do  do
2614  # Extract the first word of "$ac_prog", so it can be a program name with args.    cat >conftest.$ac_ext <<_ACEOF
2615  set dummy $ac_prog; ac_word=$2  #line $LINENO "configure"
2616  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  /* confdefs.h.  */
2617  echo "configure:1728: checking for $ac_word" >&5  _ACEOF
2618  if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then  cat confdefs.h >>conftest.$ac_ext
2619    echo $ac_n "(cached) $ac_c" 1>&6  cat >>conftest.$ac_ext <<_ACEOF
2620    /* end confdefs.h.  */
2621    #include <stdlib.h>
2622    $ac_declaration
2623    int
2624    main ()
2625    {
2626    exit (42);
2627      ;
2628      return 0;
2629    }
2630    _ACEOF
2631    rm -f conftest.$ac_objext
2632    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2633      (eval $ac_compile) 2>&5
2634      ac_status=$?
2635      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636      (exit $ac_status); } &&
2637             { ac_try='test -s conftest.$ac_objext'
2638      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639      (eval $ac_try) 2>&5
2640      ac_status=$?
2641      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642      (exit $ac_status); }; }; then
2643      :
2644  else  else
2645    if test -n "$CXX"; then    echo "$as_me: failed program was:" >&5
2646    ac_cv_prog_CXX="$CXX" # Let the user override the test.  sed 's/^/| /' conftest.$ac_ext >&5
2647    
2648    continue
2649    fi
2650    rm -f conftest.$ac_objext conftest.$ac_ext
2651      cat >conftest.$ac_ext <<_ACEOF
2652    #line $LINENO "configure"
2653    /* confdefs.h.  */
2654    _ACEOF
2655    cat confdefs.h >>conftest.$ac_ext
2656    cat >>conftest.$ac_ext <<_ACEOF
2657    /* end confdefs.h.  */
2658    $ac_declaration
2659    int
2660    main ()
2661    {
2662    exit (42);
2663      ;
2664      return 0;
2665    }
2666    _ACEOF
2667    rm -f conftest.$ac_objext
2668    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2669      (eval $ac_compile) 2>&5
2670      ac_status=$?
2671      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672      (exit $ac_status); } &&
2673             { ac_try='test -s conftest.$ac_objext'
2674      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2675      (eval $ac_try) 2>&5
2676      ac_status=$?
2677      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678      (exit $ac_status); }; }; then
2679      break
2680  else  else
2681    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    echo "$as_me: failed program was:" >&5
2682    ac_dummy="$PATH"  sed 's/^/| /' conftest.$ac_ext >&5
2683    for ac_dir in $ac_dummy; do  
2684      test -z "$ac_dir" && ac_dir=.  fi
2685      if test -f $ac_dir/$ac_word; then  rm -f conftest.$ac_objext conftest.$ac_ext
2686        ac_cv_prog_CXX="$ac_prog"  done
2687        break  rm -f conftest*
2688      fi  if test -n "$ac_declaration"; then
2689    done    echo '#ifdef __cplusplus' >>confdefs.h
2690    IFS="$ac_save_ifs"    echo $ac_declaration      >>confdefs.h
2691      echo '#endif'             >>confdefs.h
2692  fi  fi
2693    
2694    else
2695      echo "$as_me: failed program was:" >&5
2696    sed 's/^/| /' conftest.$ac_ext >&5
2697    
2698  fi  fi
2699  CXX="$ac_cv_prog_CXX"  rm -f conftest.$ac_objext conftest.$ac_ext
2700  if test -n "$CXX"; then  ac_ext=c
2701    echo "$ac_t""$CXX" 1>&6  ac_cpp='$CPP $CPPFLAGS'
2702    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2703    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2704    ac_compiler_gnu=$ac_cv_c_compiler_gnu
2705    rm -f .deps 2>/dev/null
2706    mkdir .deps 2>/dev/null
2707    if test -d .deps; then
2708      DEPDIR=.deps
2709  else  else
2710    echo "$ac_t""no" 1>&6    # MS-DOS does not allow filenames that begin with a dot.
2711      DEPDIR=_deps
2712  fi  fi
2713    rmdir .deps 2>/dev/null
2714    
 test -n "$CXX" && break  
 done  
 test -n "$CXX" || CXX="gcc"  
2715    
2716              ac_config_commands="$ac_config_commands depfiles"
2717    
 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6  
 echo "configure:1760: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5  
2718    
2719  ac_ext=C  am_make=${MAKE-make}
2720  # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  cat > confinc << 'END'
2721  ac_cpp='$CXXCPP $CPPFLAGS'  doit:
2722  ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'          @echo done
2723  ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  END
2724  cross_compiling=$ac_cv_prog_cxx_cross  # If we don't find an include directive, just comment out the code.
2725    echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2726  cat > conftest.$ac_ext << EOF  echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2727    am__include="#"
2728  #line 1771 "configure"  am__quote=
2729  #include "confdefs.h"  _am_result=none
2730    # First try GNU make style include.
2731  int main(){return(0);}  echo "include confinc" > confmf
2732  EOF  # We grep out `Entering directory' and `Leaving directory'
2733  if { (eval echo configure:1776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  # messages which can occur if `w' ends up in MAKEFLAGS.
2734    ac_cv_prog_cxx_works=yes  # In particular we don't look at `^make:' because GNU make might
2735    # If we can't run a trivial program, we are probably using a cross compiler.  # be invoked under some other name (usually "gmake"), in which
2736    if (./conftest; exit) 2>/dev/null; then  # case it prints its new name instead of `make'.
2737      ac_cv_prog_cxx_cross=no  if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2738    else     am__include=include
2739      ac_cv_prog_cxx_cross=yes     am__quote=
2740    fi     _am_result=GNU
2741    fi
2742    # Now try BSD make style include.
2743    if test "$am__include" = "#"; then
2744       echo '.include "confinc"' > confmf
2745       if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2746          am__include=.include
2747          am__quote="\""
2748          _am_result=BSD
2749       fi
2750    fi
2751    
2752    
2753    echo "$as_me:$LINENO: result: $_am_result" >&5
2754    echo "${ECHO_T}$_am_result" >&6
2755    rm -f confinc confmf
2756    
2757    # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2758    if test "${enable_dependency_tracking+set}" = set; then
2759      enableval="$enable_dependency_tracking"
2760    
2761    fi;
2762    if test "x$enable_dependency_tracking" != xno; then
2763      am_depcomp="$ac_aux_dir/depcomp"
2764      AMDEPBACKSLASH='\'
2765    fi
2766    
2767    
2768    if test "x$enable_dependency_tracking" != xno; then
2769      AMDEP_TRUE=
2770      AMDEP_FALSE='#'
2771  else  else
2772    echo "configure: failed program was:" >&5    AMDEP_TRUE='#'
2773    cat conftest.$ac_ext >&5    AMDEP_FALSE=
   ac_cv_prog_cxx_works=no  
2774  fi  fi
2775  rm -fr conftest*  
2776  ac_ext=c  
2777  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  
2778  ac_cpp='$CPP $CPPFLAGS'  
2779  ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  depcc="$CC"   am_compiler_list=
2780  ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  
2781  cross_compiling=$ac_cv_prog_cc_cross  echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2782    echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2783  echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6  if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2784  if test $ac_cv_prog_cxx_works = no; then    echo $ECHO_N "(cached) $ECHO_C" >&6
   { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }  
 fi  
 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6  
 echo "configure:1802: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5  
 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6  
 cross_compiling=$ac_cv_prog_cxx_cross  
   
 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6  
 echo "configure:1807: checking whether we are using GNU C++" >&5  
 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.C <<EOF  
 #ifdef __GNUC__  
   yes;  
 #endif  
 EOF  
 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then  
   ac_cv_prog_gxx=yes  
2785  else  else
2786    ac_cv_prog_gxx=no    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2787      # We make a subdir and do the tests there.  Otherwise we can end up
2788      # making bogus files that we don't know about and never remove.  For
2789      # instance it was reported that on HP-UX the gcc test will end up
2790      # making a dummy file named `D' -- because `-MD' means `put the output
2791      # in D'.
2792      mkdir conftest.dir
2793      # Copy depcomp to subdir because otherwise we won't find it if we're
2794      # using a relative directory.
2795      cp "$am_depcomp" conftest.dir
2796      cd conftest.dir
2797    
2798      am_cv_CC_dependencies_compiler_type=none
2799      if test "$am_compiler_list" = ""; then
2800         am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2801      fi
2802      for depmode in $am_compiler_list; do
2803        # We need to recreate these files for each test, as the compiler may
2804        # overwrite some of them when testing with obscure command lines.
2805        # This happens at least with the AIX C compiler.
2806        echo '#include "conftest.h"' > conftest.c
2807        echo 'int i;' > conftest.h
2808        echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2809    
2810        case $depmode in
2811        nosideeffect)
2812          # after this tag, mechanisms are not by side-effect, so they'll
2813          # only be used when explicitly requested
2814          if test "x$enable_dependency_tracking" = xyes; then
2815            continue
2816          else
2817            break
2818          fi
2819          ;;
2820        none) break ;;
2821        esac
2822        # We check with `-c' and `-o' for the sake of the "dashmstdout"
2823        # mode.  It turns out that the SunPro C++ compiler does not properly
2824        # handle `-M -o', and we need to detect this.
2825        if depmode=$depmode \
2826           source=conftest.c object=conftest.o \
2827           depfile=conftest.Po tmpdepfile=conftest.TPo \
2828           $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
2829           grep conftest.h conftest.Po > /dev/null 2>&1 &&
2830           ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2831          am_cv_CC_dependencies_compiler_type=$depmode
2832          break
2833        fi
2834      done
2835    
2836      cd ..
2837      rm -rf conftest.dir
2838    else
2839      am_cv_CC_dependencies_compiler_type=none
2840  fi  fi
2841    
2842  fi  fi
2843    echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2844    echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2845    CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2846    
 echo "$ac_t""$ac_cv_prog_gxx" 1>&6  
2847    
2848  if test $ac_cv_prog_gxx = yes; then  
2849    GXX=yes  if
2850      test "x$enable_dependency_tracking" != xno \
2851      && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2852      am__fastdepCC_TRUE=
2853      am__fastdepCC_FALSE='#'
2854  else  else
2855    GXX=    am__fastdepCC_TRUE='#'
2856      am__fastdepCC_FALSE=
2857  fi  fi
2858    
2859  ac_test_CXXFLAGS="${CXXFLAGS+set}"  
2860  ac_save_CXXFLAGS="$CXXFLAGS"  ac_ext=cc
2861  CXXFLAGS=  ac_cpp='$CXXCPP $CPPFLAGS'
2862  echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2863  echo "configure:1835: checking whether ${CXX-g++} accepts -g" >&5  ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2864  if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2865    echo $ac_n "(cached) $ac_c" 1>&6  if test -n "$ac_tool_prefix"; then
2866      for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2867      do
2868        # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2869    set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2870    echo "$as_me:$LINENO: checking for $ac_word" >&5
2871    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2872    if test "${ac_cv_prog_CXX+set}" = set; then
2873      echo $ECHO_N "(cached) $ECHO_C" >&6
2874  else  else
2875    echo 'void f(){}' > conftest.cc    if test -n "$CXX"; then
2876  if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then    ac_cv_prog_CXX="$CXX" # Let the user override the test.
   ac_cv_prog_cxx_g=yes  
2877  else  else
2878    ac_cv_prog_cxx_g=no  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2879    for as_dir in $PATH
2880    do
2881      IFS=$as_save_IFS
2882      test -z "$as_dir" && as_dir=.
2883      for ac_exec_ext in '' $ac_executable_extensions; do
2884      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2885        ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2886        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2887        break 2
2888      fi
2889    done
2890    done
2891    
2892    fi
2893    fi
2894    CXX=$ac_cv_prog_CXX
2895    if test -n "$CXX"; then
2896      echo "$as_me:$LINENO: result: $CXX" >&5
2897    echo "${ECHO_T}$CXX" >&6
2898    else
2899      echo "$as_me:$LINENO: result: no" >&5
2900    echo "${ECHO_T}no" >&6
2901  fi  fi
 rm -f conftest*  
2902    
2903        test -n "$CXX" && break
2904      done
2905    fi
2906    if test -z "$CXX"; then
2907      ac_ct_CXX=$CXX
2908      for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2909    do
2910      # Extract the first word of "$ac_prog", so it can be a program name with args.
2911    set dummy $ac_prog; ac_word=$2
2912    echo "$as_me:$LINENO: checking for $ac_word" >&5
2913    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2914    if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2915      echo $ECHO_N "(cached) $ECHO_C" >&6
2916    else
2917      if test -n "$ac_ct_CXX"; then
2918      ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2919    else
2920    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2921    for as_dir in $PATH
2922    do
2923      IFS=$as_save_IFS
2924      test -z "$as_dir" && as_dir=.
2925      for ac_exec_ext in '' $ac_executable_extensions; do
2926      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2927        ac_cv_prog_ac_ct_CXX="$ac_prog"
2928        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2929        break 2
2930      fi
2931    done
2932    done
2933    
2934    fi
2935    fi
2936    ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2937    if test -n "$ac_ct_CXX"; then
2938      echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2939    echo "${ECHO_T}$ac_ct_CXX" >&6
2940    else
2941      echo "$as_me:$LINENO: result: no" >&5
2942    echo "${ECHO_T}no" >&6
2943  fi  fi
2944    
2945  echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6    test -n "$ac_ct_CXX" && break
2946    done
2947    test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2948    
2949      CXX=$ac_ct_CXX
2950    fi
2951    
2952    
2953    # Provide some information about the compiler.
2954    echo "$as_me:$LINENO:" \
2955         "checking for C++ compiler version" >&5
2956    ac_compiler=`set X $ac_compile; echo $2`
2957    { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2958      (eval $ac_compiler --version </dev/null >&5) 2>&5
2959      ac_status=$?
2960      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961      (exit $ac_status); }
2962    { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2963      (eval $ac_compiler -v </dev/null >&5) 2>&5
2964      ac_status=$?
2965      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966      (exit $ac_status); }
2967    { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2968      (eval $ac_compiler -V </dev/null >&5) 2>&5
2969      ac_status=$?
2970      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971      (exit $ac_status); }
2972    
2973    echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2974    echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2975    if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2976      echo $ECHO_N "(cached) $ECHO_C" >&6
2977    else
2978      cat >conftest.$ac_ext <<_ACEOF
2979    #line $LINENO "configure"
2980    /* confdefs.h.  */
2981    _ACEOF
2982    cat confdefs.h >>conftest.$ac_ext
2983    cat >>conftest.$ac_ext <<_ACEOF
2984    /* end confdefs.h.  */
2985    
2986    int
2987    main ()
2988    {
2989    #ifndef __GNUC__
2990           choke me
2991    #endif
2992    
2993      ;
2994      return 0;
2995    }
2996    _ACEOF
2997    rm -f conftest.$ac_objext
2998    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2999      (eval $ac_compile) 2>&5
3000      ac_status=$?
3001      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002      (exit $ac_status); } &&
3003             { ac_try='test -s conftest.$ac_objext'
3004      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3005      (eval $ac_try) 2>&5
3006      ac_status=$?
3007      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008      (exit $ac_status); }; }; then
3009      ac_compiler_gnu=yes
3010    else
3011      echo "$as_me: failed program was:" >&5
3012    sed 's/^/| /' conftest.$ac_ext >&5
3013    
3014    ac_compiler_gnu=no
3015    fi
3016    rm -f conftest.$ac_objext conftest.$ac_ext
3017    ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3018    
3019    fi
3020    echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3021    echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3022    GXX=`test $ac_compiler_gnu = yes && echo yes`
3023    ac_test_CXXFLAGS=${CXXFLAGS+set}
3024    ac_save_CXXFLAGS=$CXXFLAGS
3025    CXXFLAGS="-g"
3026    echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3027    echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3028    if test "${ac_cv_prog_cxx_g+set}" = set; then
3029      echo $ECHO_N "(cached) $ECHO_C" >&6
3030    else
3031      cat >conftest.$ac_ext <<_ACEOF
3032    #line $LINENO "configure"
3033    /* confdefs.h.  */
3034    _ACEOF
3035    cat confdefs.h >>conftest.$ac_ext
3036    cat >>conftest.$ac_ext <<_ACEOF
3037    /* end confdefs.h.  */
3038    
3039    int
3040    main ()
3041    {
3042    
3043      ;
3044      return 0;
3045    }
3046    _ACEOF
3047    rm -f conftest.$ac_objext
3048    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3049      (eval $ac_compile) 2>&5
3050      ac_status=$?
3051      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3052      (exit $ac_status); } &&
3053             { ac_try='test -s conftest.$ac_objext'
3054      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3055      (eval $ac_try) 2>&5
3056      ac_status=$?
3057      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058      (exit $ac_status); }; }; then
3059      ac_cv_prog_cxx_g=yes
3060    else
3061      echo "$as_me: failed program was:" >&5
3062    sed 's/^/| /' conftest.$ac_ext >&5
3063    
3064    ac_cv_prog_cxx_g=no
3065    fi
3066    rm -f conftest.$ac_objext conftest.$ac_ext
3067    fi
3068    echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3069    echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3070  if test "$ac_test_CXXFLAGS" = set; then  if test "$ac_test_CXXFLAGS" = set; then
3071    CXXFLAGS="$ac_save_CXXFLAGS"    CXXFLAGS=$ac_save_CXXFLAGS
3072  elif test $ac_cv_prog_cxx_g = yes; then  elif test $ac_cv_prog_cxx_g = yes; then
3073    if test "$GXX" = yes; then    if test "$GXX" = yes; then
3074      CXXFLAGS="-g -O2"      CXXFLAGS="-g -O2"
# Line 1861  else Line 3082  else
3082      CXXFLAGS=      CXXFLAGS=
3083    fi    fi
3084  fi  fi
3085    for ac_declaration in \
3086  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6     ''\
3087  echo "configure:1867: checking how to run the C preprocessor" >&5     '#include <stdlib.h>' \
3088  # On Suns, sometimes $CPP names a directory.     'extern "C" void std::exit (int) throw (); using std::exit;' \
3089  if test -n "$CPP" && test -d "$CPP"; then     'extern "C" void std::exit (int); using std::exit;' \
3090    CPP=     'extern "C" void exit (int) throw ();' \
3091  fi     'extern "C" void exit (int);' \
3092  if test -z "$CPP"; then     'void exit (int);'
3093  if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then  do
3094    echo $ac_n "(cached) $ac_c" 1>&6    cat >conftest.$ac_ext <<_ACEOF
3095  else  #line $LINENO "configure"
3096      # This must be in double quotes, not single quotes, because CPP may get  /* confdefs.h.  */
3097    # substituted into the Makefile and "${CC-cc}" will confuse make.  _ACEOF
3098    CPP="${CC-cc} -E"  cat confdefs.h >>conftest.$ac_ext
3099    # On the NeXT, cc -E runs the code through the compiler's parser,  cat >>conftest.$ac_ext <<_ACEOF
3100    # not just through cpp.  /* end confdefs.h.  */
3101    cat > conftest.$ac_ext <<EOF  #include <stdlib.h>
3102  #line 1882 "configure"  $ac_declaration
3103  #include "confdefs.h"  int
3104  #include <assert.h>  main ()
3105  Syntax Error  {
3106  EOF  exit (42);
3107  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"    ;
3108  { (eval echo configure:1888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }    return 0;
3109  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  }
3110  if test -z "$ac_err"; then  _ACEOF
3111    :  rm -f conftest.$ac_objext
3112  else  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3113    echo "$ac_err" >&5    (eval $ac_compile) 2>&5
3114    echo "configure: failed program was:" >&5    ac_status=$?
3115    cat conftest.$ac_ext >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116    rm -rf conftest*    (exit $ac_status); } &&
3117    CPP="${CC-cc} -E -traditional-cpp"           { ac_try='test -s conftest.$ac_objext'
3118    cat > conftest.$ac_ext <<EOF    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3119  #line 1899 "configure"    (eval $ac_try) 2>&5
3120  #include "confdefs.h"    ac_status=$?
3121  #include <assert.h>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122  Syntax Error    (exit $ac_status); }; }; then
 EOF  
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  
 { (eval echo configure:1905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  
 if test -z "$ac_err"; then  
   :  
 else  
   echo "$ac_err" >&5  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   CPP="${CC-cc} -nologo -E"  
   cat > conftest.$ac_ext <<EOF  
 #line 1916 "configure"  
 #include "confdefs.h"  
 #include <assert.h>  
 Syntax Error  
 EOF  
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  
 { (eval echo configure:1922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  
 if test -z "$ac_err"; then  
3123    :    :
3124  else  else
3125    echo "$ac_err" >&5    echo "$as_me: failed program was:" >&5
3126    echo "configure: failed program was:" >&5  sed 's/^/| /' conftest.$ac_ext >&5
3127    cat conftest.$ac_ext >&5  
3128    rm -rf conftest*  continue
   CPP=/lib/cpp  
 fi  
 rm -f conftest*  
3129  fi  fi
3130  rm -f conftest*  rm -f conftest.$ac_objext conftest.$ac_ext
3131      cat >conftest.$ac_ext <<_ACEOF
3132    #line $LINENO "configure"
3133    /* confdefs.h.  */
3134    _ACEOF
3135    cat confdefs.h >>conftest.$ac_ext
3136    cat >>conftest.$ac_ext <<_ACEOF
3137    /* end confdefs.h.  */
3138    $ac_declaration
3139    int
3140    main ()
3141    {
3142    exit (42);
3143      ;
3144      return 0;
3145    }
3146    _ACEOF
3147    rm -f conftest.$ac_objext
3148    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3149      (eval $ac_compile) 2>&5
3150      ac_status=$?
3151      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152      (exit $ac_status); } &&
3153             { ac_try='test -s conftest.$ac_objext'
3154      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3155      (eval $ac_try) 2>&5
3156      ac_status=$?
3157      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158      (exit $ac_status); }; }; then
3159      break
3160    else
3161      echo "$as_me: failed program was:" >&5
3162    sed 's/^/| /' conftest.$ac_ext >&5
3163    
3164  fi  fi
3165    rm -f conftest.$ac_objext conftest.$ac_ext
3166    done
3167  rm -f conftest*  rm -f conftest*
3168    ac_cv_prog_CPP="$CPP"  if test -n "$ac_declaration"; then
3169      echo '#ifdef __cplusplus' >>confdefs.h
3170      echo $ac_declaration      >>confdefs.h
3171      echo '#endif'             >>confdefs.h
3172  fi  fi
   CPP="$ac_cv_prog_CPP"  
 else  
   ac_cv_prog_CPP="$CPP"  
 fi  
 echo "$ac_t""$CPP" 1>&6  
3173    
3174  missing_dir=`cd $ac_aux_dir && pwd`  ac_ext=c
3175  for ac_prog in flex lex  ac_cpp='$CPP $CPPFLAGS'
3176  do  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3177  # Extract the first word of "$ac_prog", so it can be a program name with args.  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3178  set dummy $ac_prog; ac_word=$2  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3179  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  
3180  echo "configure:1952: checking for $ac_word" >&5  depcc="$CXX"  am_compiler_list=
3181  if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then  
3182    echo $ac_n "(cached) $ac_c" 1>&6  echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3183  else  echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3184    if test -n "$LEX"; then  if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3185    ac_cv_prog_LEX="$LEX" # Let the user override the test.    echo $ECHO_N "(cached) $ECHO_C" >&6
3186  else  else
3187    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3188    ac_dummy="$PATH"    # We make a subdir and do the tests there.  Otherwise we can end up
3189    for ac_dir in $ac_dummy; do    # making bogus files that we don't know about and never remove.  For
3190      test -z "$ac_dir" && ac_dir=.    # instance it was reported that on HP-UX the gcc test will end up
3191      if test -f $ac_dir/$ac_word; then    # making a dummy file named `D' -- because `-MD' means `put the output
3192        ac_cv_prog_LEX="$ac_prog"    # in D'.
3193      mkdir conftest.dir
3194      # Copy depcomp to subdir because otherwise we won't find it if we're
3195      # using a relative directory.
3196      cp "$am_depcomp" conftest.dir
3197      cd conftest.dir
3198    
3199      am_cv_CXX_dependencies_compiler_type=none
3200      if test "$am_compiler_list" = ""; then
3201         am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3202      fi
3203      for depmode in $am_compiler_list; do
3204        # We need to recreate these files for each test, as the compiler may
3205        # overwrite some of them when testing with obscure command lines.
3206        # This happens at least with the AIX C compiler.
3207        echo '#include "conftest.h"' > conftest.c
3208        echo 'int i;' > conftest.h
3209        echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
3210    
3211        case $depmode in
3212        nosideeffect)
3213          # after this tag, mechanisms are not by side-effect, so they'll
3214          # only be used when explicitly requested
3215          if test "x$enable_dependency_tracking" = xyes; then
3216            continue
3217          else
3218            break
3219          fi
3220          ;;
3221        none) break ;;
3222        esac
3223        # We check with `-c' and `-o' for the sake of the "dashmstdout"
3224        # mode.  It turns out that the SunPro C++ compiler does not properly
3225        # handle `-M -o', and we need to detect this.
3226        if depmode=$depmode \
3227           source=conftest.c object=conftest.o \
3228           depfile=conftest.Po tmpdepfile=conftest.TPo \
3229           $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
3230           grep conftest.h conftest.Po > /dev/null 2>&1 &&
3231           ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3232          am_cv_CXX_dependencies_compiler_type=$depmode
3233        break        break
3234      fi      fi
3235    done    done
3236    IFS="$ac_save_ifs"  
3237      cd ..
3238      rm -rf conftest.dir
3239    else
3240      am_cv_CXX_dependencies_compiler_type=none
3241  fi  fi
3242    
3243  fi  fi
3244  LEX="$ac_cv_prog_LEX"  echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3245  if test -n "$LEX"; then  echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3246    echo "$ac_t""$LEX" 1>&6  CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3247    
3248    
3249    
3250    if
3251      test "x$enable_dependency_tracking" != xno \
3252      && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3253      am__fastdepCXX_TRUE=
3254      am__fastdepCXX_FALSE='#'
3255  else  else
3256    echo "$ac_t""no" 1>&6    am__fastdepCXX_TRUE='#'
3257      am__fastdepCXX_FALSE=
3258  fi  fi
3259    
 test -n "$LEX" && break  
 done  
 test -n "$LEX" || LEX=""$missing_dir/missing flex""  
3260    
3261  # Extract the first word of "flex", so it can be a program name with args.  
3262  set dummy flex; ac_word=$2  for ac_prog in flex lex
3263  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  do
3264  echo "configure:1985: checking for $ac_word" >&5    # Extract the first word of "$ac_prog", so it can be a program name with args.
3265  if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then  set dummy $ac_prog; ac_word=$2
3266    echo $ac_n "(cached) $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
3267    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3268    if test "${ac_cv_prog_LEX+set}" = set; then
3269      echo $ECHO_N "(cached) $ECHO_C" >&6
3270  else  else
3271    if test -n "$LEX"; then    if test -n "$LEX"; then
3272    ac_cv_prog_LEX="$LEX" # Let the user override the test.    ac_cv_prog_LEX="$LEX" # Let the user override the test.
3273  else  else
3274    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3275    ac_dummy="$PATH"  for as_dir in $PATH
3276    for ac_dir in $ac_dummy; do  do
3277      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
3278      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
3279        ac_cv_prog_LEX="flex"    for ac_exec_ext in '' $ac_executable_extensions; do
3280        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3281      fi      ac_cv_prog_LEX="$ac_prog"
3282    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3283    IFS="$ac_save_ifs"      break 2
3284    test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"    fi
3285    done
3286    done
3287    
3288  fi  fi
3289  fi  fi
3290  LEX="$ac_cv_prog_LEX"  LEX=$ac_cv_prog_LEX
3291  if test -n "$LEX"; then  if test -n "$LEX"; then
3292    echo "$ac_t""$LEX" 1>&6    echo "$as_me:$LINENO: result: $LEX" >&5
3293    echo "${ECHO_T}$LEX" >&6
3294  else  else
3295    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
3296    echo "${ECHO_T}no" >&6
3297  fi  fi
3298    
3299      test -n "$LEX" && break
3300    done
3301    test -n "$LEX" || LEX=":"
3302    
3303  if test -z "$LEXLIB"  if test -z "$LEXLIB"
3304  then  then
3305    case "$LEX" in    echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3306    flex*) ac_lib=fl ;;  echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3307    *) ac_lib=l ;;  if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3308    esac    echo $ECHO_N "(cached) $ECHO_C" >&6
3309    echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6  else
3310  echo "configure:2019: checking for yywrap in -l$ac_lib" >&5    ac_check_lib_save_LIBS=$LIBS
3311  ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`  LIBS="-lfl  $LIBS"
3312  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  cat >conftest.$ac_ext <<_ACEOF
3313    echo $ac_n "(cached) $ac_c" 1>&6  #line $LINENO "configure"
3314  else  /* confdefs.h.  */
3315    ac_save_LIBS="$LIBS"  _ACEOF
3316  LIBS="-l$ac_lib  $LIBS"  cat confdefs.h >>conftest.$ac_ext
3317  cat > conftest.$ac_ext <<EOF  cat >>conftest.$ac_ext <<_ACEOF
3318  #line 2027 "configure"  /* end confdefs.h.  */
3319  #include "confdefs.h"  
3320  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3321    #ifdef __cplusplus
3322    extern "C"
3323    #endif
3324  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
3325      builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
3326  char yywrap();  char yywrap ();
3327    int
3328    main ()
3329    {
3330    yywrap ();
3331      ;
3332      return 0;
3333    }
3334    _ACEOF
3335    rm -f conftest.$ac_objext conftest$ac_exeext
3336    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3337      (eval $ac_link) 2>&5
3338      ac_status=$?
3339      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3340      (exit $ac_status); } &&
3341             { ac_try='test -s conftest$ac_exeext'
3342      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3343      (eval $ac_try) 2>&5
3344      ac_status=$?
3345      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346      (exit $ac_status); }; }; then
3347      ac_cv_lib_fl_yywrap=yes
3348    else
3349      echo "$as_me: failed program was:" >&5
3350    sed 's/^/| /' conftest.$ac_ext >&5
3351    
3352    ac_cv_lib_fl_yywrap=no
3353    fi
3354    rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3355    LIBS=$ac_check_lib_save_LIBS
3356    fi
3357    echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3358    echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3359    if test $ac_cv_lib_fl_yywrap = yes; then
3360      LEXLIB="-lfl"
3361    else
3362      echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3363    echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3364    if test "${ac_cv_lib_l_yywrap+set}" = set; then
3365      echo $ECHO_N "(cached) $ECHO_C" >&6
3366    else
3367      ac_check_lib_save_LIBS=$LIBS
3368    LIBS="-ll  $LIBS"
3369    cat >conftest.$ac_ext <<_ACEOF
3370    #line $LINENO "configure"
3371    /* confdefs.h.  */
3372    _ACEOF
3373    cat confdefs.h >>conftest.$ac_ext
3374    cat >>conftest.$ac_ext <<_ACEOF
3375    /* end confdefs.h.  */
3376    
3377  int main() {  /* Override any gcc2 internal prototype to avoid an error.  */
3378  yywrap()  #ifdef __cplusplus
3379  ; return 0; }  extern "C"
3380  EOF  #endif
3381  if { (eval echo configure:2038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  /* We use char because int might match the return type of a gcc2
3382    rm -rf conftest*     builtin and then its argument prototype would still apply.  */
3383    eval "ac_cv_lib_$ac_lib_var=yes"  char yywrap ();
3384  else  int
3385    echo "configure: failed program was:" >&5  main ()
3386    cat conftest.$ac_ext >&5  {
3387    rm -rf conftest*  yywrap ();
3388    eval "ac_cv_lib_$ac_lib_var=no"    ;
3389  fi    return 0;
3390  rm -f conftest*  }
3391  LIBS="$ac_save_LIBS"  _ACEOF
3392    rm -f conftest.$ac_objext conftest$ac_exeext
3393    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3394      (eval $ac_link) 2>&5
3395      ac_status=$?
3396      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397      (exit $ac_status); } &&
3398             { ac_try='test -s conftest$ac_exeext'
3399      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3400      (eval $ac_try) 2>&5
3401      ac_status=$?
3402      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403      (exit $ac_status); }; }; then
3404      ac_cv_lib_l_yywrap=yes
3405    else
3406      echo "$as_me: failed program was:" >&5
3407    sed 's/^/| /' conftest.$ac_ext >&5
3408    
3409    ac_cv_lib_l_yywrap=no
3410  fi  fi
3411  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3412    echo "$ac_t""yes" 1>&6  LIBS=$ac_check_lib_save_LIBS
3413    LEXLIB="-l$ac_lib"  fi
3414  else  echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3415    echo "$ac_t""no" 1>&6  echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3416    if test $ac_cv_lib_l_yywrap = yes; then
3417      LEXLIB="-ll"
3418  fi  fi
3419    
3420  fi  fi
3421    
3422  echo $ac_n "checking lex output file root""... $ac_c" 1>&6  fi
3423  echo "configure:2061: checking lex output file root" >&5  
3424  if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then  if test "x$LEX" != "x:"; then
3425    echo $ac_n "(cached) $ac_c" 1>&6    echo "$as_me:$LINENO: checking lex output file root" >&5
3426    echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3427    if test "${ac_cv_prog_lex_root+set}" = set; then
3428      echo $ECHO_N "(cached) $ECHO_C" >&6
3429  else  else
3430    # The minimal lex program is just a single line: %%.  But some broken lexes    # The minimal lex program is just a single line: %%.  But some broken lexes
3431  # (Solaris, I think it was) want two %% lines, so accommodate them.  # (Solaris, I think it was) want two %% lines, so accommodate them.
3432  echo '%%  cat >conftest.l <<_ACEOF
3433  %%' | $LEX  %%
3434    %%
3435    _ACEOF
3436    { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3437      (eval $LEX conftest.l) 2>&5
3438      ac_status=$?
3439      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3440      (exit $ac_status); }
3441  if test -f lex.yy.c; then  if test -f lex.yy.c; then
3442    ac_cv_prog_lex_root=lex.yy    ac_cv_prog_lex_root=lex.yy
3443  elif test -f lexyy.c; then  elif test -f lexyy.c; then
3444    ac_cv_prog_lex_root=lexyy    ac_cv_prog_lex_root=lexyy
3445  else  else
3446    { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; }    { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3447    echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3448       { (exit 1); exit 1; }; }
3449  fi  fi
3450  fi  fi
3451    echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3452  echo "$ac_t""$ac_cv_prog_lex_root" 1>&6  echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3453    rm -f conftest.l
3454  LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root  LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3455    
3456  echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3457  echo "configure:2082: checking whether yytext is a pointer" >&5  echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3458  if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then  if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3459    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3460  else  else
3461    # POSIX says lex can declare yytext either as a pointer or an array; the    # POSIX says lex can declare yytext either as a pointer or an array; the
3462  # default is implementation-dependent. Figure out which it is, since  # default is implementation-dependent. Figure out which it is, since
3463  # not all implementations provide the %pointer and %array declarations.  # not all implementations provide the %pointer and %array declarations.
3464  ac_cv_prog_lex_yytext_pointer=no  ac_cv_prog_lex_yytext_pointer=no
3465  echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c  echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3466  ac_save_LIBS="$LIBS"  ac_save_LIBS=$LIBS
3467  LIBS="$LIBS $LEXLIB"  LIBS="$LIBS $LEXLIB"
3468  cat > conftest.$ac_ext <<EOF  cat >conftest.$ac_ext <<_ACEOF
 #line 2094 "configure"  
 #include "confdefs.h"  
3469  `cat $LEX_OUTPUT_ROOT.c`  `cat $LEX_OUTPUT_ROOT.c`
3470  int main() {  _ACEOF
3471    rm -f conftest.$ac_objext conftest$ac_exeext
3472  ; return 0; }  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3473  EOF    (eval $ac_link) 2>&5
3474  if { (eval echo configure:2101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    ac_status=$?
3475    rm -rf conftest*    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3476      (exit $ac_status); } &&
3477             { ac_try='test -s conftest$ac_exeext'
3478      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3479      (eval $ac_try) 2>&5
3480      ac_status=$?
3481      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482      (exit $ac_status); }; }; then
3483    ac_cv_prog_lex_yytext_pointer=yes    ac_cv_prog_lex_yytext_pointer=yes
3484  else  else
3485    echo "configure: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3486    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3487    
3488  fi  fi
3489  rm -f conftest*  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3490  LIBS="$ac_save_LIBS"  LIBS=$ac_save_LIBS
3491  rm -f "${LEX_OUTPUT_ROOT}.c"  rm -f "${LEX_OUTPUT_ROOT}.c"
3492    
3493  fi  fi
3494    echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3495  echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6  echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3496  if test $ac_cv_prog_lex_yytext_pointer = yes; then  if test $ac_cv_prog_lex_yytext_pointer = yes; then
3497    cat >> confdefs.h <<\EOF  
3498    cat >>confdefs.h <<\_ACEOF
3499  #define YYTEXT_POINTER 1  #define YYTEXT_POINTER 1
3500  EOF  _ACEOF
3501    
3502  fi  fi
3503    
3504    fi
3505    if test "$LEX" = :; then
3506      LEX=${am_missing_run}flex
3507    fi
3508  for ac_prog in 'bison -y' byacc  for ac_prog in 'bison -y' byacc
3509  do  do
3510  # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
3511  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
3512  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
3513  echo "configure:2127: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3514  if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then  if test "${ac_cv_prog_YACC+set}" = set; then
3515    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3516  else  else
3517    if test -n "$YACC"; then    if test -n "$YACC"; then
3518    ac_cv_prog_YACC="$YACC" # Let the user override the test.    ac_cv_prog_YACC="$YACC" # Let the user override the test.
3519  else  else
3520    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3521    ac_dummy="$PATH"  for as_dir in $PATH
3522    for ac_dir in $ac_dummy; do  do
3523      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
3524      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
3525        ac_cv_prog_YACC="$ac_prog"    for ac_exec_ext in '' $ac_executable_extensions; do
3526        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3527      fi      ac_cv_prog_YACC="$ac_prog"
3528    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3529    IFS="$ac_save_ifs"      break 2
3530      fi
3531    done
3532    done
3533    
3534  fi  fi
3535  fi  fi
3536  YACC="$ac_cv_prog_YACC"  YACC=$ac_cv_prog_YACC
3537  if test -n "$YACC"; then  if test -n "$YACC"; then
3538    echo "$ac_t""$YACC" 1>&6    echo "$as_me:$LINENO: result: $YACC" >&5
3539    echo "${ECHO_T}$YACC" >&6
3540  else  else
3541    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
3542    echo "${ECHO_T}no" >&6
3543  fi  fi
3544    
3545  test -n "$YACC" && break    test -n "$YACC" && break
3546  done  done
3547  test -n "$YACC" || YACC="yacc"  test -n "$YACC" || YACC="yacc"
3548    
# Line 2160  test -n "$YACC" || YACC="yacc" Line 3553  test -n "$YACC" || YACC="yacc"
3553  # SunOS /usr/etc/install  # SunOS /usr/etc/install
3554  # IRIX /sbin/install  # IRIX /sbin/install
3555  # AIX /bin/install  # AIX /bin/install
3556    # AmigaOS /C/install, which installs bootblocks on floppy discs
3557  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3558  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3559  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3560  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
3561  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3562  echo "configure:2169: checking for a BSD compatible install" >&5  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3563  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
3564  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then  if test "${ac_cv_path_install+set}" = set; then
3565    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3566  else  else
3567      IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568    for ac_dir in $PATH; do  for as_dir in $PATH
3569      # Account for people who put trailing slashes in PATH elements.  do
3570      case "$ac_dir/" in    IFS=$as_save_IFS
3571      /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;    test -z "$as_dir" && as_dir=.
3572      *)    # Account for people who put trailing slashes in PATH elements.
3573        # OSF1 and SCO ODT 3.0 have their own names for install.  case $as_dir/ in
3574        # Don't use installbsd from OSF since it installs stuff as root    ./ | .// | /cC/* | \
3575        # by default.    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3576        for ac_prog in ginstall scoinst install; do    /usr/ucb/* ) ;;
3577          if test -f $ac_dir/$ac_prog; then    *)
3578            if test $ac_prog = install &&      # OSF1 and SCO ODT 3.0 have their own names for install.
3579              grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then      # Don't use installbsd from OSF since it installs stuff as root
3580              # AIX install.  It has an incompatible calling convention.      # by default.
3581              :      for ac_prog in ginstall scoinst install; do
3582            else        for ac_exec_ext in '' $ac_executable_extensions; do
3583              ac_cv_path_install="$ac_dir/$ac_prog -c"          if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3584              break 2            if test $ac_prog = install &&
3585            fi              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3586          fi              # AIX install.  It has an incompatible calling convention.
3587                :
3588              elif test $ac_prog = install &&
3589                grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3590                # program-specific install script used by HP pwplus--don't use.
3591                :
3592              else
3593                ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3594                break 3
3595              fi
3596            fi
3597        done        done
3598        ;;      done
3599      esac      ;;
3600    done  esac
3601    IFS="$ac_save_IFS"  done
3602    
3603    
3604  fi  fi
3605    if test "${ac_cv_path_install+set}" = set; then    if test "${ac_cv_path_install+set}" = set; then
3606      INSTALL="$ac_cv_path_install"      INSTALL=$ac_cv_path_install
3607    else    else
3608      # As a last resort, use the slow shell script.  We don't cache a      # As a last resort, use the slow shell script.  We don't cache a
3609      # path for INSTALL within a source directory, because that will      # path for INSTALL within a source directory, because that will
3610      # break other packages using the cache if that directory is      # break other packages using the cache if that directory is
3611      # removed, or if the path is relative.      # removed, or if the path is relative.
3612      INSTALL="$ac_install_sh"      INSTALL=$ac_install_sh
3613    fi    fi
3614  fi  fi
3615  echo "$ac_t""$INSTALL" 1>&6  echo "$as_me:$LINENO: result: $INSTALL" >&5
3616    echo "${ECHO_T}$INSTALL" >&6
3617    
3618  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3619  # It thinks the first close brace ends the variable substitution.  # It thinks the first close brace ends the variable substitution.
3620  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3621    
3622  test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'  test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3623    
3624  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3625    
3626  echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3627  echo "configure:2222: checking whether ${MAKE-make} sets \${MAKE}" >&5  echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3628  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
3629  if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3630    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3631  else  else
3632    cat > conftestmake <<\EOF    cat >conftest.make <<\_ACEOF
3633  all:  all:
3634          @echo 'ac_maketemp="${MAKE}"'          @echo 'ac_maketemp="$(MAKE)"'
3635  EOF  _ACEOF
3636  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3637  eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`  eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3638  if test -n "$ac_maketemp"; then  if test -n "$ac_maketemp"; then
3639    eval ac_cv_prog_make_${ac_make}_set=yes    eval ac_cv_prog_make_${ac_make}_set=yes
3640  else  else
3641    eval ac_cv_prog_make_${ac_make}_set=no    eval ac_cv_prog_make_${ac_make}_set=no
3642  fi  fi
3643  rm -f conftestmake  rm -f conftest.make
3644  fi  fi
3645  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3646    echo "$ac_t""yes" 1>&6    echo "$as_me:$LINENO: result: yes" >&5
3647    echo "${ECHO_T}yes" >&6
3648    SET_MAKE=    SET_MAKE=
3649  else  else
3650    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
3651    echo "${ECHO_T}no" >&6
3652    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
3653  fi  fi
3654    
3655  # Find the correct PATH separator.  Usually this is `:', but  #AM_PROG_LIBTOOL
 # DJGPP uses `;' like DOS.  
 if test "X${PATH_SEPARATOR+set}" != Xset; then  
   UNAME=${UNAME-`uname 2>/dev/null`}  
   case X$UNAME in  
     *-DOS) lt_cv_sys_path_separator=';' ;;  
     *)     lt_cv_sys_path_separator=':' ;;  
   esac  
   PATH_SEPARATOR=$lt_cv_sys_path_separator  
 fi  
3656    
3657  echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6  ALL_LINGUAS="fr pl hu ja es sv ca cs nl de sk it ru"
3658  echo "configure:2260: checking for Cygwin environment" >&5  
3659  if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then          MKINSTALLDIRS=
3660    echo $ac_n "(cached) $ac_c" 1>&6    if test -n "$ac_aux_dir"; then
3661  else      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
3662    cat > conftest.$ac_ext <<EOF    fi
3663  #line 2265 "configure"    if test -z "$MKINSTALLDIRS"; then
3664  #include "confdefs.h"      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
3665      fi
3666    
 int main() {  
3667    
 #ifndef __CYGWIN__  
 #define __CYGWIN__ __CYGWIN32__  
 #endif  
 return __CYGWIN__;  
 ; return 0; }  
 EOF  
 if { (eval echo configure:2276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
   rm -rf conftest*  
   ac_cv_cygwin=yes  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   ac_cv_cygwin=no  
 fi  
 rm -f conftest*  
 rm -f conftest*  
 fi  
3668    
3669  echo "$ac_t""$ac_cv_cygwin" 1>&6  
3670  CYGWIN=  
3671  test "$ac_cv_cygwin" = yes && CYGWIN=yes          # Extract the first word of "msgfmt", so it can be a program name with args.
3672  echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6  set dummy msgfmt; ac_word=$2
3673  echo "configure:2293: checking for mingw32 environment" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
3674  if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3675    echo $ac_n "(cached) $ac_c" 1>&6  if test "${ac_cv_path_MSGFMT+set}" = set; then
3676  else    echo $ECHO_N "(cached) $ECHO_C" >&6
3677    cat > conftest.$ac_ext <<EOF  else
3678  #line 2298 "configure"    case "$MSGFMT" in
3679  #include "confdefs.h"    /*)
3680      ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3681  int main() {    ;;
3682  return __MINGW32__;    *)
3683  ; return 0; }    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
3684  EOF    for ac_dir in $PATH; do
3685  if { (eval echo configure:2305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then      test -z "$ac_dir" && ac_dir=.
3686    rm -rf conftest*      if test -f $ac_dir/$ac_word; then
3687    ac_cv_mingw32=yes        if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
3688  else       (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3689    echo "configure: failed program was:" >&5          ac_cv_path_MSGFMT="$ac_dir/$ac_word"
3690    cat conftest.$ac_ext >&5          break
3691    rm -rf conftest*        fi
3692    ac_cv_mingw32=no      fi
3693      done
3694      IFS="$ac_save_ifs"
3695      test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
3696      ;;
3697    esac
3698  fi  fi
3699  rm -f conftest*  MSGFMT="$ac_cv_path_MSGFMT"
3700  rm -f conftest*  if test "$MSGFMT" != ":"; then
3701      echo "$as_me:$LINENO: result: $MSGFMT" >&5
3702    echo "${ECHO_T}$MSGFMT" >&6
3703    else
3704      echo "$as_me:$LINENO: result: no" >&5
3705    echo "${ECHO_T}no" >&6
3706  fi  fi
3707    
3708  echo "$ac_t""$ac_cv_mingw32" 1>&6    # Extract the first word of "gmsgfmt", so it can be a program name with args.
3709  MINGW32=  set dummy gmsgfmt; ac_word=$2
3710  test "$ac_cv_mingw32" = yes && MINGW32=yes  echo "$as_me:$LINENO: checking for $ac_word" >&5
3711  # Check whether --enable-shared or --disable-shared was given.  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3712  if test "${enable_shared+set}" = set; then  if test "${ac_cv_path_GMSGFMT+set}" = set; then
3713    enableval="$enable_shared"    echo $ECHO_N "(cached) $ECHO_C" >&6
3714    p=${PACKAGE-default}  else
3715  case $enableval in    case $GMSGFMT in
3716  yes) enable_shared=yes ;;    [\\/]* | ?:[\\/]*)
3717  no) enable_shared=no ;;    ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3718  *)    ;;
3719    enable_shared=no    *)
3720    # Look at the argument we got.  We use all the common list separators.    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3721    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"  for as_dir in $PATH
3722    for pkg in $enableval; do  do
3723      if test "X$pkg" = "X$p"; then    IFS=$as_save_IFS
3724        enable_shared=yes    test -z "$as_dir" && as_dir=.
3725      for ac_exec_ext in '' $ac_executable_extensions; do
3726      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3727        ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3728        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3729        break 2
3730    fi    fi
3731    done  done
3732    IFS="$ac_save_ifs"  done
3733    
3734      test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
3735    ;;    ;;
3736  esac  esac
3737    fi
3738    GMSGFMT=$ac_cv_path_GMSGFMT
3739    
3740    if test -n "$GMSGFMT"; then
3741      echo "$as_me:$LINENO: result: $GMSGFMT" >&5
3742    echo "${ECHO_T}$GMSGFMT" >&6
3743  else  else
3744    enable_shared=yes    echo "$as_me:$LINENO: result: no" >&5
3745    echo "${ECHO_T}no" >&6
3746  fi  fi
3747    
3748  # Check whether --enable-static or --disable-static was given.  
3749  if test "${enable_static+set}" = set; then          # Extract the first word of "xgettext", so it can be a program name with args.
3750    enableval="$enable_static"  set dummy xgettext; ac_word=$2
3751    p=${PACKAGE-default}  echo "$as_me:$LINENO: checking for $ac_word" >&5
3752  case $enableval in  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3753  yes) enable_static=yes ;;  if test "${ac_cv_path_XGETTEXT+set}" = set; then
3754  no) enable_static=no ;;    echo $ECHO_N "(cached) $ECHO_C" >&6
3755  *)  else
3756    enable_static=no    case "$XGETTEXT" in
3757    # Look at the argument we got.  We use all the common list separators.    /*)
3758    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3759    for pkg in $enableval; do    ;;
3760      if test "X$pkg" = "X$p"; then    *)
3761        enable_static=yes    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
3762      for ac_dir in $PATH; do
3763        test -z "$ac_dir" && ac_dir=.
3764        if test -f $ac_dir/$ac_word; then
3765          if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 &&
3766         (if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3767            ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
3768            break
3769          fi
3770      fi      fi
3771    done    done
3772    IFS="$ac_save_ifs"    IFS="$ac_save_ifs"
3773      test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
3774    ;;    ;;
3775  esac  esac
3776    fi
3777    XGETTEXT="$ac_cv_path_XGETTEXT"
3778    if test "$XGETTEXT" != ":"; then
3779      echo "$as_me:$LINENO: result: $XGETTEXT" >&5
3780    echo "${ECHO_T}$XGETTEXT" >&6
3781  else  else
3782    enable_static=yes    echo "$as_me:$LINENO: result: no" >&5
3783    echo "${ECHO_T}no" >&6
3784  fi  fi
3785    
3786  # Check whether --enable-fast-install or --disable-fast-install was given.      rm -f messages.po
3787  if test "${enable_fast_install+set}" = set; then  
3788    enableval="$enable_fast_install"      # Extract the first word of "msgmerge", so it can be a program name with args.
3789    p=${PACKAGE-default}  set dummy msgmerge; ac_word=$2
3790  case $enableval in  echo "$as_me:$LINENO: checking for $ac_word" >&5
3791  yes) enable_fast_install=yes ;;  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3792  no) enable_fast_install=no ;;  if test "${ac_cv_path_MSGMERGE+set}" = set; then
3793  *)    echo $ECHO_N "(cached) $ECHO_C" >&6
3794    enable_fast_install=no  else
3795    # Look at the argument we got.  We use all the common list separators.    case "$MSGMERGE" in
3796    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"    /*)
3797    for pkg in $enableval; do    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3798      if test "X$pkg" = "X$p"; then    ;;
3799        enable_fast_install=yes    *)
3800      IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
3801      for ac_dir in $PATH; do
3802        test -z "$ac_dir" && ac_dir=.
3803        if test -f $ac_dir/$ac_word; then
3804          if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
3805            ac_cv_path_MSGMERGE="$ac_dir/$ac_word"
3806            break
3807          fi
3808      fi      fi
3809    done    done
3810    IFS="$ac_save_ifs"    IFS="$ac_save_ifs"
3811      test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
3812    ;;    ;;
3813  esac  esac
3814    fi
3815    MSGMERGE="$ac_cv_path_MSGMERGE"
3816    if test "$MSGMERGE" != ":"; then
3817      echo "$as_me:$LINENO: result: $MSGMERGE" >&5
3818    echo "${ECHO_T}$MSGMERGE" >&6
3819  else  else
3820    enable_fast_install=yes    echo "$as_me:$LINENO: result: no" >&5
3821    echo "${ECHO_T}no" >&6
3822  fi  fi
3823    
3824    
3825          if test "$GMSGFMT" != ":"; then
3826                if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
3827           (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3828          : ;
3829        else
3830          GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
3831          echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
3832    echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
3833          GMSGFMT=":"
3834        fi
3835      fi
3836    
3837          if test "$XGETTEXT" != ":"; then
3838                if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 &&
3839           (if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3840          : ;
3841        else
3842          echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
3843    echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
3844          XGETTEXT=":"
3845        fi
3846            rm -f messages.po
3847      fi
3848    
3849                ac_config_commands="$ac_config_commands default-1"
3850    
3851    
3852    
3853          if test "X$prefix" = "XNONE"; then
3854        acl_final_prefix="$ac_default_prefix"
3855      else
3856        acl_final_prefix="$prefix"
3857      fi
3858      if test "X$exec_prefix" = "XNONE"; then
3859        acl_final_exec_prefix='${prefix}'
3860      else
3861        acl_final_exec_prefix="$exec_prefix"
3862      fi
3863      acl_save_prefix="$prefix"
3864      prefix="$acl_final_prefix"
3865      eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
3866      prefix="$acl_save_prefix"
3867    
3868    
3869  # Check whether --with-gnu-ld or --without-gnu-ld was given.  # Check whether --with-gnu-ld or --without-gnu-ld was given.
3870  if test "${with_gnu_ld+set}" = set; then  if test "${with_gnu_ld+set}" = set; then
3871    withval="$with_gnu_ld"    withval="$with_gnu_ld"
3872    test "$withval" = no || with_gnu_ld=yes    test "$withval" = no || with_gnu_ld=yes
3873  else  else
3874    with_gnu_ld=no    with_gnu_ld=no
3875  fi  fi;
   
3876  ac_prog=ld  ac_prog=ld
3877  if test "$GCC" = yes; then  if test "$GCC" = yes; then
3878    # Check if gcc -print-prog-name=ld gives a path.    # Check if gcc -print-prog-name=ld gives a path.
3879    echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6    echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3880  echo "configure:2402: checking for ld used by GCC" >&5  echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3881    case $host in    case $host in
3882    *-*-mingw*)    *-*-mingw*)
3883      # gcc leaves a trailing carriage return which upsets mingw      # gcc leaves a trailing carriage return which upsets mingw
# Line 2427  echo "configure:2402: checking for ld us Line 3906  echo "configure:2402: checking for ld us
3906      ;;      ;;
3907    esac    esac
3908  elif test "$with_gnu_ld" = yes; then  elif test "$with_gnu_ld" = yes; then
3909    echo $ac_n "checking for GNU ld""... $ac_c" 1>&6    echo "$as_me:$LINENO: checking for GNU ld" >&5
3910  echo "configure:2432: checking for GNU ld" >&5  echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3911  else  else
3912    echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6    echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3913  echo "configure:2435: checking for non-GNU ld" >&5  echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3914  fi  fi
3915  if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then  if test "${acl_cv_path_LD+set}" = set; then
3916    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3917  else  else
3918    if test -z "$LD"; then    if test -z "$LD"; then
3919    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3920    for ac_dir in $PATH; do    for ac_dir in $PATH; do
3921      test -z "$ac_dir" && ac_dir=.      test -z "$ac_dir" && ac_dir=.
3922      if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then      if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3923        lt_cv_path_LD="$ac_dir/$ac_prog"        acl_cv_path_LD="$ac_dir/$ac_prog"
3924        # Check to see if the program is GNU ld.  I'd rather use --version,        # Check to see if the program is GNU ld.  I'd rather use --version,
3925        # but apparently some GNU ld's only accept -v.        # but apparently some GNU ld's only accept -v.
3926        # Break only if it was the GNU/non-GNU ld that we prefer.        # Break only if it was the GNU/non-GNU ld that we prefer.
3927        if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then        if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3928          test "$with_gnu_ld" != no && break          test "$with_gnu_ld" != no && break
3929        else        else
3930          test "$with_gnu_ld" != yes && break          test "$with_gnu_ld" != yes && break
# Line 2454  else Line 3933  else
3933    done    done
3934    IFS="$ac_save_ifs"    IFS="$ac_save_ifs"
3935  else  else
3936    lt_cv_path_LD="$LD" # Let the user override the test with a path.    acl_cv_path_LD="$LD" # Let the user override the test with a path.
3937  fi  fi
3938  fi  fi
3939    
3940  LD="$lt_cv_path_LD"  LD="$acl_cv_path_LD"
3941  if test -n "$LD"; then  if test -n "$LD"; then
3942    echo "$ac_t""$LD" 1>&6    echo "$as_me:$LINENO: result: $LD" >&5
3943    echo "${ECHO_T}$LD" >&6
3944  else  else
3945    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
3946    echo "${ECHO_T}no" >&6
3947  fi  fi
3948  test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }  test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3949  echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6  echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3950  echo "configure:2470: checking if the linker ($LD) is GNU ld" >&5     { (exit 1); exit 1; }; }
3951  if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then  echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3952    echo $ac_n "(cached) $ac_c" 1>&6  echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3953    if test "${acl_cv_prog_gnu_ld+set}" = set; then
3954      echo $ECHO_N "(cached) $ECHO_C" >&6
3955  else  else
3956    # I'd rather use --version here, but apparently some GNU ld's only accept -v.    # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3957  if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then  if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3958    lt_cv_prog_gnu_ld=yes    acl_cv_prog_gnu_ld=yes
3959  else  else
3960    lt_cv_prog_gnu_ld=no    acl_cv_prog_gnu_ld=no
3961  fi  fi
3962  fi  fi
3963    echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
3964    echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
3965    with_gnu_ld=$acl_cv_prog_gnu_ld
3966    
 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6  
 with_gnu_ld=$lt_cv_prog_gnu_ld  
3967    
3968    
3969  echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6                                                  echo "$as_me:$LINENO: checking for shared library run path origin" >&5
3970  echo "configure:2487: checking for $LD option to reload object files" >&5  echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
3971  if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then  if test "${acl_cv_rpath+set}" = set; then
3972    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3973  else  else
   lt_cv_ld_reload_flag='-r'  
 fi  
3974    
3975  echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6      CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
3976  reload_flag=$lt_cv_ld_reload_flag      ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
3977  test -n "$reload_flag" && reload_flag=" $reload_flag"      . ./conftest.sh
3978        rm -f ./conftest.sh
3979        acl_cv_rpath=done
3980    
 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6  
 echo "configure:2499: checking for BSD-compatible nm" >&5  
 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   if test -n "$NM"; then  
   # Let the user override the test.  
   lt_cv_path_NM="$NM"  
 else  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR  
   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do  
     test -z "$ac_dir" && ac_dir=.  
     tmp_nm=$ac_dir/${ac_tool_prefix}nm  
     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then  
       # Check to see if the nm accepts a BSD-compat flag.  
       # Adding the `sed 1q' prevents false positives on HP-UX, which says:  
       #   nm: unknown option "B" ignored  
       # Tru64's nm complains that /dev/null is an invalid object file  
       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then  
         lt_cv_path_NM="$tmp_nm -B"  
         break  
       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then  
         lt_cv_path_NM="$tmp_nm -p"  
         break  
       else  
         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but  
         continue # so that we can try to find one that supports BSD flags  
      fi  
   fi  
   done  
   IFS="$ac_save_ifs"  
   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm  
 fi  
3981  fi  fi
3982    echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
3983  NM="$lt_cv_path_NM"  echo "${ECHO_T}$acl_cv_rpath" >&6
3984  echo "$ac_t""$NM" 1>&6    wl="$acl_cv_wl"
3985      libext="$acl_cv_libext"
3986  echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6    shlibext="$acl_cv_shlibext"
3987  echo "configure:2537: checking how to recognise dependant libraries" >&5    hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
3988  if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then    hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
3989    echo $ac_n "(cached) $ac_c" 1>&6    hardcode_direct="$acl_cv_hardcode_direct"
3990  else    hardcode_minus_L="$acl_cv_hardcode_minus_L"
3991    lt_cv_file_magic_cmd='$MAGIC_CMD'    sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec"
3992  lt_cv_file_magic_test_file=    sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec"
3993  lt_cv_deplibs_check_method='unknown'      # Check whether --enable-rpath or --disable-rpath was given.
3994  # Need to set the preceding variable on all platforms that support  if test "${enable_rpath+set}" = set; then
3995  # interlibrary dependencies.    enableval="$enable_rpath"
3996  # 'none' -- dependencies not supported.    :
 # `unknown' -- same as none, but documents that we really don't know.  
 # 'pass_all' -- all dependencies passed with no checks.  
 # 'test_compile' -- check by making test program.  
 # 'file_magic [[regex]]' -- check by looking for files in library path  
 # which responds to the $file_magic_cmd with a given egrep regex.  
 # If you have `file' or equivalent on your system and you're not sure  
 # whether `pass_all' will *always* work, you probably want this one.  
   
 case $host_os in  
 aix4* | aix5*)  
   lt_cv_deplibs_check_method=pass_all  
   ;;  
   
 beos*)  
   lt_cv_deplibs_check_method=pass_all  
   ;;  
   
 bsdi4*)  
   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'  
   lt_cv_file_magic_cmd='/usr/bin/file -L'  
   lt_cv_file_magic_test_file=/shlib/libc.so  
   ;;  
   
 cygwin* | mingw* | pw32*)  
   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'  
   lt_cv_file_magic_cmd='$OBJDUMP -f'  
   ;;  
   
 darwin* | rhapsody*)  
   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'  
   lt_cv_file_magic_cmd='/usr/bin/file -L'  
   case "$host_os" in  
   rhapsody* | darwin1.[012])  
     lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`  
     ;;  
   *) # Darwin 1.3 on  
     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'  
     ;;  
   esac  
   ;;  
   
 freebsd*)  
   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then  
     case $host_cpu in  
     i*86 )  
       # Not sure whether the presence of OpenBSD here was a mistake.  
       # Let's accept both of them until this is cleared up.  
       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'  
       lt_cv_file_magic_cmd=/usr/bin/file  
       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`  
       ;;  
     esac  
   else  
     lt_cv_deplibs_check_method=pass_all  
   fi  
   ;;  
   
 gnu*)  
   lt_cv_deplibs_check_method=pass_all  
   ;;  
   
 hpux10.20*|hpux11*)  
   lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'  
   lt_cv_file_magic_cmd=/usr/bin/file  
   lt_cv_file_magic_test_file=/usr/lib/libc.sl  
   ;;  
   
 irix5* | irix6*)  
   case $host_os in  
   irix5*)  
     # this will be overridden with pass_all, but let us keep it just in case  
     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"  
             ;;  
          *)  
     case $LD in  
     *-32|*"-32 ") libmagic=32-bit;;  
     *-n32|*"-n32 ") libmagic=N32;;  
     *-64|*"-64 ") libmagic=64-bit;;  
     *) libmagic=never-match;;  
     esac  
     # this will be overridden with pass_all, but let us keep it just in case  
     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"  
     ;;  
   esac  
   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`  
   lt_cv_deplibs_check_method=pass_all  
             ;;  
   
 # This must be Linux ELF.  
 linux-gnu*)  
   case $host_cpu in  
   alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )  
     lt_cv_deplibs_check_method=pass_all ;;  
   *)  
     # glibc up to 2.1.1 does not perform some relocations on ARM  
     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;  
         esac  
   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`  
   ;;  
   
 netbsd*)  
   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then  
     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'  
   else  
     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'  
         fi  
   ;;  
   
 newos6*)  
   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'  
   lt_cv_file_magic_cmd=/usr/bin/file  
   lt_cv_file_magic_test_file=/usr/lib/libnls.so  
   ;;  
   
 openbsd*)  
   lt_cv_file_magic_cmd=/usr/bin/file  
   lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`  
   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then  
     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'  
   else  
     lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'  
         fi  
   ;;  
   
 osf3* | osf4* | osf5*)  
   # this will be overridden with pass_all, but let us keep it just in case  
   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'  
   lt_cv_file_magic_test_file=/shlib/libc.so  
   lt_cv_deplibs_check_method=pass_all  
   ;;  
   
 sco3.2v5*)  
   lt_cv_deplibs_check_method=pass_all  
   ;;  
   
 solaris*)  
   lt_cv_deplibs_check_method=pass_all  
   lt_cv_file_magic_test_file=/lib/libc.so  
   ;;  
   
 sysv5uw[78]* | sysv4*uw2*)  
   lt_cv_deplibs_check_method=pass_all  
   ;;  
   
 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)  
   case $host_vendor in  
   motorola)  
     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'  
     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`  
     ;;  
   ncr)  
     lt_cv_deplibs_check_method=pass_all  
     ;;  
   sequent)  
     lt_cv_file_magic_cmd='/bin/file'  
     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'  
     ;;  
   sni)  
     lt_cv_file_magic_cmd='/bin/file'  
     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"  
     lt_cv_file_magic_test_file=/lib/libc.so  
          ;;  
       esac  
   ;;  
 esac  
   
 fi  
   
 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6  
 file_magic_cmd=$lt_cv_file_magic_cmd  
 deplibs_check_method=$lt_cv_deplibs_check_method  
   
 echo $ac_n "checking for object suffix""... $ac_c" 1>&6  
 echo "configure:2720: checking for object suffix" >&5  
 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   rm -f conftest*  
 echo 'int i = 1;' > conftest.$ac_ext  
 if { (eval echo configure:2726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
   for ac_file in conftest.*; do  
     case $ac_file in  
     *.c) ;;  
     *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;  
     esac  
   done  
3997  else  else
3998    { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }    enable_rpath=yes
3999  fi  fi;
 rm -f conftest*  
 fi  
   
 echo "$ac_t""$ac_cv_objext" 1>&6  
 OBJEXT=$ac_cv_objext  
 ac_objext=$ac_cv_objext  
4000    
4001    
4002    
 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6  
 echo "configure:2746: checking for executable suffix" >&5  
 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   if test "$CYGWIN" = yes || test "$MINGW32" = yes; then  
   ac_cv_exeext=.exe  
 else  
   rm -f conftest*  
   echo 'int main () { return 0; }' > conftest.$ac_ext  
   ac_cv_exeext=  
   if { (eval echo configure:2756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then  
     for file in conftest.*; do  
       case $file in  
       *.c | *.o | *.obj) ;;  
       *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;  
       esac  
     done  
   else  
     { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }  
   fi  
   rm -f conftest*  
   test x"${ac_cv_exeext}" = x && ac_cv_exeext=no  
 fi  
 fi  
   
 EXEEXT=""  
 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}  
 echo "$ac_t""${ac_cv_exeext}" 1>&6  
 ac_exeext=$EXEEXT  
   
 if test $host != $build; then  
   ac_tool_prefix=${host_alias}-  
 else  
   ac_tool_prefix=  
 fi  
   
   
4003    
4004    
 # Check for command to grab the raw symbol name followed by C symbol from nm.  
 echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6  
 echo "configure:2787: checking command to parse $NM output" >&5  
 if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
     
 # These are sane defaults that work on at least a few old systems.  
 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]  
4005    
 # Character class describing NM global symbol codes.  
 symcode='[BCDEGRST]'  
4006    
4007  # Regexp to match symbols that can be accessed directly from C.      use_additional=yes
 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'  
4008    
4009  # Transform the above into a raw symbol and a C symbol.    acl_save_prefix="$prefix"
4010  symxfrm='\1 \2\3 \3'    prefix="$acl_final_prefix"
4011      acl_save_exec_prefix="$exec_prefix"
4012      exec_prefix="$acl_final_exec_prefix"
4013    
4014  # Transform an extracted symbol line into a proper C declaration      eval additional_includedir=\"$includedir\"
4015  lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"      eval additional_libdir=\"$libdir\"
4016    
4017  # Transform an extracted symbol line into symbol name and symbol address    exec_prefix="$acl_save_exec_prefix"
4018  lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"    prefix="$acl_save_prefix"
4019    
 # Define system-specific variables.  
 case $host_os in  
 aix*)  
   symcode='[BCDT]'  
   ;;  
 cygwin* | mingw* | pw32*)  
   symcode='[ABCDGISTW]'  
   ;;  
 hpux*) # Its linker distinguishes data from code symbols  
   lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"  
   lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"  
   ;;  
 irix*)  
   symcode='[BCDEGRST]'  
   ;;  
 solaris* | sysv5*)  
   symcode='[BDT]'  
   ;;  
 sysv4)  
   symcode='[DFNSTU]'  
   ;;  
 esac  
4020    
4021  # Handle CRLF in mingw tool chain  # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
4022  opt_cr=  if test "${with_libiconv_prefix+set}" = set; then
4023  case $host_os in    withval="$with_libiconv_prefix"
 mingw*)  
   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp  
   ;;  
 esac  
4024    
4025  # If we're using GNU nm, then use its standard symbol codes.      if test "X$withval" = "Xno"; then
4026  if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then        use_additional=no
4027    symcode='[ABCDGISTW]'      else
4028  fi        if test "X$withval" = "X"; then
4029    
4030  # Try without a prefix undercore, then with it.    acl_save_prefix="$prefix"
4031  for ac_symprfx in "" "_"; do    prefix="$acl_final_prefix"
4032      acl_save_exec_prefix="$exec_prefix"
4033      exec_prefix="$acl_final_exec_prefix"
4034    
4035    # Write the raw and C identifiers.            eval additional_includedir=\"$includedir\"
4036  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[         ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"            eval additional_libdir=\"$libdir\"
4037    
4038    # Check to see that the pipe works correctly.    exec_prefix="$acl_save_exec_prefix"
4039    pipe_works=no    prefix="$acl_save_prefix"
   rm -f conftest*  
   cat > conftest.$ac_ext <<EOF  
 #ifdef __cplusplus  
 extern "C" {  
 #endif  
 char nm_test_var;  
 void nm_test_func(){}  
 #ifdef __cplusplus  
 }  
 #endif  
 int main(){nm_test_var='a';nm_test_func();return(0);}  
 EOF  
4040    
   if { (eval echo configure:2867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
     # Now try to grab the symbols.  
     nlist=conftest.nm  
     if { (eval echo configure:2870: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then  
       # Try sorting and uniquifying the output.  
       if sort "$nlist" | uniq > "$nlist"T; then  
         mv -f "$nlist"T "$nlist"  
4041        else        else
4042          rm -f "$nlist"T          additional_includedir="$withval/include"
4043            additional_libdir="$withval/lib"
4044        fi        fi
4045        fi
4046    
4047        # Make sure that we snagged all the symbols we need.  fi;
4048        if egrep ' nm_test_var$' "$nlist" >/dev/null; then        LIBICONV=
4049          if egrep ' nm_test_func$' "$nlist" >/dev/null; then    LTLIBICONV=
4050            cat <<EOF > conftest.$ac_ext    INCICONV=
4051  #ifdef __cplusplus    rpathdirs=
4052  extern "C" {    ltrpathdirs=
4053  #endif    names_already_handled=
4054      names_next_round='iconv '
4055  EOF    while test -n "$names_next_round"; do
4056            # Now generate the symbol file.      names_this_round="$names_next_round"
4057            eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'      names_next_round=
4058        for name in $names_this_round; do
4059            cat <<EOF >> conftest.$ac_ext        already_handled=
4060  #if defined (__STDC__) && __STDC__        for n in $names_already_handled; do
4061  # define lt_ptr void *          if test "$n" = "$name"; then
4062  #else            already_handled=yes
4063  # define lt_ptr char *            break
4064  # define const          fi
4065  #endif        done
4066          if test -z "$already_handled"; then
4067  /* The mapping between symbol names and symbols. */          names_already_handled="$names_already_handled $name"
4068  const struct {                          uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4069    const char *name;          eval value=\"\$HAVE_LIB$uppername\"
4070    lt_ptr address;          if test -n "$value"; then
4071  }            if test "$value" = yes; then
4072  lt_preloaded_symbols[] =              eval value=\"\$LIB$uppername\"
4073  {              test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
4074  EOF              eval value=\"\$LTLIB$uppername\"
4075            sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext              test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
4076            cat <<\EOF >> conftest.$ac_ext            else
4077    {0, (lt_ptr) 0}                                      :
4078  };            fi
4079            else
4080  #ifdef __cplusplus                                found_dir=
4081  }            found_la=
4082  #endif            found_so=
4083  EOF            found_a=
4084            # Now try linking the two files.            if test $use_additional = yes; then
4085            mv conftest.$ac_objext conftstm.$ac_objext              if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
4086            save_LIBS="$LIBS"                found_dir="$additional_libdir"
4087            save_CFLAGS="$CFLAGS"                found_so="$additional_libdir/lib$name.$shlibext"
4088            LIBS="conftstm.$ac_objext"                if test -f "$additional_libdir/lib$name.la"; then
4089            CFLAGS="$CFLAGS$no_builtin_flag"                  found_la="$additional_libdir/lib$name.la"
4090            if { (eval echo configure:2921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then                fi
4091              pipe_works=yes              else
4092            fi                if test -f "$additional_libdir/lib$name.$libext"; then
4093            LIBS="$save_LIBS"                  found_dir="$additional_libdir"
4094            CFLAGS="$save_CFLAGS"                  found_a="$additional_libdir/lib$name.$libext"
4095          else                  if test -f "$additional_libdir/lib$name.la"; then
4096            echo "cannot find nm_test_func in $nlist" >&5                    found_la="$additional_libdir/lib$name.la"
4097          fi                  fi
4098        else                fi
4099          echo "cannot find nm_test_var in $nlist" >&5              fi
4100              fi
4101              if test "X$found_dir" = "X"; then
4102                for x in $LDFLAGS $LTLIBICONV; do
4103    
4104      acl_save_prefix="$prefix"
4105      prefix="$acl_final_prefix"
4106      acl_save_exec_prefix="$exec_prefix"
4107      exec_prefix="$acl_final_exec_prefix"
4108      eval x=\"$x\"
4109      exec_prefix="$acl_save_exec_prefix"
4110      prefix="$acl_save_prefix"
4111    
4112                  case "$x" in
4113                    -L*)
4114                      dir=`echo "X$x" | sed -e 's/^X-L//'`
4115                      if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
4116                        found_dir="$dir"
4117                        found_so="$dir/lib$name.$shlibext"
4118                        if test -f "$dir/lib$name.la"; then
4119                          found_la="$dir/lib$name.la"
4120                        fi
4121                      else
4122                        if test -f "$dir/lib$name.$libext"; then
4123                          found_dir="$dir"
4124                          found_a="$dir/lib$name.$libext"
4125                          if test -f "$dir/lib$name.la"; then
4126                            found_la="$dir/lib$name.la"
4127                          fi
4128                        fi
4129                      fi
4130                      ;;
4131                  esac
4132                  if test "X$found_dir" != "X"; then
4133                    break
4134                  fi
4135                done
4136              fi
4137              if test "X$found_dir" != "X"; then
4138                            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
4139                if test "X$found_so" != "X"; then
4140                                                            if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
4141                                    LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4142                  else
4143                                                                                    haveit=
4144                    for x in $ltrpathdirs; do
4145                      if test "X$x" = "X$found_dir"; then
4146                        haveit=yes
4147                        break
4148                      fi
4149                    done
4150                    if test -z "$haveit"; then
4151                      ltrpathdirs="$ltrpathdirs $found_dir"
4152                    fi
4153                                    if test "$hardcode_direct" = yes; then
4154                                                          LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4155                    else
4156                      if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
4157                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4158                                                                haveit=
4159                        for x in $rpathdirs; do
4160                          if test "X$x" = "X$found_dir"; then
4161                            haveit=yes
4162                            break
4163                          fi
4164                        done
4165                        if test -z "$haveit"; then
4166                          rpathdirs="$rpathdirs $found_dir"
4167                        fi
4168                      else
4169                                                                                    haveit=
4170                        for x in $LDFLAGS $LIBICONV; do
4171    
4172      acl_save_prefix="$prefix"
4173      prefix="$acl_final_prefix"
4174      acl_save_exec_prefix="$exec_prefix"
4175      exec_prefix="$acl_final_exec_prefix"
4176      eval x=\"$x\"
4177      exec_prefix="$acl_save_exec_prefix"
4178      prefix="$acl_save_prefix"
4179    
4180                          if test "X$x" = "X-L$found_dir"; then
4181                            haveit=yes
4182                            break
4183                          fi
4184                        done
4185                        if test -z "$haveit"; then
4186                          LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
4187                        fi
4188                        if test "$hardcode_minus_L" != no; then
4189                                                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4190                        else
4191                                                                                                                                                                                    LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4192                        fi
4193                      fi
4194                    fi
4195                  fi
4196                else
4197                  if test "X$found_a" != "X"; then
4198                                    LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
4199                  else
4200                                                    LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
4201                  fi
4202                fi
4203                            additional_includedir=
4204                case "$found_dir" in
4205                  */lib | */lib/)
4206                    basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
4207                    additional_includedir="$basedir/include"
4208                    ;;
4209                esac
4210                if test "X$additional_includedir" != "X"; then
4211                                                                                                                    if test "X$additional_includedir" != "X/usr/include"; then
4212                    haveit=
4213                    if test "X$additional_includedir" = "X/usr/local/include"; then
4214                      if test -n "$GCC"; then
4215                        case $host_os in
4216                          linux*) haveit=yes;;
4217                        esac
4218                      fi
4219                    fi
4220                    if test -z "$haveit"; then
4221                      for x in $CPPFLAGS $INCICONV; do
4222    
4223      acl_save_prefix="$prefix"
4224      prefix="$acl_final_prefix"
4225      acl_save_exec_prefix="$exec_prefix"
4226      exec_prefix="$acl_final_exec_prefix"
4227      eval x=\"$x\"
4228      exec_prefix="$acl_save_exec_prefix"
4229      prefix="$acl_save_prefix"
4230    
4231                        if test "X$x" = "X-I$additional_includedir"; then
4232                          haveit=yes
4233                          break
4234                        fi
4235                      done
4236                      if test -z "$haveit"; then
4237                        if test -d "$additional_includedir"; then
4238                                                INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
4239                        fi
4240                      fi
4241                    fi
4242                  fi
4243                fi
4244                            if test -n "$found_la"; then
4245                                                            save_libdir="$libdir"
4246                  case "$found_la" in
4247                    */* | *\\*) . "$found_la" ;;
4248                    *) . "./$found_la" ;;
4249                  esac
4250                  libdir="$save_libdir"
4251                                for dep in $dependency_libs; do
4252                    case "$dep" in
4253                      -L*)
4254                        additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
4255                                                                                                                                                                    if test "X$additional_libdir" != "X/usr/lib"; then
4256                          haveit=
4257                          if test "X$additional_libdir" = "X/usr/local/lib"; then
4258                            if test -n "$GCC"; then
4259                              case $host_os in
4260                                linux*) haveit=yes;;
4261                              esac
4262                            fi
4263                          fi
4264                          if test -z "$haveit"; then
4265                            haveit=
4266                            for x in $LDFLAGS $LIBICONV; do
4267    
4268      acl_save_prefix="$prefix"
4269      prefix="$acl_final_prefix"
4270      acl_save_exec_prefix="$exec_prefix"
4271      exec_prefix="$acl_final_exec_prefix"
4272      eval x=\"$x\"
4273      exec_prefix="$acl_save_exec_prefix"
4274      prefix="$acl_save_prefix"
4275    
4276                              if test "X$x" = "X-L$additional_libdir"; then
4277                                haveit=yes
4278                                break
4279                              fi
4280                            done
4281                            if test -z "$haveit"; then
4282                              if test -d "$additional_libdir"; then
4283                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
4284                              fi
4285                            fi
4286                            haveit=
4287                            for x in $LDFLAGS $LTLIBICONV; do
4288    
4289      acl_save_prefix="$prefix"
4290      prefix="$acl_final_prefix"
4291      acl_save_exec_prefix="$exec_prefix"
4292      exec_prefix="$acl_final_exec_prefix"
4293      eval x=\"$x\"
4294      exec_prefix="$acl_save_exec_prefix"
4295      prefix="$acl_save_prefix"
4296    
4297                              if test "X$x" = "X-L$additional_libdir"; then
4298                                haveit=yes
4299                                break
4300                              fi
4301                            done
4302                            if test -z "$haveit"; then
4303                              if test -d "$additional_libdir"; then
4304                                                            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
4305                              fi
4306                            fi
4307                          fi
4308                        fi
4309                        ;;
4310                      -R*)
4311                        dir=`echo "X$dep" | sed -e 's/^X-R//'`
4312                        if test "$enable_rpath" != no; then
4313                                                                      haveit=
4314                          for x in $rpathdirs; do
4315                            if test "X$x" = "X$dir"; then
4316                              haveit=yes
4317                              break
4318                            fi
4319                          done
4320                          if test -z "$haveit"; then
4321                            rpathdirs="$rpathdirs $dir"
4322                          fi
4323                                                                      haveit=
4324                          for x in $ltrpathdirs; do
4325                            if test "X$x" = "X$dir"; then
4326                              haveit=yes
4327                              break
4328                            fi
4329                          done
4330                          if test -z "$haveit"; then
4331                            ltrpathdirs="$ltrpathdirs $dir"
4332                          fi
4333                        fi
4334                        ;;
4335                      -l*)
4336                                            names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4337                        ;;
4338                      *.la)
4339                                                                                    names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4340                        ;;
4341                      *)
4342                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
4343                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
4344                        ;;
4345                    esac
4346                  done
4347                fi
4348              else
4349                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4350                LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
4351              fi
4352            fi
4353        fi        fi
4354        done
4355      done
4356      if test "X$rpathdirs" != "X"; then
4357        if test -n "$hardcode_libdir_separator"; then
4358                            alldirs=
4359          for found_dir in $rpathdirs; do
4360            alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
4361          done
4362                acl_save_libdir="$libdir"
4363          libdir="$alldirs"
4364          eval flag=\"$hardcode_libdir_flag_spec\"
4365          libdir="$acl_save_libdir"
4366          LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4367      else      else
4368        echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5              for found_dir in $rpathdirs; do
4369            acl_save_libdir="$libdir"
4370            libdir="$found_dir"
4371            eval flag=\"$hardcode_libdir_flag_spec\"
4372            libdir="$acl_save_libdir"
4373            LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4374          done
4375      fi      fi
   else  
     echo "$progname: failed program was:" >&5  
     cat conftest.$ac_ext >&5  
4376    fi    fi
4377    rm -f conftest* conftst*    if test "X$ltrpathdirs" != "X"; then
4378                for found_dir in $ltrpathdirs; do
4379    # Do not use the global_symbol_pipe unless it works.        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
4380    if test "$pipe_works" = yes; then      done
     break  
   else  
     lt_cv_sys_global_symbol_pipe=  
4381    fi    fi
 done  
4382    
 fi  
4383    
 global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"  
 if test -z "$lt_cv_sys_global_symbol_pipe"; then  
   global_symbol_to_cdecl=  
   global_symbol_to_c_name_address=  
 else  
   global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"  
   global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"  
 fi  
 if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";  
 then  
   echo "$ac_t""failed" 1>&6  
 else  
   echo "$ac_t""ok" 1>&6  
 fi  
4384    
 for ac_hdr in dlfcn.h  
 do  
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  
 echo "configure:2970: checking for $ac_hdr" >&5  
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 2975 "configure"  
 #include "confdefs.h"  
 #include <$ac_hdr>  
 EOF  
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  
 { (eval echo configure:2980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  
 if test -z "$ac_err"; then  
   rm -rf conftest*  
   eval "ac_cv_header_$ac_safe=yes"  
 else  
   echo "$ac_err" >&5  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_header_$ac_safe=no"  
 fi  
 rm -f conftest*  
 fi  
 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_hdr 1  
 EOF  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
 done  
4385    
4386    
4387    
4388    
4389    
 # Only perform the check for file, if the check method requires it  
 case $deplibs_check_method in  
 file_magic*)  
   if test "$file_magic_cmd" = '$MAGIC_CMD'; then  
     echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6  
 echo "configure:3015: checking for ${ac_tool_prefix}file" >&5  
 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   case $MAGIC_CMD in  
   /*)  
   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.  
   ;;  
   ?:/*)  
   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.  
   ;;  
   *)  
   ac_save_MAGIC_CMD="$MAGIC_CMD"  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  
   ac_dummy="/usr/bin:$PATH"  
   for ac_dir in $ac_dummy; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f $ac_dir/${ac_tool_prefix}file; then  
       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"  
       if test -n "$file_magic_test_file"; then  
         case $deplibs_check_method in  
         "file_magic "*)  
           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"  
           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"  
           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |  
             egrep "$file_magic_regex" > /dev/null; then  
             :  
           else  
             cat <<EOF 1>&2  
   
 *** Warning: the command libtool uses to detect shared libraries,  
 *** $file_magic_cmd, produces output that libtool cannot recognize.  
 *** The result is that libtool may fail to recognize shared libraries  
 *** as such.  This will affect the creation of libtool libraries that  
 *** depend on shared libraries, but programs linked with such libtool  
 *** libraries will work regardless of this problem.  Nevertheless, you  
 *** may want to report the problem to your system manager and/or to  
 *** bug-libtool@gnu.org  
   
 EOF  
           fi ;;  
         esac  
       fi  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
   MAGIC_CMD="$ac_save_MAGIC_CMD"  
   ;;  
 esac  
 fi  
4390    
 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"  
 if test -n "$MAGIC_CMD"; then  
   echo "$ac_t""$MAGIC_CMD" 1>&6  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
4391    
 if test -z "$lt_cv_path_MAGIC_CMD"; then  
   if test -n "$ac_tool_prefix"; then  
     echo $ac_n "checking for file""... $ac_c" 1>&6  
 echo "configure:3077: checking for file" >&5  
 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   case $MAGIC_CMD in  
   /*)  
   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.  
   ;;  
   ?:/*)  
   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.  
   ;;  
   *)  
   ac_save_MAGIC_CMD="$MAGIC_CMD"  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  
   ac_dummy="/usr/bin:$PATH"  
   for ac_dir in $ac_dummy; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f $ac_dir/file; then  
       lt_cv_path_MAGIC_CMD="$ac_dir/file"  
       if test -n "$file_magic_test_file"; then  
         case $deplibs_check_method in  
         "file_magic "*)  
           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"  
           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"  
           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |  
             egrep "$file_magic_regex" > /dev/null; then  
             :  
           else  
             cat <<EOF 1>&2  
   
 *** Warning: the command libtool uses to detect shared libraries,  
 *** $file_magic_cmd, produces output that libtool cannot recognize.  
 *** The result is that libtool may fail to recognize shared libraries  
 *** as such.  This will affect the creation of libtool libraries that  
 *** depend on shared libraries, but programs linked with such libtool  
 *** libraries will work regardless of this problem.  Nevertheless, you  
 *** may want to report the problem to your system manager and/or to  
 *** bug-libtool@gnu.org  
   
 EOF  
           fi ;;  
         esac  
       fi  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
   MAGIC_CMD="$ac_save_MAGIC_CMD"  
   ;;  
 esac  
 fi  
4392    
 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"  
 if test -n "$MAGIC_CMD"; then  
   echo "$ac_t""$MAGIC_CMD" 1>&6  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
4393    
   else  
     MAGIC_CMD=:  
   fi  
 fi  
4394    
   fi  
   ;;  
 esac  
4395    
 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.  
 set dummy ${ac_tool_prefix}ranlib; ac_word=$2  
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  
 echo "configure:3148: checking for $ac_word" >&5  
 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   if test -n "$RANLIB"; then  
   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.  
 else  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  
   ac_dummy="$PATH"  
   for ac_dir in $ac_dummy; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f $ac_dir/$ac_word; then  
       ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
 fi  
 fi  
 RANLIB="$ac_cv_prog_RANLIB"  
 if test -n "$RANLIB"; then  
   echo "$ac_t""$RANLIB" 1>&6  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
   
 if test -z "$ac_cv_prog_RANLIB"; then  
 if test -n "$ac_tool_prefix"; then  
   # Extract the first word of "ranlib", so it can be a program name with args.  
 set dummy ranlib; ac_word=$2  
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  
 echo "configure:3180: checking for $ac_word" >&5  
 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   if test -n "$RANLIB"; then  
   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.  
 else  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  
   ac_dummy="$PATH"  
   for ac_dir in $ac_dummy; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f $ac_dir/$ac_word; then  
       ac_cv_prog_RANLIB="ranlib"  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"  
 fi  
 fi  
 RANLIB="$ac_cv_prog_RANLIB"  
 if test -n "$RANLIB"; then  
   echo "$ac_t""$RANLIB" 1>&6  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 else  
   RANLIB=":"  
 fi  
 fi  
   
 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.  
 set dummy ${ac_tool_prefix}strip; ac_word=$2  
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  
 echo "configure:3215: checking for $ac_word" >&5  
 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   if test -n "$STRIP"; then  
   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.  
 else  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  
   ac_dummy="$PATH"  
   for ac_dir in $ac_dummy; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f $ac_dir/$ac_word; then  
       ac_cv_prog_STRIP="${ac_tool_prefix}strip"  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
 fi  
 fi  
 STRIP="$ac_cv_prog_STRIP"  
 if test -n "$STRIP"; then  
   echo "$ac_t""$STRIP" 1>&6  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
4396    
4397    
 if test -z "$ac_cv_prog_STRIP"; then  
 if test -n "$ac_tool_prefix"; then  
   # Extract the first word of "strip", so it can be a program name with args.  
 set dummy strip; ac_word=$2  
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  
 echo "configure:3247: checking for $ac_word" >&5  
 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   if test -n "$STRIP"; then  
   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.  
 else  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  
   ac_dummy="$PATH"  
   for ac_dir in $ac_dummy; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f $ac_dir/$ac_word; then  
       ac_cv_prog_STRIP="strip"  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
   test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"  
 fi  
 fi  
 STRIP="$ac_cv_prog_STRIP"  
 if test -n "$STRIP"; then  
   echo "$ac_t""$STRIP" 1>&6  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
4398    
4399      echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4400    echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
4401        # Check whether --enable-nls or --disable-nls was given.
4402    if test "${enable_nls+set}" = set; then
4403      enableval="$enable_nls"
4404      USE_NLS=$enableval
4405  else  else
4406    STRIP=":"    USE_NLS=yes
4407  fi  fi;
4408  fi    echo "$as_me:$LINENO: result: $USE_NLS" >&5
4409    echo "${ECHO_T}$USE_NLS" >&6
   
 enable_dlopen=no  
 enable_win32_dll=no  
   
 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.  
 if test "${enable_libtool_lock+set}" = set; then  
   enableval="$enable_libtool_lock"  
   :  
 fi  
   
 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes  
   
 # Some flags need to be propagated to the compiler or linker for good  
 # libtool support.  
 case $host in  
 *-*-irix6*)  
   # Find out which ABI we are using.  
   echo '#line 3296 "configure"' > conftest.$ac_ext  
   if { (eval echo configure:3297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
     case `/usr/bin/file conftest.$ac_objext` in  
     *32-bit*)  
       LD="${LD-ld} -32"  
       ;;  
     *N32*)  
       LD="${LD-ld} -n32"  
       ;;  
     *64-bit*)  
       LD="${LD-ld} -64"  
       ;;  
     esac  
   fi  
   rm -rf conftest*  
   ;;  
   
 *-*-sco3.2v5*)  
   # On SCO OpenServer 5, we need -belf to get full-featured binaries.  
   SAVE_CFLAGS="$CFLAGS"  
   CFLAGS="$CFLAGS -belf"  
   echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6  
 echo "configure:3318: checking whether the C compiler needs -belf" >&5  
 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
     
      ac_ext=c  
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  
 ac_cpp='$CPP $CPPFLAGS'  
 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  
 cross_compiling=$ac_cv_prog_cc_cross  
   
      cat > conftest.$ac_ext <<EOF  
 #line 3331 "configure"  
 #include "confdefs.h"  
   
 int main() {  
   
 ; return 0; }  
 EOF  
 if { (eval echo configure:3338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   lt_cv_cc_needs_belf=yes  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   lt_cv_cc_needs_belf=no  
 fi  
 rm -f conftest*  
      ac_ext=c  
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  
 ac_cpp='$CPP $CPPFLAGS'  
 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  
 cross_compiling=$ac_cv_prog_cc_cross  
4410    
 fi  
4411    
 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6  
   if test x"$lt_cv_cc_needs_belf" != x"yes"; then  
     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf  
     CFLAGS="$SAVE_CFLAGS"  
   fi  
   ;;  
4412    
4413      LIBINTL=
4414      LTLIBINTL=
4415      POSUB=
4416    
4417  esac      if test "$USE_NLS" = "yes"; then
4418        gt_use_preinstalled_gnugettext=no
4419    
 # Sed substitution that helps us do robust quoting.  It backslashifies  
 # metacharacters that are still active within double-quoted strings.  
 Xsed='sed -e s/^X//'  
 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'  
   
 # Same as above, but do not quote variable references.  
 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'  
   
 # Sed substitution to delay expansion of an escaped shell variable in a  
 # double_quote_subst'ed string.  
 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'  
   
 # Constants:  
 rm="rm -f"  
   
 # Global variables:  
 default_ofile=libtool  
 can_build_shared=yes  
   
 # All known linkers require a `.a' archive for static linking (except M$VC,  
 # which needs '.lib').  
 libext=a  
 ltmain="$ac_aux_dir/ltmain.sh"  
 ofile="$default_ofile"  
 with_gnu_ld="$lt_cv_prog_gnu_ld"  
 need_locks="$enable_libtool_lock"  
   
 old_CC="$CC"  
 old_CFLAGS="$CFLAGS"  
   
 # Set sane defaults for various variables  
 test -z "$AR" && AR=ar  
 test -z "$AR_FLAGS" && AR_FLAGS=cru  
 test -z "$AS" && AS=as  
 test -z "$CC" && CC=cc  
 test -z "$DLLTOOL" && DLLTOOL=dlltool  
 test -z "$LD" && LD=ld  
 test -z "$LN_S" && LN_S="ln -s"  
 test -z "$MAGIC_CMD" && MAGIC_CMD=file  
 test -z "$NM" && NM=nm  
 test -z "$OBJDUMP" && OBJDUMP=objdump  
 test -z "$RANLIB" && RANLIB=:  
 test -z "$STRIP" && STRIP=:  
 test -z "$ac_objext" && ac_objext=o  
   
 if test x"$host" != x"$build"; then  
   ac_tool_prefix=${host_alias}-  
 else  
   ac_tool_prefix=  
 fi  
   
 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.  
 case $host_os in  
 linux-gnu*) ;;  
 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`  
 esac  
4420    
 case $host_os in  
 aix3*)  
   # AIX sometimes has problems with the GCC collect2 program.  For some  
   # reason, if we set the COLLECT_NAMES environment variable, the problems  
   # vanish in a puff of smoke.  
   if test "X${COLLECT_NAMES+set}" != Xset; then  
     COLLECT_NAMES=  
     export COLLECT_NAMES  
   fi  
   ;;  
 esac  
4421    
 # Determine commands to create old-style static archives.  
 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'  
 old_postinstall_cmds='chmod 644 $oldlib'  
 old_postuninstall_cmds=  
   
 if test -n "$RANLIB"; then  
   case $host_os in  
   openbsd*)  
     old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"  
     ;;  
   *)  
     old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"  
     ;;  
       esac  
   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"  
 fi  
4422    
 # Allow CC to be a program name with arguments.  
 set dummy $CC  
 compiler="$2"  
   
 echo $ac_n "checking for objdir""... $ac_c" 1>&6  
 echo "configure:3458: checking for objdir" >&5  
 rm -f .libs 2>/dev/null  
 mkdir .libs 2>/dev/null  
 if test -d .libs; then  
   objdir=.libs  
 else  
   # MS-DOS does not allow filenames that begin with a dot.  
   objdir=_libs  
 fi  
 rmdir .libs 2>/dev/null  
 echo "$ac_t""$objdir" 1>&6  
4423    
4424    
4425  # Check whether --with-pic or --without-pic was given.          echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
4426  if test "${with_pic+set}" = set; then  echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
4427    withval="$with_pic"  if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
4428    pic_mode="$withval"    echo $ECHO_N "(cached) $ECHO_C" >&6
4429  else  else
4430    pic_mode=default    cat >conftest.$ac_ext <<_ACEOF
4431  fi  #line $LINENO "configure"
4432    /* confdefs.h.  */
4433  test -z "$pic_mode" && pic_mode=default  _ACEOF
4434    cat confdefs.h >>conftest.$ac_ext
4435  # We assume here that the value for lt_cv_prog_cc_pic will not be cached  cat >>conftest.$ac_ext <<_ACEOF
4436  # in isolation, and that seeing it set (from the cache) indicates that  /* end confdefs.h.  */
4437  # the associated values are set (in the cache) correctly too.  #include <libintl.h>
4438  echo $ac_n "checking for $compiler option to produce PIC""... $ac_c" 1>&6  extern int _nl_msg_cat_cntr;
4439  echo "configure:3485: checking for $compiler option to produce PIC" >&5  extern int *_nl_domain_bindings;
4440  if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then  int
4441    echo $ac_n "(cached) $ac_c" 1>&6  main ()
4442    {
4443    bindtextdomain ("", "");
4444    return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
4445      ;
4446      return 0;
4447    }
4448    _ACEOF
4449    rm -f conftest.$ac_objext conftest$ac_exeext
4450    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4451      (eval $ac_link) 2>&5
4452      ac_status=$?
4453      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454      (exit $ac_status); } &&
4455             { ac_try='test -s conftest$ac_exeext'
4456      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4457      (eval $ac_try) 2>&5
4458      ac_status=$?
4459      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460      (exit $ac_status); }; }; then
4461      gt_cv_func_gnugettext1_libc=yes
4462  else  else
4463     lt_cv_prog_cc_pic=    echo "$as_me: failed program was:" >&5
4464    lt_cv_prog_cc_shlib=  sed 's/^/| /' conftest.$ac_ext >&5
   lt_cv_prog_cc_wl=  
   lt_cv_prog_cc_static=  
   lt_cv_prog_cc_no_builtin=  
   lt_cv_prog_cc_can_build_shared=$can_build_shared  
   
   if test "$GCC" = yes; then  
     lt_cv_prog_cc_wl='-Wl,'  
     lt_cv_prog_cc_static='-static'  
   
     case $host_os in  
     aix*)  
       # Below there is a dirty hack to force normal static linking with -ldl  
       # The problem is because libdl dynamically linked with both libc and  
       # libC (AIX C++ library), which obviously doesn't included in libraries  
       # list by gcc. This cause undefined symbols with -static flags.  
       # This hack allows C programs to be linked with "-static -ldl", but  
       # not sure about C++ programs.  
       lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"  
       ;;  
     amigaos*)  
       # FIXME: we need at least 68020 code to build shared libraries, but  
       # adding the `-m68020' flag to GCC prevents building anything better,  
       # like `-m68040'.  
       lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'  
       ;;  
     beos* | irix5* | irix6* | osf3* | osf4* | osf5*)  
       # PIC is the default for these OSes.  
       ;;  
     darwin* | rhapsody*)  
       # PIC is the default on this platform  
       # Common symbols not allowed in MH_DYLIB files  
       lt_cv_prog_cc_pic='-fno-common'  
       ;;  
     cygwin* | mingw* | pw32* | os2*)  
       # This hack is so that the source file can tell whether it is being  
       # built for inclusion in a dll (and should export symbols for example).  
       lt_cv_prog_cc_pic='-DDLL_EXPORT'  
       ;;  
     sysv4*MP*)  
       if test -d /usr/nec; then  
          lt_cv_prog_cc_pic=-Kconform_pic  
       fi  
       ;;  
     *)  
       lt_cv_prog_cc_pic='-fPIC'  
       ;;  
     esac  
   else  
     # PORTME Check for PIC flags for the system compiler.  
     case $host_os in  
     aix3* | aix4* | aix5*)  
       lt_cv_prog_cc_wl='-Wl,'  
       # All AIX code is PIC.  
       if test "$host_cpu" = ia64; then  
         # AIX 5 now supports IA64 processor  
         lt_cv_prog_cc_static='-Bstatic'  
       else  
         lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'  
     fi  
       ;;  
4465    
4466      hpux9* | hpux10* | hpux11*)  gt_cv_func_gnugettext1_libc=no
4467        # Is there a better lt_cv_prog_cc_static that works with the bundled CC?  fi
4468        lt_cv_prog_cc_wl='-Wl,'  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4469        lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"  fi
4470        lt_cv_prog_cc_pic='+Z'  echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
4471        ;;  echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
   
     irix5* | irix6*)  
       lt_cv_prog_cc_wl='-Wl,'  
       lt_cv_prog_cc_static='-non_shared'  
       # PIC (with -KPIC) is the default.  
       ;;  
4472    
4473      cygwin* | mingw* | pw32* | os2*)          if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
       # This hack is so that the source file can tell whether it is being  
       # built for inclusion in a dll (and should export symbols for example).  
       lt_cv_prog_cc_pic='-DDLL_EXPORT'  
       ;;  
4474    
     newsos6)  
       lt_cv_prog_cc_pic='-KPIC'  
       lt_cv_prog_cc_static='-Bstatic'  
       ;;  
4475    
     osf3* | osf4* | osf5*)  
       # All OSF/1 code is PIC.  
       lt_cv_prog_cc_wl='-Wl,'  
       lt_cv_prog_cc_static='-non_shared'  
       ;;  
4476    
     sco3.2v5*)  
       lt_cv_prog_cc_pic='-Kpic'  
       lt_cv_prog_cc_static='-dn'  
       lt_cv_prog_cc_shlib='-belf'  
       ;;  
4477    
     solaris*)  
       lt_cv_prog_cc_pic='-KPIC'  
       lt_cv_prog_cc_static='-Bstatic'  
       lt_cv_prog_cc_wl='-Wl,'  
       ;;  
4478    
4479      sunos4*)            am_save_CPPFLAGS="$CPPFLAGS"
       lt_cv_prog_cc_pic='-PIC'  
       lt_cv_prog_cc_static='-Bstatic'  
       lt_cv_prog_cc_wl='-Qoption ld '  
       ;;  
4480    
4481      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)    for element in $INCICONV; do
4482        lt_cv_prog_cc_pic='-KPIC'      haveit=
4483        lt_cv_prog_cc_static='-Bstatic'      for x in $CPPFLAGS; do
       if test "x$host_vendor" = xsni; then  
         lt_cv_prog_cc_wl='-LD'  
       else  
         lt_cv_prog_cc_wl='-Wl,'  
   fi  
       ;;  
4484    
4485      uts4*)    acl_save_prefix="$prefix"
4486        lt_cv_prog_cc_pic='-pic'    prefix="$acl_final_prefix"
4487        lt_cv_prog_cc_static='-Bstatic'    acl_save_exec_prefix="$exec_prefix"
4488        ;;    exec_prefix="$acl_final_exec_prefix"
4489      eval x=\"$x\"
4490      exec_prefix="$acl_save_exec_prefix"
4491      prefix="$acl_save_prefix"
4492    
4493      sysv4*MP*)        if test "X$x" = "X$element"; then
4494        if test -d /usr/nec ;then          haveit=yes
4495          lt_cv_prog_cc_pic='-Kconform_pic'          break
         lt_cv_prog_cc_static='-Bstatic'  
4496        fi        fi
4497        ;;      done
4498        if test -z "$haveit"; then
4499      *)        CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
       lt_cv_prog_cc_can_build_shared=no  
       ;;  
       esac  
   fi  
   
 fi  
   
 if test -z "$lt_cv_prog_cc_pic"; then  
   echo "$ac_t""none" 1>&6  
 else  
   echo "$ac_t""$lt_cv_prog_cc_pic" 1>&6  
   
   # Check to make sure the pic_flag actually works.  
   echo $ac_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works""... $ac_c" 1>&6  
 echo "configure:3637: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5  
   if eval "test \"`echo '$''{'lt_cv_prog_cc_pic_works'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
       save_CFLAGS="$CFLAGS"  
     CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"  
     cat > conftest.$ac_ext <<EOF  
 #line 3644 "configure"  
 #include "confdefs.h"  
   
 int main() {  
   
 ; return 0; }  
 EOF  
 if { (eval echo configure:3651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
   rm -rf conftest*  
         case $host_os in  
       hpux9* | hpux10* | hpux11*)  
         # On HP-UX, both CC and GCC only warn that PIC is supported... then  
         # they create non-PIC objects.  So, if there were any warnings, we  
         # assume that PIC is not supported.  
         if test -s conftest.err; then  
           lt_cv_prog_cc_pic_works=no  
         else  
           lt_cv_prog_cc_pic_works=yes  
         fi  
         ;;  
       *)  
         lt_cv_prog_cc_pic_works=yes  
         ;;  
       esac  
       
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
         lt_cv_prog_cc_pic_works=no  
       
 fi  
 rm -f conftest*  
     CFLAGS="$save_CFLAGS"  
     
 fi  
   
   
   if test "X$lt_cv_prog_cc_pic_works" = Xno; then  
     lt_cv_prog_cc_pic=  
     lt_cv_prog_cc_can_build_shared=no  
   else  
     lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"  
4500      fi      fi
4501      done
   echo "$ac_t""$lt_cv_prog_cc_pic_works" 1>&6  
 fi  
   
 # Check for any special shared library compilation flags.  
 if test -n "$lt_cv_prog_cc_shlib"; then  
   echo "configure: warning: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" 1>&2  
   if echo "$old_CC $old_CFLAGS " | egrep -e "[  ]$lt_cv_prog_cc_shlib[  ]" >/dev/null; then :  
   else  
    echo "configure: warning: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" 1>&2  
     lt_cv_prog_cc_can_build_shared=no  
   fi  
 fi  
   
 echo $ac_n "checking if $compiler static flag $lt_cv_prog_cc_static works""... $ac_c" 1>&6  
 echo "configure:3703: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5  
 if eval "test \"`echo '$''{'lt_cv_prog_cc_static_works'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
     lt_cv_prog_cc_static_works=no  
   save_LDFLAGS="$LDFLAGS"  
   LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"  
   cat > conftest.$ac_ext <<EOF  
 #line 3711 "configure"  
 #include "confdefs.h"  
   
 int main() {  
   
 ; return 0; }  
 EOF  
 if { (eval echo configure:3718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   lt_cv_prog_cc_static_works=yes  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
 fi  
 rm -f conftest*  
   LDFLAGS="$save_LDFLAGS"  
   
 fi  
4502    
4503    
4504  # Belt *and* braces to stop my trousers falling down:    echo "$as_me:$LINENO: checking for iconv" >&5
4505  test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=  echo $ECHO_N "checking for iconv... $ECHO_C" >&6
4506  echo "$ac_t""$lt_cv_prog_cc_static_works" 1>&6  if test "${am_cv_func_iconv+set}" = set; then
4507      echo $ECHO_N "(cached) $ECHO_C" >&6
 pic_flag="$lt_cv_prog_cc_pic"  
 special_shlib_compile_flags="$lt_cv_prog_cc_shlib"  
 wl="$lt_cv_prog_cc_wl"  
 link_static_flag="$lt_cv_prog_cc_static"  
 no_builtin_flag="$lt_cv_prog_cc_no_builtin"  
 can_build_shared="$lt_cv_prog_cc_can_build_shared"  
   
   
 # Check to see if options -o and -c are simultaneously supported by compiler  
 echo $ac_n "checking if $compiler supports -c -o file.$ac_objext""... $ac_c" 1>&6  
 echo "configure:3745: checking if $compiler supports -c -o file.$ac_objext" >&5  
 if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
     
 $rm -r conftest 2>/dev/null  
 mkdir conftest  
 cd conftest  
 echo "int some_variable = 0;" > conftest.$ac_ext  
 mkdir out  
 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers  
 # that will create temporary files in the current directory regardless of  
 # the output directory.  Thus, making CWD read-only will cause this test  
 # to fail, enabling locking or at least warning the user not to do parallel  
 # builds.  
 chmod -w .  
 save_CFLAGS="$CFLAGS"  
 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"  
 compiler_c_o=no  
 if { (eval echo configure:3764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then  
   # The compiler can only warn and ignore the option if not recognized  
   # So say no if there are warnings  
   if test -s out/conftest.err; then  
     lt_cv_compiler_c_o=no  
   else  
     lt_cv_compiler_c_o=yes  
   fi  
4508  else  else
   # Append any errors to the config.log.  
   cat out/conftest.err 1>&5  
   lt_cv_compiler_c_o=no  
 fi  
 CFLAGS="$save_CFLAGS"  
 chmod u+w .  
 $rm conftest* out/*  
 rmdir out  
 cd ..  
 rmdir conftest  
 $rm -r conftest 2>/dev/null  
   
 fi  
4509    
4510  compiler_c_o=$lt_cv_compiler_c_o      am_cv_func_iconv="no, consider installing GNU libiconv"
4511  echo "$ac_t""$compiler_c_o" 1>&6      am_cv_lib_iconv=no
4512        cat >conftest.$ac_ext <<_ACEOF
4513  if test x"$compiler_c_o" = x"yes"; then  #line $LINENO "configure"
4514    # Check to see if we can write to a .lo  /* confdefs.h.  */
4515    echo $ac_n "checking if $compiler supports -c -o file.lo""... $ac_c" 1>&6  _ACEOF
4516  echo "configure:3793: checking if $compiler supports -c -o file.lo" >&5  cat confdefs.h >>conftest.$ac_ext
4517    if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then  cat >>conftest.$ac_ext <<_ACEOF
4518    echo $ac_n "(cached) $ac_c" 1>&6  /* end confdefs.h.  */
4519  else  #include <stdlib.h>
4520      #include <iconv.h>
4521    lt_cv_compiler_o_lo=no  int
4522    save_CFLAGS="$CFLAGS"  main ()
4523    CFLAGS="$CFLAGS -c -o conftest.lo"  {
4524    save_objext="$ac_objext"  iconv_t cd = iconv_open("","");
4525    ac_objext=lo         iconv(cd,NULL,NULL,NULL,NULL);
4526    cat > conftest.$ac_ext <<EOF         iconv_close(cd);
4527  #line 3804 "configure"    ;
4528  #include "confdefs.h"    return 0;
4529    }
4530  int main() {  _ACEOF
4531  int some_variable = 0;  rm -f conftest.$ac_objext conftest$ac_exeext
4532  ; return 0; }  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4533  EOF    (eval $ac_link) 2>&5
4534  if { (eval echo configure:3811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    ac_status=$?
4535    rm -rf conftest*    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536        # The compiler can only warn and ignore the option if not recognized    (exit $ac_status); } &&
4537      # So say no if there are warnings           { ac_try='test -s conftest$ac_exeext'
4538      if test -s conftest.err; then    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4539        lt_cv_compiler_o_lo=no    (eval $ac_try) 2>&5
4540      else    ac_status=$?
4541        lt_cv_compiler_o_lo=yes    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4542      (exit $ac_status); }; }; then
4543      am_cv_func_iconv=yes
4544    else
4545      echo "$as_me: failed program was:" >&5
4546    sed 's/^/| /' conftest.$ac_ext >&5
4547    
4548    fi
4549    rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4550        if test "$am_cv_func_iconv" != yes; then
4551          am_save_LIBS="$LIBS"
4552          LIBS="$LIBS $LIBICONV"
4553          cat >conftest.$ac_ext <<_ACEOF
4554    #line $LINENO "configure"
4555    /* confdefs.h.  */
4556    _ACEOF
4557    cat confdefs.h >>conftest.$ac_ext
4558    cat >>conftest.$ac_ext <<_ACEOF
4559    /* end confdefs.h.  */
4560    #include <stdlib.h>
4561    #include <iconv.h>
4562    int
4563    main ()
4564    {
4565    iconv_t cd = iconv_open("","");
4566             iconv(cd,NULL,NULL,NULL,NULL);
4567             iconv_close(cd);
4568      ;
4569      return 0;
4570    }
4571    _ACEOF
4572    rm -f conftest.$ac_objext conftest$ac_exeext
4573    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4574      (eval $ac_link) 2>&5
4575      ac_status=$?
4576      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577      (exit $ac_status); } &&
4578             { ac_try='test -s conftest$ac_exeext'
4579      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4580      (eval $ac_try) 2>&5
4581      ac_status=$?
4582      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583      (exit $ac_status); }; }; then
4584      am_cv_lib_iconv=yes
4585            am_cv_func_iconv=yes
4586    else
4587      echo "$as_me: failed program was:" >&5
4588    sed 's/^/| /' conftest.$ac_ext >&5
4589    
4590    fi
4591    rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4592          LIBS="$am_save_LIBS"
4593      fi      fi
     
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
 fi  
 rm -f conftest*  
   ac_objext="$save_objext"  
   CFLAGS="$save_CFLAGS"  
     
 fi  
   
   compiler_o_lo=$lt_cv_compiler_o_lo  
   echo "$ac_t""$compiler_o_lo" 1>&6  
 else  
   compiler_o_lo=no  
 fi  
   
 # Check to see if we can do hard links to lock some files if needed  
 hard_links="nottested"  
 if test "$compiler_c_o" = no && test "$need_locks" != no; then  
   # do not overwrite the value of need_locks provided by the user  
   echo $ac_n "checking if we can lock with hard links""... $ac_c" 1>&6  
 echo "configure:3842: checking if we can lock with hard links" >&5  
   hard_links=yes  
   $rm conftest*  
   ln conftest.a conftest.b 2>/dev/null && hard_links=no  
   touch conftest.a  
   ln conftest.a conftest.b 2>&5 || hard_links=no  
   ln conftest.a conftest.b 2>/dev/null && hard_links=no  
   echo "$ac_t""$hard_links" 1>&6  
   if test "$hard_links" = no; then  
     echo "configure: warning: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" 1>&2  
     need_locks=warn  
   fi  
 else  
   need_locks=no  
 fi  
4594    
 if test "$GCC" = yes; then  
   # Check to see if options -fno-rtti -fno-exceptions are supported by compiler  
   echo $ac_n "checking if $compiler supports -fno-rtti -fno-exceptions""... $ac_c" 1>&6  
 echo "configure:3861: checking if $compiler supports -fno-rtti -fno-exceptions" >&5  
   echo "int some_variable = 0;" > conftest.$ac_ext  
   save_CFLAGS="$CFLAGS"  
   CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"  
   compiler_rtti_exceptions=no  
   cat > conftest.$ac_ext <<EOF  
 #line 3867 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 int some_variable = 0;  
 ; return 0; }  
 EOF  
 if { (eval echo configure:3874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
   rm -rf conftest*  
       # The compiler can only warn and ignore the option if not recognized  
     # So say no if there are warnings  
     if test -s conftest.err; then  
       compiler_rtti_exceptions=no  
     else  
       compiler_rtti_exceptions=yes  
   fi  
     
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
4595  fi  fi
4596  rm -f conftest*  echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
4597    CFLAGS="$save_CFLAGS"  echo "${ECHO_T}$am_cv_func_iconv" >&6
4598    echo "$ac_t""$compiler_rtti_exceptions" 1>&6    if test "$am_cv_func_iconv" = yes; then
4599    
4600    if test "$compiler_rtti_exceptions" = "yes"; then  cat >>confdefs.h <<\_ACEOF
4601      no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'  #define HAVE_ICONV 1
4602    _ACEOF
4603    
4604      fi
4605      if test "$am_cv_lib_iconv" = yes; then
4606        echo "$as_me:$LINENO: checking how to link with libiconv" >&5
4607    echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
4608        echo "$as_me:$LINENO: result: $LIBICONV" >&5
4609    echo "${ECHO_T}$LIBICONV" >&6
4610    else    else
4611      no_builtin_flag=' -fno-builtin'              CPPFLAGS="$am_save_CPPFLAGS"
4612        LIBICONV=
4613        LTLIBICONV=
4614    fi    fi
 fi  
4615    
 # See if the linker supports building shared libraries.  
 echo $ac_n "checking whether the linker ($LD) supports shared libraries""... $ac_c" 1>&6  
 echo "configure:3901: checking whether the linker ($LD) supports shared libraries" >&5  
   
 allow_undefined_flag=  
 no_undefined_flag=  
 need_lib_prefix=unknown  
 need_version=unknown  
 # when you set need_version to no, make sure it does not cause -set_version  
 # flags to be left without arguments  
 archive_cmds=  
 archive_expsym_cmds=  
 old_archive_from_new_cmds=  
 old_archive_from_expsyms_cmds=  
 export_dynamic_flag_spec=  
 whole_archive_flag_spec=  
 thread_safe_flag_spec=  
 hardcode_into_libs=no  
 hardcode_libdir_flag_spec=  
 hardcode_libdir_separator=  
 hardcode_direct=no  
 hardcode_minus_L=no  
 hardcode_shlibpath_var=unsupported  
 runpath_var=  
 link_all_deplibs=unknown  
 always_export_symbols=no  
 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'  
 # include_expsyms should be a list of space-separated symbols to be *always*  
 # included in the symbol list  
 include_expsyms=  
 # exclude_expsyms can be an egrep regular expression of symbols to exclude  
 # it will be wrapped by ` (' and `)$', so one must not match beginning or  
 # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',  
 # as well as any symbol that contains `d'.  
 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"  
 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out  
 # platforms (ab)use it in PIC code, but their linkers get confused if  
 # the symbol is explicitly referenced.  Since portable code cannot  
 # rely on this symbol name, it's probably fine to never include it in  
 # preloaded symbol tables.  
 extract_expsyms_cmds=  
   
 case $host_os in  
 cygwin* | mingw* | pw32*)  
   # FIXME: the MSVC++ port hasn't been tested in a loooong time  
   # When not using gcc, we currently assume that we are using  
   # Microsoft Visual C++.  
   if test "$GCC" != yes; then  
     with_gnu_ld=no  
   fi  
   ;;  
 openbsd*)  
   with_gnu_ld=no  
   ;;  
 esac  
4616    
 ld_shlibs=yes  
 if test "$with_gnu_ld" = yes; then  
   # If archive_cmds runs LD, not CC, wlarc should be empty  
   wlarc='${wl}'  
   
   # See if GNU ld supports shared libraries.  
   case $host_os in  
   aix3* | aix4* | aix5*)  
     # On AIX, the GNU linker is very broken  
     # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.  
     ld_shlibs=no  
     cat <<EOF 1>&2  
   
 *** Warning: the GNU linker, at least up to release 2.9.1, is reported  
 *** to be unable to reliably create shared libraries on AIX.  
 *** Therefore, libtool is disabling shared libraries support.  If you  
 *** really care for shared libraries, you may want to modify your PATH  
 *** so that a non-GNU linker is found, and then restart.  
4617    
 EOF  
     ;;  
4618    
   amigaos*)  
     archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'  
     hardcode_libdir_flag_spec='-L$libdir'  
     hardcode_minus_L=yes  
   
     # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports  
     # that the semantics of dynamic libraries on AmigaOS, at least up  
     # to version 4, is to share data among multiple programs linked  
     # with the same dynamic library.  Since this doesn't match the  
     # behavior of shared libraries on other platforms, we can use  
     # them.  
     ld_shlibs=no  
     ;;  
4619    
   beos*)  
     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then  
       allow_undefined_flag=unsupported  
       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc  
       # support --undefined.  This deserves some investigation.  FIXME  
       archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'  
     else  
       ld_shlibs=no  
     fi  
     ;;  
4620    
4621    cygwin* | mingw* | pw32*)      use_additional=yes
     # hardcode_libdir_flag_spec is actually meaningless, as there is  
     # no search path for DLLs.  
     hardcode_libdir_flag_spec='-L$libdir'  
     allow_undefined_flag=unsupported  
     always_export_symbols=yes  
   
     extract_expsyms_cmds='test -f $output_objdir/impgen.c || \  
       sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~  
       test -f $output_objdir/impgen.exe || (cd $output_objdir && \  
       if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \  
       else $CC -o impgen impgen.c ; fi)~  
       $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'  
   
     old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'  
   
     # cygwin and mingw dlls have different entry points and sets of symbols  
     # to exclude.  
     # FIXME: what about values for MSVC?  
     dll_entry=__cygwin_dll_entry@12  
     dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~  
     case $host_os in  
     mingw*)  
       # mingw values  
       dll_entry=_DllMainCRTStartup@12  
       dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~  
       ;;  
       esac  
4622    
4623      # mingw and cygwin differ, and it's simplest to just exclude the union    acl_save_prefix="$prefix"
4624      # of the two symbol sets.    prefix="$acl_final_prefix"
4625      dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12    acl_save_exec_prefix="$exec_prefix"
4626      exec_prefix="$acl_final_exec_prefix"
     # recent cygwin and mingw systems supply a stub DllMain which the user  
     # can override, but on older systems we have to supply one (in ltdll.c)  
     if test "x$lt_cv_need_dllmain" = "xyes"; then  
       ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "  
       ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~  
         test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'  
     else  
       ltdll_obj=  
       ltdll_cmds=  
       fi  
4627    
4628      # Extract the symbol export list from an `--export-all' def file,      eval additional_includedir=\"$includedir\"
4629      # then regenerate the def file from the symbol export list, so that      eval additional_libdir=\"$libdir\"
     # the compiled dll only exports the symbol export list.  
     # Be careful not to strip the DATA tag left be newer dlltools.  
     export_symbols_cmds="$ltdll_cmds"'  
       $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~  
       sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'  
   
     # If the export-symbols file already is a .def file (1st line  
     # is EXPORTS), use it as is.  
     # If DATA tags from a recent dlltool are present, honour them!  
     archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then  
         cp $export_symbols $output_objdir/$soname-def;  
       else  
         echo EXPORTS > $output_objdir/$soname-def;  
         _lt_hint=1;  
         cat $export_symbols | while read symbol; do  
          set dummy \$symbol;  
          case \$# in  
            2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;  
            *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;  
          esac;  
          _lt_hint=`expr 1 + \$_lt_hint`;  
         done;  
       fi~  
       '"$ltdll_cmds"'  
       $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~  
       $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~  
       $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~  
       $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~  
       $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'  
     ;;  
4630    
4631    netbsd*)    exec_prefix="$acl_save_exec_prefix"
4632      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then    prefix="$acl_save_prefix"
       archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'  
       wlarc=  
     else  
       archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'  
       archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'  
     fi  
     ;;  
4633    
   solaris* | sysv5*)  
     if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then  
       ld_shlibs=no  
       cat <<EOF 1>&2  
   
 *** Warning: The releases 2.8.* of the GNU linker cannot reliably  
 *** create shared libraries on Solaris systems.  Therefore, libtool  
 *** is disabling shared libraries support.  We urge you to upgrade GNU  
 *** binutils to release 2.9.1 or newer.  Another option is to modify  
 *** your PATH or compiler configuration so that the native linker is  
 *** used, and then restart.  
   
 EOF  
     elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then  
       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'  
       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'  
     else  
       ld_shlibs=no  
   fi  
     ;;  
4634    
4635    sunos4*)  # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
4636      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'  if test "${with_libintl_prefix+set}" = set; then
4637      wlarc=    withval="$with_libintl_prefix"
     hardcode_direct=yes  
     hardcode_shlibpath_var=no  
     ;;  
4638    
4639    *)      if test "X$withval" = "Xno"; then
4640      if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then        use_additional=no
       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'  
       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'  
4641      else      else
4642        ld_shlibs=no        if test "X$withval" = "X"; then
     fi  
     ;;  
       esac  
4643    
4644    if test "$ld_shlibs" = yes; then    acl_save_prefix="$prefix"
4645      runpath_var=LD_RUN_PATH    prefix="$acl_final_prefix"
4646      hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'    acl_save_exec_prefix="$exec_prefix"
4647      export_dynamic_flag_spec='${wl}--export-dynamic'    exec_prefix="$acl_final_exec_prefix"
     case $host_os in  
     cygwin* | mingw* | pw32*)  
       # dlltool doesn't understand --whole-archive et. al.  
       whole_archive_flag_spec=  
       ;;  
     *)  
       # ancient GNU ld didn't support --whole-archive et. al.  
       if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then  
         whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'  
       else  
         whole_archive_flag_spec=  
       fi  
       ;;  
       esac  
      fi  
 else  
   # PORTME fill in a description of your system's linker (not GNU ld)  
   case $host_os in  
   aix3*)  
     allow_undefined_flag=unsupported  
     always_export_symbols=yes  
     archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'  
     # Note: this linker hardcodes the directories in LIBPATH if there  
     # are no directories specified by -L.  
     hardcode_minus_L=yes  
     if test "$GCC" = yes && test -z "$link_static_flag"; then  
       # Neither direct hardcoding nor static linking is supported with a  
       # broken collect2.  
       hardcode_direct=unsupported  
    fi  
     ;;  
4648    
4649    aix4* | aix5*)            eval additional_includedir=\"$includedir\"
4650      if test "$host_cpu" = ia64; then            eval additional_libdir=\"$libdir\"
       # On IA64, the linker does run time linking by default, so we don't  
       # have to do anything special.  
       aix_use_runtimelinking=no  
       exp_sym_flag='-Bexport'  
       no_entry_flag=""  
     else  
       aix_use_runtimelinking=no  
4651    
4652        # Test if we are trying to use run time linking or normal    exec_prefix="$acl_save_exec_prefix"
4653        # AIX style linking. If -brtl is somewhere in LDFLAGS, we    prefix="$acl_save_prefix"
       # need to do runtime linking.  
       case $host_os in aix4.[23]|aix4.[23].*|aix5*)  
         for ld_flag in $LDFLAGS; do  
           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then  
             aix_use_runtimelinking=yes  
             break  
           fi  
         done  
       esac  
   
       exp_sym_flag='-bexport'  
       no_entry_flag='-bnoentry'  
     fi  
   
     # When large executables or shared objects are built, AIX ld can  
     # have problems creating the table of contents.  If linking a library  
     # or program results in "error TOC overflow" add -mminimal-toc to  
     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not  
     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.  
   
     hardcode_direct=yes  
     archive_cmds=''  
     hardcode_libdir_separator=':'  
     if test "$GCC" = yes; then  
       case $host_os in aix4.[012]|aix4.[012].*)  
         collect2name=`${CC} -print-prog-name=collect2`  
         if test -f "$collect2name" && \  
           strings "$collect2name" | grep resolve_lib_name >/dev/null  
         then  
           # We have reworked collect2  
           hardcode_direct=yes  
         else  
           # We have old collect2  
           hardcode_direct=unsupported  
           # It fails to find uninstalled libraries when the uninstalled  
           # path is not listed in the libpath.  Setting hardcode_minus_L  
           # to unsupported forces relinking  
           hardcode_minus_L=yes  
           hardcode_libdir_flag_spec='-L$libdir'  
           hardcode_libdir_separator=  
         fi  
       esac  
4654    
       shared_flag='-shared'  
     else  
       # not using gcc  
       if test "$host_cpu" = ia64; then  
         shared_flag='${wl}-G'  
4655        else        else
4656          if test "$aix_use_runtimelinking" = yes; then          additional_includedir="$withval/include"
4657            shared_flag='${wl}-G'          additional_libdir="$withval/lib"
         else  
           shared_flag='${wl}-bM:SRE'  
         fi  
4658        fi        fi
4659      fi      fi
4660    
4661      # It seems that -bexpall can do strange things, so it is better to  fi;
4662      # generate a list of symbols to export.        LIBINTL=
4663      always_export_symbols=yes    LTLIBINTL=
4664      if test "$aix_use_runtimelinking" = yes; then    INCINTL=
4665        # Warning - without using the other runtime loading flags (-brtl),    rpathdirs=
4666        # -berok will link without error, but may produce a broken library.    ltrpathdirs=
4667        allow_undefined_flag='-berok'    names_already_handled=
4668        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'    names_next_round='intl '
4669        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"    while test -n "$names_next_round"; do
4670      else      names_this_round="$names_next_round"
4671        if test "$host_cpu" = ia64; then      names_next_round=
4672          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'      for name in $names_this_round; do
4673          allow_undefined_flag="-z nodefs"        already_handled=
4674          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"        for n in $names_already_handled; do
4675        else          if test "$n" = "$name"; then
4676          hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'            already_handled=yes
4677          # Warning - without using the other run time loading flags,            break
4678          # -berok will link without error, but may produce a broken library.          fi
4679          allow_undefined_flag='${wl}-berok'        done
4680          # This is a bit strange, but is similar to how AIX traditionally builds        if test -z "$already_handled"; then
4681          # it's shared libraries.          names_already_handled="$names_already_handled $name"
4682          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'                          uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4683            eval value=\"\$HAVE_LIB$uppername\"
4684            if test -n "$value"; then
4685              if test "$value" = yes; then
4686                eval value=\"\$LIB$uppername\"
4687                test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
4688                eval value=\"\$LTLIB$uppername\"
4689                test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
4690              else
4691                                        :
4692              fi
4693            else
4694                                  found_dir=
4695              found_la=
4696              found_so=
4697              found_a=
4698              if test $use_additional = yes; then
4699                if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
4700                  found_dir="$additional_libdir"
4701                  found_so="$additional_libdir/lib$name.$shlibext"
4702                  if test -f "$additional_libdir/lib$name.la"; then
4703                    found_la="$additional_libdir/lib$name.la"
4704                  fi
4705                else
4706                  if test -f "$additional_libdir/lib$name.$libext"; then
4707                    found_dir="$additional_libdir"
4708                    found_a="$additional_libdir/lib$name.$libext"
4709                    if test -f "$additional_libdir/lib$name.la"; then
4710                      found_la="$additional_libdir/lib$name.la"
4711                    fi
4712                  fi
4713                fi
4714              fi
4715              if test "X$found_dir" = "X"; then
4716                for x in $LDFLAGS $LTLIBINTL; do
4717    
4718      acl_save_prefix="$prefix"
4719      prefix="$acl_final_prefix"
4720      acl_save_exec_prefix="$exec_prefix"
4721      exec_prefix="$acl_final_exec_prefix"
4722      eval x=\"$x\"
4723      exec_prefix="$acl_save_exec_prefix"
4724      prefix="$acl_save_prefix"
4725    
4726                  case "$x" in
4727                    -L*)
4728                      dir=`echo "X$x" | sed -e 's/^X-L//'`
4729                      if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
4730                        found_dir="$dir"
4731                        found_so="$dir/lib$name.$shlibext"
4732                        if test -f "$dir/lib$name.la"; then
4733                          found_la="$dir/lib$name.la"
4734                        fi
4735                      else
4736                        if test -f "$dir/lib$name.$libext"; then
4737                          found_dir="$dir"
4738                          found_a="$dir/lib$name.$libext"
4739                          if test -f "$dir/lib$name.la"; then
4740                            found_la="$dir/lib$name.la"
4741                          fi
4742                        fi
4743                      fi
4744                      ;;
4745                  esac
4746                  if test "X$found_dir" != "X"; then
4747                    break
4748                  fi
4749                done
4750              fi
4751              if test "X$found_dir" != "X"; then
4752                            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
4753                if test "X$found_so" != "X"; then
4754                                                            if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
4755                                    LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4756                  else
4757                                                                                    haveit=
4758                    for x in $ltrpathdirs; do
4759                      if test "X$x" = "X$found_dir"; then
4760                        haveit=yes
4761                        break
4762                      fi
4763                    done
4764                    if test -z "$haveit"; then
4765                      ltrpathdirs="$ltrpathdirs $found_dir"
4766                    fi
4767                                    if test "$hardcode_direct" = yes; then
4768                                                          LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4769                    else
4770                      if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
4771                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4772                                                                haveit=
4773                        for x in $rpathdirs; do
4774                          if test "X$x" = "X$found_dir"; then
4775                            haveit=yes
4776                            break
4777                          fi
4778                        done
4779                        if test -z "$haveit"; then
4780                          rpathdirs="$rpathdirs $found_dir"
4781                        fi
4782                      else
4783                                                                                    haveit=
4784                        for x in $LDFLAGS $LIBINTL; do
4785    
4786      acl_save_prefix="$prefix"
4787      prefix="$acl_final_prefix"
4788      acl_save_exec_prefix="$exec_prefix"
4789      exec_prefix="$acl_final_exec_prefix"
4790      eval x=\"$x\"
4791      exec_prefix="$acl_save_exec_prefix"
4792      prefix="$acl_save_prefix"
4793    
4794                          if test "X$x" = "X-L$found_dir"; then
4795                            haveit=yes
4796                            break
4797                          fi
4798                        done
4799                        if test -z "$haveit"; then
4800                          LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
4801                        fi
4802                        if test "$hardcode_minus_L" != no; then
4803                                                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4804                        else
4805                                                                                                                                                                                    LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
4806                        fi
4807                      fi
4808                    fi
4809                  fi
4810                else
4811                  if test "X$found_a" != "X"; then
4812                                    LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
4813                  else
4814                                                    LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
4815                  fi
4816                fi
4817                            additional_includedir=
4818                case "$found_dir" in
4819                  */lib | */lib/)
4820                    basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
4821                    additional_includedir="$basedir/include"
4822                    ;;
4823                esac
4824                if test "X$additional_includedir" != "X"; then
4825                                                                                                                    if test "X$additional_includedir" != "X/usr/include"; then
4826                    haveit=
4827                    if test "X$additional_includedir" = "X/usr/local/include"; then
4828                      if test -n "$GCC"; then
4829                        case $host_os in
4830                          linux*) haveit=yes;;
4831                        esac
4832                      fi
4833                    fi
4834                    if test -z "$haveit"; then
4835                      for x in $CPPFLAGS $INCINTL; do
4836    
4837      acl_save_prefix="$prefix"
4838      prefix="$acl_final_prefix"
4839      acl_save_exec_prefix="$exec_prefix"
4840      exec_prefix="$acl_final_exec_prefix"
4841      eval x=\"$x\"
4842      exec_prefix="$acl_save_exec_prefix"
4843      prefix="$acl_save_prefix"
4844    
4845                        if test "X$x" = "X-I$additional_includedir"; then
4846                          haveit=yes
4847                          break
4848                        fi
4849                      done
4850                      if test -z "$haveit"; then
4851                        if test -d "$additional_includedir"; then
4852                                                INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
4853                        fi
4854                      fi
4855                    fi
4856                  fi
4857                fi
4858                            if test -n "$found_la"; then
4859                                                            save_libdir="$libdir"
4860                  case "$found_la" in
4861                    */* | *\\*) . "$found_la" ;;
4862                    *) . "./$found_la" ;;
4863                  esac
4864                  libdir="$save_libdir"
4865                                for dep in $dependency_libs; do
4866                    case "$dep" in
4867                      -L*)
4868                        additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
4869                                                                                                                                                                    if test "X$additional_libdir" != "X/usr/lib"; then
4870                          haveit=
4871                          if test "X$additional_libdir" = "X/usr/local/lib"; then
4872                            if test -n "$GCC"; then
4873                              case $host_os in
4874                                linux*) haveit=yes;;
4875                              esac
4876                            fi
4877                          fi
4878                          if test -z "$haveit"; then
4879                            haveit=
4880                            for x in $LDFLAGS $LIBINTL; do
4881    
4882      acl_save_prefix="$prefix"
4883      prefix="$acl_final_prefix"
4884      acl_save_exec_prefix="$exec_prefix"
4885      exec_prefix="$acl_final_exec_prefix"
4886      eval x=\"$x\"
4887      exec_prefix="$acl_save_exec_prefix"
4888      prefix="$acl_save_prefix"
4889    
4890                              if test "X$x" = "X-L$additional_libdir"; then
4891                                haveit=yes
4892                                break
4893                              fi
4894                            done
4895                            if test -z "$haveit"; then
4896                              if test -d "$additional_libdir"; then
4897                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
4898                              fi
4899                            fi
4900                            haveit=
4901                            for x in $LDFLAGS $LTLIBINTL; do
4902    
4903      acl_save_prefix="$prefix"
4904      prefix="$acl_final_prefix"
4905      acl_save_exec_prefix="$exec_prefix"
4906      exec_prefix="$acl_final_exec_prefix"
4907      eval x=\"$x\"
4908      exec_prefix="$acl_save_exec_prefix"
4909      prefix="$acl_save_prefix"
4910    
4911                              if test "X$x" = "X-L$additional_libdir"; then
4912                                haveit=yes
4913                                break
4914                              fi
4915                            done
4916                            if test -z "$haveit"; then
4917                              if test -d "$additional_libdir"; then
4918                                                            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
4919                              fi
4920                            fi
4921                          fi
4922                        fi
4923                        ;;
4924                      -R*)
4925                        dir=`echo "X$dep" | sed -e 's/^X-R//'`
4926                        if test "$enable_rpath" != no; then
4927                                                                      haveit=
4928                          for x in $rpathdirs; do
4929                            if test "X$x" = "X$dir"; then
4930                              haveit=yes
4931                              break
4932                            fi
4933                          done
4934                          if test -z "$haveit"; then
4935                            rpathdirs="$rpathdirs $dir"
4936                          fi
4937                                                                      haveit=
4938                          for x in $ltrpathdirs; do
4939                            if test "X$x" = "X$dir"; then
4940                              haveit=yes
4941                              break
4942                            fi
4943                          done
4944                          if test -z "$haveit"; then
4945                            ltrpathdirs="$ltrpathdirs $dir"
4946                          fi
4947                        fi
4948                        ;;
4949                      -l*)
4950                                            names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4951                        ;;
4952                      *.la)
4953                                                                                    names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4954                        ;;
4955                      *)
4956                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
4957                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
4958                        ;;
4959                    esac
4960                  done
4961                fi
4962              else
4963                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
4964                LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
4965              fi
4966            fi
4967        fi        fi
4968      fi      done
4969      ;;    done
4970      if test "X$rpathdirs" != "X"; then
4971    amigaos*)      if test -n "$hardcode_libdir_separator"; then
4972      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'                          alldirs=
4973      hardcode_libdir_flag_spec='-L$libdir'        for found_dir in $rpathdirs; do
4974      hardcode_minus_L=yes          alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
4975      # see comment about different semantics on the GNU ld section        done
4976      ld_shlibs=no              acl_save_libdir="$libdir"
4977      ;;        libdir="$alldirs"
4978          eval flag=\"$hardcode_libdir_flag_spec\"
4979    cygwin* | mingw* | pw32*)        libdir="$acl_save_libdir"
4980      # When not using gcc, we currently assume that we are using        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
     # Microsoft Visual C++.  
     # hardcode_libdir_flag_spec is actually meaningless, as there is  
     # no search path for DLLs.  
     hardcode_libdir_flag_spec=' '  
     allow_undefined_flag=unsupported  
     # Tell ltmain to make .lib files, not .a files.  
     libext=lib  
     # FIXME: Setting linknames here is a bad hack.  
     archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='  
     # The linker will automatically build a .lib file if we build a DLL.  
     old_archive_from_new_cmds='true'  
     # FIXME: Should let the user specify the lib program.  
     old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'  
     fix_srcfile_path='`cygpath -w "$srcfile"`'  
     ;;  
   
   darwin* | rhapsody*)  
     case "$host_os" in  
     rhapsody* | darwin1.[012])  
       allow_undefined_flag='-undefined suppress'  
       ;;  
     *) # Darwin 1.3 on  
       allow_undefined_flag='-flat_namespace -undefined suppress'  
       ;;  
     esac  
     # FIXME: Relying on posixy $() will cause problems for  
     #        cross-compilation, but unfortunately the echo tests do not  
     #        yet detect zsh echo's removal of \ escapes.  
     archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'  
     # We need to add '_' to the symbols in $export_symbols first  
     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'  
     hardcode_direct=yes  
     hardcode_shlibpath_var=no  
     whole_archive_flag_spec='-all_load $convenience'  
     ;;  
   
   freebsd1*)  
     ld_shlibs=no  
     ;;  
   
   # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor  
   # support.  Future versions do this automatically, but an explicit c++rt0.o  
   # does not break anything, and helps significantly (at the cost of a little  
   # extra space).  
   freebsd2.2*)  
     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'  
     hardcode_libdir_flag_spec='-R$libdir'  
     hardcode_direct=yes  
     hardcode_shlibpath_var=no  
     ;;  
   
   # Unfortunately, older versions of FreeBSD 2 do not have this feature.  
   freebsd2*)  
     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  
     hardcode_direct=yes  
     hardcode_minus_L=yes  
     hardcode_shlibpath_var=no  
     ;;  
   
   # FreeBSD 3 and greater uses gcc -shared to do shared libraries.  
   freebsd*)  
     archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'  
     hardcode_libdir_flag_spec='-R$libdir'  
     hardcode_direct=yes  
     hardcode_shlibpath_var=no  
     ;;  
   
   hpux9* | hpux10* | hpux11*)  
     case $host_os in  
     hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;  
     *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;  
     esac  
     hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'  
     hardcode_libdir_separator=:  
     hardcode_direct=yes  
     hardcode_minus_L=yes # Not in the search PATH, but as the default  
                          # location of the library.  
     export_dynamic_flag_spec='${wl}-E'  
     ;;  
   
   irix5* | irix6*)  
     if test "$GCC" = yes; then  
       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'  
     else  
       archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'  
     fi  
     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'  
     hardcode_libdir_separator=:  
     link_all_deplibs=yes  
     ;;  
   
   netbsd*)  
     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then  
       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out  
     else  
       archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF  
     fi  
     hardcode_libdir_flag_spec='-R$libdir'  
     hardcode_direct=yes  
     hardcode_shlibpath_var=no  
     ;;  
   
   newsos6)  
     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'  
     hardcode_direct=yes  
     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'  
     hardcode_libdir_separator=:  
     hardcode_shlibpath_var=no  
     ;;  
   
   openbsd*)  
     hardcode_direct=yes  
     hardcode_shlibpath_var=no  
     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then  
       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'  
       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'  
       export_dynamic_flag_spec='${wl}-E'  
     else  
       case "$host_os" in  
       openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)  
         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  
         hardcode_libdir_flag_spec='-R$libdir'  
         ;;  
       *)  
         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'  
         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'  
         ;;  
       esac  
     fi  
     ;;  
   
   os2*)  
     hardcode_libdir_flag_spec='-L$libdir'  
     hardcode_minus_L=yes  
     allow_undefined_flag=unsupported  
     archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'  
     old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'  
     ;;  
   
   osf3*)  
     if test "$GCC" = yes; then  
       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'  
       archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'  
     else  
       allow_undefined_flag=' -expect_unresolved \*'  
       archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'  
     fi  
     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'  
     hardcode_libdir_separator=:  
     ;;  
   
   osf4* | osf5*)        # as osf3* with the addition of -msym flag  
     if test "$GCC" = yes; then  
       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'  
       archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'  
       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'  
     else  
       allow_undefined_flag=' -expect_unresolved \*'  
       archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'  
       archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~  
       $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'  
   
       #Both c and cxx compiler support -rpath directly  
       hardcode_libdir_flag_spec='-rpath $libdir'  
     fi  
     hardcode_libdir_separator=:  
     ;;  
   
   sco3.2v5*)  
     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'  
     hardcode_shlibpath_var=no  
     runpath_var=LD_RUN_PATH  
     hardcode_runpath_var=yes  
     export_dynamic_flag_spec='${wl}-Bexport'  
     ;;  
   
   solaris*)  
     # gcc --version < 3.0 without binutils cannot create self contained  
     # shared libraries reliably, requiring libgcc.a to resolve some of  
     # the object symbols generated in some cases.  Libraries that use  
     # assert need libgcc.a to resolve __eprintf, for example.  Linking  
     # a copy of libgcc.a into every shared library to guarantee resolving  
     # such symbols causes other problems:  According to Tim Van Holder  
     # <tim.van.holder@pandora.be>, C++ libraries end up with a separate  
     # (to the application) exception stack for one thing.  
     no_undefined_flag=' -z defs'  
     if test "$GCC" = yes; then  
       case `$CC --version 2>/dev/null` in  
       [12].*)  
         cat <<EOF 1>&2  
   
 *** Warning: Releases of GCC earlier than version 3.0 cannot reliably  
 *** create self contained shared libraries on Solaris systems, without  
 *** introducing a dependency on libgcc.a.  Therefore, libtool is disabling  
 *** -no-undefined support, which will at least allow you to build shared  
 *** libraries.  However, you may find that when you link such libraries  
 *** into an application without using GCC, you have to manually add  
 *** \`gcc --print-libgcc-file-name\` to the link command.  We urge you to  
 *** upgrade to a newer version of GCC.  Another option is to rebuild your  
 *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.  
   
 EOF  
         no_undefined_flag=  
         ;;  
       esac  
     fi  
     # $CC -shared without GNU ld will not create a library from C++  
     # object files and a static libstdc++, better avoid it by now  
     archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'  
     archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~  
                 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'  
     hardcode_libdir_flag_spec='-R$libdir'  
     hardcode_shlibpath_var=no  
     case $host_os in  
     solaris2.[0-5] | solaris2.[0-5].*) ;;  
     *) # Supported since Solaris 2.6 (maybe 2.5.1?)  
       whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;  
     esac  
     link_all_deplibs=yes  
     ;;  
   
   sunos4*)  
     if test "x$host_vendor" = xsequent; then  
       # Use $CC to link under sequent, because it throws in some extra .o  
       # files that make .init and .fini sections work.  
       archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'  
     else  
       archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'  
     fi  
     hardcode_libdir_flag_spec='-L$libdir'  
     hardcode_direct=yes  
     hardcode_minus_L=yes  
     hardcode_shlibpath_var=no  
     ;;  
   
   sysv4)  
     if test "x$host_vendor" = xsno; then  
       archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags'  
       hardcode_direct=yes # is this really true???  
     else  
       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'  
       hardcode_direct=no #Motorola manual says yes, but my tests say they lie  
     fi  
     runpath_var='LD_RUN_PATH'  
     hardcode_shlibpath_var=no  
     ;;  
   
   sysv4.3*)  
     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'  
     hardcode_shlibpath_var=no  
     export_dynamic_flag_spec='-Bexport'  
     ;;  
   
   sysv5*)  
     no_undefined_flag=' -z text'  
     # $CC -shared without GNU ld will not create a library from C++  
     # object files and a static libstdc++, better avoid it by now  
     archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'  
     archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~  
                 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'  
     hardcode_libdir_flag_spec=  
     hardcode_shlibpath_var=no  
     runpath_var='LD_RUN_PATH'  
     ;;  
   
   uts4*)  
     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'  
     hardcode_libdir_flag_spec='-L$libdir'  
     hardcode_shlibpath_var=no  
     ;;  
   
   dgux*)  
     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'  
     hardcode_libdir_flag_spec='-L$libdir'  
     hardcode_shlibpath_var=no  
     ;;  
   
   sysv4*MP*)  
     if test -d /usr/nec; then  
       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'  
       hardcode_shlibpath_var=no  
       runpath_var=LD_RUN_PATH  
       hardcode_runpath_var=yes  
       ld_shlibs=yes  
     fi  
     ;;  
   
   sysv4.2uw2*)  
     archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'  
     hardcode_direct=yes  
     hardcode_minus_L=no  
     hardcode_shlibpath_var=no  
     hardcode_runpath_var=yes  
     runpath_var=LD_RUN_PATH  
     ;;  
   
   sysv5uw7* | unixware7*)  
     no_undefined_flag='${wl}-z ${wl}text'  
     if test "$GCC" = yes; then  
       archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'  
     else  
       archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'  
     fi  
     runpath_var='LD_RUN_PATH'  
     hardcode_shlibpath_var=no  
     ;;  
   
   *)  
     ld_shlibs=no  
     ;;  
   esac  
 fi  
 echo "$ac_t""$ld_shlibs" 1>&6  
 test "$ld_shlibs" = no && can_build_shared=no  
   
 # Check hardcoding attributes.  
 echo $ac_n "checking how to hardcode library paths into programs""... $ac_c" 1>&6  
 echo "configure:4585: checking how to hardcode library paths into programs" >&5  
 hardcode_action=  
 if test -n "$hardcode_libdir_flag_spec" || \  
    test -n "$runpath_var"; then  
   
   # We can hardcode non-existant directories.  
   if test "$hardcode_direct" != no &&  
      # If the only mechanism to avoid hardcoding is shlibpath_var, we  
      # have to relink, otherwise we might link with an installed library  
      # when we should be linking with a yet-to-be-installed one  
      ## test "$hardcode_shlibpath_var" != no &&  
      test "$hardcode_minus_L" != no; then  
     # Linking always hardcodes the temporary library directory.  
     hardcode_action=relink  
   else  
     # We can link without hardcoding, and we can hardcode nonexisting dirs.  
     hardcode_action=immediate  
   fi  
 else  
   # We cannot hardcode anything, or else we can only hardcode existing  
   # directories.  
   hardcode_action=unsupported  
 fi  
 echo "$ac_t""$hardcode_action" 1>&6  
   
 striplib=  
 old_striplib=  
 echo $ac_n "checking whether stripping libraries is possible""... $ac_c" 1>&6  
 echo "configure:4613: checking whether stripping libraries is possible" >&5  
 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then  
   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"  
   test -z "$striplib" && striplib="$STRIP --strip-unneeded"  
   echo "$ac_t""yes" 1>&6  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 reload_cmds='$LD$reload_flag -o $output$reload_objs'  
 test -z "$deplibs_check_method" && deplibs_check_method=unknown  
   
 # PORTME Fill in your ld.so characteristics  
 echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6  
 echo "configure:4627: checking dynamic linker characteristics" >&5  
 library_names_spec=  
 libname_spec='lib$name'  
 soname_spec=  
 postinstall_cmds=  
 postuninstall_cmds=  
 finish_cmds=  
 finish_eval=  
 shlibpath_var=  
 shlibpath_overrides_runpath=unknown  
 version_type=none  
 dynamic_linker="$host_os ld.so"  
 sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib"  
 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib /usr/X11R6/lib"  
   
 case $host_os in  
 aix3*)  
   version_type=linux  
   library_names_spec='${libname}${release}.so$versuffix $libname.a'  
   shlibpath_var=LIBPATH  
   
   # AIX has no versioning support, so we append a major version to the name.  
   soname_spec='${libname}${release}.so$major'  
   ;;  
   
 aix4* | aix5*)  
   version_type=linux  
   if test "$host_cpu" = ia64; then  
     # AIX 5 supports IA64  
     library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'  
     shlibpath_var=LD_LIBRARY_PATH  
   else  
     # With GCC up to 2.95.x, collect2 would create an import file  
     # for dependence libraries.  The import file would start with  
     # the line `#! .'.  This would cause the generated library to  
     # depend on `.', always an invalid library.  This was fixed in  
     # development snapshots of GCC prior to 3.0.  
     case $host_os in  
       aix4 | aix4.[01] | aix4.[01].*)  
         if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'  
              echo ' yes '  
              echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then  
           :  
         else  
           can_build_shared=no  
         fi  
         ;;  
     esac  
     # AIX (on Power*) has no versioning support, so currently we can  
     # not hardcode correct soname into executable. Probably we can  
     # add versioning support to collect2, so additional links can  
     # be useful in future.  
     if test "$aix_use_runtimelinking" = yes; then  
       # If using run time linking (on AIX 4.2 or later) use lib<name>.so  
       # instead of lib<name>.a to let people know that these are not  
       # typical AIX shared libraries.  
       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'  
4981      else      else
4982        # We preserve .a as extension for shared libraries through AIX4.2              for found_dir in $rpathdirs; do
4983        # and later when we are not doing run time linking.          acl_save_libdir="$libdir"
4984        library_names_spec='${libname}${release}.a $libname.a'          libdir="$found_dir"
4985        soname_spec='${libname}${release}.so$major'          eval flag=\"$hardcode_libdir_flag_spec\"
4986            libdir="$acl_save_libdir"
4987            LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
4988          done
4989      fi      fi
     shlibpath_var=LIBPATH  
   fi  
   ;;  
   
 amigaos*)  
   library_names_spec='$libname.ixlibrary $libname.a'  
   # Create ${libname}_ixlibrary.a entries in /sys/libs.  
   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'  
   ;;  
   
 beos*)  
   library_names_spec='${libname}.so'  
   dynamic_linker="$host_os ld.so"  
   shlibpath_var=LIBRARY_PATH  
   ;;  
   
 bsdi4*)  
   version_type=linux  
   need_version=no  
   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'  
   soname_spec='${libname}${release}.so$major'  
   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'  
   shlibpath_var=LD_LIBRARY_PATH  
   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"  
   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"  
   export_dynamic_flag_spec=-rdynamic  
   # the default ld.so.conf also contains /usr/contrib/lib and  
   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow  
   # libtool to hard-code these into programs  
   ;;  
   
 cygwin* | mingw* | pw32*)  
   version_type=windows  
   need_version=no  
   need_lib_prefix=no  
   case $GCC,$host_os in  
   yes,cygwin*)  
     library_names_spec='$libname.dll.a'  
     soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'  
     postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~  
       dldir=$destdir/`dirname \$dlpath`~  
       test -d \$dldir || mkdir -p \$dldir~  
       $install_prog .libs/$dlname \$dldir/$dlname'  
     postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~  
       dlpath=$dir/\$dldll~  
        $rm \$dlpath'  
     ;;  
   yes,mingw*)  
     library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'  
     sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`  
     ;;  
   yes,pw32*)  
     library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'  
     ;;  
   *)  
     library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'  
     ;;  
   esac  
   dynamic_linker='Win32 ld.exe'  
   # FIXME: first we should search . and the directory the executable is in  
   shlibpath_var=PATH  
   ;;  
   
 darwin* | rhapsody*)  
   dynamic_linker="$host_os dyld"  
   version_type=darwin  
   need_lib_prefix=no  
   need_version=no  
   # FIXME: Relying on posixy $() will cause problems for  
   #        cross-compilation, but unfortunately the echo tests do not  
   #        yet detect zsh echo's removal of \ escapes.  
   library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'  
   soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'  
   shlibpath_overrides_runpath=yes  
   shlibpath_var=DYLD_LIBRARY_PATH  
   ;;  
   
 freebsd1*)  
   dynamic_linker=no  
   ;;  
   
 freebsd*)  
   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`  
   version_type=freebsd-$objformat  
   case $version_type in  
     freebsd-elf*)  
       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'  
       need_version=no  
       need_lib_prefix=no  
       ;;  
     freebsd-*)  
       library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'  
       need_version=yes  
       ;;  
   esac  
   shlibpath_var=LD_LIBRARY_PATH  
   case $host_os in  
   freebsd2*)  
     shlibpath_overrides_runpath=yes  
     ;;  
   *)  
     shlibpath_overrides_runpath=no  
     hardcode_into_libs=yes  
     ;;  
   esac  
   ;;  
   
 gnu*)  
   version_type=linux  
   need_lib_prefix=no  
   need_version=no  
   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'  
   soname_spec='${libname}${release}.so$major'  
   shlibpath_var=LD_LIBRARY_PATH  
   hardcode_into_libs=yes  
   ;;  
   
 hpux9* | hpux10* | hpux11*)  
   # Give a soname corresponding to the major version so that dld.sl refuses to  
   # link against other versions.  
   dynamic_linker="$host_os dld.sl"  
   version_type=sunos  
   need_lib_prefix=no  
   need_version=no  
   shlibpath_var=SHLIB_PATH  
   shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH  
   library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'  
   soname_spec='${libname}${release}.sl$major'  
   # HP-UX runs *really* slowly unless shared libraries are mode 555.  
   postinstall_cmds='chmod 555 $lib'  
   ;;  
   
 irix5* | irix6*)  
   version_type=irix  
   need_lib_prefix=no  
   need_version=no  
   soname_spec='${libname}${release}.so$major'  
   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'  
   case $host_os in  
   irix5*)  
     libsuff= shlibsuff=  
     ;;  
   *)  
     case $LD in # libtool.m4 will add one of these switches to LD  
     *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;  
     *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;  
     *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;  
     *) libsuff= shlibsuff= libmagic=never-match;;  
     esac  
     ;;  
   esac  
   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH  
   shlibpath_overrides_runpath=no  
   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"  
   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"  
   ;;  
   
 # No shared lib support for Linux oldld, aout, or coff.  
 linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)  
   dynamic_linker=no  
   ;;  
   
 # This must be Linux ELF.  
 linux-gnu*)  
   version_type=linux  
   need_lib_prefix=no  
   need_version=no  
   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'  
   soname_spec='${libname}${release}.so$major'  
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'  
   shlibpath_var=LD_LIBRARY_PATH  
   shlibpath_overrides_runpath=no  
   # This implies no fast_install, which is unacceptable.  
   # Some rework will be needed to allow for fast_install  
   # before this can be enabled.  
   hardcode_into_libs=yes  
   
   # We used to test for /lib/ld.so.1 and disable shared libraries on  
   # powerpc, because MkLinux only supported shared libraries with the  
   # GNU dynamic linker.  Since this was broken with cross compilers,  
   # most powerpc-linux boxes support dynamic linking these days and  
   # people can always --disable-shared, the test was removed, and we  
   # assume the GNU/Linux dynamic linker is in use.  
   dynamic_linker='GNU/Linux ld.so'  
   ;;  
   
 netbsd*)  
   version_type=sunos  
   need_lib_prefix=no  
   need_version=no  
   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then  
     library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'  
     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'  
     dynamic_linker='NetBSD (a.out) ld.so'  
   else  
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'  
     soname_spec='${libname}${release}.so$major'  
     dynamic_linker='NetBSD ld.elf_so'  
   fi  
   shlibpath_var=LD_LIBRARY_PATH  
   shlibpath_overrides_runpath=yes  
   hardcode_into_libs=yes  
   ;;  
   
 newsos6)  
   version_type=linux  
   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'  
   shlibpath_var=LD_LIBRARY_PATH  
   shlibpath_overrides_runpath=yes  
   ;;  
   
 openbsd*)  
   version_type=sunos  
   need_lib_prefix=no  
   need_version=no  
   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then  
     case "$host_os" in  
     openbsd2.[89] | openbsd2.[89].*)  
       shlibpath_overrides_runpath=no  
       ;;  
     *)  
       shlibpath_overrides_runpath=yes  
       ;;  
     esac  
   else  
     shlibpath_overrides_runpath=yes  
   fi  
   library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'  
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'  
   shlibpath_var=LD_LIBRARY_PATH  
   ;;  
   
 os2*)  
   libname_spec='$name'  
   need_lib_prefix=no  
   library_names_spec='$libname.dll $libname.a'  
   dynamic_linker='OS/2 ld.exe'  
   shlibpath_var=LIBPATH  
   ;;  
   
 osf3* | osf4* | osf5*)  
   version_type=osf  
   need_version=no  
   soname_spec='${libname}${release}.so'  
   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'  
   shlibpath_var=LD_LIBRARY_PATH  
   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"  
   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"  
   ;;  
   
 sco3.2v5*)  
   version_type=osf  
   soname_spec='${libname}${release}.so$major'  
   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'  
   shlibpath_var=LD_LIBRARY_PATH  
   ;;  
   
 solaris*)  
   version_type=linux  
   need_lib_prefix=no  
   need_version=no  
   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'  
   soname_spec='${libname}${release}.so$major'  
   shlibpath_var=LD_LIBRARY_PATH  
   shlibpath_overrides_runpath=yes  
   hardcode_into_libs=yes  
   # ldd complains unless libraries are executable  
   postinstall_cmds='chmod +x $lib'  
   ;;  
   
 sunos4*)  
   version_type=sunos  
   library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'  
   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'  
   shlibpath_var=LD_LIBRARY_PATH  
   shlibpath_overrides_runpath=yes  
   if test "$with_gnu_ld" = yes; then  
     need_lib_prefix=no  
   fi  
   need_version=yes  
   ;;  
   
 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)  
   version_type=linux  
   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'  
   soname_spec='${libname}${release}.so$major'  
   shlibpath_var=LD_LIBRARY_PATH  
   case $host_vendor in  
     sni)  
       shlibpath_overrides_runpath=no  
       ;;  
     motorola)  
       need_lib_prefix=no  
       need_version=no  
       shlibpath_overrides_runpath=no  
       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'  
       ;;  
   esac  
   ;;  
   
 uts4*)  
   version_type=linux  
   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'  
   soname_spec='${libname}${release}.so$major'  
   shlibpath_var=LD_LIBRARY_PATH  
   ;;  
   
 dgux*)  
   version_type=linux  
   need_lib_prefix=no  
   need_version=no  
   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'  
   soname_spec='${libname}${release}.so$major'  
   shlibpath_var=LD_LIBRARY_PATH  
   ;;  
   
 sysv4*MP*)  
   if test -d /usr/nec ;then  
     version_type=linux  
     library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'  
     soname_spec='$libname.so.$major'  
     shlibpath_var=LD_LIBRARY_PATH  
4990    fi    fi
4991    ;;    if test "X$ltrpathdirs" != "X"; then
4992                for found_dir in $ltrpathdirs; do
4993  *)        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
4994    dynamic_linker=no      done
   ;;  
 esac  
 echo "$ac_t""$dynamic_linker" 1>&6  
 test "$dynamic_linker" = no && can_build_shared=no  
   
 # Report the final consequences.  
 echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6  
 echo "configure:5024: checking if libtool supports shared libraries" >&5  
 echo "$ac_t""$can_build_shared" 1>&6  
   
 echo $ac_n "checking whether to build shared libraries""... $ac_c" 1>&6  
 echo "configure:5028: checking whether to build shared libraries" >&5  
 test "$can_build_shared" = "no" && enable_shared=no  
   
 # On AIX, shared libraries and static libraries use the same namespace, and  
 # are all built from PIC.  
 case "$host_os" in  
 aix3*)  
   test "$enable_shared" = yes && enable_static=no  
   if test -n "$RANLIB"; then  
     archive_cmds="$archive_cmds~\$RANLIB \$lib"  
     postinstall_cmds='$RANLIB $lib'  
   fi  
   ;;  
   
 aix4*)  
   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then  
     test "$enable_shared" = yes && enable_static=no  
   fi  
   ;;  
 esac  
 echo "$ac_t""$enable_shared" 1>&6  
   
 echo $ac_n "checking whether to build static libraries""... $ac_c" 1>&6  
 echo "configure:5051: checking whether to build static libraries" >&5  
 # Make sure either enable_shared or enable_static is yes.  
 test "$enable_shared" = yes || enable_static=yes  
 echo "$ac_t""$enable_static" 1>&6  
   
 if test "$hardcode_action" = relink; then  
   # Fast installation is not supported  
   enable_fast_install=no  
 elif test "$shlibpath_overrides_runpath" = yes ||  
      test "$enable_shared" = no; then  
   # Fast installation is not necessary  
   enable_fast_install=needless  
 fi  
   
 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"  
 if test "$GCC" = yes; then  
   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"  
 fi  
   
 if test "x$enable_dlopen" != xyes; then  
   enable_dlopen=unknown  
   enable_dlopen_self=unknown  
   enable_dlopen_self_static=unknown  
 else  
   lt_cv_dlopen=no  
   lt_cv_dlopen_libs=  
   
   case $host_os in  
   beos*)  
     lt_cv_dlopen="load_add_on"  
     lt_cv_dlopen_libs=  
     lt_cv_dlopen_self=yes  
     ;;  
   
   cygwin* | mingw* | pw32*)  
     lt_cv_dlopen="LoadLibrary"  
     lt_cv_dlopen_libs=  
    ;;  
   
   *)  
     echo $ac_n "checking for shl_load""... $ac_c" 1>&6  
 echo "configure:5092: checking for shl_load" >&5  
 if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 5097 "configure"  
 #include "confdefs.h"  
 /* System header to define __stub macros and hopefully few prototypes,  
     which can conflict with char shl_load(); below.  */  
 #include <assert.h>  
 /* Override any gcc2 internal prototype to avoid an error.  */  
 /* We use char because int might match the return type of a gcc2  
     builtin and then its argument prototype would still apply.  */  
 char shl_load();  
   
 int main() {  
   
 /* The GNU C library defines this for functions which it implements  
     to always fail with ENOSYS.  Some functions are actually named  
     something starting with __ and the normal name is an alias.  */  
 #if defined (__stub_shl_load) || defined (__stub___shl_load)  
 choke me  
 #else  
 shl_load();  
 #endif  
   
 ; return 0; }  
 EOF  
 if { (eval echo configure:5120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   eval "ac_cv_func_shl_load=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_func_shl_load=no"  
 fi  
 rm -f conftest*  
 fi  
   
 if eval "test \"`echo '$ac_cv_func_'shl_load`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
   lt_cv_dlopen="shl_load"  
 else  
   echo "$ac_t""no" 1>&6  
 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6  
 echo "configure:5138: checking for shl_load in -ldld" >&5  
 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-ldld  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 5146 "configure"  
 #include "confdefs.h"  
 /* Override any gcc2 internal prototype to avoid an error.  */  
 /* We use char because int might match the return type of a gcc2  
     builtin and then its argument prototype would still apply.  */  
 char shl_load();  
   
 int main() {  
 shl_load()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:5157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"  
 else  
   echo "$ac_t""no" 1>&6  
 echo $ac_n "checking for dlopen""... $ac_c" 1>&6  
 echo "configure:5176: checking for dlopen" >&5  
 if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 5181 "configure"  
 #include "confdefs.h"  
 /* System header to define __stub macros and hopefully few prototypes,  
     which can conflict with char dlopen(); below.  */  
 #include <assert.h>  
 /* Override any gcc2 internal prototype to avoid an error.  */  
 /* We use char because int might match the return type of a gcc2  
     builtin and then its argument prototype would still apply.  */  
 char dlopen();  
   
 int main() {  
   
 /* The GNU C library defines this for functions which it implements  
     to always fail with ENOSYS.  Some functions are actually named  
     something starting with __ and the normal name is an alias.  */  
 #if defined (__stub_dlopen) || defined (__stub___dlopen)  
 choke me  
 #else  
 dlopen();  
 #endif  
   
 ; return 0; }  
 EOF  
 if { (eval echo configure:5204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   eval "ac_cv_func_dlopen=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_func_dlopen=no"  
 fi  
 rm -f conftest*  
 fi  
   
 if eval "test \"`echo '$ac_cv_func_'dlopen`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
   lt_cv_dlopen="dlopen"  
 else  
   echo "$ac_t""no" 1>&6  
 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6  
 echo "configure:5222: checking for dlopen in -ldl" >&5  
 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-ldl  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 5230 "configure"  
 #include "confdefs.h"  
 /* Override any gcc2 internal prototype to avoid an error.  */  
 /* We use char because int might match the return type of a gcc2  
     builtin and then its argument prototype would still apply.  */  
 char dlopen();  
   
 int main() {  
 dlopen()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:5241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"  
 else  
   echo "$ac_t""no" 1>&6  
 echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6  
 echo "configure:5260: checking for dlopen in -lsvld" >&5  
 ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lsvld  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 5268 "configure"  
 #include "confdefs.h"  
 /* Override any gcc2 internal prototype to avoid an error.  */  
 /* We use char because int might match the return type of a gcc2  
     builtin and then its argument prototype would still apply.  */  
 char dlopen();  
   
 int main() {  
 dlopen()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:5279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"  
 else  
   echo "$ac_t""no" 1>&6  
 echo $ac_n "checking for dld_link in -ldld""... $ac_c" 1>&6  
 echo "configure:5298: checking for dld_link in -ldld" >&5  
 ac_lib_var=`echo dld'_'dld_link | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-ldld  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 5306 "configure"  
 #include "confdefs.h"  
 /* Override any gcc2 internal prototype to avoid an error.  */  
 /* We use char because int might match the return type of a gcc2  
     builtin and then its argument prototype would still apply.  */  
 char dld_link();  
   
 int main() {  
 dld_link()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:5317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
                 
 fi  
   
               
 fi  
   
             
 fi  
   
           
 fi  
   
         
 fi  
   
     ;;  
   esac  
   
   if test "x$lt_cv_dlopen" != xno; then  
     enable_dlopen=yes  
   else  
     enable_dlopen=no  
4995    fi    fi
4996    
4997    case $lt_cv_dlopen in            echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
4998    dlopen)  echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
4999      save_CPPFLAGS="$CPPFLAGS"  if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
5000          test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"    echo $ECHO_N "(cached) $ECHO_C" >&6
5001    else
5002      save_LDFLAGS="$LDFLAGS"    gt_save_CPPFLAGS="$CPPFLAGS"
5003      eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"              CPPFLAGS="$CPPFLAGS $INCINTL"
5004                gt_save_LIBS="$LIBS"
5005      save_LIBS="$LIBS"              LIBS="$LIBS $LIBINTL"
5006      LIBS="$lt_cv_dlopen_libs $LIBS"                          cat >conftest.$ac_ext <<_ACEOF
5007    #line $LINENO "configure"
5008      echo $ac_n "checking whether a program can dlopen itself""... $ac_c" 1>&6  /* confdefs.h.  */
5009  echo "configure:5373: checking whether a program can dlopen itself" >&5  _ACEOF
5010  if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then  cat confdefs.h >>conftest.$ac_ext
5011    echo $ac_n "(cached) $ac_c" 1>&6  cat >>conftest.$ac_ext <<_ACEOF
5012  else  /* end confdefs.h.  */
5013            if test "$cross_compiling" = yes; then :  #include <libintl.h>
5014    lt_cv_dlopen_self=cross  extern int _nl_msg_cat_cntr;
5015  else  extern
     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2  
   lt_status=$lt_dlunknown  
   cat > conftest.$ac_ext <<EOF  
 #line 5383 "configure"  
 #include "confdefs.h"  
   
 #if HAVE_DLFCN_H  
 #include <dlfcn.h>  
 #endif  
   
 #include <stdio.h>  
   
 #ifdef RTLD_GLOBAL  
 #  define LT_DLGLOBAL           RTLD_GLOBAL  
 #else  
 #  ifdef DL_GLOBAL  
 #    define LT_DLGLOBAL         DL_GLOBAL  
 #  else  
 #    define LT_DLGLOBAL         0  
 #  endif  
 #endif  
   
 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we  
    find out it does not work in some platform. */  
 #ifndef LT_DLLAZY_OR_NOW  
 #  ifdef RTLD_LAZY  
 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY  
 #  else  
 #    ifdef DL_LAZY  
 #      define LT_DLLAZY_OR_NOW          DL_LAZY  
 #    else  
 #      ifdef RTLD_NOW  
 #        define LT_DLLAZY_OR_NOW        RTLD_NOW  
 #      else  
 #        ifdef DL_NOW  
 #          define LT_DLLAZY_OR_NOW      DL_NOW  
 #        else  
 #          define LT_DLLAZY_OR_NOW      0  
 #        endif  
 #      endif  
 #    endif  
 #  endif  
 #endif  
   
5016  #ifdef __cplusplus  #ifdef __cplusplus
5017  extern "C" void exit (int);  "C"
5018  #endif  #endif
5019    const char *_nl_expand_alias ();
5020  void fnord() { int i=42;}  int
5021  int main ()  main ()
5022  {  {
5023    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);  bindtextdomain ("", "");
5024    int status = $lt_dlunknown;  return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
5025      ;
5026    if (self)    return 0;
     {  
       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;  
       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;  
       /* dlclose (self); */  
     }  
   
     exit (status);  
5027  }  }
5028  EOF  _ACEOF
5029    if { (eval echo configure:5444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then  rm -f conftest.$ac_objext conftest$ac_exeext
5030      (./conftest; exit; ) 2>/dev/null  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5031      lt_status=$?    (eval $ac_link) 2>&5
5032      case x$lt_status in    ac_status=$?
5033        x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5034        x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;    (exit $ac_status); } &&
5035        x$lt_unknown|x*) lt_cv_dlopen_self=no ;;           { ac_try='test -s conftest$ac_exeext'
5036    esac    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5037    else :    (eval $ac_try) 2>&5
5038      # compilation failed    ac_status=$?
5039      lt_cv_dlopen_self=no    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040    fi    (exit $ac_status); }; }; then
5041  fi    gt_cv_func_gnugettext1_libintl=yes
5042  rm -fr conftest*  else
5043      echo "$as_me: failed program was:" >&5
5044        sed 's/^/| /' conftest.$ac_ext >&5
5045  fi  
5046    gt_cv_func_gnugettext1_libintl=no
5047  echo "$ac_t""$lt_cv_dlopen_self" 1>&6  fi
5048    rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5049      if test "x$lt_cv_dlopen_self" = xyes; then                          if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
5050        LDFLAGS="$LDFLAGS $link_static_flag"                LIBS="$LIBS $LIBICONV"
5051        echo $ac_n "checking whether a statically linked program can dlopen itself""... $ac_c" 1>&6                cat >conftest.$ac_ext <<_ACEOF
5052  echo "configure:5467: checking whether a statically linked program can dlopen itself" >&5  #line $LINENO "configure"
5053  if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then  /* confdefs.h.  */
5054    echo $ac_n "(cached) $ac_c" 1>&6  _ACEOF
5055  else  cat confdefs.h >>conftest.$ac_ext
5056            if test "$cross_compiling" = yes; then :  cat >>conftest.$ac_ext <<_ACEOF
5057    lt_cv_dlopen_self_static=cross  /* end confdefs.h.  */
5058  else  #include <libintl.h>
5059      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2  extern int _nl_msg_cat_cntr;
5060    lt_status=$lt_dlunknown  extern
   cat > conftest.$ac_ext <<EOF  
 #line 5477 "configure"  
 #include "confdefs.h"  
   
 #if HAVE_DLFCN_H  
 #include <dlfcn.h>  
 #endif  
   
 #include <stdio.h>  
   
 #ifdef RTLD_GLOBAL  
 #  define LT_DLGLOBAL           RTLD_GLOBAL  
 #else  
 #  ifdef DL_GLOBAL  
 #    define LT_DLGLOBAL         DL_GLOBAL  
 #  else  
 #    define LT_DLGLOBAL         0  
 #  endif  
 #endif  
   
 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we  
    find out it does not work in some platform. */  
 #ifndef LT_DLLAZY_OR_NOW  
 #  ifdef RTLD_LAZY  
 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY  
 #  else  
 #    ifdef DL_LAZY  
 #      define LT_DLLAZY_OR_NOW          DL_LAZY  
 #    else  
 #      ifdef RTLD_NOW  
 #        define LT_DLLAZY_OR_NOW        RTLD_NOW  
 #      else  
 #        ifdef DL_NOW  
 #          define LT_DLLAZY_OR_NOW      DL_NOW  
 #        else  
 #          define LT_DLLAZY_OR_NOW      0  
 #        endif  
 #      endif  
 #    endif  
 #  endif  
 #endif  
   
5061  #ifdef __cplusplus  #ifdef __cplusplus
5062  extern "C" void exit (int);  "C"
5063  #endif  #endif
5064    const char *_nl_expand_alias ();
5065  void fnord() { int i=42;}  int
5066  int main ()  main ()
5067  {  {
5068    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);  bindtextdomain ("", "");
5069    int status = $lt_dlunknown;  return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
5070      ;
5071      return 0;
5072    }
5073    _ACEOF
5074    rm -f conftest.$ac_objext conftest$ac_exeext
5075    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5076      (eval $ac_link) 2>&5
5077      ac_status=$?
5078      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5079      (exit $ac_status); } &&
5080             { ac_try='test -s conftest$ac_exeext'
5081      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5082      (eval $ac_try) 2>&5
5083      ac_status=$?
5084      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5085      (exit $ac_status); }; }; then
5086      LIBINTL="$LIBINTL $LIBICONV"
5087                    LTLIBINTL="$LTLIBINTL $LTLIBICONV"
5088                    gt_cv_func_gnugettext1_libintl=yes
5089    
5090    if (self)  else
5091      {    echo "$as_me: failed program was:" >&5
5092        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;  sed 's/^/| /' conftest.$ac_ext >&5
       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;  
       /* dlclose (self); */  
     }  
5093    
     exit (status);  
 }  
 EOF  
   if { (eval echo configure:5538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then  
     (./conftest; exit; ) 2>/dev/null  
     lt_status=$?  
     case x$lt_status in  
       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;  
       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;  
       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;  
   esac  
   else :  
     # compilation failed  
     lt_cv_dlopen_self_static=no  
   fi  
5094  fi  fi
5095  rm -fr conftest*  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5096                fi
5097                      CPPFLAGS="$gt_save_CPPFLAGS"
5098                LIBS="$gt_save_LIBS"
5099  fi  fi
5100    echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
5101    echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
5102            fi
5103    
5104  echo "$ac_t""$lt_cv_dlopen_self_static" 1>&6                                          if test "$gt_cv_func_gnugettext1_libc" = "yes" \
5105      fi             || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
5106                    && test "$PACKAGE" != gettext; }; then
5107              gt_use_preinstalled_gnugettext=yes
5108            else
5109                        LIBINTL=
5110              LTLIBINTL=
5111              INCINTL=
5112            fi
5113    
     CPPFLAGS="$save_CPPFLAGS"  
     LDFLAGS="$save_LDFLAGS"  
     LIBS="$save_LIBS"  
     ;;  
   esac  
5114    
   case $lt_cv_dlopen_self in  
   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;  
   *) enable_dlopen_self=unknown ;;  
   esac  
5115    
5116    case $lt_cv_dlopen_self_static in      if test "$gt_use_preinstalled_gnugettext" = "yes" \
5117    yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;         || test "$nls_cv_use_gnu_gettext" = "yes"; then
   *) enable_dlopen_self_static=unknown ;;  
   esac  
 fi  
5118    
5119    cat >>confdefs.h <<\_ACEOF
5120    #define ENABLE_NLS 1
5121    _ACEOF
5122    
 if test "$enable_shared" = yes && test "$GCC" = yes; then  
   case $archive_cmds in  
   *'~'*)  
     # FIXME: we may have to deal with multi-command sequences.  
     ;;  
   '$CC '*)  
     # Test whether the compiler implicitly links with -lc since on some  
     # systems, -lgcc has to come before -lc. If gcc already passes -lc  
     # to ld, don't add -lc before -lgcc.  
     echo $ac_n "checking whether -lc should be explicitly linked in""... $ac_c" 1>&6  
 echo "configure:5587: checking whether -lc should be explicitly linked in" >&5  
     if eval "test \"`echo '$''{'lt_cv_archive_cmds_need_lc'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   $rm conftest*  
     echo 'static int dummy;' > conftest.$ac_ext  
   
     if { (eval echo configure:5594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
       soname=conftest  
       lib=conftest  
       libobjs=conftest.$ac_objext  
       deplibs=  
       wl=$lt_cv_prog_cc_wl  
       compiler_flags=-v  
       linker_flags=-v  
       verstring=  
       output_objdir=.  
       libname=conftest  
       save_allow_undefined_flag=$allow_undefined_flag  
       allow_undefined_flag=  
       if { (eval echo configure:5607: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; }  
       then  
         lt_cv_archive_cmds_need_lc=no  
       else  
         lt_cv_archive_cmds_need_lc=yes  
       fi  
       allow_undefined_flag=$save_allow_undefined_flag  
5123      else      else
5124        cat conftest.err 1>&5        USE_NLS=no
5125      fi      fi
5126  fi    fi
5127    
5128      echo "$ac_t""$lt_cv_archive_cmds_need_lc" 1>&6    if test "$USE_NLS" = "yes"; then
     ;;  
   esac  
 fi  
 need_lc=${lt_cv_archive_cmds_need_lc-yes}  
5129    
5130  # The second clause should only fire when bootstrapping the      if test "$gt_use_preinstalled_gnugettext" = "yes"; then
5131  # libtool distribution, otherwise you forgot to ship ltmain.sh        if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
5132  # with your package, and you will get complaints that there are          echo "$as_me:$LINENO: checking how to link with libintl" >&5
5133  # no rules to generate ltmain.sh.  echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
5134  if test -f "$ltmain"; then          echo "$as_me:$LINENO: result: $LIBINTL" >&5
5135    :  echo "${ECHO_T}$LIBINTL" >&6
5136  else  
5137    # If there is no Makefile yet, we rely on a make rule to execute    for element in $INCINTL; do
5138    # `config.status --recheck' to rerun these tests and create the      haveit=
5139    # libtool script then.      for x in $CPPFLAGS; do
5140    test -f Makefile && make "$ltmain"  
5141  fi    acl_save_prefix="$prefix"
5142      prefix="$acl_final_prefix"
5143  if test -f "$ltmain"; then    acl_save_exec_prefix="$exec_prefix"
5144    trap "$rm \"${ofile}T\"; exit 1" 1 2 15    exec_prefix="$acl_final_exec_prefix"
5145    $rm -f "${ofile}T"    eval x=\"$x\"
5146      exec_prefix="$acl_save_exec_prefix"
5147    echo creating $ofile    prefix="$acl_save_prefix"
5148    
5149    # Now quote all the things that may contain metacharacters while being        if test "X$x" = "X$element"; then
5150    # careful not to overquote the AC_SUBSTed values.  We take copies of the          haveit=yes
5151    # variables and quote the copies for generation of the libtool script.          break
5152    for var in echo old_CC old_CFLAGS \        fi
5153      AR AR_FLAGS CC LD LN_S NM SHELL \      done
5154      reload_flag reload_cmds wl \      if test -z "$haveit"; then
5155      pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \        CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5156      thread_safe_flag_spec whole_archive_flag_spec libname_spec \      fi
     library_names_spec soname_spec \  
     RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \  
     old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \  
     postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \  
     old_striplib striplib file_magic_cmd export_symbols_cmds \  
     deplibs_check_method allow_undefined_flag no_undefined_flag \  
     finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \  
     global_symbol_to_c_name_address \  
     hardcode_libdir_flag_spec hardcode_libdir_separator  \  
     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \  
     compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do  
   
     case $var in  
     reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \  
     old_postinstall_cmds | old_postuninstall_cmds | \  
     export_symbols_cmds | archive_cmds | archive_expsym_cmds | \  
     extract_expsyms_cmds | old_archive_from_expsyms_cmds | \  
     postinstall_cmds | postuninstall_cmds | \  
     finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)  
       # Double-quote double-evaled strings.  
       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""  
       ;;  
     *)  
       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""  
       ;;  
     esac  
5157    done    done
5158    
5159    cat <<__EOF__ > "${ofile}T"        fi
 #! $SHELL  
   
 # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.  
 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)  
 # NOTE: Changes made to this file will be lost: look at ltmain.sh.  
 #  
 # Copyright (C) 1996-2000 Free Software Foundation, Inc.  
 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996  
 #  
 # This program is free software; you can redistribute it and/or modify  
 # it under the terms of the GNU General Public License as published by  
 # the Free Software Foundation; either version 2 of the License, or  
 # (at your option) any later version.  
 #  
 # This program is distributed in the hope that it will be useful, but  
 # WITHOUT ANY WARRANTY; without even the implied warranty of  
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  
 # General Public License for more details.  
 #  
 # You should have received a copy of the GNU General Public License  
 # along with this program; if not, write to the Free Software  
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  
 #  
 # As a special exception to the GNU General Public License, if you  
 # distribute this file as part of a program that contains a  
 # configuration script generated by Autoconf, you may include it under  
 # the same distribution terms that you use for the rest of that program.  
   
 # Sed that helps us avoid accidentally triggering echo(1) options like -n.  
 Xsed="sed -e s/^X//"  
   
 # The HP-UX ksh and POSIX shell print the target directory to stdout  
 # if CDPATH is set.  
 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi  
   
 # ### BEGIN LIBTOOL CONFIG  
   
 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:  
   
 # Shell to use when invoking shell scripts.  
 SHELL=$lt_SHELL  
   
 # Whether or not to build shared libraries.  
 build_libtool_libs=$enable_shared  
   
 # Whether or not to build static libraries.  
 build_old_libs=$enable_static  
   
 # Whether or not to add -lc for building shared libraries.  
 build_libtool_need_lc=$need_lc  
   
 # Whether or not to optimize for fast installation.  
 fast_install=$enable_fast_install  
   
 # The host system.  
 host_alias=$host_alias  
 host=$host  
   
 # An echo program that does not interpret backslashes.  
 echo=$lt_echo  
   
 # The archiver.  
 AR=$lt_AR  
 AR_FLAGS=$lt_AR_FLAGS  
   
 # The default C compiler.  
 CC=$lt_CC  
   
 # Is the compiler the GNU C compiler?  
 with_gcc=$GCC  
   
 # The linker used to build libraries.  
 LD=$lt_LD  
   
 # Whether we need hard or soft links.  
 LN_S=$lt_LN_S  
   
 # A BSD-compatible nm program.  
 NM=$lt_NM  
   
 # A symbol stripping program  
 STRIP=$STRIP  
   
 # Used to examine libraries when file_magic_cmd begins "file"  
 MAGIC_CMD=$MAGIC_CMD  
   
 # Used on cygwin: DLL creation program.  
 DLLTOOL="$DLLTOOL"  
   
 # Used on cygwin: object dumper.  
 OBJDUMP="$OBJDUMP"  
   
 # Used on cygwin: assembler.  
 AS="$AS"  
   
 # The name of the directory that contains temporary libtool files.  
 objdir=$objdir  
   
 # How to create reloadable object files.  
 reload_flag=$lt_reload_flag  
 reload_cmds=$lt_reload_cmds  
   
 # How to pass a linker flag through the compiler.  
 wl=$lt_wl  
   
 # Object file suffix (normally "o").  
 objext="$ac_objext"  
   
 # Old archive suffix (normally "a").  
 libext="$libext"  
   
 # Executable file suffix (normally "").  
 exeext="$exeext"  
   
 # Additional compiler flags for building library objects.  
 pic_flag=$lt_pic_flag  
 pic_mode=$pic_mode  
   
 # Does compiler simultaneously support -c and -o options?  
 compiler_c_o=$lt_compiler_c_o  
   
 # Can we write directly to a .lo ?  
 compiler_o_lo=$lt_compiler_o_lo  
   
 # Must we lock files when doing compilation ?  
 need_locks=$lt_need_locks  
   
 # Do we need the lib prefix for modules?  
 need_lib_prefix=$need_lib_prefix  
   
 # Do we need a version for libraries?  
 need_version=$need_version  
   
 # Whether dlopen is supported.  
 dlopen_support=$enable_dlopen  
   
 # Whether dlopen of programs is supported.  
 dlopen_self=$enable_dlopen_self  
   
 # Whether dlopen of statically linked programs is supported.  
 dlopen_self_static=$enable_dlopen_self_static  
   
 # Compiler flag to prevent dynamic linking.  
 link_static_flag=$lt_link_static_flag  
   
 # Compiler flag to turn off builtin functions.  
 no_builtin_flag=$lt_no_builtin_flag  
   
 # Compiler flag to allow reflexive dlopens.  
 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec  
   
 # Compiler flag to generate shared objects directly from archives.  
 whole_archive_flag_spec=$lt_whole_archive_flag_spec  
   
 # Compiler flag to generate thread-safe objects.  
 thread_safe_flag_spec=$lt_thread_safe_flag_spec  
   
 # Library versioning type.  
 version_type=$version_type  
   
 # Format of library name prefix.  
 libname_spec=$lt_libname_spec  
   
 # List of archive names.  First name is the real one, the rest are links.  
 # The last name is the one that the linker finds with -lNAME.  
 library_names_spec=$lt_library_names_spec  
   
 # The coded name of the library, if different from the real name.  
 soname_spec=$lt_soname_spec  
   
 # Commands used to build and install an old-style archive.  
 RANLIB=$lt_RANLIB  
 old_archive_cmds=$lt_old_archive_cmds  
 old_postinstall_cmds=$lt_old_postinstall_cmds  
 old_postuninstall_cmds=$lt_old_postuninstall_cmds  
   
 # Create an old-style archive from a shared archive.  
 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds  
   
 # Create a temporary old-style archive to link instead of a shared archive.  
 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds  
   
 # Commands used to build and install a shared archive.  
 archive_cmds=$lt_archive_cmds  
 archive_expsym_cmds=$lt_archive_expsym_cmds  
 postinstall_cmds=$lt_postinstall_cmds  
 postuninstall_cmds=$lt_postuninstall_cmds  
   
 # Commands to strip libraries.  
 old_striplib=$lt_old_striplib  
 striplib=$lt_striplib  
   
 # Method to check whether dependent libraries are shared objects.  
 deplibs_check_method=$lt_deplibs_check_method  
   
 # Command to use when deplibs_check_method == file_magic.  
 file_magic_cmd=$lt_file_magic_cmd  
   
 # Flag that allows shared libraries with undefined symbols to be built.  
 allow_undefined_flag=$lt_allow_undefined_flag  
   
 # Flag that forces no undefined symbols.  
 no_undefined_flag=$lt_no_undefined_flag  
   
 # Commands used to finish a libtool library installation in a directory.  
 finish_cmds=$lt_finish_cmds  
   
 # Same as above, but a single script fragment to be evaled but not shown.  
 finish_eval=$lt_finish_eval  
   
 # Take the output of nm and produce a listing of raw symbols and C names.  
 global_symbol_pipe=$lt_global_symbol_pipe  
   
 # Transform the output of nm in a proper C declaration  
 global_symbol_to_cdecl=$lt_global_symbol_to_cdecl  
   
 # Transform the output of nm in a C name address pair  
 global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address  
   
 # This is the shared library runtime path variable.  
 runpath_var=$runpath_var  
   
 # This is the shared library path variable.  
 shlibpath_var=$shlibpath_var  
   
 # Is shlibpath searched before the hard-coded library search path?  
 shlibpath_overrides_runpath=$shlibpath_overrides_runpath  
   
 # How to hardcode a shared library path into an executable.  
 hardcode_action=$hardcode_action  
   
 # Whether we should hardcode library paths into libraries.  
 hardcode_into_libs=$hardcode_into_libs  
   
 # Flag to hardcode \$libdir into a binary during linking.  
 # This must work even if \$libdir does not exist.  
 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec  
   
 # Whether we need a single -rpath flag with a separated argument.  
 hardcode_libdir_separator=$lt_hardcode_libdir_separator  
   
 # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the  
 # resulting binary.  
 hardcode_direct=$hardcode_direct  
   
 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the  
 # resulting binary.  
 hardcode_minus_L=$hardcode_minus_L  
   
 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into  
 # the resulting binary.  
 hardcode_shlibpath_var=$hardcode_shlibpath_var  
   
 # Variables whose values should be saved in libtool wrapper scripts and  
 # restored at relink time.  
 variables_saved_for_relink="$variables_saved_for_relink"  
   
 # Whether libtool must link a program against all its dependency libraries.  
 link_all_deplibs=$link_all_deplibs  
   
 # Compile-time system search path for libraries  
 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec  
   
 # Run-time system search path for libraries  
 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec  
   
 # Fix the shell variable \$srcfile for the compiler.  
 fix_srcfile_path="$fix_srcfile_path"  
   
 # Set to yes if exported symbols are required.  
 always_export_symbols=$always_export_symbols  
   
 # The commands to list exported symbols.  
 export_symbols_cmds=$lt_export_symbols_cmds  
   
 # The commands to extract the exported symbol list from a shared archive.  
 extract_expsyms_cmds=$lt_extract_expsyms_cmds  
   
 # Symbols that should not be listed in the preloaded symbols.  
 exclude_expsyms=$lt_exclude_expsyms  
5160    
 # Symbols that must always be exported.  
 include_expsyms=$lt_include_expsyms  
5161    
5162  # ### END LIBTOOL CONFIG  cat >>confdefs.h <<\_ACEOF
5163    #define HAVE_GETTEXT 1
5164    _ACEOF
5165    
 __EOF__  
5166    
5167    case $host_os in  cat >>confdefs.h <<\_ACEOF
5168    aix3*)  #define HAVE_DCGETTEXT 1
5169      cat <<\EOF >> "${ofile}T"  _ACEOF
5170    
5171  # AIX sometimes has problems with the GCC collect2 program.  For some      fi
 # reason, if we set the COLLECT_NAMES environment variable, the problems  
 # vanish in a puff of smoke.  
 if test "X${COLLECT_NAMES+set}" != Xset; then  
   COLLECT_NAMES=  
   export COLLECT_NAMES  
 fi  
 EOF  
     ;;  
   esac  
5172    
5173    case $host_os in          POSUB=po
5174    cygwin* | mingw* | pw32* | os2*)    fi
     cat <<'EOF' >> "${ofile}T"  
       # This is a source program that is used to create dlls on Windows  
       # Don't remove nor modify the starting and closing comments  
 # /* ltdll.c starts here */  
 # #define WIN32_LEAN_AND_MEAN  
 # #include <windows.h>  
 # #undef WIN32_LEAN_AND_MEAN  
 # #include <stdio.h>  
 #  
 # #ifndef __CYGWIN__  
 # #  ifdef __CYGWIN32__  
 # #    define __CYGWIN__ __CYGWIN32__  
 # #  endif  
 # #endif  
 #  
 # #ifdef __cplusplus  
 # extern "C" {  
 # #endif  
 # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);  
 # #ifdef __cplusplus  
 # }  
 # #endif  
 #  
 # #ifdef __CYGWIN__  
 # #include <cygwin/cygwin_dll.h>  
 # DECLARE_CYGWIN_DLL( DllMain );  
 # #endif  
 # HINSTANCE __hDllInstance_base;  
 #  
 # BOOL APIENTRY  
 # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)  
 # {  
 #   __hDllInstance_base = hInst;  
 #   return TRUE;  
 # }  
 # /* ltdll.c ends here */  
         # This is a source program that is used to create import libraries  
         # on Windows for dlls which lack them. Don't remove nor modify the  
         # starting and closing comments  
 # /* impgen.c starts here */  
 # /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.  
 #  
 #  This file is part of GNU libtool.  
 #  
 #  This program is free software; you can redistribute it and/or modify  
 #  it under the terms of the GNU General Public License as published by  
 #  the Free Software Foundation; either version 2 of the License, or  
 #  (at your option) any later version.  
 #  
 #  This program is distributed in the hope that it will be useful,  
 #  but WITHOUT ANY WARRANTY; without even the implied warranty of  
 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  
 #  GNU General Public License for more details.  
 #  
 #  You should have received a copy of the GNU General Public License  
 #  along with this program; if not, write to the Free Software  
 #  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  
 #  */  
 #  
 # #include <stdio.h>            /* for printf() */  
 # #include <unistd.h>           /* for open(), lseek(), read() */  
 # #include <fcntl.h>            /* for O_RDONLY, O_BINARY */  
 # #include <string.h>           /* for strdup() */  
 #  
 # /* O_BINARY isn't required (or even defined sometimes) under Unix */  
 # #ifndef O_BINARY  
 # #define O_BINARY 0  
 # #endif  
 #  
 # static unsigned int  
 # pe_get16 (fd, offset)  
 #      int fd;  
 #      int offset;  
 # {  
 #   unsigned char b[2];  
 #   lseek (fd, offset, SEEK_SET);  
 #   read (fd, b, 2);  
 #   return b[0] + (b[1]<<8);  
 # }  
 #  
 # static unsigned int  
 # pe_get32 (fd, offset)  
 #     int fd;  
 #     int offset;  
 # {  
 #   unsigned char b[4];  
 #   lseek (fd, offset, SEEK_SET);  
 #   read (fd, b, 4);  
 #   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);  
 # }  
 #  
 # static unsigned int  
 # pe_as32 (ptr)  
 #      void *ptr;  
 # {  
 #   unsigned char *b = ptr;  
 #   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);  
 # }  
 #  
 # int  
 # main (argc, argv)  
 #     int argc;  
 #     char *argv[];  
 # {  
 #     int dll;  
 #     unsigned long pe_header_offset, opthdr_ofs, num_entries, i;  
 #     unsigned long export_rva, export_size, nsections, secptr, expptr;  
 #     unsigned long name_rvas, nexp;  
 #     unsigned char *expdata, *erva;  
 #     char *filename, *dll_name;  
 #  
 #     filename = argv[1];  
 #  
 #     dll = open(filename, O_RDONLY|O_BINARY);  
 #     if (dll < 1)  
 #       return 1;  
 #  
 #     dll_name = filename;  
 #  
 #     for (i=0; filename[i]; i++)  
 #       if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')  
 #           dll_name = filename + i +1;  
 #  
 #     pe_header_offset = pe_get32 (dll, 0x3c);  
 #     opthdr_ofs = pe_header_offset + 4 + 20;  
 #     num_entries = pe_get32 (dll, opthdr_ofs + 92);  
 #  
 #     if (num_entries < 1) /* no exports */  
 #       return 1;  
 #  
 #     export_rva = pe_get32 (dll, opthdr_ofs + 96);  
 #     export_size = pe_get32 (dll, opthdr_ofs + 100);  
 #     nsections = pe_get16 (dll, pe_header_offset + 4 +2);  
 #     secptr = (pe_header_offset + 4 + 20 +  
 #             pe_get16 (dll, pe_header_offset + 4 + 16));  
 #  
 #     expptr = 0;  
 #     for (i = 0; i < nsections; i++)  
 #     {  
 #       char sname[8];  
 #       unsigned long secptr1 = secptr + 40 * i;  
 #       unsigned long vaddr = pe_get32 (dll, secptr1 + 12);  
 #       unsigned long vsize = pe_get32 (dll, secptr1 + 16);  
 #       unsigned long fptr = pe_get32 (dll, secptr1 + 20);  
 #       lseek(dll, secptr1, SEEK_SET);  
 #       read(dll, sname, 8);  
 #       if (vaddr <= export_rva && vaddr+vsize > export_rva)  
 #       {  
 #           expptr = fptr + (export_rva - vaddr);  
 #           if (export_rva + export_size > vaddr + vsize)  
 #               export_size = vsize - (export_rva - vaddr);  
 #           break;  
 #       }  
 #     }  
 #  
 #     expdata = (unsigned char*)malloc(export_size);  
 #     lseek (dll, expptr, SEEK_SET);  
 #     read (dll, expdata, export_size);  
 #     erva = expdata - export_rva;  
 #  
 #     nexp = pe_as32 (expdata+24);  
 #     name_rvas = pe_as32 (expdata+32);  
 #  
 #     printf ("EXPORTS\n");  
 #     for (i = 0; i<nexp; i++)  
 #     {  
 #       unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);  
 #       printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);  
 #     }  
 #  
 #     return 0;  
 # }  
 # /* impgen.c ends here */  
5175    
 EOF  
     ;;  
   esac  
5176    
   # We use sed instead of cat because bash on DJGPP gets confused if  
   # if finds mixed CR/LF and LF-only lines.  Since sed operates in  
   # text mode, it properly converts lines to CR/LF.  This bash problem  
   # is reportedly fixed, but why not run on old versions too?  
   sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)  
5177    
5178    mv -f "${ofile}T" "$ofile" || \      INTLLIBS="$LIBINTL"
     (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")  
   chmod +x "$ofile"  
 fi  
5179    
5180    
5181    
5182    
5183    
 # This can be used to rebuild libtool when needed  
 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"  
5184    
 # Always use our own libtool.  
 LIBTOOL='$(SHELL) $(top_builddir)/libtool'  
5185    
5186  # Prevent multiple expansion  localedir=${datadir}/locale
5187    
5188    
5189    
5190  ALL_LINGUAS="fr pl hu ja es sv ca cs nl de sk it ru"  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5191  # Extract the first word of "ranlib", so it can be a program name with args.  echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
5192  set dummy ranlib; ac_word=$2  if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5193  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
 echo "configure:6193: checking for $ac_word" >&5  
 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   if test -n "$RANLIB"; then  
   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.  
 else  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  
   ac_dummy="$PATH"  
   for ac_dir in $ac_dummy; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f $ac_dir/$ac_word; then  
       ac_cv_prog_RANLIB="ranlib"  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"  
 fi  
 fi  
 RANLIB="$ac_cv_prog_RANLIB"  
 if test -n "$RANLIB"; then  
   echo "$ac_t""$RANLIB" 1>&6  
5194  else  else
5195    echo "$ac_t""no" 1>&6    ac_check_lib_save_LIBS=$LIBS
5196  fi  LIBS="-lfl  $LIBS"
5197    cat >conftest.$ac_ext <<_ACEOF
5198    #line $LINENO "configure"
5199    /* confdefs.h.  */
5200    _ACEOF
5201    cat confdefs.h >>conftest.$ac_ext
5202    cat >>conftest.$ac_ext <<_ACEOF
5203    /* end confdefs.h.  */
5204    
         echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6  
 echo "configure:6222: checking for strerror in -lcposix" >&5  
 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lcposix  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 6230 "configure"  
 #include "confdefs.h"  
5205  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5206    #ifdef __cplusplus
5207    extern "C"
5208    #endif
5209  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
5210      builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
5211  char strerror();  char yywrap ();
5212    int
5213  int main() {  main ()
5214  strerror()  {
5215  ; return 0; }  yywrap ();
5216  EOF    ;
5217  if { (eval echo configure:6241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    return 0;
5218    rm -rf conftest*  }
5219    eval "ac_cv_lib_$ac_lib_var=yes"  _ACEOF
5220  else  rm -f conftest.$ac_objext conftest$ac_exeext
5221    echo "configure: failed program was:" >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5222    cat conftest.$ac_ext >&5    (eval $ac_link) 2>&5
5223    rm -rf conftest*    ac_status=$?
5224    eval "ac_cv_lib_$ac_lib_var=no"    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5225  fi    (exit $ac_status); } &&
5226  rm -f conftest*           { ac_try='test -s conftest$ac_exeext'
5227  LIBS="$ac_save_LIBS"    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5228      (eval $ac_try) 2>&5
5229  fi    ac_status=$?
5230  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5231    echo "$ac_t""yes" 1>&6    (exit $ac_status); }; }; then
5232    LIBS="$LIBS -lcposix"    ac_cv_lib_fl_yywrap=yes
5233  else  else
5234    echo "$ac_t""no" 1>&6    echo "$as_me: failed program was:" >&5
5235  fi  sed 's/^/| /' conftest.$ac_ext >&5
5236    
5237      ac_cv_lib_fl_yywrap=no
5238    fi
5239  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5240  echo "configure:6264: checking for ANSI C header files" >&5  LIBS=$ac_check_lib_save_LIBS
5241  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then  fi
5242    echo $ac_n "(cached) $ac_c" 1>&6  echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5243  else  echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
5244    cat > conftest.$ac_ext <<EOF  if test $ac_cv_lib_fl_yywrap = yes; then
5245  #line 6269 "configure"    cat >>confdefs.h <<_ACEOF
5246  #include "confdefs.h"  #define HAVE_LIBFL 1
5247  #include <stdlib.h>  _ACEOF
 #include <stdarg.h>  
 #include <string.h>  
 #include <float.h>  
 EOF  
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  
 { (eval echo configure:6277: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  
 if test -z "$ac_err"; then  
   rm -rf conftest*  
   ac_cv_header_stdc=yes  
 else  
   echo "$ac_err" >&5  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   ac_cv_header_stdc=no  
 fi  
 rm -f conftest*  
   
 if test $ac_cv_header_stdc = yes; then  
   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.  
 cat > conftest.$ac_ext <<EOF  
 #line 6294 "configure"  
 #include "confdefs.h"  
 #include <string.h>  
 EOF  
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  
   egrep "memchr" >/dev/null 2>&1; then  
   :  
 else  
   rm -rf conftest*  
   ac_cv_header_stdc=no  
 fi  
 rm -f conftest*  
   
 fi  
   
 if test $ac_cv_header_stdc = yes; then  
   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.  
 cat > conftest.$ac_ext <<EOF  
 #line 6312 "configure"  
 #include "confdefs.h"  
 #include <stdlib.h>  
 EOF  
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  
   egrep "free" >/dev/null 2>&1; then  
   :  
 else  
   rm -rf conftest*  
   ac_cv_header_stdc=no  
 fi  
 rm -f conftest*  
   
 fi  
   
 if test $ac_cv_header_stdc = yes; then  
   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.  
 if test "$cross_compiling" = yes; then  
   :  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 6333 "configure"  
 #include "confdefs.h"  
 #include <ctype.h>  
 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')  
 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))  
 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))  
 int main () { int i; for (i = 0; i < 256; i++)  
 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);  
 exit (0); }  
   
 EOF  
 if { (eval echo configure:6344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  
 then  
   :  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -fr conftest*  
   ac_cv_header_stdc=no  
 fi  
 rm -fr conftest*  
 fi  
   
 fi  
 fi  
   
 echo "$ac_t""$ac_cv_header_stdc" 1>&6  
 if test $ac_cv_header_stdc = yes; then  
   cat >> confdefs.h <<\EOF  
 #define STDC_HEADERS 1  
 EOF  
   
 fi  
   
 echo $ac_n "checking for working const""... $ac_c" 1>&6  
 echo "configure:6368: checking for working const" >&5  
 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 6373 "configure"  
 #include "confdefs.h"  
   
 int main() {  
   
 /* Ultrix mips cc rejects this.  */  
 typedef int charset[2]; const charset x;  
 /* SunOS 4.1.1 cc rejects this.  */  
 char const *const *ccp;  
 char **p;  
 /* NEC SVR4.0.2 mips cc rejects this.  */  
 struct point {int x, y;};  
 static struct point const zero = {0,0};  
 /* AIX XL C 1.02.0.0 rejects this.  
    It does not let you subtract one const X* pointer from another in an arm  
    of an if-expression whose if-part is not a constant expression */  
 const char *g = "string";  
 ccp = &g + (g ? g-g : 0);  
 /* HPUX 7.0 cc rejects these. */  
 ++ccp;  
 p = (char**) ccp;  
 ccp = (char const *const *) p;  
 { /* SCO 3.2v4 cc rejects this.  */  
   char *t;  
   char const *s = 0 ? (char *) 0 : (char const *) 0;  
   
   *t++ = 0;  
 }  
 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */  
   int x[] = {25, 17};  
   const int *foo = &x[0];  
   ++foo;  
 }  
 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */  
   typedef const int *iptr;  
   iptr p = 0;  
   ++p;  
 }  
 { /* AIX XL C 1.02.0.0 rejects this saying  
      "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */  
   struct s { int j; const int *ap[3]; };  
   struct s *b; b->j = 5;  
 }  
 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */  
   const int foo = 10;  
 }  
   
 ; return 0; }  
 EOF  
 if { (eval echo configure:6422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
   rm -rf conftest*  
   ac_cv_c_const=yes  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   ac_cv_c_const=no  
 fi  
 rm -f conftest*  
 fi  
5248    
5249  echo "$ac_t""$ac_cv_c_const" 1>&6    LIBS="-lfl $LIBS"
 if test $ac_cv_c_const = no; then  
   cat >> confdefs.h <<\EOF  
 #define const  
 EOF  
5250    
5251  fi  fi
5252    
 echo $ac_n "checking for inline""... $ac_c" 1>&6  
 echo "configure:6443: checking for inline" >&5  
 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_cv_c_inline=no  
 for ac_kw in inline __inline__ __inline; do  
   cat > conftest.$ac_ext <<EOF  
 #line 6450 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 } $ac_kw foo() {  
 ; return 0; }  
 EOF  
 if { (eval echo configure:6457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
   rm -rf conftest*  
   ac_cv_c_inline=$ac_kw; break  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
 fi  
 rm -f conftest*  
 done  
5253    
 fi  
5254    
5255  echo "$ac_t""$ac_cv_c_inline" 1>&6  # Check whether --with-pthread-libs or --without-pthread-libs was given.
5256  case "$ac_cv_c_inline" in  if test "${with_pthread_libs+set}" = set; then
5257    inline | yes) ;;    withval="$with_pthread_libs"
5258    no) cat >> confdefs.h <<\EOF     LDFLAGS="${LDFLAGS} -L${withval}";
 #define inline  
 EOF  
  ;;  
   *)  cat >> confdefs.h <<EOF  
 #define inline $ac_cv_c_inline  
 EOF  
  ;;  
 esac  
5259    
5260  echo $ac_n "checking for off_t""... $ac_c" 1>&6  fi;
5261  echo "configure:6483: checking for off_t" >&5  echo "$as_me:$LINENO: checking for pthread_join in -lpthread" >&5
5262  if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then  echo $ECHO_N "checking for pthread_join in -lpthread... $ECHO_C" >&6
5263    echo $ac_n "(cached) $ac_c" 1>&6  if test "${ac_cv_lib_pthread_pthread_join+set}" = set; then
5264  else    echo $ECHO_N "(cached) $ECHO_C" >&6
   cat > conftest.$ac_ext <<EOF  
 #line 6488 "configure"  
 #include "confdefs.h"  
 #include <sys/types.h>  
 #if STDC_HEADERS  
 #include <stdlib.h>  
 #include <stddef.h>  
 #endif  
 EOF  
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  
   egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then  
   rm -rf conftest*  
   ac_cv_type_off_t=yes  
5265  else  else
5266    rm -rf conftest*    ac_check_lib_save_LIBS=$LIBS
5267    ac_cv_type_off_t=no  LIBS="-lpthread  $LIBS"
5268  fi  cat >conftest.$ac_ext <<_ACEOF
5269  rm -f conftest*  #line $LINENO "configure"
5270    /* confdefs.h.  */
5271  fi  _ACEOF
5272  echo "$ac_t""$ac_cv_type_off_t" 1>&6  cat confdefs.h >>conftest.$ac_ext
5273  if test $ac_cv_type_off_t = no; then  cat >>conftest.$ac_ext <<_ACEOF
5274    cat >> confdefs.h <<\EOF  /* end confdefs.h.  */
 #define off_t long  
 EOF  
   
 fi  
5275    
5276  echo $ac_n "checking for size_t""... $ac_c" 1>&6  /* Override any gcc2 internal prototype to avoid an error.  */
5277  echo "configure:6516: checking for size_t" >&5  #ifdef __cplusplus
5278  if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then  extern "C"
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 6521 "configure"  
 #include "confdefs.h"  
 #include <sys/types.h>  
 #if STDC_HEADERS  
 #include <stdlib.h>  
 #include <stddef.h>  
5279  #endif  #endif
5280  EOF  /* We use char because int might match the return type of a gcc2
5281  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |     builtin and then its argument prototype would still apply.  */
5282    egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then  char pthread_join ();
5283    rm -rf conftest*  int
5284    ac_cv_type_size_t=yes  main ()
5285    {
5286    pthread_join ();
5287      ;
5288      return 0;
5289    }
5290    _ACEOF
5291    rm -f conftest.$ac_objext conftest$ac_exeext
5292    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5293      (eval $ac_link) 2>&5
5294      ac_status=$?
5295      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296      (exit $ac_status); } &&
5297             { ac_try='test -s conftest$ac_exeext'
5298      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5299      (eval $ac_try) 2>&5
5300      ac_status=$?
5301      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5302      (exit $ac_status); }; }; then
5303      ac_cv_lib_pthread_pthread_join=yes
5304  else  else
5305    rm -rf conftest*    echo "$as_me: failed program was:" >&5
5306    ac_cv_type_size_t=no  sed 's/^/| /' conftest.$ac_ext >&5
 fi  
 rm -f conftest*  
5307    
5308    ac_cv_lib_pthread_pthread_join=no
5309  fi  fi
5310  echo "$ac_t""$ac_cv_type_size_t" 1>&6  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5311  if test $ac_cv_type_size_t = no; then  LIBS=$ac_check_lib_save_LIBS
   cat >> confdefs.h <<\EOF  
 #define size_t unsigned  
 EOF  
   
 fi  
   
 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works  
 # for constant arguments.  Useless!  
 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6  
 echo "configure:6551: checking for working alloca.h" >&5  
 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 6556 "configure"  
 #include "confdefs.h"  
 #include <alloca.h>  
 int main() {  
 char *p = alloca(2 * sizeof(int));  
 ; return 0; }  
 EOF  
 if { (eval echo configure:6563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   ac_cv_header_alloca_h=yes  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   ac_cv_header_alloca_h=no  
 fi  
 rm -f conftest*  
 fi  
   
 echo "$ac_t""$ac_cv_header_alloca_h" 1>&6  
 if test $ac_cv_header_alloca_h = yes; then  
   cat >> confdefs.h <<\EOF  
 #define HAVE_ALLOCA_H 1  
 EOF  
   
5312  fi  fi
5313    echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_join" >&5
5314  echo $ac_n "checking for alloca""... $ac_c" 1>&6  echo "${ECHO_T}$ac_cv_lib_pthread_pthread_join" >&6
5315  echo "configure:6584: checking for alloca" >&5  if test $ac_cv_lib_pthread_pthread_join = yes; then
5316  if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then     PTHREADS_INSTALLED=yes;
5317    echo $ac_n "(cached) $ac_c" 1>&6      LIBS="${LIBS} -lpthread"; HAVE_LIBPTHREAD=1
5318  else  else
5319    cat > conftest.$ac_ext <<EOF     { echo "$as_me:$LINENO: WARNING: pthreads not installed. Trying without them" >&5
5320  #line 6589 "configure"  echo "$as_me: WARNING: pthreads not installed. Trying without them" >&2;};
5321  #include "confdefs.h"     PTHREADS_INSTALLED=no;
   
 #ifdef __GNUC__  
 # define alloca __builtin_alloca  
 #else  
 # ifdef _MSC_VER  
 #  include <malloc.h>  
 #  define alloca _alloca  
 # else  
 #  if HAVE_ALLOCA_H  
 #   include <alloca.h>  
 #  else  
 #   ifdef _AIX  
  #pragma alloca  
 #   else  
 #    ifndef alloca /* predefined by HP cc +Olibcalls */  
 char *alloca ();  
 #    endif  
 #   endif  
 #  endif  
 # endif  
 #endif  
5322    
 int main() {  
 char *p = (char *) alloca(1);  
 ; return 0; }  
 EOF  
 if { (eval echo configure:6617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   ac_cv_func_alloca_works=yes  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   ac_cv_func_alloca_works=no  
5323  fi  fi
 rm -f conftest*  
 fi  
   
 echo "$ac_t""$ac_cv_func_alloca_works" 1>&6  
 if test $ac_cv_func_alloca_works = yes; then  
   cat >> confdefs.h <<\EOF  
 #define HAVE_ALLOCA 1  
 EOF  
5324    
 fi  
5325    
 if test $ac_cv_func_alloca_works = no; then  
   # The SVR3 libPW and SVR4 libucb both contain incompatible functions  
   # that cause trouble.  Some versions do not even contain alloca or  
   # contain a buggy version.  If you still want to use their alloca,  
   # use ar to extract alloca.o from them instead of compiling alloca.c.  
   ALLOCA=alloca.${ac_objext}  
   cat >> confdefs.h <<\EOF  
 #define C_ALLOCA 1  
 EOF  
   
   
 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6  
 echo "configure:6649: checking whether alloca needs Cray hooks" >&5  
 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 6654 "configure"  
 #include "confdefs.h"  
 #if defined(CRAY) && ! defined(CRAY2)  
 webecray  
 #else  
 wenotbecray  
 #endif  
5326    
5327  EOF  echo "$as_me:$LINENO: checking for gzopen in -lz" >&5
5328  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  echo $ECHO_N "checking for gzopen in -lz... $ECHO_C" >&6
5329    egrep "webecray" >/dev/null 2>&1; then  if test "${ac_cv_lib_z_gzopen+set}" = set; then
5330    rm -rf conftest*    echo $ECHO_N "(cached) $ECHO_C" >&6
   ac_cv_os_cray=yes  
5331  else  else
5332    rm -rf conftest*    ac_check_lib_save_LIBS=$LIBS
5333    ac_cv_os_cray=no  LIBS="-lz  $LIBS"
5334  fi  cat >conftest.$ac_ext <<_ACEOF
5335  rm -f conftest*  #line $LINENO "configure"
5336    /* confdefs.h.  */
5337  fi  _ACEOF
5338    cat confdefs.h >>conftest.$ac_ext
5339    cat >>conftest.$ac_ext <<_ACEOF
5340    /* end confdefs.h.  */
5341    
 echo "$ac_t""$ac_cv_os_cray" 1>&6  
 if test $ac_cv_os_cray = yes; then  
 for ac_func in _getb67 GETB67 getb67; do  
   echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  
 echo "configure:6679: checking for $ac_func" >&5  
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 6684 "configure"  
 #include "confdefs.h"  
 /* System header to define __stub macros and hopefully few prototypes,  
     which can conflict with char $ac_func(); below.  */  
 #include <assert.h>  
5342  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5343  /* We use char because int might match the return type of a gcc2  #ifdef __cplusplus
5344      builtin and then its argument prototype would still apply.  */  extern "C"
 char $ac_func();  
   
 int main() {  
   
 /* The GNU C library defines this for functions which it implements  
     to always fail with ENOSYS.  Some functions are actually named  
     something starting with __ and the normal name is an alias.  */  
 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)  
 choke me  
 #else  
 $ac_func();  
5345  #endif  #endif
5346    /* We use char because int might match the return type of a gcc2
5347  ; return 0; }     builtin and then its argument prototype would still apply.  */
5348  EOF  char gzopen ();
5349  if { (eval echo configure:6707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  int
   rm -rf conftest*  
   eval "ac_cv_func_$ac_func=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_func_$ac_func=no"  
 fi  
 rm -f conftest*  
 fi  
   
 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
   cat >> confdefs.h <<EOF  
 #define CRAY_STACKSEG_END $ac_func  
 EOF  
   
   break  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 done  
 fi  
   
 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6  
 echo "configure:6734: checking stack direction for C alloca" >&5  
 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   if test "$cross_compiling" = yes; then  
   ac_cv_c_stack_direction=0  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 6742 "configure"  
 #include "confdefs.h"  
 find_stack_direction ()  
 {  
   static char *addr = 0;  
   auto char dummy;  
   if (addr == 0)  
     {  
       addr = &dummy;  
       return find_stack_direction ();  
     }  
   else  
     return (&dummy > addr) ? 1 : -1;  
 }  
5350  main ()  main ()
5351  {  {
5352    exit (find_stack_direction() < 0);  gzopen ();
5353      ;
5354      return 0;
5355  }  }
5356  EOF  _ACEOF
5357  if { (eval echo configure:6761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  rm -f conftest.$ac_objext conftest$ac_exeext
5358  then  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5359    ac_cv_c_stack_direction=1    (eval $ac_link) 2>&5
5360  else    ac_status=$?
5361    echo "configure: failed program was:" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5362    cat conftest.$ac_ext >&5    (exit $ac_status); } &&
5363    rm -fr conftest*           { ac_try='test -s conftest$ac_exeext'
5364    ac_cv_c_stack_direction=-1    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5365  fi    (eval $ac_try) 2>&5
5366  rm -fr conftest*    ac_status=$?
5367  fi    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5368      (exit $ac_status); }; }; then
5369  fi    ac_cv_lib_z_gzopen=yes
5370    else
5371      echo "$as_me: failed program was:" >&5
5372    sed 's/^/| /' conftest.$ac_ext >&5
5373    
5374    ac_cv_lib_z_gzopen=no
5375    fi
5376    rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5377    LIBS=$ac_check_lib_save_LIBS
5378    fi
5379    echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzopen" >&5
5380    echo "${ECHO_T}$ac_cv_lib_z_gzopen" >&6
5381    if test $ac_cv_lib_z_gzopen = yes; then
5382      cat >>confdefs.h <<_ACEOF
5383    #define HAVE_LIBZ 1
5384    _ACEOF
5385    
5386  echo "$ac_t""$ac_cv_c_stack_direction" 1>&6    LIBS="-lz $LIBS"
 cat >> confdefs.h <<EOF  
 #define STACK_DIRECTION $ac_cv_c_stack_direction  
 EOF  
5387    
5388  fi  fi
5389    
 for ac_hdr in unistd.h  
 do  
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  
 echo "configure:6786: checking for $ac_hdr" >&5  
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 6791 "configure"  
 #include "confdefs.h"  
 #include <$ac_hdr>  
 EOF  
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  
 { (eval echo configure:6796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  
 if test -z "$ac_err"; then  
   rm -rf conftest*  
   eval "ac_cv_header_$ac_safe=yes"  
 else  
   echo "$ac_err" >&5  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_header_$ac_safe=no"  
 fi  
 rm -f conftest*  
 fi  
 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_hdr 1  
 EOF  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
 done  
5390    
 for ac_func in getpagesize  
 do  
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  
 echo "configure:6825: checking for $ac_func" >&5  
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 6830 "configure"  
 #include "confdefs.h"  
 /* System header to define __stub macros and hopefully few prototypes,  
     which can conflict with char $ac_func(); below.  */  
 #include <assert.h>  
 /* Override any gcc2 internal prototype to avoid an error.  */  
 /* We use char because int might match the return type of a gcc2  
     builtin and then its argument prototype would still apply.  */  
 char $ac_func();  
5391    
 int main() {  
5392    
 /* The GNU C library defines this for functions which it implements  
     to always fail with ENOSYS.  Some functions are actually named  
     something starting with __ and the normal name is an alias.  */  
 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)  
 choke me  
 #else  
 $ac_func();  
 #endif  
5393    
 ; return 0; }  
 EOF  
 if { (eval echo configure:6853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   eval "ac_cv_func_$ac_func=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_func_$ac_func=no"  
 fi  
 rm -f conftest*  
 fi  
5394    
 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_func 1  
 EOF  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
 done  
5395    
5396  echo $ac_n "checking for working mmap""... $ac_c" 1>&6  ac_header_dirent=no
5397  echo "configure:6878: checking for working mmap" >&5  for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5398  if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then    as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5399    echo $ac_n "(cached) $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5400  else  echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
5401    if test "$cross_compiling" = yes; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5402    ac_cv_func_mmap_fixed_mapped=no    echo $ECHO_N "(cached) $ECHO_C" >&6
5403  else  else
5404    cat > conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<_ACEOF
5405  #line 6886 "configure"  #line $LINENO "configure"
5406  #include "confdefs.h"  /* confdefs.h.  */
5407    _ACEOF
5408  /* Thanks to Mike Haertel and Jim Avera for this test.  cat confdefs.h >>conftest.$ac_ext
5409     Here is a matrix of mmap possibilities:  cat >>conftest.$ac_ext <<_ACEOF
5410          mmap private not fixed  /* end confdefs.h.  */
         mmap private fixed at somewhere currently unmapped  
         mmap private fixed at somewhere already mapped  
         mmap shared not fixed  
         mmap shared fixed at somewhere currently unmapped  
         mmap shared fixed at somewhere already mapped  
    For private mappings, we should verify that changes cannot be read()  
    back from the file, nor mmap's back from the file at a different  
    address.  (There have been systems where private was not correctly  
    implemented like the infamous i386 svr4.0, and systems where the  
    VM page cache was not coherent with the filesystem buffer cache  
    like early versions of FreeBSD and possibly contemporary NetBSD.)  
    For shared mappings, we should conversely verify that changes get  
    propogated back to all the places they're supposed to be.  
   
    Grep wants private fixed already mapped.  
    The main things grep needs to know about mmap are:  
    * does it exist and is it safe to write into the mmap'd area  
    * how to use it (BSD variants)  */  
5411  #include <sys/types.h>  #include <sys/types.h>
5412  #include <fcntl.h>  #include <$ac_hdr>
 #include <sys/mman.h>  
   
 /* This mess was copied from the GNU getpagesize.h.  */  
 #ifndef HAVE_GETPAGESIZE  
 # ifdef HAVE_UNISTD_H  
 #  include <unistd.h>  
 # endif  
   
 /* Assume that all systems that can run configure have sys/param.h.  */  
 # ifndef HAVE_SYS_PARAM_H  
 #  define HAVE_SYS_PARAM_H 1  
 # endif  
   
 # ifdef _SC_PAGESIZE  
 #  define getpagesize() sysconf(_SC_PAGESIZE)  
 # else /* no _SC_PAGESIZE */  
 #  ifdef HAVE_SYS_PARAM_H  
 #   include <sys/param.h>  
 #   ifdef EXEC_PAGESIZE  
 #    define getpagesize() EXEC_PAGESIZE  
 #   else /* no EXEC_PAGESIZE */  
 #    ifdef NBPG  
 #     define getpagesize() NBPG * CLSIZE  
 #     ifndef CLSIZE  
 #      define CLSIZE 1  
 #     endif /* no CLSIZE */  
 #    else /* no NBPG */  
 #     ifdef NBPC  
 #      define getpagesize() NBPC  
 #     else /* no NBPC */  
 #      ifdef PAGESIZE  
 #       define getpagesize() PAGESIZE  
 #      endif /* PAGESIZE */  
 #     endif /* no NBPC */  
 #    endif /* no NBPG */  
 #   endif /* no EXEC_PAGESIZE */  
 #  else /* no HAVE_SYS_PARAM_H */  
 #   define getpagesize() 8192   /* punt totally */  
 #  endif /* no HAVE_SYS_PARAM_H */  
 # endif /* no _SC_PAGESIZE */  
   
 #endif /* no HAVE_GETPAGESIZE */  
   
 #ifdef __cplusplus  
 extern "C" { void *malloc(unsigned); }  
 #else  
 char *malloc();  
 #endif  
5413    
5414  int  int
5415  main()  main ()
5416  {  {
5417          char *data, *data2, *data3;  if ((DIR *) 0)
5418          int i, pagesize;  return 0;
5419          int fd;    ;
5420      return 0;
         pagesize = getpagesize();  
   
         /*  
          * First, make a file with some known garbage in it.  
          */  
         data = malloc(pagesize);  
         if (!data)  
                 exit(1);  
         for (i = 0; i < pagesize; ++i)  
                 *(data + i) = rand();  
         umask(0);  
         fd = creat("conftestmmap", 0600);  
         if (fd < 0)  
                 exit(1);  
         if (write(fd, data, pagesize) != pagesize)  
                 exit(1);  
         close(fd);  
   
         /*  
          * Next, try to mmap the file at a fixed address which  
          * already has something else allocated at it.  If we can,  
          * also make sure that we see the same garbage.  
          */  
         fd = open("conftestmmap", O_RDWR);  
         if (fd < 0)  
                 exit(1);  
         data2 = malloc(2 * pagesize);  
         if (!data2)  
                 exit(1);  
         data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);  
         if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,  
             MAP_PRIVATE | MAP_FIXED, fd, 0L))  
                 exit(1);  
         for (i = 0; i < pagesize; ++i)  
                 if (*(data + i) != *(data2 + i))  
                         exit(1);  
   
         /*  
          * Finally, make sure that changes to the mapped area  
          * do not percolate back to the file as seen by read().  
          * (This is a bug on some variants of i386 svr4.0.)  
          */  
         for (i = 0; i < pagesize; ++i)  
                 *(data2 + i) = *(data2 + i) + 1;  
         data3 = malloc(pagesize);  
         if (!data3)  
                 exit(1);  
         if (read(fd, data3, pagesize) != pagesize)  
                 exit(1);  
         for (i = 0; i < pagesize; ++i)  
                 if (*(data + i) != *(data3 + i))  
                         exit(1);  
         close(fd);  
         unlink("conftestmmap");  
         exit(0);  
5421  }  }
5422    _ACEOF
5423    rm -f conftest.$ac_objext
5424    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5425      (eval $ac_compile) 2>&5
5426      ac_status=$?
5427      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5428      (exit $ac_status); } &&
5429             { ac_try='test -s conftest.$ac_objext'
5430      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5431      (eval $ac_try) 2>&5
5432      ac_status=$?
5433      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5434      (exit $ac_status); }; }; then
5435      eval "$as_ac_Header=yes"
5436    else
5437      echo "$as_me: failed program was:" >&5
5438    sed 's/^/| /' conftest.$ac_ext >&5
5439    
5440    eval "$as_ac_Header=no"
5441    fi
5442    rm -f conftest.$ac_objext conftest.$ac_ext
5443    fi
5444    echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5445    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5446    if test `eval echo '${'$as_ac_Header'}'` = yes; then
5447      cat >>confdefs.h <<_ACEOF
5448    #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5449    _ACEOF
5450    
5451  EOF  ac_header_dirent=$ac_hdr; break
 if { (eval echo configure:7026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  
 then  
   ac_cv_func_mmap_fixed_mapped=yes  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -fr conftest*  
   ac_cv_func_mmap_fixed_mapped=no  
 fi  
 rm -fr conftest*  
5452  fi  fi
5453    
 fi  
   
 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6  
 if test $ac_cv_func_mmap_fixed_mapped = yes; then  
   cat >> confdefs.h <<\EOF  
 #define HAVE_MMAP 1  
 EOF  
   
 fi  
   
                                 
    for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h string.h \  
 unistd.h sys/param.h  
 do  
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  
 echo "configure:7054: checking for $ac_hdr" >&5  
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 7059 "configure"  
 #include "confdefs.h"  
 #include <$ac_hdr>  
 EOF  
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  
 { (eval echo configure:7064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  
 if test -z "$ac_err"; then  
   rm -rf conftest*  
   eval "ac_cv_header_$ac_safe=yes"  
 else  
   echo "$ac_err" >&5  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_header_$ac_safe=no"  
 fi  
 rm -f conftest*  
 fi  
 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_hdr 1  
 EOF  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
5454  done  done
5455    # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5456    if test $ac_header_dirent = dirent.h; then
5457      echo "$as_me:$LINENO: checking for library containing opendir" >&5
5458    echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
5459    if test "${ac_cv_search_opendir+set}" = set; then
5460      echo $ECHO_N "(cached) $ECHO_C" >&6
5461    else
5462      ac_func_search_save_LIBS=$LIBS
5463    ac_cv_search_opendir=no
5464    cat >conftest.$ac_ext <<_ACEOF
5465    #line $LINENO "configure"
5466    /* confdefs.h.  */
5467    _ACEOF
5468    cat confdefs.h >>conftest.$ac_ext
5469    cat >>conftest.$ac_ext <<_ACEOF
5470    /* end confdefs.h.  */
5471    
    for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \  
 strdup __argz_count __argz_stringify __argz_next  
 do  
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  
 echo "configure:7094: checking for $ac_func" >&5  
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 7099 "configure"  
 #include "confdefs.h"  
 /* System header to define __stub macros and hopefully few prototypes,  
     which can conflict with char $ac_func(); below.  */  
 #include <assert.h>  
5472  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5473  /* We use char because int might match the return type of a gcc2  #ifdef __cplusplus
5474      builtin and then its argument prototype would still apply.  */  extern "C"
 char $ac_func();  
   
 int main() {  
   
 /* The GNU C library defines this for functions which it implements  
     to always fail with ENOSYS.  Some functions are actually named  
     something starting with __ and the normal name is an alias.  */  
 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)  
 choke me  
 #else  
 $ac_func();  
5475  #endif  #endif
   
 ; return 0; }  
 EOF  
 if { (eval echo configure:7122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   eval "ac_cv_func_$ac_func=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_func_$ac_func=no"  
 fi  
 rm -f conftest*  
 fi  
   
 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_func 1  
 EOF  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
 done  
   
   
    if test "${ac_cv_func_stpcpy+set}" != "set"; then  
      for ac_func in stpcpy  
 do  
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  
 echo "configure:7151: checking for $ac_func" >&5  
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 7156 "configure"  
 #include "confdefs.h"  
 /* System header to define __stub macros and hopefully few prototypes,  
     which can conflict with char $ac_func(); below.  */  
 #include <assert.h>  
 /* Override any gcc2 internal prototype to avoid an error.  */  
5476  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
5477      builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
5478  char $ac_func();  char opendir ();
5479    int
5480  int main() {  main ()
5481    {
5482    opendir ();
5483      ;
5484      return 0;
5485    }
5486    _ACEOF
5487    rm -f conftest.$ac_objext conftest$ac_exeext
5488    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5489      (eval $ac_link) 2>&5
5490      ac_status=$?
5491      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5492      (exit $ac_status); } &&
5493             { ac_try='test -s conftest$ac_exeext'
5494      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5495      (eval $ac_try) 2>&5
5496      ac_status=$?
5497      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5498      (exit $ac_status); }; }; then
5499      ac_cv_search_opendir="none required"
5500    else
5501      echo "$as_me: failed program was:" >&5
5502    sed 's/^/| /' conftest.$ac_ext >&5
5503    
5504    fi
5505    rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5506    if test "$ac_cv_search_opendir" = no; then
5507      for ac_lib in dir; do
5508        LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5509        cat >conftest.$ac_ext <<_ACEOF
5510    #line $LINENO "configure"
5511    /* confdefs.h.  */
5512    _ACEOF
5513    cat confdefs.h >>conftest.$ac_ext
5514    cat >>conftest.$ac_ext <<_ACEOF
5515    /* end confdefs.h.  */
5516    
5517  /* The GNU C library defines this for functions which it implements  /* Override any gcc2 internal prototype to avoid an error.  */
5518      to always fail with ENOSYS.  Some functions are actually named  #ifdef __cplusplus
5519      something starting with __ and the normal name is an alias.  */  extern "C"
 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)  
 choke me  
 #else  
 $ac_func();  
5520  #endif  #endif
5521    /* We use char because int might match the return type of a gcc2
5522       builtin and then its argument prototype would still apply.  */
5523    char opendir ();
5524    int
5525    main ()
5526    {
5527    opendir ();
5528      ;
5529      return 0;
5530    }
5531    _ACEOF
5532    rm -f conftest.$ac_objext conftest$ac_exeext
5533    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5534      (eval $ac_link) 2>&5
5535      ac_status=$?
5536      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5537      (exit $ac_status); } &&
5538             { ac_try='test -s conftest$ac_exeext'
5539      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5540      (eval $ac_try) 2>&5
5541      ac_status=$?
5542      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5543      (exit $ac_status); }; }; then
5544      ac_cv_search_opendir="-l$ac_lib"
5545    break
5546    else
5547      echo "$as_me: failed program was:" >&5
5548    sed 's/^/| /' conftest.$ac_ext >&5
5549    
5550    fi
5551    rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5552      done
5553    fi
5554    LIBS=$ac_func_search_save_LIBS
5555    fi
5556    echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5557    echo "${ECHO_T}$ac_cv_search_opendir" >&6
5558    if test "$ac_cv_search_opendir" != no; then
5559      test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
5560    
 ; return 0; }  
 EOF  
 if { (eval echo configure:7179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   eval "ac_cv_func_$ac_func=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_func_$ac_func=no"  
 fi  
 rm -f conftest*  
 fi  
   
 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_func 1  
 EOF  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
 done  
   
    fi  
    if test "${ac_cv_func_stpcpy}" = "yes"; then  
      cat >> confdefs.h <<\EOF  
 #define HAVE_STPCPY 1  
 EOF  
   
    fi  
   
    if test $ac_cv_header_locale_h = yes; then  
     echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6  
 echo "configure:7213: checking for LC_MESSAGES" >&5  
 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 7218 "configure"  
 #include "confdefs.h"  
 #include <locale.h>  
 int main() {  
 return LC_MESSAGES  
 ; return 0; }  
 EOF  
 if { (eval echo configure:7225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   am_cv_val_LC_MESSAGES=yes  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   am_cv_val_LC_MESSAGES=no  
 fi  
 rm -f conftest*  
5561  fi  fi
5562    
 echo "$ac_t""$am_cv_val_LC_MESSAGES" 1>&6  
     if test $am_cv_val_LC_MESSAGES = yes; then  
       cat >> confdefs.h <<\EOF  
 #define HAVE_LC_MESSAGES 1  
 EOF  
   
     fi  
   fi  
    echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6  
 echo "configure:7246: checking whether NLS is requested" >&5  
         # Check whether --enable-nls or --disable-nls was given.  
 if test "${enable_nls+set}" = set; then  
   enableval="$enable_nls"  
   USE_NLS=$enableval  
5563  else  else
5564    USE_NLS=yes    echo "$as_me:$LINENO: checking for library containing opendir" >&5
5565  fi  echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
5566    if test "${ac_cv_search_opendir+set}" = set; then
5567      echo $ECHO_N "(cached) $ECHO_C" >&6
5568    else
5569      ac_func_search_save_LIBS=$LIBS
5570    ac_cv_search_opendir=no
5571    cat >conftest.$ac_ext <<_ACEOF
5572    #line $LINENO "configure"
5573    /* confdefs.h.  */
5574    _ACEOF
5575    cat confdefs.h >>conftest.$ac_ext
5576    cat >>conftest.$ac_ext <<_ACEOF
5577    /* end confdefs.h.  */
5578    
     echo "$ac_t""$USE_NLS" 1>&6  
       
   
     BUILD_INCLUDED_LIBINTL=no  
     USE_INCLUDED_LIBINTL=no  
   
         if test "$USE_NLS" = "yes"; then  
 #      AC_DEFINE(ENABLE_NLS)  
 #      AC_MSG_CHECKING([whether included gettext is requested])  
 #      AC_ARG_WITH(included-gettext,  
 #        [  --with-included-gettext use the GNU gettext library included here],  
 #        nls_cv_force_use_gnu_gettext=$withval,  
 #        nls_cv_force_use_gnu_gettext=no)  
 #      AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)  
       nls_cv_force_use_gnu_gettext="no"  
   
       nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"  
       if test "$nls_cv_force_use_gnu_gettext" != "yes"; then  
                                         nls_cv_header_intl=  
         nls_cv_header_libgt=  
         CATOBJEXT=NONE  
   
         ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`  
 echo $ac_n "checking for libintl.h""... $ac_c" 1>&6  
 echo "configure:7279: checking for libintl.h" >&5  
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 7284 "configure"  
 #include "confdefs.h"  
 #include <libintl.h>  
 EOF  
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  
 { (eval echo configure:7289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  
 if test -z "$ac_err"; then  
   rm -rf conftest*  
   eval "ac_cv_header_$ac_safe=yes"  
 else  
   echo "$ac_err" >&5  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_header_$ac_safe=no"  
 fi  
 rm -f conftest*  
 fi  
 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
   echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6  
 echo "configure:7306: checking for gettext in libc" >&5  
 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 7311 "configure"  
 #include "confdefs.h"  
 #include <libintl.h>  
 int main() {  
 return (int) gettext ("")  
 ; return 0; }  
 EOF  
 if { (eval echo configure:7318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   gt_cv_func_gettext_libc=yes  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   gt_cv_func_gettext_libc=no  
 fi  
 rm -f conftest*  
 fi  
   
 echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6  
   
            if test "$gt_cv_func_gettext_libc" != "yes"; then  
              echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6  
 echo "configure:7334: checking for bindtextdomain in -lintl" >&5  
 ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lintl  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 7342 "configure"  
 #include "confdefs.h"  
5579  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5580    #ifdef __cplusplus
5581    extern "C"
5582    #endif
5583  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
5584      builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
5585  char bindtextdomain();  char opendir ();
5586    int
5587  int main() {  main ()
5588  bindtextdomain()  {
5589  ; return 0; }  opendir ();
5590  EOF    ;
5591  if { (eval echo configure:7353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    return 0;
5592    rm -rf conftest*  }
5593    eval "ac_cv_lib_$ac_lib_var=yes"  _ACEOF
5594  else  rm -f conftest.$ac_objext conftest$ac_exeext
5595    echo "configure: failed program was:" >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5596    cat conftest.$ac_ext >&5    (eval $ac_link) 2>&5
5597    rm -rf conftest*    ac_status=$?
5598    eval "ac_cv_lib_$ac_lib_var=no"    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599  fi    (exit $ac_status); } &&
5600  rm -f conftest*           { ac_try='test -s conftest$ac_exeext'
5601  LIBS="$ac_save_LIBS"    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5602      (eval $ac_try) 2>&5
5603      ac_status=$?
5604      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605      (exit $ac_status); }; }; then
5606      ac_cv_search_opendir="none required"
5607    else
5608      echo "$as_me: failed program was:" >&5
5609    sed 's/^/| /' conftest.$ac_ext >&5
5610    
5611    fi
5612    rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5613    if test "$ac_cv_search_opendir" = no; then
5614      for ac_lib in x; do
5615        LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5616        cat >conftest.$ac_ext <<_ACEOF
5617    #line $LINENO "configure"
5618    /* confdefs.h.  */
5619    _ACEOF
5620    cat confdefs.h >>conftest.$ac_ext
5621    cat >>conftest.$ac_ext <<_ACEOF
5622    /* end confdefs.h.  */
5623    
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
   echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6  
 echo "configure:7369: checking for gettext in libintl" >&5  
 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6  
 echo "configure:7374: checking for gettext in -lintl" >&5  
 ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lintl  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 7382 "configure"  
 #include "confdefs.h"  
5624  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5625    #ifdef __cplusplus
5626    extern "C"
5627    #endif
5628  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
5629      builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
5630  char gettext();  char opendir ();
5631    int
5632  int main() {  main ()
5633  gettext()  {
5634  ; return 0; }  opendir ();
5635  EOF    ;
5636  if { (eval echo configure:7393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    return 0;
5637    rm -rf conftest*  }
5638    eval "ac_cv_lib_$ac_lib_var=yes"  _ACEOF
5639  else  rm -f conftest.$ac_objext conftest$ac_exeext
5640    echo "configure: failed program was:" >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5641    cat conftest.$ac_ext >&5    (eval $ac_link) 2>&5
5642    rm -rf conftest*    ac_status=$?
5643    eval "ac_cv_lib_$ac_lib_var=no"    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5644  fi    (exit $ac_status); } &&
5645  rm -f conftest*           { ac_try='test -s conftest$ac_exeext'
5646  LIBS="$ac_save_LIBS"    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5647      (eval $ac_try) 2>&5
5648  fi    ac_status=$?
5649  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5650    echo "$ac_t""yes" 1>&6    (exit $ac_status); }; }; then
5651    gt_cv_func_gettext_libintl=yes    ac_cv_search_opendir="-l$ac_lib"
5652  else  break
5653    echo "$ac_t""no" 1>&6  else
5654  gt_cv_func_gettext_libintl=no    echo "$as_me: failed program was:" >&5
5655  fi  sed 's/^/| /' conftest.$ac_ext >&5
5656    
5657    fi
5658    rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5659      done
5660    fi
5661    LIBS=$ac_func_search_save_LIBS
5662    fi
5663    echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5664    echo "${ECHO_T}$ac_cv_search_opendir" >&6
5665    if test "$ac_cv_search_opendir" != no; then
5666      test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
5667    
5668  fi  fi
5669    
 echo "$ac_t""$gt_cv_func_gettext_libintl" 1>&6  
 else  
   echo "$ac_t""no" 1>&6  
5670  fi  fi
5671    
5672             fi  ac_ext=c
5673    ac_cpp='$CPP $CPPFLAGS'
5674             if test "$gt_cv_func_gettext_libc" = "yes" \  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5675                || test "$gt_cv_func_gettext_libintl" = "yes"; then  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5676                cat >> confdefs.h <<\EOF  ac_compiler_gnu=$ac_cv_c_compiler_gnu
5677  #define HAVE_GETTEXT 1  echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5678  EOF  echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5679    # On Suns, sometimes $CPP names a directory.
5680                # Extract the first word of "msgfmt", so it can be a program name with args.  if test -n "$CPP" && test -d "$CPP"; then
5681  set dummy msgfmt; ac_word=$2    CPP=
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  
 echo "configure:7432: checking for $ac_word" >&5  
 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   case "$MSGFMT" in  
   /*)  
   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.  
   ;;  
   *)  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"  
   for ac_dir in $PATH; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f $ac_dir/$ac_word; then  
       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then  
         ac_cv_path_MSGFMT="$ac_dir/$ac_word"  
         break  
       fi  
     fi  
   done  
   IFS="$ac_save_ifs"  
   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"  
   ;;  
 esac  
5682  fi  fi
5683  MSGFMT="$ac_cv_path_MSGFMT"  if test -z "$CPP"; then
5684  if test "$MSGFMT" != "no"; then    if test "${ac_cv_prog_CPP+set}" = set; then
5685    echo "$ac_t""$MSGFMT" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5686  else  else
5687    echo "$ac_t""no" 1>&6        # Double quotes because CPP needs to be expanded
5688  fi      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5689                if test "$MSGFMT" != "no"; then      do
5690                  for ac_func in dcgettext        ac_preproc_ok=false
5691    for ac_c_preproc_warn_flag in '' yes
5692  do  do
5693  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6    # Use a header file that comes with gcc, so configuring glibc
5694  echo "configure:7466: checking for $ac_func" >&5    # with a fresh cross-compiler works.
5695  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then    # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5696    echo $ac_n "(cached) $ac_c" 1>&6    # <limits.h> exists even on freestanding compilers.
5697  else    # On the NeXT, cc -E runs the code through the compiler's parser,
5698    cat > conftest.$ac_ext <<EOF    # not just through cpp. "Syntax error" is here to catch this case.
5699  #line 7471 "configure"    cat >conftest.$ac_ext <<_ACEOF
5700  #include "confdefs.h"  #line $LINENO "configure"
5701  /* System header to define __stub macros and hopefully few prototypes,  /* confdefs.h.  */
5702      which can conflict with char $ac_func(); below.  */  _ACEOF
5703  #include <assert.h>  cat confdefs.h >>conftest.$ac_ext
5704  /* Override any gcc2 internal prototype to avoid an error.  */  cat >>conftest.$ac_ext <<_ACEOF
5705  /* We use char because int might match the return type of a gcc2  /* end confdefs.h.  */
5706      builtin and then its argument prototype would still apply.  */  #ifdef __STDC__
5707  char $ac_func();  # include <limits.h>
   
 int main() {  
   
 /* The GNU C library defines this for functions which it implements  
     to always fail with ENOSYS.  Some functions are actually named  
     something starting with __ and the normal name is an alias.  */  
 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)  
 choke me  
5708  #else  #else
5709  $ac_func();  # include <assert.h>
5710  #endif  #endif
5711                         Syntax error
5712  ; return 0; }  _ACEOF
5713  EOF  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5714  if { (eval echo configure:7494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5715    rm -rf conftest*    ac_status=$?
5716    eval "ac_cv_func_$ac_func=yes"    grep -v '^ *+' conftest.er1 >conftest.err
5717  else    rm -f conftest.er1
5718    echo "configure: failed program was:" >&5    cat conftest.err >&5
5719    cat conftest.$ac_ext >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720    rm -rf conftest*    (exit $ac_status); } >/dev/null; then
5721    eval "ac_cv_func_$ac_func=no"    if test -s conftest.err; then
5722  fi      ac_cpp_err=$ac_c_preproc_warn_flag
5723  rm -f conftest*    else
5724  fi      ac_cpp_err=
5725      fi
 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_func 1  
 EOF  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
 done  
   
                 # Extract the first word of "gmsgfmt", so it can be a program name with args.  
 set dummy gmsgfmt; ac_word=$2  
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  
 echo "configure:7521: checking for $ac_word" >&5  
 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   case "$GMSGFMT" in  
   /*)  
   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.  
   ;;  
   ?:/*)                    
   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path.  
   ;;  
   *)  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  
   ac_dummy="$PATH"  
   for ac_dir in $ac_dummy; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f $ac_dir/$ac_word; then  
       ac_cv_path_GMSGFMT="$ac_dir/$ac_word"  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"  
   ;;  
 esac  
 fi  
 GMSGFMT="$ac_cv_path_GMSGFMT"  
 if test -n "$GMSGFMT"; then  
   echo "$ac_t""$GMSGFMT" 1>&6  
5726  else  else
5727    echo "$ac_t""no" 1>&6    ac_cpp_err=yes
5728  fi  fi
5729    if test -z "$ac_cpp_err"; then
5730                  # Extract the first word of "xgettext", so it can be a program name with args.    :
 set dummy xgettext; ac_word=$2  
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  
 echo "configure:7557: checking for $ac_word" >&5  
 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   case "$XGETTEXT" in  
   /*)  
   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.  
   ;;  
   *)  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"  
   for ac_dir in $PATH; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f $ac_dir/$ac_word; then  
       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then  
         ac_cv_path_XGETTEXT="$ac_dir/$ac_word"  
         break  
       fi  
     fi  
   done  
   IFS="$ac_save_ifs"  
   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"  
   ;;  
 esac  
 fi  
 XGETTEXT="$ac_cv_path_XGETTEXT"  
 if test "$XGETTEXT" != ":"; then  
   echo "$ac_t""$XGETTEXT" 1>&6  
5731  else  else
5732    echo "$ac_t""no" 1>&6    echo "$as_me: failed program was:" >&5
5733  fi  sed 's/^/| /' conftest.$ac_ext >&5
   
                 cat > conftest.$ac_ext <<EOF  
 #line 7589 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 extern int _nl_msg_cat_cntr;  
                                return _nl_msg_cat_cntr  
 ; return 0; }  
 EOF  
 if { (eval echo configure:7597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   CATOBJEXT=.gmo  
                    DATADIRNAME=share  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   CATOBJEXT=.mo  
                    DATADIRNAME=lib  
 fi  
 rm -f conftest*  
                 INSTOBJEXT=.mo  
               fi  
             fi  
   
             # Added by Martin Baulig 12/15/98 for libc5 systems  
             if test "$gt_cv_func_gettext_libc" != "yes" \  
                && test "$gt_cv_func_gettext_libintl" = "yes"; then  
                INTLLIBS=-lintl  
                LIBS=`echo $LIBS | sed -e 's/-lintl//'`  
             fi  
           
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
5734    
5735          if test "$CATOBJEXT" = "NONE"; then    # Broken: fails on valid input.
5736            echo $ac_n "checking whether catgets can be used""... $ac_c" 1>&6  continue
 echo "configure:7627: checking whether catgets can be used" >&5  
           # Check whether --with-catgets or --without-catgets was given.  
 if test "${with_catgets+set}" = set; then  
   withval="$with_catgets"  
   nls_cv_use_catgets=$withval  
 else  
   nls_cv_use_catgets=no  
 fi  
   
           echo "$ac_t""$nls_cv_use_catgets" 1>&6  
   
           if test "$nls_cv_use_catgets" = "yes"; then  
                     echo $ac_n "checking for main in -li""... $ac_c" 1>&6  
 echo "configure:7640: checking for main in -li" >&5  
 ac_lib_var=`echo i'_'main | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-li  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 7648 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 main()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:7655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
5737  fi  fi
5738  rm -f conftest*  rm -f conftest.err conftest.$ac_ext
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo i | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="-li $LIBS"  
5739    
5740      # OK, works on sane cases.  Now check whether non-existent headers
5741      # can be detected and how.
5742      cat >conftest.$ac_ext <<_ACEOF
5743    #line $LINENO "configure"
5744    /* confdefs.h.  */
5745    _ACEOF
5746    cat confdefs.h >>conftest.$ac_ext
5747    cat >>conftest.$ac_ext <<_ACEOF
5748    /* end confdefs.h.  */
5749    #include <ac_nonexistent.h>
5750    _ACEOF
5751    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5752      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5753      ac_status=$?
5754      grep -v '^ *+' conftest.er1 >conftest.err
5755      rm -f conftest.er1
5756      cat conftest.err >&5
5757      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5758      (exit $ac_status); } >/dev/null; then
5759      if test -s conftest.err; then
5760        ac_cpp_err=$ac_c_preproc_warn_flag
5761      else
5762        ac_cpp_err=
5763      fi
5764  else  else
5765    echo "$ac_t""no" 1>&6    ac_cpp_err=yes
5766  fi  fi
5767    if test -z "$ac_cpp_err"; then
5768              echo $ac_n "checking for catgets""... $ac_c" 1>&6    # Broken: success on invalid input.
5769  echo "configure:7683: checking for catgets" >&5  continue
 if eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
5770  else  else
5771    cat > conftest.$ac_ext <<EOF    echo "$as_me: failed program was:" >&5
5772  #line 7688 "configure"  sed 's/^/| /' conftest.$ac_ext >&5
 #include "confdefs.h"  
 /* System header to define __stub macros and hopefully few prototypes,  
     which can conflict with char catgets(); below.  */  
 #include <assert.h>  
 /* Override any gcc2 internal prototype to avoid an error.  */  
 /* We use char because int might match the return type of a gcc2  
     builtin and then its argument prototype would still apply.  */  
 char catgets();  
   
 int main() {  
   
 /* The GNU C library defines this for functions which it implements  
     to always fail with ENOSYS.  Some functions are actually named  
     something starting with __ and the normal name is an alias.  */  
 #if defined (__stub_catgets) || defined (__stub___catgets)  
 choke me  
 #else  
 catgets();  
 #endif  
5773    
5774  ; return 0; }    # Passes both tests.
5775  EOF  ac_preproc_ok=:
5776  if { (eval echo configure:7711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  break
   rm -rf conftest*  
   eval "ac_cv_func_catgets=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_func_catgets=no"  
 fi  
 rm -f conftest*  
5777  fi  fi
5778    rm -f conftest.err conftest.$ac_ext
5779    
5780  if eval "test \"`echo '$ac_cv_func_'catgets`\" = yes"; then  done
5781    echo "$ac_t""yes" 1>&6  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5782    cat >> confdefs.h <<\EOF  rm -f conftest.err conftest.$ac_ext
5783  #define HAVE_CATGETS 1  if $ac_preproc_ok; then
5784  EOF    break
   
                INTLOBJS="\$(CATOBJS)"  
                # Extract the first word of "gencat", so it can be a program name with args.  
 set dummy gencat; ac_word=$2  
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  
 echo "configure:7733: checking for $ac_word" >&5  
 if eval "test \"`echo '$''{'ac_cv_path_GENCAT'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   case "$GENCAT" in  
   /*)  
   ac_cv_path_GENCAT="$GENCAT" # Let the user override the test with a path.  
   ;;  
   ?:/*)                    
   ac_cv_path_GENCAT="$GENCAT" # Let the user override the test with a dos path.  
   ;;  
   *)  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  
   ac_dummy="$PATH"  
   for ac_dir in $ac_dummy; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f $ac_dir/$ac_word; then  
       ac_cv_path_GENCAT="$ac_dir/$ac_word"  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
   test -z "$ac_cv_path_GENCAT" && ac_cv_path_GENCAT="no"  
   ;;  
 esac  
 fi  
 GENCAT="$ac_cv_path_GENCAT"  
 if test -n "$GENCAT"; then  
   echo "$ac_t""$GENCAT" 1>&6  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
 #              if test "$GENCAT" != "no"; then  
 #                AC_PATH_PROG(GMSGFMT, gmsgfmt, no)  
 #                if test "$GMSGFMT" = "no"; then  
 #                  AM_PATH_PROG_WITH_TEST(GMSGFMT, msgfmt,  
 #                   [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)  
 #                fi  
 #                AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,  
 #                  [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)  
 #                USE_INCLUDED_LIBINTL=yes  
 #                CATOBJEXT=.cat  
 #                INSTOBJEXT=.cat  
 #                DATADIRNAME=lib  
 #                INTLDEPS='$(top_builddir)/intl/libintl.a'  
 #                INTLLIBS=$INTLDEPS  
 #                LIBS=`echo $LIBS | sed -e 's/-lintl//'`  
 #                nls_cv_header_intl=intl/libintl.h  
 #                nls_cv_header_libgt=intl/libgettext.h  
 #              fi  
               
 else  
   echo "$ac_t""no" 1>&6  
5785  fi  fi
5786    
           fi  
         fi  
   
         if test "$CATOBJEXT" = "NONE"; then  
                           nls_cv_use_gnu_gettext=yes  
         fi  
       fi  
   
       if test "$nls_cv_use_gnu_gettext" != "yes"; then  
         cat >> confdefs.h <<\EOF  
 #define ENABLE_NLS 1  
 EOF  
   
       else  
          # Unset this variable since we use the non-zero value as a flag.  
          CATOBJEXT=  
 #        dnl Mark actions used to generate GNU NLS library.  
 #        INTLOBJS="\$(GETTOBJS)"  
 #        AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,  
 #         [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], msgfmt)  
 #        AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)  
 #        AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,  
 #         [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)  
 #        AC_SUBST(MSGFMT)  
 #       USE_INCLUDED_LIBINTL=yes  
 #        CATOBJEXT=.gmo  
 #        INSTOBJEXT=.mo  
 #        DATADIRNAME=share  
 #       INTLDEPS='$(top_builddir)/intl/libintl.a'  
 #       INTLLIBS=$INTLDEPS  
 #       LIBS=`echo $LIBS | sed -e 's/-lintl//'`  
 #        nls_cv_header_intl=intl/libintl.h  
 #        nls_cv_header_libgt=intl/libgettext.h  
       fi  
   
             if test "$XGETTEXT" != ":"; then  
                         if $XGETTEXT --omit-header /dev/null 2> /dev/null; then  
           : ;  
         else  
           echo "$ac_t""found xgettext program is not GNU xgettext; ignore it" 1>&6  
           XGETTEXT=":"  
         fi  
       fi  
   
       # We need to process the po/ directory.  
       POSUB=po  
     else  
       DATADIRNAME=share  
       nls_cv_header_intl=intl/libintl.h  
       nls_cv_header_libgt=intl/libgettext.h  
     fi  
       
       
   
   
 #    # If this is used in GNU gettext we have to set USE_NLS to `yes'  
 #    # because some of the sources are only built for this goal.  
 #    if test "$PACKAGE" = gettext; then  
 #      USE_NLS=yes  
 #      USE_INCLUDED_LIBINTL=yes  
 #    fi  
   
                 for lang in $ALL_LINGUAS; do  
       GMOFILES="$GMOFILES $lang.gmo"  
       POFILES="$POFILES $lang.po"  
5787      done      done
5788        ac_cv_prog_CPP=$CPP
5789    
           
       
       
       
       
       
       
       
       
       
       
       
     
   
    if test "x$CATOBJEXT" != "x"; then  
      if test "x$ALL_LINGUAS" = "x"; then  
        LINGUAS=  
      else  
        echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6  
 echo "configure:7874: checking for catalogs to be installed" >&5  
        NEW_LINGUAS=  
        if test "x$LINGUAS" = "x"; then  
            LINGUAS=$ALL_LINGUAS  
        fi  
        for lang in $LINGUAS; do  
          case "$ALL_LINGUAS" in  
           *\ $lang\ *|$lang\ *|*\ $lang) NEW_LINGUAS="$NEW_LINGUAS $lang" ;;  
          esac  
        done  
        LINGUAS=$NEW_LINGUAS  
        echo "$ac_t""$LINGUAS" 1>&6  
      fi  
   
           if test -n "$LINGUAS"; then  
        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done  
      fi  
    fi  
   
             if test $ac_cv_header_locale_h = yes; then  
      INCLUDE_LOCALE_H="#include <locale.h>"  
    else  
      INCLUDE_LOCALE_H="\  
 /* The system does not provide the header <locale.h>.  Take care yourself.  */"  
    fi  
     
   
             test -d intl || mkdir intl  
    if test "$CATOBJEXT" = ".cat"; then  
      ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'`  
 echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6  
 echo "configure:7905: checking for linux/version.h" >&5  
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 7910 "configure"  
 #include "confdefs.h"  
 #include <linux/version.h>  
 EOF  
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  
 { (eval echo configure:7915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  
 if test -z "$ac_err"; then  
   rm -rf conftest*  
   eval "ac_cv_header_$ac_safe=yes"  
 else  
   echo "$ac_err" >&5  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_header_$ac_safe=no"  
5790  fi  fi
5791  rm -f conftest*    CPP=$ac_cv_prog_CPP
 fi  
 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
   msgformat=linux  
 else  
   echo "$ac_t""no" 1>&6  
 msgformat=xopen  
 fi  
   
   
                sed -e '/^#/d' $srcdir/intl/$msgformat-msg.sed > intl/po2msg.sed  
    fi  
       sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \  
      $srcdir/intl/po2tbl.sed.in > intl/po2tbl.sed  
   
             if test "$PACKAGE" = "gettext"; then  
      GT_NO="#NO#"  
      GT_YES=  
    else  
      GT_NO=  
      GT_YES="#YES#"  
    fi  
     
     
   
             MKINSTALLDIRS=  
    if test -n "$ac_aux_dir"; then  
      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"  
    fi  
    if test -z "$MKINSTALLDIRS"; then  
      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"  
    fi  
     
   
       l=  
     
   
          test -d po || mkdir po  
    if test "x$srcdir" != "x."; then  
      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then  
        posrcprefix="$srcdir/"  
      else  
        posrcprefix="../$srcdir/"  
      fi  
    else  
      posrcprefix="../"  
    fi  
    rm -f po/POTFILES  
    sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \  
         < $srcdir/po/POTFILES.in > po/POTFILES  
     
   
 localedir=${datadir}/locale  
   
   
 echo $ac_n "checking for yywrap in -lfl""... $ac_c" 1>&6  
 echo "configure:7984: checking for yywrap in -lfl" >&5  
 ac_lib_var=`echo fl'_'yywrap | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
5792  else  else
5793    ac_save_LIBS="$LIBS"    ac_cv_prog_CPP=$CPP
 LIBS="-lfl  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 7992 "configure"  
 #include "confdefs.h"  
 /* Override any gcc2 internal prototype to avoid an error.  */  
 /* We use char because int might match the return type of a gcc2  
     builtin and then its argument prototype would still apply.  */  
 char yywrap();  
   
 int main() {  
 yywrap()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:8003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
5794  fi  fi
5795  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  echo "$as_me:$LINENO: result: $CPP" >&5
5796    echo "$ac_t""yes" 1>&6  echo "${ECHO_T}$CPP" >&6
5797      ac_tr_lib=HAVE_LIB`echo fl | sed -e 's/[^a-zA-Z0-9_]/_/g' \  ac_preproc_ok=false
5798      -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  for ac_c_preproc_warn_flag in '' yes
5799    cat >> confdefs.h <<EOF  do
5800  #define $ac_tr_lib 1    # Use a header file that comes with gcc, so configuring glibc
5801  EOF    # with a fresh cross-compiler works.
5802      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5803    LIBS="-lfl $LIBS"    # <limits.h> exists even on freestanding compilers.
5804      # On the NeXT, cc -E runs the code through the compiler's parser,
5805      # not just through cpp. "Syntax error" is here to catch this case.
5806      cat >conftest.$ac_ext <<_ACEOF
5807    #line $LINENO "configure"
5808    /* confdefs.h.  */
5809    _ACEOF
5810    cat confdefs.h >>conftest.$ac_ext
5811    cat >>conftest.$ac_ext <<_ACEOF
5812    /* end confdefs.h.  */
5813    #ifdef __STDC__
5814    # include <limits.h>
5815    #else
5816    # include <assert.h>
5817    #endif
5818                         Syntax error
5819    _ACEOF
5820    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5821      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5822      ac_status=$?
5823      grep -v '^ *+' conftest.er1 >conftest.err
5824      rm -f conftest.er1
5825      cat conftest.err >&5
5826      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5827      (exit $ac_status); } >/dev/null; then
5828      if test -s conftest.err; then
5829        ac_cpp_err=$ac_c_preproc_warn_flag
5830      else
5831        ac_cpp_err=
5832      fi
5833  else  else
5834    echo "$ac_t""no" 1>&6    ac_cpp_err=yes
5835  fi  fi
5836    if test -z "$ac_cpp_err"; then
5837      :
 # Check whether --with-pthread-libs or --without-pthread-libs was given.  
 if test "${with_pthread_libs+set}" = set; then  
   withval="$with_pthread_libs"  
    LDFLAGS="${LDFLAGS} -L${withval}";  
           
 fi  
   
 echo $ac_n "checking for pthread_join in -lpthread""... $ac_c" 1>&6  
 echo "configure:8039: checking for pthread_join in -lpthread" >&5  
 ac_lib_var=`echo pthread'_'pthread_join | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
5838  else  else
5839    ac_save_LIBS="$LIBS"    echo "$as_me: failed program was:" >&5
5840  LIBS="-lpthread  $LIBS"  sed 's/^/| /' conftest.$ac_ext >&5
 cat > conftest.$ac_ext <<EOF  
 #line 8047 "configure"  
 #include "confdefs.h"  
 /* Override any gcc2 internal prototype to avoid an error.  */  
 /* We use char because int might match the return type of a gcc2  
     builtin and then its argument prototype would still apply.  */  
 char pthread_join();  
5841    
5842  int main() {    # Broken: fails on valid input.
5843  pthread_join()  continue
 ; return 0; }  
 EOF  
 if { (eval echo configure:8058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
5844  fi  fi
5845  rm -f conftest*  rm -f conftest.err conftest.$ac_ext
 LIBS="$ac_save_LIBS"  
5846    
5847  fi    # OK, works on sane cases.  Now check whether non-existent headers
5848  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then    # can be detected and how.
5849    echo "$ac_t""yes" 1>&6    cat >conftest.$ac_ext <<_ACEOF
5850     PTHREADS_INSTALLED=yes;  #line $LINENO "configure"
5851      LIBS="${LIBS} -lpthread"; HAVE_LIBPTHREAD=1  /* confdefs.h.  */
5852    _ACEOF
5853    cat confdefs.h >>conftest.$ac_ext
5854    cat >>conftest.$ac_ext <<_ACEOF
5855    /* end confdefs.h.  */
5856    #include <ac_nonexistent.h>
5857    _ACEOF
5858    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5859      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5860      ac_status=$?
5861      grep -v '^ *+' conftest.er1 >conftest.err
5862      rm -f conftest.er1
5863      cat conftest.err >&5
5864      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865      (exit $ac_status); } >/dev/null; then
5866      if test -s conftest.err; then
5867        ac_cpp_err=$ac_c_preproc_warn_flag
5868      else
5869        ac_cpp_err=
5870      fi
5871  else  else
5872    echo "$ac_t""no" 1>&6    ac_cpp_err=yes
  echo "configure: warning: pthreads not installed. Trying without them" 1>&2;  
    PTHREADS_INSTALLED=no;    
   
5873  fi  fi
5874    if test -z "$ac_cpp_err"; then
5875        # Broken: success on invalid input.
5876  echo $ac_n "checking for gzopen in -lz""... $ac_c" 1>&6  continue
 echo "configure:8084: checking for gzopen in -lz" >&5  
 ac_lib_var=`echo z'_'gzopen | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
5877  else  else
5878    ac_save_LIBS="$LIBS"    echo "$as_me: failed program was:" >&5
5879  LIBS="-lz  $LIBS"  sed 's/^/| /' conftest.$ac_ext >&5
 cat > conftest.$ac_ext <<EOF  
 #line 8092 "configure"  
 #include "confdefs.h"  
 /* Override any gcc2 internal prototype to avoid an error.  */  
 /* We use char because int might match the return type of a gcc2  
     builtin and then its argument prototype would still apply.  */  
 char gzopen();  
   
 int main() {  
 gzopen()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:8103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
5880    
5881      # Passes both tests.
5882    ac_preproc_ok=:
5883    break
5884  fi  fi
5885  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  rm -f conftest.err conftest.$ac_ext
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo z | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
5886    
   LIBS="-lz $LIBS"  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
   
 ac_header_dirent=no  
 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h  
 do  
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  
 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6  
 echo "configure:8136: checking for $ac_hdr that defines DIR" >&5  
 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 8141 "configure"  
 #include "confdefs.h"  
 #include <sys/types.h>  
 #include <$ac_hdr>  
 int main() {  
 DIR *dirp = 0;  
 ; return 0; }  
 EOF  
 if { (eval echo configure:8149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
   rm -rf conftest*  
   eval "ac_cv_header_dirent_$ac_safe=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_header_dirent_$ac_safe=no"  
 fi  
 rm -f conftest*  
 fi  
 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_hdr 1  
 EOF  
  ac_header_dirent=$ac_hdr; break  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
5887  done  done
5888  # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5889  if test $ac_header_dirent = dirent.h; then  rm -f conftest.err conftest.$ac_ext
5890  echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6  if $ac_preproc_ok; then
5891  echo "configure:8174: checking for opendir in -ldir" >&5    :
 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-ldir  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 8182 "configure"  
 #include "confdefs.h"  
 /* Override any gcc2 internal prototype to avoid an error.  */  
 /* We use char because int might match the return type of a gcc2  
     builtin and then its argument prototype would still apply.  */  
 char opendir();  
   
 int main() {  
 opendir()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:8193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
   LIBS="$LIBS -ldir"  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 else  
 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6  
 echo "configure:8215: checking for opendir in -lx" >&5  
 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lx  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 8223 "configure"  
 #include "confdefs.h"  
 /* Override any gcc2 internal prototype to avoid an error.  */  
 /* We use char because int might match the return type of a gcc2  
     builtin and then its argument prototype would still apply.  */  
 char opendir();  
   
 int main() {  
 opendir()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:8234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
   LIBS="$LIBS -lx"  
5892  else  else
5893    echo "$ac_t""no" 1>&6    { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5894    See \`config.log' for more details." >&5
5895    echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5896    See \`config.log' for more details." >&2;}
5897       { (exit 1); exit 1; }; }
5898  fi  fi
5899    
5900  fi  ac_ext=c
5901    ac_cpp='$CPP $CPPFLAGS'
5902  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5903  echo "configure:8257: checking for ANSI C header files" >&5  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5904  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then  ac_compiler_gnu=$ac_cv_c_compiler_gnu
5905    echo $ac_n "(cached) $ac_c" 1>&6  
5906  else  
5907    cat > conftest.$ac_ext <<EOF  echo "$as_me:$LINENO: checking for egrep" >&5
5908  #line 8262 "configure"  echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5909  #include "confdefs.h"  if test "${ac_cv_prog_egrep+set}" = set; then
5910      echo $ECHO_N "(cached) $ECHO_C" >&6
5911    else
5912      if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5913        then ac_cv_prog_egrep='grep -E'
5914        else ac_cv_prog_egrep='egrep'
5915        fi
5916    fi
5917    echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5918    echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5919     EGREP=$ac_cv_prog_egrep
5920    
5921    
5922    echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5923    echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5924    if test "${ac_cv_header_stdc+set}" = set; then
5925      echo $ECHO_N "(cached) $ECHO_C" >&6
5926    else
5927      cat >conftest.$ac_ext <<_ACEOF
5928    #line $LINENO "configure"
5929    /* confdefs.h.  */
5930    _ACEOF
5931    cat confdefs.h >>conftest.$ac_ext
5932    cat >>conftest.$ac_ext <<_ACEOF
5933    /* end confdefs.h.  */
5934  #include <stdlib.h>  #include <stdlib.h>
5935  #include <stdarg.h>  #include <stdarg.h>
5936  #include <string.h>  #include <string.h>
5937  #include <float.h>  #include <float.h>
5938  EOF  
5939  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  int
5940  { (eval echo configure:8270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  main ()
5941  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  {
5942  if test -z "$ac_err"; then  
5943    rm -rf conftest*    ;
5944      return 0;
5945    }
5946    _ACEOF
5947    rm -f conftest.$ac_objext
5948    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5949      (eval $ac_compile) 2>&5
5950      ac_status=$?
5951      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952      (exit $ac_status); } &&
5953             { ac_try='test -s conftest.$ac_objext'
5954      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5955      (eval $ac_try) 2>&5
5956      ac_status=$?
5957      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5958      (exit $ac_status); }; }; then
5959    ac_cv_header_stdc=yes    ac_cv_header_stdc=yes
5960  else  else
5961    echo "$ac_err" >&5    echo "$as_me: failed program was:" >&5
5962    echo "configure: failed program was:" >&5  sed 's/^/| /' conftest.$ac_ext >&5
5963    cat conftest.$ac_ext >&5  
5964    rm -rf conftest*  ac_cv_header_stdc=no
   ac_cv_header_stdc=no  
5965  fi  fi
5966  rm -f conftest*  rm -f conftest.$ac_objext conftest.$ac_ext
5967    
5968  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
5969    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5970  cat > conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<_ACEOF
5971  #line 8287 "configure"  #line $LINENO "configure"
5972  #include "confdefs.h"  /* confdefs.h.  */
5973    _ACEOF
5974    cat confdefs.h >>conftest.$ac_ext
5975    cat >>conftest.$ac_ext <<_ACEOF
5976    /* end confdefs.h.  */
5977  #include <string.h>  #include <string.h>
5978  EOF  
5979    _ACEOF
5980  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5981    egrep "memchr" >/dev/null 2>&1; then    $EGREP "memchr" >/dev/null 2>&1; then
5982    :    :
5983  else  else
   rm -rf conftest*  
5984    ac_cv_header_stdc=no    ac_cv_header_stdc=no
5985  fi  fi
5986  rm -f conftest*  rm -f conftest*
# Line 8300  fi Line 5989  fi
5989    
5990  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
5991    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5992  cat > conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<_ACEOF
5993  #line 8305 "configure"  #line $LINENO "configure"
5994  #include "confdefs.h"  /* confdefs.h.  */
5995    _ACEOF
5996    cat confdefs.h >>conftest.$ac_ext
5997    cat >>conftest.$ac_ext <<_ACEOF
5998    /* end confdefs.h.  */
5999  #include <stdlib.h>  #include <stdlib.h>
6000  EOF  
6001    _ACEOF
6002  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6003    egrep "free" >/dev/null 2>&1; then    $EGREP "free" >/dev/null 2>&1; then
6004    :    :
6005  else  else
   rm -rf conftest*  
6006    ac_cv_header_stdc=no    ac_cv_header_stdc=no
6007  fi  fi
6008  rm -f conftest*  rm -f conftest*
# Line 8318  fi Line 6011  fi
6011    
6012  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
6013    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6014  if test "$cross_compiling" = yes; then    if test "$cross_compiling" = yes; then
6015    :    :
6016  else  else
6017    cat > conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<_ACEOF
6018  #line 8326 "configure"  #line $LINENO "configure"
6019  #include "confdefs.h"  /* confdefs.h.  */
6020    _ACEOF
6021    cat confdefs.h >>conftest.$ac_ext
6022    cat >>conftest.$ac_ext <<_ACEOF
6023    /* end confdefs.h.  */
6024  #include <ctype.h>  #include <ctype.h>
6025  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')  #if ((' ' & 0x0FF) == 0x020)
6026  #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))  # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6027  #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6028  int main () { int i; for (i = 0; i < 256; i++)  #else
6029  if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);  # define ISLOWER(c) \
6030  exit (0); }                     (('a' <= (c) && (c) <= 'i') \
6031                         || ('j' <= (c) && (c) <= 'r') \
6032                         || ('s' <= (c) && (c) <= 'z'))
6033    # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6034    #endif
6035    
6036  EOF  #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6037  if { (eval echo configure:8337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  int
6038  then  main ()
6039    {
6040      int i;
6041      for (i = 0; i < 256; i++)
6042        if (XOR (islower (i), ISLOWER (i))
6043            || toupper (i) != TOUPPER (i))
6044          exit(2);
6045      exit (0);
6046    }
6047    _ACEOF
6048    rm -f conftest$ac_exeext
6049    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6050      (eval $ac_link) 2>&5
6051      ac_status=$?
6052      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053      (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6054      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6055      (eval $ac_try) 2>&5
6056      ac_status=$?
6057      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6058      (exit $ac_status); }; }; then
6059    :    :
6060  else  else
6061    echo "configure: failed program was:" >&5    echo "$as_me: program exited with status $ac_status" >&5
6062    cat conftest.$ac_ext >&5  echo "$as_me: failed program was:" >&5
6063    rm -fr conftest*  sed 's/^/| /' conftest.$ac_ext >&5
6064    ac_cv_header_stdc=no  
6065    ( exit $ac_status )
6066    ac_cv_header_stdc=no
6067  fi  fi
6068  rm -fr conftest*  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6069  fi  fi
   
6070  fi  fi
6071  fi  fi
6072    echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6073  echo "$ac_t""$ac_cv_header_stdc" 1>&6  echo "${ECHO_T}$ac_cv_header_stdc" >&6
6074  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
6075    cat >> confdefs.h <<\EOF  
6076    cat >>confdefs.h <<\_ACEOF
6077  #define STDC_HEADERS 1  #define STDC_HEADERS 1
6078  EOF  _ACEOF
6079    
6080  fi  fi
6081    
6082  echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6083  echo "configure:8361: checking for sys/wait.h that is POSIX.1 compatible" >&5  echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
6084  if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then  if test "${ac_cv_header_sys_wait_h+set}" = set; then
6085    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6086  else  else
6087    cat > conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<_ACEOF
6088  #line 8366 "configure"  #line $LINENO "configure"
6089  #include "confdefs.h"  /* confdefs.h.  */
6090    _ACEOF
6091    cat confdefs.h >>conftest.$ac_ext
6092    cat >>conftest.$ac_ext <<_ACEOF
6093    /* end confdefs.h.  */
6094  #include <sys/types.h>  #include <sys/types.h>
6095  #include <sys/wait.h>  #include <sys/wait.h>
6096  #ifndef WEXITSTATUS  #ifndef WEXITSTATUS
6097  #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)  # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
6098  #endif  #endif
6099  #ifndef WIFEXITED  #ifndef WIFEXITED
6100  #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)  # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6101  #endif  #endif
6102  int main() {  
6103  int s;  int
6104  wait (&s);  main ()
6105  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;  {
6106  ; return 0; }    int s;
6107  EOF    wait (&s);
6108  if { (eval echo configure:8382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6109    rm -rf conftest*    ;
6110      return 0;
6111    }
6112    _ACEOF
6113    rm -f conftest.$ac_objext
6114    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6115      (eval $ac_compile) 2>&5
6116      ac_status=$?
6117      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6118      (exit $ac_status); } &&
6119             { ac_try='test -s conftest.$ac_objext'
6120      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6121      (eval $ac_try) 2>&5
6122      ac_status=$?
6123      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6124      (exit $ac_status); }; }; then
6125    ac_cv_header_sys_wait_h=yes    ac_cv_header_sys_wait_h=yes
6126  else  else
6127    echo "configure: failed program was:" >&5    echo "$as_me: failed program was:" >&5
6128    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
6129    rm -rf conftest*  
6130    ac_cv_header_sys_wait_h=no  ac_cv_header_sys_wait_h=no
6131  fi  fi
6132  rm -f conftest*  rm -f conftest.$ac_objext conftest.$ac_ext
6133  fi  fi
6134    echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6135  echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6  echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
6136  if test $ac_cv_header_sys_wait_h = yes; then  if test $ac_cv_header_sys_wait_h = yes; then
6137    cat >> confdefs.h <<\EOF  
6138    cat >>confdefs.h <<\_ACEOF
6139  #define HAVE_SYS_WAIT_H 1  #define HAVE_SYS_WAIT_H 1
6140  EOF  _ACEOF
6141    
6142  fi  fi
6143    
6144  for ac_hdr in fcntl.h strings.h sys/ioctl.h unistd.h  # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6145    
6146    
6147    
6148    
6149    
6150    
6151    
6152    
6153    
6154    for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6155                      inttypes.h stdint.h unistd.h
6156  do  do
6157  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6158  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_header" >&5
6159  echo "configure:8406: checking for $ac_hdr" >&5  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6160  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
6161    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6162    else
6163      cat >conftest.$ac_ext <<_ACEOF
6164    #line $LINENO "configure"
6165    /* confdefs.h.  */
6166    _ACEOF
6167    cat confdefs.h >>conftest.$ac_ext
6168    cat >>conftest.$ac_ext <<_ACEOF
6169    /* end confdefs.h.  */
6170    $ac_includes_default
6171    
6172    #include <$ac_header>
6173    _ACEOF
6174    rm -f conftest.$ac_objext
6175    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6176      (eval $ac_compile) 2>&5
6177      ac_status=$?
6178      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179      (exit $ac_status); } &&
6180             { ac_try='test -s conftest.$ac_objext'
6181      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6182      (eval $ac_try) 2>&5
6183      ac_status=$?
6184      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185      (exit $ac_status); }; }; then
6186      eval "$as_ac_Header=yes"
6187    else
6188      echo "$as_me: failed program was:" >&5
6189    sed 's/^/| /' conftest.$ac_ext >&5
6190    
6191    eval "$as_ac_Header=no"
6192    fi
6193    rm -f conftest.$ac_objext conftest.$ac_ext
6194    fi
6195    echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6196    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6197    if test `eval echo '${'$as_ac_Header'}'` = yes; then
6198      cat >>confdefs.h <<_ACEOF
6199    #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6200    _ACEOF
6201    
6202    fi
6203    
6204    done
6205    
6206    
6207    
6208    
6209    
6210    
6211    for ac_header in fcntl.h strings.h sys/ioctl.h unistd.h
6212    do
6213    as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6214    if eval "test \"\${$as_ac_Header+set}\" = set"; then
6215      echo "$as_me:$LINENO: checking for $ac_header" >&5
6216    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6217    if eval "test \"\${$as_ac_Header+set}\" = set"; then
6218      echo $ECHO_N "(cached) $ECHO_C" >&6
6219    fi
6220    echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6221    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6222    else
6223      # Is the header compilable?
6224    echo "$as_me:$LINENO: checking $ac_header usability" >&5
6225    echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6226    cat >conftest.$ac_ext <<_ACEOF
6227    #line $LINENO "configure"
6228    /* confdefs.h.  */
6229    _ACEOF
6230    cat confdefs.h >>conftest.$ac_ext
6231    cat >>conftest.$ac_ext <<_ACEOF
6232    /* end confdefs.h.  */
6233    $ac_includes_default
6234    #include <$ac_header>
6235    _ACEOF
6236    rm -f conftest.$ac_objext
6237    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6238      (eval $ac_compile) 2>&5
6239      ac_status=$?
6240      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6241      (exit $ac_status); } &&
6242             { ac_try='test -s conftest.$ac_objext'
6243      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6244      (eval $ac_try) 2>&5
6245      ac_status=$?
6246      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6247      (exit $ac_status); }; }; then
6248      ac_header_compiler=yes
6249    else
6250      echo "$as_me: failed program was:" >&5
6251    sed 's/^/| /' conftest.$ac_ext >&5
6252    
6253    ac_header_compiler=no
6254    fi
6255    rm -f conftest.$ac_objext conftest.$ac_ext
6256    echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6257    echo "${ECHO_T}$ac_header_compiler" >&6
6258    
6259    # Is the header present?
6260    echo "$as_me:$LINENO: checking $ac_header presence" >&5
6261    echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6262    cat >conftest.$ac_ext <<_ACEOF
6263    #line $LINENO "configure"
6264    /* confdefs.h.  */
6265    _ACEOF
6266    cat confdefs.h >>conftest.$ac_ext
6267    cat >>conftest.$ac_ext <<_ACEOF
6268    /* end confdefs.h.  */
6269    #include <$ac_header>
6270    _ACEOF
6271    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6272      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6273      ac_status=$?
6274      grep -v '^ *+' conftest.er1 >conftest.err
6275      rm -f conftest.er1
6276      cat conftest.err >&5
6277      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6278      (exit $ac_status); } >/dev/null; then
6279      if test -s conftest.err; then
6280        ac_cpp_err=$ac_c_preproc_warn_flag
6281      else
6282        ac_cpp_err=
6283      fi
6284  else  else
6285    cat > conftest.$ac_ext <<EOF    ac_cpp_err=yes
 #line 8411 "configure"  
 #include "confdefs.h"  
 #include <$ac_hdr>  
 EOF  
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  
 { (eval echo configure:8416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  
 if test -z "$ac_err"; then  
   rm -rf conftest*  
   eval "ac_cv_header_$ac_safe=yes"  
 else  
   echo "$ac_err" >&5  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_header_$ac_safe=no"  
6286  fi  fi
6287  rm -f conftest*  if test -z "$ac_cpp_err"; then
6288      ac_header_preproc=yes
6289    else
6290      echo "$as_me: failed program was:" >&5
6291    sed 's/^/| /' conftest.$ac_ext >&5
6292    
6293      ac_header_preproc=no
6294    fi
6295    rm -f conftest.err conftest.$ac_ext
6296    echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6297    echo "${ECHO_T}$ac_header_preproc" >&6
6298    
6299    # So?  What about this header?
6300    case $ac_header_compiler:$ac_header_preproc in
6301      yes:no )
6302        { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6303    echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6304        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6305    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6306        (
6307          cat <<\_ASBOX
6308    ## ------------------------------------ ##
6309    ## Report this to bug-autoconf@gnu.org. ##
6310    ## ------------------------------------ ##
6311    _ASBOX
6312        ) |
6313          sed "s/^/$as_me: WARNING:     /" >&2
6314        ;;
6315      no:yes )
6316        { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6317    echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6318        { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6319    echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6320        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6321    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6322        (
6323          cat <<\_ASBOX
6324    ## ------------------------------------ ##
6325    ## Report this to bug-autoconf@gnu.org. ##
6326    ## ------------------------------------ ##
6327    _ASBOX
6328        ) |
6329          sed "s/^/$as_me: WARNING:     /" >&2
6330        ;;
6331    esac
6332    echo "$as_me:$LINENO: checking for $ac_header" >&5
6333    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6334    if eval "test \"\${$as_ac_Header+set}\" = set"; then
6335      echo $ECHO_N "(cached) $ECHO_C" >&6
6336    else
6337      eval "$as_ac_Header=$ac_header_preproc"
6338    fi
6339    echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6340    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6341    
6342    fi
6343    if test `eval echo '${'$as_ac_Header'}'` = yes; then
6344      cat >>confdefs.h <<_ACEOF
6345    #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6346    _ACEOF
6347    
6348  fi  fi
6349  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  
6350    echo "$ac_t""yes" 1>&6  done
6351      ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`  
6352    cat >> confdefs.h <<EOF  
6353  #define $ac_tr_hdr 1  echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6354  EOF  echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6355    if test "${ac_cv_c_const+set}" = set; then
6356  else    echo $ECHO_N "(cached) $ECHO_C" >&6
6357    echo "$ac_t""no" 1>&6  else
6358  fi    cat >conftest.$ac_ext <<_ACEOF
6359  done  #line $LINENO "configure"
6360    /* confdefs.h.  */
6361    _ACEOF
6362  echo $ac_n "checking for working const""... $ac_c" 1>&6  cat confdefs.h >>conftest.$ac_ext
6363  echo "configure:8444: checking for working const" >&5  cat >>conftest.$ac_ext <<_ACEOF
6364  if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then  /* end confdefs.h.  */
6365    echo $ac_n "(cached) $ac_c" 1>&6  
6366  else  int
6367    cat > conftest.$ac_ext <<EOF  main ()
6368  #line 8449 "configure"  {
6369  #include "confdefs.h"  /* FIXME: Include the comments suggested by Paul. */
6370    #ifndef __cplusplus
6371  int main() {    /* Ultrix mips cc rejects this.  */
6372      typedef int charset[2];
6373  /* Ultrix mips cc rejects this.  */    const charset x;
6374  typedef int charset[2]; const charset x;    /* SunOS 4.1.1 cc rejects this.  */
6375  /* SunOS 4.1.1 cc rejects this.  */    char const *const *ccp;
6376  char const *const *ccp;    char **p;
6377  char **p;    /* NEC SVR4.0.2 mips cc rejects this.  */
6378  /* NEC SVR4.0.2 mips cc rejects this.  */    struct point {int x, y;};
6379  struct point {int x, y;};    static struct point const zero = {0,0};
6380  static struct point const zero = {0,0};    /* AIX XL C 1.02.0.0 rejects this.
6381  /* AIX XL C 1.02.0.0 rejects this.       It does not let you subtract one const X* pointer from another in
6382     It does not let you subtract one const X* pointer from another in an arm       an arm of an if-expression whose if-part is not a constant
6383     of an if-expression whose if-part is not a constant expression */       expression */
6384  const char *g = "string";    const char *g = "string";
6385  ccp = &g + (g ? g-g : 0);    ccp = &g + (g ? g-g : 0);
6386  /* HPUX 7.0 cc rejects these. */    /* HPUX 7.0 cc rejects these. */
6387  ++ccp;    ++ccp;
6388  p = (char**) ccp;    p = (char**) ccp;
6389  ccp = (char const *const *) p;    ccp = (char const *const *) p;
6390  { /* SCO 3.2v4 cc rejects this.  */    { /* SCO 3.2v4 cc rejects this.  */
6391    char *t;      char *t;
6392    char const *s = 0 ? (char *) 0 : (char const *) 0;      char const *s = 0 ? (char *) 0 : (char const *) 0;
6393    
6394    *t++ = 0;      *t++ = 0;
6395  }    }
6396  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */    { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
6397    int x[] = {25, 17};      int x[] = {25, 17};
6398    const int *foo = &x[0];      const int *foo = &x[0];
6399    ++foo;      ++foo;
6400  }    }
6401  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */    { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6402    typedef const int *iptr;      typedef const int *iptr;
6403    iptr p = 0;      iptr p = 0;
6404    ++p;      ++p;
6405  }    }
6406  { /* AIX XL C 1.02.0.0 rejects this saying    { /* AIX XL C 1.02.0.0 rejects this saying
6407       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */         "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6408    struct s { int j; const int *ap[3]; };      struct s { int j; const int *ap[3]; };
6409    struct s *b; b->j = 5;      struct s *b; b->j = 5;
6410  }    }
6411  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */    { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6412    const int foo = 10;      const int foo = 10;
6413  }    }
6414    #endif
6415  ; return 0; }  
6416  EOF    ;
6417  if { (eval echo configure:8498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    return 0;
6418    rm -rf conftest*  }
6419    _ACEOF
6420    rm -f conftest.$ac_objext
6421    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6422      (eval $ac_compile) 2>&5
6423      ac_status=$?
6424      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6425      (exit $ac_status); } &&
6426             { ac_try='test -s conftest.$ac_objext'
6427      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6428      (eval $ac_try) 2>&5
6429      ac_status=$?
6430      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6431      (exit $ac_status); }; }; then
6432    ac_cv_c_const=yes    ac_cv_c_const=yes
6433  else  else
6434    echo "configure: failed program was:" >&5    echo "$as_me: failed program was:" >&5
6435    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
6436    rm -rf conftest*  
6437    ac_cv_c_const=no  ac_cv_c_const=no
6438  fi  fi
6439  rm -f conftest*  rm -f conftest.$ac_objext conftest.$ac_ext
6440  fi  fi
6441    echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6442  echo "$ac_t""$ac_cv_c_const" 1>&6  echo "${ECHO_T}$ac_cv_c_const" >&6
6443  if test $ac_cv_c_const = no; then  if test $ac_cv_c_const = no; then
6444    cat >> confdefs.h <<\EOF  
6445  #define const  cat >>confdefs.h <<\_ACEOF
6446  EOF  #define const
6447    _ACEOF
6448    
6449  fi  fi
6450    
6451  echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6452  echo "configure:8519: checking whether struct tm is in sys/time.h or time.h" >&5  echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
6453  if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then  if test "${ac_cv_struct_tm+set}" = set; then
6454    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6455  else  else
6456    cat > conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<_ACEOF
6457  #line 8524 "configure"  #line $LINENO "configure"
6458  #include "confdefs.h"  /* confdefs.h.  */
6459    _ACEOF
6460    cat confdefs.h >>conftest.$ac_ext
6461    cat >>conftest.$ac_ext <<_ACEOF
6462    /* end confdefs.h.  */
6463  #include <sys/types.h>  #include <sys/types.h>
6464  #include <time.h>  #include <time.h>
6465  int main() {  
6466    int
6467    main ()
6468    {
6469  struct tm *tp; tp->tm_sec;  struct tm *tp; tp->tm_sec;
6470  ; return 0; }    ;
6471  EOF    return 0;
6472  if { (eval echo configure:8532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  }
6473    rm -rf conftest*  _ACEOF
6474    rm -f conftest.$ac_objext
6475    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6476      (eval $ac_compile) 2>&5
6477      ac_status=$?
6478      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6479      (exit $ac_status); } &&
6480             { ac_try='test -s conftest.$ac_objext'
6481      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6482      (eval $ac_try) 2>&5
6483      ac_status=$?
6484      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6485      (exit $ac_status); }; }; then
6486    ac_cv_struct_tm=time.h    ac_cv_struct_tm=time.h
6487  else  else
6488    echo "configure: failed program was:" >&5    echo "$as_me: failed program was:" >&5
6489    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
6490    rm -rf conftest*  
6491    ac_cv_struct_tm=sys/time.h  ac_cv_struct_tm=sys/time.h
6492  fi  fi
6493  rm -f conftest*  rm -f conftest.$ac_objext conftest.$ac_ext
6494  fi  fi
6495    echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6496  echo "$ac_t""$ac_cv_struct_tm" 1>&6  echo "${ECHO_T}$ac_cv_struct_tm" >&6
6497  if test $ac_cv_struct_tm = sys/time.h; then  if test $ac_cv_struct_tm = sys/time.h; then
6498    cat >> confdefs.h <<\EOF  
6499    cat >>confdefs.h <<\_ACEOF
6500  #define TM_IN_SYS_TIME 1  #define TM_IN_SYS_TIME 1
6501  EOF  _ACEOF
6502    
6503  fi  fi
6504    
6505  echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
6506  echo "configure:8553: checking for uid_t in sys/types.h" >&5  echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
6507  if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then  if test "${ac_cv_type_uid_t+set}" = set; then
6508    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6509  else  else
6510    cat > conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<_ACEOF
6511  #line 8558 "configure"  #line $LINENO "configure"
6512  #include "confdefs.h"  /* confdefs.h.  */
6513    _ACEOF
6514    cat confdefs.h >>conftest.$ac_ext
6515    cat >>conftest.$ac_ext <<_ACEOF
6516    /* end confdefs.h.  */
6517  #include <sys/types.h>  #include <sys/types.h>
6518  EOF  
6519    _ACEOF
6520  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6521    egrep "uid_t" >/dev/null 2>&1; then    $EGREP "uid_t" >/dev/null 2>&1; then
   rm -rf conftest*  
6522    ac_cv_type_uid_t=yes    ac_cv_type_uid_t=yes
6523  else  else
   rm -rf conftest*  
6524    ac_cv_type_uid_t=no    ac_cv_type_uid_t=no
6525  fi  fi
6526  rm -f conftest*  rm -f conftest*
6527    
6528  fi  fi
6529    echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
6530  echo "$ac_t""$ac_cv_type_uid_t" 1>&6  echo "${ECHO_T}$ac_cv_type_uid_t" >&6
6531  if test $ac_cv_type_uid_t = no; then  if test $ac_cv_type_uid_t = no; then
6532    cat >> confdefs.h <<\EOF  
6533    cat >>confdefs.h <<\_ACEOF
6534  #define uid_t int  #define uid_t int
6535  EOF  _ACEOF
6536    
6537    
6538    cat >> confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
6539  #define gid_t int  #define gid_t int
6540  EOF  _ACEOF
6541    
6542  fi  fi
6543    
6544    
6545  echo $ac_n "checking for working fnmatch""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for working POSIX fnmatch" >&5
6546  echo "configure:8588: checking for working fnmatch" >&5  echo $ECHO_N "checking for working POSIX fnmatch... $ECHO_C" >&6
6547  if eval "test \"`echo '$''{'ac_cv_func_fnmatch_works'+set}'`\" = set"; then  if test "${ac_cv_func_fnmatch_works+set}" = set; then
6548    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6549  else  else
6550    # Some versions of Solaris or SCO have a broken fnmatch function.    # Some versions of Solaris, SCO, and the GNU C Library
6551  # So we run a test program.  If we are cross-compiling, take no chance.     # have a broken or incompatible fnmatch.
6552  # Thanks to John Oleynick and Franc,ois Pinard for this test.     # So we run a test program.  If we are cross-compiling, take no chance.
6553  if test "$cross_compiling" = yes; then     # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test.
6554    ac_cv_func_fnmatch_works=no     if test "$cross_compiling" = yes; then
6555  else    ac_cv_func_fnmatch_works=cross
6556    cat > conftest.$ac_ext <<EOF  else
6557  #line 8599 "configure"    cat >conftest.$ac_ext <<_ACEOF
6558  #include "confdefs.h"  #line $LINENO "configure"
6559  main() { exit (fnmatch ("a*", "abc", 0) != 0); }  /* confdefs.h.  */
6560  EOF  _ACEOF
6561  if { (eval echo configure:8603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  cat confdefs.h >>conftest.$ac_ext
6562  then  cat >>conftest.$ac_ext <<_ACEOF
6563    /* end confdefs.h.  */
6564    #include <fnmatch.h>
6565    #          define y(a, b, c) (fnmatch (a, b, c) == 0)
6566    #          define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH)
6567    
6568    int
6569    main ()
6570    {
6571    exit
6572               (!(y ("a*", "abc", 0)
6573                  && n ("d*/*1", "d/s/1", FNM_PATHNAME)
6574                  && y ("a\\\\bc", "abc", 0)
6575                  && n ("a\\\\bc", "abc", FNM_NOESCAPE)
6576                  && y ("*x", ".x", 0)
6577                  && n ("*x", ".x", FNM_PERIOD)
6578                  && 1));
6579      ;
6580      return 0;
6581    }
6582    _ACEOF
6583    rm -f conftest$ac_exeext
6584    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6585      (eval $ac_link) 2>&5
6586      ac_status=$?
6587      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6588      (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6589      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6590      (eval $ac_try) 2>&5
6591      ac_status=$?
6592      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6593      (exit $ac_status); }; }; then
6594    ac_cv_func_fnmatch_works=yes    ac_cv_func_fnmatch_works=yes
6595  else  else
6596    echo "configure: failed program was:" >&5    echo "$as_me: program exited with status $ac_status" >&5
6597    cat conftest.$ac_ext >&5  echo "$as_me: failed program was:" >&5
6598    rm -fr conftest*  sed 's/^/| /' conftest.$ac_ext >&5
6599    ac_cv_func_fnmatch_works=no  
6600    ( exit $ac_status )
6601    ac_cv_func_fnmatch_works=no
6602  fi  fi
6603  rm -fr conftest*  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6604  fi  fi
   
6605  fi  fi
6606    echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch_works" >&5
6607  echo "$ac_t""$ac_cv_func_fnmatch_works" 1>&6  echo "${ECHO_T}$ac_cv_func_fnmatch_works" >&6
6608  if test $ac_cv_func_fnmatch_works = yes; then  if test $ac_cv_func_fnmatch_works = yes; then
6609    cat >> confdefs.h <<\EOF  
6610    cat >>confdefs.h <<\_ACEOF
6611  #define HAVE_FNMATCH 1  #define HAVE_FNMATCH 1
6612  EOF  _ACEOF
6613    
6614  fi  fi
6615    
6616  if test $ac_cv_prog_gcc = yes; then  
6617      echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6  
6618  echo "configure:8627: checking whether ${CC-cc} needs -traditional" >&5  if test $ac_cv_c_compiler_gnu = yes; then
6619  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then      echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
6620    echo $ac_n "(cached) $ac_c" 1>&6  echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
6621    if test "${ac_cv_prog_gcc_traditional+set}" = set; then
6622      echo $ECHO_N "(cached) $ECHO_C" >&6
6623  else  else
6624      ac_pattern="Autoconf.*'x'"      ac_pattern="Autoconf.*'x'"
6625    cat > conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<_ACEOF
6626  #line 8633 "configure"  #line $LINENO "configure"
6627  #include "confdefs.h"  /* confdefs.h.  */
6628    _ACEOF
6629    cat confdefs.h >>conftest.$ac_ext
6630    cat >>conftest.$ac_ext <<_ACEOF
6631    /* end confdefs.h.  */
6632  #include <sgtty.h>  #include <sgtty.h>
6633  Autoconf TIOCGETP  Autoconf TIOCGETP
6634  EOF  _ACEOF
6635  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6636    egrep "$ac_pattern" >/dev/null 2>&1; then    $EGREP "$ac_pattern" >/dev/null 2>&1; then
   rm -rf conftest*  
6637    ac_cv_prog_gcc_traditional=yes    ac_cv_prog_gcc_traditional=yes
6638  else  else
   rm -rf conftest*  
6639    ac_cv_prog_gcc_traditional=no    ac_cv_prog_gcc_traditional=no
6640  fi  fi
6641  rm -f conftest*  rm -f conftest*
6642    
6643    
6644    if test $ac_cv_prog_gcc_traditional = no; then    if test $ac_cv_prog_gcc_traditional = no; then
6645      cat > conftest.$ac_ext <<EOF      cat >conftest.$ac_ext <<_ACEOF
6646  #line 8651 "configure"  #line $LINENO "configure"
6647  #include "confdefs.h"  /* confdefs.h.  */
6648    _ACEOF
6649    cat confdefs.h >>conftest.$ac_ext
6650    cat >>conftest.$ac_ext <<_ACEOF
6651    /* end confdefs.h.  */
6652  #include <termio.h>  #include <termio.h>
6653  Autoconf TCGETA  Autoconf TCGETA
6654  EOF  _ACEOF
6655  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6656    egrep "$ac_pattern" >/dev/null 2>&1; then    $EGREP "$ac_pattern" >/dev/null 2>&1; then
   rm -rf conftest*  
6657    ac_cv_prog_gcc_traditional=yes    ac_cv_prog_gcc_traditional=yes
6658  fi  fi
6659  rm -f conftest*  rm -f conftest*
6660    
6661    fi    fi
6662  fi  fi
6663    echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
6664  echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6  echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
6665    if test $ac_cv_prog_gcc_traditional = yes; then    if test $ac_cv_prog_gcc_traditional = yes; then
6666      CC="$CC -traditional"      CC="$CC -traditional"
6667    fi    fi
6668  fi  fi
6669    
6670  echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6671  echo "configure:8673: checking return type of signal handlers" >&5  echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
6672  if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then  if test "${ac_cv_type_signal+set}" = set; then
6673    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6674  else  else
6675    cat > conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<_ACEOF
6676  #line 8678 "configure"  #line $LINENO "configure"
6677  #include "confdefs.h"  /* confdefs.h.  */
6678    _ACEOF
6679    cat confdefs.h >>conftest.$ac_ext
6680    cat >>conftest.$ac_ext <<_ACEOF
6681    /* end confdefs.h.  */
6682  #include <sys/types.h>  #include <sys/types.h>
6683  #include <signal.h>  #include <signal.h>
6684  #ifdef signal  #ifdef signal
6685  #undef signal  # undef signal
6686  #endif  #endif
6687  #ifdef __cplusplus  #ifdef __cplusplus
6688  extern "C" void (*signal (int, void (*)(int)))(int);  extern "C" void (*signal (int, void (*)(int)))(int);
# Line 8687  extern "C" void (*signal (int, void (*)( Line 6690  extern "C" void (*signal (int, void (*)(
6690  void (*signal ()) ();  void (*signal ()) ();
6691  #endif  #endif
6692    
6693  int main() {  int
6694    main ()
6695    {
6696  int i;  int i;
6697  ; return 0; }    ;
6698  EOF    return 0;
6699  if { (eval echo configure:8695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  }
6700    rm -rf conftest*  _ACEOF
6701    rm -f conftest.$ac_objext
6702    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6703      (eval $ac_compile) 2>&5
6704      ac_status=$?
6705      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6706      (exit $ac_status); } &&
6707             { ac_try='test -s conftest.$ac_objext'
6708      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6709      (eval $ac_try) 2>&5
6710      ac_status=$?
6711      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6712      (exit $ac_status); }; }; then
6713    ac_cv_type_signal=void    ac_cv_type_signal=void
6714  else  else
6715    echo "configure: failed program was:" >&5    echo "$as_me: failed program was:" >&5
6716    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
6717    rm -rf conftest*  
6718    ac_cv_type_signal=int  ac_cv_type_signal=int
6719  fi  fi
6720  rm -f conftest*  rm -f conftest.$ac_objext conftest.$ac_ext
6721  fi  fi
6722    echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6723    echo "${ECHO_T}$ac_cv_type_signal" >&6
6724    
6725  echo "$ac_t""$ac_cv_type_signal" 1>&6  cat >>confdefs.h <<_ACEOF
 cat >> confdefs.h <<EOF  
6726  #define RETSIGTYPE $ac_cv_type_signal  #define RETSIGTYPE $ac_cv_type_signal
6727  EOF  _ACEOF
6728    
6729    
6730    
6731    
6732    
6733    
6734  for ac_func in mkdir strerror getfsent getmntent  for ac_func in mkdir strerror getfsent getmntent
6735  do  do
6736  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6737  echo "configure:8716: checking for $ac_func" >&5  echo "$as_me:$LINENO: checking for $ac_func" >&5
6738  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6739    echo $ac_n "(cached) $ac_c" 1>&6  if eval "test \"\${$as_ac_var+set}\" = set"; then
6740  else    echo $ECHO_N "(cached) $ECHO_C" >&6
6741    cat > conftest.$ac_ext <<EOF  else
6742  #line 8721 "configure"    cat >conftest.$ac_ext <<_ACEOF
6743  #include "confdefs.h"  #line $LINENO "configure"
6744    /* confdefs.h.  */
6745    _ACEOF
6746    cat confdefs.h >>conftest.$ac_ext
6747    cat >>conftest.$ac_ext <<_ACEOF
6748    /* end confdefs.h.  */
6749  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6750      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func (); below.
6751  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6752        <limits.h> exists even on freestanding compilers.  */
6753    #ifdef __STDC__
6754    # include <limits.h>
6755    #else
6756    # include <assert.h>
6757    #endif
6758  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
6759    #ifdef __cplusplus
6760    extern "C"
6761    {
6762    #endif
6763  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
6764      builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
6765  char $ac_func();  char $ac_func ();
   
 int main() {  
   
6766  /* The GNU C library defines this for functions which it implements  /* The GNU C library defines this for functions which it implements
6767      to always fail with ENOSYS.  Some functions are actually named      to always fail with ENOSYS.  Some functions are actually named
6768      something starting with __ and the normal name is an alias.  */      something starting with __ and the normal name is an alias.  */
6769  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6770  choke me  choke me
6771  #else  #else
6772  $ac_func();  char (*f) () = $ac_func;
6773    #endif
6774    #ifdef __cplusplus
6775    }
6776  #endif  #endif
6777    
6778  ; return 0; }  int
6779  EOF  main ()
6780  if { (eval echo configure:8744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  {
6781    rm -rf conftest*  return f != $ac_func;
6782    eval "ac_cv_func_$ac_func=yes"    ;
6783  else    return 0;
6784    echo "configure: failed program was:" >&5  }
6785    cat conftest.$ac_ext >&5  _ACEOF
6786    rm -rf conftest*  rm -f conftest.$ac_objext conftest$ac_exeext
6787    eval "ac_cv_func_$ac_func=no"  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6788  fi    (eval $ac_link) 2>&5
6789  rm -f conftest*    ac_status=$?
6790  fi    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6791      (exit $ac_status); } &&
6792             { ac_try='test -s conftest$ac_exeext'
6793      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6794      (eval $ac_try) 2>&5
6795      ac_status=$?
6796      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6797      (exit $ac_status); }; }; then
6798      eval "$as_ac_var=yes"
6799    else
6800      echo "$as_me: failed program was:" >&5
6801    sed 's/^/| /' conftest.$ac_ext >&5
6802    
6803    eval "$as_ac_var=no"
6804    fi
6805    rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6806    fi
6807    echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6808    echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6809    if test `eval echo '${'$as_ac_var'}'` = yes; then
6810      cat >>confdefs.h <<_ACEOF
6811    #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6812    _ACEOF
6813    
 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_func 1  
 EOF  
   
 else  
   echo "$ac_t""no" 1>&6  
6814  fi  fi
6815  done  done
6816    
6817    
6818    GNOME_COMPILE_WARNINGS
   # Check whether --enable-compile-warnings or --disable-compile-warnings was given.  
 if test "${enable_compile_warnings+set}" = set; then  
   enableval="$enable_compile_warnings"  
   :  
 else  
   enable_compile_warnings=minimum  
 fi  
   
   
   echo $ac_n "checking what warning flags to pass to the C compiler""... $ac_c" 1>&6  
 echo "configure:8780: checking what warning flags to pass to the C compiler" >&5  
   warnCFLAGS=  
   if test "x$GCC" != xyes; then  
     enable_compile_warnings=no  
   fi  
   
   if test "x$enable_compile_warnings" != "xno"; then  
     if test "x$GCC" = "xyes"; then  
       case " $CFLAGS " in  
       *\ \      -Wall\ \        *) ;;  
       *) warnCFLAGS="-Wall -Wunused" ;;  
       esac  
   
       ## -W is not all that useful.  And it cannot be controlled  
       ## with individual -Wno-xxx flags, unlike -Wall  
       if test "x$enable_compile_warnings" = "xyes"; then  
         warnCFLAGS="$warnCFLAGS -Wmissing-prototypes -Wmissing-declarations"  
       fi  
     fi  
   fi  
   echo "$ac_t""$warnCFLAGS" 1>&6  
   
   # Check whether --enable-iso-c or --disable-iso-c was given.  
 if test "${enable_iso_c+set}" = set; then  
   enableval="$enable_iso_c"  
   :  
 else  
   enable_iso_c=no  
 fi  
   
   
   echo $ac_n "checking what language compliance flags to pass to the C compiler""... $ac_c" 1>&6  
 echo "configure:8812: checking what language compliance flags to pass to the C compiler" >&5  
   complCFLAGS=  
   if test "x$enable_iso_c" != "xno"; then  
     if test "x$GCC" = "xyes"; then  
       case " $CFLAGS " in  
       *\ \      -ansi\ \        *) ;;  
       *) complCFLAGS="$complCFLAGS -ansi" ;;  
       esac  
   
       case " $CFLAGS " in  
       *\ \      -pedantic\ \    *) ;;  
       *) complCFLAGS="$complCFLAGS -pedantic" ;;  
       esac  
     fi  
   fi  
   echo "$ac_t""$complCFLAGS" 1>&6  
   if test "x$cflags_set" != "xyes"; then  
     CFLAGS="$CFLAGS $warnCFLAGS $complCFLAGS"  
     cflags_set=yes  
       
   fi  
   
6819    
6820    
6821  # Check whether --enable-gnome20 or --disable-gnome20 was given.  # Check whether --enable-gnome20 or --disable-gnome20 was given.
# Line 8840  if test "${enable_gnome20+set}" = set; t Line 6826  if test "${enable_gnome20+set}" = set; t
6826                  ;;                  ;;
6827                no)          USE_GNOME=14                no)          USE_GNOME=14
6828                  ;;                  ;;
6829                *)           { echo "configure: error: bad value ${enableval} for --gnome-2.0" 1>&2; exit 1; } ;;                *)           { { echo "$as_me:$LINENO: error: bad value ${enableval} for --gnome-2.0" >&5
6830    echo "$as_me: error: bad value ${enableval} for --gnome-2.0" >&2;}
6831       { (exit 1); exit 1; }; } ;;
6832            esac            esac
6833  fi  fi;
   
6834    
6835  if test "x$USE_GNOME" = "x20"  if test "x$USE_GNOME" = "x20"
6836  then  then
6837  EXTRA_GNOME_CFLAGS=`pkg-config --cflags libgnome-2.0 libgnomeui-2.0 gnome-vfs-module-2.0 libbonobo-2.0`  EXTRA_GNOME_CFLAGS=`pkg-config --cflags libgnome-2.0 libgnomeui-2.0 gnome-vfs-module-2.0 libbonobo-2.0`
6838  EXTRA_GNOME_LIBS=`pkg-config --libs libgnome-2.0 libgnomeui-2.0 gnome-vfs-module-2.0 libbonobo-2.0`  EXTRA_GNOME_LIBS=`pkg-config --libs libgnome-2.0 libgnomeui-2.0 gnome-vfs-module-2.0 libbonobo-2.0`
6839  else  else
6840  cat >> confdefs.h <<\EOF  
6841  #define GNOME1 1  cat >>confdefs.h <<_ACEOF
6842  EOF  #define GNOME1 "1"
6843    _ACEOF
6844    
6845  EXTRA_GNOME_CFLAGS=`gnome-config --cflags gnome gnomeui glib gtk`  EXTRA_GNOME_CFLAGS=`gnome-config --cflags gnome gnomeui glib gtk`
6846  EXTRA_GNOME_LIBS=`gnome-config --libs gnome gnomeui glib gtk`  EXTRA_GNOME_LIBS=`gnome-config --libs gnome gnomeui glib gtk`
# Line 8864  fi Line 6852  fi
6852    
6853     # Extract the first word of "mount", so it can be a program name with args.     # Extract the first word of "mount", so it can be a program name with args.
6854  set dummy mount; ac_word=$2  set dummy mount; ac_word=$2
6855  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
6856  echo "configure:8869: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6857  if eval "test \"`echo '$''{'ac_cv_path_MOUNT_PROG'+set}'`\" = set"; then  if test "${ac_cv_path_MOUNT_PROG+set}" = set; then
6858    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6859  else  else
6860    case "$MOUNT_PROG" in    case $MOUNT_PROG in
6861    /*)    [\\/]* | ?:[\\/]*)
6862    ac_cv_path_MOUNT_PROG="$MOUNT_PROG" # Let the user override the test with a path.    ac_cv_path_MOUNT_PROG="$MOUNT_PROG" # Let the user override the test with a path.
6863    ;;    ;;
   ?:/*)                    
   ac_cv_path_MOUNT_PROG="$MOUNT_PROG" # Let the user override the test with a dos path.  
   ;;  
6864    *)    *)
6865    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6866    ac_dummy="$PATH"  for as_dir in $PATH
6867    for ac_dir in $ac_dummy; do  do
6868      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
6869      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
6870        ac_cv_path_MOUNT_PROG="$ac_dir/$ac_word"    for ac_exec_ext in '' $ac_executable_extensions; do
6871        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6872      fi      ac_cv_path_MOUNT_PROG="$as_dir/$ac_word$ac_exec_ext"
6873    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6874    IFS="$ac_save_ifs"      break 2
6875      fi
6876    done
6877    done
6878    
6879    ;;    ;;
6880  esac  esac
6881  fi  fi
6882  MOUNT_PROG="$ac_cv_path_MOUNT_PROG"  MOUNT_PROG=$ac_cv_path_MOUNT_PROG
6883    
6884  if test -n "$MOUNT_PROG"; then  if test -n "$MOUNT_PROG"; then
6885    echo "$ac_t""$MOUNT_PROG" 1>&6    echo "$as_me:$LINENO: result: $MOUNT_PROG" >&5
6886    echo "${ECHO_T}$MOUNT_PROG" >&6
6887  else  else
6888    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
6889    echo "${ECHO_T}no" >&6
6890  fi  fi
6891    
6892      
6893    
6894     # Extract the first word of "umount", so it can be a program name with args.     # Extract the first word of "umount", so it can be a program name with args.
6895  set dummy umount; ac_word=$2  set dummy umount; ac_word=$2
6896  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
6897  echo "configure:8906: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6898  if eval "test \"`echo '$''{'ac_cv_path_UMOUNT_PROG'+set}'`\" = set"; then  if test "${ac_cv_path_UMOUNT_PROG+set}" = set; then
6899    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6900  else  else
6901    case "$UMOUNT_PROG" in    case $UMOUNT_PROG in
6902    /*)    [\\/]* | ?:[\\/]*)
6903    ac_cv_path_UMOUNT_PROG="$UMOUNT_PROG" # Let the user override the test with a path.    ac_cv_path_UMOUNT_PROG="$UMOUNT_PROG" # Let the user override the test with a path.
6904    ;;    ;;
   ?:/*)                    
   ac_cv_path_UMOUNT_PROG="$UMOUNT_PROG" # Let the user override the test with a dos path.  
   ;;  
6905    *)    *)
6906    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6907    ac_dummy="$PATH"  for as_dir in $PATH
6908    for ac_dir in $ac_dummy; do  do
6909      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
6910      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
6911        ac_cv_path_UMOUNT_PROG="$ac_dir/$ac_word"    for ac_exec_ext in '' $ac_executable_extensions; do
6912        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6913      fi      ac_cv_path_UMOUNT_PROG="$as_dir/$ac_word$ac_exec_ext"
6914    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6915    IFS="$ac_save_ifs"      break 2
6916      fi
6917    done
6918    done
6919    
6920    ;;    ;;
6921  esac  esac
6922  fi  fi
6923  UMOUNT_PROG="$ac_cv_path_UMOUNT_PROG"  UMOUNT_PROG=$ac_cv_path_UMOUNT_PROG
6924    
6925  if test -n "$UMOUNT_PROG"; then  if test -n "$UMOUNT_PROG"; then
6926    echo "$ac_t""$UMOUNT_PROG" 1>&6    echo "$as_me:$LINENO: result: $UMOUNT_PROG" >&5
6927    echo "${ECHO_T}$UMOUNT_PROG" >&6
6928  else  else
6929    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
6930    echo "${ECHO_T}no" >&6
6931  fi  fi
6932    
6933      
6934    
6935     OPTION_EJECT=True     OPTION_EJECT=True
6936     # Check whether --enable-eject or --disable-eject was given.     # Check whether --enable-eject or --disable-eject was given.
# Line 8943  if test "${enable_eject+set}" = set; the Line 6939  if test "${enable_eject+set}" = set; the
6939    W_EJECT=yes    W_EJECT=yes
6940  else  else
6941    W_EJECT=no    W_EJECT=no
6942  fi  fi;
   
6943     if test "x$W_EJECT" = "xyes" ;     if test "x$W_EJECT" = "xyes" ;
6944     then     then
6945          cat >> confdefs.h <<\EOF  
6946    cat >>confdefs.h <<_ACEOF
6947  #define EJECT eject  #define EJECT eject
6948  EOF  _ACEOF
6949    
6950          EJECT=eject          EJECT=eject
6951          EJECT_PROG=$bindir/eject          EJECT_PROG=$bindir/eject
6952     else     else
6953          cat >> confdefs.h <<\EOF  
6954    cat >>confdefs.h <<_ACEOF
6955  #define EJECT ""  #define EJECT ""
6956  EOF  _ACEOF
6957    
6958          EJECT=          EJECT=
6959          # Extract the first word of "eject", so it can be a program name with args.          # Extract the first word of "eject", so it can be a program name with args.
6960  set dummy eject; ac_word=$2  set dummy eject; ac_word=$2
6961  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
6962  echo "configure:8966: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6963  if eval "test \"`echo '$''{'ac_cv_path_EJECT_PROG'+set}'`\" = set"; then  if test "${ac_cv_path_EJECT_PROG+set}" = set; then
6964    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6965  else  else
6966    case "$EJECT_PROG" in    case $EJECT_PROG in
6967    /*)    [\\/]* | ?:[\\/]*)
6968    ac_cv_path_EJECT_PROG="$EJECT_PROG" # Let the user override the test with a path.    ac_cv_path_EJECT_PROG="$EJECT_PROG" # Let the user override the test with a path.
6969    ;;    ;;
   ?:/*)                    
   ac_cv_path_EJECT_PROG="$EJECT_PROG" # Let the user override the test with a dos path.  
   ;;  
6970    *)    *)
6971    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6972    ac_dummy="$PATH"  for as_dir in $PATH
6973    for ac_dir in $ac_dummy; do  do
6974      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
6975      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
6976        ac_cv_path_EJECT_PROG="$ac_dir/$ac_word"    for ac_exec_ext in '' $ac_executable_extensions; do
6977        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6978      fi      ac_cv_path_EJECT_PROG="$as_dir/$ac_word$ac_exec_ext"
6979    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6980    IFS="$ac_save_ifs"      break 2
6981      fi
6982    done
6983    done
6984    
6985    ;;    ;;
6986  esac  esac
6987  fi  fi
6988  EJECT_PROG="$ac_cv_path_EJECT_PROG"  EJECT_PROG=$ac_cv_path_EJECT_PROG
6989    
6990  if test -n "$EJECT_PROG"; then  if test -n "$EJECT_PROG"; then
6991    echo "$ac_t""$EJECT_PROG" 1>&6    echo "$as_me:$LINENO: result: $EJECT_PROG" >&5
6992    echo "${ECHO_T}$EJECT_PROG" >&6
6993  else  else
6994    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
6995    echo "${ECHO_T}no" >&6
6996  fi  fi
6997    
6998          if test "x$EJECT_PROG" = "x" ;          if test "x$EJECT_PROG" = "x" ;
# Line 8999  fi Line 7000  fi
7000             OPTION_EJECT=False             OPTION_EJECT=False
7001          fi          fi
7002     fi     fi
7003      
7004      
7005      
7006    
7007     PLUGIN_HTMLTITLE=htmltitle     PLUGIN_HTMLTITLE=htmltitle
7008     PLUGIN_MP3INFO=mp3info     PLUGIN_MP3INFO=mp3info
# Line 9009  fi Line 7010  fi
7010     PLUGIN_MODINFO=modinfo     PLUGIN_MODINFO=modinfo
7011     PLUGIN_AVIINFO=aviinfo     PLUGIN_AVIINFO=aviinfo
7012     PLUGIN_MPGTX=mpgtx     PLUGIN_MPGTX=mpgtx
7013     PLUGIN_TCPROBE=tcprobe           PLUGIN_TCPROBE=tcprobe
7014    
7015     # Extract the first word of "plaympeg", so it can be a program name with args.     # Extract the first word of "plaympeg", so it can be a program name with args.
7016  set dummy plaympeg; ac_word=$2  set dummy plaympeg; ac_word=$2
7017  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
7018  echo "configure:9018: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7019  if eval "test \"`echo '$''{'ac_cv_path_PLAYMPEG_PROG'+set}'`\" = set"; then  if test "${ac_cv_path_PLAYMPEG_PROG+set}" = set; then
7020    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7021  else  else
7022    case "$PLAYMPEG_PROG" in    case $PLAYMPEG_PROG in
7023    /*)    [\\/]* | ?:[\\/]*)
7024    ac_cv_path_PLAYMPEG_PROG="$PLAYMPEG_PROG" # Let the user override the test with a path.    ac_cv_path_PLAYMPEG_PROG="$PLAYMPEG_PROG" # Let the user override the test with a path.
7025    ;;    ;;
   ?:/*)                    
   ac_cv_path_PLAYMPEG_PROG="$PLAYMPEG_PROG" # Let the user override the test with a dos path.  
   ;;  
7026    *)    *)
7027    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7028    ac_dummy="$PATH"  for as_dir in $PATH
7029    for ac_dir in $ac_dummy; do  do
7030      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
7031      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
7032        ac_cv_path_PLAYMPEG_PROG="$ac_dir/$ac_word"    for ac_exec_ext in '' $ac_executable_extensions; do
7033        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7034      fi      ac_cv_path_PLAYMPEG_PROG="$as_dir/$ac_word$ac_exec_ext"
7035    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7036    IFS="$ac_save_ifs"      break 2
7037      fi
7038    done
7039    done
7040    
7041    ;;    ;;
7042  esac  esac
7043  fi  fi
7044  PLAYMPEG_PROG="$ac_cv_path_PLAYMPEG_PROG"  PLAYMPEG_PROG=$ac_cv_path_PLAYMPEG_PROG
7045    
7046  if test -n "$PLAYMPEG_PROG"; then  if test -n "$PLAYMPEG_PROG"; then
7047    echo "$ac_t""$PLAYMPEG_PROG" 1>&6    echo "$as_me:$LINENO: result: $PLAYMPEG_PROG" >&5
7048    echo "${ECHO_T}$PLAYMPEG_PROG" >&6
7049  else  else
7050    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
7051    echo "${ECHO_T}no" >&6
7052  fi  fi
7053    
7054      
7055     if test "x$PLAYMPEG_PROG" = "x";     if test "x$PLAYMPEG_PROG" = "x";
7056     then     then
7057          PLUGIN_MPEGINFO=          PLUGIN_MPEGINFO=
# Line 9056  fi Line 7061  fi
7061    
7062     # Extract the first word of "mpgtx", so it can be a program name with args.     # Extract the first word of "mpgtx", so it can be a program name with args.
7063  set dummy mpgtx; ac_word=$2  set dummy mpgtx; ac_word=$2
7064  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
7065  echo "configure:9061: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7066  if eval "test \"`echo '$''{'ac_cv_path_MPGTX_PROG'+set}'`\" = set"; then  if test "${ac_cv_path_MPGTX_PROG+set}" = set; then
7067    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7068  else  else
7069    case "$MPGTX_PROG" in    case $MPGTX_PROG in
7070    /*)    [\\/]* | ?:[\\/]*)
7071    ac_cv_path_MPGTX_PROG="$MPGTX_PROG" # Let the user override the test with a path.    ac_cv_path_MPGTX_PROG="$MPGTX_PROG" # Let the user override the test with a path.
7072    ;;    ;;
   ?:/*)                    
   ac_cv_path_MPGTX_PROG="$MPGTX_PROG" # Let the user override the test with a dos path.  
   ;;  
7073    *)    *)
7074    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7075    ac_dummy="$PATH"  for as_dir in $PATH
7076    for ac_dir in $ac_dummy; do  do
7077      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
7078      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
7079        ac_cv_path_MPGTX_PROG="$ac_dir/$ac_word"    for ac_exec_ext in '' $ac_executable_extensions; do
7080        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7081      fi      ac_cv_path_MPGTX_PROG="$as_dir/$ac_word$ac_exec_ext"
7082    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7083    IFS="$ac_save_ifs"      break 2
7084      fi
7085    done
7086    done
7087    
7088    ;;    ;;
7089  esac  esac
7090  fi  fi
7091  MPGTX_PROG="$ac_cv_path_MPGTX_PROG"  MPGTX_PROG=$ac_cv_path_MPGTX_PROG
7092    
7093  if test -n "$MPGTX_PROG"; then  if test -n "$MPGTX_PROG"; then
7094    echo "$ac_t""$MPGTX_PROG" 1>&6    echo "$as_me:$LINENO: result: $MPGTX_PROG" >&5
7095    echo "${ECHO_T}$MPGTX_PROG" >&6
7096  else  else
7097    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
7098    echo "${ECHO_T}no" >&6
7099  fi  fi
7100    
7101      
7102     if test "x$MPGTX_PROG" = "x";     if test "x$MPGTX_PROG" = "x";
7103     then     then
7104          PLUGIN_MPGTX=          PLUGIN_MPGTX=
# Line 9100  fi Line 7109  fi
7109    
7110     # Extract the first word of "ogginfo", so it can be a program name with args.     # Extract the first word of "ogginfo", so it can be a program name with args.
7111  set dummy ogginfo; ac_word=$2  set dummy ogginfo; ac_word=$2
7112  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
7113  echo "configure:9105: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7114  if eval "test \"`echo '$''{'ac_cv_path_OGGINFO_PROG'+set}'`\" = set"; then  if test "${ac_cv_path_OGGINFO_PROG+set}" = set; then
7115    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7116  else  else
7117    case "$OGGINFO_PROG" in    case $OGGINFO_PROG in
7118    /*)    [\\/]* | ?:[\\/]*)
7119    ac_cv_path_OGGINFO_PROG="$OGGINFO_PROG" # Let the user override the test with a path.    ac_cv_path_OGGINFO_PROG="$OGGINFO_PROG" # Let the user override the test with a path.
7120    ;;    ;;
   ?:/*)                    
   ac_cv_path_OGGINFO_PROG="$OGGINFO_PROG" # Let the user override the test with a dos path.  
   ;;  
7121    *)    *)
7122    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7123    ac_dummy="$PATH"  for as_dir in $PATH
7124    for ac_dir in $ac_dummy; do  do
7125      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
7126      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
7127        ac_cv_path_OGGINFO_PROG="$ac_dir/$ac_word"    for ac_exec_ext in '' $ac_executable_extensions; do
7128        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7129      fi      ac_cv_path_OGGINFO_PROG="$as_dir/$ac_word$ac_exec_ext"
7130    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7131    IFS="$ac_save_ifs"      break 2
7132      fi
7133    done
7134    done
7135    
7136    ;;    ;;
7137  esac  esac
7138  fi  fi
7139  OGGINFO_PROG="$ac_cv_path_OGGINFO_PROG"  OGGINFO_PROG=$ac_cv_path_OGGINFO_PROG
7140    
7141  if test -n "$OGGINFO_PROG"; then  if test -n "$OGGINFO_PROG"; then
7142    echo "$ac_t""$OGGINFO_PROG" 1>&6    echo "$as_me:$LINENO: result: $OGGINFO_PROG" >&5
7143    echo "${ECHO_T}$OGGINFO_PROG" >&6
7144  else  else
7145    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
7146    echo "${ECHO_T}no" >&6
7147  fi  fi
7148    
7149      
7150     if test "x$OGGINFO_PROG" = "x";     if test "x$OGGINFO_PROG" = "x";
7151     then     then
7152          PLUGIN_OGGINFO=          PLUGIN_OGGINFO=
# Line 9143  fi Line 7156  fi
7156    
7157    # Extract the first word of "tcprobe", so it can be a program name with args.    # Extract the first word of "tcprobe", so it can be a program name with args.
7158  set dummy tcprobe; ac_word=$2  set dummy tcprobe; ac_word=$2
7159  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
7160  echo "configure:9148: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7161  if eval "test \"`echo '$''{'ac_cv_path_TCPROBE_PROG'+set}'`\" = set"; then  if test "${ac_cv_path_TCPROBE_PROG+set}" = set; then
7162    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7163  else  else
7164    case "$TCPROBE_PROG" in    case $TCPROBE_PROG in
7165    /*)    [\\/]* | ?:[\\/]*)
7166    ac_cv_path_TCPROBE_PROG="$TCPROBE_PROG" # Let the user override the test with a path.    ac_cv_path_TCPROBE_PROG="$TCPROBE_PROG" # Let the user override the test with a path.
7167    ;;    ;;
   ?:/*)                    
   ac_cv_path_TCPROBE_PROG="$TCPROBE_PROG" # Let the user override the test with a dos path.  
   ;;  
7168    *)    *)
7169    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7170    ac_dummy="$PATH"  for as_dir in $PATH
7171    for ac_dir in $ac_dummy; do  do
7172      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
7173      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
7174        ac_cv_path_TCPROBE_PROG="$ac_dir/$ac_word"    for ac_exec_ext in '' $ac_executable_extensions; do
7175        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7176      fi      ac_cv_path_TCPROBE_PROG="$as_dir/$ac_word$ac_exec_ext"
7177    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7178    IFS="$ac_save_ifs"      break 2
7179      fi
7180    done
7181    done
7182    
7183    ;;    ;;
7184  esac  esac
7185  fi  fi
7186  TCPROBE_PROG="$ac_cv_path_TCPROBE_PROG"  TCPROBE_PROG=$ac_cv_path_TCPROBE_PROG
7187    
7188  if test -n "$TCPROBE_PROG"; then  if test -n "$TCPROBE_PROG"; then
7189    echo "$ac_t""$TCPROBE_PROG" 1>&6    echo "$as_me:$LINENO: result: $TCPROBE_PROG" >&5
7190    echo "${ECHO_T}$TCPROBE_PROG" >&6
7191  else  else
7192    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
7193    echo "${ECHO_T}no" >&6
7194  fi  fi
7195    
7196      
7197    if test "x$TCPROBE_PROG" = "x";    if test "x$TCPROBE_PROG" = "x";
7198    then    then
7199          PLUGIN_TCPROBE=          PLUGIN_TCPROBE=
7200    else    else
7201          PLUGIN_TCPROBE=tcprobe          PLUGIN_TCPROBE=tcprobe
7202          PLUGIN_AVIINFO=          PLUGIN_AVIINFO=
7203    fi      fi
7204    
7205     # Check whether --enable-plugins or --disable-plugins was given.     # Check whether --enable-plugins or --disable-plugins was given.
7206  if test "${enable_plugins+set}" = set; then  if test "${enable_plugins+set}" = set; then
# Line 9196  if test "${enable_plugins+set}" = set; t Line 7213  if test "${enable_plugins+set}" = set; t
7213                             PLUGIN_AVIINFO=aviinfo ;                             PLUGIN_AVIINFO=aviinfo ;
7214                             PLUGIN_MPEGINFO= ;                             PLUGIN_MPEGINFO= ;
7215                             PLUGIN_TCPROBE=tcprobe ;                             PLUGIN_TCPROBE=tcprobe ;
7216                             PLUGIN_MPGTX=mpgtx                             PLUGIN_MPGTX=mpgtx
7217                     ;;                     ;;
7218                   no)          PLUGIN_HTMLTITLE= ;                   no)          PLUGIN_HTMLTITLE= ;
7219                             PLUGIN_OGGINFO= ;                             PLUGIN_OGGINFO= ;
7220                             PLUGIN_MODINFO= ;                             PLUGIN_MODINFO= ;
7221                             PLUGIN_AVIINFO= ;                             PLUGIN_AVIINFO= ;
7222                             PLUGIN_MPGTX= ;                             PLUGIN_MPGTX= ;
7223                             PLUGIN_TCPROBE= ;                             PLUGIN_TCPROBE= ;
7224                             PLUGIN_MPEGINFO=                             PLUGIN_MPEGINFO=
7225                     ;;                     ;;
7226                   *)           { echo "configure: error: bad value ${enableval} for --enable-plugins" 1>&2; exit 1; } ;;                   *)           { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-plugins" >&5
7227    echo "$as_me: error: bad value ${enableval} for --enable-plugins" >&2;}
7228       { (exit 1); exit 1; }; } ;;
7229               esac               esac
7230  fi  fi;
   
7231    
7232     # Check whether --enable-htmltitle or --disable-htmltitle was given.     # Check whether --enable-htmltitle or --disable-htmltitle was given.
7233  if test "${enable_htmltitle+set}" = set; then  if test "${enable_htmltitle+set}" = set; then
# Line 9217  if test "${enable_htmltitle+set}" = set; Line 7235  if test "${enable_htmltitle+set}" = set;
7235    case "x${enableval}" in    case "x${enableval}" in
7236                   xyes)         PLUGIN_HTMLTITLE=htmltitle ;;                   xyes)         PLUGIN_HTMLTITLE=htmltitle ;;
7237                   xno)          PLUGIN_HTMLTITLE= ;;                   xno)          PLUGIN_HTMLTITLE= ;;
7238                   *)            { echo "configure: error: bad value ${enableval} for --enable-htmltitle" 1>&2; exit 1; } ;;                   *)            { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-htmltitle" >&5
7239    echo "$as_me: error: bad value ${enableval} for --enable-htmltitle" >&2;}
7240       { (exit 1); exit 1; }; } ;;
7241               esac               esac
7242  fi  fi;
7243    
7244    
     
7245     EXTENSION_HTMLTITLE="#";     EXTENSION_HTMLTITLE="#";
7246     if test "x$PLUGIN_HTMLTITLE" = "xhtmltitle";     if test "x$PLUGIN_HTMLTITLE" = "xhtmltitle";
7247     then     then
# Line 9230  fi Line 7249  fi
7249        PROG_PLUGIN_HTMLTITLE="$libdir/gtktalog/htmltitle"        PROG_PLUGIN_HTMLTITLE="$libdir/gtktalog/htmltitle"
7250        EXTENSION_HTMLTITLE="";        EXTENSION_HTMLTITLE="";
7251     fi     fi
7252      
7253      
7254      
7255    
7256    
7257    
# Line 9243  if test "${enable_mp3info+set}" = set; t Line 7262  if test "${enable_mp3info+set}" = set; t
7262    case "x${enableval}" in    case "x${enableval}" in
7263                   xyes)         PLUGIN_MP3INFO=mp3info ;;                   xyes)         PLUGIN_MP3INFO=mp3info ;;
7264                   xno)          PLUGIN_MP3INFO= ;;                   xno)          PLUGIN_MP3INFO= ;;
7265                   *)            { echo "configure: error: bad value ${enableval} for --enable-mp3info" 1>&2; exit 1; } ;;                   *)            { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-mp3info" >&5
7266    echo "$as_me: error: bad value ${enableval} for --enable-mp3info" >&2;}
7267       { (exit 1); exit 1; }; } ;;
7268               esac               esac
7269  fi  fi;
7270    
7271    
     
7272     EXTENSION_MP3INFO="#";     EXTENSION_MP3INFO="#";
7273     if test "x$PLUGIN_MP3INFO" = "xmp3info";     if test "x$PLUGIN_MP3INFO" = "xmp3info";
7274     then     then
# Line 9256  fi Line 7276  fi
7276        PROG_PLUGIN_MP3INFO="$libdir/gtktalog/mp3info"        PROG_PLUGIN_MP3INFO="$libdir/gtktalog/mp3info"
7277        EXTENSION_MP3INFO="";        EXTENSION_MP3INFO="";
7278     fi     fi
7279      
7280      
7281      
7282    
7283     # Check whether --enable-ogginfo or --disable-ogginfo was given.     # Check whether --enable-ogginfo or --disable-ogginfo was given.
7284  if test "${enable_ogginfo+set}" = set; then  if test "${enable_ogginfo+set}" = set; then
# Line 9266  if test "${enable_ogginfo+set}" = set; t Line 7286  if test "${enable_ogginfo+set}" = set; t
7286    case "x${enableval}" in    case "x${enableval}" in
7287                   xyes)         PLUGIN_OGGINFO=ogginfo ;;                   xyes)         PLUGIN_OGGINFO=ogginfo ;;
7288                   xno)          PLUGIN_OGGINFO= ;;                   xno)          PLUGIN_OGGINFO= ;;
7289                   *)            { echo "configure: error: bad value ${enableval} for --enable-ogginfo" 1>&2; exit 1; } ;;                   *)            { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-ogginfo" >&5
7290    echo "$as_me: error: bad value ${enableval} for --enable-ogginfo" >&2;}
7291       { (exit 1); exit 1; }; } ;;
7292               esac               esac
7293  fi  fi;
7294    
7295    
     
7296     EXTENSION_OGGINFO="#";     EXTENSION_OGGINFO="#";
7297     if test "x$PLUGIN_OGGINFO" = "xogginfo";     if test "x$PLUGIN_OGGINFO" = "xogginfo";
7298     then     then
# Line 9281  fi Line 7302  fi
7302     fi     fi
7303    
7304    
7305      
7306      
7307      
7308    
7309     # Check whether --enable-modinfo or --disable-modinfo was given.     # Check whether --enable-modinfo or --disable-modinfo was given.
7310  if test "${enable_modinfo+set}" = set; then  if test "${enable_modinfo+set}" = set; then
# Line 9291  if test "${enable_modinfo+set}" = set; t Line 7312  if test "${enable_modinfo+set}" = set; t
7312    case "x${enableval}" in    case "x${enableval}" in
7313                   xyes)         PLUGIN_MODINFO=modinfo ;;                   xyes)         PLUGIN_MODINFO=modinfo ;;
7314                   xno)          PLUGIN_MODINFO= ;;                   xno)          PLUGIN_MODINFO= ;;
7315                   *)            { echo "configure: error: bad value ${enableval} for --enable-modinfo" 1>&2; exit 1; } ;;                   *)            { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-modinfo" >&5
7316    echo "$as_me: error: bad value ${enableval} for --enable-modinfo" >&2;}
7317       { (exit 1); exit 1; }; } ;;
7318               esac               esac
7319  fi  fi;
7320    
7321    
     
7322     EXTENSION_MODINFO="#";     EXTENSION_MODINFO="#";
7323     if test "x$PLUGIN_MODINFO" = "xmodinfo";     if test "x$PLUGIN_MODINFO" = "xmodinfo";
7324     then     then
# Line 9304  fi Line 7326  fi
7326        PROG_PLUGIN_MODINFO="$libdir/gtktalog/modinfo"        PROG_PLUGIN_MODINFO="$libdir/gtktalog/modinfo"
7327        EXTENSION_MODINFO="";        EXTENSION_MODINFO="";
7328     fi     fi
7329      
7330      
7331      
7332    
7333     # Check whether --enable-aviinfo or --disable-aviinfo was given.     # Check whether --enable-aviinfo or --disable-aviinfo was given.
7334  if test "${enable_aviinfo+set}" = set; then  if test "${enable_aviinfo+set}" = set; then
# Line 9314  if test "${enable_aviinfo+set}" = set; t Line 7336  if test "${enable_aviinfo+set}" = set; t
7336    case "x${enableval}" in    case "x${enableval}" in
7337                   xyes)         PLUGIN_AVIINFO=aviinfo ;;                   xyes)         PLUGIN_AVIINFO=aviinfo ;;
7338                   xno)          PLUGIN_AVIINFO= ;;                   xno)          PLUGIN_AVIINFO= ;;
7339                   *)            { echo "configure: error: bad value ${enableval} for --enable-aviinfo" 1>&2; exit 1; } ;;                   *)            { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-aviinfo" >&5
7340    echo "$as_me: error: bad value ${enableval} for --enable-aviinfo" >&2;}
7341       { (exit 1); exit 1; }; } ;;
7342               esac               esac
7343  fi  fi;
7344    
7345    
     
7346     EXTENSION_AVIINFO="#";     EXTENSION_AVIINFO="#";
7347     if test "x$PLUGIN_AVIINFO" = "xaviinfo";     if test "x$PLUGIN_AVIINFO" = "xaviinfo";
7348     then     then
# Line 9327  fi Line 7350  fi
7350        PROG_PLUGIN_AVIINFO="$libdir/gtktalog/aviinfo"        PROG_PLUGIN_AVIINFO="$libdir/gtktalog/aviinfo"
7351        EXTENSION_AVIINFO="";        EXTENSION_AVIINFO="";
7352     fi     fi
7353      
7354      
7355      
7356    
7357    
7358     # Check whether --enable-mpeginfo or --disable-mpeginfo was given.     # Check whether --enable-mpeginfo or --disable-mpeginfo was given.
# Line 9338  if test "${enable_mpeginfo+set}" = set; Line 7361  if test "${enable_mpeginfo+set}" = set;
7361    case "x${enableval}" in    case "x${enableval}" in
7362                   xyes)         PLUGIN_MPEGINFO=mpeginfo ;;                   xyes)         PLUGIN_MPEGINFO=mpeginfo ;;
7363                   xno)          PLUGIN_MPEGINFO= ;;                   xno)          PLUGIN_MPEGINFO= ;;
7364                   *)            { echo "configure: error: bad value ${enableval} for --enable-mpeginfo" 1>&2; exit 1; } ;;                   *)            { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-mpeginfo" >&5
7365    echo "$as_me: error: bad value ${enableval} for --enable-mpeginfo" >&2;}
7366       { (exit 1); exit 1; }; } ;;
7367               esac               esac
7368  fi  fi;
7369    
7370    
     
7371     EXTENSION_MPEGINFO="#";     EXTENSION_MPEGINFO="#";
7372     if test "x$PLUGIN_MPEGINFO" = "xmpeginfo";     if test "x$PLUGIN_MPEGINFO" = "xmpeginfo";
7373     then     then
# Line 9362  if test "${enable_mpgtx+set}" = set; the Line 7386  if test "${enable_mpgtx+set}" = set; the
7386    case "x${enableval}" in    case "x${enableval}" in
7387                   xyes)         PLUGIN_MPGTX=mpgtx ;;                   xyes)         PLUGIN_MPGTX=mpgtx ;;
7388                   xno)          PLUGIN_MPGTX= ;;                   xno)          PLUGIN_MPGTX= ;;
7389                   *)            { echo "configure: error: bad value ${enableval} for --enable-mpgtx" 1>&2; exit 1; } ;;                   *)            { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-mpgtx" >&5
7390    echo "$as_me: error: bad value ${enableval} for --enable-mpgtx" >&2;}
7391       { (exit 1); exit 1; }; } ;;
7392               esac               esac
7393  fi  fi;
7394    
7395    
     
7396     EXTENSION_MPGTX="#";     EXTENSION_MPGTX="#";
7397     if test "x$PLUGIN_MPGTX" = "xmpgtx";     if test "x$PLUGIN_MPGTX" = "xmpgtx";
7398     then     then
# Line 9387  fi Line 7412  fi
7412           echo Warning: mpgtx and mpeginfo conflict. Disabling mpeginfo.           echo Warning: mpgtx and mpeginfo conflict. Disabling mpeginfo.
7413        fi        fi
7414     fi     fi
7415      
7416      
7417      
7418      
7419      
7420      
7421    
7422    
7423     # Check whether --enable-tcprobe or --disable-tcprobe was given.     # Check whether --enable-tcprobe or --disable-tcprobe was given.
# Line 9401  if test "${enable_tcprobe+set}" = set; t Line 7426  if test "${enable_tcprobe+set}" = set; t
7426    case "x${enableval}" in    case "x${enableval}" in
7427                   xyes)         PLUGIN_TCPROBE=tcprobe ;;                   xyes)         PLUGIN_TCPROBE=tcprobe ;;
7428                   xno)          PLUGIN_TCPROBE= ;;                   xno)          PLUGIN_TCPROBE= ;;
7429                   *)            { echo "configure: error: bad value ${enableval} for --enable-tcprobe" 1>&2; exit 1; } ;;                   *)            { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-tcprobe" >&5
7430    echo "$as_me: error: bad value ${enableval} for --enable-tcprobe" >&2;}
7431       { (exit 1); exit 1; }; } ;;
7432               esac               esac
7433  fi  fi;
7434    
7435    
     
7436     EXTENSION_TCPROBE="#";     EXTENSION_TCPROBE="#";
7437     if test "x$PLUGIN_TCPROBE" = "xtcprobe";     if test "x$PLUGIN_TCPROBE" = "xtcprobe";
7438     then     then
# Line 9426  fi Line 7452  fi
7452           echo Warning: tcprobe and aviinfo conflict. Disabling aviinfo.           echo Warning: tcprobe and aviinfo conflict. Disabling aviinfo.
7453        fi        fi
7454     fi     fi
7455      
7456      
7457      
7458      
7459      
7460      
7461    
7462    
7463     # Extract the first word of "dpkg", so it can be a program name with args.     # Extract the first word of "dpkg", so it can be a program name with args.
7464  set dummy dpkg; ac_word=$2  set dummy dpkg; ac_word=$2
7465  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
7466  echo "configure:9441: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7467  if eval "test \"`echo '$''{'ac_cv_path_PROG_DPKG'+set}'`\" = set"; then  if test "${ac_cv_path_PROG_DPKG+set}" = set; then
7468    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7469  else  else
7470    case "$PROG_DPKG" in    case $PROG_DPKG in
7471    /*)    [\\/]* | ?:[\\/]*)
7472    ac_cv_path_PROG_DPKG="$PROG_DPKG" # Let the user override the test with a path.    ac_cv_path_PROG_DPKG="$PROG_DPKG" # Let the user override the test with a path.
7473    ;;    ;;
   ?:/*)                    
   ac_cv_path_PROG_DPKG="$PROG_DPKG" # Let the user override the test with a dos path.  
   ;;  
7474    *)    *)
7475    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7476    ac_dummy="$PATH"  for as_dir in $PATH
7477    for ac_dir in $ac_dummy; do  do
7478      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
7479      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
7480        ac_cv_path_PROG_DPKG="$ac_dir/$ac_word"    for ac_exec_ext in '' $ac_executable_extensions; do
7481        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7482      fi      ac_cv_path_PROG_DPKG="$as_dir/$ac_word$ac_exec_ext"
7483    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7484    IFS="$ac_save_ifs"      break 2
7485      fi
7486    done
7487    done
7488    
7489    ;;    ;;
7490  esac  esac
7491  fi  fi
7492  PROG_DPKG="$ac_cv_path_PROG_DPKG"  PROG_DPKG=$ac_cv_path_PROG_DPKG
7493    
7494  if test -n "$PROG_DPKG"; then  if test -n "$PROG_DPKG"; then
7495    echo "$ac_t""$PROG_DPKG" 1>&6    echo "$as_me:$LINENO: result: $PROG_DPKG" >&5
7496    echo "${ECHO_T}$PROG_DPKG" >&6
7497  else  else
7498    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
7499    echo "${ECHO_T}no" >&6
7500  fi  fi
7501    
7502      
7503     EXTENSION_DPKG="";     EXTENSION_DPKG="";
7504     if test "x$PROG_DPKG" = "x" ;     if test "x$PROG_DPKG" = "x" ;
7505     then     then
7506        EXTENSION_DPKG="#";        EXTENSION_DPKG="#";
7507     fi     fi
7508      
7509    
7510     # Extract the first word of "rpm", so it can be a program name with args.     # Extract the first word of "rpm", so it can be a program name with args.
7511  set dummy rpm; ac_word=$2  set dummy rpm; ac_word=$2
7512  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
7513  echo "configure:9484: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7514  if eval "test \"`echo '$''{'ac_cv_path_PROG_RPM'+set}'`\" = set"; then  if test "${ac_cv_path_PROG_RPM+set}" = set; then
7515    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7516  else  else
7517    case "$PROG_RPM" in    case $PROG_RPM in
7518    /*)    [\\/]* | ?:[\\/]*)
7519    ac_cv_path_PROG_RPM="$PROG_RPM" # Let the user override the test with a path.    ac_cv_path_PROG_RPM="$PROG_RPM" # Let the user override the test with a path.
7520    ;;    ;;
   ?:/*)                    
   ac_cv_path_PROG_RPM="$PROG_RPM" # Let the user override the test with a dos path.  
   ;;  
7521    *)    *)
7522    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7523    ac_dummy="$PATH"  for as_dir in $PATH
7524    for ac_dir in $ac_dummy; do  do
7525      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
7526      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
7527        ac_cv_path_PROG_RPM="$ac_dir/$ac_word"    for ac_exec_ext in '' $ac_executable_extensions; do
7528        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7529      fi      ac_cv_path_PROG_RPM="$as_dir/$ac_word$ac_exec_ext"
7530    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7531    IFS="$ac_save_ifs"      break 2
7532      fi
7533    done
7534    done
7535    
7536    ;;    ;;
7537  esac  esac
7538  fi  fi
7539  PROG_RPM="$ac_cv_path_PROG_RPM"  PROG_RPM=$ac_cv_path_PROG_RPM
7540    
7541  if test -n "$PROG_RPM"; then  if test -n "$PROG_RPM"; then
7542    echo "$ac_t""$PROG_RPM" 1>&6    echo "$as_me:$LINENO: result: $PROG_RPM" >&5
7543    echo "${ECHO_T}$PROG_RPM" >&6
7544  else  else
7545    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
7546    echo "${ECHO_T}no" >&6
7547  fi  fi
7548    
7549      
7550     EXTENSION_RPM="";     EXTENSION_RPM="";
7551     if test "x$PROG_RPM" = "x" ;     if test "x$PROG_RPM" = "x" ;
7552     then     then
7553        EXTENSION_RPM="#";        EXTENSION_RPM="#";
7554     fi     fi
7555      
7556    
7557     # Extract the first word of "bzip2", so it can be a program name with args.     # Extract the first word of "bzip2", so it can be a program name with args.
7558  set dummy bzip2; ac_word=$2  set dummy bzip2; ac_word=$2
7559  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
7560  echo "configure:9527: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7561  if eval "test \"`echo '$''{'ac_cv_path_PROG_BZIP2'+set}'`\" = set"; then  if test "${ac_cv_path_PROG_BZIP2+set}" = set; then
7562    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7563  else  else
7564    case "$PROG_BZIP2" in    case $PROG_BZIP2 in
7565    /*)    [\\/]* | ?:[\\/]*)
7566    ac_cv_path_PROG_BZIP2="$PROG_BZIP2" # Let the user override the test with a path.    ac_cv_path_PROG_BZIP2="$PROG_BZIP2" # Let the user override the test with a path.
7567    ;;    ;;
   ?:/*)                    
   ac_cv_path_PROG_BZIP2="$PROG_BZIP2" # Let the user override the test with a dos path.  
   ;;  
7568    *)    *)
7569    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7570    ac_dummy="$PATH"  for as_dir in $PATH
7571    for ac_dir in $ac_dummy; do  do
7572      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
7573      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
7574        ac_cv_path_PROG_BZIP2="$ac_dir/$ac_word"    for ac_exec_ext in '' $ac_executable_extensions; do
7575        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7576      fi      ac_cv_path_PROG_BZIP2="$as_dir/$ac_word$ac_exec_ext"
7577    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7578    IFS="$ac_save_ifs"      break 2
7579      fi
7580    done
7581    done
7582    
7583    ;;    ;;
7584  esac  esac
7585  fi  fi
7586  PROG_BZIP2="$ac_cv_path_PROG_BZIP2"  PROG_BZIP2=$ac_cv_path_PROG_BZIP2
7587    
7588  if test -n "$PROG_BZIP2"; then  if test -n "$PROG_BZIP2"; then
7589    echo "$ac_t""$PROG_BZIP2" 1>&6    echo "$as_me:$LINENO: result: $PROG_BZIP2" >&5
7590    echo "${ECHO_T}$PROG_BZIP2" >&6
7591  else  else
7592    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
7593    echo "${ECHO_T}no" >&6
7594  fi  fi
7595    
7596      
7597     EXTENSION_BZIP2="";     EXTENSION_BZIP2="";
7598     if test "x$PROG_BZIP2" = "x" ;     if test "x$PROG_BZIP2" = "x" ;
7599     then     then
7600        EXTENSION_BZIP2="#";        EXTENSION_BZIP2="#";
7601     fi     fi
7602      
7603    
7604     # Extract the first word of "unzip", so it can be a program name with args.     # Extract the first word of "unzip", so it can be a program name with args.
7605  set dummy unzip; ac_word=$2  set dummy unzip; ac_word=$2
7606  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
7607  echo "configure:9570: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7608  if eval "test \"`echo '$''{'ac_cv_path_PROG_UNZIP'+set}'`\" = set"; then  if test "${ac_cv_path_PROG_UNZIP+set}" = set; then
7609    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7610  else  else
7611    case "$PROG_UNZIP" in    case $PROG_UNZIP in
7612    /*)    [\\/]* | ?:[\\/]*)
7613    ac_cv_path_PROG_UNZIP="$PROG_UNZIP" # Let the user override the test with a path.    ac_cv_path_PROG_UNZIP="$PROG_UNZIP" # Let the user override the test with a path.
7614    ;;    ;;
   ?:/*)                    
   ac_cv_path_PROG_UNZIP="$PROG_UNZIP" # Let the user override the test with a dos path.  
   ;;  
7615    *)    *)
7616    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7617    ac_dummy="$PATH"  for as_dir in $PATH
7618    for ac_dir in $ac_dummy; do  do
7619      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
7620      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
7621        ac_cv_path_PROG_UNZIP="$ac_dir/$ac_word"    for ac_exec_ext in '' $ac_executable_extensions; do
7622        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7623      fi      ac_cv_path_PROG_UNZIP="$as_dir/$ac_word$ac_exec_ext"
7624    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7625    IFS="$ac_save_ifs"      break 2
7626      fi
7627    done
7628    done
7629    
7630    ;;    ;;
7631  esac  esac
7632  fi  fi
7633  PROG_UNZIP="$ac_cv_path_PROG_UNZIP"  PROG_UNZIP=$ac_cv_path_PROG_UNZIP
7634    
7635  if test -n "$PROG_UNZIP"; then  if test -n "$PROG_UNZIP"; then
7636    echo "$ac_t""$PROG_UNZIP" 1>&6    echo "$as_me:$LINENO: result: $PROG_UNZIP" >&5
7637    echo "${ECHO_T}$PROG_UNZIP" >&6
7638  else  else
7639    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
7640    echo "${ECHO_T}no" >&6
7641  fi  fi
7642    
7643      
7644     EXTENSION_UNZIP="";     EXTENSION_UNZIP="";
7645     if test "x$PROG_UNZIP" = "x" ;     if test "x$PROG_UNZIP" = "x" ;
7646     then     then
7647        EXTENSION_UNZIP="#";        EXTENSION_UNZIP="#";
7648     fi     fi
7649      
7650    
7651     # Extract the first word of "file", so it can be a program name with args.     # Extract the first word of "file", so it can be a program name with args.
7652  set dummy file; ac_word=$2  set dummy file; ac_word=$2
7653  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
7654  echo "configure:9613: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7655  if eval "test \"`echo '$''{'ac_cv_path_PROG_FILE'+set}'`\" = set"; then  if test "${ac_cv_path_PROG_FILE+set}" = set; then
7656    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7657  else  else
7658    case "$PROG_FILE" in    case $PROG_FILE in
7659    /*)    [\\/]* | ?:[\\/]*)
7660    ac_cv_path_PROG_FILE="$PROG_FILE" # Let the user override the test with a path.    ac_cv_path_PROG_FILE="$PROG_FILE" # Let the user override the test with a path.
7661    ;;    ;;
   ?:/*)                    
   ac_cv_path_PROG_FILE="$PROG_FILE" # Let the user override the test with a dos path.  
   ;;  
7662    *)    *)
7663    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7664    ac_dummy="$PATH"  for as_dir in $PATH
7665    for ac_dir in $ac_dummy; do  do
7666      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
7667      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
7668        ac_cv_path_PROG_FILE="$ac_dir/$ac_word"    for ac_exec_ext in '' $ac_executable_extensions; do
7669        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7670      fi      ac_cv_path_PROG_FILE="$as_dir/$ac_word$ac_exec_ext"
7671    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7672    IFS="$ac_save_ifs"      break 2
7673      fi
7674    done
7675    done
7676    
7677    ;;    ;;
7678  esac  esac
7679  fi  fi
7680  PROG_FILE="$ac_cv_path_PROG_FILE"  PROG_FILE=$ac_cv_path_PROG_FILE
7681    
7682  if test -n "$PROG_FILE"; then  if test -n "$PROG_FILE"; then
7683    echo "$ac_t""$PROG_FILE" 1>&6    echo "$as_me:$LINENO: result: $PROG_FILE" >&5
7684    echo "${ECHO_T}$PROG_FILE" >&6
7685  else  else
7686    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
7687    echo "${ECHO_T}no" >&6
7688  fi  fi
7689    
7690      
7691     if test "x$PROG_FILE" = "x" ;     if test "x$PROG_FILE" = "x" ;
7692     then     then
7693        PROG_FILE_ARGS="";        PROG_FILE_ARGS="";
# Line 9649  fi Line 7695  fi
7695     else     else
7696        PROG_FILE_ARGS="-b";        PROG_FILE_ARGS="-b";
7697        USE_DEFAULT_PLUGIN_FILE="True"        USE_DEFAULT_PLUGIN_FILE="True"
7698          
7699     fi     fi
7700      
7701      
7702    
7703    
7704  # Check whether --enable-catalog2 or --disable-catalog2 was given.  # Check whether --enable-catalog2 or --disable-catalog2 was given.
# Line 9661  if test "${enable_catalog2+set}" = set; Line 7707  if test "${enable_catalog2+set}" = set;
7707    CATALOG2=yes    CATALOG2=yes
7708  else  else
7709    CATALOG2=no    CATALOG2=no
7710  fi  fi;
   
7711  if test "x$CATALOG2" = "xyes" ;  if test "x$CATALOG2" = "xyes" ;
7712  then  then
7713          cat >> confdefs.h <<\EOF  
7714  #define CATALOG2 1  cat >>confdefs.h <<_ACEOF
7715  EOF  #define CATALOG2 yes
7716    _ACEOF
7717    
7718  fi  fi
7719    
# Line 9677  if test "${enable_catalog3+set}" = set; Line 7723  if test "${enable_catalog3+set}" = set;
7723    CATALOG3=yes    CATALOG3=yes
7724  else  else
7725    CATALOG3=no    CATALOG3=no
7726  fi  fi;
   
7727  if test "x$CATALOG3" = "xyes" ;  if test "x$CATALOG3" = "xyes" ;
7728  then  then
7729          cat >> confdefs.h <<\EOF  
7730  #define CATALOG3 1  cat >>confdefs.h <<_ACEOF
7731  EOF  #define CATALOG3 yes
7732    _ACEOF
7733    
7734  fi  fi
7735    
# Line 9693  if test "${enable_fixcd+set}" = set; the Line 7739  if test "${enable_fixcd+set}" = set; the
7739    FIX_CD_MOUNTPOINT=yes    FIX_CD_MOUNTPOINT=yes
7740  else  else
7741    FIX_CD_MOUNTPOINT=no    FIX_CD_MOUNTPOINT=no
7742  fi  fi;
   
7743  if test "x$FIX_CD_MOUNTPOINT" = "xyes" ;  if test "x$FIX_CD_MOUNTPOINT" = "xyes" ;
7744  then  then
7745          cat >> confdefs.h <<\EOF  
7746  #define FIX_CD_MOUNTPOINT 1  cat >>confdefs.h <<_ACEOF
7747  EOF  #define FIX_CD_MOUNTPOINT yes
7748    _ACEOF
7749    
7750  fi  fi
7751    
# Line 9728  if test "${enable_pthreads+set}" = set; Line 7774  if test "${enable_pthreads+set}" = set;
7774                   xno)          ENABLE_USE_PTHREADS=no ;;                   xno)          ENABLE_USE_PTHREADS=no ;;
7775                   *)            ENABLE_USE_PTHREADS=yes ;;                   *)            ENABLE_USE_PTHREADS=yes ;;
7776               esac               esac
7777  fi  fi;
   
7778  if test "x$PTHREADS_INSTALLED" = "xyes" ;  if test "x$PTHREADS_INSTALLED" = "xyes" ;
7779  then  then
7780    if test "x$ENABLE_USE_PTHREADS" = "xyes" ;    if test "x$ENABLE_USE_PTHREADS" = "xyes" ;
7781    then    then
7782          cat >> confdefs.h <<\EOF  
7783  #define USE_PTHREADS 1  cat >>confdefs.h <<_ACEOF
7784  EOF  #define USE_PTHREADS yes
7785    _ACEOF
7786    
7787    fi    fi
7788  else  else
# Line 9749  if test "${enable_debug+set}" = set; the Line 7795  if test "${enable_debug+set}" = set; the
7795    __DEBUG__=yes    __DEBUG__=yes
7796  else  else
7797    __DEBUG__=no    __DEBUG__=no
7798  fi  fi;
   
7799          GMLLIB=          GMLLIB=
7800  if test "x$__DEBUG__" = "xyes" ;  if test "x$__DEBUG__" = "xyes" ;
7801  then  then
7802          echo $ac_n "checking for GML_init in -lGML""... $ac_c" 1>&6          echo "$as_me:$LINENO: checking for GML_init in -lGML" >&5
7803  echo "configure:9759: checking for GML_init in -lGML" >&5  echo $ECHO_N "checking for GML_init in -lGML... $ECHO_C" >&6
7804  ac_lib_var=`echo GML'_'GML_init | sed 'y%./+-%__p_%'`  if test "${ac_cv_lib_GML_GML_init+set}" = set; then
7805  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then    echo $ECHO_N "(cached) $ECHO_C" >&6
   echo $ac_n "(cached) $ac_c" 1>&6  
7806  else  else
7807    ac_save_LIBS="$LIBS"    ac_check_lib_save_LIBS=$LIBS
7808  LIBS="-lGML  $LIBS"  LIBS="-lGML  $LIBS"
7809  cat > conftest.$ac_ext <<EOF  cat >conftest.$ac_ext <<_ACEOF
7810  #line 9767 "configure"  #line $LINENO "configure"
7811  #include "confdefs.h"  /* confdefs.h.  */
7812    _ACEOF
7813    cat confdefs.h >>conftest.$ac_ext
7814    cat >>conftest.$ac_ext <<_ACEOF
7815    /* end confdefs.h.  */
7816    
7817  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
7818    #ifdef __cplusplus
7819    extern "C"
7820    #endif
7821  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
7822      builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
7823  char GML_init();  char GML_init ();
7824    int
7825  int main() {  main ()
7826  GML_init()  {
7827  ; return 0; }  GML_init ();
7828  EOF    ;
7829  if { (eval echo configure:9778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    return 0;
7830    rm -rf conftest*  }
7831    eval "ac_cv_lib_$ac_lib_var=yes"  _ACEOF
7832  else  rm -f conftest.$ac_objext conftest$ac_exeext
7833    echo "configure: failed program was:" >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7834    cat conftest.$ac_ext >&5    (eval $ac_link) 2>&5
7835    rm -rf conftest*    ac_status=$?
7836    eval "ac_cv_lib_$ac_lib_var=no"    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837  fi    (exit $ac_status); } &&
7838  rm -f conftest*           { ac_try='test -s conftest$ac_exeext'
7839  LIBS="$ac_save_LIBS"    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7840      (eval $ac_try) 2>&5
7841  fi    ac_status=$?
7842  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7843    echo "$ac_t""yes" 1>&6    (exit $ac_status); }; }; then
7844        ac_cv_lib_GML_GML_init=yes
7845                          cat >> confdefs.h <<\EOF  else
7846  #define __DEBUG__ 1    echo "$as_me: failed program was:" >&5
7847  EOF  sed 's/^/| /' conftest.$ac_ext >&5
7848    
7849    ac_cv_lib_GML_GML_init=no
7850    fi
7851    rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7852    LIBS=$ac_check_lib_save_LIBS
7853    fi
7854    echo "$as_me:$LINENO: result: $ac_cv_lib_GML_GML_init" >&5
7855    echo "${ECHO_T}$ac_cv_lib_GML_GML_init" >&6
7856    if test $ac_cv_lib_GML_GML_init = yes; then
7857    
7858    
7859    cat >>confdefs.h <<_ACEOF
7860    #define __DEBUG__ yes
7861    _ACEOF
7862    
7863                          GMLLIB=-lGML                          GMLLIB=-lGML
7864                    
7865  else  else
   echo "$ac_t""no" 1>&6  
7866    
7867                          echo --enable-debug needs libGML to work.                          echo --enable-debug needs libGML to work.
7868                          exit -1                          exit -1
7869                    
7870  fi  fi
7871    
7872  fi  fi
# Line 9812  fi Line 7877  fi
7877    
7878    
7879    
7880  trap '' 1 2 15  cat >>confdefs.h <<_ACEOF
7881  cat > confcache <<\EOF  #define DEFAULTFILEICONPATH DATA_DIR "/gtktalog/icons/default_file.xpm"
7882    _ACEOF
7883    
7884    
7885    cat >>confdefs.h <<_ACEOF
7886    #define DEFAULTDISKICONPATH DATA_DIR "/gtktalog/icons/default_disk.xpm"
7887    _ACEOF
7888    
7889    
7890    cat >>confdefs.h <<_ACEOF
7891    #define DEFAULTDIRICONPATH DATA_DIR "/gtktalog/icons/default_dir.xpm"
7892    _ACEOF
7893    
7894    
7895    cat >>confdefs.h <<_ACEOF
7896    #define DEFAULTUNREADABLEICONPATH DATA_DIR "/gtktalog/icons/default_unreadable.xpm"
7897    _ACEOF
7898    
7899    
7900    cat >>confdefs.h <<_ACEOF
7901    #define DEFAULTVFSICONPATH DATA_DIR "/gtktalog/icons/default_vfs.xpm"
7902    _ACEOF
7903    
7904    
7905    cat >>confdefs.h <<_ACEOF
7906    #define DEFAULTOPENEDDISKICONPATH DATA_DIR "/gtktalog/icons/default_opened_disk.xpm"
7907    _ACEOF
7908    
7909    
7910    cat >>confdefs.h <<_ACEOF
7911    #define DEFAULTOPENEDDIRICONPATH DATA_DIR "/gtktalog/icons/default_opened_dir.xpm"
7912    _ACEOF
7913    
7914    
7915    cat >>confdefs.h <<_ACEOF
7916    #define DEFAULTOPENEDVFSICONPATH DATA_DIR "/gtktalog/icons/default_opened_vfs.xpm"
7917    _ACEOF
7918    
7919    
7920    
7921    
7922                                                                                                                                      ac_config_files="$ac_config_files m4/Makefile po/Makefile.in Docs/Makefile Docs/C/Makefile Docs/fr/Makefile src/Makefile src/gtktalog/Makefile src/gtktalog/icons/Makefile src/gtktalog/xpm/Makefile src/gtktalog/gtktalog.cf.in Makefile src/plugins/Makefile gtktalog.spec"
7923    cat >confcache <<\_ACEOF
7924  # This file is a shell script that caches the results of configure  # This file is a shell script that caches the results of configure
7925  # tests run on this system so they can be shared between configure  # tests run on this system so they can be shared between configure
7926  # scripts and configure runs.  It is not useful on other systems.  # scripts and configure runs, see configure's option --config-cache.
7927  # If it contains results you don't want to keep, you may remove or edit it.  # It is not useful on other systems.  If it contains results you don't
7928    # want to keep, you may remove or edit it.
7929  #  #
7930  # By default, configure uses ./config.cache as the cache file,  # config.status only pays attention to the cache file if you give it
7931  # creating it if it does not exist already.  You can give configure  # the --recheck option to rerun configure.
 # the --cache-file=FILE option to use a different cache file; that is  
 # what configure does when it calls configure scripts in  
 # subdirectories, so they share the cache.  
 # Giving --cache-file=/dev/null disables caching, for debugging configure.  
 # config.status only pays attention to the cache file if you give it the  
 # --recheck option to rerun configure.  
7932  #  #
7933  EOF  # `ac_cv_env_foo' variables (set or unset) will be overridden when
7934    # loading this file, other *unset* `ac_cv_foo' will be assigned the
7935    # following values.
7936    
7937    _ACEOF
7938    
7939  # The following way of writing the cache mishandles newlines in values,  # The following way of writing the cache mishandles newlines in values,
7940  # but we know of no workaround that is simple, portable, and efficient.  # but we know of no workaround that is simple, portable, and efficient.
7941  # So, don't put newlines in cache variables' values.  # So, don't put newlines in cache variables' values.
7942  # Ultrix sh set writes to stderr and can't be redirected directly,  # Ultrix sh set writes to stderr and can't be redirected directly,
7943  # and sets the high bit in the cache file unless we assign to the vars.  # and sets the high bit in the cache file unless we assign to the vars.
7944  (set) 2>&1 |  {
7945    case `(ac_space=' '; set | grep ac_space) 2>&1` in    (set) 2>&1 |
7946    *ac_space=\ *)      case `(ac_space=' '; set | grep ac_space) 2>&1` in
7947      # `set' does not quote correctly, so add quotes (double-quote substitution      *ac_space=\ *)
7948      # turns \\\\ into \\, and sed turns \\ into \).        # `set' does not quote correctly, so add quotes (double-quote
7949      sed -n \        # substitution turns \\\\ into \\, and sed turns \\ into \).
7950        -e "s/'/'\\\\''/g" \        sed -n \
7951        -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"          "s/'/'\\\\''/g;
7952      ;;            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7953    *)        ;;
7954      # `set' quotes correctly as required by POSIX, so do not add quotes.      *)
7955      sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'        # `set' quotes correctly as required by POSIX, so do not add quotes.
7956      ;;        sed -n \
7957    esac >> confcache          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7958  if cmp -s $cache_file confcache; then        ;;
7959    :      esac;
7960  else  } |
7961      sed '
7962         t clear
7963         : clear
7964         s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7965         t end
7966         /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7967         : end' >>confcache
7968    if diff $cache_file confcache >/dev/null 2>&1; then :; else
7969    if test -w $cache_file; then    if test -w $cache_file; then
7970      echo "updating cache $cache_file"      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7971      cat confcache > $cache_file      cat confcache >$cache_file
7972    else    else
7973      echo "not updating unwritable cache $cache_file"      echo "not updating unwritable cache $cache_file"
7974    fi    fi
7975  fi  fi
7976  rm -f confcache  rm -f confcache
7977    
 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15  
   
7978  test "x$prefix" = xNONE && prefix=$ac_default_prefix  test "x$prefix" = xNONE && prefix=$ac_default_prefix
7979  # Let make expand exec_prefix.  # Let make expand exec_prefix.
7980  test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'  test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7981    
7982  # Any assignment to VPATH causes Sun make to only execute  # VPATH may cause trouble with some makes, so we remove $(srcdir),
7983  # the first set of double-colon rules, so remove it if not needed.  # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7984  # If there is a colon in the path, we need to keep it.  # trailing colons and then remove the whole line if VPATH becomes empty
7985    # (actually we leave an empty line to preserve line numbers).
7986  if test "x$srcdir" = x.; then  if test "x$srcdir" = x.; then
7987    ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'    ac_vpsub='/^[         ]*VPATH[        ]*=/{
7988    s/:*\$(srcdir):*/:/;
7989    s/:*\${srcdir}:*/:/;
7990    s/:*@srcdir@:*/:/;
7991    s/^\([^=]*=[    ]*\):*/\1/;
7992    s/:*$//;
7993    s/^[^=]*=[      ]*$//;
7994    }'
7995  fi  fi
7996    
 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15  
   
7997  DEFS=-DHAVE_CONFIG_H  DEFS=-DHAVE_CONFIG_H
7998    
7999  # Without the "./", some shells look in PATH for config.status.  ac_libobjs=
8000  : ${CONFIG_STATUS=./config.status}  ac_ltlibobjs=
8001    for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8002      # 1. Remove the extension, and $U if already installed.
8003      ac_i=`echo "$ac_i" |
8004             sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8005      # 2. Add them.
8006      ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
8007      ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
8008    done
8009    LIBOBJS=$ac_libobjs
8010    
8011  echo creating $CONFIG_STATUS  LTLIBOBJS=$ac_ltlibobjs
8012  rm -f $CONFIG_STATUS  
8013  cat > $CONFIG_STATUS <<EOF  
8014  #! /bin/sh  if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8015  # Generated automatically by configure.    { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8016    Usually this means the macro was only invoked conditionally." >&5
8017    echo "$as_me: error: conditional \"AMDEP\" was never defined.
8018    Usually this means the macro was only invoked conditionally." >&2;}
8019       { (exit 1); exit 1; }; }
8020    fi
8021    if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8022      { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8023    Usually this means the macro was only invoked conditionally." >&5
8024    echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8025    Usually this means the macro was only invoked conditionally." >&2;}
8026       { (exit 1); exit 1; }; }
8027    fi
8028    if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
8029      { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
8030    Usually this means the macro was only invoked conditionally." >&5
8031    echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
8032    Usually this means the macro was only invoked conditionally." >&2;}
8033       { (exit 1); exit 1; }; }
8034    fi
8035    
8036    : ${CONFIG_STATUS=./config.status}
8037    ac_clean_files_save=$ac_clean_files
8038    ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8039    { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8040    echo "$as_me: creating $CONFIG_STATUS" >&6;}
8041    cat >$CONFIG_STATUS <<_ACEOF
8042    #! $SHELL
8043    # Generated by $as_me.
8044  # Run this file to recreate the current configuration.  # Run this file to recreate the current configuration.
 # This directory was configured as follows,  
 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:  
 #  
 # $0 $ac_configure_args  
 #  
8045  # Compiler output produced by configure, useful for debugging  # Compiler output produced by configure, useful for debugging
8046  # configure, is in ./config.log if it exists.  # configure, is in config.log if it exists.
8047    
8048  ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"  debug=false
8049  for ac_option  ac_cs_recheck=false
8050    ac_cs_silent=false
8051    SHELL=\${CONFIG_SHELL-$SHELL}
8052    _ACEOF
8053    
8054    cat >>$CONFIG_STATUS <<\_ACEOF
8055    ## --------------------- ##
8056    ## M4sh Initialization.  ##
8057    ## --------------------- ##
8058    
8059    # Be Bourne compatible
8060    if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8061      emulate sh
8062      NULLCMD=:
8063      # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8064      # is contrary to our usage.  Disable this feature.
8065      alias -g '${1+"$@"}'='"$@"'
8066    elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
8067      set -o posix
8068    fi
8069    
8070    # Support unset when possible.
8071    if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
8072      as_unset=unset
8073    else
8074      as_unset=false
8075    fi
8076    
8077    
8078    # Work around bugs in pre-3.0 UWIN ksh.
8079    $as_unset ENV MAIL MAILPATH
8080    PS1='$ '
8081    PS2='> '
8082    PS4='+ '
8083    
8084    # NLS nuisances.
8085    for as_var in \
8086      LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8087      LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8088      LC_TELEPHONE LC_TIME
8089    do
8090      if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
8091        eval $as_var=C; export $as_var
8092      else
8093        $as_unset $as_var
8094      fi
8095    done
8096    
8097    # Required to use basename.
8098    if expr a : '\(a\)' >/dev/null 2>&1; then
8099      as_expr=expr
8100    else
8101      as_expr=false
8102    fi
8103    
8104    if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
8105      as_basename=basename
8106    else
8107      as_basename=false
8108    fi
8109    
8110    
8111    # Name of the executable.
8112    as_me=`$as_basename "$0" ||
8113    $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8114             X"$0" : 'X\(//\)$' \| \
8115             X"$0" : 'X\(/\)$' \| \
8116             .     : '\(.\)' 2>/dev/null ||
8117    echo X/"$0" |
8118        sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8119              /^X\/\(\/\/\)$/{ s//\1/; q; }
8120              /^X\/\(\/\).*/{ s//\1/; q; }
8121              s/.*/./; q'`
8122    
8123    
8124    # PATH needs CR, and LINENO needs CR and PATH.
8125    # Avoid depending upon Character Ranges.
8126    as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8127    as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8128    as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8129    as_cr_digits='0123456789'
8130    as_cr_alnum=$as_cr_Letters$as_cr_digits
8131    
8132    # The user is always right.
8133    if test "${PATH_SEPARATOR+set}" != set; then
8134      echo "#! /bin/sh" >conf$$.sh
8135      echo  "exit 0"   >>conf$$.sh
8136      chmod +x conf$$.sh
8137      if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8138        PATH_SEPARATOR=';'
8139      else
8140        PATH_SEPARATOR=:
8141      fi
8142      rm -f conf$$.sh
8143    fi
8144    
8145    
8146      as_lineno_1=$LINENO
8147      as_lineno_2=$LINENO
8148      as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8149      test "x$as_lineno_1" != "x$as_lineno_2" &&
8150      test "x$as_lineno_3"  = "x$as_lineno_2"  || {
8151      # Find who we are.  Look in the path if we contain no path at all
8152      # relative or not.
8153      case $0 in
8154        *[\\/]* ) as_myself=$0 ;;
8155        *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8156    for as_dir in $PATH
8157    do
8158      IFS=$as_save_IFS
8159      test -z "$as_dir" && as_dir=.
8160      test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8161    done
8162    
8163           ;;
8164      esac
8165      # We did not find ourselves, most probably we were run as `sh COMMAND'
8166      # in which case we are not to be found in the path.
8167      if test "x$as_myself" = x; then
8168        as_myself=$0
8169      fi
8170      if test ! -f "$as_myself"; then
8171        { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8172    echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8173       { (exit 1); exit 1; }; }
8174      fi
8175      case $CONFIG_SHELL in
8176      '')
8177        as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8178    for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
8179    do
8180      IFS=$as_save_IFS
8181      test -z "$as_dir" && as_dir=.
8182      for as_base in sh bash ksh sh5; do
8183             case $as_dir in
8184             /*)
8185               if ("$as_dir/$as_base" -c '
8186      as_lineno_1=$LINENO
8187      as_lineno_2=$LINENO
8188      as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8189      test "x$as_lineno_1" != "x$as_lineno_2" &&
8190      test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
8191                 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
8192                 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
8193                 CONFIG_SHELL=$as_dir/$as_base
8194                 export CONFIG_SHELL
8195                 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8196               fi;;
8197             esac
8198           done
8199    done
8200    ;;
8201      esac
8202    
8203      # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8204      # uniformly replaced by the line number.  The first 'sed' inserts a
8205      # line-number line before each line; the second 'sed' does the real
8206      # work.  The second script uses 'N' to pair each line-number line
8207      # with the numbered line, and appends trailing '-' during
8208      # substitution so that $LINENO is not a special case at line end.
8209      # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8210      # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
8211      sed '=' <$as_myself |
8212        sed '
8213          N
8214          s,$,-,
8215          : loop
8216          s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8217          t loop
8218          s,-$,,
8219          s,^['$as_cr_digits']*\n,,
8220        ' >$as_me.lineno &&
8221      chmod +x $as_me.lineno ||
8222        { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8223    echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8224       { (exit 1); exit 1; }; }
8225    
8226      # Don't try to exec as it changes $[0], causing all sort of problems
8227      # (the dirname of $[0] is not the place where we might find the
8228      # original and so on.  Autoconf is especially sensible to this).
8229      . ./$as_me.lineno
8230      # Exit status is that of the last command.
8231      exit
8232    }
8233    
8234    
8235    case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8236      *c*,-n*) ECHO_N= ECHO_C='
8237    ' ECHO_T='      ' ;;
8238      *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
8239      *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
8240    esac
8241    
8242    if expr a : '\(a\)' >/dev/null 2>&1; then
8243      as_expr=expr
8244    else
8245      as_expr=false
8246    fi
8247    
8248    rm -f conf$$ conf$$.exe conf$$.file
8249    echo >conf$$.file
8250    if ln -s conf$$.file conf$$ 2>/dev/null; then
8251      # We could just check for DJGPP; but this test a) works b) is more generic
8252      # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8253      if test -f conf$$.exe; then
8254        # Don't use ln at all; we don't have any links
8255        as_ln_s='cp -p'
8256      else
8257        as_ln_s='ln -s'
8258      fi
8259    elif ln conf$$.file conf$$ 2>/dev/null; then
8260      as_ln_s=ln
8261    else
8262      as_ln_s='cp -p'
8263    fi
8264    rm -f conf$$ conf$$.exe conf$$.file
8265    
8266    if mkdir -p . 2>/dev/null; then
8267      as_mkdir_p=:
8268    else
8269      as_mkdir_p=false
8270    fi
8271    
8272    as_executable_p="test -f"
8273    
8274    # Sed expression to map a string onto a valid CPP name.
8275    as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
8276    
8277    # Sed expression to map a string onto a valid variable name.
8278    as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
8279    
8280    
8281    # IFS
8282    # We need space, tab and new line, in precisely that order.
8283    as_nl='
8284    '
8285    IFS="   $as_nl"
8286    
8287    # CDPATH.
8288    $as_unset CDPATH
8289    
8290    exec 6>&1
8291    
8292    # Open the log real soon, to keep \$[0] and so on meaningful, and to
8293    # report actual input values of CONFIG_FILES etc. instead of their
8294    # values after options handling.  Logging --version etc. is OK.
8295    exec 5>>config.log
8296    {
8297      echo
8298      sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8299    ## Running $as_me. ##
8300    _ASBOX
8301    } >&5
8302    cat >&5 <<_CSEOF
8303    
8304    This file was extended by $as_me, which was
8305    generated by GNU Autoconf 2.57.  Invocation command line was
8306    
8307      CONFIG_FILES    = $CONFIG_FILES
8308      CONFIG_HEADERS  = $CONFIG_HEADERS
8309      CONFIG_LINKS    = $CONFIG_LINKS
8310      CONFIG_COMMANDS = $CONFIG_COMMANDS
8311      $ $0 $@
8312    
8313    _CSEOF
8314    echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8315    echo >&5
8316    _ACEOF
8317    
8318    # Files that config.status was made for.
8319    if test -n "$ac_config_files"; then
8320      echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8321    fi
8322    
8323    if test -n "$ac_config_headers"; then
8324      echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8325    fi
8326    
8327    if test -n "$ac_config_links"; then
8328      echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8329    fi
8330    
8331    if test -n "$ac_config_commands"; then
8332      echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8333    fi
8334    
8335    cat >>$CONFIG_STATUS <<\_ACEOF
8336    
8337    ac_cs_usage="\
8338    \`$as_me' instantiates files from templates according to the
8339    current configuration.
8340    
8341    Usage: $0 [OPTIONS] [FILE]...
8342    
8343      -h, --help       print this help, then exit
8344      -V, --version    print version number, then exit
8345      -q, --quiet      do not print progress messages
8346      -d, --debug      don't remove temporary files
8347          --recheck    update $as_me by reconfiguring in the same conditions
8348      --file=FILE[:TEMPLATE]
8349                       instantiate the configuration file FILE
8350      --header=FILE[:TEMPLATE]
8351                       instantiate the configuration header FILE
8352    
8353    Configuration files:
8354    $config_files
8355    
8356    Configuration headers:
8357    $config_headers
8358    
8359    Configuration commands:
8360    $config_commands
8361    
8362    Report bugs to <bug-autoconf@gnu.org>."
8363    _ACEOF
8364    
8365    cat >>$CONFIG_STATUS <<_ACEOF
8366    ac_cs_version="\\
8367    config.status
8368    configured by $0, generated by GNU Autoconf 2.57,
8369      with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8370    
8371    Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8372    Free Software Foundation, Inc.
8373    This config.status script is free software; the Free Software Foundation
8374    gives unlimited permission to copy, distribute and modify it."
8375    srcdir=$srcdir
8376    INSTALL="$INSTALL"
8377    _ACEOF
8378    
8379    cat >>$CONFIG_STATUS <<\_ACEOF
8380    # If no file are specified by the user, then we need to provide default
8381    # value.  By we need to know if files were specified by the user.
8382    ac_need_defaults=:
8383    while test $# != 0
8384  do  do
8385    case "\$ac_option" in    case $1 in
8386      --*=*)
8387        ac_option=`expr "x$1" : 'x\([^=]*\)='`
8388        ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
8389        ac_shift=:
8390        ;;
8391      -*)
8392        ac_option=$1
8393        ac_optarg=$2
8394        ac_shift=shift
8395        ;;
8396      *) # This is not an option, so the user has probably given explicit
8397         # arguments.
8398         ac_option=$1
8399         ac_need_defaults=false;;
8400      esac
8401    
8402      case $ac_option in
8403      # Handling of the options.
8404    _ACEOF
8405    cat >>$CONFIG_STATUS <<\_ACEOF
8406    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8407      echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"      ac_cs_recheck=: ;;
8408      exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;    --version | --vers* | -V )
8409    -version | --version | --versio | --versi | --vers | --ver | --ve | --v)      echo "$ac_cs_version"; exit 0 ;;
8410      echo "$CONFIG_STATUS generated by autoconf version 2.13"    --he | --h)
8411      exit 0 ;;      # Conflict between --help and --header
8412    -help | --help | --hel | --he | --h)      { { echo "$as_me:$LINENO: error: ambiguous option: $1
8413      echo "\$ac_cs_usage"; exit 0 ;;  Try \`$0 --help' for more information." >&5
8414    *) echo "\$ac_cs_usage"; exit 1 ;;  echo "$as_me: error: ambiguous option: $1
8415    Try \`$0 --help' for more information." >&2;}
8416       { (exit 1); exit 1; }; };;
8417      --help | --hel | -h )
8418        echo "$ac_cs_usage"; exit 0 ;;
8419      --debug | --d* | -d )
8420        debug=: ;;
8421      --file | --fil | --fi | --f )
8422        $ac_shift
8423        CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8424        ac_need_defaults=false;;
8425      --header | --heade | --head | --hea )
8426        $ac_shift
8427        CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8428        ac_need_defaults=false;;
8429      -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8430      | -silent | --silent | --silen | --sile | --sil | --si | --s)
8431        ac_cs_silent=: ;;
8432    
8433      # This is an error.
8434      -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8435    Try \`$0 --help' for more information." >&5
8436    echo "$as_me: error: unrecognized option: $1
8437    Try \`$0 --help' for more information." >&2;}
8438       { (exit 1); exit 1; }; } ;;
8439    
8440      *) ac_config_targets="$ac_config_targets $1" ;;
8441    
8442    esac    esac
8443      shift
8444  done  done
8445    
8446  ac_given_srcdir=$srcdir  ac_configure_extra_args=
8447  ac_given_INSTALL="$INSTALL"  
8448    if $ac_cs_silent; then
8449      exec 6>/dev/null
8450      ac_configure_extra_args="$ac_configure_extra_args --silent"
8451    fi
8452    
8453    _ACEOF
8454    cat >>$CONFIG_STATUS <<_ACEOF
8455    if \$ac_cs_recheck; then
8456      echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8457      exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8458    fi
8459    
8460    _ACEOF
8461    
8462    cat >>$CONFIG_STATUS <<_ACEOF
8463    #
8464    # INIT-COMMANDS section.
8465    #
8466    
8467    AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8468    # Capture the value of obsolete ALL_LINGUAS because we need it to compute
8469        # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
8470        # from automake.
8471        eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
8472        # Capture the value of LINGUAS because we need it to compute CATALOGS.
8473        LINGUAS="${LINGUAS-%UNSET%}"
8474    
8475    
8476    _ACEOF
8477    
8478    
 trap 'rm -fr `echo "    intl/Makefile  
                 macros/Makefile  
                 po/Makefile.in  
                 Docs/Makefile  
                 Docs/C/Makefile  
                 Docs/fr/Makefile  
                 src/Makefile  
                 src/gtktalog/Makefile  
                 src/gtktalog/icons/Makefile  
                 src/gtktalog/xpm/Makefile  
                 src/gtktalog/gtktalog.cf.in  
                 Makefile  
                 src/plugins/Makefile  
                 gtktalog.spec  
          config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15  
 EOF  
 cat >> $CONFIG_STATUS <<EOF  
   
 # Protect against being on the right side of a sed subst in config.status.  
 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;  
  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF  
 $ac_vpsub  
 $extrasub  
 s%@SHELL@%$SHELL%g  
 s%@CFLAGS@%$CFLAGS%g  
 s%@CPPFLAGS@%$CPPFLAGS%g  
 s%@CXXFLAGS@%$CXXFLAGS%g  
 s%@FFLAGS@%$FFLAGS%g  
 s%@DEFS@%$DEFS%g  
 s%@LDFLAGS@%$LDFLAGS%g  
 s%@LIBS@%$LIBS%g  
 s%@exec_prefix@%$exec_prefix%g  
 s%@prefix@%$prefix%g  
 s%@program_transform_name@%$program_transform_name%g  
 s%@bindir@%$bindir%g  
 s%@sbindir@%$sbindir%g  
 s%@libexecdir@%$libexecdir%g  
 s%@datadir@%$datadir%g  
 s%@sysconfdir@%$sysconfdir%g  
 s%@sharedstatedir@%$sharedstatedir%g  
 s%@localstatedir@%$localstatedir%g  
 s%@libdir@%$libdir%g  
 s%@includedir@%$includedir%g  
 s%@oldincludedir@%$oldincludedir%g  
 s%@infodir@%$infodir%g  
 s%@mandir@%$mandir%g  
 s%@host@%$host%g  
 s%@host_alias@%$host_alias%g  
 s%@host_cpu@%$host_cpu%g  
 s%@host_vendor@%$host_vendor%g  
 s%@host_os@%$host_os%g  
 s%@target@%$target%g  
 s%@target_alias@%$target_alias%g  
 s%@target_cpu@%$target_cpu%g  
 s%@target_vendor@%$target_vendor%g  
 s%@target_os@%$target_os%g  
 s%@build@%$build%g  
 s%@build_alias@%$build_alias%g  
 s%@build_cpu@%$build_cpu%g  
 s%@build_vendor@%$build_vendor%g  
 s%@build_os@%$build_os%g  
 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g  
 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g  
 s%@INSTALL_DATA@%$INSTALL_DATA%g  
 s%@PACKAGE@%$PACKAGE%g  
 s%@VERSION@%$VERSION%g  
 s%@ACLOCAL@%$ACLOCAL%g  
 s%@AUTOCONF@%$AUTOCONF%g  
 s%@AUTOMAKE@%$AUTOMAKE%g  
 s%@AUTOHEADER@%$AUTOHEADER%g  
 s%@MAKEINFO@%$MAKEINFO%g  
 s%@SET_MAKE@%$SET_MAKE%g  
 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g  
 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g  
 s%@MAINT@%$MAINT%g  
 s%@INSIDE_GNOME_COMMON_TRUE@%$INSIDE_GNOME_COMMON_TRUE%g  
 s%@INSIDE_GNOME_COMMON_FALSE@%$INSIDE_GNOME_COMMON_FALSE%g  
 s%@GNOME_LIBS@%$GNOME_LIBS%g  
 s%@GNOMEUI_LIBS@%$GNOMEUI_LIBS%g  
 s%@GNOMEGNORBA_LIBS@%$GNOMEGNORBA_LIBS%g  
 s%@GTKXMHTML_LIBS@%$GTKXMHTML_LIBS%g  
 s%@ZVT_LIBS@%$ZVT_LIBS%g  
 s%@GNOME_LIBDIR@%$GNOME_LIBDIR%g  
 s%@GNOME_INCLUDEDIR@%$GNOME_INCLUDEDIR%g  
 s%@GNOME_CONFIG@%$GNOME_CONFIG%g  
 s%@ORBIT_CONFIG@%$ORBIT_CONFIG%g  
 s%@ORBIT_IDL@%$ORBIT_IDL%g  
 s%@HAVE_ORBIT_TRUE@%$HAVE_ORBIT_TRUE%g  
 s%@HAVE_ORBIT_FALSE@%$HAVE_ORBIT_FALSE%g  
 s%@ORBIT_CFLAGS@%$ORBIT_CFLAGS%g  
 s%@ORBIT_LIBS@%$ORBIT_LIBS%g  
 s%@HAVE_GNORBA_TRUE@%$HAVE_GNORBA_TRUE%g  
 s%@HAVE_GNORBA_FALSE@%$HAVE_GNORBA_FALSE%g  
 s%@GNORBA_CFLAGS@%$GNORBA_CFLAGS%g  
 s%@GNORBA_LIBS@%$GNORBA_LIBS%g  
 s%@GNOME_APPLETS_LIBS@%$GNOME_APPLETS_LIBS%g  
 s%@GNOME_DOCKLETS_LIBS@%$GNOME_DOCKLETS_LIBS%g  
 s%@GNOME_CAPPLET_LIBS@%$GNOME_CAPPLET_LIBS%g  
 s%@AWK@%$AWK%g  
 s%@LN_S@%$LN_S%g  
 s%@CC@%$CC%g  
 s%@CXX@%$CXX%g  
 s%@LEX@%$LEX%g  
 s%@LEXLIB@%$LEXLIB%g  
 s%@CPP@%$CPP%g  
 s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g  
 s%@YACC@%$YACC%g  
 s%@OBJEXT@%$OBJEXT%g  
 s%@EXEEXT@%$EXEEXT%g  
 s%@ECHO@%$ECHO%g  
 s%@RANLIB@%$RANLIB%g  
 s%@STRIP@%$STRIP%g  
 s%@LIBTOOL@%$LIBTOOL%g  
 s%@ALLOCA@%$ALLOCA%g  
 s%@USE_NLS@%$USE_NLS%g  
 s%@MSGFMT@%$MSGFMT%g  
 s%@GMSGFMT@%$GMSGFMT%g  
 s%@XGETTEXT@%$XGETTEXT%g  
 s%@GENCAT@%$GENCAT%g  
 s%@BUILD_INCLUDED_LIBINTL@%$BUILD_INCLUDED_LIBINTL%g  
 s%@USE_INCLUDED_LIBINTL@%$USE_INCLUDED_LIBINTL%g  
 s%@CATALOGS@%$CATALOGS%g  
 s%@CATOBJEXT@%$CATOBJEXT%g  
 s%@DATADIRNAME@%$DATADIRNAME%g  
 s%@GMOFILES@%$GMOFILES%g  
 s%@INSTOBJEXT@%$INSTOBJEXT%g  
 s%@INTLDEPS@%$INTLDEPS%g  
 s%@INTLLIBS@%$INTLLIBS%g  
 s%@INTLOBJS@%$INTLOBJS%g  
 s%@POFILES@%$POFILES%g  
 s%@POSUB@%$POSUB%g  
 s%@INCLUDE_LOCALE_H@%$INCLUDE_LOCALE_H%g  
 s%@GT_NO@%$GT_NO%g  
 s%@GT_YES@%$GT_YES%g  
 s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g  
 s%@l@%$l%g  
 s%@localedir@%$localedir%g  
 s%@PTHREADS_INSTALLED@%$PTHREADS_INSTALLED%g  
 s%@cflags_set@%$cflags_set%g  
 s%@EXTRA_GNOME_CFLAGS@%$EXTRA_GNOME_CFLAGS%g  
 s%@EXTRA_GNOME_LIBS@%$EXTRA_GNOME_LIBS%g  
 s%@MOUNT_PROG@%$MOUNT_PROG%g  
 s%@UMOUNT_PROG@%$UMOUNT_PROG%g  
 s%@EJECT_PROG@%$EJECT_PROG%g  
 s%@EJECT@%$EJECT%g  
 s%@OPTION_EJECT@%$OPTION_EJECT%g  
 s%@PLAYMPEG_PROG@%$PLAYMPEG_PROG%g  
 s%@MPGTX_PROG@%$MPGTX_PROG%g  
 s%@OGGINFO_PROG@%$OGGINFO_PROG%g  
 s%@TCPROBE_PROG@%$TCPROBE_PROG%g  
 s%@PLUGIN_HTMLTITLE@%$PLUGIN_HTMLTITLE%g  
 s%@SPEC_PLUGIN_HTMLTITLE@%$SPEC_PLUGIN_HTMLTITLE%g  
 s%@PROG_PLUGIN_HTMLTITLE@%$PROG_PLUGIN_HTMLTITLE%g  
 s%@EXTENSION_HTMLTITLE@%$EXTENSION_HTMLTITLE%g  
 s%@PLUGIN_MP3INFO@%$PLUGIN_MP3INFO%g  
 s%@SPEC_PLUGIN_MP3INFO@%$SPEC_PLUGIN_MP3INFO%g  
 s%@PROG_PLUGIN_MP3INFO@%$PROG_PLUGIN_MP3INFO%g  
 s%@EXTENSION_MP3INFO@%$EXTENSION_MP3INFO%g  
 s%@PLUGIN_OGGINFO@%$PLUGIN_OGGINFO%g  
 s%@SPEC_PLUGIN_OGGINFO@%$SPEC_PLUGIN_OGGINFO%g  
 s%@PROG_PLUGIN_OGGINFO@%$PROG_PLUGIN_OGGINFO%g  
 s%@EXTENSION_OGGINFO@%$EXTENSION_OGGINFO%g  
 s%@PLUGIN_MODINFO@%$PLUGIN_MODINFO%g  
 s%@SPEC_PLUGIN_MODINFO@%$SPEC_PLUGIN_MODINFO%g  
 s%@PROG_PLUGIN_MODINFO@%$PROG_PLUGIN_MODINFO%g  
 s%@EXTENSION_MODINFO@%$EXTENSION_MODINFO%g  
 s%@PLUGIN_AVIINFO@%$PLUGIN_AVIINFO%g  
 s%@SPEC_PLUGIN_AVIINFO@%$SPEC_PLUGIN_AVIINFO%g  
 s%@PROG_PLUGIN_AVIINFO@%$PROG_PLUGIN_AVIINFO%g  
 s%@EXTENSION_AVIINFO@%$EXTENSION_AVIINFO%g  
 s%@PLUGIN_MPEGINFO@%$PLUGIN_MPEGINFO%g  
 s%@PLUGIN_MPGTX@%$PLUGIN_MPGTX%g  
 s%@SPEC_PLUGIN_MPEGINFO@%$SPEC_PLUGIN_MPEGINFO%g  
 s%@PROG_PLUGIN_MPEGINFO@%$PROG_PLUGIN_MPEGINFO%g  
 s%@EXTENSION_MPEGINFO@%$EXTENSION_MPEGINFO%g  
 s%@SPEC_PLUGIN_MPGTX@%$SPEC_PLUGIN_MPGTX%g  
 s%@PROG_PLUGIN_MPGTX@%$PROG_PLUGIN_MPGTX%g  
 s%@EXTENSION_MPGTX@%$EXTENSION_MPGTX%g  
 s%@PLUGIN_TCPROBE@%$PLUGIN_TCPROBE%g  
 s%@SPEC_PLUGIN_TCPROBE@%$SPEC_PLUGIN_TCPROBE%g  
 s%@PROG_PLUGIN_TCPROBE@%$PROG_PLUGIN_TCPROBE%g  
 s%@EXTENSION_TCPROBE@%$EXTENSION_TCPROBE%g  
 s%@PROG_DPKG@%$PROG_DPKG%g  
 s%@EXTENSION_DPKG@%$EXTENSION_DPKG%g  
 s%@PROG_RPM@%$PROG_RPM%g  
 s%@EXTENSION_RPM@%$EXTENSION_RPM%g  
 s%@PROG_BZIP2@%$PROG_BZIP2%g  
 s%@EXTENSION_BZIP2@%$EXTENSION_BZIP2%g  
 s%@PROG_UNZIP@%$PROG_UNZIP%g  
 s%@EXTENSION_UNZIP@%$EXTENSION_UNZIP%g  
 s%@PROG_FILE@%$PROG_FILE%g  
 s%@PROG_FILE_ARGS@%$PROG_FILE_ARGS%g  
 s%@USE_DEFAULT_PLUGIN_FILE@%$USE_DEFAULT_PLUGIN_FILE%g  
 s%@HOST_OS@%$HOST_OS%g  
 s%@GMLLIB@%$GMLLIB%g  
8479    
8480    cat >>$CONFIG_STATUS <<\_ACEOF
8481    for ac_config_target in $ac_config_targets
8482    do
8483      case "$ac_config_target" in
8484      # Handling of arguments.
8485      "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
8486      "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
8487      "Docs/Makefile" ) CONFIG_FILES="$CONFIG_FILES Docs/Makefile" ;;
8488      "Docs/C/Makefile" ) CONFIG_FILES="$CONFIG_FILES Docs/C/Makefile" ;;
8489      "Docs/fr/Makefile" ) CONFIG_FILES="$CONFIG_FILES Docs/fr/Makefile" ;;
8490      "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8491      "src/gtktalog/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/gtktalog/Makefile" ;;
8492      "src/gtktalog/icons/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/gtktalog/icons/Makefile" ;;
8493      "src/gtktalog/xpm/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/gtktalog/xpm/Makefile" ;;
8494      "src/gtktalog/gtktalog.cf.in" ) CONFIG_FILES="$CONFIG_FILES src/gtktalog/gtktalog.cf.in" ;;
8495      "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8496      "src/plugins/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
8497      "gtktalog.spec" ) CONFIG_FILES="$CONFIG_FILES gtktalog.spec" ;;
8498      "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8499      "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
8500      "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8501      *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8502    echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8503       { (exit 1); exit 1; }; };;
8504      esac
8505    done
8506    
8507    # If the user did not use the arguments to specify the items to instantiate,
8508    # then the envvar interface is used.  Set only those that are not.
8509    # We use the long form for the default assignment because of an extremely
8510    # bizarre bug on SunOS 4.1.3.
8511    if $ac_need_defaults; then
8512      test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8513      test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8514      test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8515    fi
8516    
8517    # Have a temporary directory for convenience.  Make it in the build tree
8518    # simply because there is no reason to put it here, and in addition,
8519    # creating and moving files from /tmp can sometimes cause problems.
8520    # Create a temporary directory, and hook for its removal unless debugging.
8521    $debug ||
8522    {
8523      trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8524      trap '{ (exit 1); exit 1; }' 1 2 13 15
8525    }
8526    
8527    # Create a (secure) tmp directory for tmp files.
8528    
8529    {
8530      tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8531      test -n "$tmp" && test -d "$tmp"
8532    }  ||
8533    {
8534      tmp=./confstat$$-$RANDOM
8535      (umask 077 && mkdir $tmp)
8536    } ||
8537    {
8538       echo "$me: cannot create a temporary directory in ." >&2
8539       { (exit 1); exit 1; }
8540    }
8541    
8542    _ACEOF
8543    
8544    cat >>$CONFIG_STATUS <<_ACEOF
8545    
8546    #
8547    # CONFIG_FILES section.
8548    #
8549    
8550    # No need to generate the scripts if there are no CONFIG_FILES.
8551    # This happens for instance when ./config.status config.h
8552    if test -n "\$CONFIG_FILES"; then
8553      # Protect against being on the right side of a sed subst in config.status.
8554      sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8555       s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8556    s,@SHELL@,$SHELL,;t t
8557    s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8558    s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8559    s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8560    s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8561    s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8562    s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8563    s,@exec_prefix@,$exec_prefix,;t t
8564    s,@prefix@,$prefix,;t t
8565    s,@program_transform_name@,$program_transform_name,;t t
8566    s,@bindir@,$bindir,;t t
8567    s,@sbindir@,$sbindir,;t t
8568    s,@libexecdir@,$libexecdir,;t t
8569    s,@datadir@,$datadir,;t t
8570    s,@sysconfdir@,$sysconfdir,;t t
8571    s,@sharedstatedir@,$sharedstatedir,;t t
8572    s,@localstatedir@,$localstatedir,;t t
8573    s,@libdir@,$libdir,;t t
8574    s,@includedir@,$includedir,;t t
8575    s,@oldincludedir@,$oldincludedir,;t t
8576    s,@infodir@,$infodir,;t t
8577    s,@mandir@,$mandir,;t t
8578    s,@build_alias@,$build_alias,;t t
8579    s,@host_alias@,$host_alias,;t t
8580    s,@target_alias@,$target_alias,;t t
8581    s,@DEFS@,$DEFS,;t t
8582    s,@ECHO_C@,$ECHO_C,;t t
8583    s,@ECHO_N@,$ECHO_N,;t t
8584    s,@ECHO_T@,$ECHO_T,;t t
8585    s,@LIBS@,$LIBS,;t t
8586    s,@build@,$build,;t t
8587    s,@build_cpu@,$build_cpu,;t t
8588    s,@build_vendor@,$build_vendor,;t t
8589    s,@build_os@,$build_os,;t t
8590    s,@host@,$host,;t t
8591    s,@host_cpu@,$host_cpu,;t t
8592    s,@host_vendor@,$host_vendor,;t t
8593    s,@host_os@,$host_os,;t t
8594    s,@target@,$target,;t t
8595    s,@target_cpu@,$target_cpu,;t t
8596    s,@target_vendor@,$target_vendor,;t t
8597    s,@target_os@,$target_os,;t t
8598    s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8599    s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8600    s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8601    s,@CYGPATH_W@,$CYGPATH_W,;t t
8602    s,@PACKAGE@,$PACKAGE,;t t
8603    s,@VERSION@,$VERSION,;t t
8604    s,@ACLOCAL@,$ACLOCAL,;t t
8605    s,@AUTOCONF@,$AUTOCONF,;t t
8606    s,@AUTOMAKE@,$AUTOMAKE,;t t
8607    s,@AUTOHEADER@,$AUTOHEADER,;t t
8608    s,@MAKEINFO@,$MAKEINFO,;t t
8609    s,@AMTAR@,$AMTAR,;t t
8610    s,@install_sh@,$install_sh,;t t
8611    s,@STRIP@,$STRIP,;t t
8612    s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8613    s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8614    s,@AWK@,$AWK,;t t
8615    s,@SET_MAKE@,$SET_MAKE,;t t
8616    s,@LN_S@,$LN_S,;t t
8617    s,@CC@,$CC,;t t
8618    s,@CFLAGS@,$CFLAGS,;t t
8619    s,@LDFLAGS@,$LDFLAGS,;t t
8620    s,@CPPFLAGS@,$CPPFLAGS,;t t
8621    s,@ac_ct_CC@,$ac_ct_CC,;t t
8622    s,@EXEEXT@,$EXEEXT,;t t
8623    s,@OBJEXT@,$OBJEXT,;t t
8624    s,@DEPDIR@,$DEPDIR,;t t
8625    s,@am__include@,$am__include,;t t
8626    s,@am__quote@,$am__quote,;t t
8627    s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8628    s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8629    s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
8630    s,@CCDEPMODE@,$CCDEPMODE,;t t
8631    s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
8632    s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
8633    s,@CXX@,$CXX,;t t
8634    s,@CXXFLAGS@,$CXXFLAGS,;t t
8635    s,@ac_ct_CXX@,$ac_ct_CXX,;t t
8636    s,@CXXDEPMODE@,$CXXDEPMODE,;t t
8637    s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
8638    s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
8639    s,@LEX@,$LEX,;t t
8640    s,@LEXLIB@,$LEXLIB,;t t
8641    s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
8642    s,@YACC@,$YACC,;t t
8643    s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
8644    s,@MSGFMT@,$MSGFMT,;t t
8645    s,@GMSGFMT@,$GMSGFMT,;t t
8646    s,@XGETTEXT@,$XGETTEXT,;t t
8647    s,@MSGMERGE@,$MSGMERGE,;t t
8648    s,@USE_NLS@,$USE_NLS,;t t
8649    s,@LIBICONV@,$LIBICONV,;t t
8650    s,@LTLIBICONV@,$LTLIBICONV,;t t
8651    s,@INTLLIBS@,$INTLLIBS,;t t
8652    s,@LIBINTL@,$LIBINTL,;t t
8653    s,@LTLIBINTL@,$LTLIBINTL,;t t
8654    s,@POSUB@,$POSUB,;t t
8655    s,@localedir@,$localedir,;t t
8656    s,@PTHREADS_INSTALLED@,$PTHREADS_INSTALLED,;t t
8657    s,@CPP@,$CPP,;t t
8658    s,@EGREP@,$EGREP,;t t
8659    s,@EXTRA_GNOME_CFLAGS@,$EXTRA_GNOME_CFLAGS,;t t
8660    s,@EXTRA_GNOME_LIBS@,$EXTRA_GNOME_LIBS,;t t
8661    s,@MOUNT_PROG@,$MOUNT_PROG,;t t
8662    s,@UMOUNT_PROG@,$UMOUNT_PROG,;t t
8663    s,@EJECT_PROG@,$EJECT_PROG,;t t
8664    s,@EJECT@,$EJECT,;t t
8665    s,@OPTION_EJECT@,$OPTION_EJECT,;t t
8666    s,@PLAYMPEG_PROG@,$PLAYMPEG_PROG,;t t
8667    s,@MPGTX_PROG@,$MPGTX_PROG,;t t
8668    s,@OGGINFO_PROG@,$OGGINFO_PROG,;t t
8669    s,@TCPROBE_PROG@,$TCPROBE_PROG,;t t
8670    s,@PLUGIN_HTMLTITLE@,$PLUGIN_HTMLTITLE,;t t
8671    s,@SPEC_PLUGIN_HTMLTITLE@,$SPEC_PLUGIN_HTMLTITLE,;t t
8672    s,@PROG_PLUGIN_HTMLTITLE@,$PROG_PLUGIN_HTMLTITLE,;t t
8673    s,@EXTENSION_HTMLTITLE@,$EXTENSION_HTMLTITLE,;t t
8674    s,@PLUGIN_MP3INFO@,$PLUGIN_MP3INFO,;t t
8675    s,@SPEC_PLUGIN_MP3INFO@,$SPEC_PLUGIN_MP3INFO,;t t
8676    s,@PROG_PLUGIN_MP3INFO@,$PROG_PLUGIN_MP3INFO,;t t
8677    s,@EXTENSION_MP3INFO@,$EXTENSION_MP3INFO,;t t
8678    s,@PLUGIN_OGGINFO@,$PLUGIN_OGGINFO,;t t
8679    s,@SPEC_PLUGIN_OGGINFO@,$SPEC_PLUGIN_OGGINFO,;t t
8680    s,@PROG_PLUGIN_OGGINFO@,$PROG_PLUGIN_OGGINFO,;t t
8681    s,@EXTENSION_OGGINFO@,$EXTENSION_OGGINFO,;t t
8682    s,@PLUGIN_MODINFO@,$PLUGIN_MODINFO,;t t
8683    s,@SPEC_PLUGIN_MODINFO@,$SPEC_PLUGIN_MODINFO,;t t
8684    s,@PROG_PLUGIN_MODINFO@,$PROG_PLUGIN_MODINFO,;t t
8685    s,@EXTENSION_MODINFO@,$EXTENSION_MODINFO,;t t
8686    s,@PLUGIN_AVIINFO@,$PLUGIN_AVIINFO,;t t
8687    s,@SPEC_PLUGIN_AVIINFO@,$SPEC_PLUGIN_AVIINFO,;t t
8688    s,@PROG_PLUGIN_AVIINFO@,$PROG_PLUGIN_AVIINFO,;t t
8689    s,@EXTENSION_AVIINFO@,$EXTENSION_AVIINFO,;t t
8690    s,@PLUGIN_MPEGINFO@,$PLUGIN_MPEGINFO,;t t
8691    s,@PLUGIN_MPGTX@,$PLUGIN_MPGTX,;t t
8692    s,@SPEC_PLUGIN_MPEGINFO@,$SPEC_PLUGIN_MPEGINFO,;t t
8693    s,@PROG_PLUGIN_MPEGINFO@,$PROG_PLUGIN_MPEGINFO,;t t
8694    s,@EXTENSION_MPEGINFO@,$EXTENSION_MPEGINFO,;t t
8695    s,@SPEC_PLUGIN_MPGTX@,$SPEC_PLUGIN_MPGTX,;t t
8696    s,@PROG_PLUGIN_MPGTX@,$PROG_PLUGIN_MPGTX,;t t
8697    s,@EXTENSION_MPGTX@,$EXTENSION_MPGTX,;t t
8698    s,@PLUGIN_TCPROBE@,$PLUGIN_TCPROBE,;t t
8699    s,@SPEC_PLUGIN_TCPROBE@,$SPEC_PLUGIN_TCPROBE,;t t
8700    s,@PROG_PLUGIN_TCPROBE@,$PROG_PLUGIN_TCPROBE,;t t
8701    s,@EXTENSION_TCPROBE@,$EXTENSION_TCPROBE,;t t
8702    s,@PROG_DPKG@,$PROG_DPKG,;t t
8703    s,@EXTENSION_DPKG@,$EXTENSION_DPKG,;t t
8704    s,@PROG_RPM@,$PROG_RPM,;t t
8705    s,@EXTENSION_RPM@,$EXTENSION_RPM,;t t
8706    s,@PROG_BZIP2@,$PROG_BZIP2,;t t
8707    s,@EXTENSION_BZIP2@,$EXTENSION_BZIP2,;t t
8708    s,@PROG_UNZIP@,$PROG_UNZIP,;t t
8709    s,@EXTENSION_UNZIP@,$EXTENSION_UNZIP,;t t
8710    s,@PROG_FILE@,$PROG_FILE,;t t
8711    s,@PROG_FILE_ARGS@,$PROG_FILE_ARGS,;t t
8712    s,@USE_DEFAULT_PLUGIN_FILE@,$USE_DEFAULT_PLUGIN_FILE,;t t
8713    s,@HOST_OS@,$HOST_OS,;t t
8714    s,@GMLLIB@,$GMLLIB,;t t
8715    s,@LIBOBJS@,$LIBOBJS,;t t
8716    s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8717    /@EJECT_PROG@/r $EJECT_PROG
8718    s,@EJECT_PROG@,,;t t
8719  CEOF  CEOF
 EOF  
8720    
8721  cat >> $CONFIG_STATUS <<\EOF  _ACEOF
8722    
8723  # Split the substitutions into bite-sized pieces for seds with    cat >>$CONFIG_STATUS <<\_ACEOF
8724  # small command number limits, like on Digital OSF/1 and HP-UX.    # Split the substitutions into bite-sized pieces for seds with
8725  ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.    # small command number limits, like on Digital OSF/1 and HP-UX.
8726  ac_file=1 # Number of current file.    ac_max_sed_lines=48
8727  ac_beg=1 # First line for current file.    ac_sed_frag=1 # Number of current file.
8728  ac_end=$ac_max_sed_cmds # Line after last line for current file.    ac_beg=1 # First line for current file.
8729  ac_more_lines=:    ac_end=$ac_max_sed_lines # Line after last line for current file.
8730  ac_sed_cmds=""    ac_more_lines=:
8731  while $ac_more_lines; do    ac_sed_cmds=
8732    if test $ac_beg -gt 1; then    while $ac_more_lines; do
8733      sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file      if test $ac_beg -gt 1; then
8734    else        sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8735      sed "${ac_end}q" conftest.subs > conftest.s$ac_file      else
8736    fi        sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8737    if test ! -s conftest.s$ac_file; then      fi
8738      ac_more_lines=false      if test ! -s $tmp/subs.frag; then
8739      rm -f conftest.s$ac_file        ac_more_lines=false
   else  
     if test -z "$ac_sed_cmds"; then  
       ac_sed_cmds="sed -f conftest.s$ac_file"  
8740      else      else
8741        ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"        # The purpose of the label and of the branching condition is to
8742          # speed up the sed processing (if there are no `@' at all, there
8743          # is no need to browse any of the substitutions).
8744          # These are the two extra sed commands mentioned above.
8745          (echo ':t
8746      /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8747          if test -z "$ac_sed_cmds"; then
8748            ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8749          else
8750            ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8751          fi
8752          ac_sed_frag=`expr $ac_sed_frag + 1`
8753          ac_beg=$ac_end
8754          ac_end=`expr $ac_end + $ac_max_sed_lines`
8755      fi      fi
8756      ac_file=`expr $ac_file + 1`    done
8757      ac_beg=$ac_end    if test -z "$ac_sed_cmds"; then
8758      ac_end=`expr $ac_end + $ac_max_sed_cmds`      ac_sed_cmds=cat
8759    fi    fi
8760  done  fi # test -n "$CONFIG_FILES"
8761  if test -z "$ac_sed_cmds"; then  
8762    ac_sed_cmds=cat  _ACEOF
8763  fi  cat >>$CONFIG_STATUS <<\_ACEOF
8764  EOF  for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
   
 cat >> $CONFIG_STATUS <<EOF  
   
 CONFIG_FILES=\${CONFIG_FILES-"intl/Makefile  
                 macros/Makefile  
                 po/Makefile.in  
                 Docs/Makefile  
                 Docs/C/Makefile  
                 Docs/fr/Makefile  
                 src/Makefile  
                 src/gtktalog/Makefile  
                 src/gtktalog/icons/Makefile  
                 src/gtktalog/xpm/Makefile  
                 src/gtktalog/gtktalog.cf.in  
                 Makefile  
                 src/plugins/Makefile  
                 gtktalog.spec  
         "}  
 EOF  
 cat >> $CONFIG_STATUS <<\EOF  
 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then  
8765    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8766    case "$ac_file" in    case $ac_file in
8767    *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`    - | *:- | *:-:* ) # input from stdin
8768         ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;          cat >$tmp/stdin
8769    *) ac_file_in="${ac_file}.in" ;;          ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8770            ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8771      *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8772            ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8773      * )   ac_file_in=$ac_file.in ;;
8774    esac    esac
8775    
8776    # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8777      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8778    # Remove last slash and all that follows it.  Not all systems have dirname.  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8779    ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`           X"$ac_file" : 'X\(//\)[^/]' \| \
8780    if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then           X"$ac_file" : 'X\(//\)$' \| \
8781      # The file is in a subdirectory.           X"$ac_file" : 'X\(/\)' \| \
8782      test ! -d "$ac_dir" && mkdir "$ac_dir"           .     : '\(.\)' 2>/dev/null ||
8783      ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"  echo X"$ac_file" |
8784      # A "../" for each directory in $ac_dir_suffix.      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8785      ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8786              /^X\(\/\/\)$/{ s//\1/; q; }
8787              /^X\(\/\).*/{ s//\1/; q; }
8788              s/.*/./; q'`
8789      { if $as_mkdir_p; then
8790        mkdir -p "$ac_dir"
8791    else    else
8792      ac_dir_suffix= ac_dots=      as_dir="$ac_dir"
8793    fi      as_dirs=
8794        while test ! -d "$as_dir"; do
8795    case "$ac_given_srcdir" in        as_dirs="$as_dir $as_dirs"
8796    .)  srcdir=.        as_dir=`(dirname "$as_dir") 2>/dev/null ||
8797        if test -z "$ac_dots"; then top_srcdir=.  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8798        else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;           X"$as_dir" : 'X\(//\)[^/]' \| \
8799    /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;           X"$as_dir" : 'X\(//\)$' \| \
8800             X"$as_dir" : 'X\(/\)' \| \
8801             .     : '\(.\)' 2>/dev/null ||
8802    echo X"$as_dir" |
8803        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8804              /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8805              /^X\(\/\/\)$/{ s//\1/; q; }
8806              /^X\(\/\).*/{ s//\1/; q; }
8807              s/.*/./; q'`
8808        done
8809        test ! -n "$as_dirs" || mkdir $as_dirs
8810      fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8811    echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8812       { (exit 1); exit 1; }; }; }
8813    
8814      ac_builddir=.
8815    
8816    if test "$ac_dir" != .; then
8817      ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8818      # A "../" for each directory in $ac_dir_suffix.
8819      ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8820    else
8821      ac_dir_suffix= ac_top_builddir=
8822    fi
8823    
8824    case $srcdir in
8825      .)  # No --srcdir option.  We are building in place.
8826        ac_srcdir=.
8827        if test -z "$ac_top_builddir"; then
8828           ac_top_srcdir=.
8829        else
8830           ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8831        fi ;;
8832      [\\/]* | ?:[\\/]* )  # Absolute path.
8833        ac_srcdir=$srcdir$ac_dir_suffix;
8834        ac_top_srcdir=$srcdir ;;
8835    *) # Relative path.    *) # Relative path.
8836      srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8837      top_srcdir="$ac_dots$ac_given_srcdir" ;;      ac_top_srcdir=$ac_top_builddir$srcdir ;;
8838    esac  esac
8839    # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
8840    # absolute.
8841    ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
8842    ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
8843    ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
8844    ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
8845    
   case "$ac_given_INSTALL" in  
   [/$]*) INSTALL="$ac_given_INSTALL" ;;  
   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;  
   esac  
8846    
8847    echo creating "$ac_file"    case $INSTALL in
8848    rm -f "$ac_file"    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8849    configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."    *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
   case "$ac_file" in  
   *Makefile*) ac_comsub="1i\\  
 # $configure_input" ;;  
   *) ac_comsub= ;;  
8850    esac    esac
8851    
8852    ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`    if test x"$ac_file" != x-; then
8853    sed -e "$ac_comsub      { echo "$as_me:$LINENO: creating $ac_file" >&5
8854  s%@configure_input@%$configure_input%g  echo "$as_me: creating $ac_file" >&6;}
8855  s%@srcdir@%$srcdir%g      rm -f "$ac_file"
8856  s%@top_srcdir@%$top_srcdir%g    fi
8857  s%@INSTALL@%$INSTALL%g    # Let's still pretend it is `configure' which instantiates (i.e., don't
8858  " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file    # use $as_me), people would be surprised to read:
8859  fi; done    #    /* config.h.  Generated by config.status.  */
8860  rm -f conftest.s*    if test x"$ac_file" = x-; then
8861        configure_input=
8862      else
8863        configure_input="$ac_file.  "
8864      fi
8865      configure_input=$configure_input"Generated from `echo $ac_file_in |
8866                                         sed 's,.*/,,'` by configure."
8867    
8868      # First look for the input files in the build tree, otherwise in the
8869      # src tree.
8870      ac_file_inputs=`IFS=:
8871        for f in $ac_file_in; do
8872          case $f in
8873          -) echo $tmp/stdin ;;
8874          [\\/$]*)
8875             # Absolute (can't be DOS-style, as IFS=:)
8876             test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8877    echo "$as_me: error: cannot find input file: $f" >&2;}
8878       { (exit 1); exit 1; }; }
8879             echo $f;;
8880          *) # Relative
8881             if test -f "$f"; then
8882               # Build tree
8883               echo $f
8884             elif test -f "$srcdir/$f"; then
8885               # Source tree
8886               echo $srcdir/$f
8887             else
8888               # /dev/null tree
8889               { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8890    echo "$as_me: error: cannot find input file: $f" >&2;}
8891       { (exit 1); exit 1; }; }
8892             fi;;
8893          esac
8894        done` || { (exit 1); exit 1; }
8895    _ACEOF
8896    cat >>$CONFIG_STATUS <<_ACEOF
8897      sed "$ac_vpsub
8898    $extrasub
8899    _ACEOF
8900    cat >>$CONFIG_STATUS <<\_ACEOF
8901    :t
8902    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8903    s,@configure_input@,$configure_input,;t t
8904    s,@srcdir@,$ac_srcdir,;t t
8905    s,@abs_srcdir@,$ac_abs_srcdir,;t t
8906    s,@top_srcdir@,$ac_top_srcdir,;t t
8907    s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
8908    s,@builddir@,$ac_builddir,;t t
8909    s,@abs_builddir@,$ac_abs_builddir,;t t
8910    s,@top_builddir@,$ac_top_builddir,;t t
8911    s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
8912    s,@INSTALL@,$ac_INSTALL,;t t
8913    " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8914      rm -f $tmp/stdin
8915      if test x"$ac_file" != x-; then
8916        mv $tmp/out $ac_file
8917      else
8918        cat $tmp/out
8919        rm -f $tmp/out
8920      fi
8921    
8922    done
8923    _ACEOF
8924    cat >>$CONFIG_STATUS <<\_ACEOF
8925    
8926    #
8927    # CONFIG_HEADER section.
8928    #
8929    
8930  # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where  # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
8931  # NAME is the cpp macro being defined and VALUE is the value it is being given.  # NAME is the cpp macro being defined and VALUE is the value it is being given.
8932  #  #
8933  # ac_d sets the value in "#define NAME VALUE" lines.  # ac_d sets the value in "#define NAME VALUE" lines.
8934  ac_dA='s%^\([   ]*\)#\([        ]*define[       ][      ]*\)'  ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
8935  ac_dB='\([      ][      ]*\)[^  ]*%\1#\2'  ac_dB='[        ].*$,\1#\2'
8936  ac_dC='\3'  ac_dC=' '
8937  ac_dD='%g'  ac_dD=',;t'
8938  # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".  # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8939  ac_uA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'  ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
8940  ac_uB='\([      ]\)%\1#\2define\3'  ac_uB='$,\1#\2define\3'
8941  ac_uC=' '  ac_uC=' '
8942  ac_uD='\4%g'  ac_uD=',;t'
8943  # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".  
8944  ac_eA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'  for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
 ac_eB='$%\1#\2define\3'  
 ac_eC=' '  
 ac_eD='%g'  
   
 if test "${CONFIG_HEADERS+set}" != set; then  
 EOF  
 cat >> $CONFIG_STATUS <<EOF  
   CONFIG_HEADERS="config.h"  
 EOF  
 cat >> $CONFIG_STATUS <<\EOF  
 fi  
 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then  
8945    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8946    case "$ac_file" in    case $ac_file in
8947    *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`    - | *:- | *:-:* ) # input from stdin
8948         ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;          cat >$tmp/stdin
8949    *) ac_file_in="${ac_file}.in" ;;          ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8950            ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8951      *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8952            ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8953      * )   ac_file_in=$ac_file.in ;;
8954    esac    esac
8955    
8956    echo creating $ac_file    test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
8957    echo "$as_me: creating $ac_file" >&6;}
8958    
8959    rm -f conftest.frag conftest.in conftest.out    # First look for the input files in the build tree, otherwise in the
8960    ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`    # src tree.
8961    cat $ac_file_inputs > conftest.in    ac_file_inputs=`IFS=:
8962        for f in $ac_file_in; do
8963  EOF        case $f in
8964          -) echo $tmp/stdin ;;
8965  # Transform confdefs.h into a sed script conftest.vals that substitutes        [\\/$]*)
8966  # the proper values into config.h.in to produce config.h.  And first:           # Absolute (can't be DOS-style, as IFS=:)
8967  # Protect against being on the right side of a sed subst in config.status.           test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8968  # Protect against being in an unquoted here document in config.status.  echo "$as_me: error: cannot find input file: $f" >&2;}
8969  rm -f conftest.vals     { (exit 1); exit 1; }; }
8970  cat > conftest.hdr <<\EOF           echo $f;;
8971  s/[\\&%]/\\&/g        *) # Relative
8972  s%[\\$`]%\\&%g           if test -f "$f"; then
8973  s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp             # Build tree
8974  s%ac_d%ac_u%gp             echo $f
8975  s%ac_u%ac_e%gp           elif test -f "$srcdir/$f"; then
8976  EOF             # Source tree
8977  sed -n -f conftest.hdr confdefs.h > conftest.vals             echo $srcdir/$f
8978  rm -f conftest.hdr           else
8979               # /dev/null tree
8980               { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8981    echo "$as_me: error: cannot find input file: $f" >&2;}
8982       { (exit 1); exit 1; }; }
8983             fi;;
8984          esac
8985        done` || { (exit 1); exit 1; }
8986      # Remove the trailing spaces.
8987      sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
8988    
8989    _ACEOF
8990    
8991    # Transform confdefs.h into two sed scripts, `conftest.defines' and
8992    # `conftest.undefs', that substitutes the proper values into
8993    # config.h.in to produce config.h.  The first handles `#define'
8994    # templates, and the second `#undef' templates.
8995    # And first: Protect against being on the right side of a sed subst in
8996    # config.status.  Protect against being in an unquoted here document
8997    # in config.status.
8998    rm -f conftest.defines conftest.undefs
8999    # Using a here document instead of a string reduces the quoting nightmare.
9000    # Putting comments in sed scripts is not portable.
9001    #
9002    # `end' is used to avoid that the second main sed command (meant for
9003    # 0-ary CPP macros) applies to n-ary macro definitions.
9004    # See the Autoconf documentation for `clear'.
9005    cat >confdef2sed.sed <<\_ACEOF
9006    s/[\\&,]/\\&/g
9007    s,[\\$`],\\&,g
9008    t clear
9009    : clear
9010    s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9011    t end
9012    s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9013    : end
9014    _ACEOF
9015    # If some macros were called several times there might be several times
9016    # the same #defines, which is useless.  Nevertheless, we may not want to
9017    # sort them, since we want the *last* AC-DEFINE to be honored.
9018    uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9019    sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9020    rm -f confdef2sed.sed
9021    
9022  # This sed command replaces #undef with comments.  This is necessary, for  # This sed command replaces #undef with comments.  This is necessary, for
9023  # example, in the case of _POSIX_SOURCE, which is predefined and required  # example, in the case of _POSIX_SOURCE, which is predefined and required
9024  # on some systems where configure will not decide to define it.  # on some systems where configure will not decide to define it.
9025  cat >> conftest.vals <<\EOF  cat >>conftest.undefs <<\_ACEOF
9026  s%^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%  s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9027  EOF  _ACEOF
9028    
9029  # Break up conftest.vals because some shells have a limit on  # Break up conftest.defines because some shells have a limit on the size
9030  # the size of here documents, and old seds have small limits too.  # of here documents, and old seds have small limits too (100 cmds).
9031    echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9032    echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9033    echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9034    echo '  :' >>$CONFIG_STATUS
9035  rm -f conftest.tail  rm -f conftest.tail
9036  while :  while grep . conftest.defines >/dev/null
9037  do  do
9038    ac_lines=`grep -c . conftest.vals`    # Write a limited-size here document to $tmp/defines.sed.
9039    # grep -c gives empty output for an empty file on some AIX systems.    echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9040    if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi    # Speed up: don't consider the non `#define' lines.
9041    # Write a limited-size here document to conftest.frag.    echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
9042    echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS    # Work around the forget-to-reset-the-flag bug.
9043    sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS    echo 't clr' >>$CONFIG_STATUS
9044      echo ': clr' >>$CONFIG_STATUS
9045      sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
9046    echo 'CEOF    echo 'CEOF
9047    sed -f conftest.frag conftest.in > conftest.out    sed -f $tmp/defines.sed $tmp/in >$tmp/out
9048    rm -f conftest.in    rm -f $tmp/in
9049    mv conftest.out conftest.in    mv $tmp/out $tmp/in
9050  ' >> $CONFIG_STATUS  ' >>$CONFIG_STATUS
9051    sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail    sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
9052    rm -f conftest.vals    rm -f conftest.defines
9053    mv conftest.tail conftest.vals    mv conftest.tail conftest.defines
9054  done  done
9055  rm -f conftest.vals  rm -f conftest.defines
9056    echo '  fi # grep' >>$CONFIG_STATUS
9057  cat >> $CONFIG_STATUS <<\EOF  echo >>$CONFIG_STATUS
9058    rm -f conftest.frag conftest.h  
9059    echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h  # Break up conftest.undefs because some shells have a limit on the size
9060    cat conftest.in >> conftest.h  # of here documents, and old seds have small limits too (100 cmds).
9061    rm -f conftest.in  echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
9062    if cmp -s $ac_file conftest.h 2>/dev/null; then  rm -f conftest.tail
9063      echo "$ac_file is unchanged"  while grep . conftest.undefs >/dev/null
9064      rm -f conftest.h  do
9065      # Write a limited-size here document to $tmp/undefs.sed.
9066      echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9067      # Speed up: don't consider the non `#undef'
9068      echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
9069      # Work around the forget-to-reset-the-flag bug.
9070      echo 't clr' >>$CONFIG_STATUS
9071      echo ': clr' >>$CONFIG_STATUS
9072      sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9073      echo 'CEOF
9074      sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9075      rm -f $tmp/in
9076      mv $tmp/out $tmp/in
9077    ' >>$CONFIG_STATUS
9078      sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9079      rm -f conftest.undefs
9080      mv conftest.tail conftest.undefs
9081    done
9082    rm -f conftest.undefs
9083    
9084    cat >>$CONFIG_STATUS <<\_ACEOF
9085      # Let's still pretend it is `configure' which instantiates (i.e., don't
9086      # use $as_me), people would be surprised to read:
9087      #    /* config.h.  Generated by config.status.  */
9088      if test x"$ac_file" = x-; then
9089        echo "/* Generated by configure.  */" >$tmp/config.h
9090    else    else
9091      # Remove last slash and all that follows it.  Not all systems have dirname.      echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
       ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`  
       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then  
       # The file is in a subdirectory.  
       test ! -d "$ac_dir" && mkdir "$ac_dir"  
     fi  
     rm -f $ac_file  
     mv conftest.h $ac_file  
9092    fi    fi
9093  fi; done    cat $tmp/in >>$tmp/config.h
9094      rm -f $tmp/in
9095  EOF    if test x"$ac_file" != x-; then
9096        if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
9097          { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9098    echo "$as_me: $ac_file is unchanged" >&6;}
9099        else
9100          ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9101    $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9102             X"$ac_file" : 'X\(//\)[^/]' \| \
9103             X"$ac_file" : 'X\(//\)$' \| \
9104             X"$ac_file" : 'X\(/\)' \| \
9105             .     : '\(.\)' 2>/dev/null ||
9106    echo X"$ac_file" |
9107        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9108              /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9109              /^X\(\/\/\)$/{ s//\1/; q; }
9110              /^X\(\/\).*/{ s//\1/; q; }
9111              s/.*/./; q'`
9112          { if $as_mkdir_p; then
9113        mkdir -p "$ac_dir"
9114      else
9115        as_dir="$ac_dir"
9116        as_dirs=
9117        while test ! -d "$as_dir"; do
9118          as_dirs="$as_dir $as_dirs"
9119          as_dir=`(dirname "$as_dir") 2>/dev/null ||
9120    $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9121             X"$as_dir" : 'X\(//\)[^/]' \| \
9122             X"$as_dir" : 'X\(//\)$' \| \
9123             X"$as_dir" : 'X\(/\)' \| \
9124             .     : '\(.\)' 2>/dev/null ||
9125    echo X"$as_dir" |
9126        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9127              /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9128              /^X\(\/\/\)$/{ s//\1/; q; }
9129              /^X\(\/\).*/{ s//\1/; q; }
9130              s/.*/./; q'`
9131        done
9132        test ! -n "$as_dirs" || mkdir $as_dirs
9133      fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9134    echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9135       { (exit 1); exit 1; }; }; }
9136    
9137  cat >> $CONFIG_STATUS <<EOF        rm -f $ac_file
9138  ac_sources="$nls_cv_header_libgt"        mv $tmp/config.h $ac_file
9139  ac_dests="$nls_cv_header_intl"      fi
 EOF  
   
 cat >> $CONFIG_STATUS <<\EOF  
 srcdir=$ac_given_srcdir  
 while test -n "$ac_sources"; do  
   set $ac_dests; ac_dest=$1; shift; ac_dests=$*  
   set $ac_sources; ac_source=$1; shift; ac_sources=$*  
   
   echo "linking $srcdir/$ac_source to $ac_dest"  
   
   if test ! -r $srcdir/$ac_source; then  
     { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }  
   fi  
   rm -f $ac_dest  
   
   # Make relative symlinks.  
   # Remove last slash and all that follows it.  Not all systems have dirname.  
   ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`  
   if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then  
     # The dest file is in a subdirectory.  
     test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"  
     ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"  
     # A "../" for each directory in $ac_dest_dir_suffix.  
     ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`  
9140    else    else
9141      ac_dest_dir_suffix= ac_dots=      cat $tmp/config.h
9142        rm -f $tmp/config.h
9143    fi    fi
9144    _am_stamp_count=`expr ${_am_stamp_count-0} + 1`
9145    echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
9146    $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9147             X$ac_file : 'X\(//\)[^/]' \| \
9148             X$ac_file : 'X\(//\)$' \| \
9149             X$ac_file : 'X\(/\)' \| \
9150             .     : '\(.\)' 2>/dev/null ||
9151    echo X$ac_file |
9152        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9153              /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9154              /^X\(\/\/\)$/{ s//\1/; q; }
9155              /^X\(\/\).*/{ s//\1/; q; }
9156              s/.*/./; q'`/stamp-h$_am_stamp_count
9157    done
9158    _ACEOF
9159    cat >>$CONFIG_STATUS <<\_ACEOF
9160    
9161    case "$srcdir" in  #
9162    [/$]*) ac_rel_source="$srcdir/$ac_source" ;;  # CONFIG_COMMANDS section.
9163    *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;  #
9164    esac  for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
9165      ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
9166    # Make a symlink if possible; otherwise try a hard link.    ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
9167    if ln -s $ac_rel_source $ac_dest 2>/dev/null ||    ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
9168      ln $srcdir/$ac_source $ac_dest; then :  $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9169             X"$ac_dest" : 'X\(//\)[^/]' \| \
9170             X"$ac_dest" : 'X\(//\)$' \| \
9171             X"$ac_dest" : 'X\(/\)' \| \
9172             .     : '\(.\)' 2>/dev/null ||
9173    echo X"$ac_dest" |
9174        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9175              /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9176              /^X\(\/\/\)$/{ s//\1/; q; }
9177              /^X\(\/\).*/{ s//\1/; q; }
9178              s/.*/./; q'`
9179      ac_builddir=.
9180    
9181    if test "$ac_dir" != .; then
9182      ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9183      # A "../" for each directory in $ac_dir_suffix.
9184      ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9185    else
9186      ac_dir_suffix= ac_top_builddir=
9187    fi
9188    
9189    case $srcdir in
9190      .)  # No --srcdir option.  We are building in place.
9191        ac_srcdir=.
9192        if test -z "$ac_top_builddir"; then
9193           ac_top_srcdir=.
9194        else
9195           ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9196        fi ;;
9197      [\\/]* | ?:[\\/]* )  # Absolute path.
9198        ac_srcdir=$srcdir$ac_dir_suffix;
9199        ac_top_srcdir=$srcdir ;;
9200      *) # Relative path.
9201        ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9202        ac_top_srcdir=$ac_top_builddir$srcdir ;;
9203    esac
9204    # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
9205    # absolute.
9206    ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
9207    ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
9208    ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
9209    ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
9210    
9211    
9212      { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9213    echo "$as_me: executing $ac_dest commands" >&6;}
9214      case $ac_dest in
9215        depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
9216      # Strip MF so we end up with the name of the file.
9217      mf=`echo "$mf" | sed -e 's/:.*$//'`
9218      # Check whether this is an Automake generated Makefile or not.
9219      # We used to match only the files named `Makefile.in', but
9220      # some people rename them; so instead we look at the file content.
9221      # Grep'ing the first line is not enough: some people post-process
9222      # each Makefile.in and add a new line on top of each file to say so.
9223      # So let's grep whole file.
9224      if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
9225        dirpart=`(dirname "$mf") 2>/dev/null ||
9226    $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9227             X"$mf" : 'X\(//\)[^/]' \| \
9228             X"$mf" : 'X\(//\)$' \| \
9229             X"$mf" : 'X\(/\)' \| \
9230             .     : '\(.\)' 2>/dev/null ||
9231    echo X"$mf" |
9232        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9233              /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9234              /^X\(\/\/\)$/{ s//\1/; q; }
9235              /^X\(\/\).*/{ s//\1/; q; }
9236              s/.*/./; q'`
9237    else    else
9238      { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }      continue
9239    fi    fi
9240      grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
9241      # Extract the definition of DEP_FILES from the Makefile without
9242      # running `make'.
9243      DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
9244      test -z "$DEPDIR" && continue
9245      # When using ansi2knr, U may be empty or an underscore; expand it
9246      U=`sed -n -e '/^U = / s///p' < "$mf"`
9247      test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
9248      # We invoke sed twice because it is the simplest approach to
9249      # changing $(DEPDIR) to its actual value in the expansion.
9250      for file in `sed -n -e '
9251        /^DEP_FILES = .*\\\\$/ {
9252          s/^DEP_FILES = //
9253          :loop
9254            s/\\\\$//
9255            p
9256            n
9257            /\\\\$/ b loop
9258          p
9259        }
9260        /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
9261           sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9262        # Make sure the directory exists.
9263        test -f "$dirpart/$file" && continue
9264        fdir=`(dirname "$file") 2>/dev/null ||
9265    $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9266             X"$file" : 'X\(//\)[^/]' \| \
9267             X"$file" : 'X\(//\)$' \| \
9268             X"$file" : 'X\(/\)' \| \
9269             .     : '\(.\)' 2>/dev/null ||
9270    echo X"$file" |
9271        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9272              /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9273              /^X\(\/\/\)$/{ s//\1/; q; }
9274              /^X\(\/\).*/{ s//\1/; q; }
9275              s/.*/./; q'`
9276        { if $as_mkdir_p; then
9277        mkdir -p $dirpart/$fdir
9278      else
9279        as_dir=$dirpart/$fdir
9280        as_dirs=
9281        while test ! -d "$as_dir"; do
9282          as_dirs="$as_dir $as_dirs"
9283          as_dir=`(dirname "$as_dir") 2>/dev/null ||
9284    $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9285             X"$as_dir" : 'X\(//\)[^/]' \| \
9286             X"$as_dir" : 'X\(//\)$' \| \
9287             X"$as_dir" : 'X\(/\)' \| \
9288             .     : '\(.\)' 2>/dev/null ||
9289    echo X"$as_dir" |
9290        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9291              /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9292              /^X\(\/\/\)$/{ s//\1/; q; }
9293              /^X\(\/\).*/{ s//\1/; q; }
9294              s/.*/./; q'`
9295        done
9296        test ! -n "$as_dirs" || mkdir $as_dirs
9297      fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
9298    echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
9299       { (exit 1); exit 1; }; }; }
9300    
9301        # echo "creating $dirpart/$file"
9302        echo '# dummy' > "$dirpart/$file"
9303      done
9304    done
9305     ;;
9306        default-1 )
9307        for ac_file in $CONFIG_FILES; do
9308          # Support "outfile[:infile[:infile...]]"
9309          case "$ac_file" in
9310            *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
9311          esac
9312          # PO directories have a Makefile.in generated from Makefile.in.in.
9313          case "$ac_file" in */Makefile.in)
9314            # Adjust a relative srcdir.
9315            ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
9316            ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
9317            ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
9318            # In autoconf-2.13 it is called $ac_given_srcdir.
9319            # In autoconf-2.50 it is called $srcdir.
9320            test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
9321            case "$ac_given_srcdir" in
9322              .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
9323              /*) top_srcdir="$ac_given_srcdir" ;;
9324              *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
9325            esac
9326            if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
9327              rm -f "$ac_dir/POTFILES"
9328              test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
9329              cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
9330              # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
9331              # on $ac_dir but don't depend on user-specified configuration
9332              # parameters.
9333              if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
9334                # The LINGUAS file contains the set of available languages.
9335                if test -n "$ALL_LINGUAS"; then
9336                  test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
9337                fi
9338                ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
9339                # Hide the ALL_LINGUAS assigment from automake.
9340                eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
9341              fi
9342              case "$ac_given_srcdir" in
9343                .) srcdirpre= ;;
9344                *) srcdirpre='$(srcdir)/' ;;
9345              esac
9346              POFILES=
9347              GMOFILES=
9348              UPDATEPOFILES=
9349              DUMMYPOFILES=
9350              for lang in $ALL_LINGUAS; do
9351                POFILES="$POFILES $srcdirpre$lang.po"
9352                GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
9353                UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
9354                DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
9355              done
9356              # CATALOGS depends on both $ac_dir and the user's LINGUAS
9357              # environment variable.
9358              INST_LINGUAS=
9359              if test -n "$ALL_LINGUAS"; then
9360                for presentlang in $ALL_LINGUAS; do
9361                  useit=no
9362                  if test "%UNSET%" != "$LINGUAS"; then
9363                    desiredlanguages="$LINGUAS"
9364                  else
9365                    desiredlanguages="$ALL_LINGUAS"
9366                  fi
9367                  for desiredlang in $desiredlanguages; do
9368                    # Use the presentlang catalog if desiredlang is
9369                    #   a. equal to presentlang, or
9370                    #   b. a variant of presentlang (because in this case,
9371                    #      presentlang can be used as a fallback for messages
9372                    #      which are not translated in the desiredlang catalog).
9373                    case "$desiredlang" in
9374                      "$presentlang"*) useit=yes;;
9375                    esac
9376                  done
9377                  if test $useit = yes; then
9378                    INST_LINGUAS="$INST_LINGUAS $presentlang"
9379                  fi
9380                done
9381              fi
9382              CATALOGS=
9383              if test -n "$INST_LINGUAS"; then
9384                for lang in $INST_LINGUAS; do
9385                  CATALOGS="$CATALOGS $lang.gmo"
9386                done
9387              fi
9388              test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
9389              sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
9390              for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
9391                if test -f "$f"; then
9392                  case "$f" in
9393                    *.orig | *.bak | *~) ;;
9394                    *) cat "$f" >> "$ac_dir/Makefile" ;;
9395                  esac
9396                fi
9397              done
9398            fi
9399            ;;
9400          esac
9401        done ;;
9402      esac
9403  done  done
9404  EOF  _ACEOF
 cat >> $CONFIG_STATUS <<EOF  
9405    
9406    cat >>$CONFIG_STATUS <<\_ACEOF
9407    
9408    { (exit 0); exit 0; }
9409    _ACEOF
9410    chmod +x $CONFIG_STATUS
9411    ac_clean_files=$ac_clean_files_save
9412    
 EOF  
 cat >> $CONFIG_STATUS <<\EOF  
 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h  
 case "$CONFIG_FILES" in *po/Makefile.in*)  
         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile  
       esac  
9413    
9414  exit 0  # configure is writing to config.log, and then calls config.status.
9415  EOF  # config.status does its own redirection, appending to config.log.
9416  chmod +x $CONFIG_STATUS  # Unfortunately, on DOS this fails, as config.log is still kept open
9417  rm -fr confdefs* $ac_clean_files  # by configure, so config.status won't be able to write to it; its
9418  test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1  # output is simply discarded.  So we exec the FD to /dev/null,
9419    # effectively closing config.log, so it can be properly (re)opened and
9420    # appended to by config.status.  When coming back to configure, we
9421    # need to make the FD available again.
9422    if test "$no_create" != yes; then
9423      ac_cs_success=:
9424      ac_config_status_args=
9425      test "$silent" = yes &&
9426        ac_config_status_args="$ac_config_status_args --quiet"
9427      exec 5>/dev/null
9428      $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9429      exec 5>>config.log
9430      # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9431      # would make configure fail if this is the last instruction.
9432      $ac_cs_success || { (exit 1); exit 1; }
9433    fi
9434    
9435    
9436  echo ""  echo ""

Legend:
Removed from v.1.140  
changed lines
  Added in v.1.140.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26