/[CvsGraph]/cvsgraph/configure
ViewVC logotype

Diff of /cvsgraph/configure

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

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