/[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.13, Mon Aug 16 08:39:27 2004 UTC revision 1.16, Wed May 21 13:33:35 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 by GNU Autoconf 2.57.  # Generated by GNU Autoconf 2.61 for cvsgraph 1.7.0.
4  #  #
5  # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002  # Report bugs to <cvsgraph@akhphd.au.dk>.
6  # Free Software Foundation, Inc.  #
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.  ##  ## M4sh Initialization.  ##
13  ## --------------------- ##  ## --------------------- ##
14    
15  # Be Bourne compatible  # 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  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18    emulate sh    emulate sh
19    NULLCMD=:    NULLCMD=:
20    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21    # is contrary to our usage.  Disable this feature.    # is contrary to our usage.  Disable this feature.
22    alias -g '${1+"$@"}'='"$@"'    alias -g '${1+"$@"}'='"$@"'
23  elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then    setopt NO_GLOB_SUBST
24    set -o posix  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  fi
54    
55  # Support unset when possible.  # Support unset when possible.
56  if (FOO=FOO; unset FOO) >/dev/null 2>&1; then  if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57    as_unset=unset    as_unset=unset
58  else  else
59    as_unset=false    as_unset=false
60  fi  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.  # Work around bugs in pre-3.0 UWIN ksh.
97  $as_unset ENV MAIL MAILPATH  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='$ '  PS1='$ '
101  PS2='> '  PS2='> '
102  PS4='+ '  PS4='+ '
# Line 41  Line 107 
107    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108    LC_TELEPHONE LC_TIME    LC_TELEPHONE LC_TIME
109  do  do
110    if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then    if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111      eval $as_var=C; export $as_var      eval $as_var=C; export $as_var
112    else    else
113      $as_unset $as_var      ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114    fi    fi
115  done  done
116    
117  # Required to use basename.  # Required to use basename.
118  if expr a : '\(a\)' >/dev/null 2>&1; then  if expr a : '\(a\)' >/dev/null 2>&1 &&
119       test "X`expr 00001 : '.*\(...\)'`" = X001; then
120    as_expr=expr    as_expr=expr
121  else  else
122    as_expr=false    as_expr=false
123  fi  fi
124    
125  if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then  if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126    as_basename=basename    as_basename=basename
127  else  else
128    as_basename=false    as_basename=false
# Line 63  Line 130 
130    
131    
132  # Name of the executable.  # Name of the executable.
133  as_me=`$as_basename "$0" ||  as_me=`$as_basename -- "$0" ||
134  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135           X"$0" : 'X\(//\)$' \| \           X"$0" : 'X\(//\)$' \| \
136           X"$0" : 'X\(/\)$' \| \           X"$0" : 'X\(/\)' \| . 2>/dev/null ||
          .     : '\(.\)' 2>/dev/null ||  
137  echo X/"$0" |  echo X/"$0" |
138      sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }      sed '/^.*\/\([^/][^/]*\)\/*$/{
139            /^X\/\(\/\/\)$/{ s//\1/; q; }              s//\1/
140            /^X\/\(\/\).*/{ s//\1/; q; }              q
141            s/.*/./; q'`            }
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    
 # PATH needs CR, and LINENO needs CR and PATH.  
 # Avoid depending upon Character Ranges.  
 as_cr_letters='abcdefghijklmnopqrstuvwxyz'  
 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'  
 as_cr_Letters=$as_cr_letters$as_cr_LETTERS  
 as_cr_digits='0123456789'  
 as_cr_alnum=$as_cr_Letters$as_cr_digits  
155    
156  # The user is always right.  if test "x$CONFIG_SHELL" = x; then
157  if test "${PATH_SEPARATOR+set}" != set; then    if (eval ":") 2>/dev/null; then
158    echo "#! /bin/sh" >conf$$.sh    as_have_required=yes
159    echo  "exit 0"   >>conf$$.sh  else
160    chmod +x conf$$.sh    as_have_required=no
161    if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then  fi
162      PATH_SEPARATOR=';'  
163    else    if test $as_have_required = yes &&     (eval ":
164      PATH_SEPARATOR=:  (as_func_return () {
165    fi    (exit \$1)
166    rm -f conf$$.sh  }
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  fi
187    
188    if as_func_failure; then
189      exitcode=1
190      echo as_func_failure succeeded.
191    fi
192    
193    as_lineno_1=$LINENO  if as_func_ret_success; then
194    as_lineno_2=$LINENO    :
195    as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`  else
196    test "x$as_lineno_1" != "x$as_lineno_2" &&    exitcode=1
197    test "x$as_lineno_3"  = "x$as_lineno_2"  || {    echo as_func_ret_success failed.
198    # Find who we are.  Look in the path if we contain no path at all  fi
   # relative or not.  
   case $0 in  
     *[\\/]* ) as_myself=$0 ;;  
     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break  
 done  
199    
200         ;;  if as_func_ret_failure; then
201    esac    exitcode=1
202    # We did not find ourselves, most probably we were run as `sh COMMAND'    echo as_func_ret_failure succeeded.
203    # in which case we are not to be found in the path.  fi
204    if test "x$as_myself" = x; then  
205      as_myself=$0  if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206    fi    :
207    if test ! -f "$as_myself"; then  else
208      { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2    exitcode=1
209     { (exit 1); exit 1; }; }    echo positional parameters were not saved.
210    fi  fi
211    case $CONFIG_SHELL in  
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      as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224  for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH  for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225  do  do
226    IFS=$as_save_IFS    IFS=$as_save_IFS
227    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
228    for as_base in sh bash ksh sh5; do    case $as_dir in
          case $as_dir in  
229           /*)           /*)
230             if ("$as_dir/$as_base" -c '             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    as_lineno_1=$LINENO
331    as_lineno_2=$LINENO    as_lineno_2=$LINENO
   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`  
332    test "x$as_lineno_1" != "x$as_lineno_2" &&    test "x$as_lineno_1" != "x$as_lineno_2" &&
333    test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then    test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334               $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }  
335               $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }  _ASEOF
336               CONFIG_SHELL=$as_dir/$as_base  }; then
337               export CONFIG_SHELL    break
338               exec "$CONFIG_SHELL" "$0" ${1+"$@"}  fi
339             fi;;  
340           esac  fi
341         done  
342  done        done
343  ;;  
344    esac        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    # 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    # uniformly replaced by the line number.  The first 'sed' inserts a
432    # line-number line before each line; the second 'sed' does the real    # line-number line after each line using $LINENO; the second 'sed'
433    # work.  The second script uses 'N' to pair each line-number line    # does the real work.  The second script uses 'N' to pair each
434    # with the numbered line, and appends trailing '-' during    # line-number line with the line containing $LINENO, and appends
435    # substitution so that $LINENO is not a special case at line end.    # 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    # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438    # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)    # scripts with optimization help from Paolo Bonzini.  Blame Lee
439    sed '=' <$as_myself |    # E. McMahon (1931-1989) for sed's syntax.  :-)
440      sed -n '
441        p
442        /[$]LINENO/=
443      ' <$as_myself |
444      sed '      sed '
445          s/[$]LINENO.*/&-/
446          t lineno
447          b
448          :lineno
449        N        N
450        s,$,-,        :loop
451        : loop        s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,  
452        t loop        t loop
453        s,-$,,        s/-\n.*//
       s,^['$as_cr_digits']*\n,,  
454      ' >$as_me.lineno &&      ' >$as_me.lineno &&
455    chmod +x $as_me.lineno ||    chmod +x "$as_me.lineno" ||
456      { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2      { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
458    
459    # Don't try to exec as it changes $[0], causing all sort of problems    # 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    # (the dirname of $[0] is not the place where we might find the
461    # original and so on.  Autoconf is especially sensible to this).    # original and so on.  Autoconf is especially sensitive to this).
462    . ./$as_me.lineno    . "./$as_me.lineno"
463    # Exit status is that of the last command.    # Exit status is that of the last command.
464    exit    exit
465  }  }
466    
467    
468  case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in  if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469    *c*,-n*) ECHO_N= ECHO_C='    as_dirname=dirname
470  ' ECHO_T='      ' ;;  else
471    *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;    as_dirname=false
472    *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;  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  esac
484    
485  if expr a : '\(a\)' >/dev/null 2>&1; then  if expr a : '\(a\)' >/dev/null 2>&1 &&
486       test "X`expr 00001 : '.*\(...\)'`" = X001; then
487    as_expr=expr    as_expr=expr
488  else  else
489    as_expr=false    as_expr=false
490  fi  fi
491    
492  rm -f conf$$ conf$$.exe conf$$.file  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  echo >conf$$.file
500  if ln -s conf$$.file conf$$ 2>/dev/null; then  if ln -s conf$$.file conf$$ 2>/dev/null; then
501    # We could just check for DJGPP; but this test a) works b) is more generic    as_ln_s='ln -s'
502    # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).    # ... but there are two gotchas:
503    if test -f conf$$.exe; then    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504      # Don't use ln at all; we don't have any links    # 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'      as_ln_s='cp -p'
   else  
     as_ln_s='ln -s'  
   fi  
508  elif ln conf$$.file conf$$ 2>/dev/null; then  elif ln conf$$.file conf$$ 2>/dev/null; then
509    as_ln_s=ln    as_ln_s=ln
510  else  else
511    as_ln_s='cp -p'    as_ln_s='cp -p'
512  fi  fi
513  rm -f conf$$ conf$$.exe conf$$.file  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  if mkdir -p . 2>/dev/null; then
517    as_mkdir_p=:    as_mkdir_p=:
518  else  else
519      test -d ./-p && rmdir ./-p
520    as_mkdir_p=false    as_mkdir_p=false
521  fi  fi
522    
523  as_executable_p="test -f"  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.  # Sed expression to map a string onto a valid CPP name.
547  as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"  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.  # Sed expression to map a string onto a valid variable name.
550  as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   
551    
 # IFS  
 # We need space, tab and new line, in precisely that order.  
 as_nl='  
 '  
 IFS="   $as_nl"  
552    
 # CDPATH.  
 $as_unset CDPATH  
553    
554    exec 7<&0 </dev/null 6>&1
555    
556  # Name of the host.  # Name of the host.
557  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558  # so uname gets run too.  # so uname gets run too.
559  ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`  ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560    
 exec 6>&1  
   
561  #  #
562  # Initializations.  # Initializations.
563  #  #
564  ac_default_prefix=/usr/local  ac_default_prefix=/usr/local
565    ac_clean_files=
566  ac_config_libobj_dir=.  ac_config_libobj_dir=.
567    LIBOBJS=
568  cross_compiling=no  cross_compiling=no
569  subdirs=  subdirs=
570  MFLAGS=  MFLAGS=
571  MAKEFLAGS=  MAKEFLAGS=
572  SHELL=${CONFIG_SHELL-/bin/sh}  SHELL=${CONFIG_SHELL-/bin/sh}
573    
 # Maximum number of lines to put in a shell here document.  
 # This variable seems obsolete.  It should probably be removed, and  
 # only ac_max_sed_lines should be used.  
 : ${ac_max_here_lines=38}  
   
574  # Identity of this package.  # Identity of this package.
575  PACKAGE_NAME=  PACKAGE_NAME='cvsgraph'
576  PACKAGE_TARNAME=  PACKAGE_TARNAME='cvsgraph'
577  PACKAGE_VERSION=  PACKAGE_VERSION='1.7.0'
578  PACKAGE_STRING=  PACKAGE_STRING='cvsgraph 1.7.0'
579  PACKAGE_BUGREPORT=  PACKAGE_BUGREPORT='cvsgraph@akhphd.au.dk'
580    
581  ac_unique_file="cvsgraph.c"  ac_unique_file="README"
582  # Factoring default headers for most tests.  # Factoring default headers for most tests.
583  ac_includes_default="\  ac_includes_default="\
584  #include <stdio.h>  #include <stdio.h>
585  #if HAVE_SYS_TYPES_H  #ifdef HAVE_SYS_TYPES_H
586  # include <sys/types.h>  # include <sys/types.h>
587  #endif  #endif
588  #if HAVE_SYS_STAT_H  #ifdef HAVE_SYS_STAT_H
589  # include <sys/stat.h>  # include <sys/stat.h>
590  #endif  #endif
591  #if STDC_HEADERS  #ifdef STDC_HEADERS
592  # include <stdlib.h>  # include <stdlib.h>
593  # include <stddef.h>  # include <stddef.h>
594  #else  #else
595  # if HAVE_STDLIB_H  # ifdef HAVE_STDLIB_H
596  #  include <stdlib.h>  #  include <stdlib.h>
597  # endif  # endif
598  #endif  #endif
599  #if HAVE_STRING_H  #ifdef HAVE_STRING_H
600  # if !STDC_HEADERS && HAVE_MEMORY_H  # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601  #  include <memory.h>  #  include <memory.h>
602  # endif  # endif
603  # include <string.h>  # include <string.h>
604  #endif  #endif
605  #if HAVE_STRINGS_H  #ifdef HAVE_STRINGS_H
606  # include <strings.h>  # include <strings.h>
607  #endif  #endif
608  #if HAVE_INTTYPES_H  #ifdef HAVE_INTTYPES_H
609  # include <inttypes.h>  # include <inttypes.h>
 #else  
 # if HAVE_STDINT_H  
 #  include <stdint.h>  
 # endif  
610  #endif  #endif
611  #if HAVE_UNISTD_H  #ifdef HAVE_STDINT_H
612    # include <stdint.h>
613    #endif
614    #ifdef HAVE_UNISTD_H
615  # include <unistd.h>  # include <unistd.h>
616  #endif"  #endif"
617    
618  ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LEX LEXLIB LEX_OUTPUT_ROOT YACC CPP EGREP LEXFLAGS INTTYPE LIBOBJS LTLIBOBJS'  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=''  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=  ac_init_help=
# Line 336  Line 744 
744  # and all the variables that are supposed to be based on exec_prefix  # and all the variables that are supposed to be based on exec_prefix
745  # by default will actually change.  # by default will actually change.
746  # Use braces instead of parens because sh, perl, etc. also accept them.  # 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    dvidir='${docdir}'
762    pdfdir='${docdir}'
763    psdir='${docdir}'
764    libdir='${exec_prefix}/lib'
765    localedir='${datarootdir}/locale'
766    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    ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`    case $ac_option in
780      *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
781      *)    ac_optarg=yes ;;
782      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 ;;
# Line 385  Line 807 
807    --config-cache | -C)    --config-cache | -C)
808      cache_file=config.cache ;;      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=*)
   | --da=*)  
813      datadir=$ac_optarg ;;      datadir=$ac_optarg ;;
814    
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=`expr "x$ac_option" : 'x-*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      expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&      expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
826        { echo "$as_me: error: invalid feature name: $ac_feature" >&2        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
827     { (exit 1); exit 1; }; }     { (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=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`      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      expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&      expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
845        { echo "$as_me: error: invalid feature name: $ac_feature" >&2        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
846     { (exit 1); exit 1; }; }     { (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=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;  
       *) 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 438  Line 872 
872    -host=* | --host=* | --hos=* | --ho=*)    -host=* | --host=* | --hos=* | --ho=*)
873      host_alias=$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 ;;
# Line 462  Line 902 
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=*)
   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)  
915      localstatedir=$ac_optarg ;;      localstatedir=$ac_optarg ;;
916    
917    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
# Line 533  Line 976 
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)
991      silent=yes ;;      silent=yes ;;
# Line 585  Line 1038 
1038    -with-* | --with-*)    -with-* | --with-*)
1039      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`      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      expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&      expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1042        { echo "$as_me: error: invalid package name: $ac_package" >&2        { echo "$as_me: error: invalid package name: $ac_package" >&2
1043     { (exit 1); exit 1; }; }     { (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=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;  
       *) ac_optarg=yes ;;  
     esac  
     eval "with_$ac_package='$ac_optarg'" ;;  
1046    
1047    -without-* | --without-*)    -without-* | --without-*)
1048      ac_package=`expr "x$ac_option" : 'x-*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      expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&      expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1051        { echo "$as_me: error: invalid package name: $ac_package" >&2        { echo "$as_me: error: invalid package name: $ac_package" >&2
1052     { (exit 1); exit 1; }; }     { (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 633  Line 1082 
1082      expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&      expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1083        { echo "$as_me: error: invalid variable name: $ac_envvar" >&2        { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1084     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1085      ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`      eval $ac_envvar=\$ac_optarg
     eval "$ac_envvar='$ac_optarg'"  
1086      export $ac_envvar ;;      export $ac_envvar ;;
1087    
1088    *)    *)
# Line 654  Line 1102 
1102     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1103  fi  fi
1104    
1105  # Be sure to have absolute paths.  # Be sure to have absolute directory names.
1106  for ac_var in exec_prefix prefix  for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1107  do                  datadir sysconfdir sharedstatedir localstatedir includedir \
1108    eval ac_val=$`echo $ac_var`                  oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1109    case $ac_val in                  libdir localedir mandir
     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;  
     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2  
    { (exit 1); exit 1; }; };;  
   esac  
 done  
   
 # Be sure to have absolute paths.  
 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \  
               localstatedir libdir includedir oldincludedir infodir mandir  
1110  do  do
1111    eval ac_val=$`echo $ac_var`    eval ac_val=\$$ac_var
1112    case $ac_val in    case $ac_val in
1113      [\\/$]* | ?:[\\/]* ) ;;      [\\/$]* | ?:[\\/]* )  continue;;
1114      *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    { (exit 1); exit 1; }; };;  
1115    esac    esac
1116      { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1117       { (exit 1); exit 1; }; }
1118  done  done
1119    
1120  # There might be people who depend on the old broken behavior: `$host'  # There might be people who depend on the old broken behavior: `$host'
# Line 701  Line 1141 
1141  test "$silent" = yes && exec 6>/dev/null  test "$silent" = yes && exec 6>/dev/null
1142    
1143    
1144    ac_pwd=`pwd` && test -n "$ac_pwd" &&
1145    ac_ls_di=`ls -di .` &&
1146    ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1147      { echo "$as_me: error: Working directory cannot be determined" >&2
1148       { (exit 1); exit 1; }; }
1149    test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1150      { echo "$as_me: error: pwd does not report name of working directory" >&2
1151       { (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_confdir=`(dirname "$0") 2>/dev/null ||    ac_confdir=`$as_dirname -- "$0" ||
1159  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1160           X"$0" : 'X\(//\)[^/]' \| \           X"$0" : 'X\(//\)[^/]' \| \
1161           X"$0" : 'X\(//\)$' \| \           X"$0" : 'X\(//\)$' \| \
1162           X"$0" : 'X\(/\)' \| \           X"$0" : 'X\(/\)' \| . 2>/dev/null ||
          .     : '\(.\)' 2>/dev/null ||  
1163  echo X"$0" |  echo X"$0" |
1164      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1165            /^X\(\/\/\)[^/].*/{ s//\1/; q; }              s//\1/
1166            /^X\(\/\/\)$/{ s//\1/; q; }              q
1167            /^X\(\/\).*/{ s//\1/; q; }            }
1168            s/.*/./; q'`            /^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 "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    { (exit 1); exit 1; }; }  
   else  
     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2  
1191     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
   fi  
1192  fi  fi
1193  (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1194    { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2  ac_abs_confdir=`(
1195            cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1196     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1197  srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`          pwd)`
1198  ac_env_build_alias_set=${build_alias+set}  # When building in place, set srcdir=.
1199  ac_env_build_alias_value=$build_alias  if test "$ac_abs_confdir" = "$ac_pwd"; then
1200  ac_cv_env_build_alias_set=${build_alias+set}    srcdir=.
1201  ac_cv_env_build_alias_value=$build_alias  fi
1202  ac_env_host_alias_set=${host_alias+set}  # Remove unnecessary trailing slashes from srcdir.
1203  ac_env_host_alias_value=$host_alias  # Double slashes in file names in object file debugging info
1204  ac_cv_env_host_alias_set=${host_alias+set}  # mess up M-x gdb in Emacs.
1205  ac_cv_env_host_alias_value=$host_alias  case $srcdir in
1206  ac_env_target_alias_set=${target_alias+set}  */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1207  ac_env_target_alias_value=$target_alias  esac
1208  ac_cv_env_target_alias_set=${target_alias+set}  for ac_var in $ac_precious_vars; do
1209  ac_cv_env_target_alias_value=$target_alias    eval ac_env_${ac_var}_set=\${${ac_var}+set}
1210  ac_env_CC_set=${CC+set}    eval ac_env_${ac_var}_value=\$${ac_var}
1211  ac_env_CC_value=$CC    eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1212  ac_cv_env_CC_set=${CC+set}    eval ac_cv_env_${ac_var}_value=\$${ac_var}
1213  ac_cv_env_CC_value=$CC  done
 ac_env_CFLAGS_set=${CFLAGS+set}  
 ac_env_CFLAGS_value=$CFLAGS  
 ac_cv_env_CFLAGS_set=${CFLAGS+set}  
 ac_cv_env_CFLAGS_value=$CFLAGS  
 ac_env_LDFLAGS_set=${LDFLAGS+set}  
 ac_env_LDFLAGS_value=$LDFLAGS  
 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}  
 ac_cv_env_LDFLAGS_value=$LDFLAGS  
 ac_env_CPPFLAGS_set=${CPPFLAGS+set}  
 ac_env_CPPFLAGS_value=$CPPFLAGS  
 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}  
 ac_cv_env_CPPFLAGS_value=$CPPFLAGS  
 ac_env_CPP_set=${CPP+set}  
 ac_env_CPP_value=$CPP  
 ac_cv_env_CPP_set=${CPP+set}  
 ac_cv_env_CPP_value=$CPP  
1214    
1215  #  #
1216  # Report the --help message.  # Report the --help message.
# Line 777  Line 1219 
1219    # Omit some internal or obsolete options to make the list less imposing.    # Omit some internal or obsolete options to make the list less imposing.
1220    # This message is too long to be a string in the A/UX 3.1 sh.    # This message is too long to be a string in the A/UX 3.1 sh.
1221    cat <<_ACEOF    cat <<_ACEOF
1222  \`configure' configures this package to adapt to many kinds of systems.  \`configure' configures cvsgraph 1.7.0 to adapt to many kinds of systems.
1223    
1224  Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
1225    
# Line 797  Line 1239 
1239    -n, --no-create         do not create output files    -n, --no-create         do not create output files
1240        --srcdir=DIR        find the sources in DIR [configure dir or \`..']        --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1241    
 _ACEOF  
   
   cat <<_ACEOF  
1242  Installation directories:  Installation directories:
1243    --prefix=PREFIX         install architecture-independent files in PREFIX    --prefix=PREFIX         install architecture-independent files in PREFIX
1244                            [$ac_default_prefix]                            [$ac_default_prefix]
1245    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1246                            [PREFIX]                            [PREFIX]
1247    
1248  By default, \`make install' will install all the files in  By default, \`make install' will install all the files in
1249  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
# Line 817  Line 1256 
1256    --bindir=DIR           user executables [EPREFIX/bin]    --bindir=DIR           user executables [EPREFIX/bin]
1257    --sbindir=DIR          system admin executables [EPREFIX/sbin]    --sbindir=DIR          system admin executables [EPREFIX/sbin]
1258    --libexecdir=DIR       program executables [EPREFIX/libexec]    --libexecdir=DIR       program executables [EPREFIX/libexec]
   --datadir=DIR          read-only architecture-independent data [PREFIX/share]  
1259    --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]    --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1260    --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]    --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1261    --localstatedir=DIR    modifiable single-machine data [PREFIX/var]    --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1262    --libdir=DIR           object code libraries [EPREFIX/lib]    --libdir=DIR           object code libraries [EPREFIX/lib]
1263    --includedir=DIR       C header files [PREFIX/include]    --includedir=DIR       C header files [PREFIX/include]
1264    --oldincludedir=DIR    C header files for non-gcc [/usr/include]    --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1265    --infodir=DIR          info documentation [PREFIX/info]    --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1266    --mandir=DIR           man documentation [PREFIX/man]    --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  _ACEOF
1276    
1277    cat <<\_ACEOF    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  _ACEOF
1284  fi  fi
1285    
1286  if test -n "$ac_init_help"; then  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    cat <<\_ACEOF
1291    
1292  Optional Features:  Optional Features:
1293    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1294    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1295    --disable-speed         Turn off lex table optimization reducing speed and size of executable    --disable-dependency-tracking  speeds up one-time build
1296      --enable-dependency-tracking   do not reject slow dependency extractors
1297    
1298  Optional Packages:  Optional Packages:
1299    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1300    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1301    --with-gd-inc=DIR       location of the gd includes    --with-gd(=DIR)         use the gd library (in DIR)
   --with-gd-lib=DIR       location of the gd library  
   --with-freetype-lib=DIR    location of freetype library  
   --with-freetype2-lib=DIR    location of freetype2 library  
   --with-png-inc=DIR      location of png includes  
   --with-png-lib=DIR      location of png library  
   --with-jpeg-inc=DIR    location of jpeg includes  
   --with-jpeg-lib=DIR    location of jpeg library  
   --with-z-inc=DIR        location of zlib includes  
   --with-z-lib=DIR        location of zlib library  
1302    
1303  Some influential environment variables:  Some influential environment variables:
1304    CC          C compiler command    CC          C compiler command
1305    CFLAGS      C compiler flags    CFLAGS      C compiler flags
1306    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1307                nonstandard directory <lib dir>                nonstandard directory <lib dir>
1308    CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have    LIBS        libraries to pass to the linker, e.g. -l<library>
1309                headers in a nonstandard directory <include dir>    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    CPP         C preprocessor
1317    
1318  Use these variables to override the choices made by `configure' or to help  Use these variables to override the choices made by `configure' or to help
1319  it to find libraries and programs with nonstandard names/locations.  it to find libraries and programs with nonstandard names/locations.
1320    
1321    Report bugs to <cvsgraph@akhphd.au.dk>.
1322  _ACEOF  _ACEOF
1323    ac_status=$?
1324  fi  fi
1325    
1326  if test "$ac_init_help" = "recursive"; then  if test "$ac_init_help" = "recursive"; then
1327    # If there are subdirs, report their specific --help.    # If there are subdirs, report their specific --help.
   ac_popdir=`pwd`  
1328    for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue    for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1329      test -d $ac_dir || continue      test -d "$ac_dir" || continue
1330      ac_builddir=.      ac_builddir=.
1331    
1332  if test "$ac_dir" != .; then  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,^\.[\\/],,'`    ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1336    # A "../" for each directory in $ac_dir_suffix.    # A ".." for each directory in $ac_dir_suffix.
1337    ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`    ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1338  else    case $ac_top_builddir_sub in
1339    ac_dir_suffix= ac_top_builddir=    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1340  fi    *)  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  case $srcdir in
1349    .)  # No --srcdir option.  We are building in place.    .)  # We are building in place.
1350      ac_srcdir=.      ac_srcdir=.
1351      if test -z "$ac_top_builddir"; then      ac_top_srcdir=$ac_top_builddir_sub
1352         ac_top_srcdir=.      ac_abs_top_srcdir=$ac_pwd ;;
1353      else    [\\/]* | ?:[\\/]* )  # Absolute name.
        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`  
     fi ;;  
   [\\/]* | ?:[\\/]* )  # Absolute path.  
1354      ac_srcdir=$srcdir$ac_dir_suffix;      ac_srcdir=$srcdir$ac_dir_suffix;
1355      ac_top_srcdir=$srcdir ;;      ac_top_srcdir=$srcdir
1356    *) # Relative path.      ac_abs_top_srcdir=$srcdir ;;
1357      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix    *) # Relative name.
1358      ac_top_srcdir=$ac_top_builddir$srcdir ;;      ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1359  esac      ac_top_srcdir=$ac_top_build_prefix$srcdir
1360  # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be      ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1361  # absolute.  esac
1362  ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1363  ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`  
1364  ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`      cd "$ac_dir" || { ac_status=$?; continue; }
1365  ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`      # Check for guested configure.
1366        if test -f "$ac_srcdir/configure.gnu"; then
1367      cd $ac_dir        echo &&
1368      # Check for guested configure; otherwise get Cygnus style configure.        $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1369      if test -f $ac_srcdir/configure.gnu; then      elif test -f "$ac_srcdir/configure"; then
1370        echo        echo &&
1371        $SHELL $ac_srcdir/configure.gnu  --help=recursive        $SHELL "$ac_srcdir/configure" --help=recursive
     elif test -f $ac_srcdir/configure; then  
       echo  
       $SHELL $ac_srcdir/configure  --help=recursive  
     elif test -f $ac_srcdir/configure.ac ||  
            test -f $ac_srcdir/configure.in; then  
       echo  
       $ac_configure --help  
1372      else      else
1373        echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2        echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1374      fi      fi || ac_status=$?
1375      cd $ac_popdir      cd "$ac_pwd" || { ac_status=$?; break; }
1376    done    done
1377  fi  fi
1378    
1379  test -n "$ac_init_help" && exit 0  test -n "$ac_init_help" && exit $ac_status
1380  if $ac_init_version; then  if $ac_init_version; then
1381    cat <<\_ACEOF    cat <<\_ACEOF
1382    cvsgraph configure 1.7.0
1383    generated by GNU Autoconf 2.61
1384    
1385  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1386  Free Software Foundation, Inc.  2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1387  This configure script is free software; the Free Software Foundation  This configure script is free software; the Free Software Foundation
1388  gives unlimited permission to copy, distribute and modify it.  gives unlimited permission to copy, distribute and modify it.
1389  _ACEOF  _ACEOF
1390    exit 0    exit
1391  fi  fi
1392  exec 5>config.log  cat >config.log <<_ACEOF
 cat >&5 <<_ACEOF  
1393  This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
1394  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
1395    
1396  It was created by $as_me, which was  It was created by cvsgraph $as_me 1.7.0, which was
1397  generated by GNU Autoconf 2.57.  Invocation command line was  generated by GNU Autoconf 2.61.  Invocation command line was
1398    
1399    $ $0 $@    $ $0 $@
1400    
1401  _ACEOF  _ACEOF
1402    exec 5>>config.log
1403  {  {
1404  cat <<_ASUNAME  cat <<_ASUNAME
1405  ## --------- ##  ## --------- ##
# Line 966  Line 1418 
1418  /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`  /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1419  /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`  /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`  /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1421  hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`  /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1422  /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`  /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1423  /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`  /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1424  /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`  /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
# Line 980  Line 1432 
1432    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
1433    echo "PATH: $as_dir"    echo "PATH: $as_dir"
1434  done  done
1435    IFS=$as_save_IFS
1436    
1437  } >&5  } >&5
1438    
# Line 1001  Line 1454 
1454  ac_configure_args=  ac_configure_args=
1455  ac_configure_args0=  ac_configure_args0=
1456  ac_configure_args1=  ac_configure_args1=
 ac_sep=  
1457  ac_must_keep_next=false  ac_must_keep_next=false
1458  for ac_pass in 1 2  for ac_pass in 1 2
1459  do  do
# Line 1012  Line 1464 
1464      -q | -quiet | --quiet | --quie | --qui | --qu | --q \      -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1465      | -silent | --silent | --silen | --sile | --sil)      | -silent | --silent | --silen | --sile | --sil)
1466        continue ;;        continue ;;
1467      *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)      *\'*)
1468        ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;        ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1469      esac      esac
1470      case $ac_pass in      case $ac_pass in
# Line 1020  Line 1472 
1472      2)      2)
1473        ac_configure_args1="$ac_configure_args1 '$ac_arg'"        ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1474        if test $ac_must_keep_next = true; then        if test $ac_must_keep_next = true; then
1475          ac_must_keep_next=false # Got value, back to normal.          ac_must_keep_next=false # Got value, back to normal.
1476        else        else
1477          case $ac_arg in          case $ac_arg in
1478            *=* | --config-cache | -C | -disable-* | --disable-* \            *=* | --config-cache | -C | -disable-* | --disable-* \
1479            | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \            | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1480            | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \            | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1481            | -with-* | --with-* | -without-* | --without-* | --x)            | -with-* | --with-* | -without-* | --without-* | --x)
1482              case "$ac_configure_args0 " in              case "$ac_configure_args0 " in
1483                "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;                "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1484              esac              esac
1485              ;;              ;;
1486            -* ) ac_must_keep_next=true ;;            -* ) ac_must_keep_next=true ;;
1487          esac          esac
1488        fi        fi
1489        ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"        ac_configure_args="$ac_configure_args '$ac_arg'"
       # Get rid of the leading space.  
       ac_sep=" "  
1490        ;;        ;;
1491      esac      esac
1492    done    done
# Line 1047  Line 1497 
1497  # When interrupted or exit'd, cleanup temporary files, and complete  # When interrupted or exit'd, cleanup temporary files, and complete
1498  # config.log.  We remove comments because anyway the quotes in there  # config.log.  We remove comments because anyway the quotes in there
1499  # would cause problems or look ugly.  # would cause problems or look ugly.
1500  # WARNING: Be sure not to use single quotes in there, as some shells,  # WARNING: Use '\'' to represent an apostrophe within the trap.
1501  # such as our DU 5.0 friend, will then `close' the trap.  # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1502  trap 'exit_status=$?  trap 'exit_status=$?
1503    # Save into config.log some information that might help in debugging.    # Save into config.log some information that might help in debugging.
1504    {    {
# Line 1061  Line 1511 
1511  _ASBOX  _ASBOX
1512      echo      echo
1513      # The following way of writing the cache mishandles newlines in values,      # 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 |    (set) 2>&1 |
1530      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in      case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1531      *ac_space=\ *)      *${as_nl}ac_space=\ *)
1532        sed -n \        sed -n \
1533          "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;          "s/'\''/'\''\\\\'\'''\''/g;
1534            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1535        ;;        ;; #(
1536      *)      *)
1537        sed -n \        sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"  
1538        ;;        ;;
1539      esac;      esac |
1540  }      sort
1541    )
1542      echo      echo
1543    
1544      cat <<\_ASBOX      cat <<\_ASBOX
# Line 1085  Line 1549 
1549      echo      echo
1550      for ac_var in $ac_subst_vars      for ac_var in $ac_subst_vars
1551      do      do
1552        eval ac_val=$`echo $ac_var`        eval ac_val=\$$ac_var
1553        echo "$ac_var='"'"'$ac_val'"'"'"        case $ac_val in
1554          *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1555          esac
1556          echo "$ac_var='\''$ac_val'\''"
1557      done | sort      done | sort
1558      echo      echo
1559    
1560      if test -n "$ac_subst_files"; then      if test -n "$ac_subst_files"; then
1561        cat <<\_ASBOX        cat <<\_ASBOX
1562  ## ------------- ##  ## ------------------- ##
1563  ## Output files. ##  ## File substitutions. ##
1564  ## ------------- ##  ## ------------------- ##
1565  _ASBOX  _ASBOX
1566        echo        echo
1567        for ac_var in $ac_subst_files        for ac_var in $ac_subst_files
1568        do        do
1569          eval ac_val=$`echo $ac_var`          eval ac_val=\$$ac_var
1570          echo "$ac_var='"'"'$ac_val'"'"'"          case $ac_val in
1571            *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1572            esac
1573            echo "$ac_var='\''$ac_val'\''"
1574        done | sort        done | sort
1575        echo        echo
1576      fi      fi
# Line 1112  Line 1582 
1582  ## ----------- ##  ## ----------- ##
1583  _ASBOX  _ASBOX
1584        echo        echo
1585        sed "/^$/d" confdefs.h | sort        cat confdefs.h
1586        echo        echo
1587      fi      fi
1588      test "$ac_signal" != 0 &&      test "$ac_signal" != 0 &&
1589        echo "$as_me: caught signal $ac_signal"        echo "$as_me: caught signal $ac_signal"
1590      echo "$as_me: exit $exit_status"      echo "$as_me: exit $exit_status"
1591    } >&5    } >&5
1592    rm -f core core.* *.core &&    rm -f core *.core core.conftest.* &&
1593    rm -rf conftest* confdefs* conf$$* $ac_clean_files &&      rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1594      exit $exit_status      exit $exit_status
1595       ' 0  ' 0
1596  for ac_signal in 1 2 13 15; do  for ac_signal in 1 2 13 15; do
1597    trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal    trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1598  done  done
1599  ac_signal=0  ac_signal=0
1600    
1601  # confdefs.h avoids OS command line length limits that DEFS can exceed.  # confdefs.h avoids OS command line length limits that DEFS can exceed.
1602  rm -rf conftest* confdefs.h  rm -f -r conftest* confdefs.h
 # AIX cpp loses on an empty file, so make sure it contains at least a newline.  
 echo >confdefs.h  
1603    
1604  # Predefined preprocessor variables.  # Predefined preprocessor variables.
1605    
# Line 1162  Line 1630 
1630    
1631  # Let the site file select an alternate cache file if it wants to.  # Let the site file select an alternate cache file if it wants to.
1632  # Prefer explicitly selected file to automatically selected ones.  # Prefer explicitly selected file to automatically selected ones.
1633  if test -z "$CONFIG_SITE"; then  if test -n "$CONFIG_SITE"; then
1634    if test "x$prefix" != xNONE; then    set x "$CONFIG_SITE"
1635      CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"  elif test "x$prefix" != xNONE; then
1636    else    set x "$prefix/share/config.site" "$prefix/etc/config.site"
1637      CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"  else
1638    fi    set x "$ac_default_prefix/share/config.site" \
1639            "$ac_default_prefix/etc/config.site"
1640  fi  fi
1641  for ac_site_file in $CONFIG_SITE; do  shift
1642    for ac_site_file
1643    do
1644    if test -r "$ac_site_file"; then    if test -r "$ac_site_file"; then
1645      { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5      { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1646  echo "$as_me: loading site script $ac_site_file" >&6;}  echo "$as_me: loading site script $ac_site_file" >&6;}
# Line 1185  Line 1656 
1656      { echo "$as_me:$LINENO: loading cache $cache_file" >&5      { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1657  echo "$as_me: loading cache $cache_file" >&6;}  echo "$as_me: loading cache $cache_file" >&6;}
1658      case $cache_file in      case $cache_file in
1659        [\\/]* | ?:[\\/]* ) . $cache_file;;        [\\/]* | ?:[\\/]* ) . "$cache_file";;
1660        *)                      . ./$cache_file;;        *)                      . "./$cache_file";;
1661      esac      esac
1662    fi    fi
1663  else  else
# Line 1198  Line 1669 
1669  # Check that the precious variables saved in the cache have kept the same  # Check that the precious variables saved in the cache have kept the same
1670  # value.  # value.
1671  ac_cache_corrupted=false  ac_cache_corrupted=false
1672  for ac_var in `(set) 2>&1 |  for ac_var in $ac_precious_vars; do
                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do  
1673    eval ac_old_set=\$ac_cv_env_${ac_var}_set    eval ac_old_set=\$ac_cv_env_${ac_var}_set
1674    eval ac_new_set=\$ac_env_${ac_var}_set    eval ac_new_set=\$ac_env_${ac_var}_set
1675    eval ac_old_val="\$ac_cv_env_${ac_var}_value"    eval ac_old_val=\$ac_cv_env_${ac_var}_value
1676    eval ac_new_val="\$ac_env_${ac_var}_value"    eval ac_new_val=\$ac_env_${ac_var}_value
1677    case $ac_old_set,$ac_new_set in    case $ac_old_set,$ac_new_set in
1678      set,)      set,)
1679        { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5        { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
# Line 1216  Line 1686 
1686      ,);;      ,);;
1687      *)      *)
1688        if test "x$ac_old_val" != "x$ac_new_val"; then        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          { 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;}  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1691          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1692  echo "$as_me:   former value:  $ac_old_val" >&2;}  echo "$as_me:   former value:  $ac_old_val" >&2;}
1693          { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5          { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1694  echo "$as_me:   current value: $ac_new_val" >&2;}  echo "$as_me:   current value: $ac_new_val" >&2;}
1695          ac_cache_corrupted=:          ac_cache_corrupted=:
1696        fi;;        fi;;
1697    esac    esac
1698    # Pass precious variables to config.status.    # Pass precious variables to config.status.
1699    if test "$ac_new_set" = set; then    if test "$ac_new_set" = set; then
1700      case $ac_new_val in      case $ac_new_val in
1701      *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)      *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;  
1702      *) ac_arg=$ac_var=$ac_new_val ;;      *) ac_arg=$ac_var=$ac_new_val ;;
1703      esac      esac
1704      case " $ac_configure_args " in      case " $ac_configure_args " in
# Line 1246  Line 1715 
1715     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1716  fi  fi
1717    
 ac_ext=c  
 ac_cpp='$CPP $CPPFLAGS'  
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  
 ac_compiler_gnu=$ac_cv_c_compiler_gnu  
1718    
1719    
1720    
# Line 1270  Line 1734 
1734    
1735    
1736    
1737            ac_config_headers="$ac_config_headers config.h"  
1738    
1739    
1740    
1741    
1742  ac_ext=c  ac_ext=c
# Line 1278  Line 1744 
1744  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  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'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1746  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1747  if test -n "$ac_tool_prefix"; then  
1748    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.  
1749  set dummy ${ac_tool_prefix}gcc; ac_word=$2  am__api_version='1.10'
1750  echo "$as_me:$LINENO: checking for $ac_word" >&5  
1751  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  ac_aux_dir=
1752  if test "${ac_cv_prog_CC+set}" = set; then  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    echo $ECHO_N "(cached) $ECHO_C" >&6
1800  else  else
1801    if test -n "$CC"; then    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1802    ac_cv_prog_CC="$CC" # Let the user override the test.  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  else
1993  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1994  for as_dir in $PATH  for as_dir in $PATH
# Line 1295  Line 1996 
1996    IFS=$as_save_IFS    IFS=$as_save_IFS
1997    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
1998    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
1999    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    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_CC="${ac_tool_prefix}gcc"      ac_cv_prog_AWK="$ac_prog"
2001      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2002      break 2      break 2
2003    fi    fi
2004  done  done
2005  done  done
2006    IFS=$as_save_IFS
2007    
2008  fi  fi
2009  fi  fi
2010  CC=$ac_cv_prog_CC  AWK=$ac_cv_prog_AWK
2011  if test -n "$CC"; then  if test -n "$AWK"; then
2012    echo "$as_me:$LINENO: result: $CC" >&5    { echo "$as_me:$LINENO: result: $AWK" >&5
2013  echo "${ECHO_T}$CC" >&6  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  else
2029    echo "$as_me:$LINENO: result: no" >&5    cat >conftest.make <<\_ACEOF
2030  echo "${ECHO_T}no" >&6  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  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  fi
2082  if test -z "$ac_cv_prog_CC"; then  
2083    ac_ct_CC=$CC  
2084    # Extract the first word of "gcc", so it can be a program name with args.  # Define the identity of the package.
2085  set dummy gcc; ac_word=$2   PACKAGE='cvsgraph'
2086  echo "$as_me:$LINENO: checking for $ac_word" >&5   VERSION='1.7.0'
2087  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  
2088  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  
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    echo $ECHO_N "(cached) $ECHO_C" >&6
2128  else  else
2129    if test -n "$ac_ct_CC"; then    if test -n "$STRIP"; then
2130    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.    ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2131  else  else
2132  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2133  for as_dir in $PATH  for as_dir in $PATH
# Line 1333  Line 2135 
2135    IFS=$as_save_IFS    IFS=$as_save_IFS
2136    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2137    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2138    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    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_ac_ct_CC="gcc"      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2140      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2141      break 2      break 2
2142    fi    fi
2143  done  done
2144  done  done
2145    IFS=$as_save_IFS
2146    
2147  fi  fi
2148  fi  fi
2149  ac_ct_CC=$ac_cv_prog_ac_ct_CC  STRIP=$ac_cv_prog_STRIP
2150  if test -n "$ac_ct_CC"; then  if test -n "$STRIP"; then
2151    echo "$as_me:$LINENO: result: $ac_ct_CC" >&5    { echo "$as_me:$LINENO: result: $STRIP" >&5
2152  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$STRIP" >&6; }
2153  else  else
2154    echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2155  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6; }
2156  fi  fi
2157    
2158    CC=$ac_ct_CC  
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  else
2169    CC="$ac_cv_prog_CC"    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  fi
2197    
2198  if test -z "$CC"; then    if test "x$ac_ct_STRIP" = x; then
2199    if test -n "$ac_tool_prefix"; then      STRIP=":"
2200    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.    else
2201  set dummy ${ac_tool_prefix}cc; ac_word=$2      case $cross_compiling:$ac_tool_warned in
2202  echo "$as_me:$LINENO: checking for $ac_word" >&5  yes:)
2203  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  { 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  if test "${ac_cv_prog_CC+set}" = set; then
2254    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2255  else  else
# Line 1375  Line 2262 
2262    IFS=$as_save_IFS    IFS=$as_save_IFS
2263    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2264    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2265    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    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}cc"      ac_cv_prog_CC="${ac_tool_prefix}gcc"
2267      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2268      break 2      break 2
2269    fi    fi
2270  done  done
2271  done  done
2272    IFS=$as_save_IFS
2273    
2274  fi  fi
2275  fi  fi
2276  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2277  if test -n "$CC"; then  if test -n "$CC"; then
2278    echo "$as_me:$LINENO: result: $CC" >&5    { echo "$as_me:$LINENO: result: $CC" >&5
2279  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6; }
2280  else  else
2281    echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2282  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6; }
2283  fi  fi
2284    
2285    
2286  fi  fi
2287  if test -z "$ac_cv_prog_CC"; then  if test -z "$ac_cv_prog_CC"; then
2288    ac_ct_CC=$CC    ac_ct_CC=$CC
2289    # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "gcc", so it can be a program name with args.
2290  set dummy cc; ac_word=$2  set dummy gcc; ac_word=$2
2291  echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2292  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2293  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2294    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2295  else  else
# Line 1413  Line 2302 
2302    IFS=$as_save_IFS    IFS=$as_save_IFS
2303    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2304    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2305    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    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="cc"      ac_cv_prog_ac_ct_CC="gcc"
2307      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2308      break 2      break 2
2309    fi    fi
2310  done  done
2311  done  done
2312    IFS=$as_save_IFS
2313    
2314  fi  fi
2315  fi  fi
2316  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2317  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2318    echo "$as_me:$LINENO: result: $ac_ct_CC" >&5    { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2319  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6; }
2320  else  else
2321    echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2322  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6; }
2323  fi  fi
2324    
2325    CC=$ac_ct_CC    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  else
2341    CC="$ac_cv_prog_CC"    CC="$ac_cv_prog_CC"
2342  fi  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  fi
2385  if test -z "$CC"; then  if test -z "$CC"; then
2386    # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "cc", so it can be a program name with args.
2387  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
2388  echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2389  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2390  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2391    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2392  else  else
# Line 1456  Line 2400 
2400    IFS=$as_save_IFS    IFS=$as_save_IFS
2401    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2402    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2403    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    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      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2405         ac_prog_rejected=yes         ac_prog_rejected=yes
2406         continue         continue
# Line 1467  Line 2411 
2411    fi    fi
2412  done  done
2413  done  done
2414    IFS=$as_save_IFS
2415    
2416  if test $ac_prog_rejected = yes; then  if test $ac_prog_rejected = yes; then
2417    # We found a bogon in the path, so make sure we never use it.    # We found a bogon in the path, so make sure we never use it.
# Line 1484  Line 2429 
2429  fi  fi
2430  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2431  if test -n "$CC"; then  if test -n "$CC"; then
2432    echo "$as_me:$LINENO: result: $CC" >&5    { echo "$as_me:$LINENO: result: $CC" >&5
2433  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6; }
2434  else  else
2435    echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2436  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6; }
2437  fi  fi
2438    
2439    
2440  fi  fi
2441  if test -z "$CC"; then  if test -z "$CC"; then
2442    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
2443    for ac_prog in cl    for ac_prog in cl.exe
2444    do    do
2445      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2446  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2447  echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2448  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2449  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2450    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2451  else  else
# Line 1512  Line 2458 
2458    IFS=$as_save_IFS    IFS=$as_save_IFS
2459    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2460    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2461    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    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"      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2463      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2464      break 2      break 2
2465    fi    fi
2466  done  done
2467  done  done
2468    IFS=$as_save_IFS
2469    
2470  fi  fi
2471  fi  fi
2472  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2473  if test -n "$CC"; then  if test -n "$CC"; then
2474    echo "$as_me:$LINENO: result: $CC" >&5    { echo "$as_me:$LINENO: result: $CC" >&5
2475  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6; }
2476  else  else
2477    echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2478  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6; }
2479  fi  fi
2480    
2481    
2482      test -n "$CC" && break      test -n "$CC" && break
2483    done    done
2484  fi  fi
2485  if test -z "$CC"; then  if test -z "$CC"; then
2486    ac_ct_CC=$CC    ac_ct_CC=$CC
2487    for ac_prog in cl    for ac_prog in cl.exe
2488  do  do
2489    # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
2490  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2491  echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2492  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2493  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2494    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2495  else  else
# Line 1554  Line 2502 
2502    IFS=$as_save_IFS    IFS=$as_save_IFS
2503    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2504    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2505    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    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"      ac_cv_prog_ac_ct_CC="$ac_prog"
2507      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2508      break 2      break 2
2509    fi    fi
2510  done  done
2511  done  done
2512    IFS=$as_save_IFS
2513    
2514  fi  fi
2515  fi  fi
2516  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2517  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2518    echo "$as_me:$LINENO: result: $ac_ct_CC" >&5    { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2519  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6; }
2520  else  else
2521    echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2522  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6; }
2523  fi  fi
2524    
2525    
2526    test -n "$ac_ct_CC" && break    test -n "$ac_ct_CC" && break
2527  done  done
2528    
2529    CC=$ac_ct_CC    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  fi
2545    
2546  fi  fi
# Line 1589  Line 2553 
2553     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2554    
2555  # Provide some information about the compiler.  # Provide some information about the compiler.
2556  echo "$as_me:$LINENO:" \  echo "$as_me:$LINENO: checking for C compiler version" >&5
      "checking for C compiler version" >&5  
2557  ac_compiler=`set X $ac_compile; echo $2`  ac_compiler=`set X $ac_compile; echo $2`
2558  { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5  { (ac_try="$ac_compiler --version >&5"
2559    (eval $ac_compiler --version </dev/null >&5) 2>&5  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=$?    ac_status=$?
2566    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2567    (exit $ac_status); }    (exit $ac_status); }
2568  { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5  { (ac_try="$ac_compiler -v >&5"
2569    (eval $ac_compiler -v </dev/null >&5) 2>&5  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=$?    ac_status=$?
2576    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577    (exit $ac_status); }    (exit $ac_status); }
2578  { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5  { (ac_try="$ac_compiler -V >&5"
2579    (eval $ac_compiler -V </dev/null >&5) 2>&5  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=$?    ac_status=$?
2586    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587    (exit $ac_status); }    (exit $ac_status); }
2588    
2589  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2590  /* confdefs.h.  */  /* confdefs.h.  */
2591  _ACEOF  _ACEOF
2592  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 1629  Line 2606 
2606  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
2607  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
2608  # of exeext.  # of exeext.
2609  echo "$as_me:$LINENO: checking for C compiler default output" >&5  { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2610  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6  echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2611  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2612  if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5  #
2613    (eval $ac_link_default) 2>&5  # 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=$?    ac_status=$?
2639    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640    (exit $ac_status); }; then    (exit $ac_status); }; then
2641    # Find the output, starting from the most likely.  This scheme is    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2642  # not robust to junk in `.', hence go to wildcards (a.*) only as a last  # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2643  # resort.  # 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  # Be careful to initialize this variable, since it used to be cached.  # Autoconf.
2646  # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.  for ac_file in $ac_files ''
 ac_cv_exeext=  
 # b.out is created by i960 compilers.  
 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out  
2647  do  do
2648    test -f "$ac_file" || continue    test -f "$ac_file" || continue
2649    case $ac_file in    case $ac_file in
2650      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2651          ;;          ;;
     conftest.$ac_ext )  
         # This is the source file.  
         ;;  
2652      [ab].out )      [ab].out )
2653          # We found the default executable, but exeext='' is most          # We found the default executable, but exeext='' is most
2654          # certainly right.          # certainly right.
2655          break;;          break;;
2656      *.* )      *.* )
2657          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`          if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2658          # FIXME: I believe we export ac_cv_exeext for Libtool,          then :; else
2659          # but it would be cool to find out if it's true.  Does anybody             ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2660          # maintain Libtool? --akim.          fi
2661          export ac_cv_exeext          # We set ac_cv_exeext here because the later test for it is not
2662          break;;          # 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;;          break;;
2669    esac    esac
2670  done  done
2671    test "$ac_cv_exeext" = no && ac_cv_exeext=
2672    
2673  else  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    echo "$as_me: failed program was:" >&5
2681  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2682    
# Line 1681  Line 2688 
2688  fi  fi
2689    
2690  ac_exeext=$ac_cv_exeext  ac_exeext=$ac_cv_exeext
 echo "$as_me:$LINENO: result: $ac_file" >&5  
 echo "${ECHO_T}$ac_file" >&6  
2691    
2692  # Check the compiler produces executables we can run.  If not, either  # Check that the compiler produces executables we can run.  If not, either
2693  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2694  echo "$as_me:$LINENO: checking whether the C compiler works" >&5  { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2695  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6  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  # 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.  # If not cross compiling, check that we can run a simple program.
2698  if test "$cross_compiling" != yes; then  if test "$cross_compiling" != yes; then
2699    if { ac_try='./$ac_file'    if { ac_try='./$ac_file'
2700    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (case "(($ac_try" in
2701    (eval $ac_try) 2>&5    *\"* | *\`* | *\\*) 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=$?    ac_status=$?
2707    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
# Line 1712  Line 2721 
2721      fi      fi
2722    fi    fi
2723  fi  fi
2724  echo "$as_me:$LINENO: result: yes" >&5  { echo "$as_me:$LINENO: result: yes" >&5
2725  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6; }
2726    
2727  rm -f a.out a.exe conftest$ac_cv_exeext b.out  rm -f a.out a.exe conftest$ac_cv_exeext b.out
2728  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
2729  # Check the compiler produces executables we can run.  If not, either  # Check that the compiler produces executables we can run.  If not, either
2730  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2731  echo "$as_me:$LINENO: checking whether we are cross compiling" >&5  { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2732  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2733  echo "$as_me:$LINENO: result: $cross_compiling" >&5  { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2734  echo "${ECHO_T}$cross_compiling" >&6  echo "${ECHO_T}$cross_compiling" >&6; }
2735    
2736  echo "$as_me:$LINENO: checking for suffix of executables" >&5  { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2737  echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6  echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2738  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (ac_try="$ac_link"
2739    (eval $ac_link) 2>&5  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=$?    ac_status=$?
2746    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747    (exit $ac_status); }; then    (exit $ac_status); }; then
# Line 1738  Line 2752 
2752  for ac_file in conftest.exe conftest conftest.*; do  for ac_file in conftest.exe conftest conftest.*; do
2753    test -f "$ac_file" || continue    test -f "$ac_file" || continue
2754    case $ac_file in    case $ac_file in
2755      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2756      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2757            export ac_cv_exeext            break;;
           break;;  
2758      * ) break;;      * ) break;;
2759    esac    esac
2760  done  done
# Line 1754  Line 2767 
2767  fi  fi
2768    
2769  rm -f conftest$ac_cv_exeext  rm -f conftest$ac_cv_exeext
2770  echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5  { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2771  echo "${ECHO_T}$ac_cv_exeext" >&6  echo "${ECHO_T}$ac_cv_exeext" >&6; }
2772    
2773  rm -f conftest.$ac_ext  rm -f conftest.$ac_ext
2774  EXEEXT=$ac_cv_exeext  EXEEXT=$ac_cv_exeext
2775  ac_exeext=$EXEEXT  ac_exeext=$EXEEXT
2776  echo "$as_me:$LINENO: checking for suffix of object files" >&5  { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2777  echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6  echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2778  if test "${ac_cv_objext+set}" = set; then  if test "${ac_cv_objext+set}" = set; then
2779    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2780  else  else
2781    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2782  /* confdefs.h.  */  /* confdefs.h.  */
2783  _ACEOF  _ACEOF
2784  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 1782  Line 2794 
2794  }  }
2795  _ACEOF  _ACEOF
2796  rm -f conftest.o conftest.obj  rm -f conftest.o conftest.obj
2797  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (ac_try="$ac_compile"
2798    (eval $ac_compile) 2>&5  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=$?    ac_status=$?
2805    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806    (exit $ac_status); }; then    (exit $ac_status); }; then
2807    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do    for ac_file in conftest.o conftest.obj conftest.*; do
2808      test -f "$ac_file" || continue;
2809    case $ac_file in    case $ac_file in
2810      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2811      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2812         break;;         break;;
2813    esac    esac
# Line 1807  Line 2825 
2825    
2826  rm -f conftest.$ac_cv_objext conftest.$ac_ext  rm -f conftest.$ac_cv_objext conftest.$ac_ext
2827  fi  fi
2828  echo "$as_me:$LINENO: result: $ac_cv_objext" >&5  { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2829  echo "${ECHO_T}$ac_cv_objext" >&6  echo "${ECHO_T}$ac_cv_objext" >&6; }
2830  OBJEXT=$ac_cv_objext  OBJEXT=$ac_cv_objext
2831  ac_objext=$OBJEXT  ac_objext=$OBJEXT
2832  echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5  { 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  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  if test "${ac_cv_c_compiler_gnu+set}" = set; then
2835    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2836  else  else
2837    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2838  /* confdefs.h.  */  /* confdefs.h.  */
2839  _ACEOF  _ACEOF
2840  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 1836  Line 2853 
2853  }  }
2854  _ACEOF  _ACEOF
2855  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2856  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (ac_try="$ac_compile"
2857    (eval $ac_compile) 2>&5  case "(($ac_try" in
2858    ac_status=$?    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2859    echo "$as_me:$LINENO: \$? = $ac_status" >&5    *) ac_try_echo=$ac_try;;
2860    (exit $ac_status); } &&  esac
2861           { ac_try='test -s conftest.$ac_objext'  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2862    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    (eval "$ac_compile") 2>conftest.er1
   (eval $ac_try) 2>&5  
2863    ac_status=$?    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    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868    (exit $ac_status); }; }; then    (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    ac_compiler_gnu=yes
2873  else  else
2874    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2875  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2876    
2877  ac_compiler_gnu=no          ac_compiler_gnu=no
2878  fi  fi
2879  rm -f conftest.$ac_objext conftest.$ac_ext  
2880    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2881  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2882    
2883  fi  fi
2884  echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5  { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2885  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2886  GCC=`test $ac_compiler_gnu = yes && echo yes`  GCC=`test $ac_compiler_gnu = yes && echo yes`
2887  ac_test_CFLAGS=${CFLAGS+set}  ac_test_CFLAGS=${CFLAGS+set}
2888  ac_save_CFLAGS=$CFLAGS  ac_save_CFLAGS=$CFLAGS
2889  CFLAGS="-g"  { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2890  echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6  
2891  if test "${ac_cv_prog_cc_g+set}" = set; then  if test "${ac_cv_prog_cc_g+set}" = set; then
2892    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2893  else  else
2894    cat >conftest.$ac_ext <<_ACEOF    ac_save_c_werror_flag=$ac_c_werror_flag
2895  #line $LINENO "configure"     ac_c_werror_flag=yes
2896       ac_cv_prog_cc_g=no
2897       CFLAGS="-g"
2898       cat >conftest.$ac_ext <<_ACEOF
2899  /* confdefs.h.  */  /* confdefs.h.  */
2900  _ACEOF  _ACEOF
2901  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 1886  Line 2911 
2911  }  }
2912  _ACEOF  _ACEOF
2913  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2914  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (ac_try="$ac_compile"
2915    (eval $ac_compile) 2>&5  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=$?    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    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926    (exit $ac_status); } &&    (exit $ac_status); } && {
2927           { ac_try='test -s conftest.$ac_objext'           test -z "$ac_c_werror_flag" ||
2928    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5           test ! -s conftest.err
2929    (eval $ac_try) 2>&5         } && 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=$?    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    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964    (exit $ac_status); }; }; then    (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    ac_cv_prog_cc_g=yes
3008  else  else
3009    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3010  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3011    
3012  ac_cv_prog_cc_g=no  
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  fi
3020  rm -f conftest.$ac_objext conftest.$ac_ext  
3021    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3022       ac_c_werror_flag=$ac_save_c_werror_flag
3023  fi  fi
3024  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5  { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3025  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3026  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
3027    CFLAGS=$ac_save_CFLAGS    CFLAGS=$ac_save_CFLAGS
3028  elif test $ac_cv_prog_cc_g = yes; then  elif test $ac_cv_prog_cc_g = yes; then
# Line 1923  Line 3038 
3038      CFLAGS=      CFLAGS=
3039    fi    fi
3040  fi  fi
3041  echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5  { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3042  echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6  echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3043  if test "${ac_cv_prog_cc_stdc+set}" = set; then  if test "${ac_cv_prog_cc_c89+set}" = set; then
3044    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3045  else  else
3046    ac_cv_prog_cc_stdc=no    ac_cv_prog_cc_c89=no
3047  ac_save_CC=$CC  ac_save_CC=$CC
3048  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3049  /* confdefs.h.  */  /* confdefs.h.  */
3050  _ACEOF  _ACEOF
3051  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 1959  Line 3073 
3073    va_end (v);    va_end (v);
3074    return s;    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);  int test (int i, double x);
3092  struct s1 {int (*f) (int a);};  struct s1 {int (*f) (int a);};
3093  struct s2 {int (*f) (double a);};  struct s2 {int (*f) (double a);};
# Line 1973  Line 3102 
3102    return 0;    return 0;
3103  }  }
3104  _ACEOF  _ACEOF
3105  # Don't try gcc -ansi; that turns off useful extensions and  for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3106  # breaks some systems' header files.          -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 # AIX                   -qlanglvl=ansi  
 # Ultrix and OSF/1      -std1  
 # HP-UX 10.20 and later -Ae  
 # HP-UX older versions  -Aa -D_HPUX_SOURCE  
 # SVR4                  -Xc -D__EXTENSIONS__  
 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"  
3107  do  do
3108    CC="$ac_save_CC $ac_arg"    CC="$ac_save_CC $ac_arg"
3109    rm -f conftest.$ac_objext    rm -f conftest.$ac_objext
3110  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (ac_try="$ac_compile"
3111    (eval $ac_compile) 2>&5  case "(($ac_try" in
3112    ac_status=$?    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3113    echo "$as_me:$LINENO: \$? = $ac_status" >&5    *) ac_try_echo=$ac_try;;
3114    (exit $ac_status); } &&  esac
3115           { ac_try='test -s conftest.$ac_objext'  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3116    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    (eval "$ac_compile") 2>conftest.er1
   (eval $ac_try) 2>&5  
3117    ac_status=$?    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    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122    (exit $ac_status); }; }; then    (exit $ac_status); } && {
3123    ac_cv_prog_cc_stdc=$ac_arg           test -z "$ac_c_werror_flag" ||
3124  break           test ! -s conftest.err
3125           } && test -s conftest.$ac_objext; then
3126      ac_cv_prog_cc_c89=$ac_arg
3127  else  else
3128    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3129  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3130    
3131    
3132  fi  fi
3133  rm -f conftest.$ac_objext  
3134    rm -f core conftest.err conftest.$ac_objext
3135      test "x$ac_cv_prog_cc_c89" != "xno" && break
3136  done  done
3137  rm -f conftest.$ac_ext conftest.$ac_objext  rm -f conftest.$ac_ext
3138  CC=$ac_save_CC  CC=$ac_save_CC
3139    
3140  fi  fi
3141    # AC_CACHE_VAL
3142  case "x$ac_cv_prog_cc_stdc" in  case "x$ac_cv_prog_cc_c89" in
3143    x|xno)    x)
3144      echo "$as_me:$LINENO: result: none needed" >&5      { echo "$as_me:$LINENO: result: none needed" >&5
3145  echo "${ECHO_T}none needed" >&6 ;;  echo "${ECHO_T}none needed" >&6; } ;;
3146      xno)
3147        { echo "$as_me:$LINENO: result: unsupported" >&5
3148    echo "${ECHO_T}unsupported" >&6; } ;;
3149    *)    *)
3150      echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5      CC="$CC $ac_cv_prog_cc_c89"
3151  echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6      { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3152      CC="$CC $ac_cv_prog_cc_stdc" ;;  echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3153  esac  esac
3154    
 # Some people use a C++ compiler to compile C.  Since we use `exit',  
 # in C++ we need to declare it.  In case someone uses the same compiler  
 # for both compiling C and C++ we need to have the C++ compiler decide  
 # the declaration of exit, since it's the most demanding environment.  
 cat >conftest.$ac_ext <<_ACEOF  
 #ifndef __cplusplus  
   choke me  
 #endif  
 _ACEOF  
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -s conftest.$ac_objext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   for ac_declaration in \  
    ''\  
    '#include <stdlib.h>' \  
    'extern "C" void std::exit (int) throw (); using std::exit;' \  
    'extern "C" void std::exit (int); using std::exit;' \  
    'extern "C" void exit (int) throw ();' \  
    'extern "C" void exit (int);' \  
    'void exit (int);'  
 do  
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #include <stdlib.h>  
 $ac_declaration  
 int  
 main ()  
 {  
 exit (42);  
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -s conftest.$ac_objext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   :  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
3155    
3156  continue  ac_ext=c
3157  fi  ac_cpp='$CPP $CPPFLAGS'
3158  rm -f conftest.$ac_objext conftest.$ac_ext  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3159    cat >conftest.$ac_ext <<_ACEOF  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3160  #line $LINENO "configure"  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3161  /* confdefs.h.  */  DEPDIR="${am__leading_dot}deps"
3162  _ACEOF  
3163  cat confdefs.h >>conftest.$ac_ext  ac_config_commands="$ac_config_commands depfiles"
3164  cat >>conftest.$ac_ext <<_ACEOF  
3165  /* end confdefs.h.  */  
3166  $ac_declaration  am_make=${MAKE-make}
3167  int  cat > confinc << 'END'
3168  main ()  am__doit:
3169  {          @echo done
3170  exit (42);  .PHONY: am__doit
3171    ;  END
3172    return 0;  # 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  _ACEOF  echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3175  rm -f conftest.$ac_objext  am__include="#"
3176  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  am__quote=
3177    (eval $ac_compile) 2>&5  _am_result=none
3178    ac_status=$?  # First try GNU make style include.
3179    echo "$as_me:$LINENO: \$? = $ac_status" >&5  echo "include confinc" > confmf
3180    (exit $ac_status); } &&  # We grep out `Entering directory' and `Leaving directory'
3181           { ac_try='test -s conftest.$ac_objext'  # messages which can occur if `w' ends up in MAKEFLAGS.
3182    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  # In particular we don't look at `^make:' because GNU make might
3183    (eval $ac_try) 2>&5  # be invoked under some other name (usually "gmake"), in which
3184    ac_status=$?  # case it prints its new name instead of `make'.
3185    echo "$as_me:$LINENO: \$? = $ac_status" >&5  if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3186    (exit $ac_status); }; }; then     am__include=include
3187    break     am__quote=
3188  else     _am_result=GNU
3189    echo "$as_me: failed program was:" >&5  fi
3190  sed 's/^/| /' conftest.$ac_ext >&5  # 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  fi
3315  rm -f conftest.$ac_objext conftest.$ac_ext  
 done  
 rm -f conftest*  
 if test -n "$ac_declaration"; then  
   echo '#ifdef __cplusplus' >>confdefs.h  
   echo $ac_declaration      >>confdefs.h  
   echo '#endif'             >>confdefs.h  
3316  fi  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  else
3327    echo "$as_me: failed program was:" >&5    am__fastdepCC_TRUE='#'
3328  sed 's/^/| /' conftest.$ac_ext >&5    am__fastdepCC_FALSE=
   
3329  fi  fi
3330  rm -f conftest.$ac_objext conftest.$ac_ext  
 ac_ext=c  
 ac_cpp='$CPP $CPPFLAGS'  
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  
 ac_compiler_gnu=$ac_cv_c_compiler_gnu  
3331    
3332    
3333  for ac_prog in flex lex  for ac_prog in flex lex
3334  do  do
3335    # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
3336  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
3337  echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
3338  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3339  if test "${ac_cv_prog_LEX+set}" = set; then  if test "${ac_cv_prog_LEX+set}" = set; then
3340    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3341  else  else
# Line 2160  Line 3348 
3348    IFS=$as_save_IFS    IFS=$as_save_IFS
3349    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
3350    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
3351    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    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"      ac_cv_prog_LEX="$ac_prog"
3353      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3354      break 2      break 2
3355    fi    fi
3356  done  done
3357  done  done
3358    IFS=$as_save_IFS
3359    
3360  fi  fi
3361  fi  fi
3362  LEX=$ac_cv_prog_LEX  LEX=$ac_cv_prog_LEX
3363  if test -n "$LEX"; then  if test -n "$LEX"; then
3364    echo "$as_me:$LINENO: result: $LEX" >&5    { echo "$as_me:$LINENO: result: $LEX" >&5
3365  echo "${ECHO_T}$LEX" >&6  echo "${ECHO_T}$LEX" >&6; }
3366  else  else
3367    echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
3368  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6; }
3369  fi  fi
3370    
3371    
3372    test -n "$LEX" && break    test -n "$LEX" && break
3373  done  done
3374  test -n "$LEX" || LEX=":"  test -n "$LEX" || LEX=":"
3375    
3376  if test -z "$LEXLIB"  if test "x$LEX" != "x:"; then
3377  then    cat >conftest.l <<_ACEOF
3378    echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5  %%
3379  echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6  a { ECHO; }
3380  if test "${ac_cv_lib_fl_yywrap+set}" = set; then  b { REJECT; }
3381    echo $ECHO_N "(cached) $ECHO_C" >&6  c { yymore (); }
3382  else  d { yyless (1); }
3383    ac_check_lib_save_LIBS=$LIBS  e { yyless (input () != 0); }
3384  LIBS="-lfl  $LIBS"  f { unput (yytext[0]); }
3385  cat >conftest.$ac_ext <<_ACEOF  . { BEGIN INITIAL; }
3386  #line $LINENO "configure"  %%
3387  /* confdefs.h.  */  #ifdef YYTEXT_POINTER
3388  _ACEOF  extern char *yytext;
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
   
 /* Override any gcc2 internal prototype to avoid an error.  */  
 #ifdef __cplusplus  
 extern "C"  
3389  #endif  #endif
 /* We use char because int might match the return type of a gcc2  
    builtin and then its argument prototype would still apply.  */  
 char yywrap ();  
3390  int  int
3391  main ()  main (void)
3392  {  {
3393  yywrap ();    return ! yylex () + ! yywrap ();
   ;  
   return 0;  
3394  }  }
3395  _ACEOF  _ACEOF
3396  rm -f conftest.$ac_objext conftest$ac_exeext  { (ac_try="$LEX conftest.l"
3397  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  case "(($ac_try" in
3398    (eval $ac_link) 2>&5    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3399    ac_status=$?    *) ac_try_echo=$ac_try;;
3400    echo "$as_me:$LINENO: \$? = $ac_status" >&5  esac
3401    (exit $ac_status); } &&  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3402           { ac_try='test -s conftest$ac_exeext'    (eval "$LEX conftest.l") 2>&5
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
3403    ac_status=$?    ac_status=$?
3404    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405    (exit $ac_status); }; }; then    (exit $ac_status); }
3406    ac_cv_lib_fl_yywrap=yes  { 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  else
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
3411    
3412  ac_cv_lib_fl_yywrap=no  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  fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  
 LIBS=$ac_check_lib_save_LIBS  
3421  fi  fi
3422  echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5  { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3423  echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6  echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
3424  if test $ac_cv_lib_fl_yywrap = yes; then  LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3425    LEXLIB="-lfl"  
3426  else  if test -z "${LEXLIB+set}"; then
3427    echo "$as_me:$LINENO: checking for yywrap in -ll" >&5    { echo "$as_me:$LINENO: checking lex library" >&5
3428  echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6  echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
3429  if test "${ac_cv_lib_l_yywrap+set}" = set; then  if test "${ac_cv_lib_lex+set}" = set; then
3430    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3431  else  else
   ac_check_lib_save_LIBS=$LIBS  
 LIBS="-ll  $LIBS"  
 cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
3432    
3433  /* Override any gcc2 internal prototype to avoid an error.  */      ac_save_LIBS=$LIBS
3434  #ifdef __cplusplus      ac_cv_lib_lex='none needed'
3435  extern "C"      for ac_lib in '' -lfl -ll; do
3436  #endif        LIBS="$ac_lib $ac_save_LIBS"
3437  /* We use char because int might match the return type of a gcc2        cat >conftest.$ac_ext <<_ACEOF
3438     builtin and then its argument prototype would still apply.  */  `cat $LEX_OUTPUT_ROOT.c`
 char yywrap ();  
 int  
 main ()  
 {  
 yywrap ();  
   ;  
   return 0;  
 }  
3439  _ACEOF  _ACEOF
3440  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3441  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (ac_try="$ac_link"
3442    (eval $ac_link) 2>&5  case "(($ac_try" in
3443    ac_status=$?    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3444    echo "$as_me:$LINENO: \$? = $ac_status" >&5    *) ac_try_echo=$ac_try;;
3445    (exit $ac_status); } &&  esac
3446           { ac_try='test -s conftest$ac_exeext'  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3447    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    (eval "$ac_link") 2>conftest.er1
   (eval $ac_try) 2>&5  
3448    ac_status=$?    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    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453    (exit $ac_status); }; }; then    (exit $ac_status); } && {
3454    ac_cv_lib_l_yywrap=yes           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  else
3460    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3461  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3462    
 ac_cv_lib_l_yywrap=no  
 fi  
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  
 LIBS=$ac_check_lib_save_LIBS  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5  
 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6  
 if test $ac_cv_lib_l_yywrap = yes; then  
   LEXLIB="-ll"  
 fi  
3463    
3464  fi  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  fi
3477    
3478  if test "x$LEX" != "x:"; then  
3479    echo "$as_me:$LINENO: checking lex output file root" >&5  { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3480  echo $ECHO_N "checking lex output file root... $ECHO_C" >&6  echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
3481  if test "${ac_cv_prog_lex_root+set}" = set; then  if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   # The minimal lex program is just a single line: %%.  But some broken lexes  
 # (Solaris, I think it was) want two %% lines, so accommodate them.  
 cat >conftest.l <<_ACEOF  
 %%  
 %%  
 _ACEOF  
 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5  
   (eval $LEX conftest.l) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }  
 if test -f lex.yy.c; then  
   ac_cv_prog_lex_root=lex.yy  
 elif test -f lexyy.c; then  
   ac_cv_prog_lex_root=lexyy  
 else  
   { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5  
 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}  
    { (exit 1); exit 1; }; }  
 fi  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5  
 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6  
 rm -f conftest.l  
 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root  
   
 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5  
 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6  
 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then  
3482    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3483  else  else
3484    # POSIX says lex can declare yytext either as a pointer or an array; the    # 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  # default is implementation-dependent.  Figure out which it is, since
3486  # not all implementations provide the %pointer and %array declarations.  # not all implementations provide the %pointer and %array declarations.
3487  ac_cv_prog_lex_yytext_pointer=no  ac_cv_prog_lex_yytext_pointer=no
 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c  
3488  ac_save_LIBS=$LIBS  ac_save_LIBS=$LIBS
3489  LIBS="$LIBS $LEXLIB"  LIBS="$LEXLIB $ac_save_LIBS"
3490  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3491    #define YYTEXT_POINTER 1
3492  `cat $LEX_OUTPUT_ROOT.c`  `cat $LEX_OUTPUT_ROOT.c`
3493  _ACEOF  _ACEOF
3494  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3495  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (ac_try="$ac_link"
3496    (eval $ac_link) 2>&5  case "(($ac_try" in
3497    ac_status=$?    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3498    echo "$as_me:$LINENO: \$? = $ac_status" >&5    *) ac_try_echo=$ac_try;;
3499    (exit $ac_status); } &&  esac
3500           { ac_try='test -s conftest$ac_exeext'  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3501    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    (eval "$ac_link") 2>conftest.er1
   (eval $ac_try) 2>&5  
3502    ac_status=$?    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    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507    (exit $ac_status); }; }; then    (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    ac_cv_prog_lex_yytext_pointer=yes
3513  else  else
3514    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3515  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3516    
3517    
3518  fi  fi
3519  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  
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  LIBS=$ac_save_LIBS
 rm -f "${LEX_OUTPUT_ROOT}.c"  
3523    
3524  fi  fi
3525  echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5  { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3526  echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6  echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
3527  if test $ac_cv_prog_lex_yytext_pointer = yes; then  if test $ac_cv_prog_lex_yytext_pointer = yes; then
3528    
3529  cat >>confdefs.h <<\_ACEOF  cat >>confdefs.h <<\_ACEOF
# Line 2383  Line 3531 
3531  _ACEOF  _ACEOF
3532    
3533  fi  fi
3534    rm -f conftest.l $LEX_OUTPUT_ROOT.c
3535    
3536  fi  fi
3537  for ac_prog in 'bison -y' byacc  for ac_prog in 'bison -y' byacc
3538  do  do
3539    # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
3540  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
3541  echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
3542  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3543  if test "${ac_cv_prog_YACC+set}" = set; then  if test "${ac_cv_prog_YACC+set}" = set; then
3544    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3545  else  else
# Line 2403  Line 3552 
3552    IFS=$as_save_IFS    IFS=$as_save_IFS
3553    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
3554    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
3555    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3556      ac_cv_prog_YACC="$ac_prog"      ac_cv_prog_YACC="$ac_prog"
3557      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3558      break 2      break 2
3559    fi    fi
3560  done  done
3561  done  done
3562    IFS=$as_save_IFS
3563    
3564  fi  fi
3565  fi  fi
3566  YACC=$ac_cv_prog_YACC  YACC=$ac_cv_prog_YACC
3567  if test -n "$YACC"; then  if test -n "$YACC"; then
3568    echo "$as_me:$LINENO: result: $YACC" >&5    { echo "$as_me:$LINENO: result: $YACC" >&5
3569  echo "${ECHO_T}$YACC" >&6  echo "${ECHO_T}$YACC" >&6; }
3570  else  else
3571    echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
3572  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6; }
3573  fi  fi
3574    
3575    
3576    test -n "$YACC" && break    test -n "$YACC" && break
3577  done  done
3578  test -n "$YACC" || YACC="yacc"  test -n "$YACC" || YACC="yacc"
3579    
3580    # Extract the first word of "pkg-config", so it can be a program name with args.
3581    set dummy pkg-config; ac_word=$2
3582    { echo "$as_me:$LINENO: checking for $ac_word" >&5
3583    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3584    if test "${ac_cv_path_ac_prog_pkg_config+set}" = set; then
3585      echo $ECHO_N "(cached) $ECHO_C" >&6
3586    else
3587      case $ac_prog_pkg_config in
3588      [\\/]* | ?:[\\/]*)
3589      ac_cv_path_ac_prog_pkg_config="$ac_prog_pkg_config" # Let the user override the test with a path.
3590      ;;
3591      *)
3592      as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3593    for as_dir in $PATH
3594    do
3595      IFS=$as_save_IFS
3596      test -z "$as_dir" && as_dir=.
3597      for ac_exec_ext in '' $ac_executable_extensions; do
3598      if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3599        ac_cv_path_ac_prog_pkg_config="$as_dir/$ac_word$ac_exec_ext"
3600        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3601        break 2
3602      fi
3603    done
3604    done
3605    IFS=$as_save_IFS
3606    
3607  LEXFLAGS="-8"    ;;
3608  LEXSPEED="-Cf"  esac
3609  INCL=""  fi
3610    ac_prog_pkg_config=$ac_cv_path_ac_prog_pkg_config
3611    if test -n "$ac_prog_pkg_config"; then
3612  # Check whether --with-gd-inc or --without-gd-inc was given.    { echo "$as_me:$LINENO: result: $ac_prog_pkg_config" >&5
3613  if test "${with_gd_inc+set}" = set; then  echo "${ECHO_T}$ac_prog_pkg_config" >&6; }
3614    withval="$with_gd_inc"  else
3615    INCL="${INCL} -I${withval}"    { echo "$as_me:$LINENO: result: no" >&5
3616    echo "${ECHO_T}no" >&6; }
3617  fi;  fi
   
   
 # Check whether --with-gd-lib or --without-gd-lib was given.  
 if test "${with_gd_lib+set}" = set; then  
   withval="$with_gd_lib"  
   LIBS="${LIBS} -L${withval}"  
   
 fi;  
   
 LIBS="$LIBS -lgd"  
 LIBPATH=""  
   
   
 # Check whether --with-freetype-lib or --without-freetype-lib was given.  
 if test "${with_freetype_lib+set}" = set; then  
   withval="$with_freetype_lib"  
   LIBS="${LIBS} -L${withval}"  
   
 fi;  
   
   
 # Check whether --with-freetype2-lib or --without-freetype2-lib was given.  
 if test "${with_freetype2_lib+set}" = set; then  
   withval="$with_freetype2_lib"  
   LIBS="${LIBS} -L${withval}"  
   
 fi;  
   
   
 # Check whether --with-png-inc or --without-png-inc was given.  
 if test "${with_png_inc+set}" = set; then  
   withval="$with_png_inc"  
   INCL="${INCL} -I${withval}"  
   
 fi;  
   
   
 # Check whether --with-png-lib or --without-png-lib was given.  
 if test "${with_png_lib+set}" = set; then  
   withval="$with_png_lib"  
   LIBS="${LIBS} -L${withval}"  
   
 fi;  
   
   
 # Check whether --with-jpeg-inc or --without-jpeg-inc was given.  
 if test "${with_jpeg_inc+set}" = set; then  
   withval="$with_jpeg_inc"  
   INCL="${INCL} -I${withval}"  
   
 fi;  
   
   
 # Check whether --with-jpeg-lib or --without-jpeg-lib was given.  
 if test "${with_jpeg_lib+set}" = set; then  
   withval="$with_jpeg_lib"  
   LIBS="${LIBS} -L${withval}"  
3618    
 fi;  
3619    
3620    
 # Check whether --with-z-inc or --without-z-inc was given.  
 if test "${with_z_inc+set}" = set; then  
   withval="$with_z_inc"  
   INCL="${INCL} -I${withval}"  
3621    
3622  fi;  { echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
3623    echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6; }
3624    if test "${ac_cv_lib_m_sqrt+set}" = set; then
3625      echo $ECHO_N "(cached) $ECHO_C" >&6
3626    else
3627      ac_check_lib_save_LIBS=$LIBS
3628    LIBS="-lm  $LIBS"
3629    cat >conftest.$ac_ext <<_ACEOF
3630    /* confdefs.h.  */
3631    _ACEOF
3632    cat confdefs.h >>conftest.$ac_ext
3633    cat >>conftest.$ac_ext <<_ACEOF
3634    /* end confdefs.h.  */
3635    
3636    /* Override any GCC internal prototype to avoid an error.
3637       Use char because int might match the return type of a GCC
3638       builtin and then its argument prototype would still apply.  */
3639    #ifdef __cplusplus
3640    extern "C"
3641    #endif
3642    char sqrt ();
3643    int
3644    main ()
3645    {
3646    return sqrt ();
3647      ;
3648      return 0;
3649    }
3650    _ACEOF
3651    rm -f conftest.$ac_objext conftest$ac_exeext
3652    if { (ac_try="$ac_link"
3653    case "(($ac_try" in
3654      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3655      *) ac_try_echo=$ac_try;;
3656    esac
3657    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3658      (eval "$ac_link") 2>conftest.er1
3659      ac_status=$?
3660      grep -v '^ *+' conftest.er1 >conftest.err
3661      rm -f conftest.er1
3662      cat conftest.err >&5
3663      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664      (exit $ac_status); } && {
3665             test -z "$ac_c_werror_flag" ||
3666             test ! -s conftest.err
3667           } && test -s conftest$ac_exeext &&
3668           $as_test_x conftest$ac_exeext; then
3669      ac_cv_lib_m_sqrt=yes
3670    else
3671      echo "$as_me: failed program was:" >&5
3672    sed 's/^/| /' conftest.$ac_ext >&5
3673    
3674  # Check whether --with-z-lib or --without-z-lib was given.          ac_cv_lib_m_sqrt=no
3675  if test "${with_z_lib+set}" = set; then  fi
   withval="$with_z_lib"  
   LIBS="${LIBS} -L${withval}"  
3676    
3677  fi;  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3678          conftest$ac_exeext conftest.$ac_ext
3679    LIBS=$ac_check_lib_save_LIBS
3680    fi
3681    { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
3682    echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6; }
3683    if test $ac_cv_lib_m_sqrt = yes; then
3684      cat >>confdefs.h <<_ACEOF
3685    #define HAVE_LIBM 1
3686    _ACEOF
3687    
3688  # Check whether --enable-speed or --disable-speed was given.    LIBS="-lm $LIBS"
 if test "${enable_speed+set}" = set; then  
   enableval="$enable_speed"  
   if test "$enableval" = "no"; then LEXSPEED=""; fi  
 fi;  
3689    
 if test "x$LEXSPEED" != "x"  
 then  
   LEXFLAGS="$LEXFLAGS $LEXSPEED"  
3690  fi  fi
3691    
 CPPFLAGS="$CPPFLAGS $INCL"  
 CFLAGS="$CFLAGS $INCL"  
3692    
3693  if test "x${GCC}" = "xyes"  
3694  then  { echo "$as_me:$LINENO: checking for FT_Load_Glyph in -lfreetype" >&5
3695    CFLAGS="$CFLAGS -Wall"  echo $ECHO_N "checking for FT_Load_Glyph in -lfreetype... $ECHO_C" >&6; }
3696    echo "$as_me:$LINENO: checking \"for gcc strength-reduce bug\"" >&5  if test "${ac_cv_lib_freetype_FT_Load_Glyph+set}" = set; then
 echo $ECHO_N "checking \"for gcc strength-reduce bug\"... $ECHO_C" >&6  
 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then  
3697    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3698  else  else
3699    if test "$cross_compiling" = yes; then    ac_check_lib_save_LIBS=$LIBS
3700    ac_cv_c_gcc_strength_bug="yes"  LIBS="-lfreetype  $LIBS"
3701  else  cat >conftest.$ac_ext <<_ACEOF
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
3702  /* confdefs.h.  */  /* confdefs.h.  */
3703  _ACEOF  _ACEOF
3704  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
3705  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
3706  /* end confdefs.h.  */  /* end confdefs.h.  */
3707    
3708  int main(void) {  /* Override any GCC internal prototype to avoid an error.
3709    static int Array[3];     Use char because int might match the return type of a GCC
3710    unsigned int B = 3;     builtin and then its argument prototype would still apply.  */
3711    int i;  #ifdef __cplusplus
3712    for(i=0; i<B; i++) Array[i] = i - 3;  extern "C"
3713    exit( Array[1] != -2 );  #endif
3714    char FT_Load_Glyph ();
3715    int
3716    main ()
3717    {
3718    return FT_Load_Glyph ();
3719      ;
3720      return 0;
3721  }  }
3722  _ACEOF  _ACEOF
3723  rm -f conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3724  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (ac_try="$ac_link"
3725    (eval $ac_link) 2>&5  case "(($ac_try" in
3726    ac_status=$?    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3727    echo "$as_me:$LINENO: \$? = $ac_status" >&5    *) ac_try_echo=$ac_try;;
3728    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'  esac
3729    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3730    (eval $ac_try) 2>&5    (eval "$ac_link") 2>conftest.er1
3731    ac_status=$?    ac_status=$?
3732      grep -v '^ *+' conftest.er1 >conftest.err
3733      rm -f conftest.er1
3734      cat conftest.err >&5
3735    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736    (exit $ac_status); }; }; then    (exit $ac_status); } && {
3737    ac_cv_c_gcc_strength_bug="no"           test -z "$ac_c_werror_flag" ||
3738             test ! -s conftest.err
3739           } && test -s conftest$ac_exeext &&
3740           $as_test_x conftest$ac_exeext; then
3741      ac_cv_lib_freetype_FT_Load_Glyph=yes
3742  else  else
3743    echo "$as_me: program exited with status $ac_status" >&5    echo "$as_me: failed program was:" >&5
 echo "$as_me: failed program was:" >&5  
3744  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3745    
3746  ( exit $ac_status )          ac_cv_lib_freetype_FT_Load_Glyph=no
 ac_cv_c_gcc_strength_bug="yes"  
 fi  
 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  
3747  fi  fi
3748    
3749    rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3750          conftest$ac_exeext conftest.$ac_ext
3751    LIBS=$ac_check_lib_save_LIBS
3752  fi  fi
3753  echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5  { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Load_Glyph" >&5
3754  echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6  echo "${ECHO_T}$ac_cv_lib_freetype_FT_Load_Glyph" >&6; }
3755    if test "$ac_cv_c_gcc_strength_bug" = "yes"  if test $ac_cv_lib_freetype_FT_Load_Glyph = yes; then
3756    then    cat >>confdefs.h <<_ACEOF
3757      CFLAGS="$CFLAGS -fno-strength-reduce"  #define HAVE_LIBFREETYPE 1
3758    fi  _ACEOF
3759    
3760      LIBS="-lfreetype $LIBS"
3761    
3762  fi  fi
3763    
3764  echo "$as_me:$LINENO: checking \"sizes of int and void *\"" >&5  if test "$ac_cv_lib_freetype_FT_Load_Glyph" != "yes"
3765  echo $ECHO_N "checking \"sizes of int and void *\"... $ECHO_C" >&6  then
3766  if test "${ac_cv_c_size_int_ptr+set}" = set; then  
3767    { echo "$as_me:$LINENO: checking for TT_Load_Glyph in -lttf" >&5
3768    echo $ECHO_N "checking for TT_Load_Glyph in -lttf... $ECHO_C" >&6; }
3769    if test "${ac_cv_lib_ttf_TT_Load_Glyph+set}" = set; then
3770    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3771  else  else
3772    if test "$cross_compiling" = yes; then    ac_check_lib_save_LIBS=$LIBS
3773    ac_cv_c_size_int_ptr="yes"  LIBS="-lttf  $LIBS"
3774  else  cat >conftest.$ac_ext <<_ACEOF
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
3775  /* confdefs.h.  */  /* confdefs.h.  */
3776  _ACEOF  _ACEOF
3777  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
3778  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
3779  /* end confdefs.h.  */  /* end confdefs.h.  */
3780    
3781  int main(void) {  /* Override any GCC internal prototype to avoid an error.
3782    return sizeof(int) == sizeof(void *);     Use char because int might match the return type of a GCC
3783       builtin and then its argument prototype would still apply.  */
3784    #ifdef __cplusplus
3785    extern "C"
3786    #endif
3787    char TT_Load_Glyph ();
3788    int
3789    main ()
3790    {
3791    return TT_Load_Glyph ();
3792      ;
3793      return 0;
3794  }  }
3795  _ACEOF  _ACEOF
3796  rm -f conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3797  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (ac_try="$ac_link"
3798    (eval $ac_link) 2>&5  case "(($ac_try" in
3799    ac_status=$?    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3800    echo "$as_me:$LINENO: \$? = $ac_status" >&5    *) ac_try_echo=$ac_try;;
3801    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'  esac
3802    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3803    (eval $ac_try) 2>&5    (eval "$ac_link") 2>conftest.er1
3804    ac_status=$?    ac_status=$?
3805      grep -v '^ *+' conftest.er1 >conftest.err
3806      rm -f conftest.er1
3807      cat conftest.err >&5
3808    echo "$as_me:$LINENO: \$? = $ac_