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

Diff of /code/trunk/configure

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

revision 61 by nigel, Sat Feb 24 21:39:58 2007 UTC revision 73 by nigel, Sat Feb 24 21:40:30 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.57.
4  #  #
5  # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001  # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6  # Free Software Foundation, Inc.  # Free Software Foundation, Inc.
7  # This configure script is free software; the Free Software Foundation  # This configure script is free software; the Free Software Foundation
8  # gives unlimited permission to copy, distribute and modify it.  # gives unlimited permission to copy, distribute and modify it.
9    ## --------------------- ##
10    ## M4sh Initialization.  ##
11    ## --------------------- ##
12    
13    # Be Bourne compatible
14    if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15      emulate sh
16      NULLCMD=:
17      # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18      # is contrary to our usage.  Disable this feature.
19      alias -g '${1+"$@"}'='"$@"'
20    elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21      set -o posix
22    fi
23    
24    # Support unset when possible.
25    if (FOO=FOO; unset FOO) >/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 -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45        eval $as_var=C; export $as_var
46      else
47        $as_unset $as_var
48      fi
49    done
50    
51    # 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    
65    # Name of the executable.
66    as_me=`$as_basename "$0" ||
67    $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68             X"$0" : 'X\(//\)$' \| \
69             X"$0" : 'X\(/\)$' \| \
70             .     : '\(.\)' 2>/dev/null ||
71    echo X/"$0" |
72        sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73              /^X\/\(\/\/\)$/{ s//\1/; q; }
74              /^X\/\(\/\).*/{ s//\1/; q; }
75              s/.*/./; q'`
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
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      as_mkdir_p=false
222    fi
223    
224    as_executable_p="test -f"
225    
226    # Sed expression to map a string onto a valid CPP name.
227    as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
228    
229    # Sed expression to map a string onto a valid variable name.
230    as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
231    
232    
233    # IFS
234    # We need space, tab and new line, in precisely that order.
235    as_nl='
236    '
237    IFS="   $as_nl"
238    
239    # CDPATH.
240    $as_unset CDPATH
241    
242    
243  # Find the correct PATH separator.  Usually this is `:', but  # Find the correct PATH separator.  Usually this is `:', but
244  # DJGPP uses `;' like DOS.  # DJGPP uses `;' like DOS.
# Line 17  if test "X${PATH_SEPARATOR+set}" != Xset Line 250  if test "X${PATH_SEPARATOR+set}" != Xset
250    esac    esac
251  fi  fi
252    
253    
254  # Check that we are running under the correct shell.  # Check that we are running under the correct shell.
255  SHELL=${CONFIG_SHELL-/bin/sh}  SHELL=${CONFIG_SHELL-/bin/sh}
256    
# Line 162  if test "X$ECHO" = "X$CONFIG_SHELL $0 -- Line 396  if test "X$ECHO" = "X$CONFIG_SHELL $0 --
396     ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"     ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
397  fi  fi
398    
 # 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"  
   
 # Support unset when possible.  
 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then  
   as_unset=unset  
 else  
   as_unset=false  
 fi  
   
 # 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; }  
   
 # IFS  
 # We need space, tab and new line, in precisely that order.  
 as_nl='  
 '  
 IFS="   $as_nl"  
399    
 # CDPATH.  
 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }  
400    
401  # Name of the host.  # Name of the host.
402  # 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 409  exec 6>&1
409  # Initializations.  # Initializations.
410  #  #
411  ac_default_prefix=/usr/local  ac_default_prefix=/usr/local
412    ac_config_libobj_dir=.
413  cross_compiling=no  cross_compiling=no
414  subdirs=  subdirs=
415  MFLAGS= MAKEFLAGS=  MFLAGS=
416    MAKEFLAGS=
417  SHELL=${CONFIG_SHELL-/bin/sh}  SHELL=${CONFIG_SHELL-/bin/sh}
418    
419  # 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 421  SHELL=${CONFIG_SHELL-/bin/sh}
421  # only ac_max_sed_lines should be used.  # only ac_max_sed_lines should be used.
422  : ${ac_max_here_lines=38}  : ${ac_max_here_lines=38}
423    
424  # Avoid depending upon Character Ranges.  # Identity of this package.
425  ac_cr_az='abcdefghijklmnopqrstuvwxyz'  PACKAGE_NAME=
426  ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'  PACKAGE_TARNAME=
427  ac_cr_09='0123456789'  PACKAGE_VERSION=
428  ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09  PACKAGE_STRING=
429    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"  
430    
431  ac_unique_file="dftables.c"  ac_unique_file="dftables.c"
432  # Factoring default headers for most tests.  # Factoring default headers for most tests.
433  ac_includes_default="\  ac_includes_default="\
434  #include <stdio.h>  #include <stdio.h>
435  #include <sys/types.h>  #if HAVE_SYS_TYPES_H
436  #include <sys/stat.h>  # include <sys/types.h>
437    #endif
438    #if HAVE_SYS_STAT_H
439    # include <sys/stat.h>
440    #endif
441  #if STDC_HEADERS  #if STDC_HEADERS
442  # include <stdlib.h>  # include <stdlib.h>
443  # include <stddef.h>  # include <stddef.h>
# Line 275  ac_includes_default="\ Line 451  ac_includes_default="\
451  #  include <memory.h>  #  include <memory.h>
452  # endif  # endif
453  # include <string.h>  # include <string.h>
454  #else  #endif
455  # if HAVE_STRINGS_H  #if HAVE_STRINGS_H
456  #  include <strings.h>  # include <strings.h>
 # endif  
457  #endif  #endif
458  #if HAVE_INTTYPES_H  #if HAVE_INTTYPES_H
459  # include <inttypes.h>  # include <inttypes.h>
460    #else
461    # if HAVE_STDINT_H
462    #  include <stdint.h>
463    # endif
464  #endif  #endif
465  #if HAVE_UNISTD_H  #if HAVE_UNISTD_H
466  # include <unistd.h>  # include <unistd.h>
467  #endif"  #endif"
468    
469    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 LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CPP EGREP 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 UTF8 WIN_PREFIX ON_WINDOWS NOT_ON_WINDOWS POSIX_OBJ POSIX_LOBJ POSIX_LIB LIBOBJS LTLIBOBJS'
470    ac_subst_files=''
471    
472  # Initialize some variables set by options.  # Initialize some variables set by options.
473  ac_init_help=  ac_init_help=
474  ac_init_version=false  ac_init_version=false
# Line 325  oldincludedir='/usr/include' Line 507  oldincludedir='/usr/include'
507  infodir='${prefix}/info'  infodir='${prefix}/info'
508  mandir='${prefix}/man'  mandir='${prefix}/man'
509    
 # Identity of this package.  
 PACKAGE_NAME=  
 PACKAGE_TARNAME=  
 PACKAGE_VERSION=  
 PACKAGE_STRING=  
 PACKAGE_BUGREPORT=  
   
510  ac_prev=  ac_prev=
511  for ac_option  for ac_option
512  do  do
# Line 377  do Line 552  do
552    -disable-* | --disable-*)    -disable-* | --disable-*)
553      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
554      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
555      expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&      expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
556        { echo "$as_me: error: invalid feature name: $ac_feature" >&2        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
557     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
558      ac_feature=`echo $ac_feature | sed 's/-/_/g'`      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
# Line 386  do Line 561  do
561    -enable-* | --enable-*)    -enable-* | --enable-*)
562      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
563      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
564      expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&      expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
565        { echo "$as_me: error: invalid feature name: $ac_feature" >&2        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
566     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
567      ac_feature=`echo $ac_feature | sed 's/-/_/g'`      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
# Line 464  do Line 639  do
639      with_fp=no ;;      with_fp=no ;;
640    
641    -no-create | --no-create | --no-creat | --no-crea | --no-cre \    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
642    | --no-cr | --no-c)    | --no-cr | --no-c | -n)
643      no_create=yes ;;      no_create=yes ;;
644    
645    -no-recursion | --no-recursion | --no-recursio | --no-recursi \    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
# Line 568  do Line 743  do
743    -with-* | --with-*)    -with-* | --with-*)
744      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
745      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
746      expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&      expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
747        { echo "$as_me: error: invalid package name: $ac_package" >&2        { echo "$as_me: error: invalid package name: $ac_package" >&2
748     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
749      ac_package=`echo $ac_package| sed 's/-/_/g'`      ac_package=`echo $ac_package| sed 's/-/_/g'`
# Line 581  do Line 756  do
756    -without-* | --without-*)    -without-* | --without-*)
757      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
758      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
759      expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&      expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
760        { echo "$as_me: error: invalid package name: $ac_package" >&2        { echo "$as_me: error: invalid package name: $ac_package" >&2
761     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
762      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 788  Try \`$0 --help' for more information."
788    *=*)    *=*)
789      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
790      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
791      expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null &&      expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
792        { echo "$as_me: error: invalid variable name: $ac_envvar" >&2        { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
793     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
794      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 798  Try \`$0 --help' for more information."
798    *)    *)
799      # FIXME: should be removed in autoconf 3.0.      # FIXME: should be removed in autoconf 3.0.
800      echo "$as_me: WARNING: you should use --build, --host, --target" >&2      echo "$as_me: WARNING: you should use --build, --host, --target" >&2
801      expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null &&      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
802        echo "$as_me: WARNING: invalid host type: $ac_option" >&2        echo "$as_me: WARNING: invalid host type: $ac_option" >&2
803      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
804      ;;      ;;
# Line 638  if test -n "$ac_prev"; then Line 813  if test -n "$ac_prev"; then
813  fi  fi
814    
815  # Be sure to have absolute paths.  # Be sure to have absolute paths.
816    for ac_var in exec_prefix prefix
817    do
818      eval ac_val=$`echo $ac_var`
819      case $ac_val in
820        [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
821        *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
822       { (exit 1); exit 1; }; };;
823      esac
824    done
825    
826    # Be sure to have absolute paths.
827  for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \  for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
828                localstatedir libdir includedir oldincludedir infodir mandir \                localstatedir libdir includedir oldincludedir infodir mandir
               exec_prefix prefix  
829  do  do
830    eval ac_val=$`echo $ac_var`    eval ac_val=$`echo $ac_var`
831    case $ac_val in    case $ac_val in
832      [\\/$]* | ?:[\\/]* ) ;;      [\\/$]* | ?:[\\/]* ) ;;
833      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  
834     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
835    esac    esac
836  done  done
837    
838  # There might be people who depend on the old broken behavior: `$host'  # There might be people who depend on the old broken behavior: `$host'
839  # used to hold the argument of --host etc.  # used to hold the argument of --host etc.
840    # FIXME: To remove some day.
841  build=$build_alias  build=$build_alias
842  host=$host_alias  host=$host_alias
843  target=$target_alias  target=$target_alias
844    
845  # FIXME: should be removed in autoconf 3.0.  # FIXME: To remove some day.
846  if test "x$host_alias" != x; then  if test "x$host_alias" != x; then
847    if test "x$build_alias" = x; then    if test "x$build_alias" = x; then
848      cross_compiling=maybe      cross_compiling=maybe
# Line 673  test -n "$host_alias" && ac_tool_prefix= Line 858  test -n "$host_alias" && ac_tool_prefix=
858    
859  test "$silent" = yes && exec 6>/dev/null  test "$silent" = yes && exec 6>/dev/null
860    
861    
862  # Find the source files, if location was not specified.  # Find the source files, if location was not specified.
863  if test -z "$srcdir"; then  if test -z "$srcdir"; then
864    ac_srcdir_defaulted=yes    ac_srcdir_defaulted=yes
865    # Try the directory containing this script, then its parent.    # Try the directory containing this script, then its parent.
866    ac_prog=$0    ac_confdir=`(dirname "$0") 2>/dev/null ||
867    ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
868    test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.           X"$0" : 'X\(//\)[^/]' \| \
869             X"$0" : 'X\(//\)$' \| \
870             X"$0" : 'X\(/\)' \| \
871             .     : '\(.\)' 2>/dev/null ||
872    echo X"$0" |
873        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
874              /^X\(\/\/\)[^/].*/{ s//\1/; q; }
875              /^X\(\/\/\)$/{ s//\1/; q; }
876              /^X\(\/\).*/{ s//\1/; q; }
877              s/.*/./; q'`
878    srcdir=$ac_confdir    srcdir=$ac_confdir
879    if test ! -r $srcdir/$ac_unique_file; then    if test ! -r $srcdir/$ac_unique_file; then
880      srcdir=..      srcdir=..
# Line 689  else Line 884  else
884  fi  fi
885  if test ! -r $srcdir/$ac_unique_file; then  if test ! -r $srcdir/$ac_unique_file; then
886    if test "$ac_srcdir_defaulted" = yes; then    if test "$ac_srcdir_defaulted" = yes; then
887      { 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
888     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
889    else    else
890      { echo "$as_me: error: cannot find sources in $srcdir" >&2      { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
891     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
892    fi    fi
893  fi  fi
894    (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
895      { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
896       { (exit 1); exit 1; }; }
897  srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`  srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
898  ac_env_build_alias_set=${build_alias+set}  ac_env_build_alias_set=${build_alias+set}
899  ac_env_build_alias_value=$build_alias  ac_env_build_alias_value=$build_alias
# Line 738  if test "$ac_init_help" = "long"; then Line 936  if test "$ac_init_help" = "long"; then
936      # The list generated by autoconf has been trimmed to remove many      # The list generated by autoconf has been trimmed to remove many
937      # options that are totally irrelevant to PCRE (e.g. relating to X),      # options that are totally irrelevant to PCRE (e.g. relating to X),
938      # or are not supported by its Makefile.      # or are not supported by its Makefile.
939        # The list generated by autoconf has been trimmed to remove many
940        # options that are totally irrelevant to PCRE (e.g. relating to X),
941        # or are not supported by its Makefile.
942        # The list generated by autoconf has been trimmed to remove many
943        # options that are totally irrelevant to PCRE (e.g. relating to X),
944        # or are not supported by its Makefile.
945    # 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.
946    cat <<EOF    cat <<_ACEOF
947  \`configure' configures this package to adapt to many kinds of systems.  \`configure' configures this package to adapt to many kinds of systems.
948    
949  Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
# Line 760  Configuration: Line 964  Configuration:
964    -n, --no-create         do not create output files    -n, --no-create         do not create output files
965        --srcdir=DIR        find the sources in DIR [configure dir or \`..']        --srcdir=DIR        find the sources in DIR [configure dir or \`..']
966    
967  EOF  _ACEOF
968    
969    cat <<EOF    cat <<_ACEOF
970  Installation directories:  Installation directories:
971    --prefix=PREFIX         install architecture-independent files in PREFIX    --prefix=PREFIX         install architecture-independent files in PREFIX
972                            [$ac_default_prefix]                            [$ac_default_prefix]
# Line 781  Fine tuning of the installation director Line 985  Fine tuning of the installation director
985    --libdir=DIR           object code libraries [EPREFIX/lib]    --libdir=DIR           object code libraries [EPREFIX/lib]
986    --includedir=DIR       C header files [PREFIX/include]    --includedir=DIR       C header files [PREFIX/include]
987    --mandir=DIR           man documentation [PREFIX/man]    --mandir=DIR           man documentation [PREFIX/man]
988  EOF  _ACEOF
989    
990    cat <<\EOF    cat <<\_ACEOF
991    
992  EOF  _ACEOF
993  fi  fi
994    
995  if test -n "$ac_init_help"; then  if test -n "$ac_init_help"; then
996    
997    cat <<\EOF    cat <<\_ACEOF
998    
999  Optional Features:  Optional Features:
1000    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1001    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   --enable-utf8           enable UTF8 support (incomplete)  
   --enable-newline-is-cr  use CR as the newline character  
   --enable-newline-is-lf  use LF as the newline character  
1002    --enable-shared       build shared libraries default=yes    --enable-shared       build shared libraries default=yes
1003    --enable-static       build static libraries default=yes    --enable-static       build static libraries default=yes
1004    --enable-fast-install       optimize for fast installation default=yes    --enable-fast-install       optimize for fast installation default=yes
1005    --disable-libtool-lock  avoid locking (might break parallel builds)    --disable-libtool-lock  avoid locking (might break parallel builds)
1006      --enable-utf8           enable UTF8 support
1007      --enable-newline-is-cr  use CR as the newline character
1008      --enable-newline-is-lf  use LF as the newline character
1009      --enable-ebcdic         assume EBCDIC coding rather than ASCII
1010      --disable-stack-for-recursion  disable use of stack recursion when matching
1011    
1012  Optional Packages:  Optional Packages:
1013    --with-gnu-ld           assume the C compiler uses GNU ld default=no    --with-gnu-ld           assume the C compiler uses GNU ld default=no
1014    --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 both
1015      --with-posix-malloc-threshold=5  threshold for POSIX malloc usage
1016      --with-link-size=2    internal link size (2, 3, or 4 allowed)
1017      --with-match-limit=10000000      default limit on internal looping)
1018    
1019  Some influential environment variables:  Some influential environment variables:
1020    CC          C compiler command    CC          C compiler command
# Line 819  Some influential environment variables: Line 1028  Some influential environment variables:
1028  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
1029  it to find libraries and programs with nonstandard names/locations.  it to find libraries and programs with nonstandard names/locations.
1030    
1031  EOF  _ACEOF
1032  fi  fi
1033    
1034  if test "$ac_init_help" = "recursive"; then  if test "$ac_init_help" = "recursive"; then
1035    # If there are subdirs, report their specific --help.    # If there are subdirs, report their specific --help.
1036    ac_popdir=`pwd`    ac_popdir=`pwd`
1037    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
1038      cd $ac_subdir      test -d $ac_dir || continue
1039      # A "../" for each directory in /$ac_subdir.      ac_builddir=.
1040      ac_dots=`echo $ac_subdir |  
1041               sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`  if test "$ac_dir" != .; then
1042      ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1043      case $srcdir in    # A "../" for each directory in $ac_dir_suffix.
1044      .) # No --srcdir option.  We are building in place.    ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1045        ac_sub_srcdir=$srcdir ;;  else
1046      [\\/]* | ?:[\\/]* ) # Absolute path.    ac_dir_suffix= ac_top_builddir=
1047        ac_sub_srcdir=$srcdir/$ac_subdir ;;  fi
1048      *) # Relative path.  
1049        ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;  case $srcdir in
1050      esac    .)  # No --srcdir option.  We are building in place.
1051        ac_srcdir=.
1052        if test -z "$ac_top_builddir"; then
1053           ac_top_srcdir=.
1054        else
1055           ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1056        fi ;;
1057      [\\/]* | ?:[\\/]* )  # Absolute path.
1058        ac_srcdir=$srcdir$ac_dir_suffix;
1059        ac_top_srcdir=$srcdir ;;
1060      *) # Relative path.
1061        ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1062        ac_top_srcdir=$ac_top_builddir$srcdir ;;
1063    esac
1064    # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1065    # absolute.
1066    ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1067    ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1068    ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1069    ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1070    
1071        cd $ac_dir
1072      # Check for guested configure; otherwise get Cygnus style configure.      # Check for guested configure; otherwise get Cygnus style configure.
1073      if test -f $ac_sub_srcdir/configure.gnu; then      if test -f $ac_srcdir/configure.gnu; then
1074        echo        echo
1075        $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive        $SHELL $ac_srcdir/configure.gnu  --help=recursive
1076      elif test -f $ac_sub_srcdir/configure; then      elif test -f $ac_srcdir/configure; then
1077        echo        echo
1078        $SHELL $ac_sub_srcdir/configure  --help=recursive        $SHELL $ac_srcdir/configure  --help=recursive
1079      elif test -f $ac_sub_srcdir/configure.ac ||      elif test -f $ac_srcdir/configure.ac ||
1080             test -f $ac_sub_srcdir/configure.in; then             test -f $ac_srcdir/configure.in; then
1081        echo        echo
1082        $ac_configure --help        $ac_configure --help
1083      else      else
1084        echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2        echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1085      fi      fi
1086      cd $ac_popdir      cd $ac_popdir
1087    done    done
# Line 860  fi Line 1089  fi
1089    
1090  test -n "$ac_init_help" && exit 0  test -n "$ac_init_help" && exit 0
1091  if $ac_init_version; then  if $ac_init_version; then
1092    cat <<\EOF    cat <<\_ACEOF
1093    
1094  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1095  Free Software Foundation, Inc.  Free Software Foundation, Inc.
1096  This configure script is free software; the Free Software Foundation  This configure script is free software; the Free Software Foundation
1097  gives unlimited permission to copy, distribute and modify it.  gives unlimited permission to copy, distribute and modify it.
1098  EOF  _ACEOF
1099    exit 0    exit 0
1100  fi  fi
1101  exec 5>config.log  exec 5>config.log
1102  cat >&5 <<EOF  cat >&5 <<_ACEOF
1103  This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
1104  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
1105    
1106  It was created by $as_me, which was  It was created by $as_me, which was
1107  generated by GNU Autoconf 2.50.  Invocation command line was  generated by GNU Autoconf 2.57.  Invocation command line was
1108    
1109    $ $0 $@    $ $0 $@
1110    
1111  EOF  _ACEOF
1112  {  {
1113  cat <<_ASUNAME  cat <<_ASUNAME
1114  ## ---------- ##  ## --------- ##
1115  ## Platform.  ##  ## Platform. ##
1116  ## ---------- ##  ## --------- ##
1117    
1118  hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`  hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1119  uname -m = `(uname -m) 2>/dev/null || echo unknown`  uname -m = `(uname -m) 2>/dev/null || echo unknown`
# Line 903  hostinfo               = `(hostinfo) 2>/ Line 1132  hostinfo               = `(hostinfo) 2>/
1132  /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`  /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1133  /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`  /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1134    
 PATH = $PATH  
   
1135  _ASUNAME  _ASUNAME
1136    
1137    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1138    for as_dir in $PATH
1139    do
1140      IFS=$as_save_IFS
1141      test -z "$as_dir" && as_dir=.
1142      echo "PATH: $as_dir"
1143    done
1144    
1145  } >&5  } >&5
1146    
1147  cat >&5 <<EOF  cat >&5 <<_ACEOF
1148  ## ------------ ##  
1149  ## Core tests.  ##  
1150  ## ------------ ##  ## ----------- ##
1151    ## Core tests. ##
1152    ## ----------- ##
1153    
1154    _ACEOF
1155    
 EOF  
1156    
1157  # Keep a trace of the command line.  # Keep a trace of the command line.
1158  # 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.
1159    # Strip out --silent because we don't want to record it for future runs.
1160  # Also quote any args containing shell meta-characters.  # Also quote any args containing shell meta-characters.
1161    # Make two passes to allow for proper duplicate-argument suppression.
1162  ac_configure_args=  ac_configure_args=
1163    ac_configure_args0=
1164    ac_configure_args1=
1165  ac_sep=  ac_sep=
1166  for ac_arg  ac_must_keep_next=false
1167    for ac_pass in 1 2
1168  do  do
1169    case $ac_arg in    for ac_arg
1170    -no-create | --no-create | --no-creat | --no-crea | --no-cre \    do
1171    | --no-cr | --no-c) ;;      case $ac_arg in
1172    -no-recursion | --no-recursion | --no-recursio | --no-recursi \      -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1173    | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;      -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1174    *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)      | -silent | --silent | --silen | --sile | --sil)
1175      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`        continue ;;
1176      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"      *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1177      ac_sep=" " ;;        ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1178    *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"      esac
1179       ac_sep=" " ;;      case $ac_pass in
1180    esac      1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1181    # Get rid of the leading space.      2)
1182          ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1183          if test $ac_must_keep_next = true; then
1184            ac_must_keep_next=false # Got value, back to normal.
1185          else
1186            case $ac_arg in
1187              *=* | --config-cache | -C | -disable-* | --disable-* \
1188              | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1189              | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1190              | -with-* | --with-* | -without-* | --without-* | --x)
1191                case "$ac_configure_args0 " in
1192                  "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1193                esac
1194                ;;
1195              -* ) ac_must_keep_next=true ;;
1196            esac
1197          fi
1198          ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1199          # Get rid of the leading space.
1200          ac_sep=" "
1201          ;;
1202        esac
1203      done
1204  done  done
1205    $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1206    $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1207    
1208  # When interrupted or exit'd, cleanup temporary files, and complete  # When interrupted or exit'd, cleanup temporary files, and complete
1209  # config.log.  We remove comments because anyway the quotes in there  # config.log.  We remove comments because anyway the quotes in there
1210  # would cause problems or look ugly.  # would cause problems or look ugly.
1211    # WARNING: Be sure not to use single quotes in there, as some shells,
1212    # such as our DU 5.0 friend, will then `close' the trap.
1213  trap 'exit_status=$?  trap 'exit_status=$?
1214    # Save into config.log some information that might help in debugging.    # Save into config.log some information that might help in debugging.
1215    echo >&5    {
1216    echo "## ----------------- ##" >&5      echo
1217    echo "## Cache variables.  ##" >&5  
1218    echo "## ----------------- ##" >&5      cat <<\_ASBOX
1219    echo >&5  ## ---------------- ##
1220    # The following way of writing the cache mishandles newlines in values,  ## Cache variables. ##
1221    ## ---------------- ##
1222    _ASBOX
1223        echo
1224        # The following way of writing the cache mishandles newlines in values,
1225  {  {
1226    (set) 2>&1 |    (set) 2>&1 |
1227      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1228      *ac_space=\ *)      *ac_space=\ *)
1229        sed -n \        sed -n \
1230          "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;          "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1231            s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1232        ;;        ;;
1233      *)      *)
1234        sed -n \        sed -n \
1235          "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1236        ;;        ;;
1237      esac;      esac;
1238  } >&5  }
1239    sed "/^$/d" confdefs.h >conftest.log      echo
   if test -s conftest.log; then  
     echo >&5  
     echo "## ------------ ##" >&5  
     echo "## confdefs.h.  ##" >&5  
     echo "## ------------ ##" >&5  
     echo >&5  
     cat conftest.log >&5  
   fi  
   (echo; echo) >&5  
   test "$ac_signal" != 0 &&  
     echo "$as_me: caught signal $ac_signal" >&5  
   echo "$as_me: exit $exit_status" >&5  
   rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&  
     exit $exit_status  
      ' 0  
 for ac_signal in 1 2 13 15; do  
   trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal  
 done  
 ac_signal=0  
1240    
1241  # confdefs.h avoids OS command line length limits that DEFS can exceed.      cat <<\_ASBOX
1242    ## ----------------- ##
1243    ## Output variables. ##
1244    ## ----------------- ##
1245    _ASBOX
1246        echo
1247        for ac_var in $ac_subst_vars
1248        do
1249          eval ac_val=$`echo $ac_var`
1250          echo "$ac_var='"'"'$ac_val'"'"'"
1251        done | sort
1252        echo
1253    
1254        if test -n "$ac_subst_files"; then
1255          cat <<\_ASBOX
1256    ## ------------- ##
1257    ## Output files. ##
1258    ## ------------- ##
1259    _ASBOX
1260          echo
1261          for ac_var in $ac_subst_files
1262          do
1263            eval ac_val=$`echo $ac_var`
1264            echo "$ac_var='"'"'$ac_val'"'"'"
1265          done | sort
1266          echo
1267        fi
1268    
1269        if test -s confdefs.h; then
1270          cat <<\_ASBOX
1271    ## ----------- ##
1272    ## confdefs.h. ##
1273    ## ----------- ##
1274    _ASBOX
1275          echo
1276          sed "/^$/d" confdefs.h | sort
1277          echo
1278        fi
1279        test "$ac_signal" != 0 &&
1280          echo "$as_me: caught signal $ac_signal"
1281        echo "$as_me: exit $exit_status"
1282      } >&5
1283      rm -f core core.* *.core &&
1284      rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1285        exit $exit_status
1286         ' 0
1287    for ac_signal in 1 2 13 15; do
1288      trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1289    done
1290    ac_signal=0
1291    
1292    # confdefs.h avoids OS command line length limits that DEFS can exceed.
1293  rm -rf conftest* confdefs.h  rm -rf conftest* confdefs.h
1294  # 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.
1295  echo >confdefs.h  echo >confdefs.h
1296    
1297    # Predefined preprocessor variables.
1298    
1299    cat >>confdefs.h <<_ACEOF
1300    #define PACKAGE_NAME "$PACKAGE_NAME"
1301    _ACEOF
1302    
1303    
1304    cat >>confdefs.h <<_ACEOF
1305    #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1306    _ACEOF
1307    
1308    
1309    cat >>confdefs.h <<_ACEOF
1310    #define PACKAGE_VERSION "$PACKAGE_VERSION"
1311    _ACEOF
1312    
1313    
1314    cat >>confdefs.h <<_ACEOF
1315    #define PACKAGE_STRING "$PACKAGE_STRING"
1316    _ACEOF
1317    
1318    
1319    cat >>confdefs.h <<_ACEOF
1320    #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1321    _ACEOF
1322    
1323    
1324  # 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.
1325  # Prefer explicitly selected file to automatically selected ones.  # Prefer explicitly selected file to automatically selected ones.
1326  if test -z "$CONFIG_SITE"; then  if test -z "$CONFIG_SITE"; then
# Line 999  if test -z "$CONFIG_SITE"; then Line 1332  if test -z "$CONFIG_SITE"; then
1332  fi  fi
1333  for ac_site_file in $CONFIG_SITE; do  for ac_site_file in $CONFIG_SITE; do
1334    if test -r "$ac_site_file"; then    if test -r "$ac_site_file"; then
1335      { echo "$as_me:1012: loading site script $ac_site_file" >&5      { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1336  echo "$as_me: loading site script $ac_site_file" >&6;}  echo "$as_me: loading site script $ac_site_file" >&6;}
1337      cat "$ac_site_file" >&5      sed 's/^/| /' "$ac_site_file" >&5
1338      . "$ac_site_file"      . "$ac_site_file"
1339    fi    fi
1340  done  done
# Line 1010  if test -r "$cache_file"; then Line 1343  if test -r "$cache_file"; then
1343    # Some versions of bash will fail to source /dev/null (special    # Some versions of bash will fail to source /dev/null (special
1344    # files actually), so we avoid doing that.    # files actually), so we avoid doing that.
1345    if test -f "$cache_file"; then    if test -f "$cache_file"; then
1346      { echo "$as_me:1023: loading cache $cache_file" >&5      { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1347  echo "$as_me: loading cache $cache_file" >&6;}  echo "$as_me: loading cache $cache_file" >&6;}
1348      case $cache_file in      case $cache_file in
1349        [\\/]* | ?:[\\/]* ) . $cache_file;;        [\\/]* | ?:[\\/]* ) . $cache_file;;
# Line 1018  echo "$as_me: loading cache $cache_file" Line 1351  echo "$as_me: loading cache $cache_file"
1351      esac      esac
1352    fi    fi
1353  else  else
1354    { echo "$as_me:1031: creating cache $cache_file" >&5    { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1355  echo "$as_me: creating cache $cache_file" >&6;}  echo "$as_me: creating cache $cache_file" >&6;}
1356    >$cache_file    >$cache_file
1357  fi  fi
1358    
1359  # 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
1360  # value.  # value.
1361  ac_suggest_removing_cache=false  ac_cache_corrupted=false
1362  for ac_var in `(set) 2>&1 |  for ac_var in `(set) 2>&1 |
1363                 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
1364    eval ac_old_set=\$ac_cv_env_${ac_var}_set    eval ac_old_set=\$ac_cv_env_${ac_var}_set
# Line 1034  for ac_var in `(set) 2>&1 | Line 1367  for ac_var in `(set) 2>&1 |
1367    eval ac_new_val="\$ac_env_${ac_var}_value"    eval ac_new_val="\$ac_env_${ac_var}_value"
1368    case $ac_old_set,$ac_new_set in    case $ac_old_set,$ac_new_set in
1369      set,)      set,)
1370        { 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
1371  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;}
1372        ac_suggest_removing_cache=: ;;        ac_cache_corrupted=: ;;
1373      ,set)      ,set)
1374        { 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
1375  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;}
1376        ac_suggest_removing_cache=: ;;        ac_cache_corrupted=: ;;
1377      ,);;      ,);;
1378      *)      *)
1379        if test "x$ac_old_val" != "x$ac_new_val"; then        if test "x$ac_old_val" != "x$ac_new_val"; then
1380          { 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
1381  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;}
1382          { echo "$as_me:1059: WARNING:   former value:  $ac_old_val" >&5          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1383  echo "$as_me: WARNING:   former value:  $ac_old_val" >&2;}  echo "$as_me:   former value:  $ac_old_val" >&2;}
1384          { echo "$as_me:1061: WARNING:   current value: $ac_new_val" >&5          { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1385  echo "$as_me: WARNING:   current value: $ac_new_val" >&2;}  echo "$as_me:   current value: $ac_new_val" >&2;}
1386          ac_suggest_removing_cache=:          ac_cache_corrupted=:
1387        fi;;        fi;;
1388    esac    esac
1389      # Pass precious variables to config.status.
1390      if test "$ac_new_set" = set; then
1391        case $ac_new_val in
1392        *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1393          ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1394        *) ac_arg=$ac_var=$ac_new_val ;;
1395        esac
1396        case " $ac_configure_args " in
1397          *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1398          *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1399        esac
1400      fi
1401  done  done
1402  if $ac_suggest_removing_cache; then  if $ac_cache_corrupted; then
1403    { 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
1404  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;}
1405    { 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
1406  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;}
1407       { (exit 1); exit 1; }; }
1408  fi  fi
1409    
1410  ac_ext=c  ac_ext=c
# Line 1067  ac_compile='$CC -c $CFLAGS $CPPFLAGS con Line 1413  ac_compile='$CC -c $CFLAGS $CPPFLAGS con
1413  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'
1414  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1415    
 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  
1416    
 ac_config_headers="$ac_config_headers config.h:config.in"  
1417    
1418  PCRE_MAJOR=3  
1419  PCRE_MINOR=9  
1420  PCRE_DATE=02-Jan-2002  
1421    
1422    
1423    
1424    
1425    
1426    
1427    
1428    
1429    
1430    
1431    
1432    
1433    
1434    
1435    
1436    
1437    
1438              ac_config_headers="$ac_config_headers config.h:config.in"
1439    
1440    
1441    
1442    PCRE_MAJOR=4
1443    PCRE_MINOR=5
1444    PCRE_DATE=01-December-2003
1445  PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}  PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}
1446    
1447    
1448    POSIX_MALLOC_THRESHOLD=-DPOSIX_MALLOC_THRESHOLD=10
1449    
1450    
1451  PCRE_LIB_VERSION=0:1:0  PCRE_LIB_VERSION=0:1:0
1452  PCRE_POSIXLIB_VERSION=0:0:0  PCRE_POSIXLIB_VERSION=0:0:0
1453    
1454    
1455  ac_ext=c  ac_ext=c
1456  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
1457  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 1460  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1460  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
1461    # 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.
1462  set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
1463  echo "$as_me:1119: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1464  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1465  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1466    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1114  else Line 1468  else
1468    if test -n "$CC"; then    if test -n "$CC"; then
1469    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1470  else  else
1471    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1472  ac_dummy="$PATH"  for as_dir in $PATH
1473  for ac_dir in $ac_dummy; do  do
1474    IFS=$ac_save_IFS    IFS=$as_save_IFS
1475    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
1476    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
1477  ac_cv_prog_CC="${ac_tool_prefix}gcc"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1478  echo "$as_me:1134: found $ac_dir/$ac_word" >&5      ac_cv_prog_CC="${ac_tool_prefix}gcc"
1479  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1480        break 2
1481      fi
1482    done
1483  done  done
1484    
1485  fi  fi
1486  fi  fi
1487  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1488  if test -n "$CC"; then  if test -n "$CC"; then
1489    echo "$as_me:1142: result: $CC" >&5    echo "$as_me:$LINENO: result: $CC" >&5
1490  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
1491  else  else
1492    echo "$as_me:1145: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1493  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1494  fi  fi
1495    
# Line 1141  if test -z "$ac_cv_prog_CC"; then Line 1498  if test -z "$ac_cv_prog_CC"; then
1498    ac_ct_CC=$CC    ac_ct_CC=$CC
1499    # 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.
1500  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1501  echo "$as_me:1154: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1502  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1503  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1504    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1149  else Line 1506  else
1506    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
1507    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.
1508  else  else
1509    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1510  ac_dummy="$PATH"  for as_dir in $PATH
1511  for ac_dir in $ac_dummy; do  do
1512    IFS=$ac_save_IFS    IFS=$as_save_IFS
1513    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
1514    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
1515  ac_cv_prog_ac_ct_CC="gcc"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1516  echo "$as_me:1169: found $ac_dir/$ac_word" >&5      ac_cv_prog_ac_ct_CC="gcc"
1517  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1518        break 2
1519      fi
1520    done
1521  done  done
1522    
1523  fi  fi
1524  fi  fi
1525  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1526  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
1527    echo "$as_me:1177: result: $ac_ct_CC" >&5    echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1528  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
1529  else  else
1530    echo "$as_me:1180: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1531  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1532  fi  fi
1533    
# Line 1180  if test -z "$CC"; then Line 1540  if test -z "$CC"; then
1540    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
1541    # 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.
1542  set dummy ${ac_tool_prefix}cc; ac_word=$2  set dummy ${ac_tool_prefix}cc; ac_word=$2
1543  echo "$as_me:1193: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1544  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1545  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1546    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1188  else Line 1548  else
1548    if test -n "$CC"; then    if test -n "$CC"; then
1549    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1550  else  else
1551    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1552  ac_dummy="$PATH"  for as_dir in $PATH
1553  for ac_dir in $ac_dummy; do  do
1554    IFS=$ac_save_IFS    IFS=$as_save_IFS
1555    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
1556    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
1557  ac_cv_prog_CC="${ac_tool_prefix}cc"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1558  echo "$as_me:1208: found $ac_dir/$ac_word" >&5      ac_cv_prog_CC="${ac_tool_prefix}cc"
1559  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1560        break 2
1561      fi
1562    done
1563  done  done
1564    
1565  fi  fi
1566  fi  fi
1567  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1568  if test -n "$CC"; then  if test -n "$CC"; then
1569    echo "$as_me:1216: result: $CC" >&5    echo "$as_me:$LINENO: result: $CC" >&5
1570  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
1571  else  else
1572    echo "$as_me:1219: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1573  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1574  fi  fi
1575    
# Line 1215  if test -z "$ac_cv_prog_CC"; then Line 1578  if test -z "$ac_cv_prog_CC"; then
1578    ac_ct_CC=$CC    ac_ct_CC=$CC
1579    # 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.
1580  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1581  echo "$as_me:1228: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1582  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1583  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1584    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1223  else Line 1586  else
1586    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
1587    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.
1588  else  else
1589    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1590  ac_dummy="$PATH"  for as_dir in $PATH
1591  for ac_dir in $ac_dummy; do  do
1592    IFS=$ac_save_IFS    IFS=$as_save_IFS
1593    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
1594    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
1595  ac_cv_prog_ac_ct_CC="cc"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1596  echo "$as_me:1243: found $ac_dir/$ac_word" >&5      ac_cv_prog_ac_ct_CC="cc"
1597  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1598        break 2
1599      fi
1600    done
1601  done  done
1602    
1603  fi  fi
1604  fi  fi
1605  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1606  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
1607    echo "$as_me:1251: result: $ac_ct_CC" >&5    echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1608  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
1609  else  else
1610    echo "$as_me:1254: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1611  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1612  fi  fi
1613    
# Line 1254  fi Line 1620  fi
1620  if test -z "$CC"; then  if test -z "$CC"; then
1621    # 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.
1622  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1623  echo "$as_me:1267: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1624  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1625  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1626    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1263  else Line 1629  else
1629    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1630  else  else
1631    ac_prog_rejected=no    ac_prog_rejected=no
1632    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1633  ac_dummy="$PATH"  for as_dir in $PATH
1634  for ac_dir in $ac_dummy; do  do
1635    IFS=$ac_save_IFS    IFS=$as_save_IFS
1636    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
1637    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
1638  if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1639    ac_prog_rejected=yes      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1640    continue         ac_prog_rejected=yes
1641  fi         continue
1642  ac_cv_prog_CC="cc"       fi
1643  echo "$as_me:1287: found $ac_dir/$ac_word" >&5      ac_cv_prog_CC="cc"
1644  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1645        break 2
1646      fi
1647    done
1648  done  done
1649    
1650  if test $ac_prog_rejected = yes; then  if test $ac_prog_rejected = yes; then
# Line 1287  if test $ac_prog_rejected = yes; then Line 1656  if test $ac_prog_rejected = yes; then
1656      # However, it has the same basename, so the bogon will be chosen      # However, it has the same basename, so the bogon will be chosen
1657      # 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.
1658      shift      shift
1659      set dummy "$ac_dir/$ac_word" ${1+"$@"}      ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
     shift  
     ac_cv_prog_CC="$@"  
1660    fi    fi
1661  fi  fi
1662  fi  fi
1663  fi  fi
1664  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1665  if test -n "$CC"; then  if test -n "$CC"; then
1666    echo "$as_me:1309: result: $CC" >&5    echo "$as_me:$LINENO: result: $CC" >&5
1667  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
1668  else  else
1669    echo "$as_me:1312: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1670  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1671  fi  fi
1672    
# Line 1310  if test -z "$CC"; then Line 1677  if test -z "$CC"; then
1677    do    do
1678      # 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.
1679  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1680  echo "$as_me:1323: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1681  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1682  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1683    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1318  else Line 1685  else
1685    if test -n "$CC"; then    if test -n "$CC"; then
1686    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1687  else  else
1688    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1689  ac_dummy="$PATH"  for as_dir in $PATH
1690  for ac_dir in $ac_dummy; do  do
1691    IFS=$ac_save_IFS    IFS=$as_save_IFS
1692    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
1693    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
1694  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1695  echo "$as_me:1338: found $ac_dir/$ac_word" >&5      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1696  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1697        break 2
1698      fi
1699    done
1700  done  done
1701    
1702  fi  fi
1703  fi  fi
1704  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1705  if test -n "$CC"; then  if test -n "$CC"; then
1706    echo "$as_me:1346: result: $CC" >&5    echo "$as_me:$LINENO: result: $CC" >&5
1707  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
1708  else  else
1709    echo "$as_me:1349: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1710  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1711  fi  fi
1712    
# Line 1349  if test -z "$CC"; then Line 1719  if test -z "$CC"; then
1719  do  do
1720    # 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.
1721  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1722  echo "$as_me:1362: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1723  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1724  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1725    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1357  else Line 1727  else
1727    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
1728    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.
1729  else  else
1730    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1731  ac_dummy="$PATH"  for as_dir in $PATH
1732  for ac_dir in $ac_dummy; do  do
1733    IFS=$ac_save_IFS    IFS=$as_save_IFS
1734    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
1735    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
1736  ac_cv_prog_ac_ct_CC="$ac_prog"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1737  echo "$as_me:1377: found $ac_dir/$ac_word" >&5      ac_cv_prog_ac_ct_CC="$ac_prog"
1738  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1739        break 2
1740      fi
1741    done
1742  done  done
1743    
1744  fi  fi
1745  fi  fi
1746  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1747  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
1748    echo "$as_me:1385: result: $ac_ct_CC" >&5    echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1749  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
1750  else  else
1751    echo "$as_me:1388: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1752  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1753  fi  fi
1754    
# Line 1387  fi Line 1760  fi
1760    
1761  fi  fi
1762    
1763  test -z "$CC" && { { echo "$as_me:1400: error: no acceptable cc found in \$PATH" >&5  
1764  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
1765    See \`config.log' for more details." >&5
1766    echo "$as_me: error: no acceptable C compiler found in \$PATH
1767    See \`config.log' for more details." >&2;}
1768     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1769    
1770    # Provide some information about the compiler.
1771    echo "$as_me:$LINENO:" \
1772         "checking for C compiler version" >&5
1773    ac_compiler=`set X $ac_compile; echo $2`
1774    { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1775      (eval $ac_compiler --version </dev/null >&5) 2>&5
1776      ac_status=$?
1777      echo "$as_me:$LINENO: \$? = $ac_status" >&5
1778      (exit $ac_status); }
1779    { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1780      (eval $ac_compiler -v </dev/null >&5) 2>&5
1781      ac_status=$?
1782      echo "$as_me:$LINENO: \$? = $ac_status" >&5
1783      (exit $ac_status); }
1784    { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1785      (eval $ac_compiler -V </dev/null >&5) 2>&5
1786      ac_status=$?
1787      echo "$as_me:$LINENO: \$? = $ac_status" >&5
1788      (exit $ac_status); }
1789    
1790  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
1791  #line 1405 "configure"  #line $LINENO "configure"
1792  #include "confdefs.h"  /* confdefs.h.  */
1793    _ACEOF
1794    cat confdefs.h >>conftest.$ac_ext
1795    cat >>conftest.$ac_ext <<_ACEOF
1796    /* end confdefs.h.  */
1797    
1798  int  int
1799  main ()  main ()
# Line 1404  main () Line 1804  main ()
1804  }  }
1805  _ACEOF  _ACEOF
1806  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
1807  ac_clean_files="$ac_clean_files a.out a.exe"  ac_clean_files="$ac_clean_files a.out a.exe b.out"
1808  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
1809  # It will help us diagnose broken compiler, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
1810  # of exeext.  # of exeext.
1811  echo "$as_me:1421: checking for C compiler default output" >&5  echo "$as_me:$LINENO: checking for C compiler default output" >&5
1812  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1813  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1814  if { (eval echo "$as_me:1424: \"$ac_link_default\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1815    (eval $ac_link_default) 2>&5    (eval $ac_link_default) 2>&5
1816    ac_status=$?    ac_status=$?
1817    echo "$as_me:1427: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
1818    (exit $ac_status); }; then    (exit $ac_status); }; then
1819    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
1820    # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1821    # resort.
1822    
1823    # Be careful to initialize this variable, since it used to be cached.
1824    # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1825    ac_cv_exeext=
1826    # b.out is created by i960 compilers.
1827    for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1828    do
1829      test -f "$ac_file" || continue
1830    case $ac_file in    case $ac_file in
1831      *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1832      a.out ) # We found the default executable, but exeext='' is most          ;;
1833              # certainly right.      conftest.$ac_ext )
1834              break;;          # This is the source file.
1835      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`          ;;
1836            export ac_cv_exeext      [ab].out )
1837            break;;          # We found the default executable, but exeext='' is most
1838      * ) break;;          # certainly right.
1839            break;;
1840        *.* )
1841            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1842            # FIXME: I believe we export ac_cv_exeext for Libtool,
1843            # but it would be cool to find out if it's true.  Does anybody
1844            # maintain Libtool? --akim.
1845            export ac_cv_exeext
1846            break;;
1847        * )
1848            break;;
1849    esac    esac
1850  done  done
1851  else  else
1852    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
1853  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
1854  { { echo "$as_me:1444: error: C compiler cannot create executables" >&5  
1855  echo "$as_me: error: C compiler cannot create executables" >&2;}  { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1856    See \`config.log' for more details." >&5
1857    echo "$as_me: error: C compiler cannot create executables
1858    See \`config.log' for more details." >&2;}
1859     { (exit 77); exit 77; }; }     { (exit 77); exit 77; }; }
1860  fi  fi
1861    
1862  ac_exeext=$ac_cv_exeext  ac_exeext=$ac_cv_exeext
1863  echo "$as_me:1450: result: $ac_file" >&5  echo "$as_me:$LINENO: result: $ac_file" >&5
1864  echo "${ECHO_T}$ac_file" >&6  echo "${ECHO_T}$ac_file" >&6
1865    
1866  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
1867  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
1868  echo "$as_me:1455: checking whether the C compiler works" >&5  echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1869  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1870  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1871  # If not cross compiling, check that we can run a simple program.  # If not cross compiling, check that we can run a simple program.
1872  if test "$cross_compiling" != yes; then  if test "$cross_compiling" != yes; then
1873    if { ac_try='./$ac_file'    if { ac_try='./$ac_file'
1874    { (eval echo "$as_me:1461: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1875    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
1876    ac_status=$?    ac_status=$?
1877    echo "$as_me:1464: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
1878    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
1879      cross_compiling=no      cross_compiling=no
1880    else    else
1881      if test "$cross_compiling" = maybe; then      if test "$cross_compiling" = maybe; then
1882          cross_compiling=yes          cross_compiling=yes
1883      else      else
1884          { { echo "$as_me:1471: error: cannot run C compiled programs.          { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1885  If you meant to cross compile, use \`--host'." >&5  If you meant to cross compile, use \`--host'.
1886    See \`config.log' for more details." >&5
1887  echo "$as_me: error: cannot run C compiled programs.  echo "$as_me: error: cannot run C compiled programs.
1888  If you meant to cross compile, use \`--host'." >&2;}  If you meant to cross compile, use \`--host'.
1889    See \`config.log' for more details." >&2;}
1890     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1891      fi      fi
1892    fi    fi
1893  fi  fi
1894  echo "$as_me:1479: result: yes" >&5  echo "$as_me:$LINENO: result: yes" >&5
1895  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
1896    
1897  rm -f a.out a.exe conftest$ac_cv_exeext  rm -f a.out a.exe conftest$ac_cv_exeext b.out
1898  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
1899  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
1900  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
1901  echo "$as_me:1486: checking whether we are cross compiling" >&5  echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1902  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1903  echo "$as_me:1488: result: $cross_compiling" >&5  echo "$as_me:$LINENO: result: $cross_compiling" >&5
1904  echo "${ECHO_T}$cross_compiling" >&6  echo "${ECHO_T}$cross_compiling" >&6
1905    
1906  echo "$as_me:1491: checking for executable suffix" >&5  echo "$as_me:$LINENO: checking for suffix of executables" >&5
1907  echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6  echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1908  if { (eval echo "$as_me:1493: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1909    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
1910    ac_status=$?    ac_status=$?
1911    echo "$as_me:1496: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
1912    (exit $ac_status); }; then    (exit $ac_status); }; then
1913    # If both `conftest.exe' and `conftest' are `present' (well, observable)    # If both `conftest.exe' and `conftest' are `present' (well, observable)
1914  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1915  # 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
1916  # `rm'.  # `rm'.
1917  for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do  for ac_file in conftest.exe conftest conftest.*; do
1918      test -f "$ac_file" || continue
1919    case $ac_file in    case $ac_file in
1920      *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1921      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1922            export ac_cv_exeext            export ac_cv_exeext
1923            break;;            break;;
# Line 1499  for ac_file in `(ls conftest.exe; ls con Line 1925  for ac_file in `(ls conftest.exe; ls con
1925    esac    esac
1926  done  done
1927  else  else
1928    { { 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
1929  echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}  See \`config.log' for more details." >&5
1930    echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1931    See \`config.log' for more details." >&2;}
1932     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1933  fi  fi
1934    
1935  rm -f conftest$ac_cv_exeext  rm -f conftest$ac_cv_exeext
1936  echo "$as_me:1518: result: $ac_cv_exeext" >&5  echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1937  echo "${ECHO_T}$ac_cv_exeext" >&6  echo "${ECHO_T}$ac_cv_exeext" >&6
1938    
1939  rm -f conftest.$ac_ext  rm -f conftest.$ac_ext
1940  EXEEXT=$ac_cv_exeext  EXEEXT=$ac_cv_exeext
1941  ac_exeext=$EXEEXT  ac_exeext=$EXEEXT
1942  echo "$as_me:1524: checking for object suffix" >&5  echo "$as_me:$LINENO: checking for suffix of object files" >&5
1943  echo $ECHO_N "checking for object suffix... $ECHO_C" >&6  echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1944  if test "${ac_cv_objext+set}" = set; then  if test "${ac_cv_objext+set}" = set; then
1945    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1946  else  else
1947    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
1948  #line 1530 "configure"  #line $LINENO "configure"
1949  #include "confdefs.h"  /* confdefs.h.  */
1950    _ACEOF
1951    cat confdefs.h >>conftest.$ac_ext
1952    cat >>conftest.$ac_ext <<_ACEOF
1953    /* end confdefs.h.  */
1954    
1955  int  int
1956  main ()  main ()
# Line 1529  main () Line 1961  main ()
1961  }  }
1962  _ACEOF  _ACEOF
1963  rm -f conftest.o conftest.obj  rm -f conftest.o conftest.obj
1964  if { (eval echo "$as_me:1542: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1965    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
1966    ac_status=$?    ac_status=$?
1967    echo "$as_me:1545: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
1968    (exit $ac_status); }; then    (exit $ac_status); }; then
1969    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
1970    case $ac_file in    case $ac_file in
1971      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1972      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1973         break;;         break;;
1974    esac    esac
1975  done  done
1976  else  else
1977    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
1978  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
1979  { { echo "$as_me:1557: error: cannot compute OBJEXT: cannot compile" >&5  
1980  echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}  { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1981    See \`config.log' for more details." >&5
1982    echo "$as_me: error: cannot compute suffix of object files: cannot compile
1983    See \`config.log' for more details." >&2;}
1984     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1985  fi  fi
1986    
1987  rm -f conftest.$ac_cv_objext conftest.$ac_ext  rm -f conftest.$ac_cv_objext conftest.$ac_ext
1988  fi  fi
1989  echo "$as_me:1564: result: $ac_cv_objext" >&5  echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1990  echo "${ECHO_T}$ac_cv_objext" >&6  echo "${ECHO_T}$ac_cv_objext" >&6
1991  OBJEXT=$ac_cv_objext  OBJEXT=$ac_cv_objext
1992  ac_objext=$OBJEXT  ac_objext=$OBJEXT
1993  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
1994  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
1995  if test "${ac_cv_c_compiler_gnu+set}" = set; then  if test "${ac_cv_c_compiler_gnu+set}" = set; then
1996    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1997  else  else
1998    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
1999  #line 1574 "configure"  #line $LINENO "configure"
2000  #include "confdefs.h"  /* confdefs.h.  */
2001    _ACEOF
2002    cat confdefs.h >>conftest.$ac_ext
2003    cat >>conftest.$ac_ext <<_ACEOF
2004    /* end confdefs.h.  */
2005    
2006  int  int
2007  main ()  main ()
# Line 1576  main () Line 2015  main ()
2015  }  }
2016  _ACEOF  _ACEOF
2017  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2018  if { (eval echo "$as_me:1589: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2019    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2020    ac_status=$?    ac_status=$?
2021    echo "$as_me:1592: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2022    (exit $ac_status); } &&    (exit $ac_status); } &&
2023           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2024    { (eval echo "$as_me:1595: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2025    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2026    ac_status=$?    ac_status=$?
2027    echo "$as_me:1598: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2028    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2029    ac_compiler_gnu=yes    ac_compiler_gnu=yes
2030  else  else
2031    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2032  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2033    
2034  ac_compiler_gnu=no  ac_compiler_gnu=no
2035  fi  fi
2036  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2037  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2038    
2039  fi  fi
2040  echo "$as_me:1610: result: $ac_cv_c_compiler_gnu" >&5  echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2041  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2042  GCC=`test $ac_compiler_gnu = yes && echo yes`  GCC=`test $ac_compiler_gnu = yes && echo yes`
2043  ac_test_CFLAGS=${CFLAGS+set}  ac_test_CFLAGS=${CFLAGS+set}
2044  ac_save_CFLAGS=$CFLAGS  ac_save_CFLAGS=$CFLAGS
2045  CFLAGS="-g"  CFLAGS="-g"
2046  echo "$as_me:1616: checking whether $CC accepts -g" >&5  echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2047  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2048  if test "${ac_cv_prog_cc_g+set}" = set; then  if test "${ac_cv_prog_cc_g+set}" = set; then
2049    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2050  else  else
2051    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2052  #line 1622 "configure"  #line $LINENO "configure"
2053  #include "confdefs.h"  /* confdefs.h.  */
2054    _ACEOF
2055    cat confdefs.h >>conftest.$ac_ext
2056    cat >>conftest.$ac_ext <<_ACEOF
2057    /* end confdefs.h.  */
2058    
2059  int  int
2060  main ()  main ()
# Line 1621  main () Line 2065  main ()
2065  }  }
2066  _ACEOF  _ACEOF
2067  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2068  if { (eval echo "$as_me:1634: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2069    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2070    ac_status=$?    ac_status=$?
2071    echo "$as_me:1637: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2072    (exit $ac_status); } &&    (exit $ac_status); } &&
2073           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2074    { (eval echo "$as_me:1640: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2075    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2076    ac_status=$?    ac_status=$?
2077    echo "$as_me:1643: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2078    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2079    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2080  else  else
2081    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2082  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2083    
2084  ac_cv_prog_cc_g=no  ac_cv_prog_cc_g=no
2085  fi  fi
2086  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2087  fi  fi
2088  echo "$as_me:1653: result: $ac_cv_prog_cc_g" >&5  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2089  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2090  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
2091    CFLAGS=$ac_save_CFLAGS    CFLAGS=$ac_save_CFLAGS
# Line 1657  else Line 2102  else
2102      CFLAGS=      CFLAGS=
2103    fi    fi
2104  fi  fi
2105    echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2106    echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2107    if test "${ac_cv_prog_cc_stdc+set}" = set; then
2108      echo $ECHO_N "(cached) $ECHO_C" >&6
2109    else
2110      ac_cv_prog_cc_stdc=no
2111    ac_save_CC=$CC
2112    cat >conftest.$ac_ext <<_ACEOF
2113    #line $LINENO "configure"
2114    /* confdefs.h.  */
2115    _ACEOF
2116    cat confdefs.h >>conftest.$ac_ext
2117    cat >>conftest.$ac_ext <<_ACEOF
2118    /* end confdefs.h.  */
2119    #include <stdarg.h>
2120    #include <stdio.h>
2121    #include <sys/types.h>
2122    #include <sys/stat.h>
2123    /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2124    struct buf { int x; };
2125    FILE * (*rcsopen) (struct buf *, struct stat *, int);
2126    static char *e (p, i)
2127         char **p;
2128         int i;
2129    {
2130      return p[i];
2131    }
2132    static char *f (char * (*g) (char **, int), char **p, ...)
2133    {
2134      char *s;
2135      va_list v;
2136      va_start (v,p);
2137      s = g (p, va_arg (v,int));
2138      va_end (v);
2139      return s;
2140    }
2141    int test (int i, double x);
2142    struct s1 {int (*f) (int a);};
2143    struct s2 {int (*f) (double a);};
2144    int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2145    int argc;
2146    char **argv;
2147    int
2148    main ()
2149    {
2150    return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2151      ;
2152      return 0;
2153    }
2154    _ACEOF
2155    # Don't try gcc -ansi; that turns off useful extensions and
2156    # breaks some systems' header files.
2157    # AIX                   -qlanglvl=ansi
2158    # Ultrix and OSF/1      -std1
2159    # HP-UX 10.20 and later -Ae
2160    # HP-UX older versions  -Aa -D_HPUX_SOURCE
2161    # SVR4                  -Xc -D__EXTENSIONS__
2162    for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2163    do
2164      CC="$ac_save_CC $ac_arg"
2165      rm -f conftest.$ac_objext
2166    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2167      (eval $ac_compile) 2>&5
2168      ac_status=$?
2169      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2170      (exit $ac_status); } &&
2171             { ac_try='test -s conftest.$ac_objext'
2172      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2173      (eval $ac_try) 2>&5
2174      ac_status=$?
2175      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2176      (exit $ac_status); }; }; then
2177      ac_cv_prog_cc_stdc=$ac_arg
2178    break
2179    else
2180      echo "$as_me: failed program was:" >&5
2181    sed 's/^/| /' conftest.$ac_ext >&5
2182    
2183    fi
2184    rm -f conftest.$ac_objext
2185    done
2186    rm -f conftest.$ac_ext conftest.$ac_objext
2187    CC=$ac_save_CC
2188    
2189    fi
2190    
2191    case "x$ac_cv_prog_cc_stdc" in
2192      x|xno)
2193        echo "$as_me:$LINENO: result: none needed" >&5
2194    echo "${ECHO_T}none needed" >&6 ;;
2195      *)
2196        echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2197    echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2198        CC="$CC $ac_cv_prog_cc_stdc" ;;
2199    esac
2200    
2201  # 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',
2202  # 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
2203  # 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 2208  cat >conftest.$ac_ext <<_ACEOF
2208  #endif  #endif
2209  _ACEOF  _ACEOF
2210  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2211  if { (eval echo "$as_me:1680: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2212    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2213    ac_status=$?    ac_status=$?
2214    echo "$as_me:1683: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2215    (exit $ac_status); } &&    (exit $ac_status); } &&
2216           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2217    { (eval echo "$as_me:1686: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2218    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2219    ac_status=$?    ac_status=$?
2220    echo "$as_me:1689: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2221    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2222    for ac_declaration in \    for ac_declaration in \
2223     ''\     ''\
# Line 1688  if { (eval echo "$as_me:1680: \"$ac_comp Line 2229  if { (eval echo "$as_me:1680: \"$ac_comp
2229     'void exit (int);'     'void exit (int);'
2230  do  do
2231    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2232  #line 1701 "configure"  #line $LINENO "configure"
2233  #include "confdefs.h"  /* confdefs.h.  */
2234    _ACEOF
2235    cat confdefs.h >>conftest.$ac_ext
2236    cat >>conftest.$ac_ext <<_ACEOF
2237    /* end confdefs.h.  */
2238  #include <stdlib.h>  #include <stdlib.h>
2239  $ac_declaration  $ac_declaration
2240  int  int
# Line 1701  exit (42); Line 2246  exit (42);
2246  }  }
2247  _ACEOF  _ACEOF
2248  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2249  if { (eval echo "$as_me:1714: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2250    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2251    ac_status=$?    ac_status=$?
2252    echo "$as_me:1717: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2253    (exit $ac_status); } &&    (exit $ac_status); } &&
2254           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2255    { (eval echo "$as_me:1720: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2256    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2257    ac_status=$?    ac_status=$?
2258    echo "$as_me:1723: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2260    :    :
2261  else  else
2262    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2263  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2264    
2265  continue  continue
2266  fi  fi
2267  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2268    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2269  #line 1733 "configure"  #line $LINENO "configure"
2270  #include "confdefs.h"  /* confdefs.h.  */
2271    _ACEOF
2272    cat confdefs.h >>conftest.$ac_ext
2273    cat >>conftest.$ac_ext <<_ACEOF
2274    /* end confdefs.h.  */
2275  $ac_declaration  $ac_declaration
2276  int  int
2277  main ()  main ()
# Line 1732  exit (42); Line 2282  exit (42);
2282  }  }
2283  _ACEOF  _ACEOF
2284  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2285  if { (eval echo "$as_me:1745: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2286    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2287    ac_status=$?    ac_status=$?
2288    echo "$as_me:1748: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289    (exit $ac_status); } &&    (exit $ac_status); } &&
2290           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2291    { (eval echo "$as_me:1751: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2292    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2293    ac_status=$?    ac_status=$?
2294    echo "$as_me:1754: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2295    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2296    break    break
2297  else  else
2298    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2299  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2300    
2301  fi  fi
2302  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2303  done  done
2304  echo '#ifdef __cplusplus' >>confdefs.h  rm -f conftest*
2305  echo $ac_declaration      >>confdefs.h  if test -n "$ac_declaration"; then
2306  echo '#endif'             >>confdefs.h    echo '#ifdef __cplusplus' >>confdefs.h
2307      echo $ac_declaration      >>confdefs.h
2308      echo '#endif'             >>confdefs.h
2309    fi
2310    
2311  else  else
2312    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2313  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2314    
2315  fi  fi
2316  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2317  ac_ext=c  ac_ext=c
# Line 1782  for ac_dir in $srcdir $srcdir/.. $srcdir Line 2337  for ac_dir in $srcdir $srcdir/.. $srcdir
2337    fi    fi
2338  done  done
2339  if test -z "$ac_aux_dir"; then  if test -z "$ac_aux_dir"; then
2340    { { 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
2341  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;}
2342     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2343  fi  fi
# Line 1802  ac_configure="$SHELL $ac_aux_dir/configu Line 2357  ac_configure="$SHELL $ac_aux_dir/configu
2357  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2358  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2359  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
2360  echo "$as_me:1815: checking for a BSD compatible install" >&5  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2361  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2362  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
2363  if test "${ac_cv_path_install+set}" = set; then  if test "${ac_cv_path_install+set}" = set; then
2364    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2365  else  else
2366      ac_save_IFS=$IFS; IFS=$ac_path_separator    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2367    for ac_dir in $PATH; do  for as_dir in $PATH
2368      IFS=$ac_save_IFS  do
2369      # Account for people who put trailing slashes in PATH elements.    IFS=$as_save_IFS
2370      case $ac_dir/ in    test -z "$as_dir" && as_dir=.
2371      / | ./ | .// | /cC/* \    # Account for people who put trailing slashes in PATH elements.
2372      | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \  case $as_dir/ in
2373      | /usr/ucb/* ) ;;    ./ | .// | /cC/* | \
2374      *)    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2375        # OSF1 and SCO ODT 3.0 have their own names for install.    /usr/ucb/* ) ;;
2376        # Don't use installbsd from OSF since it installs stuff as root    *)
2377        # by default.      # OSF1 and SCO ODT 3.0 have their own names for install.
2378        for ac_prog in ginstall scoinst install; do      # Don't use installbsd from OSF since it installs stuff as root
2379          if $as_executable_p "$ac_dir/$ac_prog"; then      # by default.
2380            if test $ac_prog = install &&      for ac_prog in ginstall scoinst install; do
2381              grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then        for ac_exec_ext in '' $ac_executable_extensions; do
2382              # AIX install.  It has an incompatible calling convention.          if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2383              :            if test $ac_prog = install &&
2384            elif test $ac_prog = install &&              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2385              grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then              # AIX install.  It has an incompatible calling convention.
2386              # program-specific install script used by HP pwplus--don't use.              :
2387              :            elif test $ac_prog = install &&
2388            else              grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2389              ac_cv_path_install="$ac_dir/$ac_prog -c"              # program-specific install script used by HP pwplus--don't use.
2390              break 2              :
2391            fi            else
2392          fi              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2393                break 3
2394              fi
2395            fi
2396        done        done
2397        ;;      done
2398      esac      ;;
2399    done  esac
2400    done
2401    
2402    
2403  fi  fi
2404    if test "${ac_cv_path_install+set}" = set; then    if test "${ac_cv_path_install+set}" = set; then
# Line 1851  fi Line 2411  fi
2411      INSTALL=$ac_install_sh      INSTALL=$ac_install_sh
2412    fi    fi
2413  fi  fi
2414  echo "$as_me:1864: result: $INSTALL" >&5  echo "$as_me:$LINENO: result: $INSTALL" >&5
2415  echo "${ECHO_T}$INSTALL" >&6  echo "${ECHO_T}$INSTALL" >&6
2416    
2417  # 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 2422  test -z "$INSTALL_SCRIPT" && INSTALL_SCR
2422    
2423  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2424    
 if test -n "$ac_tool_prefix"; then  
   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.  
 set dummy ${ac_tool_prefix}ranlib; ac_word=$2  
 echo "$as_me:1878: checking for $ac_word" >&5  
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  
 if test "${ac_cv_prog_RANLIB+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if test -n "$RANLIB"; then  
   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.  
 else  
   ac_save_IFS=$IFS; IFS=$ac_path_separator  
 ac_dummy="$PATH"  
 for ac_dir in $ac_dummy; do  
   IFS=$ac_save_IFS  
   test -z "$ac_dir" && ac_dir=.  
   $as_executable_p "$ac_dir/$ac_word" || continue  
 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"  
 echo "$as_me:1893: found $ac_dir/$ac_word" >&5  
 break  
 done  
2425    
2426  fi  # Check whether --enable-shared or --disable-shared was given.
2427  fi  if test "${enable_shared+set}" = set; then
2428  RANLIB=$ac_cv_prog_RANLIB    enableval="$enable_shared"
2429  if test -n "$RANLIB"; then    p=${PACKAGE-default}
2430    echo "$as_me:1901: result: $RANLIB" >&5  case $enableval in
2431  echo "${ECHO_T}$RANLIB" >&6  yes) enable_shared=yes ;;
2432  else  no) enable_shared=no ;;
2433    echo "$as_me:1904: result: no" >&5  *)
2434  echo "${ECHO_T}no" >&6    enable_shared=no
2435  fi    # Look at the argument we got.  We use all the common list separators.
2436      IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2437      for pkg in $enableval; do
2438        if test "X$pkg" = "X$p"; then
2439          enable_shared=yes
2440        fi
2441      done
2442      IFS="$ac_save_ifs"
2443      ;;
2444    esac
2445    else
2446      enable_shared=yes
2447    fi;
2448    # Check whether --enable-static or --disable-static was given.
2449    if test "${enable_static+set}" = set; then
2450      enableval="$enable_static"
2451      p=${PACKAGE-default}
2452    case $enableval in
2453    yes) enable_static=yes ;;
2454    no) enable_static=no ;;
2455    *)
2456      enable_static=no
2457      # Look at the argument we got.  We use all the common list separators.
2458      IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2459      for pkg in $enableval; do
2460        if test "X$pkg" = "X$p"; then
2461          enable_static=yes
2462        fi
2463      done
2464      IFS="$ac_save_ifs"
2465      ;;
2466    esac
2467    else
2468      enable_static=yes
2469    fi;
2470    # Check whether --enable-fast-install or --disable-fast-install was given.
2471    if test "${enable_fast_install+set}" = set; then
2472      enableval="$enable_fast_install"
2473      p=${PACKAGE-default}
2474    case $enableval in
2475    yes) enable_fast_install=yes ;;
2476    no) enable_fast_install=no ;;
2477    *)
2478      enable_fast_install=no
2479      # Look at the argument we got.  We use all the common list separators.
2480      IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2481      for pkg in $enableval; do
2482        if test "X$pkg" = "X$p"; then
2483          enable_fast_install=yes
2484        fi
2485      done
2486      IFS="$ac_save_ifs"
2487      ;;
2488    esac
2489    else
2490      enable_fast_install=yes
2491    fi;
2492    # Make sure we can run config.sub.
2493    $ac_config_sub sun4 >/dev/null 2>&1 ||
2494      { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2495    echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2496       { (exit 1); exit 1; }; }
2497    
2498  fi  echo "$as_me:$LINENO: checking build system type" >&5
2499  if test -z "$ac_cv_prog_RANLIB"; then  echo $ECHO_N "checking build system type... $ECHO_C" >&6
2500    ac_ct_RANLIB=$RANLIB  if test "${ac_cv_build+set}" = set; then
   # Extract the first word of "ranlib", so it can be a program name with args.  
 set dummy ranlib; ac_word=$2  
 echo "$as_me:1913: checking for $ac_word" >&5  
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  
 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then  
2501    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2502  else  else
2503    if test -n "$ac_ct_RANLIB"; then    ac_cv_build_alias=$build_alias
2504    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.  test -z "$ac_cv_build_alias" &&
2505  else    ac_cv_build_alias=`$ac_config_guess`
2506    ac_save_IFS=$IFS; IFS=$ac_path_separator  test -z "$ac_cv_build_alias" &&
2507  ac_dummy="$PATH"    { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2508  for ac_dir in $ac_dummy; do  echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2509    IFS=$ac_save_IFS     { (exit 1); exit 1; }; }
2510    test -z "$ac_dir" && ac_dir=.  ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2511    $as_executable_p "$ac_dir/$ac_word" || continue    { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2512  ac_cv_prog_ac_ct_RANLIB="ranlib"  echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2513  echo "$as_me:1928: found $ac_dir/$ac_word" >&5     { (exit 1); exit 1; }; }
 break  
 done  
2514    
   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"  
 fi  
2515  fi  fi
2516  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB  echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2517  if test -n "$ac_ct_RANLIB"; then  echo "${ECHO_T}$ac_cv_build" >&6
2518    echo "$as_me:1937: result: $ac_ct_RANLIB" >&5  build=$ac_cv_build
2519  echo "${ECHO_T}$ac_ct_RANLIB" >&6  build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2520    build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2521    build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2522    
2523    
2524    echo "$as_me:$LINENO: checking host system type" >&5
2525    echo $ECHO_N "checking host system type... $ECHO_C" >&6
2526    if test "${ac_cv_host+set}" = set; then
2527      echo $ECHO_N "(cached) $ECHO_C" >&6
2528  else  else
2529    echo "$as_me:1940: result: no" >&5    ac_cv_host_alias=$host_alias
2530  echo "${ECHO_T}no" >&6  test -z "$ac_cv_host_alias" &&
2531      ac_cv_host_alias=$ac_cv_build_alias
2532    ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2533      { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2534    echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2535       { (exit 1); exit 1; }; }
2536    
2537  fi  fi
2538    echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2539    echo "${ECHO_T}$ac_cv_host" >&6
2540    host=$ac_cv_host
2541    host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2542    host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2543    host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2544    
2545    RANLIB=$ac_ct_RANLIB  
2546    
2547    # Check whether --with-gnu-ld or --without-gnu-ld was given.
2548    if test "${with_gnu_ld+set}" = set; then
2549      withval="$with_gnu_ld"
2550      test "$withval" = no || with_gnu_ld=yes
2551  else  else
2552    RANLIB="$ac_cv_prog_RANLIB"    with_gnu_ld=no
2553    fi;
2554    ac_prog=ld
2555    if test "$GCC" = yes; then
2556      # Check if gcc -print-prog-name=ld gives a path.
2557      echo "$as_me:$LINENO: checking for ld used by GCC" >&5
2558    echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
2559      case $host in
2560      *-*-mingw*)
2561        # gcc leaves a trailing carriage return which upsets mingw
2562        ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2563      *)
2564        ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
2565      esac
2566      case $ac_prog in
2567        # Accept absolute paths.
2568        [\\/]* | [A-Za-z]:[\\/]*)
2569          re_direlt='/[^/][^/]*/\.\./'
2570          # Canonicalize the path of ld
2571          ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
2572          while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
2573            ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
2574          done
2575          test -z "$LD" && LD="$ac_prog"
2576          ;;
2577      "")
2578        # If it fails, then pretend we aren't using GCC.
2579        ac_prog=ld
2580        ;;
2581      *)
2582        # If it is relative, then search for the first ld in PATH.
2583        with_gnu_ld=unknown
2584        ;;
2585      esac
2586    elif test "$with_gnu_ld" = yes; then
2587      echo "$as_me:$LINENO: checking for GNU ld" >&5
2588    echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
2589    else
2590      echo "$as_me:$LINENO: checking for non-GNU ld" >&5
2591    echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
2592    fi
2593    if test "${lt_cv_path_LD+set}" = set; then
2594      echo $ECHO_N "(cached) $ECHO_C" >&6
2595    else
2596      if test -z "$LD"; then
2597      IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
2598      for ac_dir in $PATH; do
2599        test -z "$ac_dir" && ac_dir=.
2600        if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
2601          lt_cv_path_LD="$ac_dir/$ac_prog"
2602          # Check to see if the program is GNU ld.  I'd rather use --version,
2603          # but apparently some GNU ld's only accept -v.
2604          # Break only if it was the GNU/non-GNU ld that we prefer.
2605          if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
2606            test "$with_gnu_ld" != no && break
2607          else
2608            test "$with_gnu_ld" != yes && break
2609          fi
2610        fi
2611      done
2612      IFS="$ac_save_ifs"
2613    else
2614      lt_cv_path_LD="$LD" # Let the user override the test with a path.
2615    fi
2616  fi  fi
2617    
2618  ac_ext=c  LD="$lt_cv_path_LD"
2619  ac_cpp='$CPP $CPPFLAGS'  if test -n "$LD"; then
2620  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'    echo "$as_me:$LINENO: result: $LD" >&5
2621  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  echo "${ECHO_T}$LD" >&6
2622  ac_compiler_gnu=$ac_cv_c_compiler_gnu  else
2623  echo "$as_me:1954: checking how to run the C preprocessor" >&5    echo "$as_me:$LINENO: result: no" >&5
2624  echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6  echo "${ECHO_T}no" >&6
 # On Suns, sometimes $CPP names a directory.  
 if test -n "$CPP" && test -d "$CPP"; then  
   CPP=  
2625  fi  fi
2626  if test -z "$CPP"; then  test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
2627    if test "${ac_cv_prog_CPP+set}" = set; then  echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
2628       { (exit 1); exit 1; }; }
2629    echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
2630    echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
2631    if test "${lt_cv_prog_gnu_ld+set}" = set; then
2632    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2633  else  else
2634        # Double quotes because CPP needs to be expanded    # I'd rather use --version here, but apparently some GNU ld's only accept -v.
2635      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"  if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
2636      do    lt_cv_prog_gnu_ld=yes
       # break 2 since there is a loop in there.  
       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 1976 "configure"  
 #include "confdefs.h"  
 #include <assert.h>  
                      Syntax error  
 _ACEOF  
 if { (eval echo "$as_me:1981: \"$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:1987: \$? = $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  
2637  else  else
2638    ac_cpp_err=yes    lt_cv_prog_gnu_ld=no
2639  fi  fi
2640  if test -z "$ac_cpp_err"; then  fi
2641    :  echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
2642    echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
2643    with_gnu_ld=$lt_cv_prog_gnu_ld
2644    
2645    
2646    echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
2647    echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
2648    if test "${lt_cv_ld_reload_flag+set}" = set; then
2649      echo $ECHO_N "(cached) $ECHO_C" >&6
2650  else  else
2651    echo "$as_me: failed program was:" >&5    lt_cv_ld_reload_flag='-r'
   cat conftest.$ac_ext >&5  
   # Broken: fails on valid input.  
 continue  
2652  fi  fi
2653  rm -f conftest.err conftest.$ac_ext  echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
2654    echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
2655    reload_flag=$lt_cv_ld_reload_flag
2656    test -n "$reload_flag" && reload_flag=" $reload_flag"
2657    
2658    # OK, works on sane cases.  Now check whether non-existent headers  echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
2659    # can be detected and how.  echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
2660    cat >conftest.$ac_ext <<_ACEOF  if test "${lt_cv_path_NM+set}" = set; then
2661  #line 2010 "configure"    echo $ECHO_N "(cached) $ECHO_C" >&6
 #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  
2662  else  else
2663    ac_cpp_err=yes    if test -n "$NM"; then
2664  fi    # Let the user override the test.
2665  if test -z "$ac_cpp_err"; then    lt_cv_path_NM="$NM"
   # Broken: success on invalid input.  
 continue  
2666  else  else
2667    echo "$as_me: failed program was:" >&5    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
2668    cat conftest.$ac_ext >&5    for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
2669    # Passes both tests.      test -z "$ac_dir" && ac_dir=.
2670  ac_preproc_ok=:      tmp_nm=$ac_dir/${ac_tool_prefix}nm
2671  break      if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
2672          # Check to see if the nm accepts a BSD-compat flag.
2673          # Adding the `sed 1q' prevents false positives on HP-UX, which says:
2674          #   nm: unknown option "B" ignored
2675          # Tru64's nm complains that /dev/null is an invalid object file
2676          if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
2677            lt_cv_path_NM="$tmp_nm -B"
2678            break
2679          elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
2680            lt_cv_path_NM="$tmp_nm -p"
2681            break
2682          else
2683            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
2684            continue # so that we can try to find one that supports BSD flags
2685          fi
2686        fi
2687      done
2688      IFS="$ac_save_ifs"
2689      test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
2690  fi  fi
 rm -f conftest.err conftest.$ac_ext  
   
 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  
2691  fi  fi
2692    
2693      done  NM="$lt_cv_path_NM"
2694      ac_cv_prog_CPP=$CPP  echo "$as_me:$LINENO: result: $NM" >&5
2695    echo "${ECHO_T}$NM" >&6
2696    
2697  fi  echo "$as_me:$LINENO: checking whether ln -s works" >&5
2698    CPP=$ac_cv_prog_CPP  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2699  else  LN_S=$as_ln_s
2700    ac_cv_prog_CPP=$CPP  if test "$LN_S" = "ln -s"; then
2701  fi    echo "$as_me:$LINENO: result: yes" >&5
2702  echo "$as_me:2057: result: $CPP" >&5  echo "${ECHO_T}yes" >&6
 echo "${ECHO_T}$CPP" >&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  
 else  
   ac_cpp_err=yes  
 fi  
 if test -z "$ac_cpp_err"; then  
   :  
2703  else  else
2704    echo "$as_me: failed program was:" >&5    echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2705    cat conftest.$ac_ext >&5  echo "${ECHO_T}no, using $LN_S" >&6
   # Broken: fails on valid input.  
 continue  
2706  fi  fi
 rm -f conftest.err conftest.$ac_ext  
2707    
2708    # OK, works on sane cases.  Now check whether non-existent headers  echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
2709    # can be detected and how.  echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
2710    cat >conftest.$ac_ext <<_ACEOF  if test "${lt_cv_deplibs_check_method+set}" = set; then
2711  #line 2101 "configure"    echo $ECHO_N "(cached) $ECHO_C" >&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  
 else  
   ac_cpp_err=yes  
 fi  
 if test -z "$ac_cpp_err"; then  
   # Broken: success on invalid input.  
 continue  
2712  else  else
2713    echo "$as_me: failed program was:" >&5    lt_cv_file_magic_cmd='$MAGIC_CMD'
2714    cat conftest.$ac_ext >&5  lt_cv_file_magic_test_file=
2715    # Passes both tests.  lt_cv_deplibs_check_method='unknown'
2716  ac_preproc_ok=:  # Need to set the preceding variable on all platforms that support
2717  break  # interlibrary dependencies.
2718  fi  # 'none' -- dependencies not supported.
2719  rm -f conftest.err conftest.$ac_ext  # `unknown' -- same as none, but documents that we really don't know.
2720    # 'pass_all' -- all dependencies passed with no checks.
2721    # 'test_compile' -- check by making test program.
2722    # ['file_magic [regex]'] -- check by looking for files in library path
2723    # which responds to the $file_magic_cmd with a given egrep regex.
2724    # If you have `file' or equivalent on your system and you're not sure
2725    # whether `pass_all' will *always* work, you probably want this one.
2726    
2727  done  case $host_os in
2728  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.  aix4* | aix5*)
2729  rm -f conftest.err conftest.$ac_ext    lt_cv_deplibs_check_method=pass_all
2730  if $ac_preproc_ok; then    ;;
   :  
 else  
   { { echo "$as_me:2139: error: C preprocessor \"$CPP\" fails sanity check" >&5  
 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}  
    { (exit 1); exit 1; }; }  
 fi  
2731    
2732  ac_ext=c  beos*)
2733  ac_cpp='$CPP $CPPFLAGS'    lt_cv_deplibs_check_method=pass_all
2734  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  
2735    
2736  echo "$as_me:2150: checking for ANSI C header files" >&5  bsdi4*)
2737  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
2738  if test "${ac_cv_header_stdc+set}" = set; then    lt_cv_file_magic_cmd='/usr/bin/file -L'
2739    echo $ECHO_N "(cached) $ECHO_C" >&6    lt_cv_file_magic_test_file=/shlib/libc.so
2740  else    ;;
   cat >conftest.$ac_ext <<_ACEOF  
 #line 2156 "configure"  
 #include "confdefs.h"  
 #include <stdlib.h>  
 #include <stdarg.h>  
 #include <string.h>  
 #include <float.h>  
2741    
2742  _ACEOF  cygwin* | mingw* | pw32*)
2743  if { (eval echo "$as_me:2164: \"$ac_cpp conftest.$ac_ext\"") >&5    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
2744    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    lt_cv_file_magic_cmd='$OBJDUMP -f'
2745    ac_status=$?    ;;
2746    egrep -v '^ *\+' conftest.er1 >conftest.err  
2747    rm -f conftest.er1  darwin* | rhapsody*)
2748    cat conftest.err >&5    lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
2749    echo "$as_me:2170: \$? = $ac_status" >&5    lt_cv_file_magic_cmd='/usr/bin/file -L'
2750    (exit $ac_status); } >/dev/null; then    case "$host_os" in
2751    if test -s conftest.err; then    rhapsody* | darwin1.012)
2752      ac_cpp_err=$ac_c_preproc_warn_flag      lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
2753        ;;
2754      *) # Darwin 1.3 on
2755        lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
2756        ;;
2757      esac
2758      ;;
2759    
2760    freebsd*)
2761      if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2762        case $host_cpu in
2763        i*86 )
2764          # Not sure whether the presence of OpenBSD here was a mistake.
2765          # Let's accept both of them until this is cleared up.
2766          lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
2767          lt_cv_file_magic_cmd=/usr/bin/file
2768          lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
2769          ;;
2770        esac
2771    else    else
2772      ac_cpp_err=      lt_cv_deplibs_check_method=pass_all
2773    fi    fi
2774  else    ;;
   ac_cpp_err=yes  
 fi  
 if test -z "$ac_cpp_err"; then  
   ac_cv_header_stdc=yes  
 else  
   echo "$as_me: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   ac_cv_header_stdc=no  
 fi  
 rm -f conftest.err conftest.$ac_ext  
   
 if test $ac_cv_header_stdc = yes; then  
   # 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>  
2775    
2776  _ACEOF  gnu*)
2777  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |    lt_cv_deplibs_check_method=pass_all
2778    egrep "memchr" >/dev/null 2>&1; then    ;;
   :  
 else  
   ac_cv_header_stdc=no  
 fi  
 rm -f conftest*  
2779    
2780  fi  hpux10.20*|hpux11*)
2781      lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
2782      lt_cv_file_magic_cmd=/usr/bin/file
2783      lt_cv_file_magic_test_file=/usr/lib/libc.sl
2784      ;;
2785    
2786  if test $ac_cv_header_stdc = yes; then  irix5* | irix6*)
2787    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.    case $host_os in
2788    cat >conftest.$ac_ext <<_ACEOF    irix5*)
2789  #line 2210 "configure"      # this will be overridden with pass_all, but let us keep it just in case
2790  #include "confdefs.h"      lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2791  #include <stdlib.h>      ;;
2792      *)
2793        case $LD in
2794        *-32|*"-32 ") libmagic=32-bit;;
2795        *-n32|*"-n32 ") libmagic=N32;;
2796        *-64|*"-64 ") libmagic=64-bit;;
2797        *) libmagic=never-match;;
2798        esac
2799        # this will be overridden with pass_all, but let us keep it just in case
2800        lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2801        ;;
2802      esac
2803      lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2804      lt_cv_deplibs_check_method=pass_all
2805      ;;
2806    
2807  _ACEOF  # This must be Linux ELF.
2808  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  linux-gnu*)
2809    egrep "free" >/dev/null 2>&1; then    case $host_cpu in
2810    :    alpha* | i*86 | powerpc* | sparc* | ia64* )
2811  else      lt_cv_deplibs_check_method=pass_all ;;
2812    ac_cv_header_stdc=no    *)
2813  fi      # glibc up to 2.1.1 does not perform some relocations on ARM
2814  rm -f conftest*      lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2815      esac
2816      lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2817      ;;
2818    
2819  fi  netbsd*)
2820      if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2821        lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2822      else
2823        lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2824      fi
2825      ;;
2826    
2827  if test $ac_cv_header_stdc = yes; then  newos6*)
2828    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2829    if test "$cross_compiling" = yes; then    lt_cv_file_magic_cmd=/usr/bin/file
2830    :    lt_cv_file_magic_test_file=/usr/lib/libnls.so
2831  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  
2832    
2833  #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))  osf3* | osf4* | osf5*)
2834  int    # this will be overridden with pass_all, but let us keep it just in case
2835  main ()    lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2836  {    lt_cv_file_magic_test_file=/shlib/libc.so
2837    int i;    lt_cv_deplibs_check_method=pass_all
2838    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  
2839    
2840  cat >>confdefs.h <<\EOF  sco3.2v5*)
2841  #define STDC_HEADERS 1    lt_cv_deplibs_check_method=pass_all
2842  EOF    ;;
2843    
2844  fi  solaris*)
2845      lt_cv_deplibs_check_method=pass_all
2846      lt_cv_file_magic_test_file=/lib/libc.so
2847      ;;
2848    
2849  for ac_header in limits.h  sysv5uw[78]* | sysv4*uw2*)
2850  do    lt_cv_deplibs_check_method=pass_all
2851  ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`    ;;
 echo "$as_me:2291: checking for $ac_header" >&5  
 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  
 if eval "test \"\${$ac_ac_Header+set}\" = set"; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   cat >conftest.$ac_ext <<_ACEOF  
 #line 2297 "configure"  
 #include "confdefs.h"  
 #include <$ac_header>  
 _ACEOF  
 if { (eval echo "$as_me:2301: \"$ac_cpp conftest.$ac_ext\"") >&5  
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  
   ac_status=$?  
   egrep -v '^ *\+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:2307: \$? = $ac_status" >&5  
   (exit $ac_status); } >/dev/null; then  
   if test -s conftest.err; then  
     ac_cpp_err=$ac_c_preproc_warn_flag  
   else  
     ac_cpp_err=  
   fi  
 else  
   ac_cpp_err=yes  
 fi  
 if test -z "$ac_cpp_err"; then  
   eval "$ac_ac_Header=yes"  
 else  
   echo "$as_me: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   eval "$ac_ac_Header=no"  
 fi  
 rm -f conftest.err conftest.$ac_ext  
 fi  
 echo "$as_me:2326: result: `eval echo '${'$ac_ac_Header'}'`" >&5  
 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6  
 if test `eval echo '${'$ac_ac_Header'}'` = yes; then  
   cat >>confdefs.h <<EOF  
 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1  
 EOF  
2852    
2853  fi  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2854  done    case $host_vendor in
2855      motorola)
2856        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]'
2857        lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2858        ;;
2859      ncr)
2860        lt_cv_deplibs_check_method=pass_all
2861        ;;
2862      sequent)
2863        lt_cv_file_magic_cmd='/bin/file'
2864        lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
2865        ;;
2866      sni)
2867        lt_cv_file_magic_cmd='/bin/file'
2868        lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
2869        lt_cv_file_magic_test_file=/lib/libc.so
2870        ;;
2871      esac
2872      ;;
2873    esac
2874    
 echo "$as_me:2336: checking for $CC option to accept ANSI C" >&5  
 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6  
 if test "${ac_cv_prog_cc_stdc+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   ac_cv_prog_cc_stdc=no  
 ac_save_CC=$CC  
 cat >conftest.$ac_ext <<_ACEOF  
 #line 2344 "configure"  
 #include "confdefs.h"  
 #include <stdarg.h>  
 #include <stdio.h>  
 #include <sys/types.h>  
 #include <sys/stat.h>  
 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */  
 struct buf { int x; };  
 FILE * (*rcsopen) (struct buf *, struct stat *, int);  
 static char *e (p, i)  
      char **p;  
      int i;  
 {  
   return p[i];  
 }  
 static char *f (char * (*g) (char **, int), char **p, ...)  
 {  
   char *s;  
   va_list v;  
   va_start (v,p);  
   s = g (p, va_arg (v,int));  
   va_end (v);  
   return s;  
 }  
 int test (int i, double x);  
 struct s1 {int (*f) (int a);};  
 struct s2 {int (*f) (double a);};  
 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);  
 int argc;  
 char **argv;  
 int  
 main ()  
 {  
 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];  
   ;  
   return 0;  
 }  
 _ACEOF  
 # Don't try gcc -ansi; that turns off useful extensions and  
 # breaks some systems' header files.  
 # AIX                   -qlanglvl=ansi  
 # Ultrix and OSF/1      -std1  
 # HP-UX 10.20 and later -Ae  
 # HP-UX older versions  -Aa -D_HPUX_SOURCE  
 # SVR4                  -Xc -D__EXTENSIONS__  
 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"  
 do  
   CC="$ac_save_CC $ac_arg"  
   rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:2393: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>&5  
   ac_status=$?  
   echo "$as_me:2396: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -s conftest.$ac_objext'  
   { (eval echo "$as_me:2399: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:2402: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   ac_cv_prog_cc_stdc=$ac_arg  
 break  
 else  
   echo "$as_me: failed program was:" >&5  
 cat conftest.$ac_ext >&5  
2875  fi  fi
2876  rm -f conftest.$ac_objext  echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
2877  done  echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
2878  rm -f conftest.$ac_ext conftest.$ac_objext  file_magic_cmd=$lt_cv_file_magic_cmd
2879  CC=$ac_save_CC  deplibs_check_method=$lt_cv_deplibs_check_method
2880    
 fi  
2881    
 case "x$ac_cv_prog_cc_stdc" in  
   x|xno)  
     echo "$as_me:2419: result: none needed" >&5  
 echo "${ECHO_T}none needed" >&6 ;;  
   *)  
     echo "$as_me:2422: result: $ac_cv_prog_cc_stdc" >&5  
 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6  
     CC="$CC $ac_cv_prog_cc_stdc" ;;  
 esac  
2882    
2883  echo "$as_me:2427: checking for an ANSI C-conforming const" >&5  
2884  echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6  
2885  if test "${ac_cv_c_const+set}" = set; then  
2886    
2887    
2888    # Check for command to grab the raw symbol name followed by C symbol from nm.
2889    echo "$as_me:$LINENO: checking command to parse $NM output" >&5
2890    echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
2891    if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
2892    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2893  else  else
   cat >conftest.$ac_ext <<_ACEOF  
 #line 2433 "configure"  
 #include "confdefs.h"  
2894    
2895  int  # These are sane defaults that work on at least a few old systems.
2896  main ()  # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 {  
 /* FIXME: Include the comments suggested by Paul. */  
 #ifndef __cplusplus  
   /* Ultrix mips cc rejects this.  */  
   typedef int charset[2];  
   const charset x;  
   /* SunOS 4.1.1 cc rejects this.  */  
   char const *const *ccp;  
   char **p;  
   /* NEC SVR4.0.2 mips cc rejects this.  */  
   struct point {int x, y;};  
   static struct point const zero = {0,0};  
   /* AIX XL C 1.02.0.0 rejects this.  
      It does not let you subtract one const X* pointer from another in  
      an arm of an if-expression whose if-part is not a constant  
      expression */  
   const char *g = "string";  
   ccp = &g + (g ? g-g : 0);  
   /* HPUX 7.0 cc rejects these. */  
   ++ccp;  
   p = (char**) ccp;  
   ccp = (char const *const *) p;  
   { /* SCO 3.2v4 cc rejects this.  */  
     char *t;  
     char const *s = 0 ? (char *) 0 : (char const *) 0;  
2897    
2898      *t++ = 0;  # Character class describing NM global symbol codes.
2899    }  symcode='[BCDEGRST]'
   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */  
     int x[] = {25, 17};  
     const int *foo = &x[0];  
     ++foo;  
   }  
   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */  
     typedef const int *iptr;  
     iptr p = 0;  
     ++p;  
   }  
   { /* AIX XL C 1.02.0.0 rejects this saying  
        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */  
     struct s { int j; const int *ap[3]; };  
     struct s *b; b->j = 5;  
   }  
   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */  
     const int foo = 10;  
   }  
 #endif  
2900    
2901    ;  # Regexp to match symbols that can be accessed directly from C.
2902    return 0;  sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
2903    
2904    # Transform the above into a raw symbol and a C symbol.
2905    symxfrm='\1 \2\3 \3'
2906    
2907    # Transform an extracted symbol line into a proper C declaration
2908    lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
2909    
2910    # Define system-specific variables.
2911    case $host_os in
2912    aix*)
2913      symcode='[BCDT]'
2914      ;;
2915    cygwin* | mingw* | pw32*)
2916      symcode='[ABCDGISTW]'
2917      ;;
2918    hpux*) # Its linker distinguishes data from code symbols
2919      lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
2920      ;;
2921    irix*)
2922      symcode='[BCDEGRST]'
2923      ;;
2924    solaris* | sysv5*)
2925      symcode='[BDT]'
2926      ;;
2927    sysv4)
2928      symcode='[DFNSTU]'
2929      ;;
2930    esac
2931    
2932    # Handle CRLF in mingw tool chain
2933    opt_cr=
2934    case $host_os in
2935    mingw*)
2936      opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
2937      ;;
2938    esac
2939    
2940    # If we're using GNU nm, then use its standard symbol codes.
2941    if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
2942      symcode='[ABCDGISTW]'
2943    fi
2944    
2945    # Try without a prefix undercore, then with it.
2946    for ac_symprfx in "" "_"; do
2947    
2948      # Write the raw and C identifiers.
2949    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[         ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
2950    
2951      # Check to see that the pipe works correctly.
2952      pipe_works=no
2953      rm -f conftest*
2954      cat > conftest.$ac_ext <<EOF
2955    #ifdef __cplusplus
2956    extern "C" {
2957    #endif
2958    char nm_test_var;
2959    void nm_test_func(){}
2960    #ifdef __cplusplus
2961  }  }
2962  _ACEOF  #endif
2963  rm -f conftest.$ac_objext  int main(){nm_test_var='a';nm_test_func();return(0);}
2964  if { (eval echo "$as_me:2491: \"$ac_compile\"") >&5  EOF
2965    
2966      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2967    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2968    ac_status=$?    ac_status=$?
2969    echo "$as_me:2494: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970    (exit $ac_status); } &&    (exit $ac_status); }; then
2971           { ac_try='test -s conftest.$ac_objext'      # Now try to grab the symbols.
2972    { (eval echo "$as_me:2497: \"$ac_try\"") >&5      nlist=conftest.nm
2973    (eval $ac_try) 2>&5      if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
2974      (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
2975    ac_status=$?    ac_status=$?
2976    echo "$as_me:2500: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977    (exit $ac_status); }; }; then    (exit $ac_status); } && test -s "$nlist"; then
2978    ac_cv_c_const=yes        # Try sorting and uniquifying the output.
2979  else        if sort "$nlist" | uniq > "$nlist"T; then
2980    echo "$as_me: failed program was:" >&5          mv -f "$nlist"T "$nlist"
2981  cat conftest.$ac_ext >&5        else
2982  ac_cv_c_const=no          rm -f "$nlist"T
2983  fi        fi
2984  rm -f conftest.$ac_objext conftest.$ac_ext  
2985  fi        # Make sure that we snagged all the symbols we need.
2986  echo "$as_me:2510: result: $ac_cv_c_const" >&5        if egrep ' nm_test_var$' "$nlist" >/dev/null; then
2987  echo "${ECHO_T}$ac_cv_c_const" >&6          if egrep ' nm_test_func$' "$nlist" >/dev/null; then
2988  if test $ac_cv_c_const = no; then            cat <<EOF > conftest.$ac_ext
2989    #ifdef __cplusplus
2990    extern "C" {
2991    #endif
2992    
 cat >>confdefs.h <<\EOF  
 #define const  
2993  EOF  EOF
2994              # Now generate the symbol file.
2995              eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
2996    
2997  fi            cat <<EOF >> conftest.$ac_ext
2998    #if defined (__STDC__) && __STDC__
2999    # define lt_ptr_t void *
3000    #else
3001    # define lt_ptr_t char *
3002    # define const
3003    #endif
3004    
3005  for ac_header in stdlib.h string.h memory.h strings.h inttypes.h unistd.h  /* The mapping between symbol names and symbols. */
3006  do  const struct {
3007  ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`    const char *name;
3008  echo "$as_me:2523: checking for $ac_header" >&5    lt_ptr_t address;
3009  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  }
3010  if eval "test \"\${$ac_ac_Header+set}\" = set"; then  lt_preloaded_symbols[] =
3011    echo $ECHO_N "(cached) $ECHO_C" >&6  {
3012  else  EOF
3013    cat >conftest.$ac_ext <<_ACEOF            sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext
3014  #line 2529 "configure"            cat <<\EOF >> conftest.$ac_ext
3015  #include "confdefs.h"    {0, (lt_ptr_t) 0}
3016  #include <$ac_header>  };
3017  _ACEOF  
3018  if { (eval echo "$as_me:2533: \"$ac_cpp conftest.$ac_ext\"") >&5  #ifdef __cplusplus
3019    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  }
3020    #endif
3021    EOF
3022              # Now try linking the two files.
3023              mv conftest.$ac_objext conftstm.$ac_objext
3024              save_LIBS="$LIBS"
3025              save_CFLAGS="$CFLAGS"
3026              LIBS="conftstm.$ac_objext"
3027              CFLAGS="$CFLAGS$no_builtin_flag"
3028              if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3029      (eval $ac_link) 2>&5
3030    ac_status=$?    ac_status=$?
3031    egrep -v '^ *\+' conftest.er1 >conftest.err    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032    rm -f conftest.er1    (exit $ac_status); } && test -s conftest; then
3033    cat conftest.err >&5              pipe_works=yes
3034    echo "$as_me:2539: \$? = $ac_status" >&5            fi
3035    (exit $ac_status); } >/dev/null; then            LIBS="$save_LIBS"
3036    if test -s conftest.err; then            CFLAGS="$save_CFLAGS"
3037      ac_cpp_err=$ac_c_preproc_warn_flag          else
3038              echo "cannot find nm_test_func in $nlist" >&5
3039            fi
3040          else
3041            echo "cannot find nm_test_var in $nlist" >&5
3042          fi
3043        else
3044          echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
3045        fi
3046    else    else
3047      ac_cpp_err=      echo "$progname: failed program was:" >&5
3048        cat conftest.$ac_ext >&5
3049    fi    fi
3050  else    rm -f conftest* conftst*
3051    ac_cpp_err=yes  
3052      # Do not use the global_symbol_pipe unless it works.
3053      if test "$pipe_works" = yes; then
3054        break
3055      else
3056        lt_cv_sys_global_symbol_pipe=
3057      fi
3058    done
3059    
3060  fi  fi
3061  if test -z "$ac_cpp_err"; then  
3062    eval "$ac_ac_Header=yes"  global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
3063    if test -z "$lt_cv_sys_global_symbol_pipe"; then
3064      global_symbol_to_cdecl=
3065  else  else
3066    echo "$as_me: failed program was:" >&5    global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
   cat conftest.$ac_ext >&5  
   eval "$ac_ac_Header=no"  
 fi  
 rm -f conftest.err conftest.$ac_ext  
3067  fi  fi
3068  echo "$as_me:2558: result: `eval echo '${'$ac_ac_Header'}'`" >&5  if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then
3069  echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6    echo "$as_me:$LINENO: result: failed" >&5
3070  if test `eval echo '${'$ac_ac_Header'}'` = yes; then  echo "${ECHO_T}failed" >&6
3071    cat >>confdefs.h <<EOF  else
3072  #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1    echo "$as_me:$LINENO: result: ok" >&5
3073  EOF  echo "${ECHO_T}ok" >&6
   
3074  fi  fi
 done  
3075    
3076  echo "$as_me:2568: checking for size_t" >&5  ac_ext=c
3077  echo $ECHO_N "checking for size_t... $ECHO_C" >&6  ac_cpp='$CPP $CPPFLAGS'
3078  if test "${ac_cv_type_size_t+set}" = set; then  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3079    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3080    ac_compiler_gnu=$ac_cv_c_compiler_gnu
3081    echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3082    echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3083    # On Suns, sometimes $CPP names a directory.
3084    if test -n "$CPP" && test -d "$CPP"; then
3085      CPP=
3086    fi
3087    if test -z "$CPP"; then
3088      if test "${ac_cv_prog_CPP+set}" = set; then
3089    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3090  else  else
3091          # Double quotes because CPP needs to be expanded
3092        for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3093        do
3094          ac_preproc_ok=false
3095    for ac_c_preproc_warn_flag in '' yes
3096    do
3097      # Use a header file that comes with gcc, so configuring glibc
3098      # with a fresh cross-compiler works.
3099      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3100      # <limits.h> exists even on freestanding compilers.
3101      # On the NeXT, cc -E runs the code through the compiler's parser,
3102      # not just through cpp. "Syntax error" is here to catch this case.
3103    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3104  #line 2574 "configure"  #line $LINENO "configure"
3105  #include "confdefs.h"  /* confdefs.h.  */
 $ac_includes_default  
 int  
 main ()  
 {  
 if ((size_t *) 0)  
   return 0;  
 if (sizeof (size_t))  
   return 0;  
   ;  
   return 0;  
 }  
3106  _ACEOF  _ACEOF
3107  rm -f conftest.$ac_objext  cat confdefs.h >>conftest.$ac_ext
3108  if { (eval echo "$as_me:2589: \"$ac_compile\"") >&5  cat >>conftest.$ac_ext <<_ACEOF
3109    (eval $ac_compile) 2>&5  /* end confdefs.h.  */
3110    #ifdef __STDC__
3111    # include <limits.h>
3112    #else
3113    # include <assert.h>
3114    #endif
3115                         Syntax error
3116    _ACEOF
3117    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3118      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3119    ac_status=$?    ac_status=$?
3120    echo "$as_me:2592: \$? = $ac_status" >&5    grep -v '^ *+' conftest.er1 >conftest.err
3121    (exit $ac_status); } &&    rm -f conftest.er1
3122           { ac_try='test -s conftest.$ac_objext'    cat conftest.err >&5
3123    { (eval echo "$as_me:2595: \"$ac_try\"") >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124    (eval $ac_try) 2>&5    (exit $ac_status); } >/dev/null; then
3125      if test -s conftest.err; then
3126        ac_cpp_err=$ac_c_preproc_warn_flag
3127      else
3128        ac_cpp_err=
3129      fi
3130    else
3131      ac_cpp_err=yes
3132    fi
3133    if test -z "$ac_cpp_err"; then
3134      :
3135    else
3136      echo "$as_me: failed program was:" >&5
3137    sed 's/^/| /' conftest.$ac_ext >&5
3138    
3139      # Broken: fails on valid input.
3140    continue
3141    fi
3142    rm -f conftest.err conftest.$ac_ext
3143    
3144      # OK, works on sane cases.  Now check whether non-existent headers
3145      # can be detected and how.
3146      cat >conftest.$ac_ext <<_ACEOF
3147    #line $LINENO "configure"
3148    /* confdefs.h.  */
3149    _ACEOF
3150    cat confdefs.h >>conftest.$ac_ext
3151    cat >>conftest.$ac_ext <<_ACEOF
3152    /* end confdefs.h.  */
3153    #include <ac_nonexistent.h>
3154    _ACEOF
3155    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3156      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3157    ac_status=$?    ac_status=$?
3158    echo "$as_me:2598: \$? = $ac_status" >&5    grep -v '^ *+' conftest.er1 >conftest.err
3159    (exit $ac_status); }; }; then    rm -f conftest.er1
3160    ac_cv_type_size_t=yes    cat conftest.err >&5
3161      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162      (exit $ac_status); } >/dev/null; then
3163      if test -s conftest.err; then
3164        ac_cpp_err=$ac_c_preproc_warn_flag
3165      else
3166        ac_cpp_err=
3167      fi
3168    else
3169      ac_cpp_err=yes
3170    fi
3171    if test -z "$ac_cpp_err"; then
3172      # Broken: success on invalid input.
3173    continue
3174  else  else
3175    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3176  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3177  ac_cv_type_size_t=no  
3178      # Passes both tests.
3179    ac_preproc_ok=:
3180    break
3181  fi  fi
3182  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
3183    
3184    done
3185    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3186    rm -f conftest.err conftest.$ac_ext
3187    if $ac_preproc_ok; then
3188      break
3189  fi  fi
3190  echo "$as_me:2608: result: $ac_cv_type_size_t" >&5  
3191  echo "${ECHO_T}$ac_cv_type_size_t" >&6      done
3192  if test $ac_cv_type_size_t = yes; then      ac_cv_prog_CPP=$CPP
3193    
3194    fi
3195      CPP=$ac_cv_prog_CPP
3196    else
3197      ac_cv_prog_CPP=$CPP
3198    fi
3199    echo "$as_me:$LINENO: result: $CPP" >&5
3200    echo "${ECHO_T}$CPP" >&6
3201    ac_preproc_ok=false
3202    for ac_c_preproc_warn_flag in '' yes
3203    do
3204      # Use a header file that comes with gcc, so configuring glibc
3205      # with a fresh cross-compiler works.
3206      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3207      # <limits.h> exists even on freestanding compilers.
3208      # On the NeXT, cc -E runs the code through the compiler's parser,
3209      # not just through cpp. "Syntax error" is here to catch this case.
3210      cat >conftest.$ac_ext <<_ACEOF
3211    #line $LINENO "configure"
3212    /* confdefs.h.  */
3213    _ACEOF
3214    cat confdefs.h >>conftest.$ac_ext
3215    cat >>conftest.$ac_ext <<_ACEOF
3216    /* end confdefs.h.  */
3217    #ifdef __STDC__
3218    # include <limits.h>
3219    #else
3220    # include <assert.h>
3221    #endif
3222                         Syntax error
3223    _ACEOF
3224    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3225      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3226      ac_status=$?
3227      grep -v '^ *+' conftest.er1 >conftest.err
3228      rm -f conftest.er1
3229      cat conftest.err >&5
3230      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231      (exit $ac_status); } >/dev/null; then
3232      if test -s conftest.err; then
3233        ac_cpp_err=$ac_c_preproc_warn_flag
3234      else
3235        ac_cpp_err=
3236      fi
3237    else
3238      ac_cpp_err=yes
3239    fi
3240    if test -z "$ac_cpp_err"; then
3241    :    :
3242  else  else
3243      echo "$as_me: failed program was:" >&5
3244    sed 's/^/| /' conftest.$ac_ext >&5
3245    
3246  cat >>confdefs.h <<EOF    # Broken: fails on valid input.
3247  #define size_t unsigned  continue
3248  EOF  fi
3249    rm -f conftest.err conftest.$ac_ext
3250    
3251      # OK, works on sane cases.  Now check whether non-existent headers
3252      # can be detected and how.
3253      cat >conftest.$ac_ext <<_ACEOF
3254    #line $LINENO "configure"
3255    /* confdefs.h.  */
3256    _ACEOF
3257    cat confdefs.h >>conftest.$ac_ext
3258    cat >>conftest.$ac_ext <<_ACEOF
3259    /* end confdefs.h.  */
3260    #include <ac_nonexistent.h>
3261    _ACEOF
3262    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3263      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3264      ac_status=$?
3265      grep -v '^ *+' conftest.er1 >conftest.err
3266      rm -f conftest.er1
3267      cat conftest.err >&5
3268      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269      (exit $ac_status); } >/dev/null; then
3270      if test -s conftest.err; then
3271        ac_cpp_err=$ac_c_preproc_warn_flag
3272      else
3273        ac_cpp_err=
3274      fi
3275    else
3276      ac_cpp_err=yes
3277    fi
3278    if test -z "$ac_cpp_err"; then
3279      # Broken: success on invalid input.
3280    continue
3281    else
3282      echo "$as_me: failed program was:" >&5
3283    sed 's/^/| /' conftest.$ac_ext >&5
3284    
3285      # Passes both tests.
3286    ac_preproc_ok=:
3287    break
3288    fi
3289    rm -f conftest.err conftest.$ac_ext
3290    
3291    done
3292    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3293    rm -f conftest.err conftest.$ac_ext
3294    if $ac_preproc_ok; then
3295      :
3296    else
3297      { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3298    See \`config.log' for more details." >&5
3299    echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3300    See \`config.log' for more details." >&2;}
3301       { (exit 1); exit 1; }; }
3302  fi  fi
3303    
3304  for ac_func in bcopy memmove strerror  ac_ext=c
3305  do  ac_cpp='$CPP $CPPFLAGS'
3306  ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3307  echo "$as_me:2623: checking for $ac_func" >&5  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3308  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3309  if eval "test \"\${$ac_ac_var+set}\" = set"; then  
3310    
3311    echo "$as_me:$LINENO: checking for egrep" >&5
3312    echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3313    if test "${ac_cv_prog_egrep+set}" = set; then
3314      echo $ECHO_N "(cached) $ECHO_C" >&6
3315    else
3316      if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3317        then ac_cv_prog_egrep='grep -E'
3318        else ac_cv_prog_egrep='egrep'
3319        fi
3320    fi
3321    echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3322    echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3323     EGREP=$ac_cv_prog_egrep
3324    
3325    
3326    echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3327    echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3328    if test "${ac_cv_header_stdc+set}" = set; then
3329    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3330  else  else
3331    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3332  #line 2629 "configure"  #line $LINENO "configure"
3333  #include "confdefs.h"  /* confdefs.h.  */
3334  /* System header to define __stub macros and hopefully few prototypes,  _ACEOF
3335      which can conflict with char $ac_func (); below.  */  cat confdefs.h >>conftest.$ac_ext
3336  #include <assert.h>  cat >>conftest.$ac_ext <<_ACEOF
3337  /* Override any gcc2 internal prototype to avoid an error.  */  /* end confdefs.h.  */
3338  #ifdef __cplusplus  #include <stdlib.h>
3339  extern "C"  #include <stdarg.h>
3340  #endif  #include <string.h>
3341  /* We use char because int might match the return type of a gcc2  #include <float.h>
    builtin and then its argument prototype would still apply.  */  
 char $ac_func ();  
 char (*f) ();  
3342    
3343  int  int
3344  main ()  main ()
3345  {  {
 /* The GNU C library defines this for functions which it implements  
     to always fail with ENOSYS.  Some functions are actually named  
     something starting with __ and the normal name is an alias.  */  
 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)  
 choke me  
 #else  
 f = $ac_func;  
 #endif  
3346    
3347    ;    ;
3348    return 0;    return 0;
3349  }  }
3350  _ACEOF  _ACEOF
3351  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext
3352  if { (eval echo "$as_me:2660: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3353    (eval $ac_link) 2>&5    (eval $ac_compile) 2>&5
3354    ac_status=$?    ac_status=$?
3355    echo "$as_me:2663: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356    (exit $ac_status); } &&    (exit $ac_status); } &&
3357           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest.$ac_objext'
3358    { (eval echo "$as_me:2666: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3359    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3360    ac_status=$?    ac_status=$?
3361    echo "$as_me:2669: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3363    eval "$ac_ac_var=yes"    ac_cv_header_stdc=yes
3364  else  else
3365    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3366  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3367  eval "$ac_ac_var=no"  
3368    ac_cv_header_stdc=no
3369  fi  fi
3370  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3371    
3372    if test $ac_cv_header_stdc = yes; then
3373      # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3374      cat >conftest.$ac_ext <<_ACEOF
3375    #line $LINENO "configure"
3376    /* confdefs.h.  */
3377    _ACEOF
3378    cat confdefs.h >>conftest.$ac_ext
3379    cat >>conftest.$ac_ext <<_ACEOF
3380    /* end confdefs.h.  */
3381    #include <string.h>
3382    
3383    _ACEOF
3384    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3385      $EGREP "memchr" >/dev/null 2>&1; then
3386      :
3387    else
3388      ac_cv_header_stdc=no
3389  fi  fi
3390  echo "$as_me:2679: result: `eval echo '${'$ac_ac_var'}'`" >&5  rm -f conftest*
 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6  
 if test `eval echo '${'$ac_ac_var'}'` = yes; then  
   cat >>confdefs.h <<EOF  
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1  
 EOF  
3391    
3392  fi  fi
 done  
3393    
3394  # Check whether --enable-utf8 or --disable-utf8 was given.  if test $ac_cv_header_stdc = yes; then
3395  if test "${enable_utf8+set}" = set; then    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3396    enableval="$enable_utf8"    cat >conftest.$ac_ext <<_ACEOF
3397    if test "$enableval" = "yes"; then  #line $LINENO "configure"
3398    UTF8=-DSUPPORT_UTF8  /* confdefs.h.  */
3399    _ACEOF
3400    cat confdefs.h >>conftest.$ac_ext
3401    cat >>conftest.$ac_ext <<_ACEOF
3402    /* end confdefs.h.  */
3403    #include <stdlib.h>
3404    
3405    _ACEOF
3406    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3407      $EGREP "free" >/dev/null 2>&1; then
3408      :
3409    else
3410      ac_cv_header_stdc=no
3411  fi  fi
3412    rm -f conftest*
3413    
3414  fi;  fi
3415    
3416  # Check whether --enable-newline-is-cr or --disable-newline-is-cr was given.  if test $ac_cv_header_stdc = yes; then
3417  if test "${enable_newline_is_cr+set}" = set; then    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3418    enableval="$enable_newline_is_cr"    if test "$cross_compiling" = yes; then
3419    if test "$enableval" = "yes"; then    :
3420    NEWLINE=-DNEWLINE=13  else
3421      cat >conftest.$ac_ext <<_ACEOF
3422    #line $LINENO "configure"
3423    /* confdefs.h.  */
3424    _ACEOF
3425    cat confdefs.h >>conftest.$ac_ext
3426    cat >>conftest.$ac_ext <<_ACEOF
3427    /* end confdefs.h.  */
3428    #include <ctype.h>
3429    #if ((' ' & 0x0FF) == 0x020)
3430    # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3431    # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3432    #else
3433    # define ISLOWER(c) \
3434                       (('a' <= (c) && (c) <= 'i') \
3435                         || ('j' <= (c) && (c) <= 'r') \
3436                         || ('s' <= (c) && (c) <= 'z'))
3437    # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3438    #endif
3439    
3440    #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3441    int
3442    main ()
3443    {
3444      int i;
3445      for (i = 0; i < 256; i++)
3446        if (XOR (islower (i), ISLOWER (i))
3447            || toupper (i) != TOUPPER (i))
3448          exit(2);
3449      exit (0);
3450    }
3451    _ACEOF
3452    rm -f conftest$ac_exeext
3453    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3454      (eval $ac_link) 2>&5
3455      ac_status=$?
3456      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3457      (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3458      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3459      (eval $ac_try) 2>&5
3460      ac_status=$?
3461      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462      (exit $ac_status); }; }; then
3463      :
3464    else
3465      echo "$as_me: program exited with status $ac_status" >&5
3466    echo "$as_me: failed program was:" >&5
3467    sed 's/^/| /' conftest.$ac_ext >&5
3468    
3469    ( exit $ac_status )
3470    ac_cv_header_stdc=no
3471    fi
3472    rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3473    fi
3474  fi  fi
3475    fi
3476    echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3477    echo "${ECHO_T}$ac_cv_header_stdc" >&6
3478    if test $ac_cv_header_stdc = yes; then
3479    
3480  fi;  cat >>confdefs.h <<\_ACEOF
3481    #define STDC_HEADERS 1
3482    _ACEOF
3483    
 # Check whether --enable-newline-is-lf or --disable-newline-is-lf was given.  
 if test "${enable_newline_is_lf+set}" = set; then  
   enableval="$enable_newline_is_lf"  
   if test "$enableval" = "yes"; then  
   NEWLINE=-DNEWLINE=10  
3484  fi  fi
3485    
3486  fi;  # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3487    
 # Check whether --enable-shared or --disable-shared was given.  
 if test "${enable_shared+set}" = set; then  
   enableval="$enable_shared"  
   p=${PACKAGE-default}  
 case $enableval in  
 yes) enable_shared=yes ;;  
 no) enable_shared=no ;;  
 *)  
   enable_shared=no  
   # Look at the argument we got.  We use all the common list separators.  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"  
   for pkg in $enableval; do  
     if test "X$pkg" = "X$p"; then  
       enable_shared=yes  
     fi  
   done  
   IFS="$ac_save_ifs"  
   ;;  
 esac  
 else  
   enable_shared=yes  
 fi;  
 # Check whether --enable-static or --disable-static was given.  
 if test "${enable_static+set}" = set; then  
   enableval="$enable_static"  
   p=${PACKAGE-default}  
 case $enableval in  
 yes) enable_static=yes ;;  
 no) enable_static=no ;;  
 *)  
   enable_static=no  
   # Look at the argument we got.  We use all the common list separators.  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"  
   for pkg in $enableval; do  
     if test "X$pkg" = "X$p"; then  
       enable_static=yes  
     fi  
   done  
   IFS="$ac_save_ifs"  
   ;;  
 esac  
 else  
   enable_static=yes  
 fi;  
 # Check whether --enable-fast-install or --disable-fast-install was given.  
 if test "${enable_fast_install+set}" = set; then  
   enableval="$enable_fast_install"  
   p=${PACKAGE-default}  
 case $enableval in  
 yes) enable_fast_install=yes ;;  
 no) enable_fast_install=no ;;  
 *)  
   enable_fast_install=no  
   # Look at the argument we got.  We use all the common list separators.  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"  
   for pkg in $enableval; do  
     if test "X$pkg" = "X$p"; then  
       enable_fast_install=yes  
     fi  
   done  
   IFS="$ac_save_ifs"  
   ;;  
 esac  
 else  
   enable_fast_install=yes  
 fi;  
 # Make sure we can run config.sub.  
 $ac_config_sub sun4 >/dev/null 2>&1 ||  
   { { echo "$as_me:2784: error: cannot run $ac_config_sub" >&5  
 echo "$as_me: error: cannot run $ac_config_sub" >&2;}  
    { (exit 1); exit 1; }; }  
3488    
3489  echo "$as_me:2788: checking build system type" >&5  
3490  echo $ECHO_N "checking build system type... $ECHO_C" >&6  
3491  if test "${ac_cv_build+set}" = set; then  
3492    
3493    
3494    
3495    
3496    for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3497                      inttypes.h stdint.h unistd.h
3498    do
3499    as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3500    echo "$as_me:$LINENO: checking for $ac_header" >&5
3501    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3502    if eval "test \"\${$as_ac_Header+set}\" = set"; then
3503    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3504  else  else
3505    ac_cv_build_alias=$build_alias    cat >conftest.$ac_ext <<_ACEOF
3506  test -z "$ac_cv_build_alias" &&  #line $LINENO "configure"
3507    ac_cv_build_alias=`$ac_config_guess`  /* confdefs.h.  */
3508  test -z "$ac_cv_build_alias" &&  _ACEOF
3509    { { echo "$as_me:2797: error: cannot guess build type; you must specify one" >&5  cat confdefs.h >>conftest.$ac_ext
3510  echo "$as_me: error: cannot guess build type; you must specify one" >&2;}  cat >>conftest.$ac_ext <<_ACEOF
3511     { (exit 1); exit 1; }; }  /* end confdefs.h.  */
3512  ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||  $ac_includes_default
3513    { { echo "$as_me:2801: error: $ac_config_sub $ac_cv_build_alias failed." >&5  
3514  echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}  #include <$ac_header>
3515     { (exit 1); exit 1; }; }  _ACEOF
3516    rm -f conftest.$ac_objext
3517    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3518      (eval $ac_compile) 2>&5
3519      ac_status=$?
3520      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521      (exit $ac_status); } &&
3522             { ac_try='test -s conftest.$ac_objext'
3523      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3524      (eval $ac_try) 2>&5
3525      ac_status=$?
3526      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527      (exit $ac_status); }; }; then
3528      eval "$as_ac_Header=yes"
3529    else
3530      echo "$as_me: failed program was:" >&5
3531    sed 's/^/| /' conftest.$ac_ext >&5
3532    
3533    eval "$as_ac_Header=no"
3534  fi  fi
3535  echo "$as_me:2806: result: $ac_cv_build" >&5  rm -f conftest.$ac_objext conftest.$ac_ext
3536  echo "${ECHO_T}$ac_cv_build" >&6  fi
3537  build=$ac_cv_build  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3538  build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3539  build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3540  build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`    cat >>confdefs.h <<_ACEOF
3541    #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3542    _ACEOF
3543    
3544  echo "$as_me:2813: checking host system type" >&5  fi
3545  echo $ECHO_N "checking host system type... $ECHO_C" >&6  
3546  if test "${ac_cv_host+set}" = set; then  done
3547    
3548    
3549    
3550    for ac_header in dlfcn.h
3551    do
3552    as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3553    if eval "test \"\${$as_ac_Header+set}\" = set"; then
3554      echo "$as_me:$LINENO: checking for $ac_header" >&5
3555    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3556    if eval "test \"\${$as_ac_Header+set}\" = set"; then
3557    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3558    fi
3559    echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3560    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3561  else  else
3562    ac_cv_host_alias=$host_alias    # Is the header compilable?
3563  test -z "$ac_cv_host_alias" &&  echo "$as_me:$LINENO: checking $ac_header usability" >&5
3564    ac_cv_host_alias=$ac_cv_build_alias  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3565  ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||  cat >conftest.$ac_ext <<_ACEOF
3566    { { echo "$as_me:2822: error: $ac_config_sub $ac_cv_host_alias failed" >&5  #line $LINENO "configure"
3567  echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}  /* confdefs.h.  */
3568     { (exit 1); exit 1; }; }  _ACEOF
3569    cat confdefs.h >>conftest.$ac_ext
3570    cat >>conftest.$ac_ext <<_ACEOF
3571    /* end confdefs.h.  */
3572    $ac_includes_default
3573    #include <$ac_header>
3574    _ACEOF
3575    rm -f conftest.$ac_objext
3576    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3577      (eval $ac_compile) 2>&5
3578      ac_status=$?
3579      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580      (exit $ac_status); } &&
3581             { ac_try='test -s conftest.$ac_objext'
3582      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3583      (eval $ac_try) 2>&5
3584      ac_status=$?
3585      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586      (exit $ac_status); }; }; then
3587      ac_header_compiler=yes
3588    else
3589      echo "$as_me: failed program was:" >&5
3590    sed 's/^/| /' conftest.$ac_ext >&5
3591    
3592    ac_header_compiler=no
3593  fi  fi
3594  echo "$as_me:2827: result: $ac_cv_host" >&5  rm -f conftest.$ac_objext conftest.$ac_ext
3595  echo "${ECHO_T}$ac_cv_host" >&6  echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3596  host=$ac_cv_host  echo "${ECHO_T}$ac_header_compiler" >&6
 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  
 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  
 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  
3597    
3598  # Check whether --with-gnu-ld or --without-gnu-ld was given.  # Is the header present?
3599  if test "${with_gnu_ld+set}" = set; then  echo "$as_me:$LINENO: checking $ac_header presence" >&5
3600    withval="$with_gnu_ld"  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3601    test "$withval" = no || with_gnu_ld=yes  cat >conftest.$ac_ext <<_ACEOF
3602    #line $LINENO "configure"
3603    /* confdefs.h.  */
3604    _ACEOF
3605    cat confdefs.h >>conftest.$ac_ext
3606    cat >>conftest.$ac_ext <<_ACEOF
3607    /* end confdefs.h.  */
3608    #include <$ac_header>
3609    _ACEOF
3610    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3611      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3612      ac_status=$?
3613      grep -v '^ *+' conftest.er1 >conftest.err
3614      rm -f conftest.er1
3615      cat conftest.err >&5
3616      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617      (exit $ac_status); } >/dev/null; then
3618      if test -s conftest.err; then
3619        ac_cpp_err=$ac_c_preproc_warn_flag
3620      else
3621        ac_cpp_err=
3622      fi
3623  else  else
3624    with_gnu_ld=no    ac_cpp_err=yes
 fi;  
 ac_prog=ld  
 if test "$GCC" = yes; then  
   # Check if gcc -print-prog-name=ld gives a path.  
   echo "$as_me:2844: checking for ld used by GCC" >&5  
 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6  
   case $host in  
   *-*-mingw*)  
     # gcc leaves a trailing carriage return which upsets mingw  
     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;  
   *)  
     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;  
   esac  
   case $ac_prog in  
     # Accept absolute paths.  
     [\\/]* | [A-Za-z]:[\\/]*)  
       re_direlt='/[^/][^/]*/\.\./'  
       # Canonicalize the path of ld  
       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`  
       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do  
         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`  
       done  
       test -z "$LD" && LD="$ac_prog"  
       ;;  
   "")  
     # If it fails, then pretend we aren't using GCC.  
     ac_prog=ld  
     ;;  
   *)  
     # If it is relative, then search for the first ld in PATH.  
     with_gnu_ld=unknown  
     ;;  
   esac  
 elif test "$with_gnu_ld" = yes; then  
   echo "$as_me:2874: checking for GNU ld" >&5  
 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6  
 else  
   echo "$as_me:2877: checking for non-GNU ld" >&5  
 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6  
3625  fi  fi
3626  if test "${lt_cv_path_LD+set}" = set; then  if test -z "$ac_cpp_err"; then
3627    echo $ECHO_N "(cached) $ECHO_C" >&6    ac_header_preproc=yes
 else  
   if test -z "$LD"; then  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"  
   for ac_dir in $PATH; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then  
       lt_cv_path_LD="$ac_dir/$ac_prog"  
       # Check to see if the program is GNU ld.  I'd rather use --version,  
       # but apparently some GNU ld's only accept -v.  
       # Break only if it was the GNU/non-GNU ld that we prefer.  
       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then  
         test "$with_gnu_ld" != no && break  
       else  
         test "$with_gnu_ld" != yes && break  
       fi  
     fi  
   done  
   IFS="$ac_save_ifs"  
3628  else  else
3629    lt_cv_path_LD="$LD" # Let the user override the test with a path.    echo "$as_me: failed program was:" >&5
3630  fi  sed 's/^/| /' conftest.$ac_ext >&5
 fi  
3631    
3632  LD="$lt_cv_path_LD"    ac_header_preproc=no
 if test -n "$LD"; then  
   echo "$as_me:2907: result: $LD" >&5  
 echo "${ECHO_T}$LD" >&6  
 else  
   echo "$as_me:2910: result: no" >&5  
 echo "${ECHO_T}no" >&6  
3633  fi  fi
3634  test -z "$LD" && { { echo "$as_me:2913: error: no acceptable ld found in \$PATH" >&5  rm -f conftest.err conftest.$ac_ext
3635  echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}  echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3636     { (exit 1); exit 1; }; }  echo "${ECHO_T}$ac_header_preproc" >&6
3637  echo "$as_me:2916: checking if the linker ($LD) is GNU ld" >&5  
3638  echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6  # So?  What about this header?
3639  if test "${lt_cv_prog_gnu_ld+set}" = set; then  case $ac_header_compiler:$ac_header_preproc in
3640      yes:no )
3641        { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3642    echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3643        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3644    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3645        (
3646          cat <<\_ASBOX
3647    ## ------------------------------------ ##
3648    ## Report this to bug-autoconf@gnu.org. ##
3649    ## ------------------------------------ ##
3650    _ASBOX
3651        ) |
3652          sed "s/^/$as_me: WARNING:     /" >&2
3653        ;;
3654      no:yes )
3655        { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3656    echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3657        { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3658    echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3659        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3660    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3661        (
3662          cat <<\_ASBOX
3663    ## ------------------------------------ ##
3664    ## Report this to bug-autoconf@gnu.org. ##
3665    ## ------------------------------------ ##
3666    _ASBOX
3667        ) |
3668          sed "s/^/$as_me: WARNING:     /" >&2
3669        ;;
3670    esac
3671    echo "$as_me:$LINENO: checking for $ac_header" >&5
3672    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3673    if eval "test \"\${$as_ac_Header+set}\" = set"; then
3674    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3675  else  else
3676    # I'd rather use --version here, but apparently some GNU ld's only accept -v.    eval "$as_ac_Header=$ac_header_preproc"
 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then  
   lt_cv_prog_gnu_ld=yes  
 else  
   lt_cv_prog_gnu_ld=no  
3677  fi  fi
3678    echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3679    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3680    
3681  fi  fi
3682  echo "$as_me:2928: result: $lt_cv_prog_gnu_ld" >&5  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3683  echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6    cat >>confdefs.h <<_ACEOF
3684  with_gnu_ld=$lt_cv_prog_gnu_ld  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3685    _ACEOF
3686    
 echo "$as_me:2932: checking for $LD option to reload object files" >&5  
 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6  
 if test "${lt_cv_ld_reload_flag+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   lt_cv_ld_reload_flag='-r'  
3687  fi  fi
 echo "$as_me:2939: result: $lt_cv_ld_reload_flag" >&5  
 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6  
 reload_flag=$lt_cv_ld_reload_flag  
 test -n "$reload_flag" && reload_flag=" $reload_flag"  
3688    
3689  echo "$as_me:2944: checking for BSD-compatible nm" >&5  done
3690  echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6  
3691