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

Diff of /code/trunk/configure

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

revision 47 by nigel, Sat Feb 24 21:39:29 2007 UTC revision 93 by nigel, Sat Feb 24 21:41:42 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 automatically using autoconf version 2.13  # Generated by GNU Autoconf 2.60.
 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.  
4  #  #
5    # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6    # 2002, 2003, 2004, 2005, 2006 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      setopt NO_GLOB_SUBST
21    else
22      case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
23    fi
24    BIN_SH=xpg4; export BIN_SH # for Tru64
25    DUALCASE=1; export DUALCASE # for MKS sh
26    
27    
28    # PATH needs CR
29    # Avoid depending upon Character Ranges.
30    as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31    as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32    as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33    as_cr_digits='0123456789'
34    as_cr_alnum=$as_cr_Letters$as_cr_digits
35    
36    # The user is always right.
37    if test "${PATH_SEPARATOR+set}" != set; then
38      echo "#! /bin/sh" >conf$$.sh
39      echo  "exit 0"   >>conf$$.sh
40      chmod +x conf$$.sh
41      if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42        PATH_SEPARATOR=';'
43      else
44        PATH_SEPARATOR=:
45      fi
46      rm -f conf$$.sh
47    fi
48    
49    # Support unset when possible.
50    if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51      as_unset=unset
52    else
53      as_unset=false
54    fi
55    
56    
57    # IFS
58    # We need space, tab and new line, in precisely that order.  Quoting is
59    # there to prevent editors from complaining about space-tab.
60    # (If _AS_PATH_WALK were called with IFS unset, it would disable word
61    # splitting by setting IFS to empty value.)
62    as_nl='
63    '
64    IFS=" ""        $as_nl"
65    
66    # Find who we are.  Look in the path if we contain no directory separator.
67    case $0 in
68      *[\\/]* ) as_myself=$0 ;;
69      *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70    for as_dir in $PATH
71    do
72      IFS=$as_save_IFS
73      test -z "$as_dir" && as_dir=.
74      test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
75    done
76    IFS=$as_save_IFS
77    
78         ;;
79    esac
80    # We did not find ourselves, most probably we were run as `sh COMMAND'
81    # in which case we are not to be found in the path.
82    if test "x$as_myself" = x; then
83      as_myself=$0
84    fi
85    if test ! -f "$as_myself"; then
86      echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
87      { (exit 1); exit 1; }
88    fi
89    
90    # Work around bugs in pre-3.0 UWIN ksh.
91    for as_var in ENV MAIL MAILPATH
92    do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
93    done
94    PS1='$ '
95    PS2='> '
96    PS4='+ '
97    
98    # NLS nuisances.
99    for as_var in \
100      LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
101      LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
102      LC_TELEPHONE LC_TIME
103    do
104      if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
105        eval $as_var=C; export $as_var
106      else
107        ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
108      fi
109    done
110    
111    # Required to use basename.
112    if expr a : '\(a\)' >/dev/null 2>&1 &&
113       test "X`expr 00001 : '.*\(...\)'`" = X001; then
114      as_expr=expr
115    else
116      as_expr=false
117    fi
118    
119    if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
120      as_basename=basename
121    else
122      as_basename=false
123    fi
124    
125    
126    # Name of the executable.
127    as_me=`$as_basename -- "$0" ||
128    $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
129             X"$0" : 'X\(//\)$' \| \
130             X"$0" : 'X\(/\)' \| . 2>/dev/null ||
131    echo X/"$0" |
132        sed '/^.*\/\([^/][^/]*\)\/*$/{
133                s//\1/
134                q
135              }
136              /^X\/\(\/\/\)$/{
137                s//\1/
138                q
139              }
140              /^X\/\(\/\).*/{
141                s//\1/
142                q
143              }
144              s/.*/./; q'`
145    
146    # CDPATH.
147    $as_unset CDPATH
148    
149    
150    if test "x$CONFIG_SHELL" = x; then
151      if (eval ":") 2>/dev/null; then
152      as_have_required=yes
153    else
154      as_have_required=no
155    fi
156    
157      if test $as_have_required = yes &&     (eval ":
158    (as_func_return () {
159      (exit \$1)
160    }
161    as_func_success () {
162      as_func_return 0
163    }
164    as_func_failure () {
165      as_func_return 1
166    }
167    as_func_ret_success () {
168      return 0
169    }
170    as_func_ret_failure () {
171      return 1
172    }
173    
174    exitcode=0
175    if as_func_success; then
176      :
177    else
178      exitcode=1
179      echo as_func_success failed.
180    fi
181    
182    if as_func_failure; then
183      exitcode=1
184      echo as_func_failure succeeded.
185    fi
186    
187    if as_func_ret_success; then
188      :
189    else
190      exitcode=1
191      echo as_func_ret_success failed.
192    fi
193    
194    if as_func_ret_failure; then
195      exitcode=1
196      echo as_func_ret_failure succeeded.
197    fi
198    
199    if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
200      :
201    else
202      exitcode=1
203      echo positional parameters were not saved.
204    fi
205    
206    test \$exitcode = 0) || { (exit 1); exit 1; }
207    
208    (
209      as_lineno_1=\$LINENO
210      as_lineno_2=\$LINENO
211      test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
212      test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
213    ") 2> /dev/null; then
214      :
215    else
216      as_candidate_shells=
217        as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218    for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219    do
220      IFS=$as_save_IFS
221      test -z "$as_dir" && as_dir=.
222      case $as_dir in
223             /*)
224               for as_base in sh bash ksh sh5; do
225                 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
226               done;;
227           esac
228    done
229    IFS=$as_save_IFS
230    
231    
232          for as_shell in $as_candidate_shells $SHELL; do
233             # Try only shells that exist, to save several forks.
234             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
235                    { ("$as_shell") 2> /dev/null <<\_ASEOF
236    # Be Bourne compatible
237    if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
238      emulate sh
239      NULLCMD=:
240      # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
241      # is contrary to our usage.  Disable this feature.
242      alias -g '${1+"$@"}'='"$@"'
243      setopt NO_GLOB_SUBST
244    else
245      case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
246    fi
247    BIN_SH=xpg4; export BIN_SH # for Tru64
248    DUALCASE=1; export DUALCASE # for MKS sh
249    
250    :
251    _ASEOF
252    }; then
253      CONFIG_SHELL=$as_shell
254                   as_have_required=yes
255                   if { "$as_shell" 2> /dev/null <<\_ASEOF
256    # Be Bourne compatible
257    if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
258      emulate sh
259      NULLCMD=:
260      # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
261      # is contrary to our usage.  Disable this feature.
262      alias -g '${1+"$@"}'='"$@"'
263      setopt NO_GLOB_SUBST
264    else
265      case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
266    fi
267    BIN_SH=xpg4; export BIN_SH # for Tru64
268    DUALCASE=1; export DUALCASE # for MKS sh
269    
270    :
271    (as_func_return () {
272      (exit $1)
273    }
274    as_func_success () {
275      as_func_return 0
276    }
277    as_func_failure () {
278      as_func_return 1
279    }
280    as_func_ret_success () {
281      return 0
282    }
283    as_func_ret_failure () {
284      return 1
285    }
286    
287    exitcode=0
288    if as_func_success; then
289      :
290    else
291      exitcode=1
292      echo as_func_success failed.
293    fi
294    
295    if as_func_failure; then
296      exitcode=1
297      echo as_func_failure succeeded.
298    fi
299    
300    if as_func_ret_success; then
301      :
302    else
303      exitcode=1
304      echo as_func_ret_success failed.
305    fi
306    
307    if as_func_ret_failure; then
308      exitcode=1
309      echo as_func_ret_failure succeeded.
310    fi
311    
312    if ( set x; as_func_ret_success y && test x = "$1" ); then
313      :
314    else
315      exitcode=1
316      echo positional parameters were not saved.
317    fi
318    
319    test $exitcode = 0) || { (exit 1); exit 1; }
320    
321    (
322      as_lineno_1=$LINENO
323      as_lineno_2=$LINENO
324      test "x$as_lineno_1" != "x$as_lineno_2" &&
325      test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
326    
327    _ASEOF
328    }; then
329      break
330    fi
331    
332    fi
333    
334          done
335    
336          if test "x$CONFIG_SHELL" != x; then
337      for as_var in BASH_ENV ENV
338            do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
339            done
340            export CONFIG_SHELL
341            exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
342    fi
343    
344    
345        if test $as_have_required = no; then
346      echo This script requires a shell more modern than all the
347          echo shells that I found on your system.  Please install a
348          echo modern shell, or manually run the script under such a
349          echo shell if you do have one.
350          { (exit 1); exit 1; }
351    fi
352    
353    
354    fi
355    
356    fi
357    
358    
359    
360    (eval "as_func_return () {
361      (exit \$1)
362    }
363    as_func_success () {
364      as_func_return 0
365    }
366    as_func_failure () {
367      as_func_return 1
368    }
369    as_func_ret_success () {
370      return 0
371    }
372    as_func_ret_failure () {
373      return 1
374    }
375    
376    exitcode=0
377    if as_func_success; then
378      :
379    else
380      exitcode=1
381      echo as_func_success failed.
382    fi
383    
384    if as_func_failure; then
385      exitcode=1
386      echo as_func_failure succeeded.
387    fi
388    
389    if as_func_ret_success; then
390      :
391    else
392      exitcode=1
393      echo as_func_ret_success failed.
394    fi
395    
396    if as_func_ret_failure; then
397      exitcode=1
398      echo as_func_ret_failure succeeded.
399    fi
400    
401    if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
402      :
403    else
404      exitcode=1
405      echo positional parameters were not saved.
406    fi
407    
408    test \$exitcode = 0") || {
409      echo No shell found that supports shell functions.
410      echo Please tell autoconf@gnu.org about your system,
411      echo including any error possibly output before this
412      echo message
413    }
414    
415    
416    
417      as_lineno_1=$LINENO
418      as_lineno_2=$LINENO
419      test "x$as_lineno_1" != "x$as_lineno_2" &&
420      test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
421    
422      # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
423      # uniformly replaced by the line number.  The first 'sed' inserts a
424      # line-number line after each line using $LINENO; the second 'sed'
425      # does the real work.  The second script uses 'N' to pair each
426      # line-number line with the line containing $LINENO, and appends
427      # trailing '-' during substitution so that $LINENO is not a special
428      # case at line end.
429      # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
430      # scripts with optimization help from Paolo Bonzini.  Blame Lee
431      # E. McMahon (1931-1989) for sed's syntax.  :-)
432      sed -n '
433        p
434        /[$]LINENO/=
435      ' <$as_myself |
436        sed '
437          s/[$]LINENO.*/&-/
438          t lineno
439          b
440          :lineno
441          N
442          :loop
443          s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444          t loop
445          s/-\n.*//
446        ' >$as_me.lineno &&
447      chmod +x "$as_me.lineno" ||
448        { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
449       { (exit 1); exit 1; }; }
450    
451      # Don't try to exec as it changes $[0], causing all sort of problems
452      # (the dirname of $[0] is not the place where we might find the
453      # original and so on.  Autoconf is especially sensitive to this).
454      . "./$as_me.lineno"
455      # Exit status is that of the last command.
456      exit
457    }
458    
459    
460    if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
461      as_dirname=dirname
462    else
463      as_dirname=false
464    fi
465    
466    ECHO_C= ECHO_N= ECHO_T=
467    case `echo -n x` in
468    -n*)
469      case `echo 'x\c'` in
470      *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
471      *)   ECHO_C='\c';;
472      esac;;
473    *)
474      ECHO_N='-n';;
475    esac
476    
477    if expr a : '\(a\)' >/dev/null 2>&1 &&
478       test "X`expr 00001 : '.*\(...\)'`" = X001; then
479      as_expr=expr
480    else
481      as_expr=false
482    fi
483    
484    rm -f conf$$ conf$$.exe conf$$.file
485    if test -d conf$$.dir; then
486      rm -f conf$$.dir/conf$$.file
487    else
488      rm -f conf$$.dir
489      mkdir conf$$.dir
490    fi
491    echo >conf$$.file
492    if ln -s conf$$.file conf$$ 2>/dev/null; then
493      as_ln_s='ln -s'
494      # ... but there are two gotchas:
495      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497      # In both cases, we have to default to `cp -p'.
498      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499        as_ln_s='cp -p'
500    elif ln conf$$.file conf$$ 2>/dev/null; then
501      as_ln_s=ln
502    else
503      as_ln_s='cp -p'
504    fi
505    rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506    rmdir conf$$.dir 2>/dev/null
507    
508    if mkdir -p . 2>/dev/null; then
509      as_mkdir_p=:
510    else
511      test -d ./-p && rmdir ./-p
512      as_mkdir_p=false
513    fi
514    
515    # Find out whether ``test -x'' works.  Don't use a zero-byte file, as
516    # systems may use methods other than mode bits to determine executability.
517    cat >conf$$.file <<_ASEOF
518    #! /bin/sh
519    exit 0
520    _ASEOF
521    chmod +x conf$$.file
522    if test -x conf$$.file >/dev/null 2>&1; then
523      as_executable_p="test -x"
524    else
525      as_executable_p=:
526    fi
527    rm -f conf$$.file
528    
529    # Sed expression to map a string onto a valid CPP name.
530    as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531    
532    # Sed expression to map a string onto a valid variable name.
533    as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534    
535    
536    
537    
538    # Check that we are running under the correct shell.
539    SHELL=${CONFIG_SHELL-/bin/sh}
540    
541    case X$ECHO in
542    X*--fallback-echo)
543      # Remove one level of quotation (which was required for Make).
544      ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
545      ;;
546    esac
547    
548    echo=${ECHO-echo}
549    if test "X$1" = X--no-reexec; then
550      # Discard the --no-reexec flag, and continue.
551      shift
552    elif test "X$1" = X--fallback-echo; then
553      # Avoid inline document here, it may be left over
554      :
555    elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
556      # Yippee, $echo works!
557      :
558    else
559      # Restart under the correct shell.
560      exec $SHELL "$0" --no-reexec ${1+"$@"}
561    fi
562    
563    if test "X$1" = X--fallback-echo; then
564      # used as fallback echo
565      shift
566      cat <<EOF
567    $*
568    EOF
569      exit 0
570    fi
571    
572    # The HP-UX ksh and POSIX shell print the target directory to stdout
573    # if CDPATH is set.
574    (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
575    
576    if test -z "$ECHO"; then
577    if test "X${echo_test_string+set}" != Xset; then
578    # find a string as large as possible, as long as the shell can cope with it
579      for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
580        # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
581        if (echo_test_string=`eval $cmd`) 2>/dev/null &&
582           echo_test_string=`eval $cmd` &&
583           (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
584        then
585          break
586        fi
587      done
588    fi
589    
590    if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
591       echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
592       test "X$echo_testing_string" = "X$echo_test_string"; then
593      :
594    else
595      # The Solaris, AIX, and Digital Unix default echo programs unquote
596      # backslashes.  This makes it impossible to quote backslashes using
597      #   echo "$something" | sed 's/\\/\\\\/g'
598      #
599      # So, first we look for a working echo in the user's PATH.
600    
601      lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
602      for dir in $PATH /usr/ucb; do
603        IFS="$lt_save_ifs"
604        if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
605           test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
606           echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
607           test "X$echo_testing_string" = "X$echo_test_string"; then
608          echo="$dir/echo"
609          break
610        fi
611      done
612      IFS="$lt_save_ifs"
613    
614      if test "X$echo" = Xecho; then
615        # We didn't find a better echo, so look for alternatives.
616        if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
617           echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
618           test "X$echo_testing_string" = "X$echo_test_string"; then
619          # This shell has a builtin print -r that does the trick.
620          echo='print -r'
621        elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
622             test "X$CONFIG_SHELL" != X/bin/ksh; then
623          # If we have ksh, try running configure again with it.
624          ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
625          export ORIGINAL_CONFIG_SHELL
626          CONFIG_SHELL=/bin/ksh
627          export CONFIG_SHELL
628          exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
629        else
630          # Try using printf.
631          echo='printf %s\n'
632          if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
633             echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
634             test "X$echo_testing_string" = "X$echo_test_string"; then
635            # Cool, printf works
636            :
637          elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638               test "X$echo_testing_string" = 'X\t' &&
639               echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640               test "X$echo_testing_string" = "X$echo_test_string"; then
641            CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
642            export CONFIG_SHELL
643            SHELL="$CONFIG_SHELL"
644            export SHELL
645            echo="$CONFIG_SHELL $0 --fallback-echo"
646          elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
647               test "X$echo_testing_string" = 'X\t' &&
648               echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
649               test "X$echo_testing_string" = "X$echo_test_string"; then
650            echo="$CONFIG_SHELL $0 --fallback-echo"
651          else
652            # maybe with a smaller string...
653            prev=:
654    
655            for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
656              if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
657              then
658                break
659              fi
660              prev="$cmd"
661            done
662    
663            if test "$prev" != 'sed 50q "$0"'; then
664              echo_test_string=`eval $prev`
665              export echo_test_string
666              exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
667            else
668              # Oops.  We lost completely, so just stick with echo.
669              echo=echo
670            fi
671          fi
672        fi
673      fi
674    fi
675    fi
676    
677    # Copy echo and quote the copy suitably for passing to libtool from
678    # the Makefile, instead of quoting the original, which is used later.
679    ECHO=$echo
680    if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
681       ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
682    fi
683    
684    
685    
686    
687    tagnames=${tagnames+${tagnames},}CXX
688    
689  # Defaults:  tagnames=${tagnames+${tagnames},}F77
690  ac_help=  
691    exec 7<&0 </dev/null 6>&1
692    
693    # Name of the host.
694    # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
695    # so uname gets run too.
696    ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
697    
698    #
699    # Initializations.
700    #
701  ac_default_prefix=/usr/local  ac_default_prefix=/usr/local
702  # Any additions from configure.in:  ac_clean_files=
703  ac_help="$ac_help  ac_config_libobj_dir=.
704    --disable-shared        build PCRE as a static library"  LIBOBJS=
705    cross_compiling=no
706    subdirs=
707    MFLAGS=
708    MAKEFLAGS=
709    SHELL=${CONFIG_SHELL-/bin/sh}
710    
711    # Identity of this package.
712    PACKAGE_NAME=
713    PACKAGE_TARNAME=
714    PACKAGE_VERSION=
715    PACKAGE_STRING=
716    PACKAGE_BUGREPORT=
717    
718    ac_unique_file="dftables.c"
719    ac_unique_file="pcre.h"
720    # Factoring default headers for most tests.
721    ac_includes_default="\
722    #include <stdio.h>
723    #if HAVE_SYS_TYPES_H
724    # include <sys/types.h>
725    #endif
726    #if HAVE_SYS_STAT_H
727    # include <sys/stat.h>
728    #endif
729    #if STDC_HEADERS
730    # include <stdlib.h>
731    # include <stddef.h>
732    #else
733    # if HAVE_STDLIB_H
734    #  include <stdlib.h>
735    # endif
736    #endif
737    #if HAVE_STRING_H
738    # if !STDC_HEADERS && HAVE_MEMORY_H
739    #  include <memory.h>
740    # endif
741    # include <string.h>
742    #endif
743    #if HAVE_STRINGS_H
744    # include <strings.h>
745    #endif
746    #if HAVE_INTTYPES_H
747    # include <inttypes.h>
748    #endif
749    #if HAVE_STDINT_H
750    # include <stdint.h>
751    #endif
752    #if HAVE_UNISTD_H
753    # include <unistd.h>
754    #endif"
755    
756    ac_subst_vars='SHELL
757    PATH_SEPARATOR
758    PACKAGE_NAME
759    PACKAGE_TARNAME
760    PACKAGE_VERSION
761    PACKAGE_STRING
762    PACKAGE_BUGREPORT
763    exec_prefix
764    prefix
765    program_transform_name
766    bindir
767    sbindir
768    libexecdir
769    datarootdir
770    datadir
771    sysconfdir
772    sharedstatedir
773    localstatedir
774    includedir
775    oldincludedir
776    docdir
777    infodir
778    htmldir
779    dvidir
780    pdfdir
781    psdir
782    libdir
783    localedir
784    mandir
785    DEFS
786    ECHO_C
787    ECHO_N
788    ECHO_T
789    LIBS
790    build_alias
791    host_alias
792    target_alias
793    CC
794    CFLAGS
795    LDFLAGS
796    CPPFLAGS
797    ac_ct_CC
798    EXEEXT
799    OBJEXT
800    CXX
801    CXXFLAGS
802    ac_ct_CXX
803    INSTALL_PROGRAM
804    INSTALL_SCRIPT
805    INSTALL_DATA
806    build
807    build_cpu
808    build_vendor
809    build_os
810    host
811    host_cpu
812    host_vendor
813    host_os
814    GREP
815    EGREP
816    LN_S
817    ECHO
818    AR
819    RANLIB
820    STRIP
821    DLLTOOL
822    AS
823    OBJDUMP
824    CPP
825    CXXCPP
826    F77
827    FFLAGS
828    ac_ct_F77
829    LIBTOOL
830    pcre_have_bits_type_traits
831    pcre_have_type_traits
832    MAYBE_CPP_TARGETS
833    HAVE_CPP
834    pcre_have_long_long
835    pcre_have_ulong_long
836    BUILD_EXEEXT
837    BUILD_OBJEXT
838    CC_FOR_BUILD
839    CXX_FOR_BUILD
840    CFLAGS_FOR_BUILD
841    CXXFLAGS_FOR_BUILD
842    CXXLDFLAGS
843    EBCDIC
844    HAVE_MEMMOVE
845    HAVE_STRERROR
846    LINK_SIZE
847    MATCH_LIMIT
848    MATCH_LIMIT_RECURSION
849    NEWLINE
850    NO_RECURSE
851    PCRE_LIB_VERSION
852    PCRE_POSIXLIB_VERSION
853    PCRE_CPPLIB_VERSION
854    PCRE_VERSION
855    POSIX_MALLOC_THRESHOLD
856    UCP
857    UTF8
858    WIN_PREFIX
859    ON_WINDOWS
860    NOT_ON_WINDOWS
861    POSIX_OBJ
862    POSIX_LOBJ
863    POSIX_LIB
864    LIBOBJS
865    LTLIBOBJS'
866    ac_subst_files=''
867          ac_precious_vars='build_alias
868    host_alias
869    target_alias
870    CC
871    CFLAGS
872    LDFLAGS
873    CPPFLAGS
874    CXX
875    CXXFLAGS
876    CCC
877    CPP
878    CXXCPP
879    F77
880    FFLAGS'
881    
882    
883  # Initialize some variables set by options.  # Initialize some variables set by options.
884    ac_init_help=
885    ac_init_version=false
886  # The variables have the same names as the options, with  # The variables have the same names as the options, with
887  # dashes changed to underlines.  # dashes changed to underlines.
888  build=NONE  cache_file=/dev/null
 cache_file=./config.cache  
889  exec_prefix=NONE  exec_prefix=NONE
 host=NONE  
890  no_create=  no_create=
 nonopt=NONE  
891  no_recursion=  no_recursion=
892  prefix=NONE  prefix=NONE
893  program_prefix=NONE  program_prefix=NONE
# Line 31  program_transform_name=s,x,x, Line 896  program_transform_name=s,x,x,
896  silent=  silent=
897  site=  site=
898  srcdir=  srcdir=
 target=NONE  
899  verbose=  verbose=
900  x_includes=NONE  x_includes=NONE
901  x_libraries=NONE  x_libraries=NONE
902    
903    # Installation directory options.
904    # These are left unexpanded so users can "make install exec_prefix=/foo"
905    # and all the variables that are supposed to be based on exec_prefix
906    # by default will actually change.
907    # Use braces instead of parens because sh, perl, etc. also accept them.
908    # (The list follows the same order as the GNU Coding Standards.)
909  bindir='${exec_prefix}/bin'  bindir='${exec_prefix}/bin'
910  sbindir='${exec_prefix}/sbin'  sbindir='${exec_prefix}/sbin'
911  libexecdir='${exec_prefix}/libexec'  libexecdir='${exec_prefix}/libexec'
912  datadir='${prefix}/share'  datarootdir='${prefix}/share'
913    datadir='${datarootdir}'
914  sysconfdir='${prefix}/etc'  sysconfdir='${prefix}/etc'
915  sharedstatedir='${prefix}/com'  sharedstatedir='${prefix}/com'
916  localstatedir='${prefix}/var'  localstatedir='${prefix}/var'
 libdir='${exec_prefix}/lib'  
917  includedir='${prefix}/include'  includedir='${prefix}/include'
918  oldincludedir='/usr/include'  oldincludedir='/usr/include'
919  infodir='${prefix}/info'  docdir='${datarootdir}/doc/${PACKAGE}'
920  mandir='${prefix}/man'  infodir='${datarootdir}/info'
921    htmldir='${docdir}'
922  # Initialize some other variables.  dvidir='${docdir}'
923  subdirs=  pdfdir='${docdir}'
924  MFLAGS= MAKEFLAGS=  psdir='${docdir}'
925  SHELL=${CONFIG_SHELL-/bin/sh}  libdir='${exec_prefix}/lib'
926  # Maximum number of lines to put in a shell here document.  localedir='${datarootdir}/locale'
927  ac_max_here_lines=12  mandir='${datarootdir}/man'
928    
929  ac_prev=  ac_prev=
930    ac_dashdash=
931  for ac_option  for ac_option
932  do  do
   
933    # If the previous option needs an argument, assign it.    # If the previous option needs an argument, assign it.
934    if test -n "$ac_prev"; then    if test -n "$ac_prev"; then
935      eval "$ac_prev=\$ac_option"      eval $ac_prev=\$ac_option
936      ac_prev=      ac_prev=
937      continue      continue
938    fi    fi
939    
940    case "$ac_option" in    case $ac_option in
941    -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;    *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
942    *) ac_optarg= ;;    *)    ac_optarg=yes ;;
943    esac    esac
944    
945    # Accept the important Cygnus configure options, so we can diagnose typos.    # Accept the important Cygnus configure options, so we can diagnose typos.
946    
947    case "$ac_option" in    case $ac_dashdash$ac_option in
948      --)
949        ac_dashdash=yes ;;
950    
951    -bindir | --bindir | --bindi | --bind | --bin | --bi)    -bindir | --bindir | --bindi | --bind | --bin | --bi)
952      ac_prev=bindir ;;      ac_prev=bindir ;;
953    -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)    -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
954      bindir="$ac_optarg" ;;      bindir=$ac_optarg ;;
955    
956    -build | --build | --buil | --bui | --bu)    -build | --build | --buil | --bui | --bu)
957      ac_prev=build ;;      ac_prev=build_alias ;;
958    -build=* | --build=* | --buil=* | --bui=* | --bu=*)    -build=* | --build=* | --buil=* | --bui=* | --bu=*)
959      build="$ac_optarg" ;;      build_alias=$ac_optarg ;;
960    
961    -cache-file | --cache-file | --cache-fil | --cache-fi \    -cache-file | --cache-file | --cache-fil | --cache-fi \
962    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
963      ac_prev=cache_file ;;      ac_prev=cache_file ;;
964    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
965    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
966      cache_file="$ac_optarg" ;;      cache_file=$ac_optarg ;;
967    
968      --config-cache | -C)
969        cache_file=config.cache ;;
970    
971    -datadir | --datadir | --datadi | --datad | --data | --dat | --da)    -datadir | --datadir | --datadi | --datad)
972      ac_prev=datadir ;;      ac_prev=datadir ;;
973    -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \    -datadir=* | --datadir=* | --datadi=* | --datad=*)
974    | --da=*)      datadir=$ac_optarg ;;
975      datadir="$ac_optarg" ;;  
976      -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
977      | --dataroo | --dataro | --datar)
978        ac_prev=datarootdir ;;
979      -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
980      | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
981        datarootdir=$ac_optarg ;;
982    
983    -disable-* | --disable-*)    -disable-* | --disable-*)
984      ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
985      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
986      if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then      expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
987        { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
988      fi     { (exit 1); exit 1; }; }
989      ac_feature=`echo $ac_feature| sed 's/-/_/g'`      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
990      eval "enable_${ac_feature}=no" ;;      eval enable_$ac_feature=no ;;
991    
992      -docdir | --docdir | --docdi | --doc | --do)
993        ac_prev=docdir ;;
994      -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
995        docdir=$ac_optarg ;;
996    
997      -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
998        ac_prev=dvidir ;;
999      -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1000        dvidir=$ac_optarg ;;
1001    
1002    -enable-* | --enable-*)    -enable-* | --enable-*)
1003      ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1004      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1005      if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then      expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1006        { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1007      fi     { (exit 1); exit 1; }; }
1008      ac_feature=`echo $ac_feature| sed 's/-/_/g'`      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1009      case "$ac_option" in      eval enable_$ac_feature=\$ac_optarg ;;
       *=*) ;;  
       *) ac_optarg=yes ;;  
     esac  
     eval "enable_${ac_feature}='$ac_optarg'" ;;  
1010    
1011    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1012    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
# Line 127  do Line 1015  do
1015    -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \    -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1016    | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \    | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1017    | --exec=* | --exe=* | --ex=*)    | --exec=* | --exe=* | --ex=*)
1018      exec_prefix="$ac_optarg" ;;      exec_prefix=$ac_optarg ;;
1019    
1020    -gas | --gas | --ga | --g)    -gas | --gas | --ga | --g)
1021      # Obsolete; use --with-gas.      # Obsolete; use --with-gas.
1022      with_gas=yes ;;      with_gas=yes ;;
1023    
1024    -help | --help | --hel | --he)    -help | --help | --hel | --he | -h)
1025      # Omit some internal or obsolete options to make the list less imposing.      ac_init_help=long ;;
1026      # The list generated by autoconf has been trimmed to remove many    -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1027      # options that are totally irrelevant to PCRE (e.g. relating to X),      ac_init_help=recursive ;;
1028      # or are not supported by its Makefile.    -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1029      # This message is too long to be a string in the A/UX 3.1 sh.      ac_init_help=short ;;
     cat << EOF  
 Usage: ./configure [options]  
 Options: [defaults in brackets after descriptions]  
 Configuration:  
   --cache-file=FILE       cache test results in FILE  
   --help                  print this message  
   --no-create             do not create output files  
   --quiet, --silent       do not print \`checking...' messages  
   --version               print the version of autoconf that created configure  
 Directory and file names:  
   --prefix=PREFIX         install architecture-independent files in PREFIX  
                           [$ac_default_prefix]  
   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX  
                           [same as prefix]  
   --bindir=DIR            user executables in DIR [EPREFIX/bin]  
   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]  
   --includedir=DIR        C header files in DIR [PREFIX/include]  
   --mandir=DIR            man documentation in DIR [PREFIX/man]  
 EOF  
     cat << EOF  
 EOF  
     if test -n "$ac_help"; then  
       echo "--enable and --with options recognized:$ac_help"  
     fi  
     exit 0 ;;  
1030    
1031    -host | --host | --hos | --ho)    -host | --host | --hos | --ho)
1032      ac_prev=host ;;      ac_prev=host_alias ;;
1033    -host=* | --host=* | --hos=* | --ho=*)    -host=* | --host=* | --hos=* | --ho=*)
1034      host="$ac_optarg" ;;      host_alias=$ac_optarg ;;
1035    
1036      -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1037        ac_prev=htmldir ;;
1038      -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1039      | --ht=*)
1040        htmldir=$ac_optarg ;;
1041    
1042    -includedir | --includedir | --includedi | --included | --include \    -includedir | --includedir | --includedi | --included | --include \
1043    | --includ | --inclu | --incl | --inc)    | --includ | --inclu | --incl | --inc)
1044      ac_prev=includedir ;;      ac_prev=includedir ;;
1045    -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \    -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1046    | --includ=* | --inclu=* | --incl=* | --inc=*)    | --includ=* | --inclu=* | --incl=* | --inc=*)
1047      includedir="$ac_optarg" ;;      includedir=$ac_optarg ;;
1048    
1049    -infodir | --infodir | --infodi | --infod | --info | --inf)    -infodir | --infodir | --infodi | --infod | --info | --inf)
1050      ac_prev=infodir ;;      ac_prev=infodir ;;
1051    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1052      infodir="$ac_optarg" ;;      infodir=$ac_optarg ;;
1053    
1054    -libdir | --libdir | --libdi | --libd)    -libdir | --libdir | --libdi | --libd)
1055      ac_prev=libdir ;;      ac_prev=libdir ;;
1056    -libdir=* | --libdir=* | --libdi=* | --libd=*)    -libdir=* | --libdir=* | --libdi=* | --libd=*)
1057      libdir="$ac_optarg" ;;      libdir=$ac_optarg ;;
1058    
1059    -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \    -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1060    | --libexe | --libex | --libe)    | --libexe | --libex | --libe)
1061      ac_prev=libexecdir ;;      ac_prev=libexecdir ;;
1062    -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \    -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1063    | --libexe=* | --libex=* | --libe=*)    | --libexe=* | --libex=* | --libe=*)
1064      libexecdir="$ac_optarg" ;;      libexecdir=$ac_optarg ;;
1065    
1066      -localedir | --localedir | --localedi | --localed | --locale)
1067        ac_prev=localedir ;;
1068      -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1069        localedir=$ac_optarg ;;
1070    
1071    -localstatedir | --localstatedir | --localstatedi | --localstated \    -localstatedir | --localstatedir | --localstatedi | --localstated \
1072    | --localstate | --localstat | --localsta | --localst \    | --localstate | --localstat | --localsta | --localst | --locals)
   | --locals | --local | --loca | --loc | --lo)  
1073      ac_prev=localstatedir ;;      ac_prev=localstatedir ;;
1074    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1075    | --localstate=* | --localstat=* | --localsta=* | --localst=* \    | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1076    | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)      localstatedir=$ac_optarg ;;
     localstatedir="$ac_optarg" ;;  
1077    
1078    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1079      ac_prev=mandir ;;      ac_prev=mandir ;;
1080    -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)    -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1081      mandir="$ac_optarg" ;;      mandir=$ac_optarg ;;
1082    
1083    -nfp | --nfp | --nf)    -nfp | --nfp | --nf)
1084      # Obsolete; use --without-fp.      # Obsolete; use --without-fp.
1085      with_fp=no ;;      with_fp=no ;;
1086    
1087    -no-create | --no-create | --no-creat | --no-crea | --no-cre \    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1088    | --no-cr | --no-c)    | --no-cr | --no-c | -n)
1089      no_create=yes ;;      no_create=yes ;;
1090    
1091    -no-recursion | --no-recursion | --no-recursio | --no-recursi \    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
# Line 227  EOF Line 1099  EOF
1099    -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \    -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1100    | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \    | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1101    | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)    | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1102      oldincludedir="$ac_optarg" ;;      oldincludedir=$ac_optarg ;;
1103    
1104    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1105      ac_prev=prefix ;;      ac_prev=prefix ;;
1106    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1107      prefix="$ac_optarg" ;;      prefix=$ac_optarg ;;
1108    
1109    -program-prefix | --program-prefix | --program-prefi | --program-pref \    -program-prefix | --program-prefix | --program-prefi | --program-pref \
1110    | --program-pre | --program-pr | --program-p)    | --program-pre | --program-pr | --program-p)
1111      ac_prev=program_prefix ;;      ac_prev=program_prefix ;;
1112    -program-prefix=* | --program-prefix=* | --program-prefi=* \    -program-prefix=* | --program-prefix=* | --program-prefi=* \
1113    | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)    | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1114      program_prefix="$ac_optarg" ;;      program_prefix=$ac_optarg ;;
1115    
1116    -program-suffix | --program-suffix | --program-suffi | --program-suff \    -program-suffix | --program-suffix | --program-suffi | --program-suff \
1117    | --program-suf | --program-su | --program-s)    | --program-suf | --program-su | --program-s)
1118      ac_prev=program_suffix ;;      ac_prev=program_suffix ;;
1119    -program-suffix=* | --program-suffix=* | --program-suffi=* \    -program-suffix=* | --program-suffix=* | --program-suffi=* \
1120    | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)    | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1121      program_suffix="$ac_optarg" ;;      program_suffix=$ac_optarg ;;
1122    
1123    -program-transform-name | --program-transform-name \    -program-transform-name | --program-transform-name \
1124    | --program-transform-nam | --program-transform-na \    | --program-transform-nam | --program-transform-na \
# Line 263  EOF Line 1135  EOF
1135    | --program-transfo=* | --program-transf=* \    | --program-transfo=* | --program-transf=* \
1136    | --program-trans=* | --program-tran=* \    | --program-trans=* | --program-tran=* \
1137    | --progr-tra=* | --program-tr=* | --program-t=*)    | --progr-tra=* | --program-tr=* | --program-t=*)
1138      program_transform_name="$ac_optarg" ;;      program_transform_name=$ac_optarg ;;
1139    
1140      -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1141        ac_prev=pdfdir ;;
1142      -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1143        pdfdir=$ac_optarg ;;
1144    
1145      -psdir | --psdir | --psdi | --psd | --ps)
1146        ac_prev=psdir ;;
1147      -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1148        psdir=$ac_optarg ;;
1149    
1150    -q | -quiet | --quiet | --quie | --qui | --qu | --q \    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1151    | -silent | --silent | --silen | --sile | --sil)    | -silent | --silent | --silen | --sile | --sil)
# Line 273  EOF Line 1155  EOF
1155      ac_prev=sbindir ;;      ac_prev=sbindir ;;
1156    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1157    | --sbi=* | --sb=*)    | --sbi=* | --sb=*)
1158      sbindir="$ac_optarg" ;;      sbindir=$ac_optarg ;;
1159    
1160    -sharedstatedir | --sharedstatedir | --sharedstatedi \    -sharedstatedir | --sharedstatedir | --sharedstatedi \
1161    | --sharedstated | --sharedstate | --sharedstat | --sharedsta \    | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
# Line 284  EOF Line 1166  EOF
1166    | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \    | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1167    | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \    | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1168    | --sha=* | --sh=*)    | --sha=* | --sh=*)
1169      sharedstatedir="$ac_optarg" ;;      sharedstatedir=$ac_optarg ;;
1170    
1171    -site | --site | --sit)    -site | --site | --sit)
1172      ac_prev=site ;;      ac_prev=site ;;
1173    -site=* | --site=* | --sit=*)    -site=* | --site=* | --sit=*)
1174      site="$ac_optarg" ;;      site=$ac_optarg ;;
1175    
1176    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1177      ac_prev=srcdir ;;      ac_prev=srcdir ;;
1178    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1179      srcdir="$ac_optarg" ;;      srcdir=$ac_optarg ;;
1180    
1181    -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \    -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1182    | --syscon | --sysco | --sysc | --sys | --sy)    | --syscon | --sysco | --sysc | --sys | --sy)
1183      ac_prev=sysconfdir ;;      ac_prev=sysconfdir ;;
1184    -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \    -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1185    | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)    | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1186      sysconfdir="$ac_optarg" ;;      sysconfdir=$ac_optarg ;;
1187    
1188    -target | --target | --targe | --targ | --tar | --ta | --t)    -target | --target | --targe | --targ | --tar | --ta | --t)
1189      ac_prev=target ;;      ac_prev=target_alias ;;
1190    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1191      target="$ac_optarg" ;;      target_alias=$ac_optarg ;;
1192    
1193    -v | -verbose | --verbose | --verbos | --verbo | --verb)    -v | -verbose | --verbose | --verbos | --verbo | --verb)
1194      verbose=yes ;;      verbose=yes ;;
1195    
1196    -version | --version | --versio | --versi | --vers)    -version | --version | --versio | --versi | --vers | -V)
1197      echo "configure generated by autoconf version 2.13"      ac_init_version=: ;;
     exit 0 ;;  
1198    
1199    -with-* | --with-*)    -with-* | --with-*)
1200      ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1201      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1202      if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then      expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1203        { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }        { echo "$as_me: error: invalid package name: $ac_package" >&2
1204      fi     { (exit 1); exit 1; }; }
1205      ac_package=`echo $ac_package| sed 's/-/_/g'`      ac_package=`echo $ac_package| sed 's/-/_/g'`
1206      case "$ac_option" in      eval with_$ac_package=\$ac_optarg ;;
       *=*) ;;  
       *) ac_optarg=yes ;;  
     esac  
     eval "with_${ac_package}='$ac_optarg'" ;;  
1207    
1208    -without-* | --without-*)    -without-* | --without-*)
1209      ac_package=`echo $ac_option|sed -e 's/-*without-//'`      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1210      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1211      if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then      expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1212        { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }        { echo "$as_me: error: invalid package name: $ac_package" >&2
1213      fi     { (exit 1); exit 1; }; }
1214      ac_package=`echo $ac_package| sed 's/-/_/g'`      ac_package=`echo $ac_package | sed 's/-/_/g'`
1215      eval "with_${ac_package}=no" ;;      eval with_$ac_package=no ;;
1216    
1217    --x)    --x)
1218      # Obsolete; use --with-x.      # Obsolete; use --with-x.
# Line 346  EOF Line 1223  EOF
1223      ac_prev=x_includes ;;      ac_prev=x_includes ;;
1224    -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \    -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1225    | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)    | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1226      x_includes="$ac_optarg" ;;      x_includes=$ac_optarg ;;
1227    
1228    -x-libraries | --x-libraries | --x-librarie | --x-librari \    -x-libraries | --x-libraries | --x-librarie | --x-librari \
1229    | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)    | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1230      ac_prev=x_libraries ;;      ac_prev=x_libraries ;;
1231    -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \    -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1232    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1233      x_libraries="$ac_optarg" ;;      x_libraries=$ac_optarg ;;
1234    
1235    -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }    -*) { echo "$as_me: error: unrecognized option: $ac_option
1236    Try \`$0 --help' for more information." >&2
1237       { (exit 1); exit 1; }; }
1238      ;;      ;;
1239    
1240      *=*)
1241        ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1242        # Reject names that are not valid shell variable names.
1243        expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1244          { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1245       { (exit 1); exit 1; }; }
1246        eval $ac_envvar=\$ac_optarg
1247        export $ac_envvar ;;
1248    
1249    *)    *)
1250      if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then      # FIXME: should be removed in autoconf 3.0.
1251        echo "configure: warning: $ac_option: invalid host type" 1>&2      echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1252      fi      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1253      if test "x$nonopt" != xNONE; then        echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1254        { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     fi  
     nonopt="$ac_option"  
1255      ;;      ;;
1256    
1257    esac    esac
1258  done  done
1259    
1260  if test -n "$ac_prev"; then  if test -n "$ac_prev"; then
1261    { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1262      { echo "$as_me: error: missing argument to $ac_option" >&2
1263       { (exit 1); exit 1; }; }
1264  fi  fi
1265    
1266  trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15  # Be sure to have absolute directory names.
1267    for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1268                    datadir sysconfdir sharedstatedir localstatedir includedir \
1269                    oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1270                    libdir localedir mandir
1271    do
1272      eval ac_val=\$$ac_var
1273      case $ac_val in
1274        [\\/$]* | ?:[\\/]* )  continue;;
1275        NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1276      esac
1277      { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1278       { (exit 1); exit 1; }; }
1279    done
1280    
1281  # File descriptor usage:  # There might be people who depend on the old broken behavior: `$host'
1282  # 0 standard input  # used to hold the argument of --host etc.
1283  # 1 file creation  # FIXME: To remove some day.
1284  # 2 errors and warnings  build=$build_alias
1285  # 3 some systems may open it to /dev/tty  host=$host_alias
1286  # 4 used on the Kubota Titan  target=$target_alias
1287  # 6 checking for... messages and results  
1288  # 5 compiler messages saved in config.log  # FIXME: To remove some day.
1289  if test "$silent" = yes; then  if test "x$host_alias" != x; then
1290    exec 6>/dev/null    if test "x$build_alias" = x; then
1291  else      cross_compiling=maybe
1292    exec 6>&1      echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1293        If a cross compiler is detected then cross compile mode will be used." >&2
1294      elif test "x$build_alias" != "x$host_alias"; then
1295        cross_compiling=yes
1296      fi
1297  fi  fi
 exec 5>./config.log  
1298    
1299  echo "\  ac_tool_prefix=
1300  This file contains any messages produced by compilers while  test -n "$host_alias" && ac_tool_prefix=$host_alias-
 running configure, to aid debugging if configure makes a mistake.  
 " 1>&5  
1301    
1302  # Strip out --no-create and --no-recursion so they do not pile up.  test "$silent" = yes && exec 6>/dev/null
 # Also quote any args containing shell metacharacters.  
 ac_configure_args=  
 for ac_arg  
 do  
   case "$ac_arg" in  
   -no-create | --no-create | --no-creat | --no-crea | --no-cre \  
   | --no-cr | --no-c) ;;  
   -no-recursion | --no-recursion | --no-recursio | --no-recursi \  
   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;  
   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)  
   ac_configure_args="$ac_configure_args '$ac_arg'" ;;  
   *) ac_configure_args="$ac_configure_args $ac_arg" ;;  
   esac  
 done  
1303    
 # NLS nuisances.  
 # Only set these to C if already set.  These must not be set unconditionally  
 # because not all systems understand e.g. LANG=C (notably SCO).  
 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!  
 # Non-C LC_CTYPE values break the ctype check.  
 if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi  
 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi  
 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi  
 if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi  
1304    
1305  # confdefs.h avoids OS command line length limits that DEFS can exceed.  ac_pwd=`pwd` && test -n "$ac_pwd" &&
1306  rm -rf conftest* confdefs.h  ac_ls_di=`ls -di .` &&
1307  # AIX cpp loses on an empty file, so make sure it contains at least a newline.  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1308  echo > confdefs.h    { echo "$as_me: error: Working directory cannot be determined" >&2
1309       { (exit 1); exit 1; }; }
1310  # A filename unique to this package, relative to the directory that  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1311  # configure is in, which we can look for to find out if srcdir is correct.    { echo "$as_me: error: pwd does not report name of working directory" >&2
1312  ac_unique_file=dftables.c     { (exit 1); exit 1; }; }
1313    
1314    
1315  # Find the source files, if location was not specified.  # Find the source files, if location was not specified.
1316  if test -z "$srcdir"; then  if test -z "$srcdir"; then
1317    ac_srcdir_defaulted=yes    ac_srcdir_defaulted=yes
1318    # Try the directory containing this script, then its parent.    # Try the directory containing this script, then the parent directory.
1319    ac_prog=$0    ac_confdir=`$as_dirname -- "$0" ||
1320    ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1321    test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.           X"$0" : 'X\(//\)[^/]' \| \
1322             X"$0" : 'X\(//\)$' \| \
1323             X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1324    echo X"$0" |
1325        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1326                s//\1/
1327                q
1328              }
1329              /^X\(\/\/\)[^/].*/{
1330                s//\1/
1331                q
1332              }
1333              /^X\(\/\/\)$/{
1334                s//\1/
1335                q
1336              }
1337              /^X\(\/\).*/{
1338                s//\1/
1339                q
1340              }
1341              s/.*/./; q'`
1342    srcdir=$ac_confdir    srcdir=$ac_confdir
1343    if test ! -r $srcdir/$ac_unique_file; then    if test ! -r "$srcdir/$ac_unique_file"; then
1344      srcdir=..      srcdir=..
1345    fi    fi
1346  else  else
1347    ac_srcdir_defaulted=no    ac_srcdir_defaulted=no
1348  fi  fi
1349  if test ! -r $srcdir/$ac_unique_file; then  if test ! -r "$srcdir/$ac_unique_file"; then
1350    if test "$ac_srcdir_defaulted" = yes; then    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1351      { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1352    else     { (exit 1); exit 1; }; }
1353      { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }  fi
1354    fi  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1355    ac_abs_confdir=`(
1356            cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1357       { (exit 1); exit 1; }; }
1358            pwd)`
1359    # When building in place, set srcdir=.
1360    if test "$ac_abs_confdir" = "$ac_pwd"; then
1361      srcdir=.
1362    fi
1363    # Remove unnecessary trailing slashes from srcdir.
1364    # Double slashes in file names in object file debugging info
1365    # mess up M-x gdb in Emacs.
1366    case $srcdir in
1367    */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1368    esac
1369    for ac_var in $ac_precious_vars; do
1370      eval ac_env_${ac_var}_set=\${${ac_var}+set}
1371      eval ac_env_${ac_var}_value=\$${ac_var}
1372      eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1373      eval ac_cv_env_${ac_var}_value=\$${ac_var}
1374    done
1375    
1376    #
1377    # Report the --help message.
1378    #
1379    if test "$ac_init_help" = "long"; then
1380      # Omit some internal or obsolete options to make the list less imposing.
1381      # This message is too long to be a string in the A/UX 3.1 sh.
1382      cat <<_ACEOF
1383    \`configure' configures this package to adapt to many kinds of systems.
1384    
1385    Usage: $0 [OPTION]... [VAR=VALUE]...
1386    
1387    To assign environment variables (e.g., CC, CFLAGS...), specify them as
1388    VAR=VALUE.  See below for descriptions of some of the useful variables.
1389    
1390    Defaults for the options are specified in brackets.
1391    
1392    Configuration:
1393      -h, --help              display this help and exit
1394          --help=short        display options specific to this package
1395          --help=recursive    display the short help of all the included packages
1396      -V, --version           display version information and exit
1397      -q, --quiet, --silent   do not print \`checking...' messages
1398          --cache-file=FILE   cache test results in FILE [disabled]
1399      -C, --config-cache      alias for \`--cache-file=config.cache'
1400      -n, --no-create         do not create output files
1401          --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1402    
1403    Installation directories:
1404      --prefix=PREFIX         install architecture-independent files in PREFIX
1405                              [$ac_default_prefix]
1406      --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1407                              [PREFIX]
1408    
1409    By default, \`make install' will install all the files in
1410    \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1411    an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1412    for instance \`--prefix=\$HOME'.
1413    
1414    For better control, use the options below.
1415    
1416    Fine tuning of the installation directories:
1417      --bindir=DIR           user executables [EPREFIX/bin]
1418      --sbindir=DIR          system admin executables [EPREFIX/sbin]
1419      --libexecdir=DIR       program executables [EPREFIX/libexec]
1420      --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1421      --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1422      --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1423      --libdir=DIR           object code libraries [EPREFIX/lib]
1424      --includedir=DIR       C header files [PREFIX/include]
1425      --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1426      --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1427      --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1428      --infodir=DIR          info documentation [DATAROOTDIR/info]
1429      --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1430      --mandir=DIR           man documentation [DATAROOTDIR/man]
1431      --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1432      --htmldir=DIR          html documentation [DOCDIR]
1433      --dvidir=DIR           dvi documentation [DOCDIR]
1434      --pdfdir=DIR           pdf documentation [DOCDIR]
1435      --psdir=DIR            ps documentation [DOCDIR]
1436    _ACEOF
1437    
1438      cat <<\_ACEOF
1439    
1440    System types:
1441      --build=BUILD     configure for building on BUILD [guessed]
1442      --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1443    _ACEOF
1444    fi
1445    
1446    if test -n "$ac_init_help"; then
1447    
1448      cat <<\_ACEOF
1449    
1450    Optional Features:
1451      --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1452      --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1453      --disable-cpp           disable C++ support
1454      --enable-shared[=PKGS]  build shared libraries [default=yes]
1455      --enable-static[=PKGS]  build static libraries [default=yes]
1456      --enable-fast-install[=PKGS]
1457                              optimize for fast installation [default=yes]
1458      --disable-libtool-lock  avoid locking (might break parallel builds)
1459      --enable-utf8           enable UTF8 support
1460      --enable-unicode-properties  enable Unicode properties support
1461      --enable-newline-is-cr  use CR as the newline character
1462      --enable-newline-is-lf  use LF as the newline character
1463      --enable-newline-is-crlf  use CRLF as the newline sequence
1464      --enable-newline-is-any  use any Unicode newline sequence
1465      --enable-ebcdic         assume EBCDIC coding rather than ASCII
1466      --disable-stack-for-recursion  disable use of stack recursion when matching
1467    
1468    Optional Packages:
1469      --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1470      --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1471      --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1472      --with-pic              try to use only PIC/non-PIC objects [default=use
1473                              both]
1474      --with-tags[=TAGS]      include additional configurations [automatic]
1475      --with-posix-malloc-threshold=10  threshold for POSIX malloc usage
1476      --with-link-size=2    internal link size (2, 3, or 4 allowed)
1477      --with-match-limit=10000000  default limit on internal looping
1478      --with-match-limit-recursion=10000000  default limit on internal recursion
1479    
1480    Some influential environment variables:
1481      CC          C compiler command
1482      CFLAGS      C compiler flags
1483      LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1484                  nonstandard directory <lib dir>
1485      CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1486                  you have headers in a nonstandard directory <include dir>
1487      CXX         C++ compiler command
1488      CXXFLAGS    C++ compiler flags
1489      CPP         C preprocessor
1490      CXXCPP      C++ preprocessor
1491      F77         Fortran 77 compiler command
1492      FFLAGS      Fortran 77 compiler flags
1493    
1494    Use these variables to override the choices made by `configure' or to help
1495    it to find libraries and programs with nonstandard names/locations.
1496    
1497    _ACEOF
1498    ac_status=$?
1499  fi  fi
 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`  
1500    
1501    if test "$ac_init_help" = "recursive"; then
1502      # If there are subdirs, report their specific --help.
1503      for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1504        test -d "$ac_dir" || continue
1505        ac_builddir=.
1506    
1507    case "$ac_dir" in
1508    .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1509    *)
1510      ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1511      # A ".." for each directory in $ac_dir_suffix.
1512      ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1513      case $ac_top_builddir_sub in
1514      "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1515      *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1516      esac ;;
1517    esac
1518    ac_abs_top_builddir=$ac_pwd
1519    ac_abs_builddir=$ac_pwd$ac_dir_suffix
1520    # for backward compatibility:
1521    ac_top_builddir=$ac_top_build_prefix
1522    
1523    case $srcdir in
1524      .)  # We are building in place.
1525        ac_srcdir=.
1526        ac_top_srcdir=$ac_top_builddir_sub
1527        ac_abs_top_srcdir=$ac_pwd ;;
1528      [\\/]* | ?:[\\/]* )  # Absolute name.
1529        ac_srcdir=$srcdir$ac_dir_suffix;
1530        ac_top_srcdir=$srcdir
1531        ac_abs_top_srcdir=$srcdir ;;
1532      *) # Relative name.
1533        ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1534        ac_top_srcdir=$ac_top_build_prefix$srcdir
1535        ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1536    esac
1537    ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1538    
1539        cd "$ac_dir" || { ac_status=$?; continue; }
1540        # Check for guested configure.
1541        if test -f "$ac_srcdir/configure.gnu"; then
1542          echo &&
1543          $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1544        elif test -f "$ac_srcdir/configure"; then
1545          echo &&
1546          $SHELL "$ac_srcdir/configure" --help=recursive
1547        else
1548          echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1549        fi || ac_status=$?
1550        cd "$ac_pwd" || { ac_status=$?; break; }
1551      done
1552    fi
1553    
1554    test -n "$ac_init_help" && exit $ac_status
1555    if $ac_init_version; then
1556      cat <<\_ACEOF
1557    configure
1558    generated by GNU Autoconf 2.60
1559    
1560    Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1561    2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1562    This configure script is free software; the Free Software Foundation
1563    gives unlimited permission to copy, distribute and modify it.
1564    _ACEOF
1565      exit
1566    fi
1567    cat >config.log <<_ACEOF
1568    This file contains any messages produced by compilers while
1569    running configure, to aid debugging if configure makes a mistake.
1570    
1571    It was created by $as_me, which was
1572    generated by GNU Autoconf 2.60.  Invocation command line was
1573    
1574      $ $0 $@
1575    
1576    _ACEOF
1577    exec 5>>config.log
1578    {
1579    cat <<_ASUNAME
1580    ## --------- ##
1581    ## Platform. ##
1582    ## --------- ##
1583    
1584    hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1585    uname -m = `(uname -m) 2>/dev/null || echo unknown`
1586    uname -r = `(uname -r) 2>/dev/null || echo unknown`
1587    uname -s = `(uname -s) 2>/dev/null || echo unknown`
1588    uname -v = `(uname -v) 2>/dev/null || echo unknown`
1589    
1590    /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1591    /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1592    
1593    /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1594    /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1595    /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1596    /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1597    /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1598    /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1599    /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1600    
1601    _ASUNAME
1602    
1603    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1604    for as_dir in $PATH
1605    do
1606      IFS=$as_save_IFS
1607      test -z "$as_dir" && as_dir=.
1608      echo "PATH: $as_dir"
1609    done
1610    IFS=$as_save_IFS
1611    
1612    } >&5
1613    
1614    cat >&5 <<_ACEOF
1615    
1616    
1617    ## ----------- ##
1618    ## Core tests. ##
1619    ## ----------- ##
1620    
1621    _ACEOF
1622    
1623    
1624    # Keep a trace of the command line.
1625    # Strip out --no-create and --no-recursion so they do not pile up.
1626    # Strip out --silent because we don't want to record it for future runs.
1627    # Also quote any args containing shell meta-characters.
1628    # Make two passes to allow for proper duplicate-argument suppression.
1629    ac_configure_args=
1630    ac_configure_args0=
1631    ac_configure_args1=
1632    ac_must_keep_next=false
1633    for ac_pass in 1 2
1634    do
1635      for ac_arg
1636      do
1637        case $ac_arg in
1638        -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1639        -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1640        | -silent | --silent | --silen | --sile | --sil)
1641          continue ;;
1642        *\'*)
1643          ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1644        esac
1645        case $ac_pass in
1646        1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1647        2)
1648          ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1649          if test $ac_must_keep_next = true; then
1650            ac_must_keep_next=false # Got value, back to normal.
1651          else
1652            case $ac_arg in
1653              *=* | --config-cache | -C | -disable-* | --disable-* \
1654              | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1655              | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1656              | -with-* | --with-* | -without-* | --without-* | --x)
1657                case "$ac_configure_args0 " in
1658                  "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1659                esac
1660                ;;
1661              -* ) ac_must_keep_next=true ;;
1662            esac
1663          fi
1664          ac_configure_args="$ac_configure_args '$ac_arg'"
1665          ;;
1666        esac
1667      done
1668    done
1669    $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1670    $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1671    
1672    # When interrupted or exit'd, cleanup temporary files, and complete
1673    # config.log.  We remove comments because anyway the quotes in there
1674    # would cause problems or look ugly.
1675    # WARNING: Use '\'' to represent an apostrophe within the trap.
1676    # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1677    trap 'exit_status=$?
1678      # Save into config.log some information that might help in debugging.
1679      {
1680        echo
1681    
1682        cat <<\_ASBOX
1683    ## ---------------- ##
1684    ## Cache variables. ##
1685    ## ---------------- ##
1686    _ASBOX
1687        echo
1688        # The following way of writing the cache mishandles newlines in values,
1689    (
1690      for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1691        eval ac_val=\$$ac_var
1692        case $ac_val in #(
1693        *${as_nl}*)
1694          case $ac_var in #(
1695          *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1696    echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1697          esac
1698          case $ac_var in #(
1699          _ | IFS | as_nl) ;; #(
1700          *) $as_unset $ac_var ;;
1701          esac ;;
1702        esac
1703      done
1704      (set) 2>&1 |
1705        case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1706        *${as_nl}ac_space=\ *)
1707          sed -n \
1708            "s/'\''/'\''\\\\'\'''\''/g;
1709              s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1710          ;; #(
1711        *)
1712          sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1713          ;;
1714        esac |
1715        sort
1716    )
1717        echo
1718    
1719        cat <<\_ASBOX
1720    ## ----------------- ##
1721    ## Output variables. ##
1722    ## ----------------- ##
1723    _ASBOX
1724        echo
1725        for ac_var in $ac_subst_vars
1726        do
1727          eval ac_val=\$$ac_var
1728          case $ac_val in
1729          *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1730          esac
1731          echo "$ac_var='\''$ac_val'\''"
1732        done | sort
1733        echo
1734    
1735        if test -n "$ac_subst_files"; then
1736          cat <<\_ASBOX
1737    ## ------------------- ##
1738    ## File substitutions. ##
1739    ## ------------------- ##
1740    _ASBOX
1741          echo
1742          for ac_var in $ac_subst_files
1743          do
1744            eval ac_val=\$$ac_var
1745            case $ac_val in
1746            *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1747            esac
1748            echo "$ac_var='\''$ac_val'\''"
1749          done | sort
1750          echo
1751        fi
1752    
1753        if test -s confdefs.h; then
1754          cat <<\_ASBOX
1755    ## ----------- ##
1756    ## confdefs.h. ##
1757    ## ----------- ##
1758    _ASBOX
1759          echo
1760          cat confdefs.h
1761          echo
1762        fi
1763        test "$ac_signal" != 0 &&
1764          echo "$as_me: caught signal $ac_signal"
1765        echo "$as_me: exit $exit_status"
1766      } >&5
1767      rm -f core *.core core.conftest.* &&
1768        rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1769        exit $exit_status
1770    ' 0
1771    for ac_signal in 1 2 13 15; do
1772      trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1773    done
1774    ac_signal=0
1775    
1776    # confdefs.h avoids OS command line length limits that DEFS can exceed.
1777    rm -f -r conftest* confdefs.h
1778    
1779    # Predefined preprocessor variables.
1780    
1781    cat >>confdefs.h <<_ACEOF
1782    #define PACKAGE_NAME "$PACKAGE_NAME"
1783    _ACEOF
1784    
1785    
1786    cat >>confdefs.h <<_ACEOF
1787    #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1788    _ACEOF
1789    
1790    
1791    cat >>confdefs.h <<_ACEOF
1792    #define PACKAGE_VERSION "$PACKAGE_VERSION"
1793    _ACEOF
1794    
1795    
1796    cat >>confdefs.h <<_ACEOF
1797    #define PACKAGE_STRING "$PACKAGE_STRING"
1798    _ACEOF
1799    
1800    
1801    cat >>confdefs.h <<_ACEOF
1802    #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1803    _ACEOF
1804    
1805    
1806    # Let the site file select an alternate cache file if it wants to.
1807  # Prefer explicitly selected file to automatically selected ones.  # Prefer explicitly selected file to automatically selected ones.
1808  if test -z "$CONFIG_SITE"; then  if test -n "$CONFIG_SITE"; then
1809    if test "x$prefix" != xNONE; then    set x "$CONFIG_SITE"
1810      CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"  elif test "x$prefix" != xNONE; then
1811    else    set x "$prefix/share/config.site" "$prefix/etc/config.site"
1812      CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"  else
1813    fi    set x "$ac_default_prefix/share/config.site" \
1814            "$ac_default_prefix/etc/config.site"
1815  fi  fi
1816  for ac_site_file in $CONFIG_SITE; do  shift
1817    for ac_site_file
1818    do
1819    if test -r "$ac_site_file"; then    if test -r "$ac_site_file"; then
1820      echo "loading site script $ac_site_file"      { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1821    echo "$as_me: loading site script $ac_site_file" >&6;}
1822        sed 's/^/| /' "$ac_site_file" >&5
1823      . "$ac_site_file"      . "$ac_site_file"
1824    fi    fi
1825  done  done
1826    
1827  if test -r "$cache_file"; then  if test -r "$cache_file"; then
1828    echo "loading cache $cache_file"    # Some versions of bash will fail to source /dev/null (special
1829    . $cache_file    # files actually), so we avoid doing that.
1830      if test -f "$cache_file"; then
1831        { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1832    echo "$as_me: loading cache $cache_file" >&6;}
1833        case $cache_file in
1834          [\\/]* | ?:[\\/]* ) . "$cache_file";;
1835          *)                      . "./$cache_file";;
1836        esac
1837      fi
1838  else  else
1839    echo "creating cache $cache_file"    { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1840    > $cache_file  echo "$as_me: creating cache $cache_file" >&6;}
1841      >$cache_file
1842  fi  fi
1843    
1844    # Check that the precious variables saved in the cache have kept the same
1845    # value.
1846    ac_cache_corrupted=false
1847    for ac_var in $ac_precious_vars; do
1848      eval ac_old_set=\$ac_cv_env_${ac_var}_set
1849      eval ac_new_set=\$ac_env_${ac_var}_set
1850      eval ac_old_val=\$ac_cv_env_${ac_var}_value
1851      eval ac_new_val=\$ac_env_${ac_var}_value
1852      case $ac_old_set,$ac_new_set in
1853        set,)
1854          { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1855    echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1856          ac_cache_corrupted=: ;;
1857        ,set)
1858          { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1859    echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1860          ac_cache_corrupted=: ;;
1861        ,);;
1862        *)
1863          if test "x$ac_old_val" != "x$ac_new_val"; then
1864            { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1865    echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1866            { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1867    echo "$as_me:   former value:  $ac_old_val" >&2;}
1868            { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1869    echo "$as_me:   current value: $ac_new_val" >&2;}
1870            ac_cache_corrupted=:
1871          fi;;
1872      esac
1873      # Pass precious variables to config.status.
1874      if test "$ac_new_set" = set; then
1875        case $ac_new_val in
1876        *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1877        *) ac_arg=$ac_var=$ac_new_val ;;
1878        esac
1879        case " $ac_configure_args " in
1880          *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1881          *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1882        esac
1883      fi
1884    done
1885    if $ac_cache_corrupted; then
1886      { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1887    echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1888      { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1889    echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1890       { (exit 1); exit 1; }; }
1891    fi
1892    
1893    
1894    
1895    
1896    
1897    
1898    
1899    
1900    
1901    
1902    
1903    
1904    
1905    
1906    
1907    
1908    
1909  ac_ext=c  ac_ext=c
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  
1910  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
1911  ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1912  ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1913  cross_compiling=$ac_cv_prog_cc_cross  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1914    
1915    
 ac_exeext=  
 ac_objext=o  
 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then  
   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.  
   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then  
     ac_n= ac_c='  
 ' ac_t='        '  
   else  
     ac_n=-n ac_c= ac_t=  
   fi  
 else  
   ac_n= ac_c='\c' ac_t=  
 fi  
1916    
1917    
1918    
1919    
1920    
1921    ac_config_headers="$ac_config_headers config.h"
1922    
1923  PCRE_MAJOR=3  
1924  PCRE_MINOR=2  
1925  PCRE_DATE=12-May-2000  POSIX_MALLOC_THRESHOLD=-DPOSIX_MALLOC_THRESHOLD=10
 PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}  
1926    
1927    
1928  PCRE_LIB_VERSION=0:1:0  PCRE_LIB_VERSION=0:1:0
1929  PCRE_POSIXLIB_VERSION=0:0:0  PCRE_POSIXLIB_VERSION=0:0:0
1930    PCRE_CPPLIB_VERSION=0:0:0
1931    
1932    
1933    PCRE_MAJOR=`grep '#define PCRE_MAJOR' ${srcdir}/pcre.h | cut -c 29-`
1934    PCRE_MINOR=`grep '#define PCRE_MINOR' ${srcdir}/pcre.h | cut -c 29-`
1935    PCRE_PRERELEASE=`grep '#define PCRE_PRERELEASE' ${srcdir}/pcre.h | cut -c 29-`
1936    PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}${PCRE_PRERELEASE}
1937    
1938    
1939    # Check whether --enable-cpp was given.
1940    if test "${enable_cpp+set}" = set; then
1941      enableval=$enable_cpp; want_cpp="$enableval"
1942    else
1943      want_cpp=yes
1944    fi
1945    
1946    
1947    
1948    ac_ext=c
1949    ac_cpp='$CPP $CPPFLAGS'
1950    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1951    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1952    ac_compiler_gnu=$ac_cv_c_compiler_gnu
1953    if test -n "$ac_tool_prefix"; then
1954      # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1955    set dummy ${ac_tool_prefix}gcc; ac_word=$2
1956    { echo "$as_me:$LINENO: checking for $ac_word" >&5
1957    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1958    if test "${ac_cv_prog_CC+set}" = set; then
1959      echo $ECHO_N "(cached) $ECHO_C" >&6
1960    else
1961      if test -n "$CC"; then
1962      ac_cv_prog_CC="$CC" # Let the user override the test.
1963    else
1964    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1965    for as_dir in $PATH
1966    do
1967      IFS=$as_save_IFS
1968      test -z "$as_dir" && as_dir=.
1969      for ac_exec_ext in '' $ac_executable_extensions; do
1970      if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1971        ac_cv_prog_CC="${ac_tool_prefix}gcc"
1972        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1973        break 2
1974      fi
1975    done
1976    done
1977    IFS=$as_save_IFS
1978    
1979    fi
1980    fi
1981    CC=$ac_cv_prog_CC
1982    if test -n "$CC"; then
1983      { echo "$as_me:$LINENO: result: $CC" >&5
1984    echo "${ECHO_T}$CC" >&6; }
1985    else
1986      { echo "$as_me:$LINENO: result: no" >&5
1987    echo "${ECHO_T}no" >&6; }
1988    fi
1989    
1990    
1991  # Extract the first word of "gcc", so it can be a program name with args.  fi
1992    if test -z "$ac_cv_prog_CC"; then
1993      ac_ct_CC=$CC
1994      # Extract the first word of "gcc", so it can be a program name with args.
1995  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1996  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  { echo "$as_me:$LINENO: checking for $ac_word" >&5
1997  echo "configure:544: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1998  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1999    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2000    else
2001      if test -n "$ac_ct_CC"; then
2002      ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2003    else
2004    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2005    for as_dir in $PATH
2006    do
2007      IFS=$as_save_IFS
2008      test -z "$as_dir" && as_dir=.
2009      for ac_exec_ext in '' $ac_executable_extensions; do
2010      if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2011        ac_cv_prog_ac_ct_CC="gcc"
2012        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2013        break 2
2014      fi
2015    done
2016    done
2017    IFS=$as_save_IFS
2018    
2019    fi
2020    fi
2021    ac_ct_CC=$ac_cv_prog_ac_ct_CC
2022    if test -n "$ac_ct_CC"; then
2023      { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2024    echo "${ECHO_T}$ac_ct_CC" >&6; }
2025    else
2026      { echo "$as_me:$LINENO: result: no" >&5
2027    echo "${ECHO_T}no" >&6; }
2028    fi
2029    
2030      if test "x$ac_ct_CC" = x; then
2031        CC=""
2032      else
2033        case $cross_compiling:$ac_tool_warned in
2034    yes:)
2035    { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2036    whose name does not start with the host triplet.  If you think this
2037    configuration is useful to you, please write to autoconf@gnu.org." >&5
2038    echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2039    whose name does not start with the host triplet.  If you think this
2040    configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2041    ac_tool_warned=yes ;;
2042    esac
2043        CC=$ac_ct_CC
2044      fi
2045    else
2046      CC="$ac_cv_prog_CC"
2047    fi
2048    
2049    if test -z "$CC"; then
2050              if test -n "$ac_tool_prefix"; then
2051        # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2052    set dummy ${ac_tool_prefix}cc; ac_word=$2
2053    { echo "$as_me:$LINENO: checking for $ac_word" >&5
2054    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2055    if test "${ac_cv_prog_CC+set}" = set; then
2056      echo $ECHO_N "(cached) $ECHO_C" >&6
2057  else  else
2058    if test -n "$CC"; then    if test -n "$CC"; then
2059    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
2060  else  else
2061    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2062    ac_dummy="$PATH"  for as_dir in $PATH
2063    for ac_dir in $ac_dummy; do  do
2064      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
2065      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
2066        ac_cv_prog_CC="gcc"    for ac_exec_ext in '' $ac_executable_extensions; do
2067        break    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2068      fi      ac_cv_prog_CC="${ac_tool_prefix}cc"
2069    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2070    IFS="$ac_save_ifs"      break 2
2071      fi
2072    done
2073    done
2074    IFS=$as_save_IFS
2075    
2076  fi  fi
2077  fi  fi
2078  CC="$ac_cv_prog_CC"  CC=$ac_cv_prog_CC
2079  if test -n "$CC"; then  if test -n "$CC"; then
2080    echo "$ac_t""$CC" 1>&6    { echo "$as_me:$LINENO: result: $CC" >&5
2081    echo "${ECHO_T}$CC" >&6; }
2082  else  else
2083    echo "$ac_t""no" 1>&6    { echo "$as_me:$LINENO: result: no" >&5
2084    echo "${ECHO_T}no" >&6; }
2085  fi  fi
2086    
2087    
2088      fi
2089    fi
2090  if test -z "$CC"; then  if test -z "$CC"; then
2091    # 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.
2092  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
2093  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2094  echo "configure:574: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2095  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if test "${ac_cv_prog_CC+set}" = set; then
2096    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2097  else  else
2098    if test -n "$CC"; then    if test -n "$CC"; then
2099    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
2100  else  else
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  
2101    ac_prog_rejected=no    ac_prog_rejected=no
2102    ac_dummy="$PATH"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2103    for ac_dir in $ac_dummy; do  for as_dir in $PATH
2104      test -z "$ac_dir" && ac_dir=.  do
2105      if test -f $ac_dir/$ac_word; then    IFS=$as_save_IFS
2106        if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then    test -z "$as_dir" && as_dir=.
2107          ac_prog_rejected=yes    for ac_exec_ext in '' $ac_executable_extensions; do
2108          continue    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2109        fi      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2110        ac_cv_prog_CC="cc"         ac_prog_rejected=yes
2111        break         continue
2112      fi       fi
2113    done      ac_cv_prog_CC="cc"
2114    IFS="$ac_save_ifs"      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2115        break 2
2116      fi
2117    done
2118    done
2119    IFS=$as_save_IFS
2120    
2121  if test $ac_prog_rejected = yes; then  if test $ac_prog_rejected = yes; then
2122    # We found a bogon in the path, so make sure we never use it.    # We found a bogon in the path, so make sure we never use it.
2123    set dummy $ac_cv_prog_CC    set dummy $ac_cv_prog_CC
2124    shift    shift
2125    if test $# -gt 0; then    if test $# != 0; then
2126      # We chose a different compiler from the bogus one.      # We chose a different compiler from the bogus one.
2127      # However, it has the same basename, so the bogon will be chosen      # However, it has the same basename, so the bogon will be chosen
2128      # 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.
2129      shift      shift
2130      set dummy "$ac_dir/$ac_word" "$@"      ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
     shift  
     ac_cv_prog_CC="$@"  
2131    fi    fi
2132  fi  fi
2133  fi  fi
2134  fi  fi
2135  CC="$ac_cv_prog_CC"  CC=$ac_cv_prog_CC
2136  if test -n "$CC"; then  if test -n "$CC"; then
2137    echo "$ac_t""$CC" 1>&6    { echo "$as_me:$LINENO: result: $CC" >&5
2138    echo "${ECHO_T}$CC" >&6; }
2139  else  else
2140    echo "$ac_t""no" 1>&6    { echo "$as_me:$LINENO: result: no" >&5
2141    echo "${ECHO_T}no" >&6; }
2142  fi  fi
2143    
2144    if test -z "$CC"; then  
2145      case "`uname -s`" in  fi
2146      *win32* | *WIN32*)  if test -z "$CC"; then
2147        # Extract the first word of "cl", so it can be a program name with args.    if test -n "$ac_tool_prefix"; then
2148  set dummy cl; ac_word=$2    for ac_prog in cl.exe
2149  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6    do
2150  echo "configure:625: checking for $ac_word" >&5      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2151  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2152    echo $ac_n "(cached) $ac_c" 1>&6  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2153    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2154    if test "${ac_cv_prog_CC+set}" = set; then
2155      echo $ECHO_N "(cached) $ECHO_C" >&6
2156  else  else
2157    if test -n "$CC"; then    if test -n "$CC"; then
2158    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
2159  else  else
2160    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2161    ac_dummy="$PATH"  for as_dir in $PATH
2162    for ac_dir in $ac_dummy; do  do
2163      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
2164      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
2165        ac_cv_prog_CC="cl"    for ac_exec_ext in '' $ac_executable_extensions; do
2166        break    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2167      fi      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2168    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2169    IFS="$ac_save_ifs"      break 2
2170      fi
2171    done
2172    done
2173    IFS=$as_save_IFS
2174    
2175  fi  fi
2176  fi  fi
2177  CC="$ac_cv_prog_CC"  CC=$ac_cv_prog_CC
2178  if test -n "$CC"; then  if test -n "$CC"; then
2179    echo "$ac_t""$CC" 1>&6    { echo "$as_me:$LINENO: result: $CC" >&5
2180    echo "${ECHO_T}$CC" >&6; }
2181  else  else
2182    echo "$ac_t""no" 1>&6    { echo "$as_me:$LINENO: result: no" >&5
2183  fi  echo "${ECHO_T}no" >&6; }
  ;;  
     esac  
   fi  
   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }  
2184  fi  fi
2185    
 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6  
 echo "configure:657: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5  
2186    
2187  ac_ext=c      test -n "$CC" && break
2188  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.    done
2189  ac_cpp='$CPP $CPPFLAGS'  fi
2190  ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  if test -z "$CC"; then
2191  ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'    ac_ct_CC=$CC
2192  cross_compiling=$ac_cv_prog_cc_cross    for ac_prog in cl.exe
2193    do
2194      # Extract the first word of "$ac_prog", so it can be a program name with args.
2195    set dummy $ac_prog; ac_word=$2
2196    { echo "$as_me:$LINENO: checking for $ac_word" >&5
2197    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2198    if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2199      echo $ECHO_N "(cached) $ECHO_C" >&6
2200    else
2201      if test -n "$ac_ct_CC"; then
2202      ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2203    else
2204    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2205    for as_dir in $PATH
2206    do
2207      IFS=$as_save_IFS
2208      test -z "$as_dir" && as_dir=.
2209      for ac_exec_ext in '' $ac_executable_extensions; do
2210      if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2211        ac_cv_prog_ac_ct_CC="$ac_prog"
2212        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2213        break 2
2214      fi
2215    done
2216    done
2217    IFS=$as_save_IFS
2218    
2219  cat > conftest.$ac_ext << EOF  fi
2220    fi
2221    ac_ct_CC=$ac_cv_prog_ac_ct_CC
2222    if test -n "$ac_ct_CC"; then
2223      { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2224    echo "${ECHO_T}$ac_ct_CC" >&6; }
2225    else
2226      { echo "$as_me:$LINENO: result: no" >&5
2227    echo "${ECHO_T}no" >&6; }
2228    fi
2229    
 #line 668 "configure"  
 #include "confdefs.h"  
2230    
2231  main(){return(0);}    test -n "$ac_ct_CC" && break
2232  EOF  done
2233  if { (eval echo configure:673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
2234    ac_cv_prog_cc_works=yes    if test "x$ac_ct_CC" = x; then
2235    # If we can't run a trivial program, we are probably using a cross compiler.      CC=""
2236    if (./conftest; exit) 2>/dev/null; then    else
2237      ac_cv_prog_cc_cross=no      case $cross_compiling:$ac_tool_warned in
2238    else  yes:)
2239      ac_cv_prog_cc_cross=yes  { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2240    whose name does not start with the host triplet.  If you think this
2241    configuration is useful to you, please write to autoconf@gnu.org." >&5
2242    echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2243    whose name does not start with the host triplet.  If you think this
2244    configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2245    ac_tool_warned=yes ;;
2246    esac
2247        CC=$ac_ct_CC
2248    fi    fi
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   ac_cv_prog_cc_works=no  
 fi  
 rm -fr conftest*  
 ac_ext=c  
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  
 ac_cpp='$CPP $CPPFLAGS'  
 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  
 cross_compiling=$ac_cv_prog_cc_cross  
   
 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6  
 if test $ac_cv_prog_cc_works = no; then  
   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }  
 fi  
 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6  
 echo "configure:699: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5  
 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6  
 cross_compiling=$ac_cv_prog_cc_cross  
   
 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6  
 echo "configure:704: checking whether we are using GNU C" >&5  
 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.c <<EOF  
 #ifdef __GNUC__  
   yes;  
 #endif  
 EOF  
 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then  
   ac_cv_prog_gcc=yes  
 else  
   ac_cv_prog_gcc=no  
2249  fi  fi
2250    
2251  fi  fi
2252    
 echo "$ac_t""$ac_cv_prog_gcc" 1>&6  
2253    
2254  if test $ac_cv_prog_gcc = yes; then  test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2255    GCC=yes  See \`config.log' for more details." >&5
2256  else  echo "$as_me: error: no acceptable C compiler found in \$PATH
2257    GCC=  See \`config.log' for more details." >&2;}
2258  fi     { (exit 1); exit 1; }; }
2259    
2260    # Provide some information about the compiler.
2261    echo "$as_me:$LINENO: checking for C compiler version" >&5
2262    ac_compiler=`set X $ac_compile; echo $2`
2263    { (ac_try="$ac_compiler --version >&5"
2264    case "(($ac_try" in
2265      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2266      *) ac_try_echo=$ac_try;;
2267    esac
2268    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2269      (eval "$ac_compiler --version >&5") 2>&5
2270      ac_status=$?
2271      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272      (exit $ac_status); }
2273    { (ac_try="$ac_compiler -v >&5"
2274    case "(($ac_try" in
2275      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2276      *) ac_try_echo=$ac_try;;
2277    esac
2278    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2279      (eval "$ac_compiler -v >&5") 2>&5
2280      ac_status=$?
2281      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2282      (exit $ac_status); }
2283    { (ac_try="$ac_compiler -V >&5"
2284    case "(($ac_try" in
2285      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2286      *) ac_try_echo=$ac_try;;
2287    esac
2288    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2289      (eval "$ac_compiler -V >&5") 2>&5
2290      ac_status=$?
2291      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2292      (exit $ac_status); }
2293    
2294    cat >conftest.$ac_ext <<_ACEOF
2295    /* confdefs.h.  */
2296    _ACEOF
2297    cat confdefs.h >>conftest.$ac_ext
2298    cat >>conftest.$ac_ext <<_ACEOF
2299    /* end confdefs.h.  */
2300    
2301    int
2302    main ()
2303    {
2304    
2305      ;
2306      return 0;
2307    }
2308    _ACEOF
2309    ac_clean_files_save=$ac_clean_files
2310    ac_clean_files="$ac_clean_files a.out a.exe b.out"
2311    # Try to create an executable without -o first, disregard a.out.
2312    # It will help us diagnose broken compilers, and finding out an intuition
2313    # of exeext.
2314    { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2315    echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2316    ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2317    #
2318    # List of possible output files, starting from the most likely.
2319    # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2320    # only as a last resort.  b.out is created by i960 compilers.
2321    ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2322    #
2323    # The IRIX 6 linker writes into existing files which may not be
2324    # executable, retaining their permissions.  Remove them first so a
2325    # subsequent execution test works.
2326    ac_rmfiles=
2327    for ac_file in $ac_files
2328    do
2329      case $ac_file in
2330        *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2331        * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2332      esac
2333    done
2334    rm -f $ac_rmfiles
2335    
2336    if { (ac_try="$ac_link_default"
2337    case "(($ac_try" in
2338      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2339      *) ac_try_echo=$ac_try;;
2340    esac
2341    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2342      (eval "$ac_link_default") 2>&5
2343      ac_status=$?
2344      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345      (exit $ac_status); }; then
2346      # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2347    # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2348    # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2349    # so that the user can short-circuit this test for compilers unknown to
2350    # Autoconf.
2351    for ac_file in $ac_files
2352    do
2353      test -f "$ac_file" || continue
2354      case $ac_file in
2355        *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2356            ;;
2357        [ab].out )
2358            # We found the default executable, but exeext='' is most
2359            # certainly right.
2360            break;;
2361        *.* )
2362            if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2363            then :; else
2364               ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2365            fi
2366            # We set ac_cv_exeext here because the later test for it is not
2367            # safe: cross compilers may not add the suffix if given an `-o'
2368            # argument, so we may need to know it at that point already.
2369            # Even if this section looks crufty: it has the advantage of
2370            # actually working.
2371            break;;
2372        * )
2373            break;;
2374      esac
2375    done
2376    test "$ac_cv_exeext" = no && ac_cv_exeext=
2377    
 ac_test_CFLAGS="${CFLAGS+set}"  
 ac_save_CFLAGS="$CFLAGS"  
 CFLAGS=  
 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6  
 echo "configure:732: checking whether ${CC-cc} accepts -g" >&5  
 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   echo 'void f(){}' > conftest.c  
 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then  
   ac_cv_prog_cc_g=yes  
2378  else  else
2379    ac_cv_prog_cc_g=no    echo "$as_me: failed program was:" >&5
2380  fi  sed 's/^/| /' conftest.$ac_ext >&5
 rm -f conftest*  
2381    
2382    { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2383    See \`config.log' for more details." >&5
2384    echo "$as_me: error: C compiler cannot create executables
2385    See \`config.log' for more details." >&2;}
2386       { (exit 77); exit 77; }; }
2387  fi  fi
2388    
2389  echo "$ac_t""$ac_cv_prog_cc_g" 1>&6  ac_exeext=$ac_cv_exeext
2390  if test "$ac_test_CFLAGS" = set; then  { echo "$as_me:$LINENO: result: $ac_file" >&5
2391    CFLAGS="$ac_save_CFLAGS"  echo "${ECHO_T}$ac_file" >&6; }
2392  elif test $ac_cv_prog_cc_g = yes; then  
2393    if test "$GCC" = yes; then  # Check that the compiler produces executables we can run.  If not, either
2394      CFLAGS="-g -O2"  # the compiler is broken, or we cross compile.
2395    { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2396    echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2397    # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2398    # If not cross compiling, check that we can run a simple program.
2399    if test "$cross_compiling" != yes; then
2400      if { ac_try='./$ac_file'
2401      { (case "(($ac_try" in
2402      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2403      *) ac_try_echo=$ac_try;;
2404    esac
2405    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2406      (eval "$ac_try") 2>&5
2407      ac_status=$?
2408      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409      (exit $ac_status); }; }; then
2410        cross_compiling=no
2411    else    else
2412      CFLAGS="-g"      if test "$cross_compiling" = maybe; then
2413            cross_compiling=yes
2414        else
2415            { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2416    If you meant to cross compile, use \`--host'.
2417    See \`config.log' for more details." >&5
2418    echo "$as_me: error: cannot run C compiled programs.
2419    If you meant to cross compile, use \`--host'.
2420    See \`config.log' for more details." >&2;}
2421       { (exit 1); exit 1; }; }
2422        fi
2423      fi
2424    fi
2425    { echo "$as_me:$LINENO: result: yes" >&5
2426    echo "${ECHO_T}yes" >&6; }
2427    
2428    rm -f a.out a.exe conftest$ac_cv_exeext b.out
2429    ac_clean_files=$ac_clean_files_save
2430    # Check that the compiler produces executables we can run.  If not, either
2431    # the compiler is broken, or we cross compile.
2432    { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2433    echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2434    { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2435    echo "${ECHO_T}$cross_compiling" >&6; }
2436    
2437    { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2438    echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2439    if { (ac_try="$ac_link"
2440    case "(($ac_try" in
2441      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2442      *) ac_try_echo=$ac_try;;
2443    esac
2444    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2445      (eval "$ac_link") 2>&5
2446      ac_status=$?
2447      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448      (exit $ac_status); }; then
2449      # If both `conftest.exe' and `conftest' are `present' (well, observable)
2450    # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2451    # work properly (i.e., refer to `conftest.exe'), while it won't with
2452    # `rm'.
2453    for ac_file in conftest.exe conftest conftest.*; do
2454      test -f "$ac_file" || continue
2455      case $ac_file in
2456        *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2457        *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2458              break;;
2459        * ) break;;
2460      esac
2461    done
2462    else
2463      { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2464    See \`config.log' for more details." >&5
2465    echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2466    See \`config.log' for more details." >&2;}
2467       { (exit 1); exit 1; }; }
2468    fi
2469    
2470    rm -f conftest$ac_cv_exeext
2471    { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2472    echo "${ECHO_T}$ac_cv_exeext" >&6; }
2473    
2474    rm -f conftest.$ac_ext
2475    EXEEXT=$ac_cv_exeext
2476    ac_exeext=$EXEEXT
2477    { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2478    echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2479    if test "${ac_cv_objext+set}" = set; then
2480      echo $ECHO_N "(cached) $ECHO_C" >&6
2481    else
2482      cat >conftest.$ac_ext <<_ACEOF
2483    /* confdefs.h.  */
2484    _ACEOF
2485    cat confdefs.h >>conftest.$ac_ext
2486    cat >>conftest.$ac_ext <<_ACEOF
2487    /* end confdefs.h.  */
2488    
2489    int
2490    main ()
2491    {
2492    
2493      ;
2494      return 0;
2495    }
2496    _ACEOF
2497    rm -f conftest.o conftest.obj
2498    if { (ac_try="$ac_compile"
2499    case "(($ac_try" in
2500      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2501      *) ac_try_echo=$ac_try;;
2502    esac
2503    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2504      (eval "$ac_compile") 2>&5
2505      ac_status=$?
2506      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507      (exit $ac_status); }; then
2508      for ac_file in conftest.o conftest.obj conftest.*; do
2509      test -f "$ac_file" || continue;
2510      case $ac_file in
2511        *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2512        *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2513           break;;
2514      esac
2515    done
2516    else
2517      echo "$as_me: failed program was:" >&5
2518    sed 's/^/| /' conftest.$ac_ext >&5
2519    
2520    { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2521    See \`config.log' for more details." >&5
2522    echo "$as_me: error: cannot compute suffix of object files: cannot compile
2523    See \`config.log' for more details." >&2;}
2524       { (exit 1); exit 1; }; }
2525    fi
2526    
2527    rm -f conftest.$ac_cv_objext conftest.$ac_ext
2528    fi
2529    { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2530    echo "${ECHO_T}$ac_cv_objext" >&6; }
2531    OBJEXT=$ac_cv_objext
2532    ac_objext=$OBJEXT
2533    { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2534    echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2535    if test "${ac_cv_c_compiler_gnu+set}" = set; then
2536      echo $ECHO_N "(cached) $ECHO_C" >&6
2537    else
2538      cat >conftest.$ac_ext <<_ACEOF
2539    /* confdefs.h.  */
2540    _ACEOF
2541    cat confdefs.h >>conftest.$ac_ext
2542    cat >>conftest.$ac_ext <<_ACEOF
2543    /* end confdefs.h.  */
2544    
2545    int
2546    main ()
2547    {
2548    #ifndef __GNUC__
2549           choke me
2550    #endif
2551    
2552      ;
2553      return 0;
2554    }
2555    _ACEOF
2556    rm -f conftest.$ac_objext
2557    if { (ac_try="$ac_compile"
2558    case "(($ac_try" in
2559      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2560      *) ac_try_echo=$ac_try;;
2561    esac
2562    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2563      (eval "$ac_compile") 2>conftest.er1
2564      ac_status=$?
2565      grep -v '^ *+' conftest.er1 >conftest.err
2566      rm -f conftest.er1
2567      cat conftest.err >&5
2568      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569      (exit $ac_status); } &&
2570             { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2571      { (case "(($ac_try" in
2572      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2573      *) ac_try_echo=$ac_try;;
2574    esac
2575    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2576      (eval "$ac_try") 2>&5
2577      ac_status=$?
2578      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2579      (exit $ac_status); }; } &&
2580             { ac_try='test -s conftest.$ac_objext'
2581      { (case "(($ac_try" in
2582      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2583      *) ac_try_echo=$ac_try;;
2584    esac
2585    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2586      (eval "$ac_try") 2>&5
2587      ac_status=$?
2588      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589      (exit $ac_status); }; }; then
2590      ac_compiler_gnu=yes
2591    else
2592      echo "$as_me: failed program was:" >&5
2593    sed 's/^/| /' conftest.$ac_ext >&5
2594    
2595            ac_compiler_gnu=no
2596    fi
2597    
2598    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2599    ac_cv_c_compiler_gnu=$ac_compiler_gnu
2600    
2601    fi
2602    { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2603    echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2604    GCC=`test $ac_compiler_gnu = yes && echo yes`
2605    ac_test_CFLAGS=${CFLAGS+set}
2606    ac_save_CFLAGS=$CFLAGS
2607    { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2608    echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2609    if test "${ac_cv_prog_cc_g+set}" = set; then
2610      echo $ECHO_N "(cached) $ECHO_C" >&6
2611    else
2612      ac_save_c_werror_flag=$ac_c_werror_flag
2613       ac_c_werror_flag=yes
2614       ac_cv_prog_cc_g=no
2615       CFLAGS="-g"
2616       cat >conftest.$ac_ext <<_ACEOF
2617    /* confdefs.h.  */
2618    _ACEOF
2619    cat confdefs.h >>conftest.$ac_ext
2620    cat >>conftest.$ac_ext <<_ACEOF
2621    /* end confdefs.h.  */
2622    
2623    int
2624    main ()
2625    {
2626    
2627      ;
2628      return 0;
2629    }
2630    _ACEOF
2631    rm -f conftest.$ac_objext
2632    if { (ac_try="$ac_compile"
2633    case "(($ac_try" in
2634      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2635      *) ac_try_echo=$ac_try;;
2636    esac
2637    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2638      (eval "$ac_compile") 2>conftest.er1
2639      ac_status=$?
2640      grep -v '^ *+' conftest.er1 >conftest.err
2641      rm -f conftest.er1
2642      cat conftest.err >&5
2643      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644      (exit $ac_status); } &&
2645             { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2646      { (case "(($ac_try" in
2647      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2648      *) ac_try_echo=$ac_try;;
2649    esac
2650    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2651      (eval "$ac_try") 2>&5
2652      ac_status=$?
2653      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654      (exit $ac_status); }; } &&
2655             { ac_try='test -s conftest.$ac_objext'
2656      { (case "(($ac_try" in
2657      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2658      *) ac_try_echo=$ac_try;;
2659    esac
2660    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2661      (eval "$ac_try") 2>&5
2662      ac_status=$?
2663      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664      (exit $ac_status); }; }; then
2665      ac_cv_prog_cc_g=yes
2666    else
2667      echo "$as_me: failed program was:" >&5
2668    sed 's/^/| /' conftest.$ac_ext >&5
2669    
2670            CFLAGS=""
2671          cat >conftest.$ac_ext <<_ACEOF
2672    /* confdefs.h.  */
2673    _ACEOF
2674    cat confdefs.h >>conftest.$ac_ext
2675    cat >>conftest.$ac_ext <<_ACEOF
2676    /* end confdefs.h.  */
2677    
2678    int
2679    main ()
2680    {
2681    
2682      ;
2683      return 0;
2684    }
2685    _ACEOF
2686    rm -f conftest.$ac_objext
2687    if { (ac_try="$ac_compile"
2688    case "(($ac_try" in
2689      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2690      *) ac_try_echo=$ac_try;;
2691    esac
2692    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2693      (eval "$ac_compile") 2>conftest.er1
2694      ac_status=$?
2695      grep -v '^ *+' conftest.er1 >conftest.err
2696      rm -f conftest.er1
2697      cat conftest.err >&5
2698      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699      (exit $ac_status); } &&
2700             { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2701      { (case "(($ac_try" in
2702      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2703      *) ac_try_echo=$ac_try;;
2704    esac
2705    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2706      (eval "$ac_try") 2>&5
2707      ac_status=$?
2708      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709      (exit $ac_status); }; } &&
2710             { ac_try='test -s conftest.$ac_objext'
2711      { (case "(($ac_try" in
2712      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713      *) ac_try_echo=$ac_try;;
2714    esac
2715    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2716      (eval "$ac_try") 2>&5
2717      ac_status=$?
2718      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719      (exit $ac_status); }; }; then
2720      :
2721    else
2722      echo "$as_me: failed program was:" >&5
2723    sed 's/^/| /' conftest.$ac_ext >&5
2724    
2725            ac_c_werror_flag=$ac_save_c_werror_flag
2726             CFLAGS="-g"
2727             cat >conftest.$ac_ext <<_ACEOF
2728    /* confdefs.h.  */
2729    _ACEOF
2730    cat confdefs.h >>conftest.$ac_ext
2731    cat >>conftest.$ac_ext <<_ACEOF
2732    /* end confdefs.h.  */
2733    
2734    int
2735    main ()
2736    {
2737    
2738      ;
2739      return 0;
2740    }
2741    _ACEOF
2742    rm -f conftest.$ac_objext
2743    if { (ac_try="$ac_compile"
2744    case "(($ac_try" in
2745      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2746      *) ac_try_echo=$ac_try;;
2747    esac
2748    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2749      (eval "$ac_compile") 2>conftest.er1
2750      ac_status=$?
2751      grep -v '^ *+' conftest.er1 >conftest.err
2752      rm -f conftest.er1
2753      cat conftest.err >&5
2754      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755      (exit $ac_status); } &&
2756             { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2757      { (case "(($ac_try" in
2758      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2759      *) ac_try_echo=$ac_try;;
2760    esac
2761    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2762      (eval "$ac_try") 2>&5
2763      ac_status=$?
2764      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765      (exit $ac_status); }; } &&
2766             { ac_try='test -s conftest.$ac_objext'
2767      { (case "(($ac_try" in
2768      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2769      *) ac_try_echo=$ac_try;;
2770    esac
2771    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2772      (eval "$ac_try") 2>&5
2773      ac_status=$?
2774      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775      (exit $ac_status); }; }; then
2776      ac_cv_prog_cc_g=yes
2777    else
2778      echo "$as_me: failed program was:" >&5
2779    sed 's/^/| /' conftest.$ac_ext >&5
2780    
2781    
2782    fi
2783    
2784    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2785    fi
2786    
2787    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2788    fi
2789    
2790    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2791       ac_c_werror_flag=$ac_save_c_werror_flag
2792    fi
2793    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2794    echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2795    if test "$ac_test_CFLAGS" = set; then
2796      CFLAGS=$ac_save_CFLAGS
2797    elif test $ac_cv_prog_cc_g = yes; then
2798      if test "$GCC" = yes; then
2799        CFLAGS="-g -O2"
2800      else
2801        CFLAGS="-g"
2802      fi
2803    else
2804      if test "$GCC" = yes; then
2805        CFLAGS="-O2"
2806      else
2807        CFLAGS=
2808      fi
2809    fi
2810    { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2811    echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2812    if test "${ac_cv_prog_cc_c89+set}" = set; then
2813      echo $ECHO_N "(cached) $ECHO_C" >&6
2814    else
2815      ac_cv_prog_cc_c89=no
2816    ac_save_CC=$CC
2817    cat >conftest.$ac_ext <<_ACEOF
2818    /* confdefs.h.  */
2819    _ACEOF
2820    cat confdefs.h >>conftest.$ac_ext
2821    cat >>conftest.$ac_ext <<_ACEOF
2822    /* end confdefs.h.  */
2823    #include <stdarg.h>
2824    #include <stdio.h>
2825    #include <sys/types.h>
2826    #include <sys/stat.h>
2827    /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2828    struct buf { int x; };
2829    FILE * (*rcsopen) (struct buf *, struct stat *, int);
2830    static char *e (p, i)
2831         char **p;
2832         int i;
2833    {
2834      return p[i];
2835    }
2836    static char *f (char * (*g) (char **, int), char **p, ...)
2837    {
2838      char *s;
2839      va_list v;
2840      va_start (v,p);
2841      s = g (p, va_arg (v,int));
2842      va_end (v);
2843      return s;
2844    }
2845    
2846    /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2847       function prototypes and stuff, but not '\xHH' hex character constants.
2848       These don't provoke an error unfortunately, instead are silently treated
2849       as 'x'.  The following induces an error, until -std is added to get
2850       proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2851       array size at least.  It's necessary to write '\x00'==0 to get something
2852       that's true only with -std.  */
2853    int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2854    
2855    /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2856       inside strings and character constants.  */
2857    #define FOO(x) 'x'
2858    int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2859    
2860    int test (int i, double x);
2861    struct s1 {int (*f) (int a);};
2862    struct s2 {int (*f) (double a);};
2863    int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2864    int argc;
2865    char **argv;
2866    int
2867    main ()
2868    {
2869    return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2870      ;
2871      return 0;
2872    }
2873    _ACEOF
2874    for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2875            -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2876    do
2877      CC="$ac_save_CC $ac_arg"
2878      rm -f conftest.$ac_objext
2879    if { (ac_try="$ac_compile"
2880    case "(($ac_try" in
2881      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2882      *) ac_try_echo=$ac_try;;
2883    esac
2884    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2885      (eval "$ac_compile") 2>conftest.er1
2886      ac_status=$?
2887      grep -v '^ *+' conftest.er1 >conftest.err
2888      rm -f conftest.er1
2889      cat conftest.err >&5
2890      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891      (exit $ac_status); } &&
2892             { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2893      { (case "(($ac_try" in
2894      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2895      *) ac_try_echo=$ac_try;;
2896    esac
2897    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2898      (eval "$ac_try") 2>&5
2899      ac_status=$?
2900      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901      (exit $ac_status); }; } &&
2902             { ac_try='test -s conftest.$ac_objext'
2903      { (case "(($ac_try" in
2904      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2905      *) ac_try_echo=$ac_try;;
2906    esac
2907    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2908      (eval "$ac_try") 2>&5
2909      ac_status=$?
2910      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911      (exit $ac_status); }; }; then
2912      ac_cv_prog_cc_c89=$ac_arg
2913    else
2914      echo "$as_me: failed program was:" >&5
2915    sed 's/^/| /' conftest.$ac_ext >&5
2916    
2917    
2918    fi
2919    
2920    rm -f core conftest.err conftest.$ac_objext
2921      test "x$ac_cv_prog_cc_c89" != "xno" && break
2922    done
2923    rm -f conftest.$ac_ext
2924    CC=$ac_save_CC
2925    
2926    fi
2927    # AC_CACHE_VAL
2928    case "x$ac_cv_prog_cc_c89" in
2929      x)
2930        { echo "$as_me:$LINENO: result: none needed" >&5
2931    echo "${ECHO_T}none needed" >&6; } ;;
2932      xno)
2933        { echo "$as_me:$LINENO: result: unsupported" >&5
2934    echo "${ECHO_T}unsupported" >&6; } ;;
2935      *)
2936        CC="$CC $ac_cv_prog_cc_c89"
2937        { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2938    echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2939    esac
2940    
2941    
2942    ac_ext=c
2943    ac_cpp='$CPP $CPPFLAGS'
2944    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2945    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2946    ac_compiler_gnu=$ac_cv_c_compiler_gnu
2947    
2948    
2949    
2950    ac_ext=cpp
2951    ac_cpp='$CXXCPP $CPPFLAGS'
2952    ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2953    ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2954    ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2955    if test -z "$CXX"; then
2956      if test -n "$CCC"; then
2957        CXX=$CCC
2958      else
2959        if test -n "$ac_tool_prefix"; then
2960      for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2961      do
2962        # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2963    set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2964    { echo "$as_me:$LINENO: checking for $ac_word" >&5
2965    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2966    if test "${ac_cv_prog_CXX+set}" = set; then
2967      echo $ECHO_N "(cached) $ECHO_C" >&6
2968    else
2969      if test -n "$CXX"; then
2970      ac_cv_prog_CXX="$CXX" # Let the user override the test.
2971    else
2972    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2973    for as_dir in $PATH
2974    do
2975      IFS=$as_save_IFS
2976      test -z "$as_dir" && as_dir=.
2977      for ac_exec_ext in '' $ac_executable_extensions; do
2978      if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2979        ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2980        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2981        break 2
2982      fi
2983    done
2984    done
2985    IFS=$as_save_IFS
2986    
2987    fi
2988    fi
2989    CXX=$ac_cv_prog_CXX
2990    if test -n "$CXX"; then
2991      { echo "$as_me:$LINENO: result: $CXX" >&5
2992    echo "${ECHO_T}$CXX" >&6; }
2993    else
2994      { echo "$as_me:$LINENO: result: no" >&5
2995    echo "${ECHO_T}no" >&6; }
2996    fi
2997    
2998    
2999        test -n "$CXX" && break
3000      done
3001    fi
3002    if test -z "$CXX"; then
3003      ac_ct_CXX=$CXX
3004      for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3005    do
3006      # Extract the first word of "$ac_prog", so it can be a program name with args.
3007    set dummy $ac_prog; ac_word=$2
3008    { echo "$as_me:$LINENO: checking for $ac_word" >&5
3009    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3010    if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3011      echo $ECHO_N "(cached) $ECHO_C" >&6
3012    else
3013      if test -n "$ac_ct_CXX"; then
3014      ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3015    else
3016    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3017    for as_dir in $PATH
3018    do
3019      IFS=$as_save_IFS
3020      test -z "$as_dir" && as_dir=.
3021      for ac_exec_ext in '' $ac_executable_extensions; do
3022      if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3023        ac_cv_prog_ac_ct_CXX="$ac_prog"
3024        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3025        break 2
3026      fi
3027    done
3028    done
3029    IFS=$as_save_IFS
3030    
3031    fi
3032    fi
3033    ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3034    if test -n "$ac_ct_CXX"; then
3035      { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3036    echo "${ECHO_T}$ac_ct_CXX" >&6; }
3037    else
3038      { echo "$as_me:$LINENO: result: no" >&5
3039    echo "${ECHO_T}no" >&6; }
3040    fi
3041    
3042    
3043      test -n "$ac_ct_CXX" && break
3044    done
3045    
3046      if test "x$ac_ct_CXX" = x; then
3047        CXX="g++"
3048      else
3049        case $cross_compiling:$ac_tool_warned in
3050    yes:)
3051    { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3052    whose name does not start with the host triplet.  If you think this
3053    configuration is useful to you, please write to autoconf@gnu.org." >&5
3054    echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3055    whose name does not start with the host triplet.  If you think this
3056    configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3057    ac_tool_warned=yes ;;
3058    esac
3059        CXX=$ac_ct_CXX
3060      fi
3061    fi
3062    
3063      fi
3064    fi
3065    # Provide some information about the compiler.
3066    echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3067    ac_compiler=`set X $ac_compile; echo $2`
3068    { (ac_try="$ac_compiler --version >&5"
3069    case "(($ac_try" in
3070      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3071      *) ac_try_echo=$ac_try;;
3072    esac
3073    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3074      (eval "$ac_compiler --version >&5") 2>&5
3075      ac_status=$?
3076      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3077      (exit $ac_status); }
3078    { (ac_try="$ac_compiler -v >&5"
3079    case "(($ac_try" in
3080      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081      *) ac_try_echo=$ac_try;;
3082    esac
3083    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3084      (eval "$ac_compiler -v >&5") 2>&5
3085      ac_status=$?
3086      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087      (exit $ac_status); }
3088    { (ac_try="$ac_compiler -V >&5"
3089    case "(($ac_try" in
3090      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091      *) ac_try_echo=$ac_try;;
3092    esac
3093    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3094      (eval "$ac_compiler -V >&5") 2>&5
3095      ac_status=$?
3096      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097      (exit $ac_status); }
3098    
3099    { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3100    echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3101    if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3102      echo $ECHO_N "(cached) $ECHO_C" >&6
3103    else
3104      cat >conftest.$ac_ext <<_ACEOF
3105    /* confdefs.h.  */
3106    _ACEOF
3107    cat confdefs.h >>conftest.$ac_ext
3108    cat >>conftest.$ac_ext <<_ACEOF
3109    /* end confdefs.h.  */
3110    
3111    int
3112    main ()
3113    {
3114    #ifndef __GNUC__
3115           choke me
3116    #endif
3117    
3118      ;
3119      return 0;
3120    }
3121    _ACEOF
3122    rm -f conftest.$ac_objext
3123    if { (ac_try="$ac_compile"
3124    case "(($ac_try" in
3125      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3126      *) ac_try_echo=$ac_try;;
3127    esac
3128    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3129      (eval "$ac_compile") 2>conftest.er1
3130      ac_status=$?
3131      grep -v '^ *+' conftest.er1 >conftest.err
3132      rm -f conftest.er1
3133      cat conftest.err >&5
3134      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135      (exit $ac_status); } &&
3136             { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3137      { (case "(($ac_try" in
3138      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139      *) ac_try_echo=$ac_try;;
3140    esac
3141    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3142      (eval "$ac_try") 2>&5
3143      ac_status=$?
3144      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145      (exit $ac_status); }; } &&
3146             { ac_try='test -s conftest.$ac_objext'
3147      { (case "(($ac_try" in
3148      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3149      *) ac_try_echo=$ac_try;;
3150    esac
3151    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3152      (eval "$ac_try") 2>&5
3153      ac_status=$?
3154      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155      (exit $ac_status); }; }; then
3156      ac_compiler_gnu=yes
3157    else
3158      echo "$as_me: failed program was:" >&5
3159    sed 's/^/| /' conftest.$ac_ext >&5
3160    
3161            ac_compiler_gnu=no
3162    fi
3163    
3164    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3165    ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3166    
3167    fi
3168    { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3169    echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3170    GXX=`test $ac_compiler_gnu = yes && echo yes`
3171    ac_test_CXXFLAGS=${CXXFLAGS+set}
3172    ac_save_CXXFLAGS=$CXXFLAGS
3173    { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3174    echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3175    if test "${ac_cv_prog_cxx_g+set}" = set; then
3176      echo $ECHO_N "(cached) $ECHO_C" >&6
3177    else
3178      ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3179       ac_cxx_werror_flag=yes
3180       ac_cv_prog_cxx_g=no
3181       CXXFLAGS="-g"
3182       cat >conftest.$ac_ext <<_ACEOF
3183    /* confdefs.h.  */
3184    _ACEOF
3185    cat confdefs.h >>conftest.$ac_ext
3186    cat >>conftest.$ac_ext <<_ACEOF
3187    /* end confdefs.h.  */
3188    
3189    int
3190    main ()
3191    {
3192    
3193      ;
3194      return 0;
3195    }
3196    _ACEOF
3197    rm -f conftest.$ac_objext
3198    if { (ac_try="$ac_compile"
3199    case "(($ac_try" in
3200      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3201      *) ac_try_echo=$ac_try;;
3202    esac
3203    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3204      (eval "$ac_compile") 2>conftest.er1
3205      ac_status=$?
3206      grep -v '^ *+' conftest.er1 >conftest.err
3207      rm -f conftest.er1
3208      cat conftest.err >&5
3209      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210      (exit $ac_status); } &&
3211             { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3212      { (case "(($ac_try" in
3213      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3214      *) ac_try_echo=$ac_try;;
3215    esac
3216    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3217      (eval "$ac_try") 2>&5
3218      ac_status=$?
3219      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220      (exit $ac_status); }; } &&
3221             { ac_try='test -s conftest.$ac_objext'
3222      { (case "(($ac_try" in
3223      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3224      *) ac_try_echo=$ac_try;;
3225    esac
3226    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3227      (eval "$ac_try") 2>&5
3228      ac_status=$?
3229      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3230      (exit $ac_status); }; }; then
3231      ac_cv_prog_cxx_g=yes
3232    else
3233      echo "$as_me: failed program was:" >&5
3234    sed 's/^/| /' conftest.$ac_ext >&5
3235    
3236            CXXFLAGS=""
3237          cat >conftest.$ac_ext <<_ACEOF
3238    /* confdefs.h.  */
3239    _ACEOF
3240    cat confdefs.h >>conftest.$ac_ext
3241    cat >>conftest.$ac_ext <<_ACEOF
3242    /* end confdefs.h.  */
3243    
3244    int
3245    main ()
3246    {
3247    
3248      ;
3249      return 0;
3250    }
3251    _ACEOF
3252    rm -f conftest.$ac_objext
3253    if { (ac_try="$ac_compile"
3254    case "(($ac_try" in
3255      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3256      *) ac_try_echo=$ac_try;;
3257    esac
3258    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3259      (eval "$ac_compile") 2>conftest.er1
3260      ac_status=$?
3261      grep -v '^ *+' conftest.er1 >conftest.err
3262      rm -f conftest.er1
3263      cat conftest.err >&5
3264      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265      (exit $ac_status); } &&
3266             { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3267      { (case "(($ac_try" in
3268      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3269      *) ac_try_echo=$ac_try;;
3270    esac
3271    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3272      (eval "$ac_try") 2>&5
3273      ac_status=$?
3274      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275      (exit $ac_status); }; } &&
3276             { ac_try='test -s conftest.$ac_objext'
3277      { (case "(($ac_try" in
3278      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3279      *) ac_try_echo=$ac_try;;
3280    esac
3281    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3282      (eval "$ac_try") 2>&5
3283      ac_status=$?
3284      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285      (exit $ac_status); }; }; then
3286      :
3287    else
3288      echo "$as_me: failed program was:" >&5
3289    sed 's/^/| /' conftest.$ac_ext >&5
3290    
3291            ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3292             CXXFLAGS="-g"
3293             cat >conftest.$ac_ext <<_ACEOF
3294    /* confdefs.h.  */
3295    _ACEOF
3296    cat confdefs.h >>conftest.$ac_ext
3297    cat >>conftest.$ac_ext <<_ACEOF
3298    /* end confdefs.h.  */
3299    
3300    int
3301    main ()
3302    {
3303    
3304      ;
3305      return 0;
3306    }
3307    _ACEOF
3308    rm -f conftest.$ac_objext
3309    if { (ac_try="$ac_compile"
3310    case "(($ac_try" in
3311      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3312      *) ac_try_echo=$ac_try;;
3313    esac
3314    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3315      (eval "$ac_compile") 2>conftest.er1
3316      ac_status=$?
3317      grep -v '^ *+' conftest.er1 >conftest.err
3318      rm -f conftest.er1
3319      cat conftest.err >&5
3320      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321      (exit $ac_status); } &&
3322             { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3323      { (case "(($ac_try" in
3324      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3325      *) ac_try_echo=$ac_try;;
3326    esac
3327    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3328      (eval "$ac_try") 2>&5
3329      ac_status=$?
3330      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331      (exit $ac_status); }; } &&
3332             { ac_try='test -s conftest.$ac_objext'
3333      { (case "(($ac_try" in
3334      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3335      *) ac_try_echo=$ac_try;;
3336    esac
3337    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3338      (eval "$ac_try") 2>&5
3339      ac_status=$?
3340      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341      (exit $ac_status); }; }; then
3342      ac_cv_prog_cxx_g=yes
3343    else
3344      echo "$as_me: failed program was:" >&5
3345    sed 's/^/| /' conftest.$ac_ext >&5
3346    
3347    
3348    fi
3349    
3350    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3351    fi
3352    
3353    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3354    fi
3355    
3356    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3357       ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3358    fi
3359    { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3360    echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3361    if test "$ac_test_CXXFLAGS" = set; then
3362      CXXFLAGS=$ac_save_CXXFLAGS
3363    elif test $ac_cv_prog_cxx_g = yes; then
3364      if test "$GXX" = yes; then
3365        CXXFLAGS="-g -O2"
3366      else
3367        CXXFLAGS="-g"
3368      fi
3369    else
3370      if test "$GXX" = yes; then
3371        CXXFLAGS="-O2"
3372      else
3373        CXXFLAGS=
3374      fi
3375    fi
3376    ac_ext=c
3377    ac_cpp='$CPP $CPPFLAGS'
3378    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3379    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3380    ac_compiler_gnu=$ac_cv_c_compiler_gnu
3381    
3382    
3383    
3384    ac_aux_dir=
3385    for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3386      if test -f "$ac_dir/install-sh"; then
3387        ac_aux_dir=$ac_dir
3388        ac_install_sh="$ac_aux_dir/install-sh -c"
3389        break
3390      elif test -f "$ac_dir/install.sh"; then
3391        ac_aux_dir=$ac_dir
3392        ac_install_sh="$ac_aux_dir/install.sh -c"
3393        break
3394      elif test -f "$ac_dir/shtool"; then
3395        ac_aux_dir=$ac_dir
3396        ac_install_sh="$ac_aux_dir/shtool install -c"
3397        break
3398      fi
3399    done
3400    if test -z "$ac_aux_dir"; then
3401      { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
3402    echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
3403       { (exit 1); exit 1; }; }
3404    fi
3405    
3406    # These three variables are undocumented and unsupported,
3407    # and are intended to be withdrawn in a future Autoconf release.
3408    # They can cause serious problems if a builder's source tree is in a directory
3409    # whose full name contains unusual characters.
3410    ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3411    ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3412    ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3413    
3414    
3415    # Find a good install program.  We prefer a C program (faster),
3416    # so one script is as good as another.  But avoid the broken or
3417    # incompatible versions:
3418    # SysV /etc/install, /usr/sbin/install
3419    # SunOS /usr/etc/install
3420    # IRIX /sbin/install
3421    # AIX /bin/install
3422    # AmigaOS /C/install, which installs bootblocks on floppy discs
3423    # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3424    # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3425    # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3426    # OS/2's system install, which has a completely different semantic
3427    # ./install, which can be erroneously created by make from ./install.sh.
3428    { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3429    echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3430    if test -z "$INSTALL"; then
3431    if test "${ac_cv_path_install+set}" = set; then
3432      echo $ECHO_N "(cached) $ECHO_C" >&6
3433    else
3434      as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3435    for as_dir in $PATH
3436    do
3437      IFS=$as_save_IFS
3438      test -z "$as_dir" && as_dir=.
3439      # Account for people who put trailing slashes in PATH elements.
3440    case $as_dir/ in
3441      ./ | .// | /cC/* | \
3442      /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3443      ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3444      /usr/ucb/* ) ;;
3445      *)
3446        # OSF1 and SCO ODT 3.0 have their own names for install.
3447        # Don't use installbsd from OSF since it installs stuff as root
3448        # by default.
3449        for ac_prog in ginstall scoinst install; do
3450          for ac_exec_ext in '' $ac_executable_extensions; do
3451            if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
3452              if test $ac_prog = install &&
3453                grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3454                # AIX install.  It has an incompatible calling convention.
3455                :
3456              elif test $ac_prog = install &&
3457                grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3458                # program-specific install script used by HP pwplus--don't use.
3459                :
3460              else
3461                ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3462                break 3
3463              fi
3464            fi
3465          done
3466        done
3467        ;;
3468    esac
3469    done
3470    IFS=$as_save_IFS
3471    
3472    
3473    fi
3474      if test "${ac_cv_path_install+set}" = set; then
3475        INSTALL=$ac_cv_path_install
3476      else
3477        # As a last resort, use the slow shell script.  Don't cache a
3478        # value for INSTALL within a source directory, because that will
3479        # break other packages using the cache if that directory is
3480        # removed, or if the value is a relative name.
3481        INSTALL=$ac_install_sh
3482      fi
3483    fi
3484    { echo "$as_me:$LINENO: result: $INSTALL" >&5
3485    echo "${ECHO_T}$INSTALL" >&6; }
3486    
3487    # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3488    # It thinks the first close brace ends the variable substitution.
3489    test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3490    
3491    test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3492    
3493    test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3494    
3495    
3496    
3497    # Check whether --enable-shared was given.
3498    if test "${enable_shared+set}" = set; then
3499      enableval=$enable_shared; p=${PACKAGE-default}
3500        case $enableval in
3501        yes) enable_shared=yes ;;
3502        no) enable_shared=no ;;
3503        *)
3504          enable_shared=no
3505          # Look at the argument we got.  We use all the common list separators.
3506          lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3507          for pkg in $enableval; do
3508            IFS="$lt_save_ifs"
3509            if test "X$pkg" = "X$p"; then
3510              enable_shared=yes
3511            fi
3512          done
3513          IFS="$lt_save_ifs"
3514          ;;
3515        esac
3516    else
3517      enable_shared=yes
3518    fi
3519    
3520    
3521    # Check whether --enable-static was given.
3522    if test "${enable_static+set}" = set; then
3523      enableval=$enable_static; p=${PACKAGE-default}
3524        case $enableval in
3525        yes) enable_static=yes ;;
3526        no) enable_static=no ;;
3527        *)
3528         enable_static=no
3529          # Look at the argument we got.  We use all the common list separators.
3530          lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3531          for pkg in $enableval; do
3532            IFS="$lt_save_ifs"
3533            if test "X$pkg" = "X$p"; then
3534              enable_static=yes
3535            fi
3536          done
3537          IFS="$lt_save_ifs"
3538          ;;
3539        esac
3540    else
3541      enable_static=yes
3542    fi
3543    
3544    
3545    # Check whether --enable-fast-install was given.
3546    if test "${enable_fast_install+set}" = set; then
3547      enableval=$enable_fast_install; p=${PACKAGE-default}
3548        case $enableval in
3549        yes) enable_fast_install=yes ;;
3550        no) enable_fast_install=no ;;
3551        *)
3552          enable_fast_install=no
3553          # Look at the argument we got.  We use all the common list separators.
3554          lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3555          for pkg in $enableval; do
3556            IFS="$lt_save_ifs"
3557            if test "X$pkg" = "X$p"; then
3558              enable_fast_install=yes
3559            fi
3560          done
3561          IFS="$lt_save_ifs"
3562          ;;
3563        esac
3564    else
3565      enable_fast_install=yes
3566    fi
3567    
3568    
3569    # Make sure we can run config.sub.
3570    $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3571      { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3572    echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3573       { (exit 1); exit 1; }; }
3574    
3575    { echo "$as_me:$LINENO: checking build system type" >&5
3576    echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3577    if test "${ac_cv_build+set}" = set; then
3578      echo $ECHO_N "(cached) $ECHO_C" >&6
3579    else
3580      ac_build_alias=$build_alias
3581    test "x$ac_build_alias" = x &&
3582      ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3583    test "x$ac_build_alias" = x &&
3584      { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3585    echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3586       { (exit 1); exit 1; }; }
3587    ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3588      { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3589    echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3590       { (exit 1); exit 1; }; }
3591    
3592    fi
3593    { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3594    echo "${ECHO_T}$ac_cv_build" >&6; }
3595    case $ac_cv_build in
3596    *-*-*) ;;
3597    *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3598    echo "$as_me: error: invalid value of canonical build" >&2;}
3599       { (exit 1); exit 1; }; };;
3600    esac
3601    build=$ac_cv_build
3602    ac_save_IFS=$IFS; IFS='-'
3603    set x $ac_cv_build
3604    shift
3605    build_cpu=$1
3606    build_vendor=$2
3607    shift; shift
3608    # Remember, the first character of IFS is used to create $*,
3609    # except with old shells:
3610    build_os=$*
3611    IFS=$ac_save_IFS
3612    case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3613    
3614    
3615    { echo "$as_me:$LINENO: checking host system type" >&5
3616    echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3617    if test "${ac_cv_host+set}" = set; then
3618      echo $ECHO_N "(cached) $ECHO_C" >&6
3619    else
3620      if test "x$host_alias" = x; then
3621      ac_cv_host=$ac_cv_build
3622    else
3623      ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3624        { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3625    echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3626       { (exit 1); exit 1; }; }
3627    fi
3628    
3629    fi
3630    { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3631    echo "${ECHO_T}$ac_cv_host" >&6; }
3632    case $ac_cv_host in
3633    *-*-*) ;;
3634    *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3635    echo "$as_me: error: invalid value of canonical host" >&2;}
3636       { (exit 1); exit 1; }; };;
3637    esac
3638    host=$ac_cv_host
3639    ac_save_IFS=$IFS; IFS='-'
3640    set x $ac_cv_host
3641    shift
3642    host_cpu=$1
3643    host_vendor=$2
3644    shift; shift
3645    # Remember, the first character of IFS is used to create $*,
3646    # except with old shells:
3647    host_os=$*
3648    IFS=$ac_save_IFS
3649    case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3650    
3651    
3652    { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3653    echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3654    if test "${lt_cv_path_SED+set}" = set; then
3655      echo $ECHO_N "(cached) $ECHO_C" >&6
3656    else
3657      # Loop through the user's path and test for sed and gsed.
3658    # Then use that list of sed's as ones to test for truncation.
3659    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3660    for as_dir in $PATH
3661    do
3662      IFS=$as_save_IFS
3663      test -z "$as_dir" && as_dir=.
3664      for lt_ac_prog in sed gsed; do
3665        for ac_exec_ext in '' $ac_executable_extensions; do
3666          if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3667            lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"