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

Diff of /code/trunk/configure

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

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