/[pcre]/code/trunk/configure
ViewVC logotype

Diff of /code/trunk/configure

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

revision 53 by nigel, Sat Feb 24 21:39:42 2007 UTC revision 89 by nigel, Sat Feb 24 21:41:27 2007 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 by Autoconf 2.50.  # Generated by GNU Autoconf 2.59.
4  #  #
5  # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001  # Copyright (C) 2003 Free Software Foundation, Inc.
 # Free Software Foundation, Inc.  
6  # This configure script is free software; the Free Software Foundation  # This configure script is free software; the Free Software Foundation
7  # gives unlimited permission to copy, distribute and modify it.  # gives unlimited permission to copy, distribute and modify it.
8    ## --------------------- ##
9    ## M4sh Initialization.  ##
10    ## --------------------- ##
11    
12    # Be Bourne compatible
13    if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14      emulate sh
15      NULLCMD=:
16      # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17      # is contrary to our usage.  Disable this feature.
18      alias -g '${1+"$@"}'='"$@"'
19    elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20      set -o posix
21    fi
22    DUALCASE=1; export DUALCASE # for MKS sh
23    
24    # Support unset when possible.
25    if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26      as_unset=unset
27    else
28      as_unset=false
29    fi
30    
31    
32    # Work around bugs in pre-3.0 UWIN ksh.
33    $as_unset ENV MAIL MAILPATH
34    PS1='$ '
35    PS2='> '
36    PS4='+ '
37    
38    # NLS nuisances.
39    for as_var in \
40      LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41      LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42      LC_TELEPHONE LC_TIME
43    do
44      if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45        eval $as_var=C; export $as_var
46      else
47        $as_unset $as_var
48      fi
49    done
50    
51    # Required to use basename.
52    if expr a : '\(a\)' >/dev/null 2>&1; then
53      as_expr=expr
54    else
55      as_expr=false
56    fi
57    
58    if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59      as_basename=basename
60    else
61      as_basename=false
62    fi
63    
64  # Find the correct PATH separator.  Usually this is `:', but  
65  # DJGPP uses `;' like DOS.  # Name of the executable.
66  if test "X${PATH_SEPARATOR+set}" != Xset; then  as_me=`$as_basename "$0" ||
67    UNAME=${UNAME-`uname 2>/dev/null`}  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68    case X$UNAME in           X"$0" : 'X\(//\)$' \| \
69      *-DOS) lt_cv_sys_path_separator=';' ;;           X"$0" : 'X\(/\)$' \| \
70      *)     lt_cv_sys_path_separator=':' ;;           .     : '\(.\)' 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
98    
99    
100      as_lineno_1=$LINENO
101      as_lineno_2=$LINENO
102      as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103      test "x$as_lineno_1" != "x$as_lineno_2" &&
104      test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105      # Find who we are.  Look in the path if we contain no path at all
106      # relative or not.
107      case $0 in
108        *[\\/]* ) as_myself=$0 ;;
109        *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110    for as_dir in $PATH
111    do
112      IFS=$as_save_IFS
113      test -z "$as_dir" && as_dir=.
114      test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115    done
116    
117           ;;
118      esac
119      # We did not find ourselves, most probably we were run as `sh COMMAND'
120      # in which case we are not to be found in the path.
121      if test "x$as_myself" = x; then
122        as_myself=$0
123      fi
124      if test ! -f "$as_myself"; then
125        { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126       { (exit 1); exit 1; }; }
127      fi
128      case $CONFIG_SHELL in
129      '')
130        as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131    for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132    do
133      IFS=$as_save_IFS
134      test -z "$as_dir" && as_dir=.
135      for as_base in sh bash ksh sh5; do
136             case $as_dir in
137             /*)
138               if ("$as_dir/$as_base" -c '
139      as_lineno_1=$LINENO
140      as_lineno_2=$LINENO
141      as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142      test "x$as_lineno_1" != "x$as_lineno_2" &&
143      test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144                 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145                 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146                 CONFIG_SHELL=$as_dir/$as_base
147                 export CONFIG_SHELL
148                 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149               fi;;
150             esac
151           done
152    done
153    ;;
154    esac    esac
155    
156      # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157      # uniformly replaced by the line number.  The first 'sed' inserts a
158      # line-number line before each line; the second 'sed' does the real
159      # work.  The second script uses 'N' to pair each line-number line
160      # with the numbered line, and appends trailing '-' during
161      # substitution so that $LINENO is not a special case at line end.
162      # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163      # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164      sed '=' <$as_myself |
165        sed '
166          N
167          s,$,-,
168          : loop
169          s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170          t loop
171          s,-$,,
172          s,^['$as_cr_digits']*\n,,
173        ' >$as_me.lineno &&
174      chmod +x $as_me.lineno ||
175        { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176       { (exit 1); exit 1; }; }
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    
186    
187    case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188      *c*,-n*) ECHO_N= ECHO_C='
189    ' ECHO_T='      ' ;;
190      *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191      *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192    esac
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
209        as_ln_s='ln -s'
210      fi
211    elif ln conf$$.file conf$$ 2>/dev/null; then
212      as_ln_s=ln
213    else
214      as_ln_s='cp -p'
215    fi
216    rm -f conf$$ conf$$.exe conf$$.file
217    
218    if mkdir -p . 2>/dev/null; then
219      as_mkdir_p=:
220    else
221      test -d ./-p && rmdir ./-p
222      as_mkdir_p=false
223  fi  fi
224    
225    as_executable_p="test -f"
226    
227    # Sed expression to map a string onto a valid CPP name.
228    as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229    
230    # Sed expression to map a string onto a valid variable name.
231    as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232    
233    
234    # IFS
235    # We need space, tab and new line, in precisely that order.
236    as_nl='
237    '
238    IFS="   $as_nl"
239    
240    # CDPATH.
241    $as_unset CDPATH
242    
243    
244    
245  # Check that we are running under the correct shell.  # Check that we are running under the correct shell.
246  SHELL=${CONFIG_SHELL-/bin/sh}  SHELL=${CONFIG_SHELL-/bin/sh}
247    
# Line 34  if test "X$1" = X--no-reexec; then Line 259  if test "X$1" = X--no-reexec; then
259  elif test "X$1" = X--fallback-echo; then  elif test "X$1" = X--fallback-echo; then
260    # Avoid inline document here, it may be left over    # Avoid inline document here, it may be left over
261    :    :
262  elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then  elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
263    # Yippee, $echo works!    # Yippee, $echo works!
264    :    :
265  else  else
# Line 46  if test "X$1" = X--fallback-echo; then Line 271  if test "X$1" = X--fallback-echo; then
271    # used as fallback echo    # used as fallback echo
272    shift    shift
273    cat <<EOF    cat <<EOF
274    $*
275  EOF  EOF
276    exit 0    exit 0
277  fi  fi
278    
279  # The HP-UX ksh and POSIX shell print the target directory to stdout  # The HP-UX ksh and POSIX shell print the target directory to stdout
280  # if CDPATH is set.  # if CDPATH is set.
281  if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
282    
283  if test -z "$ECHO"; then  if test -z "$ECHO"; then
284  if test "X${echo_test_string+set}" != Xset; then  if test "X${echo_test_string+set}" != Xset; then
285  # find a string as large as possible, as long as the shell can cope with it  # find a string as large as possible, as long as the shell can cope with it
286    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288      if (echo_test_string="`eval $cmd`") 2>/dev/null &&      if (echo_test_string=`eval $cmd`) 2>/dev/null &&
289         echo_test_string="`eval $cmd`" &&         echo_test_string=`eval $cmd` &&
290         (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null         (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
291      then      then
292        break        break
# Line 80  else Line 305  else
305    #    #
306    # So, first we look for a working echo in the user's PATH.    # So, first we look for a working echo in the user's PATH.
307    
308    IFS="${IFS=   }"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
309    for dir in $PATH /usr/ucb; do    for dir in $PATH /usr/ucb; do
310        IFS="$lt_save_ifs"
311      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
312         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
313         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
# Line 90  else Line 316  else
316        break        break
317      fi      fi
318    done    done
319    IFS="$save_ifs"    IFS="$lt_save_ifs"
320    
321    if test "X$echo" = Xecho; then    if test "X$echo" = Xecho; then
322      # We didn't find a better echo, so look for alternatives.      # We didn't find a better echo, so look for alternatives.
# Line 162  if test "X$ECHO" = "X$CONFIG_SHELL $0 -- Line 388  if test "X$ECHO" = "X$CONFIG_SHELL $0 --
388     ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"     ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
389  fi  fi
390    
 # Be Bourne compatible  
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then  
   emulate sh  
   NULLCMD=:  
 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then  
   set -o posix  
 fi  
   
 # Name of the executable.  
 as_me=`echo "$0" |sed 's,.*[\\/],,'`  
   
 if expr a : '\(a\)' >/dev/null 2>&1; then  
   as_expr=expr  
 else  
   as_expr=false  
 fi  
   
 rm -f conf$$ conf$$.exe conf$$.file  
 echo >conf$$.file  
 if ln -s conf$$.file conf$$ 2>/dev/null; then  
   # We could just check for DJGPP; but this test a) works b) is more generic  
   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).  
   if test -f conf$$.exe; then  
     # Don't use ln at all; we don't have any links  
     as_ln_s='cp -p'  
   else  
     as_ln_s='ln -s'  
   fi  
 elif ln conf$$.file conf$$ 2>/dev/null; then  
   as_ln_s=ln  
 else  
   as_ln_s='cp -p'  
 fi  
 rm -f conf$$ conf$$.exe conf$$.file  
   
 as_executable_p="test -f"  
391    
 # Support unset when possible.  
 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then  
   as_unset=unset  
 else  
   as_unset=false  
 fi  
392    
 # NLS nuisances.  
 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }  
 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }  
 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }  
 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }  
 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }  
 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }  
 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }  
 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }  
393    
394  # IFS  tagnames=${tagnames+${tagnames},}CXX
 # We need space, tab and new line, in precisely that order.  
 as_nl='  
 '  
 IFS="   $as_nl"  
395    
396  # CDPATH.  tagnames=${tagnames+${tagnames},}F77
 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }  
397    
398  # Name of the host.  # Name of the host.
399  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
# Line 236  exec 6>&1 Line 406  exec 6>&1
406  # Initializations.  # Initializations.
407  #  #
408  ac_default_prefix=/usr/local  ac_default_prefix=/usr/local
409    ac_config_libobj_dir=.
410  cross_compiling=no  cross_compiling=no
411  subdirs=  subdirs=
412  MFLAGS= MAKEFLAGS=  MFLAGS=
413    MAKEFLAGS=
414  SHELL=${CONFIG_SHELL-/bin/sh}  SHELL=${CONFIG_SHELL-/bin/sh}
415    
416  # Maximum number of lines to put in a shell here document.  # Maximum number of lines to put in a shell here document.
# Line 246  SHELL=${CONFIG_SHELL-/bin/sh} Line 418  SHELL=${CONFIG_SHELL-/bin/sh}
418  # only ac_max_sed_lines should be used.  # only ac_max_sed_lines should be used.
419  : ${ac_max_here_lines=38}  : ${ac_max_here_lines=38}
420    
421  # Avoid depending upon Character Ranges.  # Identity of this package.
422  ac_cr_az='abcdefghijklmnopqrstuvwxyz'  PACKAGE_NAME=
423  ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'  PACKAGE_TARNAME=
424  ac_cr_09='0123456789'  PACKAGE_VERSION=
425  ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09  PACKAGE_STRING=
426    PACKAGE_BUGREPORT=
 # Sed expression to map a string onto a valid sh and CPP variable names.  
 ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g"  
 ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g"  
427    
428  ac_unique_file="dftables.c"  ac_unique_file="dftables.c"
429    ac_unique_file="pcre.h"
430  # Factoring default headers for most tests.  # Factoring default headers for most tests.
431  ac_includes_default="\  ac_includes_default="\
432  #include <stdio.h>  #include <stdio.h>
433  #include <sys/types.h>  #if HAVE_SYS_TYPES_H
434  #include <sys/stat.h>  # include <sys/types.h>
435    #endif
436    #if HAVE_SYS_STAT_H
437    # include <sys/stat.h>
438    #endif
439  #if STDC_HEADERS  #if STDC_HEADERS
440  # include <stdlib.h>  # include <stdlib.h>
441  # include <stddef.h>  # include <stddef.h>
# Line 275  ac_includes_default="\ Line 449  ac_includes_default="\
449  #  include <memory.h>  #  include <memory.h>
450  # endif  # endif
451  # include <string.h>  # include <string.h>
452  #else  #endif
453  # if HAVE_STRINGS_H  #if HAVE_STRINGS_H
454  #  include <strings.h>  # include <strings.h>
 # endif  
455  #endif  #endif
456  #if HAVE_INTTYPES_H  #if HAVE_INTTYPES_H
457  # include <inttypes.h>  # include <inttypes.h>
458    #else
459    # if HAVE_STDINT_H
460    #  include <stdint.h>
461    # endif
462  #endif  #endif
463  #if HAVE_UNISTD_H  #if HAVE_UNISTD_H
464  # include <unistd.h>  # include <unistd.h>
465  #endif"  #endif"
466    
467    ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL pcre_have_bits_type_traits pcre_have_type_traits MAYBE_CPP_TARGETS HAVE_CPP pcre_have_long_long pcre_have_ulong_long BUILD_EXEEXT BUILD_OBJEXT CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD CXXLDFLAGS EBCDIC HAVE_MEMMOVE HAVE_STRERROR LINK_SIZE MATCH_LIMIT MATCH_LIMIT_RECURSION NEWLINE NO_RECURSE PCRE_LIB_VERSION PCRE_POSIXLIB_VERSION PCRE_CPPLIB_VERSION PCRE_VERSION POSIX_MALLOC_THRESHOLD UCP UTF8 WIN_PREFIX ON_WINDOWS NOT_ON_WINDOWS POSIX_OBJ POSIX_LOBJ POSIX_LIB LIBOBJS LTLIBOBJS'
468    ac_subst_files=''
469    
470  # Initialize some variables set by options.  # Initialize some variables set by options.
471  ac_init_help=  ac_init_help=
472  ac_init_version=false  ac_init_version=false
# Line 325  oldincludedir='/usr/include' Line 505  oldincludedir='/usr/include'
505  infodir='${prefix}/info'  infodir='${prefix}/info'
506  mandir='${prefix}/man'  mandir='${prefix}/man'
507    
 # Identity of this package.  
 PACKAGE_NAME=  
 PACKAGE_TARNAME=  
 PACKAGE_VERSION=  
 PACKAGE_STRING=  
 PACKAGE_BUGREPORT=  
   
508  ac_prev=  ac_prev=
509  for ac_option  for ac_option
510  do  do
# Line 377  do Line 550  do
550    -disable-* | --disable-*)    -disable-* | --disable-*)
551      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
553      expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&      expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554        { echo "$as_me: error: invalid feature name: $ac_feature" >&2        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
556      ac_feature=`echo $ac_feature | sed 's/-/_/g'`      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
# Line 386  do Line 559  do
559    -enable-* | --enable-*)    -enable-* | --enable-*)
560      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
562      expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&      expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
563        { echo "$as_me: error: invalid feature name: $ac_feature" >&2        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
565      ac_feature=`echo $ac_feature | sed 's/-/_/g'`      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
# Line 464  do Line 637  do
637      with_fp=no ;;      with_fp=no ;;
638    
639    -no-create | --no-create | --no-creat | --no-crea | --no-cre \    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
640    | --no-cr | --no-c)    | --no-cr | --no-c | -n)
641      no_create=yes ;;      no_create=yes ;;
642    
643    -no-recursion | --no-recursion | --no-recursio | --no-recursi \    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
# Line 568  do Line 741  do
741    -with-* | --with-*)    -with-* | --with-*)
742      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
744      expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&      expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
745        { echo "$as_me: error: invalid package name: $ac_package" >&2        { echo "$as_me: error: invalid package name: $ac_package" >&2
746     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
747      ac_package=`echo $ac_package| sed 's/-/_/g'`      ac_package=`echo $ac_package| sed 's/-/_/g'`
# Line 581  do Line 754  do
754    -without-* | --without-*)    -without-* | --without-*)
755      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
757      expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&      expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
758        { echo "$as_me: error: invalid package name: $ac_package" >&2        { echo "$as_me: error: invalid package name: $ac_package" >&2
759     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
760      ac_package=`echo $ac_package | sed 's/-/_/g'`      ac_package=`echo $ac_package | sed 's/-/_/g'`
# Line 613  Try \`$0 --help' for more information." Line 786  Try \`$0 --help' for more information."
786    *=*)    *=*)
787      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
788      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
789      expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null &&      expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790        { echo "$as_me: error: invalid variable name: $ac_envvar" >&2        { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
792      ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`      ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
# Line 623  Try \`$0 --help' for more information." Line 796  Try \`$0 --help' for more information."
796    *)    *)
797      # FIXME: should be removed in autoconf 3.0.      # FIXME: should be removed in autoconf 3.0.
798      echo "$as_me: WARNING: you should use --build, --host, --target" >&2      echo "$as_me: WARNING: you should use --build, --host, --target" >&2
799      expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null &&      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
800        echo "$as_me: WARNING: invalid host type: $ac_option" >&2        echo "$as_me: WARNING: invalid host type: $ac_option" >&2
801      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
802      ;;      ;;
# Line 638  if test -n "$ac_prev"; then Line 811  if test -n "$ac_prev"; then
811  fi  fi
812    
813  # Be sure to have absolute paths.  # Be sure to have absolute paths.
814    for ac_var in exec_prefix prefix
815    do
816      eval ac_val=$`echo $ac_var`
817      case $ac_val in
818        [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
819        *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820       { (exit 1); exit 1; }; };;
821      esac
822    done
823    
824    # Be sure to have absolute paths.
825  for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \  for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826                localstatedir libdir includedir oldincludedir infodir mandir \                localstatedir libdir includedir oldincludedir infodir mandir
               exec_prefix prefix  
827  do  do
828    eval ac_val=$`echo $ac_var`    eval ac_val=$`echo $ac_var`
829    case $ac_val in    case $ac_val in
830      [\\/$]* | ?:[\\/]* ) ;;      [\\/$]* | ?:[\\/]* ) ;;
831      NONE ) ;;      *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2  
832     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
833    esac    esac
834  done  done
835    
836  # There might be people who depend on the old broken behavior: `$host'  # There might be people who depend on the old broken behavior: `$host'
837  # used to hold the argument of --host etc.  # used to hold the argument of --host etc.
838    # FIXME: To remove some day.
839  build=$build_alias  build=$build_alias
840  host=$host_alias  host=$host_alias
841  target=$target_alias  target=$target_alias
842    
843  # FIXME: should be removed in autoconf 3.0.  # FIXME: To remove some day.
844  if test "x$host_alias" != x; then  if test "x$host_alias" != x; then
845    if test "x$build_alias" = x; then    if test "x$build_alias" = x; then
846      cross_compiling=maybe      cross_compiling=maybe
# Line 673  test -n "$host_alias" && ac_tool_prefix= Line 856  test -n "$host_alias" && ac_tool_prefix=
856    
857  test "$silent" = yes && exec 6>/dev/null  test "$silent" = yes && exec 6>/dev/null
858    
859    
860  # Find the source files, if location was not specified.  # Find the source files, if location was not specified.
861  if test -z "$srcdir"; then  if test -z "$srcdir"; then
862    ac_srcdir_defaulted=yes    ac_srcdir_defaulted=yes
863    # Try the directory containing this script, then its parent.    # Try the directory containing this script, then its parent.
864    ac_prog=$0    ac_confdir=`(dirname "$0") 2>/dev/null ||
865    ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866    test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.           X"$0" : 'X\(//\)[^/]' \| \
867             X"$0" : 'X\(//\)$' \| \
868             X"$0" : 'X\(/\)' \| \
869             .     : '\(.\)' 2>/dev/null ||
870    echo X"$0" |
871        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872              /^X\(\/\/\)[^/].*/{ s//\1/; q; }
873              /^X\(\/\/\)$/{ s//\1/; q; }
874              /^X\(\/\).*/{ s//\1/; q; }
875              s/.*/./; q'`
876    srcdir=$ac_confdir    srcdir=$ac_confdir
877    if test ! -r $srcdir/$ac_unique_file; then    if test ! -r $srcdir/$ac_unique_file; then
878      srcdir=..      srcdir=..
# Line 689  else Line 882  else
882  fi  fi
883  if test ! -r $srcdir/$ac_unique_file; then  if test ! -r $srcdir/$ac_unique_file; then
884    if test "$ac_srcdir_defaulted" = yes; then    if test "$ac_srcdir_defaulted" = yes; then
885      { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2      { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
887    else    else
888      { echo "$as_me: error: cannot find sources in $srcdir" >&2      { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
890    fi    fi
891  fi  fi
892    (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
893      { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894       { (exit 1); exit 1; }; }
895  srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`  srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896  ac_env_build_alias_set=${build_alias+set}  ac_env_build_alias_set=${build_alias+set}
897  ac_env_build_alias_value=$build_alias  ac_env_build_alias_value=$build_alias
# Line 725  ac_env_CPPFLAGS_set=${CPPFLAGS+set} Line 921  ac_env_CPPFLAGS_set=${CPPFLAGS+set}
921  ac_env_CPPFLAGS_value=$CPPFLAGS  ac_env_CPPFLAGS_value=$CPPFLAGS
922  ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}  ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
923  ac_cv_env_CPPFLAGS_value=$CPPFLAGS  ac_cv_env_CPPFLAGS_value=$CPPFLAGS
924    ac_env_CXX_set=${CXX+set}
925    ac_env_CXX_value=$CXX
926    ac_cv_env_CXX_set=${CXX+set}
927    ac_cv_env_CXX_value=$CXX
928    ac_env_CXXFLAGS_set=${CXXFLAGS+set}
929    ac_env_CXXFLAGS_value=$CXXFLAGS
930    ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
931    ac_cv_env_CXXFLAGS_value=$CXXFLAGS
932  ac_env_CPP_set=${CPP+set}  ac_env_CPP_set=${CPP+set}
933  ac_env_CPP_value=$CPP  ac_env_CPP_value=$CPP
934  ac_cv_env_CPP_set=${CPP+set}  ac_cv_env_CPP_set=${CPP+set}
935  ac_cv_env_CPP_value=$CPP  ac_cv_env_CPP_value=$CPP
936    ac_env_CXXCPP_set=${CXXCPP+set}
937    ac_env_CXXCPP_value=$CXXCPP
938    ac_cv_env_CXXCPP_set=${CXXCPP+set}
939    ac_cv_env_CXXCPP_value=$CXXCPP
940    ac_env_F77_set=${F77+set}
941    ac_env_F77_value=$F77
942    ac_cv_env_F77_set=${F77+set}
943    ac_cv_env_F77_value=$F77
944    ac_env_FFLAGS_set=${FFLAGS+set}
945    ac_env_FFLAGS_value=$FFLAGS
946    ac_cv_env_FFLAGS_set=${FFLAGS+set}
947    ac_cv_env_FFLAGS_value=$FFLAGS
948    
949  #  #
950  # Report the --help message.  # Report the --help message.
951  #  #
952  if test "$ac_init_help" = "long"; then  if test "$ac_init_help" = "long"; then
953    # Omit some internal or obsolete options to make the list less imposing.    # Omit some internal or obsolete options to make the list less imposing.
     # The list generated by autoconf has been trimmed to remove many  
     # options that are totally irrelevant to PCRE (e.g. relating to X),  
     # or are not supported by its Makefile.  
     # The list generated by autoconf has been trimmed to remove many  
     # options that are totally irrelevant to PCRE (e.g. relating to X),  
     # or are not supported by its Makefile.  
     # The list generated by autoconf has been trimmed to remove many  
     # options that are totally irrelevant to PCRE (e.g. relating to X),  
     # or are not supported by its Makefile.  
     # The list generated by autoconf has been trimmed to remove many  
     # options that are totally irrelevant to PCRE (e.g. relating to X),  
     # or are not supported by its Makefile.  
954    # This message is too long to be a string in the A/UX 3.1 sh.    # This message is too long to be a string in the A/UX 3.1 sh.
955    cat <<EOF    cat <<_ACEOF
956  \`configure' configures this package to adapt to many kinds of systems.  \`configure' configures this package to adapt to many kinds of systems.
957    
958  Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
# Line 769  Configuration: Line 973  Configuration:
973    -n, --no-create         do not create output files    -n, --no-create         do not create output files
974        --srcdir=DIR        find the sources in DIR [configure dir or \`..']        --srcdir=DIR        find the sources in DIR [configure dir or \`..']
975    
976  EOF  _ACEOF
977    
978    cat <<EOF    cat <<_ACEOF
979  Installation directories:  Installation directories:
980    --prefix=PREFIX         install architecture-independent files in PREFIX    --prefix=PREFIX         install architecture-independent files in PREFIX
981                            [$ac_default_prefix]                            [$ac_default_prefix]
982    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
983                            [PREFIX]                            [PREFIX]
984    
985  By default, \`make install' will install all the files in  By default, \`make install' will install all the files in
986  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
# Line 787  For better control, use the options belo Line 991  For better control, use the options belo
991    
992  Fine tuning of the installation directories:  Fine tuning of the installation directories:
993    --bindir=DIR           user executables [EPREFIX/bin]    --bindir=DIR           user executables [EPREFIX/bin]
994      --sbindir=DIR          system admin executables [EPREFIX/sbin]
995      --libexecdir=DIR       program executables [EPREFIX/libexec]
996      --datadir=DIR          read-only architecture-independent data [PREFIX/share]
997      --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
998      --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
999      --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1000    --libdir=DIR           object code libraries [EPREFIX/lib]    --libdir=DIR           object code libraries [EPREFIX/lib]
1001    --includedir=DIR       C header files [PREFIX/include]    --includedir=DIR       C header files [PREFIX/include]
1002      --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1003      --infodir=DIR          info documentation [PREFIX/info]
1004    --mandir=DIR           man documentation [PREFIX/man]    --mandir=DIR           man documentation [PREFIX/man]
1005  EOF  _ACEOF
1006    
1007    cat <<\EOF    cat <<\_ACEOF
1008    
1009  EOF  System types:
1010      --build=BUILD     configure for building on BUILD [guessed]
1011      --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1012    _ACEOF
1013  fi  fi
1014    
1015  if test -n "$ac_init_help"; then  if test -n "$ac_init_help"; then
1016    
1017    cat <<\EOF    cat <<\_ACEOF
1018    
1019  Optional Features:  Optional Features:
1020    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1021    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1022    --enable-utf8           enable UTF8 support (incomplete)    --disable-cpp           disable C++ support
1023      --enable-shared[=PKGS]
1024                              build shared libraries [default=yes]
1025      --enable-static[=PKGS]
1026                              build static libraries [default=yes]
1027      --enable-fast-install[=PKGS]
1028                              optimize for fast installation [default=yes]
1029      --disable-libtool-lock  avoid locking (might break parallel builds)
1030      --enable-utf8           enable UTF8 support
1031      --enable-unicode-properties  enable Unicode properties support
1032    --enable-newline-is-cr  use CR as the newline character    --enable-newline-is-cr  use CR as the newline character
1033    --enable-newline-is-lf  use LF as the newline character    --enable-newline-is-lf  use LF as the newline character
1034    --enable-shared       build shared libraries default=yes    --enable-ebcdic         assume EBCDIC coding rather than ASCII
1035    --enable-static       build static libraries default=yes    --disable-stack-for-recursion  disable use of stack recursion when matching
   --enable-fast-install       optimize for fast installation default=yes  
   --disable-libtool-lock  avoid locking (might break parallel builds)  
1036    
1037  Optional Packages:  Optional Packages:
1038    --with-gnu-ld           assume the C compiler uses GNU ld default=no    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1039    --with-pic              try to use only PIC/non-PIC objects default=use both    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1040      --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1041      --with-pic              try to use only PIC/non-PIC objects [default=use
1042                              both]
1043      --with-tags[=TAGS]
1044                              include additional configurations [automatic]
1045      --with-posix-malloc-threshold=10  threshold for POSIX malloc usage
1046      --with-link-size=2    internal link size (2, 3, or 4 allowed)
1047      --with-match-limit=10000000  default limit on internal looping
1048      --with-match-limit-recursion=10000000  default limit on internal recursion
1049    
1050  Some influential environment variables:  Some influential environment variables:
1051    CC          C compiler command    CC          C compiler command
# Line 823  Some influential environment variables: Line 1054  Some influential environment variables:
1054                nonstandard directory <lib dir>                nonstandard directory <lib dir>
1055    CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have    CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1056                headers in a nonstandard directory <include dir>                headers in a nonstandard directory <include dir>
1057      CXX         C++ compiler command
1058      CXXFLAGS    C++ compiler flags
1059    CPP         C preprocessor    CPP         C preprocessor
1060      CXXCPP      C++ preprocessor
1061      F77         Fortran 77 compiler command
1062      FFLAGS      Fortran 77 compiler flags
1063    
1064  Use these variables to override the choices made by `configure' or to help  Use these variables to override the choices made by `configure' or to help
1065  it to find libraries and programs with nonstandard names/locations.  it to find libraries and programs with nonstandard names/locations.
1066    
1067  EOF  _ACEOF
1068  fi  fi
1069    
1070  if test "$ac_init_help" = "recursive"; then  if test "$ac_init_help" = "recursive"; then
1071    # If there are subdirs, report their specific --help.    # If there are subdirs, report their specific --help.
1072    ac_popdir=`pwd`    ac_popdir=`pwd`
1073    for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue    for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1074      cd $ac_subdir      test -d $ac_dir || continue
1075      # A "../" for each directory in /$ac_subdir.      ac_builddir=.
1076      ac_dots=`echo $ac_subdir |  
1077               sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`  if test "$ac_dir" != .; then
1078      ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1079      case $srcdir in    # A "../" for each directory in $ac_dir_suffix.
1080      .) # No --srcdir option.  We are building in place.    ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1081        ac_sub_srcdir=$srcdir ;;  else
1082      [\\/]* | ?:[\\/]* ) # Absolute path.    ac_dir_suffix= ac_top_builddir=
1083        ac_sub_srcdir=$srcdir/$ac_subdir ;;  fi
1084      *) # Relative path.  
1085        ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;  case $srcdir in
1086      esac    .)  # No --srcdir option.  We are building in place.
1087        ac_srcdir=.
1088        if test -z "$ac_top_builddir"; then
1089           ac_top_srcdir=.
1090        else
1091           ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1092        fi ;;
1093      [\\/]* | ?:[\\/]* )  # Absolute path.
1094        ac_srcdir=$srcdir$ac_dir_suffix;
1095        ac_top_srcdir=$srcdir ;;
1096      *) # Relative path.
1097        ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1098        ac_top_srcdir=$ac_top_builddir$srcdir ;;
1099    esac
1100    
1101    # Do not use `cd foo && pwd` to compute absolute paths, because
1102    # the directories may not exist.
1103    case `pwd` in
1104    .) ac_abs_builddir="$ac_dir";;
1105    *)
1106      case "$ac_dir" in
1107      .) ac_abs_builddir=`pwd`;;
1108      [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1109      *) ac_abs_builddir=`pwd`/"$ac_dir";;
1110      esac;;
1111    esac
1112    case $ac_abs_builddir in
1113    .) ac_abs_top_builddir=${ac_top_builddir}.;;
1114    *)
1115      case ${ac_top_builddir}. in
1116      .) ac_abs_top_builddir=$ac_abs_builddir;;
1117      [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1118      *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1119      esac;;
1120    esac
1121    case $ac_abs_builddir in
1122    .) ac_abs_srcdir=$ac_srcdir;;
1123    *)
1124      case $ac_srcdir in
1125      .) ac_abs_srcdir=$ac_abs_builddir;;
1126      [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1127      *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1128      esac;;
1129    esac
1130    case $ac_abs_builddir in
1131    .) ac_abs_top_srcdir=$ac_top_srcdir;;
1132    *)
1133      case $ac_top_srcdir in
1134      .) ac_abs_top_srcdir=$ac_abs_builddir;;
1135      [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1136      *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1137      esac;;
1138    esac
1139    
1140        cd $ac_dir
1141      # Check for guested configure; otherwise get Cygnus style configure.      # Check for guested configure; otherwise get Cygnus style configure.
1142      if test -f $ac_sub_srcdir/configure.gnu; then      if test -f $ac_srcdir/configure.gnu; then
1143        echo        echo
1144        $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive        $SHELL $ac_srcdir/configure.gnu  --help=recursive
1145      elif test -f $ac_sub_srcdir/configure; then      elif test -f $ac_srcdir/configure; then
1146        echo        echo
1147        $SHELL $ac_sub_srcdir/configure  --help=recursive        $SHELL $ac_srcdir/configure  --help=recursive
1148      elif test -f $ac_sub_srcdir/configure.ac ||      elif test -f $ac_srcdir/configure.ac ||
1149             test -f $ac_sub_srcdir/configure.in; then             test -f $ac_srcdir/configure.in; then
1150        echo        echo
1151        $ac_configure --help        $ac_configure --help
1152      else      else
1153        echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2        echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1154      fi      fi
1155      cd $ac_popdir      cd $ac_popdir
1156    done    done
# Line 869  fi Line 1158  fi
1158    
1159  test -n "$ac_init_help" && exit 0  test -n "$ac_init_help" && exit 0
1160  if $ac_init_version; then  if $ac_init_version; then
1161    cat <<\EOF    cat <<\_ACEOF
1162    
1163  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001  Copyright (C) 2003 Free Software Foundation, Inc.
 Free Software Foundation, Inc.  
1164  This configure script is free software; the Free Software Foundation  This configure script is free software; the Free Software Foundation
1165  gives unlimited permission to copy, distribute and modify it.  gives unlimited permission to copy, distribute and modify it.
1166  EOF  _ACEOF
1167    exit 0    exit 0
1168  fi  fi
1169  exec 5>config.log  exec 5>config.log
1170  cat >&5 <<EOF  cat >&5 <<_ACEOF
1171  This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
1172  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
1173    
1174  It was created by $as_me, which was  It was created by $as_me, which was
1175  generated by GNU Autoconf 2.50.  Invocation command line was  generated by GNU Autoconf 2.59.  Invocation command line was
1176    
1177    $ $0 $@    $ $0 $@
1178    
1179  EOF  _ACEOF
1180  {  {
1181  cat <<_ASUNAME  cat <<_ASUNAME
1182  ## ---------- ##  ## --------- ##
1183  ## Platform.  ##  ## Platform. ##
1184  ## ---------- ##  ## --------- ##
1185    
1186  hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`  hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1187  uname -m = `(uname -m) 2>/dev/null || echo unknown`  uname -m = `(uname -m) 2>/dev/null || echo unknown`
# Line 912  hostinfo = `(hostinfo) 2>/ Line 1200  hostinfo = `(hostinfo) 2>/
1200  /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`  /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1201  /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`  /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1202    
 PATH = $PATH  
   
1203  _ASUNAME  _ASUNAME
1204    
1205    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1206    for as_dir in $PATH
1207    do
1208      IFS=$as_save_IFS
1209      test -z "$as_dir" && as_dir=.
1210      echo "PATH: $as_dir"
1211    done
1212    
1213  } >&5  } >&5
1214    
1215  cat >&5 <<EOF  cat >&5 <<_ACEOF
1216  ## ------------ ##  
1217  ## Core tests.  ##  
1218  ## ------------ ##  ## ----------- ##
1219    ## Core tests. ##
1220    ## ----------- ##
1221    
1222    _ACEOF
1223    
 EOF  
1224    
1225  # Keep a trace of the command line.  # Keep a trace of the command line.
1226  # Strip out --no-create and --no-recursion so they do not pile up.  # Strip out --no-create and --no-recursion so they do not pile up.
1227    # Strip out --silent because we don't want to record it for future runs.
1228  # Also quote any args containing shell meta-characters.  # Also quote any args containing shell meta-characters.
1229    # Make two passes to allow for proper duplicate-argument suppression.
1230  ac_configure_args=  ac_configure_args=
1231    ac_configure_args0=
1232    ac_configure_args1=
1233  ac_sep=  ac_sep=
1234  for ac_arg  ac_must_keep_next=false
1235    for ac_pass in 1 2
1236  do  do
1237    case $ac_arg in    for ac_arg
1238    -no-create | --no-create | --no-creat | --no-crea | --no-cre \    do
1239    | --no-cr | --no-c) ;;      case $ac_arg in
1240    -no-recursion | --no-recursion | --no-recursio | --no-recursi \      -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1241    | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;      -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1242    *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)      | -silent | --silent | --silen | --sile | --sil)
1243      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`        continue ;;
1244      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"      *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1245      ac_sep=" " ;;        ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1246    *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"      esac
1247       ac_sep=" " ;;      case $ac_pass in
1248    esac      1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1249    # Get rid of the leading space.      2)
1250          ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1251          if test $ac_must_keep_next = true; then
1252            ac_must_keep_next=false # Got value, back to normal.
1253          else
1254            case $ac_arg in
1255              *=* | --config-cache | -C | -disable-* | --disable-* \
1256              | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1257              | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1258              | -with-* | --with-* | -without-* | --without-* | --x)
1259                case "$ac_configure_args0 " in
1260                  "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1261                esac
1262                ;;
1263              -* ) ac_must_keep_next=true ;;
1264            esac
1265          fi
1266          ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1267          # Get rid of the leading space.
1268          ac_sep=" "
1269          ;;
1270        esac
1271      done
1272  done  done
1273    $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1274    $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1275    
1276  # When interrupted or exit'd, cleanup temporary files, and complete  # When interrupted or exit'd, cleanup temporary files, and complete
1277  # config.log.  We remove comments because anyway the quotes in there  # config.log.  We remove comments because anyway the quotes in there
1278  # would cause problems or look ugly.  # would cause problems or look ugly.
1279    # WARNING: Be sure not to use single quotes in there, as some shells,
1280    # such as our DU 5.0 friend, will then `close' the trap.
1281  trap 'exit_status=$?  trap 'exit_status=$?
1282    # Save into config.log some information that might help in debugging.    # Save into config.log some information that might help in debugging.
1283    echo >&5    {
1284    echo "## ----------------- ##" >&5      echo
1285    echo "## Cache variables.  ##" >&5  
1286    echo "## ----------------- ##" >&5      cat <<\_ASBOX
1287    echo >&5  ## ---------------- ##
1288    # The following way of writing the cache mishandles newlines in values,  ## Cache variables. ##
1289    ## ---------------- ##
1290    _ASBOX
1291        echo
1292        # The following way of writing the cache mishandles newlines in values,
1293  {  {
1294    (set) 2>&1 |    (set) 2>&1 |
1295      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1296      *ac_space=\ *)      *ac_space=\ *)
1297        sed -n \        sed -n \
1298          "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;          "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1299            s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1300        ;;        ;;
1301      *)      *)
1302        sed -n \        sed -n \
1303          "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1304        ;;        ;;
1305      esac;      esac;
1306  } >&5  }
1307    sed "/^$/d" confdefs.h >conftest.log      echo
1308    if test -s conftest.log; then  
1309      echo >&5      cat <<\_ASBOX
1310      echo "## ------------ ##" >&5  ## ----------------- ##
1311      echo "## confdefs.h.  ##" >&5  ## Output variables. ##
1312      echo "## ------------ ##" >&5  ## ----------------- ##
1313      echo >&5  _ASBOX
1314      cat conftest.log >&5      echo
1315    fi      for ac_var in $ac_subst_vars
1316    (echo; echo) >&5      do
1317    test "$ac_signal" != 0 &&        eval ac_val=$`echo $ac_var`
1318      echo "$as_me: caught signal $ac_signal" >&5        echo "$ac_var='"'"'$ac_val'"'"'"
1319    echo "$as_me: exit $exit_status" >&5      done | sort
1320    rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&      echo
1321    
1322        if test -n "$ac_subst_files"; then
1323          cat <<\_ASBOX
1324    ## ------------- ##
1325    ## Output files. ##
1326    ## ------------- ##
1327    _ASBOX
1328          echo
1329          for ac_var in $ac_subst_files
1330          do
1331            eval ac_val=$`echo $ac_var`
1332            echo "$ac_var='"'"'$ac_val'"'"'"
1333          done | sort
1334          echo
1335        fi
1336    
1337        if test -s confdefs.h; then
1338          cat <<\_ASBOX
1339    ## ----------- ##
1340    ## confdefs.h. ##
1341    ## ----------- ##
1342    _ASBOX
1343          echo
1344          sed "/^$/d" confdefs.h | sort
1345          echo
1346        fi
1347        test "$ac_signal" != 0 &&
1348          echo "$as_me: caught signal $ac_signal"
1349        echo "$as_me: exit $exit_status"
1350      } >&5
1351      rm -f core *.core &&
1352      rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1353      exit $exit_status      exit $exit_status
1354       ' 0       ' 0
1355  for ac_signal in 1 2 13 15; do  for ac_signal in 1 2 13 15; do
1356    trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal    trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1357  done  done
1358  ac_signal=0  ac_signal=0
1359    
# Line 997  rm -rf conftest* confdefs.h Line 1362  rm -rf conftest* confdefs.h
1362  # AIX cpp loses on an empty file, so make sure it contains at least a newline.  # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1363  echo >confdefs.h  echo >confdefs.h
1364    
1365  # Let the site file select an alternate cache file if it wants to.  # Predefined preprocessor variables.
1366  # Prefer explicitly selected file to automatically selected ones.  
1367  if test -z "$CONFIG_SITE"; then  cat >>confdefs.h <<_ACEOF
1368    #define PACKAGE_NAME "$PACKAGE_NAME"
1369    _ACEOF
1370    
1371    
1372    cat >>confdefs.h <<_ACEOF
1373    #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1374    _ACEOF
1375    
1376    
1377    cat >>confdefs.h <<_ACEOF
1378    #define PACKAGE_VERSION "$PACKAGE_VERSION"
1379    _ACEOF
1380    
1381    
1382    cat >>confdefs.h <<_ACEOF
1383    #define PACKAGE_STRING "$PACKAGE_STRING"
1384    _ACEOF
1385    
1386    
1387    cat >>confdefs.h <<_ACEOF
1388    #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1389    _ACEOF
1390    
1391    
1392    # Let the site file select an alternate cache file if it wants to.
1393    # Prefer explicitly selected file to automatically selected ones.
1394    if test -z "$CONFIG_SITE"; then
1395    if test "x$prefix" != xNONE; then    if test "x$prefix" != xNONE; then
1396      CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"      CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1397    else    else
# Line 1008  if test -z "$CONFIG_SITE"; then Line 1400  if test -z "$CONFIG_SITE"; then
1400  fi  fi
1401  for ac_site_file in $CONFIG_SITE; do  for ac_site_file in $CONFIG_SITE; do
1402    if test -r "$ac_site_file"; then    if test -r "$ac_site_file"; then
1403      { echo "$as_me:1012: loading site script $ac_site_file" >&5      { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1404  echo "$as_me: loading site script $ac_site_file" >&6;}  echo "$as_me: loading site script $ac_site_file" >&6;}
1405      cat "$ac_site_file" >&5      sed 's/^/| /' "$ac_site_file" >&5
1406      . "$ac_site_file"      . "$ac_site_file"
1407    fi    fi
1408  done  done
# Line 1019  if test -r "$cache_file"; then Line 1411  if test -r "$cache_file"; then
1411    # Some versions of bash will fail to source /dev/null (special    # Some versions of bash will fail to source /dev/null (special
1412    # files actually), so we avoid doing that.    # files actually), so we avoid doing that.
1413    if test -f "$cache_file"; then    if test -f "$cache_file"; then
1414      { echo "$as_me:1023: loading cache $cache_file" >&5      { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1415  echo "$as_me: loading cache $cache_file" >&6;}  echo "$as_me: loading cache $cache_file" >&6;}
1416      case $cache_file in      case $cache_file in
1417        [\\/]* | ?:[\\/]* ) . $cache_file;;        [\\/]* | ?:[\\/]* ) . $cache_file;;
# Line 1027  echo "$as_me: loading cache $cache_file" Line 1419  echo "$as_me: loading cache $cache_file"
1419      esac      esac
1420    fi    fi
1421  else  else
1422    { echo "$as_me:1031: creating cache $cache_file" >&5    { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1423  echo "$as_me: creating cache $cache_file" >&6;}  echo "$as_me: creating cache $cache_file" >&6;}
1424    >$cache_file    >$cache_file
1425  fi  fi
1426    
1427  # Check that the precious variables saved in the cache have kept the same  # Check that the precious variables saved in the cache have kept the same
1428  # value.  # value.
1429  ac_suggest_removing_cache=false  ac_cache_corrupted=false
1430  for ac_var in `(set) 2>&1 |  for ac_var in `(set) 2>&1 |
1431                 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do                 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1432    eval ac_old_set=\$ac_cv_env_${ac_var}_set    eval ac_old_set=\$ac_cv_env_${ac_var}_set
1433    eval ac_new_set=\$ac_env_${ac_var}_set    eval ac_new_set=\$ac_env_${ac_var}_set
1434    eval ac_old_val="\$ac_cv_env_${ac_var}_value"    eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1435    eval ac_new_val="\$ac_env_${ac_var}_value"    eval ac_new_val="\$ac_env_${ac_var}_value"
1436    case $ac_old_set,$ac_new_set in    case $ac_old_set,$ac_new_set in
1437      set,)      set,)
1438        { echo "$as_me:1047: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5        { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1439  echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}  echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1440        ac_suggest_removing_cache=: ;;        ac_cache_corrupted=: ;;
1441      ,set)      ,set)
1442        { echo "$as_me:1051: WARNING: \`$ac_var' was not set in the previous run" >&5        { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1443  echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;}  echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1444        ac_suggest_removing_cache=: ;;        ac_cache_corrupted=: ;;
1445      ,);;      ,);;
1446      *)      *)
1447        if test "x$ac_old_val" != "x$ac_new_val"; then        if test "x$ac_old_val" != "x$ac_new_val"; then
1448          { echo "$as_me:1057: WARNING: \`$ac_var' has changed since the previous run:" >&5          { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1449  echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;}  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1450          { echo "$as_me:1059: WARNING:   former value:  $ac_old_val" >&5          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1451  echo "$as_me: WARNING:   former value:  $ac_old_val" >&2;}  echo "$as_me:   former value:  $ac_old_val" >&2;}
1452          { echo "$as_me:1061: WARNING:   current value: $ac_new_val" >&5          { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1453  echo "$as_me: WARNING:   current value: $ac_new_val" >&2;}  echo "$as_me:   current value: $ac_new_val" >&2;}
1454          ac_suggest_removing_cache=:          ac_cache_corrupted=:
1455        fi;;        fi;;
1456    esac    esac
1457      # Pass precious variables to config.status.
1458      if test "$ac_new_set" = set; then
1459        case $ac_new_val in
1460        *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1461          ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1462        *) ac_arg=$ac_var=$ac_new_val ;;
1463        esac
1464        case " $ac_configure_args " in
1465          *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1466          *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1467        esac
1468      fi
1469  done  done
1470  if $ac_suggest_removing_cache; then  if $ac_cache_corrupted; then
1471    { echo "$as_me:1068: WARNING: changes in the environment can compromise the build" >&5    { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1472  echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;}  echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1473    { echo "$as_me:1070: WARNING: consider removing $cache_file and starting over" >&5    { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1474  echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;}  echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1475       { (exit 1); exit 1; }; }
1476  fi  fi
1477    
1478  ac_ext=c  ac_ext=c
# Line 1076  ac_compile='$CC -c $CFLAGS $CPPFLAGS con Line 1481  ac_compile='$CC -c $CFLAGS $CPPFLAGS con
1481  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1482  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1483    
 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in  
   *c*,-n*) ECHO_N= ECHO_C='  
 ' ECHO_T='      ' ;;  
   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;  
   *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;  
 esac  
 echo "#! $SHELL" >conftest.sh  
 echo  "exit 0"   >>conftest.sh  
 chmod +x conftest.sh  
 if { (echo "$as_me:1089: PATH=\".;.\"; conftest.sh") >&5  
   (PATH=".;."; conftest.sh) 2>&5  
   ac_status=$?  
   echo "$as_me:1092: \$? = $ac_status" >&5  
   (exit $ac_status); }; then  
   ac_path_separator=';'  
 else  
   ac_path_separator=:  
 fi  
 PATH_SEPARATOR="$ac_path_separator"  
 rm -f conftest.sh  
1484    
 ac_config_headers="$ac_config_headers config.h:config.in"  
1485    
1486  PCRE_MAJOR=3  
1487  PCRE_MINOR=5  
1488  PCRE_DATE=15-Aug-2001  
1489  PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}  
1490    
1491    
1492    
1493    
1494    
1495    
1496    
1497    
1498    
1499    
1500    
1501    
1502    
1503    
1504    
1505    
1506    
1507              ac_config_headers="$ac_config_headers config.h"
1508    
1509    
1510    
1511    POSIX_MALLOC_THRESHOLD=-DPOSIX_MALLOC_THRESHOLD=10
1512    
1513    
1514  PCRE_LIB_VERSION=0:1:0  PCRE_LIB_VERSION=0:1:0
1515  PCRE_POSIXLIB_VERSION=0:0:0  PCRE_POSIXLIB_VERSION=0:0:0
1516    PCRE_CPPLIB_VERSION=0:0:0
1517    
1518    
1519    PCRE_MAJOR=`grep '#define PCRE_MAJOR' ${srcdir}/pcre.h | cut -c 29-`
1520    PCRE_MINOR=`grep '#define PCRE_MINOR' ${srcdir}/pcre.h | cut -c 29-`
1521    PCRE_PRERELEASE=`grep '#define PCRE_PRERELEASE' ${srcdir}/pcre.h | cut -c 29-`
1522    PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}${PCRE_PRERELEASE}
1523    
1524    
1525    # Check whether --enable-cpp or --disable-cpp was given.
1526    if test "${enable_cpp+set}" = set; then
1527      enableval="$enable_cpp"
1528      want_cpp="$enableval"
1529    else
1530      want_cpp=yes
1531    fi;
1532    
1533    
1534  ac_ext=c  ac_ext=c
1535  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
# Line 1115  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 1539  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1539  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
1540    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1541  set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
1542  echo "$as_me:1119: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1543  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1544  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1545    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1123  else Line 1547  else
1547    if test -n "$CC"; then    if test -n "$CC"; then
1548    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1549  else  else
1550    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1551  ac_dummy="$PATH"  for as_dir in $PATH
1552  for ac_dir in $ac_dummy; do  do
1553    IFS=$ac_save_IFS    IFS=$as_save_IFS
1554    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
1555    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
1556  ac_cv_prog_CC="${ac_tool_prefix}gcc"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1557  echo "$as_me:1134: found $ac_dir/$ac_word" >&5      ac_cv_prog_CC="${ac_tool_prefix}gcc"
1558  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1559        break 2
1560      fi
1561    done
1562  done  done
1563    
1564  fi  fi
1565  fi  fi
1566  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1567  if test -n "$CC"; then  if test -n "$CC"; then
1568    echo "$as_me:1142: result: $CC" >&5    echo "$as_me:$LINENO: result: $CC" >&5
1569  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
1570  else  else
1571    echo "$as_me:1145: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1572  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1573  fi  fi
1574    
# Line 1150  if test -z "$ac_cv_prog_CC"; then Line 1577  if test -z "$ac_cv_prog_CC"; then
1577    ac_ct_CC=$CC    ac_ct_CC=$CC
1578    # Extract the first word of "gcc", so it can be a program name with args.    # Extract the first word of "gcc", so it can be a program name with args.
1579  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1580  echo "$as_me:1154: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1581  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1582  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1583    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1158  else Line 1585  else
1585    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
1586    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1587  else  else
1588    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1589  ac_dummy="$PATH"  for as_dir in $PATH
1590  for ac_dir in $ac_dummy; do  do
1591    IFS=$ac_save_IFS    IFS=$as_save_IFS
1592    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
1593    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
1594  ac_cv_prog_ac_ct_CC="gcc"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1595  echo "$as_me:1169: found $ac_dir/$ac_word" >&5      ac_cv_prog_ac_ct_CC="gcc"
1596  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1597        break 2
1598      fi
1599    done
1600  done  done
1601    
1602  fi  fi
1603  fi  fi
1604  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1605  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
1606    echo "$as_me:1177: result: $ac_ct_CC" >&5    echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1607  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
1608  else  else
1609    echo "$as_me:1180: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1610  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1611  fi  fi
1612    
# Line 1189  if test -z "$CC"; then Line 1619  if test -z "$CC"; then
1619    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
1620    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1621  set dummy ${ac_tool_prefix}cc; ac_word=$2  set dummy ${ac_tool_prefix}cc; ac_word=$2
1622  echo "$as_me:1193: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1623  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1624  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1625    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1197  else Line 1627  else
1627    if test -n "$CC"; then    if test -n "$CC"; then
1628    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1629  else  else
1630    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1631  ac_dummy="$PATH"  for as_dir in $PATH
1632  for ac_dir in $ac_dummy; do  do
1633    IFS=$ac_save_IFS    IFS=$as_save_IFS
1634    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
1635    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
1636  ac_cv_prog_CC="${ac_tool_prefix}cc"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1637  echo "$as_me:1208: found $ac_dir/$ac_word" >&5      ac_cv_prog_CC="${ac_tool_prefix}cc"
1638  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1639        break 2
1640      fi
1641    done
1642  done  done
1643    
1644  fi  fi
1645  fi  fi
1646  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1647  if test -n "$CC"; then  if test -n "$CC"; then
1648    echo "$as_me:1216: result: $CC" >&5    echo "$as_me:$LINENO: result: $CC" >&5
1649  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
1650  else  else
1651    echo "$as_me:1219: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1652  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1653  fi  fi
1654    
# Line 1224  if test -z "$ac_cv_prog_CC"; then Line 1657  if test -z "$ac_cv_prog_CC"; then
1657    ac_ct_CC=$CC    ac_ct_CC=$CC
1658    # 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.
1659  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1660  echo "$as_me:1228: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1661  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1662  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1663    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1232  else Line 1665  else
1665    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
1666    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1667  else  else
1668    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1669  ac_dummy="$PATH"  for as_dir in $PATH
1670  for ac_dir in $ac_dummy; do  do
1671    IFS=$ac_save_IFS    IFS=$as_save_IFS
1672    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
1673    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
1674  ac_cv_prog_ac_ct_CC="cc"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1675  echo "$as_me:1243: found $ac_dir/$ac_word" >&5      ac_cv_prog_ac_ct_CC="cc"
1676  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1677        break 2
1678      fi
1679    done
1680  done  done
1681    
1682  fi  fi
1683  fi  fi
1684  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1685  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
1686    echo "$as_me:1251: result: $ac_ct_CC" >&5    echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1687  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
1688  else  else
1689    echo "$as_me:1254: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1690  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1691  fi  fi
1692    
# Line 1263  fi Line 1699  fi
1699  if test -z "$CC"; then  if test -z "$CC"; then
1700    # 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.
1701  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1702  echo "$as_me:1267: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1703  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1704  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1705    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1272  else Line 1708  else
1708    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1709  else  else
1710    ac_prog_rejected=no    ac_prog_rejected=no
1711    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1712  ac_dummy="$PATH"  for as_dir in $PATH
1713  for ac_dir in $ac_dummy; do  do
1714    IFS=$ac_save_IFS    IFS=$as_save_IFS
1715    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
1716    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
1717  if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1718    ac_prog_rejected=yes      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1719    continue         ac_prog_rejected=yes
1720  fi         continue
1721  ac_cv_prog_CC="cc"       fi
1722  echo "$as_me:1287: found $ac_dir/$ac_word" >&5      ac_cv_prog_CC="cc"
1723  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1724        break 2
1725      fi
1726    done
1727  done  done
1728    
1729  if test $ac_prog_rejected = yes; then  if test $ac_prog_rejected = yes; then
# Line 1296  if test $ac_prog_rejected = yes; then Line 1735  if test $ac_prog_rejected = yes; then
1735      # However, it has the same basename, so the bogon will be chosen      # However, it has the same basename, so the bogon will be chosen
1736      # 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.
1737      shift      shift
1738      set dummy "$ac_dir/$ac_word" ${1+"$@"}      ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
     shift  
     ac_cv_prog_CC="$@"  
1739    fi    fi
1740  fi  fi
1741  fi  fi
1742  fi  fi
1743  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1744  if test -n "$CC"; then  if test -n "$CC"; then
1745    echo "$as_me:1309: result: $CC" >&5    echo "$as_me:$LINENO: result: $CC" >&5
1746  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
1747  else  else
1748    echo "$as_me:1312: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1749  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1750  fi  fi
1751    
# Line 1319  if test -z "$CC"; then Line 1756  if test -z "$CC"; then
1756    do    do
1757      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1758  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1759  echo "$as_me:1323: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1760  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1761  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1762    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1327  else Line 1764  else
1764    if test -n "$CC"; then    if test -n "$CC"; then
1765    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1766  else  else
1767    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1768  ac_dummy="$PATH"  for as_dir in $PATH
1769  for ac_dir in $ac_dummy; do  do
1770    IFS=$ac_save_IFS    IFS=$as_save_IFS
1771    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
1772    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
1773  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1774  echo "$as_me:1338: found $ac_dir/$ac_word" >&5      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1775  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1776        break 2
1777      fi
1778    done
1779  done  done
1780    
1781  fi  fi
1782  fi  fi
1783  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1784  if test -n "$CC"; then  if test -n "$CC"; then
1785    echo "$as_me:1346: result: $CC" >&5    echo "$as_me:$LINENO: result: $CC" >&5
1786  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
1787  else  else
1788    echo "$as_me:1349: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1789  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1790  fi  fi
1791    
# Line 1358  if test -z "$CC"; then Line 1798  if test -z "$CC"; then
1798  do  do
1799    # 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.
1800  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1801  echo "$as_me:1362: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1802  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1803  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1804    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1366  else Line 1806  else
1806    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
1807    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1808  else  else
1809    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1810  ac_dummy="$PATH"  for as_dir in $PATH
1811  for ac_dir in $ac_dummy; do  do
1812    IFS=$ac_save_IFS    IFS=$as_save_IFS
1813    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
1814    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
1815  ac_cv_prog_ac_ct_CC="$ac_prog"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1816  echo "$as_me:1377: found $ac_dir/$ac_word" >&5      ac_cv_prog_ac_ct_CC="$ac_prog"
1817  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1818        break 2
1819      fi
1820    done
1821  done  done
1822    
1823  fi  fi
1824  fi  fi
1825  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1826  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
1827    echo "$as_me:1385: result: $ac_ct_CC" >&5    echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1828  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
1829  else  else
1830    echo "$as_me:1388: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1831  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1832  fi  fi
1833    
# Line 1396  fi Line 1839  fi
1839    
1840  fi  fi
1841    
1842  test -z "$CC" && { { echo "$as_me:1400: error: no acceptable cc found in \$PATH" >&5  
1843  echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}  test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1844    See \`config.log' for more details." >&5
1845    echo "$as_me: error: no acceptable C compiler found in \$PATH
1846    See \`config.log' for more details." >&2;}
1847     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1848    
1849    # Provide some information about the compiler.
1850    echo "$as_me:$LINENO:" \
1851         "checking for C compiler version" >&5
1852    ac_compiler=`set X $ac_compile; echo $2`
1853    { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1854      (eval $ac_compiler --version </dev/null >&5) 2>&5
1855      ac_status=$?
1856      echo "$as_me:$LINENO: \$? = $ac_status" >&5
1857      (exit $ac_status); }
1858    { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1859      (eval $ac_compiler -v </dev/null >&5) 2>&5
1860      ac_status=$?
1861      echo "$as_me:$LINENO: \$? = $ac_status" >&5
1862      (exit $ac_status); }
1863    { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1864      (eval $ac_compiler -V </dev/null >&5) 2>&5
1865      ac_status=$?
1866      echo "$as_me:$LINENO: \$? = $ac_status" >&5
1867      (exit $ac_status); }
1868    
1869  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
1870  #line 1405 "configure"  /* confdefs.h.  */
1871  #include "confdefs.h"  _ACEOF
1872    cat confdefs.h >>conftest.$ac_ext
1873    cat >>conftest.$ac_ext <<_ACEOF
1874    /* end confdefs.h.  */
1875    
1876  int  int
1877  main ()  main ()
# Line 1413  main () Line 1882  main ()
1882  }  }
1883  _ACEOF  _ACEOF
1884  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
1885  ac_clean_files="$ac_clean_files a.out a.exe"  ac_clean_files="$ac_clean_files a.out a.exe b.out"
1886  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
1887  # It will help us diagnose broken compiler, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
1888  # of exeext.  # of exeext.
1889  echo "$as_me:1421: checking for C compiler default output" >&5  echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1890  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6  echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1891  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1892  if { (eval echo "$as_me:1424: \"$ac_link_default\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1893    (eval $ac_link_default) 2>&5    (eval $ac_link_default) 2>&5
1894    ac_status=$?    ac_status=$?
1895    echo "$as_me:1427: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
1896    (exit $ac_status); }; then    (exit $ac_status); }; then
1897    for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do    # Find the output, starting from the most likely.  This scheme is
1898    # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1899    # resort.
1900    
1901    # Be careful to initialize this variable, since it used to be cached.
1902    # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1903    ac_cv_exeext=
1904    # b.out is created by i960 compilers.
1905    for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1906    do
1907      test -f "$ac_file" || continue
1908    case $ac_file in    case $ac_file in
1909      *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1910      a.out ) # We found the default executable, but exeext='' is most          ;;
1911              # certainly right.      conftest.$ac_ext )
1912              break;;          # This is the source file.
1913      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`          ;;
1914            export ac_cv_exeext      [ab].out )
1915            break;;          # We found the default executable, but exeext='' is most
1916      * ) break;;          # certainly right.
1917            break;;
1918        *.* )
1919            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1920            # FIXME: I believe we export ac_cv_exeext for Libtool,
1921            # but it would be cool to find out if it's true.  Does anybody
1922            # maintain Libtool? --akim.
1923            export ac_cv_exeext
1924            break;;
1925        * )
1926            break;;
1927    esac    esac
1928  done  done
1929  else  else
1930    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
1931  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
1932  { { echo "$as_me:1444: error: C compiler cannot create executables" >&5  
1933  echo "$as_me: error: C compiler cannot create executables" >&2;}  { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1934    See \`config.log' for more details." >&5
1935    echo "$as_me: error: C compiler cannot create executables
1936    See \`config.log' for more details." >&2;}
1937     { (exit 77); exit 77; }; }     { (exit 77); exit 77; }; }
1938  fi  fi
1939    
1940  ac_exeext=$ac_cv_exeext  ac_exeext=$ac_cv_exeext
1941  echo "$as_me:1450: result: $ac_file" >&5  echo "$as_me:$LINENO: result: $ac_file" >&5
1942  echo "${ECHO_T}$ac_file" >&6  echo "${ECHO_T}$ac_file" >&6
1943    
1944  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
1945  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
1946  echo "$as_me:1455: checking whether the C compiler works" >&5  echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1947  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1948  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1949  # If not cross compiling, check that we can run a simple program.  # If not cross compiling, check that we can run a simple program.
1950  if test "$cross_compiling" != yes; then  if test "$cross_compiling" != yes; then
1951    if { ac_try='./$ac_file'    if { ac_try='./$ac_file'
1952    { (eval echo "$as_me:1461: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1953    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
1954    ac_status=$?    ac_status=$?
1955    echo "$as_me:1464: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
1956    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
1957      cross_compiling=no      cross_compiling=no
1958    else    else
1959      if test "$cross_compiling" = maybe; then      if test "$cross_compiling" = maybe; then
1960          cross_compiling=yes          cross_compiling=yes
1961      else      else
1962          { { echo "$as_me:1471: error: cannot run C compiled programs.          { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1963  If you meant to cross compile, use \`--host'." >&5  If you meant to cross compile, use \`--host'.
1964    See \`config.log' for more details." >&5
1965  echo "$as_me: error: cannot run C compiled programs.  echo "$as_me: error: cannot run C compiled programs.
1966  If you meant to cross compile, use \`--host'." >&2;}  If you meant to cross compile, use \`--host'.
1967    See \`config.log' for more details." >&2;}
1968     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1969      fi      fi
1970    fi    fi
1971  fi  fi
1972  echo "$as_me:1479: result: yes" >&5  echo "$as_me:$LINENO: result: yes" >&5
1973  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
1974    
1975  rm -f a.out a.exe conftest$ac_cv_exeext  rm -f a.out a.exe conftest$ac_cv_exeext b.out
1976  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
1977  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
1978  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
1979  echo "$as_me:1486: checking whether we are cross compiling" >&5  echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1980  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1981  echo "$as_me:1488: result: $cross_compiling" >&5  echo "$as_me:$LINENO: result: $cross_compiling" >&5
1982  echo "${ECHO_T}$cross_compiling" >&6  echo "${ECHO_T}$cross_compiling" >&6
1983    
1984  echo "$as_me:1491: checking for executable suffix" >&5  echo "$as_me:$LINENO: checking for suffix of executables" >&5
1985  echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6  echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1986  if { (eval echo "$as_me:1493: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1987    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
1988    ac_status=$?    ac_status=$?
1989    echo "$as_me:1496: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
1990    (exit $ac_status); }; then    (exit $ac_status); }; then
1991    # If both `conftest.exe' and `conftest' are `present' (well, observable)    # If both `conftest.exe' and `conftest' are `present' (well, observable)
1992  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1993  # work properly (i.e., refer to `conftest.exe'), while it won't with  # work properly (i.e., refer to `conftest.exe'), while it won't with
1994  # `rm'.  # `rm'.
1995  for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do  for ac_file in conftest.exe conftest conftest.*; do
1996      test -f "$ac_file" || continue
1997    case $ac_file in    case $ac_file in
1998      *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1999      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2000            export ac_cv_exeext            export ac_cv_exeext
2001            break;;            break;;
2002      * ) break;;      * ) break;;
2003    esac    esac
2004  done  done
2005  else  else
2006    { { echo "$as_me:1512: error: cannot compute EXEEXT: cannot compile and link" >&5    { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2007  echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}  See \`config.log' for more details." >&5
2008    echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2009    See \`config.log' for more details." >&2;}
2010     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2011  fi  fi
2012    
2013  rm -f conftest$ac_cv_exeext  rm -f conftest$ac_cv_exeext
2014  echo "$as_me:1518: result: $ac_cv_exeext" >&5  echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2015  echo "${ECHO_T}$ac_cv_exeext" >&6  echo "${ECHO_T}$ac_cv_exeext" >&6
2016    
2017  rm -f conftest.$ac_ext  rm -f conftest.$ac_ext
2018  EXEEXT=$ac_cv_exeext  EXEEXT=$ac_cv_exeext
2019  ac_exeext=$EXEEXT  ac_exeext=$EXEEXT
2020  echo "$as_me:1524: checking for object suffix" >&5  echo "$as_me:$LINENO: checking for suffix of object files" >&5
2021  echo $ECHO_N "checking for object suffix... $ECHO_C" >&6  echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2022  if test "${ac_cv_objext+set}" = set; then  if test "${ac_cv_objext+set}" = set; then
2023    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2024  else  else
2025    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2026  #line 1530 "configure"  /* confdefs.h.  */
2027  #include "confdefs.h"  _ACEOF
2028    cat confdefs.h >>conftest.$ac_ext
2029    cat >>conftest.$ac_ext <<_ACEOF
2030    /* end confdefs.h.  */
2031    
2032  int  int
2033  main ()  main ()
# Line 1538  main () Line 2038  main ()
2038  }  }
2039  _ACEOF  _ACEOF
2040  rm -f conftest.o conftest.obj  rm -f conftest.o conftest.obj
2041  if { (eval echo "$as_me:1542: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2042    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2043    ac_status=$?    ac_status=$?
2044    echo "$as_me:1545: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2045    (exit $ac_status); }; then    (exit $ac_status); }; then
2046    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2047    case $ac_file in    case $ac_file in
2048      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2049      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2050         break;;         break;;
2051    esac    esac
2052  done  done
2053  else  else
2054    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2055  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2056  { { echo "$as_me:1557: error: cannot compute OBJEXT: cannot compile" >&5  
2057  echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}  { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2058    See \`config.log' for more details." >&5
2059    echo "$as_me: error: cannot compute suffix of object files: cannot compile
2060    See \`config.log' for more details." >&2;}
2061     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2062  fi  fi
2063    
2064  rm -f conftest.$ac_cv_objext conftest.$ac_ext  rm -f conftest.$ac_cv_objext conftest.$ac_ext
2065  fi  fi
2066  echo "$as_me:1564: result: $ac_cv_objext" >&5  echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2067  echo "${ECHO_T}$ac_cv_objext" >&6  echo "${ECHO_T}$ac_cv_objext" >&6
2068  OBJEXT=$ac_cv_objext  OBJEXT=$ac_cv_objext
2069  ac_objext=$OBJEXT  ac_objext=$OBJEXT
2070  echo "$as_me:1568: checking whether we are using the GNU C compiler" >&5  echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2071  echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6  echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2072  if test "${ac_cv_c_compiler_gnu+set}" = set; then  if test "${ac_cv_c_compiler_gnu+set}" = set; then
2073    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2074  else  else
2075    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2076  #line 1574 "configure"  /* confdefs.h.  */
2077  #include "confdefs.h"  _ACEOF
2078    cat confdefs.h >>conftest.$ac_ext
2079    cat >>conftest.$ac_ext <<_ACEOF
2080    /* end confdefs.h.  */
2081    
2082  int  int
2083  main ()  main ()
# Line 1585  main () Line 2091  main ()
2091  }  }
2092  _ACEOF  _ACEOF
2093  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2094  if { (eval echo "$as_me:1589: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2095    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2096    ac_status=$?    ac_status=$?
2097    echo "$as_me:1592: \$? = $ac_status" >&5    grep -v '^ *+' conftest.er1 >conftest.err
2098      rm -f conftest.er1
2099      cat conftest.err >&5
2100      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2101    (exit $ac_status); } &&    (exit $ac_status); } &&
2102           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2103    { (eval echo "$as_me:1595: \"$ac_try\"") >&5                           || test ! -s conftest.err'
2104      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2105      (eval $ac_try) 2>&5
2106      ac_status=$?
2107      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2108      (exit $ac_status); }; } &&
2109             { ac_try='test -s conftest.$ac_objext'
2110      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2111    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2112    ac_status=$?    ac_status=$?
2113    echo "$as_me:1598: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2114    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2115    ac_compiler_gnu=yes    ac_compiler_gnu=yes
2116  else  else
2117    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2118  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2119    
2120  ac_compiler_gnu=no  ac_compiler_gnu=no
2121  fi  fi
2122  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2123  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2124    
2125  fi  fi
2126  echo "$as_me:1610: result: $ac_cv_c_compiler_gnu" >&5  echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2127  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2128  GCC=`test $ac_compiler_gnu = yes && echo yes`  GCC=`test $ac_compiler_gnu = yes && echo yes`
2129  ac_test_CFLAGS=${CFLAGS+set}  ac_test_CFLAGS=${CFLAGS+set}
2130  ac_save_CFLAGS=$CFLAGS  ac_save_CFLAGS=$CFLAGS
2131  CFLAGS="-g"  CFLAGS="-g"
2132  echo "$as_me:1616: checking whether $CC accepts -g" >&5  echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2133  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2134  if test "${ac_cv_prog_cc_g+set}" = set; then  if test "${ac_cv_prog_cc_g+set}" = set; then
2135    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2136  else  else
2137    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2138  #line 1622 "configure"  /* confdefs.h.  */
2139  #include "confdefs.h"  _ACEOF
2140    cat confdefs.h >>conftest.$ac_ext
2141    cat >>conftest.$ac_ext <<_ACEOF
2142    /* end confdefs.h.  */
2143    
2144  int  int
2145  main ()  main ()
# Line 1630  main () Line 2150  main ()
2150  }  }
2151  _ACEOF  _ACEOF
2152  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2153  if { (eval echo "$as_me:1634: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2154    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2155    ac_status=$?    ac_status=$?
2156    echo "$as_me:1637: \$? = $ac_status" >&5    grep -v '^ *+' conftest.er1 >conftest.err
2157      rm -f conftest.er1
2158      cat conftest.err >&5
2159      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160    (exit $ac_status); } &&    (exit $ac_status); } &&
2161           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2162    { (eval echo "$as_me:1640: \"$ac_try\"") >&5                           || test ! -s conftest.err'
2163      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2164      (eval $ac_try) 2>&5
2165      ac_status=$?
2166      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167      (exit $ac_status); }; } &&
2168             { ac_try='test -s conftest.$ac_objext'
2169      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2170    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2171    ac_status=$?    ac_status=$?
2172    echo "$as_me:1643: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2173    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2174    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2175  else  else
2176    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2177  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2178    
2179  ac_cv_prog_cc_g=no  ac_cv_prog_cc_g=no
2180  fi  fi
2181  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2182  fi  fi
2183  echo "$as_me:1653: result: $ac_cv_prog_cc_g" >&5  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2184  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2185  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
2186    CFLAGS=$ac_save_CFLAGS    CFLAGS=$ac_save_CFLAGS
# Line 1666  else Line 2197  else
2197      CFLAGS=      CFLAGS=
2198    fi    fi
2199  fi  fi
2200    echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2201    echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2202    if test "${ac_cv_prog_cc_stdc+set}" = set; then
2203      echo $ECHO_N "(cached) $ECHO_C" >&6
2204    else
2205      ac_cv_prog_cc_stdc=no
2206    ac_save_CC=$CC
2207    cat >conftest.$ac_ext <<_ACEOF
2208    /* confdefs.h.  */
2209    _ACEOF
2210    cat confdefs.h >>conftest.$ac_ext
2211    cat >>conftest.$ac_ext <<_ACEOF
2212    /* end confdefs.h.  */
2213    #include <stdarg.h>
2214    #include <stdio.h>
2215    #include <sys/types.h>
2216    #include <sys/stat.h>
2217    /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2218    struct buf { int x; };
2219    FILE * (*rcsopen) (struct buf *, struct stat *, int);
2220    static char *e (p, i)
2221         char **p;
2222         int i;
2223    {
2224      return p[i];
2225    }
2226    static char *f (char * (*g) (char **, int), char **p, ...)
2227    {
2228      char *s;
2229      va_list v;
2230      va_start (v,p);
2231      s = g (p, va_arg (v,int));
2232      va_end (v);
2233      return s;
2234    }
2235    
2236    /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2237       function prototypes and stuff, but not '\xHH' hex character constants.
2238       These don't provoke an error unfortunately, instead are silently treated
2239       as 'x'.  The following induces an error, until -std1 is added to get
2240       proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2241       array size at least.  It's necessary to write '\x00'==0 to get something
2242       that's true only with -std1.  */
2243    int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2244    
2245    int test (int i, double x);
2246    struct s1 {int (*f) (int a);};
2247    struct s2 {int (*f) (double a);};
2248    int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2249    int argc;
2250    char **argv;
2251    int
2252    main ()
2253    {
2254    return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2255      ;
2256      return 0;
2257    }
2258    _ACEOF
2259    # Don't try gcc -ansi; that turns off useful extensions and
2260    # breaks some systems' header files.
2261    # AIX                   -qlanglvl=ansi
2262    # Ultrix and OSF/1      -std1
2263    # HP-UX 10.20 and later -Ae
2264    # HP-UX older versions  -Aa -D_HPUX_SOURCE
2265    # SVR4                  -Xc -D__EXTENSIONS__
2266    for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2267    do
2268      CC="$ac_save_CC $ac_arg"
2269      rm -f conftest.$ac_objext
2270    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2271      (eval $ac_compile) 2>conftest.er1
2272      ac_status=$?
2273      grep -v '^ *+' conftest.er1 >conftest.err
2274      rm -f conftest.er1
2275      cat conftest.err >&5
2276      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2277      (exit $ac_status); } &&
2278             { ac_try='test -z "$ac_c_werror_flag"
2279                             || test ! -s conftest.err'
2280      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2281      (eval $ac_try) 2>&5
2282      ac_status=$?
2283      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284      (exit $ac_status); }; } &&
2285             { ac_try='test -s conftest.$ac_objext'
2286      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2287      (eval $ac_try) 2>&5
2288      ac_status=$?
2289      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2290      (exit $ac_status); }; }; then
2291      ac_cv_prog_cc_stdc=$ac_arg
2292    break
2293    else
2294      echo "$as_me: failed program was:" >&5
2295    sed 's/^/| /' conftest.$ac_ext >&5
2296    
2297    fi
2298    rm -f conftest.err conftest.$ac_objext
2299    done
2300    rm -f conftest.$ac_ext conftest.$ac_objext
2301    CC=$ac_save_CC
2302    
2303    fi
2304    
2305    case "x$ac_cv_prog_cc_stdc" in
2306      x|xno)
2307        echo "$as_me:$LINENO: result: none needed" >&5
2308    echo "${ECHO_T}none needed" >&6 ;;
2309      *)
2310        echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2311    echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2312        CC="$CC $ac_cv_prog_cc_stdc" ;;
2313    esac
2314    
2315  # Some people use a C++ compiler to compile C.  Since we use `exit',  # Some people use a C++ compiler to compile C.  Since we use `exit',
2316  # in C++ we need to declare it.  In case someone uses the same compiler  # in C++ we need to declare it.  In case someone uses the same compiler
2317  # for both compiling C and C++ we need to have the C++ compiler decide  # for both compiling C and C++ we need to have the C++ compiler decide
# Line 1676  cat >conftest.$ac_ext <<_ACEOF Line 2322  cat >conftest.$ac_ext <<_ACEOF
2322  #endif  #endif
2323  _ACEOF  _ACEOF
2324  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2325  if { (eval echo "$as_me:1680: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2326    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2327    ac_status=$?    ac_status=$?
2328    echo "$as_me:1683: \$? = $ac_status" >&5    grep -v '^ *+' conftest.er1 >conftest.err
2329      rm -f conftest.er1
2330      cat conftest.err >&5
2331      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332    (exit $ac_status); } &&    (exit $ac_status); } &&
2333           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2334    { (eval echo "$as_me:1686: \"$ac_try\"") >&5                           || test ! -s conftest.err'
2335      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2336      (eval $ac_try) 2>&5
2337      ac_status=$?
2338      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2339      (exit $ac_status); }; } &&
2340             { ac_try='test -s conftest.$ac_objext'
2341      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2342    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2343    ac_status=$?    ac_status=$?
2344    echo "$as_me:1689: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2346    for ac_declaration in \    for ac_declaration in \
2347     ''\     '' \
    '#include <stdlib.h>' \  
2348     'extern "C" void std::exit (int) throw (); using std::exit;' \     'extern "C" void std::exit (int) throw (); using std::exit;' \
2349     'extern "C" void std::exit (int); using std::exit;' \     'extern "C" void std::exit (int); using std::exit;' \
2350     'extern "C" void exit (int) throw ();' \     'extern "C" void exit (int) throw ();' \
# Line 1697  if { (eval echo "$as_me:1680: \"$ac_comp Line 2352  if { (eval echo "$as_me:1680: \"$ac_comp
2352     'void exit (int);'     'void exit (int);'
2353  do  do
2354    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2355  #line 1701 "configure"  /* confdefs.h.  */
2356  #include "confdefs.h"  _ACEOF
2357  #include <stdlib.h>  cat confdefs.h >>conftest.$ac_ext
2358    cat >>conftest.$ac_ext <<_ACEOF
2359    /* end confdefs.h.  */
2360  $ac_declaration  $ac_declaration
2361    #include <stdlib.h>
2362  int  int
2363  main ()  main ()
2364  {  {
# Line 1710  exit (42); Line 2368  exit (42);
2368  }  }
2369  _ACEOF  _ACEOF
2370  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2371  if { (eval echo "$as_me:1714: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2372    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2373    ac_status=$?    ac_status=$?
2374    echo "$as_me:1717: \$? = $ac_status" >&5    grep -v '^ *+' conftest.er1 >conftest.err
2375      rm -f conftest.er1
2376      cat conftest.err >&5
2377      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378    (exit $ac_status); } &&    (exit $ac_status); } &&
2379           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2380    { (eval echo "$as_me:1720: \"$ac_try\"") >&5                           || test ! -s conftest.err'
2381      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2382      (eval $ac_try) 2>&5
2383      ac_status=$?
2384      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385      (exit $ac_status); }; } &&
2386             { ac_try='test -s conftest.$ac_objext'
2387      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2388    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2389    ac_status=$?    ac_status=$?
2390    echo "$as_me:1723: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2392    :    :
2393  else  else
2394    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2395  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2396    
2397  continue  continue
2398  fi  fi
2399  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2400    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2401  #line 1733 "configure"  /* confdefs.h.  */
2402  #include "confdefs.h"  _ACEOF
2403    cat confdefs.h >>conftest.$ac_ext
2404    cat >>conftest.$ac_ext <<_ACEOF
2405    /* end confdefs.h.  */
2406  $ac_declaration  $ac_declaration
2407  int  int
2408  main ()  main ()
# Line 1741  exit (42); Line 2413  exit (42);
2413  }  }
2414  _ACEOF  _ACEOF
2415  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2416  if { (eval echo "$as_me:1745: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2417    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2418    ac_status=$?    ac_status=$?
2419    echo "$as_me:1748: \$? = $ac_status" >&5    grep -v '^ *+' conftest.er1 >conftest.err
2420      rm -f conftest.er1
2421      cat conftest.err >&5
2422      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423    (exit $ac_status); } &&    (exit $ac_status); } &&
2424           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2425    { (eval echo "$as_me:1751: \"$ac_try\"") >&5                           || test ! -s conftest.err'
2426      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2427      (eval $ac_try) 2>&5
2428      ac_status=$?
2429      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430      (exit $ac_status); }; } &&
2431             { ac_try='test -s conftest.$ac_objext'
2432      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2433    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2434    ac_status=$?    ac_status=$?
2435    echo "$as_me:1754: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2437    break    break
2438  else  else
2439    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2440  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2441    
2442  fi  fi
2443  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2444  done  done
2445  echo '#ifdef __cplusplus' >>confdefs.h  rm -f conftest*
2446  echo $ac_declaration      >>confdefs.h  if test -n "$ac_declaration"; then
2447  echo '#endif'             >>confdefs.h    echo '#ifdef __cplusplus' >>confdefs.h
2448      echo $ac_declaration      >>confdefs.h
2449      echo '#endif'             >>confdefs.h
2450    fi
2451    
2452  else  else
2453    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2454  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2455    
2456  fi  fi
2457  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2458  ac_ext=c  ac_ext=c
2459  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
2460  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2461  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2462  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2463    
2464  ac_aux_dir=  
2465  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do  
2466    if test -f $ac_dir/install-sh; then  ac_ext=cc
2467      ac_aux_dir=$ac_dir  ac_cpp='$CXXCPP $CPPFLAGS'
2468      ac_install_sh="$ac_aux_dir/install-sh -c"  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2469      break  ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2470    elif test -f $ac_dir/install.sh; then  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2471      ac_aux_dir=$ac_dir  if test -n "$ac_tool_prefix"; then
2472      ac_install_sh="$ac_aux_dir/install.sh -c"    for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2473      break    do
2474    elif test -f $ac_dir/shtool; then      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2475      ac_aux_dir=$ac_dir  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2476      ac_install_sh="$ac_aux_dir/shtool install -c"  echo "$as_me:$LINENO: checking for $ac_word" >&5
2477      break  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2478    fi  if test "${ac_cv_prog_CXX+set}" = set; then
2479      echo $ECHO_N "(cached) $ECHO_C" >&6
2480    else
2481      if test -n "$CXX"; then
2482      ac_cv_prog_CXX="$CXX" # Let the user override the test.
2483    else
2484    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2485    for as_dir in $PATH
2486    do
2487      IFS=$as_save_IFS
2488      test -z "$as_dir" && as_dir=.
2489      for ac_exec_ext in '' $ac_executable_extensions; do
2490      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2491        ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2492        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2493        break 2
2494      fi
2495    done
2496    done
2497    
2498    fi
2499    fi
2500    CXX=$ac_cv_prog_CXX
2501    if test -n "$CXX"; then
2502      echo "$as_me:$LINENO: result: $CXX" >&5
2503    echo "${ECHO_T}$CXX" >&6
2504    else
2505      echo "$as_me:$LINENO: result: no" >&5
2506    echo "${ECHO_T}no" >&6
2507    fi
2508    
2509        test -n "$CXX" && break
2510      done
2511    fi
2512    if test -z "$CXX"; then
2513      ac_ct_CXX=$CXX
2514      for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2515    do
2516      # Extract the first word of "$ac_prog", so it can be a program name with args.
2517    set dummy $ac_prog; ac_word=$2
2518    echo "$as_me:$LINENO: checking for $ac_word" >&5
2519    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2520    if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2521      echo $ECHO_N "(cached) $ECHO_C" >&6
2522    else
2523      if test -n "$ac_ct_CXX"; then
2524      ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2525    else
2526    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2527    for as_dir in $PATH
2528    do
2529      IFS=$as_save_IFS
2530      test -z "$as_dir" && as_dir=.
2531      for ac_exec_ext in '' $ac_executable_extensions; do
2532      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2533        ac_cv_prog_ac_ct_CXX="$ac_prog"
2534        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2535        break 2
2536      fi
2537    done
2538    done
2539    
2540    fi
2541    fi
2542    ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2543    if test -n "$ac_ct_CXX"; then
2544      echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2545    echo "${ECHO_T}$ac_ct_CXX" >&6
2546    else
2547      echo "$as_me:$LINENO: result: no" >&5
2548    echo "${ECHO_T}no" >&6
2549    fi
2550    
2551      test -n "$ac_ct_CXX" && break
2552    done
2553    test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2554    
2555      CXX=$ac_ct_CXX
2556    fi
2557    
2558    
2559    # Provide some information about the compiler.
2560    echo "$as_me:$LINENO:" \
2561         "checking for C++ compiler version" >&5
2562    ac_compiler=`set X $ac_compile; echo $2`
2563    { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2564      (eval $ac_compiler --version </dev/null >&5) 2>&5
2565      ac_status=$?
2566      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2567      (exit $ac_status); }
2568    { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2569      (eval $ac_compiler -v </dev/null >&5) 2>&5
2570      ac_status=$?
2571      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572      (exit $ac_status); }
2573    { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2574      (eval $ac_compiler -V </dev/null >&5) 2>&5
2575      ac_status=$?
2576      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577      (exit $ac_status); }
2578    
2579    echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2580    echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2581    if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2582      echo $ECHO_N "(cached) $ECHO_C" >&6
2583    else
2584      cat >conftest.$ac_ext <<_ACEOF
2585    /* confdefs.h.  */
2586    _ACEOF
2587    cat confdefs.h >>conftest.$ac_ext
2588    cat >>conftest.$ac_ext <<_ACEOF
2589    /* end confdefs.h.  */
2590    
2591    int
2592    main ()
2593    {
2594    #ifndef __GNUC__
2595           choke me
2596    #endif
2597    
2598      ;
2599      return 0;
2600    }
2601    _ACEOF
2602    rm -f conftest.$ac_objext
2603    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2604      (eval $ac_compile) 2>conftest.er1
2605      ac_status=$?
2606      grep -v '^ *+' conftest.er1 >conftest.err
2607      rm -f conftest.er1
2608      cat conftest.err >&5
2609      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610      (exit $ac_status); } &&
2611             { ac_try='test -z "$ac_cxx_werror_flag"
2612                             || test ! -s conftest.err'
2613      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2614      (eval $ac_try) 2>&5
2615      ac_status=$?
2616      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617      (exit $ac_status); }; } &&
2618             { ac_try='test -s conftest.$ac_objext'
2619      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2620      (eval $ac_try) 2>&5
2621      ac_status=$?
2622      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623      (exit $ac_status); }; }; then
2624      ac_compiler_gnu=yes
2625    else
2626      echo "$as_me: failed program was:" >&5
2627    sed 's/^/| /' conftest.$ac_ext >&5
2628    
2629    ac_compiler_gnu=no
2630    fi
2631    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2632    ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2633    
2634    fi
2635    echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2636    echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2637    GXX=`test $ac_compiler_gnu = yes && echo yes`
2638    ac_test_CXXFLAGS=${CXXFLAGS+set}
2639    ac_save_CXXFLAGS=$CXXFLAGS
2640    CXXFLAGS="-g"
2641    echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2642    echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2643    if test "${ac_cv_prog_cxx_g+set}" = set; then
2644      echo $ECHO_N "(cached) $ECHO_C" >&6
2645    else
2646      cat >conftest.$ac_ext <<_ACEOF
2647    /* confdefs.h.  */
2648    _ACEOF
2649    cat confdefs.h >>conftest.$ac_ext
2650    cat >>conftest.$ac_ext <<_ACEOF
2651    /* end confdefs.h.  */
2652    
2653    int
2654    main ()
2655    {
2656    
2657      ;
2658      return 0;
2659    }
2660    _ACEOF
2661    rm -f conftest.$ac_objext
2662    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2663      (eval $ac_compile) 2>conftest.er1
2664      ac_status=$?
2665      grep -v '^ *+' conftest.er1 >conftest.err
2666      rm -f conftest.er1
2667      cat conftest.err >&5
2668      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669      (exit $ac_status); } &&
2670             { ac_try='test -z "$ac_cxx_werror_flag"
2671                             || test ! -s conftest.err'
2672      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2673      (eval $ac_try) 2>&5
2674      ac_status=$?
2675      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676      (exit $ac_status); }; } &&
2677             { ac_try='test -s conftest.$ac_objext'
2678      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2679      (eval $ac_try) 2>&5
2680      ac_status=$?
2681      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682      (exit $ac_status); }; }; then
2683      ac_cv_prog_cxx_g=yes
2684    else
2685      echo "$as_me: failed program was:" >&5
2686    sed 's/^/| /' conftest.$ac_ext >&5
2687    
2688    ac_cv_prog_cxx_g=no
2689    fi
2690    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2691    fi
2692    echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2693    echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2694    if test "$ac_test_CXXFLAGS" = set; then
2695      CXXFLAGS=$ac_save_CXXFLAGS
2696    elif test $ac_cv_prog_cxx_g = yes; then
2697      if test "$GXX" = yes; then
2698        CXXFLAGS="-g -O2"
2699      else
2700        CXXFLAGS="-g"
2701      fi
2702    else
2703      if test "$GXX" = yes; then
2704        CXXFLAGS="-O2"
2705      else
2706        CXXFLAGS=
2707      fi
2708    fi
2709    for ac_declaration in \
2710       '' \
2711       'extern "C" void std::exit (int) throw (); using std::exit;' \
2712       'extern "C" void std::exit (int); using std::exit;' \
2713       'extern "C" void exit (int) throw ();' \
2714       'extern "C" void exit (int);' \
2715       'void exit (int);'
2716    do
2717      cat >conftest.$ac_ext <<_ACEOF
2718    /* confdefs.h.  */
2719    _ACEOF
2720    cat confdefs.h >>conftest.$ac_ext
2721    cat >>conftest.$ac_ext <<_ACEOF
2722    /* end confdefs.h.  */
2723    $ac_declaration
2724    #include <stdlib.h>
2725    int
2726    main ()
2727    {
2728    exit (42);
2729      ;
2730      return 0;
2731    }
2732    _ACEOF
2733    rm -f conftest.$ac_objext
2734    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2735      (eval $ac_compile) 2>conftest.er1
2736      ac_status=$?
2737      grep -v '^ *+' conftest.er1 >conftest.err
2738      rm -f conftest.er1
2739      cat conftest.err >&5
2740      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741      (exit $ac_status); } &&
2742             { ac_try='test -z "$ac_cxx_werror_flag"
2743                             || test ! -s conftest.err'
2744      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2745      (eval $ac_try) 2>&5
2746      ac_status=$?
2747      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748      (exit $ac_status); }; } &&
2749             { ac_try='test -s conftest.$ac_objext'
2750      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2751      (eval $ac_try) 2>&5
2752      ac_status=$?
2753      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754      (exit $ac_status); }; }; then
2755      :
2756    else
2757      echo "$as_me: failed program was:" >&5
2758    sed 's/^/| /' conftest.$ac_ext >&5
2759    
2760    continue
2761    fi
2762    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2763      cat >conftest.$ac_ext <<_ACEOF
2764    /* confdefs.h.  */
2765    _ACEOF
2766    cat confdefs.h >>conftest.$ac_ext
2767    cat >>conftest.$ac_ext <<_ACEOF
2768    /* end confdefs.h.  */
2769    $ac_declaration
2770    int
2771    main ()
2772    {
2773    exit (42);
2774      ;
2775      return 0;
2776    }
2777    _ACEOF
2778    rm -f conftest.$ac_objext
2779    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2780      (eval $ac_compile) 2>conftest.er1
2781      ac_status=$?
2782      grep -v '^ *+' conftest.er1 >conftest.err
2783      rm -f conftest.er1
2784      cat conftest.err >&5
2785      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786      (exit $ac_status); } &&
2787             { ac_try='test -z "$ac_cxx_werror_flag"
2788                             || test ! -s conftest.err'
2789      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2790      (eval $ac_try) 2>&5
2791      ac_status=$?
2792      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793      (exit $ac_status); }; } &&
2794             { ac_try='test -s conftest.$ac_objext'
2795      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2796      (eval $ac_try) 2>&5
2797      ac_status=$?
2798      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799      (exit $ac_status); }; }; then
2800      break
2801    else
2802      echo "$as_me: failed program was:" >&5
2803    sed 's/^/| /' conftest.$ac_ext >&5
2804    
2805    fi
2806    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2807    done
2808    rm -f conftest*
2809    if test -n "$ac_declaration"; then
2810      echo '#ifdef __cplusplus' >>confdefs.h
2811      echo $ac_declaration      >>confdefs.h
2812      echo '#endif'             >>confdefs.h
2813    fi
2814    
2815    ac_ext=c
2816    ac_cpp='$CPP $CPPFLAGS'
2817    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2818    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2819    ac_compiler_gnu=$ac_cv_c_compiler_gnu
2820    
2821    
2822    
2823    ac_aux_dir=
2824    for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2825      if test -f $ac_dir/install-sh; then
2826        ac_aux_dir=$ac_dir
2827        ac_install_sh="$ac_aux_dir/install-sh -c"
2828        break
2829      elif test -f $ac_dir/install.sh; then
2830        ac_aux_dir=$ac_dir
2831        ac_install_sh="$ac_aux_dir/install.sh -c"
2832        break
2833      elif test -f $ac_dir/shtool; then
2834        ac_aux_dir=$ac_dir
2835        ac_install_sh="$ac_aux_dir/shtool install -c"
2836        break
2837      fi
2838  done  done
2839  if test -z "$ac_aux_dir"; then  if test -z "$ac_aux_dir"; then
2840    { { echo "$as_me:1795: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5    { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2841  echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}  echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2842     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2843  fi  fi
# Line 1810  ac_configure="$SHELL $ac_aux_dir/configu Line 2856  ac_configure="$SHELL $ac_aux_dir/configu
2856  # 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
2857  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2858  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2859    # OS/2's system install, which has a completely different semantic
2860  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
2861  echo "$as_me:1815: checking for a BSD compatible install" >&5  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2862  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2863  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
2864  if test "${ac_cv_path_install+set}" = set; then  if test "${ac_cv_path_install+set}" = set; then
2865    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2866  else  else
2867      ac_save_IFS=$IFS; IFS=$ac_path_separator    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2868    for ac_dir in $PATH; do  for as_dir in $PATH
2869      IFS=$ac_save_IFS  do
2870      # Account for people who put trailing slashes in PATH elements.    IFS=$as_save_IFS
2871      case $ac_dir/ in    test -z "$as_dir" && as_dir=.
2872      / | ./ | .// | /cC/* \    # Account for people who put trailing slashes in PATH elements.
2873      | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \  case $as_dir/ in
2874      | /usr/ucb/* ) ;;    ./ | .// | /cC/* | \
2875      *)    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2876        # OSF1 and SCO ODT 3.0 have their own names for install.    ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2877        # Don't use installbsd from OSF since it installs stuff as root    /usr/ucb/* ) ;;
2878        # by default.    *)
2879        for ac_prog in ginstall scoinst install; do      # OSF1 and SCO ODT 3.0 have their own names for install.
2880          if $as_executable_p "$ac_dir/$ac_prog"; then      # Don't use installbsd from OSF since it installs stuff as root
2881        # by default.
2882        for ac_prog in ginstall scoinst install; do
2883          for ac_exec_ext in '' $ac_executable_extensions; do
2884            if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2885            if test $ac_prog = install &&            if test $ac_prog = install &&
2886              grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2887              # AIX install.  It has an incompatible calling convention.              # AIX install.  It has an incompatible calling convention.
2888              :              :
2889            elif test $ac_prog = install &&            elif test $ac_prog = install &&
2890              grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then              grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2891              # program-specific install script used by HP pwplus--don't use.              # program-specific install script used by HP pwplus--don't use.
2892              :              :
2893            else            else
2894              ac_cv_path_install="$ac_dir/$ac_prog -c"              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2895              break 2              break 3
2896            fi            fi
2897          fi          fi
2898        done        done
2899        ;;      done
2900      esac      ;;
2901    done  esac
2902    done
2903    
2904    
2905  fi  fi
2906    if test "${ac_cv_path_install+set}" = set; then    if test "${ac_cv_path_install+set}" = set; then
# Line 1860  fi Line 2913  fi
2913      INSTALL=$ac_install_sh      INSTALL=$ac_install_sh
2914    fi    fi
2915  fi  fi
2916  echo "$as_me:1864: result: $INSTALL" >&5  echo "$as_me:$LINENO: result: $INSTALL" >&5
2917  echo "${ECHO_T}$INSTALL" >&6  echo "${ECHO_T}$INSTALL" >&6
2918    
2919  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 1871  test -z "$INSTALL_SCRIPT" && INSTALL_SCR Line 2924  test -z "$INSTALL_SCRIPT" && INSTALL_SCR
2924    
2925  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2926    
 if test -n "$ac_tool_prefix"; then  
   # 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 "$as_me:1878: checking for $ac_word" >&5  
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  
 if test "${ac_cv_prog_RANLIB+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if test -n "$RANLIB"; then  
   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.  
 else  
   ac_save_IFS=$IFS; IFS=$ac_path_separator  
 ac_dummy="$PATH"  
 for ac_dir in $ac_dummy; do  
   IFS=$ac_save_IFS  
   test -z "$ac_dir" && ac_dir=.  
   $as_executable_p "$ac_dir/$ac_word" || continue  
 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"  
 echo "$as_me:1893: found $ac_dir/$ac_word" >&5  
 break  
 done  
2927    
2928  fi  
2929  fi  # Check whether --enable-shared or --disable-shared was given.
2930  RANLIB=$ac_cv_prog_RANLIB  if test "${enable_shared+set}" = set; then
2931  if test -n "$RANLIB"; then    enableval="$enable_shared"
2932    echo "$as_me:1901: result: $RANLIB" >&5    p=${PACKAGE-default}
2933  echo "${ECHO_T}$RANLIB" >&6      case $enableval in
2934        yes) enable_shared=yes ;;
2935        no) enable_shared=no ;;
2936        *)
2937          enable_shared=no
2938          # Look at the argument we got.  We use all the common list separators.
2939          lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2940          for pkg in $enableval; do
2941            IFS="$lt_save_ifs"
2942            if test "X$pkg" = "X$p"; then
2943              enable_shared=yes
2944            fi
2945          done
2946          IFS="$lt_save_ifs"
2947          ;;
2948        esac
2949  else  else
2950    echo "$as_me:1904: result: no" >&5    enable_shared=yes
2951  echo "${ECHO_T}no" >&6  fi;
 fi  
2952    
2953  fi  # Check whether --enable-static or --disable-static was given.
2954  if test -z "$ac_cv_prog_RANLIB"; then  if test "${enable_static+set}" = set; then
2955    ac_ct_RANLIB=$RANLIB    enableval="$enable_static"
2956    # Extract the first word of "ranlib", so it can be a program name with args.    p=${PACKAGE-default}
2957  set dummy ranlib; ac_word=$2      case $enableval in
2958  echo "$as_me:1913: checking for $ac_word" >&5      yes) enable_static=yes ;;
2959  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6      no) enable_static=no ;;
2960  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then      *)
2961    echo $ECHO_N "(cached) $ECHO_C" >&6       enable_static=no
2962          # Look at the argument we got.  We use all the common list separators.
2963          lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2964          for pkg in $enableval; do
2965            IFS="$lt_save_ifs"
2966            if test "X$pkg" = "X$p"; then
2967              enable_static=yes
2968            fi
2969          done
2970          IFS="$lt_save_ifs"
2971          ;;
2972        esac
2973  else  else
2974    if test -n "$ac_ct_RANLIB"; then    enable_static=yes
2975    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.  fi;
2976    
2977    # Check whether --enable-fast-install or --disable-fast-install was given.
2978    if test "${enable_fast_install+set}" = set; then
2979      enableval="$enable_fast_install"
2980      p=${PACKAGE-default}
2981        case $enableval in
2982        yes) enable_fast_install=yes ;;
2983        no) enable_fast_install=no ;;
2984        *)
2985          enable_fast_install=no
2986          # Look at the argument we got.  We use all the common list separators.
2987          lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2988          for pkg in $enableval; do
2989            IFS="$lt_save_ifs"
2990            if test "X$pkg" = "X$p"; then
2991              enable_fast_install=yes
2992            fi
2993          done
2994          IFS="$lt_save_ifs"
2995          ;;
2996        esac
2997  else  else
2998    ac_save_IFS=$IFS; IFS=$ac_path_separator    enable_fast_install=yes
2999  ac_dummy="$PATH"  fi;
 for ac_dir in $ac_dummy; do  
   IFS=$ac_save_IFS  
   test -z "$ac_dir" && ac_dir=.  
   $as_executable_p "$ac_dir/$ac_word" || continue  
 ac_cv_prog_ac_ct_RANLIB="ranlib"  
 echo "$as_me:1928: found $ac_dir/$ac_word" >&5  
 break  
 done  
3000    
3001    test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"  # Make sure we can run config.sub.
3002  fi  $ac_config_sub sun4 >/dev/null 2>&1 ||
3003  fi    { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3004  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB  echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3005  if test -n "$ac_ct_RANLIB"; then     { (exit 1); exit 1; }; }
3006    echo "$as_me:1937: result: $ac_ct_RANLIB" >&5  
3007  echo "${ECHO_T}$ac_ct_RANLIB" >&6  echo "$as_me:$LINENO: checking build system type" >&5
3008    echo $ECHO_N "checking build system type... $ECHO_C" >&6
3009    if test "${ac_cv_build+set}" = set; then
3010      echo $ECHO_N "(cached) $ECHO_C" >&6
3011  else  else
3012    echo "$as_me:1940: result: no" >&5    ac_cv_build_alias=$build_alias
3013  echo "${ECHO_T}no" >&6  test -z "$ac_cv_build_alias" &&
3014      ac_cv_build_alias=`$ac_config_guess`
3015    test -z "$ac_cv_build_alias" &&
3016      { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3017    echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3018       { (exit 1); exit 1; }; }
3019    ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3020      { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3021    echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3022       { (exit 1); exit 1; }; }
3023    
3024  fi  fi
3025    echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3026    echo "${ECHO_T}$ac_cv_build" >&6
3027    build=$ac_cv_build
3028    build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3029    build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3030    build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3031    
3032    RANLIB=$ac_ct_RANLIB  
3033    echo "$as_me:$LINENO: checking host system type" >&5
3034    echo $ECHO_N "checking host system type... $ECHO_C" >&6
3035    if test "${ac_cv_host+set}" = set; then
3036      echo $ECHO_N "(cached) $ECHO_C" >&6
3037  else  else
3038    RANLIB="$ac_cv_prog_RANLIB"    ac_cv_host_alias=$host_alias
3039  fi  test -z "$ac_cv_host_alias" &&
3040      ac_cv_host_alias=$ac_cv_build_alias
3041    ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3042      { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3043    echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3044       { (exit 1); exit 1; }; }
3045    
 ac_ext=c  
 ac_cpp='$CPP $CPPFLAGS'  
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  
 ac_compiler_gnu=$ac_cv_c_compiler_gnu  
 echo "$as_me:1954: checking how to run the C preprocessor" >&5  
 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6  
 # On Suns, sometimes $CPP names a directory.  
 if test -n "$CPP" && test -d "$CPP"; then  
   CPP=  
3046  fi  fi
3047  if test -z "$CPP"; then  echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3048    if test "${ac_cv_prog_CPP+set}" = set; then  echo "${ECHO_T}$ac_cv_host" >&6
3049    host=$ac_cv_host
3050    host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3051    host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3052    host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3053    
3054    
3055    echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3056    echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3057    if test "${lt_cv_path_SED+set}" = set; then
3058    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3059  else  else
3060        # Double quotes because CPP needs to be expanded    # Loop through the user's path and test for sed and gsed.
3061      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"  # Then use that list of sed's as ones to test for truncation.
3062      do  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3063        # break 2 since there is a loop in there.  for as_dir in $PATH
       ac_preproc_ok=false  
 for ac_c_preproc_warn_flag in '' yes  
3064  do  do
3065    # Use a header file that comes with gcc, so configuring glibc    IFS=$as_save_IFS
3066    # with a fresh cross-compiler works.    test -z "$as_dir" && as_dir=.
3067    # On the NeXT, cc -E runs the code through the compiler's parser,    for lt_ac_prog in sed gsed; do
3068    # not just through cpp. "Syntax error" is here to catch this case.      for ac_exec_ext in '' $ac_executable_extensions; do
3069    cat >conftest.$ac_ext <<_ACEOF        if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3070  #line 1976 "configure"          lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3071  #include "confdefs.h"        fi
3072  #include <assert.h>      done
3073                       Syntax error    done
3074  _ACEOF  done
3075  if { (eval echo "$as_me:1981: \"$ac_cpp conftest.$ac_ext\"") >&5  lt_ac_max=0
3076    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  lt_ac_count=0
3077    ac_status=$?  # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3078    egrep -v '^ *\+' conftest.er1 >conftest.err  # along with /bin/sed that truncates output.
3079    rm -f conftest.er1  for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3080    cat conftest.err >&5    test ! -f $lt_ac_sed && continue
3081    echo "$as_me:1987: \$? = $ac_status" >&5    cat /dev/null > conftest.in
3082    (exit $ac_status); } >/dev/null; then    lt_ac_count=0
3083    if test -s conftest.err; then    echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3084      ac_cpp_err=$ac_c_preproc_warn_flag    # Check for GNU sed and select it if it is found.
3085    else    if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3086      ac_cpp_err=      lt_cv_path_SED=$lt_ac_sed
3087        break
3088    fi    fi
3089  else    while true; do
3090    ac_cpp_err=yes      cat conftest.in conftest.in >conftest.tmp
3091        mv conftest.tmp conftest.in
3092        cp conftest.in conftest.nl
3093        echo >>conftest.nl
3094        $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3095        cmp -s conftest.out conftest.nl || break
3096        # 10000 chars as input seems more than enough
3097        test $lt_ac_count -gt 10 && break
3098        lt_ac_count=`expr $lt_ac_count + 1`
3099        if test $lt_ac_count -gt $lt_ac_max; then
3100          lt_ac_max=$lt_ac_count
3101          lt_cv_path_SED=$lt_ac_sed
3102        fi
3103      done
3104    done
3105    
3106  fi  fi
3107  if test -z "$ac_cpp_err"; then  
3108    :  SED=$lt_cv_path_SED
3109    echo "$as_me:$LINENO: result: $SED" >&5
3110    echo "${ECHO_T}$SED" >&6
3111    
3112    echo "$as_me:$LINENO: checking for egrep" >&5
3113    echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3114    if test "${ac_cv_prog_egrep+set}" = set; then
3115      echo $ECHO_N "(cached) $ECHO_C" >&6
3116  else  else
3117    echo "$as_me: failed program was:" >&5    if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3118    cat conftest.$ac_ext >&5      then ac_cv_prog_egrep='grep -E'
3119    # Broken: fails on valid input.      else ac_cv_prog_egrep='egrep'
3120  continue      fi
3121  fi  fi
3122  rm -f conftest.err conftest.$ac_ext  echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3123    echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3124     EGREP=$ac_cv_prog_egrep
3125    
3126    # OK, works on sane cases.  Now check whether non-existent headers  
3127    # can be detected and how.  
3128    cat >conftest.$ac_ext <<_ACEOF  # Check whether --with-gnu-ld or --without-gnu-ld was given.
3129  #line 2010 "configure"  if test "${with_gnu_ld+set}" = set; then
3130  #include "confdefs.h"    withval="$with_gnu_ld"
3131  #include <ac_nonexistent.h>    test "$withval" = no || with_gnu_ld=yes
 _ACEOF  
 if { (eval echo "$as_me:2014: \"$ac_cpp conftest.$ac_ext\"") >&5  
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  
   ac_status=$?  
   egrep -v '^ *\+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:2020: \$? = $ac_status" >&5  
   (exit $ac_status); } >/dev/null; then  
   if test -s conftest.err; then  
     ac_cpp_err=$ac_c_preproc_warn_flag  
   else  
     ac_cpp_err=  
   fi  
3132  else  else
3133    ac_cpp_err=yes    with_gnu_ld=no
3134    fi;
3135    ac_prog=ld
3136    if test "$GCC" = yes; then
3137      # Check if gcc -print-prog-name=ld gives a path.
3138      echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3139    echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3140      case $host in
3141      *-*-mingw*)
3142        # gcc leaves a trailing carriage return which upsets mingw
3143        ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3144      *)
3145        ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3146      esac
3147      case $ac_prog in
3148        # Accept absolute paths.
3149        [\\/]* | ?:[\\/]*)
3150          re_direlt='/[^/][^/]*/\.\./'
3151          # Canonicalize the pathname of ld
3152          ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3153          while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3154            ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3155          done
3156          test -z "$LD" && LD="$ac_prog"
3157          ;;
3158      "")
3159        # If it fails, then pretend we aren't using GCC.
3160        ac_prog=ld
3161        ;;
3162      *)
3163        # If it is relative, then search for the first ld in PATH.
3164        with_gnu_ld=unknown
3165        ;;
3166      esac
3167    elif test "$with_gnu_ld" = yes; then
3168      echo "$as_me:$LINENO: checking for GNU ld" >&5
3169    echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3170    else
3171      echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3172    echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3173  fi  fi
3174  if test -z "$ac_cpp_err"; then  if test "${lt_cv_path_LD+set}" = set; then
3175    # Broken: success on invalid input.    echo $ECHO_N "(cached) $ECHO_C" >&6
 continue  
3176  else  else
3177    echo "$as_me: failed program was:" >&5    if test -z "$LD"; then
3178    cat conftest.$ac_ext >&5    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3179    # Passes both tests.    for ac_dir in $PATH; do
3180  ac_preproc_ok=:      IFS="$lt_save_ifs"
3181  break      test -z "$ac_dir" && ac_dir=.
3182        if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3183          lt_cv_path_LD="$ac_dir/$ac_prog"
3184          # Check to see if the program is GNU ld.  I'd rather use --version,
3185          # but apparently some variants of GNU ld only accept -v.
3186          # Break only if it was the GNU/non-GNU ld that we prefer.
3187          case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3188          *GNU* | *'with BFD'*)
3189            test "$with_gnu_ld" != no && break
3190            ;;
3191          *)
3192            test "$with_gnu_ld" != yes && break
3193            ;;
3194          esac
3195        fi
3196      done
3197      IFS="$lt_save_ifs"
3198    else
3199      lt_cv_path_LD="$LD" # Let the user override the test with a path.
3200    fi
3201  fi  fi
 rm -f conftest.err conftest.$ac_ext  
3202    
3203  done  LD="$lt_cv_path_LD"
3204  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.  if test -n "$LD"; then
3205  rm -f conftest.err conftest.$ac_ext    echo "$as_me:$LINENO: result: $LD" >&5
3206  if $ac_preproc_ok; then  echo "${ECHO_T}$LD" >&6
3207    break 2  else
3208      echo "$as_me:$LINENO: result: no" >&5
3209    echo "${ECHO_T}no" >&6
3210    fi
3211    test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3212    echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3213       { (exit 1); exit 1; }; }
3214    echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3215    echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3216    if test "${lt_cv_prog_gnu_ld+set}" = set; then
3217      echo $ECHO_N "(cached) $ECHO_C" >&6
3218    else
3219      # I'd rather use --version here, but apparently some GNU lds only accept -v.
3220    case `$LD -v 2>&1 </dev/null` in
3221    *GNU* | *'with BFD'*)
3222      lt_cv_prog_gnu_ld=yes
3223      ;;
3224    *)
3225      lt_cv_prog_gnu_ld=no
3226      ;;
3227    esac
3228  fi  fi
3229    echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3230    echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3231    with_gnu_ld=$lt_cv_prog_gnu_ld
3232    
     done  
     ac_cv_prog_CPP=$CPP  
3233    
3234  fi  echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3235    CPP=$ac_cv_prog_CPP  echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3236    if test "${lt_cv_ld_reload_flag+set}" = set; then
3237      echo $ECHO_N "(cached) $ECHO_C" >&6
3238  else  else
3239    ac_cv_prog_CPP=$CPP    lt_cv_ld_reload_flag='-r'
3240  fi  fi
3241  echo "$as_me:2057: result: $CPP" >&5  echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3242  echo "${ECHO_T}$CPP" >&6  echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3243  ac_preproc_ok=false  reload_flag=$lt_cv_ld_reload_flag
3244  for ac_c_preproc_warn_flag in '' yes  case $reload_flag in
3245  do  "" | " "*) ;;
3246    # Use a header file that comes with gcc, so configuring glibc  *) reload_flag=" $reload_flag" ;;
3247    # with a fresh cross-compiler works.  esac
3248    # On the NeXT, cc -E runs the code through the compiler's parser,  reload_cmds='$LD$reload_flag -o $output$reload_objs'
3249    # not just through cpp. "Syntax error" is here to catch this case.  case $host_os in
3250    cat >conftest.$ac_ext <<_ACEOF    darwin*)
3251  #line 2067 "configure"      if test "$GCC" = yes; then
3252  #include "confdefs.h"        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3253  #include <assert.h>      else
3254                       Syntax error        reload_cmds='$LD$reload_flag -o $output$reload_objs'
3255  _ACEOF      fi
3256  if { (eval echo "$as_me:2072: \"$ac_cpp conftest.$ac_ext\"") >&5      ;;
3257    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  esac
3258    ac_status=$?  
3259    egrep -v '^ *\+' conftest.er1 >conftest.err  echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3260    rm -f conftest.er1  echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3261    cat conftest.err >&5  if test "${lt_cv_path_NM+set}" = set; then
3262    echo "$as_me:2078: \$? = $ac_status" >&5    echo $ECHO_N "(cached) $ECHO_C" >&6
   (exit $ac_status); } >/dev/null; then  
   if test -s conftest.err; then  
     ac_cpp_err=$ac_c_preproc_warn_flag  
   else  
     ac_cpp_err=  
   fi  
3263  else  else
3264    ac_cpp_err=yes    if test -n "$NM"; then
3265  fi    # Let the user override the test.
3266  if test -z "$ac_cpp_err"; then    lt_cv_path_NM="$NM"
   :  
3267  else  else
3268    echo "$as_me: failed program was:" >&5    lt_nm_to_check="${ac_tool_prefix}nm"
3269    cat conftest.$ac_ext >&5    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3270    # Broken: fails on valid input.      lt_nm_to_check="$lt_nm_to_check nm"
 continue  
 fi  
 rm -f conftest.err conftest.$ac_ext  
   
   # OK, works on sane cases.  Now check whether non-existent headers  
   # can be detected and how.  
   cat >conftest.$ac_ext <<_ACEOF  
 #line 2101 "configure"  
 #include "confdefs.h"  
 #include <ac_nonexistent.h>  
 _ACEOF  
 if { (eval echo "$as_me:2105: \"$ac_cpp conftest.$ac_ext\"") >&5  
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  
   ac_status=$?  
   egrep -v '^ *\+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:2111: \$? = $ac_status" >&5  
   (exit $ac_status); } >/dev/null; then  
   if test -s conftest.err; then  
     ac_cpp_err=$ac_c_preproc_warn_flag  
   else  
     ac_cpp_err=  
3271    fi    fi
3272  else    for lt_tmp_nm in $lt_nm_to_check; do
3273    ac_cpp_err=yes      lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3274        for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3275          IFS="$lt_save_ifs"
3276          test -z "$ac_dir" && ac_dir=.
3277          tmp_nm="$ac_dir/$lt_tmp_nm"
3278          if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3279            # Check to see if the nm accepts a BSD-compat flag.
3280            # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3281            #   nm: unknown option "B" ignored
3282            # Tru64's nm complains that /dev/null is an invalid object file
3283            case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3284            */dev/null* | *'Invalid file or object type'*)
3285              lt_cv_path_NM="$tmp_nm -B"
3286              break
3287              ;;
3288            *)
3289              case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3290              */dev/null*)
3291                lt_cv_path_NM="$tmp_nm -p"
3292                break
3293                ;;
3294              *)
3295                lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3296                continue # so that we can try to find one that supports BSD flags
3297                ;;
3298              esac
3299              ;;
3300            esac
3301          fi
3302        done
3303        IFS="$lt_save_ifs"
3304      done
3305      test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3306  fi  fi
 if test -z "$ac_cpp_err"; then  
   # Broken: success on invalid input.  
 continue  
 else  
   echo "$as_me: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   # Passes both tests.  
 ac_preproc_ok=:  
 break  
3307  fi  fi
3308  rm -f conftest.err conftest.$ac_ext  echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3309    echo "${ECHO_T}$lt_cv_path_NM" >&6
3310    NM="$lt_cv_path_NM"
3311    
3312  done  echo "$as_me:$LINENO: checking whether ln -s works" >&5
3313  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3314  rm -f conftest.err conftest.$ac_ext  LN_S=$as_ln_s
3315  if $ac_preproc_ok; then  if test "$LN_S" = "ln -s"; then
3316    :    echo "$as_me:$LINENO: result: yes" >&5
3317    echo "${ECHO_T}yes" >&6
3318  else  else
3319    { { echo "$as_me:2139: error: C preprocessor \"$CPP\" fails sanity check" >&5    echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3320  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}  echo "${ECHO_T}no, using $LN_S" >&6
    { (exit 1); exit 1; }; }  
3321  fi  fi
3322    
3323  ac_ext=c  echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3324  ac_cpp='$CPP $CPPFLAGS'  echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3325  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  if test "${lt_cv_deplibs_check_method+set}" = set; then
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  
 ac_compiler_gnu=$ac_cv_c_compiler_gnu  
   
 echo "$as_me:2150: checking for ANSI C header files" >&5  
 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6  
 if test "${ac_cv_header_stdc+set}" = set; then  
3326    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3327  else  else
3328    cat >conftest.$ac_ext <<_ACEOF    lt_cv_file_magic_cmd='$MAGIC_CMD'
3329  #line 2156 "configure"  lt_cv_file_magic_test_file=
3330  #include "confdefs.h"  lt_cv_deplibs_check_method='unknown'
3331  #include <stdlib.h>  # Need to set the preceding variable on all platforms that support
3332  #include <stdarg.h>  # interlibrary dependencies.
3333  #include <string.h>  # 'none' -- dependencies not supported.
3334  #include <float.h>  # `unknown' -- same as none, but documents that we really don't know.
3335    # 'pass_all' -- all dependencies passed with no checks.
3336    # 'test_compile' -- check by making test program.
3337    # 'file_magic [[regex]]' -- check by looking for files in library path
3338    # which responds to the $file_magic_cmd with a given extended regex.
3339    # If you have `file' or equivalent on your system and you're not sure
3340    # whether `pass_all' will *always* work, you probably want this one.
3341    
3342  _ACEOF  case $host_os in
3343  if { (eval echo "$as_me:2164: \"$ac_cpp conftest.$ac_ext\"") >&5  aix4* | aix5*)
3344    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    lt_cv_deplibs_check_method=pass_all
3345    ac_status=$?    ;;
   egrep -v '^ *\+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:2170: \$? = $ac_status" >&5  
   (exit $ac_status); } >/dev/null; then  
   if test -s conftest.err; then  
     ac_cpp_err=$ac_c_preproc_warn_flag  
   else  
     ac_cpp_err=  
   fi  
 else  
   ac_cpp_err=yes  
 fi  
 if test -z "$ac_cpp_err"; then  
   ac_cv_header_stdc=yes  
 else  
   echo "$as_me: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   ac_cv_header_stdc=no  
 fi  
 rm -f conftest.err conftest.$ac_ext  
3346    
3347  if test $ac_cv_header_stdc = yes; then  beos*)
3348    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    lt_cv_deplibs_check_method=pass_all
3349    cat >conftest.$ac_ext <<_ACEOF    ;;
 #line 2192 "configure"  
 #include "confdefs.h"  
 #include <string.h>  
3350    
3351  _ACEOF  bsdi[45]*)
3352  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3353    egrep "memchr" >/dev/null 2>&1; then    lt_cv_file_magic_cmd='/usr/bin/file -L'
3354    :    lt_cv_file_magic_test_file=/shlib/libc.so
3355  else    ;;
   ac_cv_header_stdc=no  
 fi  
 rm -f conftest*  
3356    
3357  fi  cygwin*)
3358      # func_win32_libid is a shell function defined in ltmain.sh
3359      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3360      lt_cv_file_magic_cmd='func_win32_libid'
3361      ;;
3362    
3363  if test $ac_cv_header_stdc = yes; then  mingw* | pw32*)
3364    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.    # Base MSYS/MinGW do not provide the 'file' command needed by
3365    cat >conftest.$ac_ext <<_ACEOF    # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3366  #line 2210 "configure"    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3367  #include "confdefs.h"    lt_cv_file_magic_cmd='$OBJDUMP -f'
3368  #include <stdlib.h>    ;;
3369    
3370  _ACEOF  darwin* | rhapsody*)
3371  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |    lt_cv_deplibs_check_method=pass_all
3372    egrep "free" >/dev/null 2>&1; then    ;;
   :  
 else  
   ac_cv_header_stdc=no  
 fi  
 rm -f conftest*  
3373    
3374  fi  freebsd* | kfreebsd*-gnu | dragonfly*)
3375      if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3376        case $host_cpu in
3377        i*86 )
3378          # Not sure whether the presence of OpenBSD here was a mistake.
3379          # Let's accept both of them until this is cleared up.
3380          lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3381          lt_cv_file_magic_cmd=/usr/bin/file
3382          lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3383          ;;
3384        esac
3385      else
3386        lt_cv_deplibs_check_method=pass_all
3387      fi
3388      ;;
3389    
3390  if test $ac_cv_header_stdc = yes; then  gnu*)
3391    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.    lt_cv_deplibs_check_method=pass_all
3392    if test "$cross_compiling" = yes; then    ;;
   :  
 else  
   cat >conftest.$ac_ext <<_ACEOF  
 #line 2231 "configure"  
 #include "confdefs.h"  
 #include <ctype.h>  
 #if ((' ' & 0x0FF) == 0x020)  
 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')  
 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))  
 #else  
 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \  
                      || ('j' <= (c) && (c) <= 'r') \  
                      || ('s' <= (c) && (c) <= 'z'))  
 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))  
 #endif  
3393    
3394  #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))  hpux10.20* | hpux11*)
3395  int    lt_cv_file_magic_cmd=/usr/bin/file
3396  main ()    case $host_cpu in
3397  {    ia64*)
3398    int i;      lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3399    for (i = 0; i < 256; i++)      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3400      if (XOR (islower (i), ISLOWER (i))      ;;
3401          || toupper (i) != TOUPPER (i))    hppa*64*)
3402        exit(2);      lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
3403    exit (0);      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3404  }      ;;
3405  _ACEOF    *)
3406  rm -f conftest$ac_exeext      lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3407  if { (eval echo "$as_me:2257: \"$ac_link\"") >&5      lt_cv_file_magic_test_file=/usr/lib/libc.sl
3408    (eval $ac_link) 2>&5      ;;
3409    ac_status=$?    esac
3410    echo "$as_me:2260: \$? = $ac_status" >&5    ;;
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'  
   { (eval echo "$as_me:2262: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:2265: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   :  
 else  
   echo "$as_me: program exited with status $ac_status" >&5  
 echo "$as_me: failed program was:" >&5  
 cat conftest.$ac_ext >&5  
 ac_cv_header_stdc=no  
 fi  
 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext  
 fi  
 fi  
 fi  
 echo "$as_me:2278: result: $ac_cv_header_stdc" >&5  
 echo "${ECHO_T}$ac_cv_header_stdc" >&6  
 if test $ac_cv_header_stdc = yes; then  
3411    
3412  cat >>confdefs.h <<\EOF  interix3*)
3413  #define STDC_HEADERS 1    # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3414  EOF    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
3415      ;;
3416    
3417  fi  irix5* | irix6* | nonstopux*)
3418      case $LD in
3419      *-32|*"-32 ") libmagic=32-bit;;
3420      *-n32|*"-n32 ") libmagic=N32;;
3421      *-64|*"-64 ") libmagic=64-bit;;
3422      *) libmagic=never-match;;
3423      esac
3424      lt_cv_deplibs_check_method=pass_all
3425      ;;
3426    
3427  for ac_header in limits.h  # This must be Linux ELF.
3428  do  linux*)
3429  ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`    lt_cv_deplibs_check_method=pass_all
3430  echo "$as_me:2291: checking for $ac_header" >&5    ;;
3431  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  
3432  if eval "test \"\${$ac_ac_Header+set}\" = set"; then  netbsd*)
3433    echo $ECHO_N "(cached) $ECHO_C" >&6    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3434  else      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   cat >conftest.$ac_ext <<_ACEOF  
 #line 2297 "configure"  
 #include "confdefs.h"  
 #include <$ac_header>  
 _ACEOF  
 if { (eval echo "$as_me:2301: \"$ac_cpp conftest.$ac_ext\"") >&5  
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  
   ac_status=$?  
   egrep -v '^ *\+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:2307: \$? = $ac_status" >&5  
   (exit $ac_status); } >/dev/null; then  
   if test -s conftest.err; then  
     ac_cpp_err=$ac_c_preproc_warn_flag  
3435    else    else
3436      ac_cpp_err=      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3437    fi    fi
3438  else    ;;
3439    ac_cpp_err=yes  
3440  fi  newos6*)
3441  if test -z "$ac_cpp_err"; then    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3442    eval "$ac_ac_Header=yes"    lt_cv_file_magic_cmd=/usr/bin/file
3443  else    lt_cv_file_magic_test_file=/usr/lib/libnls.so
3444    echo "$as_me: failed program was:" >&5    ;;
3445    cat conftest.$ac_ext >&5  
3446    eval "$ac_ac_Header=no"  nto-qnx*)
3447  fi    lt_cv_deplibs_check_method=unknown
3448  rm -f conftest.err conftest.$ac_ext    ;;
3449  fi  
3450  echo "$as_me:2326: result: `eval echo '${'$ac_ac_Header'}'`" >&5  openbsd*)
3451  echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3452  if test `eval echo '${'$ac_ac_Header'}'` = yes; then      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3453    cat >>confdefs.h <<EOF    else
3454  #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3455  EOF    fi
3456      ;;
3457    
3458    osf3* | osf4* | osf5*)
3459      lt_cv_deplibs_check_method=pass_all
3460      ;;
3461    
3462    solaris*)
3463      lt_cv_deplibs_check_method=pass_all
3464      ;;
3465    
3466    sysv4 | sysv4.3*)
3467      case $host_vendor in
3468      motorola)
3469        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]'
3470        lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3471        ;;
3472      ncr)
3473        lt_cv_deplibs_check_method=pass_all
3474        ;;
3475      sequent)
3476        lt_cv_file_magic_cmd='/bin/file'
3477        lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3478        ;;
3479      sni)
3480        lt_cv_file_magic_cmd='/bin/file'
3481        lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3482        lt_cv_file_magic_test_file=/lib/libc.so
3483        ;;
3484      siemens)
3485        lt_cv_deplibs_check_method=pass_all
3486        ;;
3487      pc)
3488        lt_cv_deplibs_check_method=pass_all
3489        ;;
3490      esac
3491      ;;
3492    
3493    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3494      lt_cv_deplibs_check_method=pass_all
3495      ;;
3496    esac
3497    
3498  fi  fi
3499  done  echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3500    echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3501    file_magic_cmd=$lt_cv_file_magic_cmd
3502    deplibs_check_method=$lt_cv_deplibs_check_method
3503    test -z "$deplibs_check_method" && deplibs_check_method=unknown
3504    
3505  echo "$as_me:2336: checking for $CC option to accept ANSI C" >&5  
3506  echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6  
3507  if test "${ac_cv_prog_cc_stdc+set}" = set; then  
3508    # If no C compiler was specified, use CC.
3509    LTCC=${LTCC-"$CC"}
3510    
3511    # If no C compiler flags were specified, use CFLAGS.
3512    LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
3513    
3514    # Allow CC to be a program name with arguments.
3515    compiler=$CC
3516    
3517    
3518    # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3519    if test "${enable_libtool_lock+set}" = set; then
3520      enableval="$enable_libtool_lock"
3521    
3522    fi;
3523    test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3524    
3525    # Some flags need to be propagated to the compiler or linker for good
3526    # libtool support.
3527    case $host in
3528    ia64-*-hpux*)
3529      # Find out which ABI we are using.
3530      echo 'int i;' > conftest.$ac_ext
3531      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3532      (eval $ac_compile) 2>&5
3533      ac_status=$?
3534      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3535      (exit $ac_status); }; then
3536        case `/usr/bin/file conftest.$ac_objext` in
3537        *ELF-32*)
3538          HPUX_IA64_MODE="32"
3539          ;;
3540        *ELF-64*)
3541          HPUX_IA64_MODE="64"
3542          ;;
3543        esac
3544      fi
3545      rm -rf conftest*
3546      ;;
3547    *-*-irix6*)
3548      # Find out which ABI we are using.
3549      echo '#line 3549 "configure"' > conftest.$ac_ext
3550      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3551      (eval $ac_compile) 2>&5
3552      ac_status=$?
3553      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3554      (exit $ac_status); }; then
3555       if test "$lt_cv_prog_gnu_ld" = yes; then
3556        case `/usr/bin/file conftest.$ac_objext` in
3557        *32-bit*)
3558          LD="${LD-ld} -melf32bsmip"
3559          ;;
3560        *N32*)
3561          LD="${LD-ld} -melf32bmipn32"
3562          ;;
3563        *64-bit*)
3564          LD="${LD-ld} -melf64bmip"
3565          ;;
3566        esac
3567       else
3568        case `/usr/bin/file conftest.$ac_objext` in
3569        *32-bit*)
3570          LD="${LD-ld} -32"
3571          ;;
3572        *N32*)
3573          LD="${LD-ld} -n32"
3574          ;;
3575        *64-bit*)
3576          LD="${LD-ld} -64"
3577          ;;
3578        esac
3579       fi
3580      fi
3581      rm -rf conftest*
3582      ;;
3583    
3584    x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
3585      # Find out which ABI we are using.
3586      echo 'int i;' > conftest.$ac_ext
3587      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3588      (eval $ac_compile) 2>&5
3589      ac_status=$?
3590      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591      (exit $ac_status); }; then
3592        case `/usr/bin/file conftest.o` in
3593        *32-bit*)
3594          case $host in
3595            x86_64-*linux*)
3596              LD="${LD-ld} -m elf_i386"
3597              ;;
3598            ppc64-*linux*|powerpc64-*linux*)
3599              LD="${LD-ld} -m elf32ppclinux"
3600              ;;
3601            s390x-*linux*)
3602              LD="${LD-ld} -m elf_s390"
3603              ;;
3604            sparc64-*linux*)
3605              LD="${LD-ld} -m elf32_sparc"
3606              ;;
3607          esac
3608          ;;
3609        *64-bit*)
3610          case $host in
3611            x86_64-*linux*)
3612              LD="${LD-ld} -m elf_x86_64"
3613              ;;
3614            ppc*-*linux*|powerpc*-*linux*)
3615              LD="${LD-ld} -m elf64ppc"
3616              ;;
3617            s390*-*linux*)
3618              LD="${LD-ld} -m elf64_s390"
3619              ;;
3620            sparc*-*linux*)
3621              LD="${LD-ld} -m elf64_sparc"
3622              ;;
3623          esac
3624          ;;
3625        esac
3626      fi
3627      rm -rf conftest*
3628      ;;
3629    
3630    *-*-sco3.2v5*)
3631      # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3632      SAVE_CFLAGS="$CFLAGS"
3633      CFLAGS="$CFLAGS -belf"
3634      echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3635    echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3636    if test "${lt_cv_cc_needs_belf+set}" = set; then
3637    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3638  else  else
3639    ac_cv_prog_cc_stdc=no    ac_ext=c
3640  ac_save_CC=$CC  ac_cpp='$CPP $CPPFLAGS'
3641  cat >conftest.$ac_ext <<_ACEOF  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3642  #line 2344 "configure"  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3643  #include "confdefs.h"  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3644  #include <stdarg.h>  
3645  #include <stdio.h>       cat >conftest.$ac_ext <<_ACEOF
3646  #include <sys/types.h>  /* confdefs.h.  */
3647  #include <sys/stat.h>  _ACEOF
3648  /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */  cat confdefs.h >>conftest.$ac_ext
3649  struct buf { int x; };  cat >>conftest.$ac_ext <<_ACEOF
3650  FILE * (*rcsopen) (struct buf *, struct stat *, int);  /* end confdefs.h.  */
3651  static char *e (p, i)  
      char **p;  
      int i;  
 {  
   return p[i];  
 }  
 static char *f (char * (*g) (char **, int), char **p, ...)  
 {  
   char *s;  
   va_list v;  
   va_start (v,p);  
   s = g (p, va_arg (v,int));  
   va_end (v);  
   return s;  
 }  
 int test (int i, double x);  
 struct s1 {int (*f) (int a);};  
 struct s2 {int (*f) (double a);};  
 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);  
 int argc;  
 char **argv;  
3652  int  int
3653  main ()  main ()
3654  {  {
3655  return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];  
3656    ;    ;
3657    return 0;    return 0;
3658  }  }
3659  _ACEOF  _ACEOF
3660  # Don't try gcc -ansi; that turns off useful extensions and  rm -f conftest.$ac_objext conftest$ac_exeext
3661  # breaks some systems' header files.  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3662  # AIX                   -qlanglvl=ansi    (eval $ac_link) 2>conftest.er1
 # Ultrix and OSF/1      -std1  
 # HP-UX 10.20 and later -Ae  
 # HP-UX older versions  -Aa -D_HPUX_SOURCE  
 # SVR4                  -Xc -D__EXTENSIONS__  
 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"  
 do  
   CC="$ac_save_CC $ac_arg"  
   rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:2393: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>&5  
3663    ac_status=$?    ac_status=$?
3664    echo "$as_me:2396: \$? = $ac_status" >&5    grep -v '^ *+' conftest.er1 >conftest.err
3665      rm -f conftest.er1
3666      cat conftest.err >&5
3667      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3668    (exit $ac_status); } &&    (exit $ac_status); } &&
3669           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
3670    { (eval echo "$as_me:2399: \"$ac_try\"") >&5                           || test ! -s conftest.err'
3671      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3672      (eval $ac_try) 2>&5
3673      ac_status=$?
3674      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675      (exit $ac_status); }; } &&
3676             { ac_try='test -s conftest$ac_exeext'
3677      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3678    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3679    ac_status=$?    ac_status=$?
3680    echo "$as_me:2402: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3682    ac_cv_prog_cc_stdc=$ac_arg    lt_cv_cc_needs_belf=yes
 break  
3683  else  else
3684    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3685  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3686    
3687    lt_cv_cc_needs_belf=no
3688  fi  fi
3689  rm -f conftest.$ac_objext  rm -f conftest.err conftest.$ac_objext \
3690  done        conftest$ac_exeext conftest.$ac_ext
3691  rm -f conftest.$ac_ext conftest.$ac_objext       ac_ext=c
3692  CC=$ac_save_CC  ac_cpp='$CPP $CPPFLAGS'
3693    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3694    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3695    ac_compiler_gnu=$ac_cv_c_compiler_gnu
3696    
3697  fi  fi
3698    echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3699    echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3700      if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3701        # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3702        CFLAGS="$SAVE_CFLAGS"
3703      fi
3704      ;;
3705    sparc*-*solaris*)
3706      # Find out which ABI we are using.
3707      echo 'int i;' > conftest.$ac_ext
3708      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3709      (eval $ac_compile) 2>&5
3710      ac_status=$?
3711      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712      (exit $ac_status); }; then
3713        case `/usr/bin/file conftest.o` in
3714        *64-bit*)
3715          case $lt_cv_prog_gnu_ld in
3716          yes*) LD="${LD-ld} -m elf64_sparc" ;;
3717          *)    LD="${LD-ld} -64" ;;
3718          esac
3719          ;;
3720        esac
3721      fi
3722      rm -rf conftest*
3723      ;;
3724    
3725  case "x$ac_cv_prog_cc_stdc" in  *-*-cygwin* | *-*-mingw* | *-*-pw32*)
3726    x|xno)    if test -n "$ac_tool_prefix"; then
3727      echo "$as_me:2419: result: none needed" >&5    # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3728  echo "${ECHO_T}none needed" >&6 ;;  set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3729    *)  echo "$as_me:$LINENO: checking for $ac_word" >&5
3730      echo "$as_me:2422: result: $ac_cv_prog_cc_stdc" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3731  echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6  if test "${ac_cv_prog_DLLTOOL+set}" = set; then
3732      CC="$CC $ac_cv_prog_cc_stdc" ;;    echo $ECHO_N "(cached) $ECHO_C" >&6
3733  esac  else
3734      if test -n "$DLLTOOL"; then
3735      ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3736    else
3737    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3738    for as_dir in $PATH
3739    do
3740      IFS=$as_save_IFS
3741      test -z "$as_dir" && as_dir=.
3742      for ac_exec_ext in '' $ac_executable_extensions; do
3743      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3744        ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3745        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3746        break 2
3747      fi
3748    done
3749    done
3750    
3751  echo "$as_me:2427: checking for an ANSI C-conforming const" >&5  fi
3752  echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6  fi
3753  if test "${ac_cv_c_const+set}" = set; then  DLLTOOL=$ac_cv_prog_DLLTOOL
3754    if test -n "$DLLTOOL"; then
3755      echo "$as_me:$LINENO: result: $DLLTOOL" >&5
3756    echo "${ECHO_T}$DLLTOOL" >&6
3757    else
3758      echo "$as_me:$LINENO: result: no" >&5
3759    echo "${ECHO_T}no" >&6
3760    fi
3761    
3762    fi
3763    if test -z "$ac_cv_prog_DLLTOOL"; then
3764      ac_ct_DLLTOOL=$DLLTOOL
3765      # Extract the first word of "dlltool", so it can be a program name with args.
3766    set dummy dlltool; ac_word=$2
3767    echo "$as_me:$LINENO: checking for $ac_word" >&5
3768    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3769    if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
3770    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3771  else  else
3772    cat >conftest.$ac_ext <<_ACEOF    if test -n "$ac_ct_DLLTOOL"; then
3773  #line 2433 "configure"    ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3774  #include "confdefs.h"  else
3775    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3776    for as_dir in $PATH
3777    do
3778      IFS=$as_save_IFS
3779      test -z "$as_dir" && as_dir=.
3780      for ac_exec_ext in '' $ac_executable_extensions; do
3781      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3782        ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3783        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3784        break 2
3785      fi
3786    done
3787    done
3788    
3789  int    test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
3790  main ()  fi
3791  {  fi
3792  /* FIXME: Include the comments suggested by Paul. */  ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3793  #ifndef __cplusplus  if test -n "$ac_ct_DLLTOOL"; then
3794    /* Ultrix mips cc rejects this.  */    echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
3795    typedef int charset[2];  echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
3796    const charset x;  else
3797    /* SunOS 4.1.1 cc rejects this.  */    echo "$as_me:$LINENO: result: no" >&5
3798    char const *const *ccp;  echo "${ECHO_T}no" >&6
3799    char **p;  fi
   /* 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;  
3800    
3801      *t++ = 0;    DLLTOOL=$ac_ct_DLLTOOL
3802    }  else
3803    { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */    DLLTOOL="$ac_cv_prog_DLLTOOL"
3804      int x[] = {25, 17};  fi
     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;  
   }  
 #endif  
3805    
3806    ;    if test -n "$ac_tool_prefix"; then
3807    return 0;    # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3808  }  set dummy ${ac_tool_prefix}as; ac_word=$2
3809  _ACEOF  echo "$as_me:$LINENO: checking for $ac_word" >&5
3810  rm -f conftest.$ac_objext  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3811  if { (eval echo "$as_me:2491: \"$ac_compile\"") >&5  if test "${ac_cv_prog_AS+set}" = set; then
3812    (eval $ac_compile) 2>&5    echo $ECHO_N "(cached) $ECHO_C" >&6
   ac_status=$?  
   echo "$as_me:2494: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -s conftest.$ac_objext'  
   { (eval echo "$as_me:2497: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:2500: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   ac_cv_c_const=yes  
3813  else  else
3814    echo "$as_me: failed program was:" >&5    if test -n "$AS"; then
3815  cat conftest.$ac_ext >&5    ac_cv_prog_AS="$AS" # Let the user override the test.
3816  ac_cv_c_const=no  else
3817    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3818    for as_dir in $PATH
3819    do
3820      IFS=$as_save_IFS
3821      test -z "$as_dir" && as_dir=.
3822      for ac_exec_ext in '' $ac_executable_extensions; do
3823      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3824        ac_cv_prog_AS="${ac_tool_prefix}as"
3825        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3826        break 2
3827      fi
3828    done
3829    done
3830    
3831  fi  fi
 rm -f conftest.$ac_objext conftest.$ac_ext  
3832  fi  fi
3833  echo "$as_me:2510: result: $ac_cv_c_const" >&5  AS=$ac_cv_prog_AS
3834  echo "${ECHO_T}$ac_cv_c_const" >&6  if test -n "$AS"; then
3835  if test $ac_cv_c_const = no; then    echo "$as_me:$LINENO: result: $AS" >&5
3836    echo "${ECHO_T}$AS" >&6
3837    else
3838      echo "$as_me:$LINENO: result: no" >&5
3839    echo "${ECHO_T}no" >&6
3840    fi
3841    
3842  cat >>confdefs.h <<\EOF  fi
3843  #define const  if test -z "$ac_cv_prog_AS"; then
3844  EOF    ac_ct_AS=$AS
3845      # Extract the first word of "as", so it can be a program name with args.
3846    set dummy as; ac_word=$2
3847    echo "$as_me:$LINENO: checking for $ac_word" >&5
3848    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6