/[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.15.4.1, Mon Nov 13 20:42:23 2006 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.59 for cvsgraph 1.7.0.  # Generated by GNU Autoconf 2.61 for cvsgraph 1.7.0.
4  #  #
5  # Report bugs to <cvsgraph@akhphd.au.dk>.  # Report bugs to <cvsgraph@akhphd.au.dk>.
6  #  #
7  # Copyright (C) 2003 Free Software Foundation, Inc.  # 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
 DUALCASE=1; export DUALCASE # for MKS sh  
54    
55  # Support unset when possible.  # Support unset when possible.
56  if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then  if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
# Line 31  Line 60 
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 46  Line 110 
110    if (set +x; test -z "`(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 65  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=:
# Line 224  Line 520 
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="eval 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'"
# Line 233  Line 550 
550  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551    
552    
 # IFS  
 # We need space, tab and new line, in precisely that order.  
 as_nl='  
 '  
 IFS="   $as_nl"  
   
 # 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='cvsgraph'  PACKAGE_NAME='cvsgraph'
576  PACKAGE_TARNAME='cvsgraph'  PACKAGE_TARNAME='cvsgraph'
# Line 277  Line 582 
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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LEX LEXLIB LEX_OUTPUT_ROOT YACC ac_prog_pkg_config GDLIB_CONFIG GD_CFLAGS GD_LDFLAGS GD_LIBS CPP EGREP 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 339  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 388  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 441  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 465  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 536  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 588  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 636  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 657  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                    datadir sysconfdir sharedstatedir localstatedir includedir \
1108                    oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1109                    libdir localedir 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      [\\/$]* | ?:[\\/]* | NONE | '' ) ;;      [\\/$]* | ?:[\\/]* )  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; }; };;  
   esac  
 done  
   
 # Be sure to have absolute paths.  
 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \  
               localstatedir libdir includedir oldincludedir infodir mandir  
 do  
   eval ac_val=$`echo $ac_var`  
   case $ac_val in  
     [\\/$]* | ?:[\\/]* ) ;;  
     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2  
    { (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 704  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
1191     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
   else  
     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2  
    { (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
1214  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  
   
1215  #  #
1216  # Report the --help message.  # Report the --help message.
1217  #  #
# Line 800  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]
# Line 820  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
# Line 862  Line 1305 
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
# Line 871  Line 1320 
1320    
1321  Report bugs to <cvsgraph@akhphd.au.dk>.  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        ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 # Do not use `cd foo && pwd` to compute absolute paths, because  
 # the directories may not exist.  
 case `pwd` in  
 .) ac_abs_builddir="$ac_dir";;  
 *)  
   case "$ac_dir" in  
   .) ac_abs_builddir=`pwd`;;  
   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;  
   *) ac_abs_builddir=`pwd`/"$ac_dir";;  
   esac;;  
 esac  
 case $ac_abs_builddir in  
 .) ac_abs_top_builddir=${ac_top_builddir}.;;  
 *)  
   case ${ac_top_builddir}. in  
   .) ac_abs_top_builddir=$ac_abs_builddir;;  
   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;  
   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;  
   esac;;  
 esac  
 case $ac_abs_builddir in  
 .) ac_abs_srcdir=$ac_srcdir;;  
 *)  
   case $ac_srcdir in  
   .) ac_abs_srcdir=$ac_abs_builddir;;  
   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;  
   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;  
   esac;;  
 esac  
 case $ac_abs_builddir in  
 .) ac_abs_top_srcdir=$ac_top_srcdir;;  
 *)  
   case $ac_top_srcdir in  
   .) ac_abs_top_srcdir=$ac_abs_builddir;;  
   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;  
   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;  
   esac;;  
1361  esac  esac
1362    ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1363    
1364      cd $ac_dir      cd "$ac_dir" || { ac_status=$?; continue; }
1365      # Check for guested configure; otherwise get Cygnus style configure.      # Check for guested configure.
1366      if test -f $ac_srcdir/configure.gnu; then      if test -f "$ac_srcdir/configure.gnu"; then
1367        echo        echo &&
1368        $SHELL $ac_srcdir/configure.gnu  --help=recursive        $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1369      elif test -f $ac_srcdir/configure; then      elif test -f "$ac_srcdir/configure"; then
1370        echo        echo &&
1371        $SHELL $ac_srcdir/configure  --help=recursive        $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  cvsgraph configure 1.7.0
1383  generated by GNU Autoconf 2.59  generated by GNU Autoconf 2.61
1384    
1385  Copyright (C) 2003 Free Software Foundation, Inc.  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1386    2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1387  This configure script is free software; the Free Software Foundation  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 cvsgraph $as_me 1.7.0, which was  It was created by cvsgraph $as_me 1.7.0, which was
1397  generated by GNU Autoconf 2.59.  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 1003  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 1017  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 1038  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 1049  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 1071  Line 1486 
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 1084  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 1098  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 1122  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 1149  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 &&    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 1199  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 1222  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 1235  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 1265  Line 1698 
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 1283  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 1312  Line 1739 
1739    
1740    
1741    
1742    ac_ext=c
1743    ac_cpp='$CPP $CPPFLAGS'
1744    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1745    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1746    ac_compiler_gnu=$ac_cv_c_compiler_gnu
1747    
1748    
1749    am__api_version='1.10'
1750    
 am__api_version="1.9"  
1751  ac_aux_dir=  ac_aux_dir=
1752  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do  for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1753    if test -f $ac_dir/install-sh; then    if test -f "$ac_dir/install-sh"; then
1754      ac_aux_dir=$ac_dir      ac_aux_dir=$ac_dir
1755      ac_install_sh="$ac_aux_dir/install-sh -c"      ac_install_sh="$ac_aux_dir/install-sh -c"
1756      break      break
1757    elif test -f $ac_dir/install.sh; then    elif test -f "$ac_dir/install.sh"; then
1758      ac_aux_dir=$ac_dir      ac_aux_dir=$ac_dir
1759      ac_install_sh="$ac_aux_dir/install.sh -c"      ac_install_sh="$ac_aux_dir/install.sh -c"
1760      break      break
1761    elif test -f $ac_dir/shtool; then    elif test -f "$ac_dir/shtool"; then
1762      ac_aux_dir=$ac_dir      ac_aux_dir=$ac_dir
1763      ac_install_sh="$ac_aux_dir/shtool install -c"      ac_install_sh="$ac_aux_dir/shtool install -c"
1764      break      break
1765    fi    fi
1766  done  done
1767  if test -z "$ac_aux_dir"; then  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    { { 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;}  echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1770     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1771  fi  fi
1772  ac_config_guess="$SHELL $ac_aux_dir/config.guess"  
1773  ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # These three variables are undocumented and unsupported,
1774  ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.  # 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),  # 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  # so one script is as good as another.  But avoid the broken or
# Line 1354  Line 1792 
1792  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1793  # OS/2's system install, which has a completely different semantic  # OS/2's system install, which has a completely different semantic
1794  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
1795  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5  { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1796  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1797  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
1798  if test "${ac_cv_path_install+set}" = set; then  if test "${ac_cv_path_install+set}" = set; then
1799    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1377  Line 1815 
1815      # by default.      # by default.
1816      for ac_prog in ginstall scoinst install; do      for ac_prog in ginstall scoinst install; do
1817        for ac_exec_ext in '' $ac_executable_extensions; do        for ac_exec_ext in '' $ac_executable_extensions; do
1818          if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then          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 &&            if test $ac_prog = install &&
1820              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1821              # AIX install.  It has an incompatible calling convention.              # AIX install.  It has an incompatible calling convention.
# Line 1396  Line 1834 
1834      ;;      ;;
1835  esac  esac
1836  done  done
1837    IFS=$as_save_IFS
1838    
1839    
1840  fi  fi
1841    if test "${ac_cv_path_install+set}" = set; then    if test "${ac_cv_path_install+set}" = set; then
1842      INSTALL=$ac_cv_path_install      INSTALL=$ac_cv_path_install
1843    else    else
1844      # As a last resort, use the slow shell script.  We don't cache a      # As a last resort, use the slow shell script.  Don't cache a
1845      # path for INSTALL within a source directory, because that will      # value for INSTALL within a source directory, because that will
1846      # break other packages using the cache if that directory is      # break other packages using the cache if that directory is
1847      # removed, or if the path is relative.      # removed, or if the value is a relative name.
1848      INSTALL=$ac_install_sh      INSTALL=$ac_install_sh
1849    fi    fi
1850  fi  fi
1851  echo "$as_me:$LINENO: result: $INSTALL" >&5  { echo "$as_me:$LINENO: result: $INSTALL" >&5
1852  echo "${ECHO_T}$INSTALL" >&6  echo "${ECHO_T}$INSTALL" >&6; }
1853    
1854  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1855  # It thinks the first close brace ends the variable substitution.  # It thinks the first close brace ends the variable substitution.
# Line 1420  Line 1859 
1859    
1860  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1861    
1862  echo "$as_me:$LINENO: checking whether build environment is sane" >&5  { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1863  echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6  echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1864  # Just in case  # Just in case
1865  sleep 1  sleep 1
1866  echo timestamp > conftest.file  echo timestamp > conftest.file
# Line 1463  Line 1902 
1902  Check your system clock" >&2;}  Check your system clock" >&2;}
1903     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1904  fi  fi
1905  echo "$as_me:$LINENO: result: yes" >&5  { echo "$as_me:$LINENO: result: yes" >&5
1906  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6; }
1907  test "$program_prefix" != NONE &&  test "$program_prefix" != NONE &&
1908    program_transform_name="s,^,$program_prefix,;$program_transform_name"    program_transform_name="s&^&$program_prefix&;$program_transform_name"
1909  # Use a double $ so make ignores it.  # Use a double $ so make ignores it.
1910  test "$program_suffix" != NONE &&  test "$program_suffix" != NONE &&
1911    program_transform_name="s,\$,$program_suffix,;$program_transform_name"    program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1912  # Double any \ or $.  echo might interpret backslashes.  # Double any \ or $.  echo might interpret backslashes.
1913  # By default was `s,x,x', remove it if useless.  # By default was `s,x,x', remove it if useless.
1914  cat <<\_ACEOF >conftest.sed  cat <<\_ACEOF >conftest.sed
1915  s/[\\$]/&&/g;s/;s,x,x,$//  s/[\\$]/&&/g;s/;s,x,x,$//
1916  _ACEOF  _ACEOF
1917  program_transform_name=`echo $program_transform_name | sed -f conftest.sed`  program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1918  rm conftest.sed  rm -f conftest.sed
1919    
1920  # expand $ac_aux_dir to an absolute path  # expand $ac_aux_dir to an absolute path
1921  am_aux_dir=`cd $ac_aux_dir && pwd`  am_aux_dir=`cd $ac_aux_dir && pwd`
# Line 1491  Line 1930 
1930  echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}  echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1931  fi  fi
1932    
1933  if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then  { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1934    # We used to keeping the `.' as first argument, in order to  echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1935    # allow $(mkdir_p) to be used without argument.  As in  if test -z "$MKDIR_P"; then
1936    #   $(mkdir_p) $(somedir)    if test "${ac_cv_path_mkdir+set}" = set; then
1937    # where $(somedir) is conditionally defined.  However this is wrong    echo $ECHO_N "(cached) $ECHO_C" >&6
1938    # for two reasons:  else
1939    #  1. if the package is installed by a user who cannot write `.'    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1940    #     make install will fail,  for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1941    #  2. the above comment should most certainly read  do
1942    #     $(mkdir_p) $(DESTDIR)$(somedir)    IFS=$as_save_IFS
1943    #     so it does not work when $(somedir) is undefined and    test -z "$as_dir" && as_dir=.
1944    #     $(DESTDIR) is not.    for ac_prog in mkdir gmkdir; do
1945    #  To support the latter case, we have to write           for ac_exec_ext in '' $ac_executable_extensions; do
1946    #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),             { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1947    #  so the `.' trick is pointless.             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1948    mkdir_p='mkdir -p --'               'mkdir (GNU coreutils) '* | \
1949  else               'mkdir (coreutils) '* | \
1950    # On NextStep and OpenStep, the `mkdir' command does not               'mkdir (fileutils) '4.1*)
1951    # recognize any option.  It will interpret all options as                 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1952    # directories to create, and then abort because `.' already                 break 3;;
1953    # exists.             esac
1954    for d in ./-p ./--version;           done
1955    do         done
1956      test -d $d && rmdir $d  done
1957    done  IFS=$as_save_IFS
1958    # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.  
1959    if test -f "$ac_aux_dir/mkinstalldirs"; then  fi
1960      mkdir_p='$(mkinstalldirs)'  
1961      if test "${ac_cv_path_mkdir+set}" = set; then
1962        MKDIR_P="$ac_cv_path_mkdir -p"
1963    else    else
1964      mkdir_p='$(install_sh) -d'      # 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    fi
1971  fi  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  for ac_prog in gawk mawk nawk awk
1982  do  do
1983    # 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.
1984  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1985  echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
1986  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1987  if test "${ac_cv_prog_AWK+set}" = set; then  if test "${ac_cv_prog_AWK+set}" = set; then
1988    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1989  else  else
# Line 1542  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_AWK="$ac_prog"      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  AWK=$ac_cv_prog_AWK  AWK=$ac_cv_prog_AWK
2011  if test -n "$AWK"; then  if test -n "$AWK"; then
2012    echo "$as_me:$LINENO: result: $AWK" >&5    { echo "$as_me:$LINENO: result: $AWK" >&5
2013  echo "${ECHO_T}$AWK" >&6  echo "${ECHO_T}$AWK" >&6; }
2014  else  else
2015    echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2016  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6; }
2017  fi  fi
2018    
2019    
2020    test -n "$AWK" && break    test -n "$AWK" && break
2021  done  done
2022    
2023  echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5  { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2024  echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6  echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2025  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`  set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2026  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then  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    echo $ECHO_N "(cached) $ECHO_C" >&6
2028  else  else
2029    cat >conftest.make <<\_ACEOF    cat >conftest.make <<\_ACEOF
2030    SHELL = /bin/sh
2031  all:  all:
2032          @echo 'ac_maketemp="$(MAKE)"'          @echo '@@@%%%=$(MAKE)=@@@%%%'
2033  _ACEOF  _ACEOF
2034  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2035  eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`  case `${MAKE-make} -f conftest.make 2>/dev/null` in
2036  if test -n "$ac_maketemp"; then    *@@@%%%=?*=@@@%%%*)
2037    eval ac_cv_prog_make_${ac_make}_set=yes      eval ac_cv_prog_make_${ac_make}_set=yes;;
2038  else    *)
2039    eval ac_cv_prog_make_${ac_make}_set=no      eval ac_cv_prog_make_${ac_make}_set=no;;
2040  fi  esac
2041  rm -f conftest.make  rm -f conftest.make
2042  fi  fi
2043  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then  if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2044    echo "$as_me:$LINENO: result: yes" >&5    { echo "$as_me:$LINENO: result: yes" >&5
2045  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6; }
2046    SET_MAKE=    SET_MAKE=
2047  else  else
2048    echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2049  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6; }
2050    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
2051  fi  fi
2052    
# Line 1602  Line 2059 
2059  fi  fi
2060  rmdir .tst 2>/dev/null  rmdir .tst 2>/dev/null
2061    
2062  # test to see if srcdir already configured  if test "`cd $srcdir && pwd`" != "`pwd`"; then
2063  if test "`cd $srcdir && pwd`" != "`pwd`" &&    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2064     test -f $srcdir/config.status; then    # is not polluted with repeated "-I."
2065    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5    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;}  echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2070     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2071      fi
2072  fi  fi
2073    
2074  # test whether we have cygpath  # test whether we have cygpath
# Line 1650  Line 2111 
2111    
2112  MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}  MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2113    
2114  install_sh=${install_sh-"$am_aux_dir/install-sh"}  install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2115    
2116  # Installed binaries are usually stripped using `strip' when the user  # Installed binaries are usually stripped using `strip' when the user
2117  # run `make install-strip'.  However `strip' might not be the right  # run `make install-strip'.  However `strip' might not be the right
# Line 1660  Line 2121 
2121    if test -n "$ac_tool_prefix"; then    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.    # 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  set dummy ${ac_tool_prefix}strip; ac_word=$2
2124  echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2125  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2126  if test "${ac_cv_prog_STRIP+set}" = set; then  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
# Line 1674  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_STRIP="${ac_tool_prefix}strip"      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  STRIP=$ac_cv_prog_STRIP  STRIP=$ac_cv_prog_STRIP
2150  if test -n "$STRIP"; then  if test -n "$STRIP"; then
2151    echo "$as_me:$LINENO: result: $STRIP" >&5    { echo "$as_me:$LINENO: result: $STRIP" >&5
2152  echo "${ECHO_T}$STRIP" >&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    
2159  fi  fi
2160  if test -z "$ac_cv_prog_STRIP"; then  if test -z "$ac_cv_prog_STRIP"; then
2161    ac_ct_STRIP=$STRIP    ac_ct_STRIP=$STRIP
2162    # Extract the first word of "strip", so it can be a program name with args.    # Extract the first word of "strip", so it can be a program name with args.
2163  set dummy strip; ac_word=$2  set dummy strip; ac_word=$2
2164  echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2165  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2166  if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then  if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2167    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2168  else  else
# Line 1712  Line 2175 
2175    IFS=$as_save_IFS    IFS=$as_save_IFS
2176    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2177    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2178    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
2179      ac_cv_prog_ac_ct_STRIP="strip"      ac_cv_prog_ac_ct_STRIP="strip"
2180      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
2181      break 2      break 2
2182    fi    fi
2183  done  done
2184  done  done
2185    IFS=$as_save_IFS
2186    
   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"  
2187  fi  fi
2188  fi  fi
2189  ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP  ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2190  if test -n "$ac_ct_STRIP"; then  if test -n "$ac_ct_STRIP"; then
2191    echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5    { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2192  echo "${ECHO_T}$ac_ct_STRIP" >&6  echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2193  else  else
2194    echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2195  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6; }
2196  fi  fi
2197    
2198    STRIP=$ac_ct_STRIP    if test "x$ac_ct_STRIP" = x; then
2199        STRIP=":"
2200      else
2201        case $cross_compiling:$ac_tool_warned in
2202    yes:)
2203    { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2204    whose name does not start with the host triplet.  If you think this
2205    configuration is useful to you, please write to autoconf@gnu.org." >&5
2206    echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2207    whose name does not start with the host triplet.  If you think this
2208    configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2209    ac_tool_warned=yes ;;
2210    esac
2211        STRIP=$ac_ct_STRIP
2212      fi
2213  else  else
2214    STRIP="$ac_cv_prog_STRIP"    STRIP="$ac_cv_prog_STRIP"
2215  fi  fi
2216    
2217  fi  fi
2218  INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"  INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2219    
2220  # We need awk for the "check" target.  The system "awk" is bad on  # We need awk for the "check" target.  The system "awk" is bad on
2221  # some platforms.  # some platforms.
# Line 1753  Line 2230 
2230    
2231    
2232    
2233            ac_config_headers="$ac_config_headers config.h"  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"  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  with_gd=yes
# Line 1771  Line 2248 
2248  if test -n "$ac_tool_prefix"; then  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.    # 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  set dummy ${ac_tool_prefix}gcc; ac_word=$2
2251  echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2252  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  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 1785  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}gcc"      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 "gcc", so it can be a program name with args.    # Extract the first word of "gcc", so it can be a program name with args.
2290  set dummy gcc; 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 1823  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="gcc"      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  if test -z "$CC"; then
2345    if test -n "$ac_tool_prefix"; then            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.      # 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  set dummy ${ac_tool_prefix}cc; ac_word=$2
2348  echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2349  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2350  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2351    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2352  else  else
# Line 1865  Line 2359 
2359    IFS=$as_save_IFS    IFS=$as_save_IFS
2360    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2361    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2362    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
2363      ac_cv_prog_CC="${ac_tool_prefix}cc"      ac_cv_prog_CC="${ac_tool_prefix}cc"
2364      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
2365      break 2      break 2
2366    fi    fi
2367  done  done
2368  done  done
2369    IFS=$as_save_IFS
2370    
2371  fi  fi
2372  fi  fi
2373  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2374  if test -n "$CC"; then  if test -n "$CC"; then
2375    echo "$as_me:$LINENO: result: $CC" >&5    { echo "$as_me:$LINENO: result: $CC" >&5
2376  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6; }
 else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
 fi  
   
 fi  
 if test -z "$ac_cv_prog_CC"; then  
   ac_ct_CC=$CC  
   # Extract the first word of "cc", so it can be a program name with args.  
 set dummy cc; ac_word=$2  
 echo "$as_me:$LINENO: checking for $ac_word" >&5  
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  
 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if test -n "$ac_ct_CC"; then  
   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.  
 else  
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   for ac_exec_ext in '' $ac_executable_extensions; do  
   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then  
     ac_cv_prog_ac_ct_CC="cc"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
 done  
   
 fi  
 fi  
 ac_ct_CC=$ac_cv_prog_ac_ct_CC  
 if test -n "$ac_ct_CC"; then  
   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5  
 echo "${ECHO_T}$ac_ct_CC" >&6  
2377  else  else
2378    echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2379  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6; }
2380  fi  fi
2381    
   CC=$ac_ct_CC  
 else  
   CC="$ac_cv_prog_CC"  
 fi  
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 1946  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 1957  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 1974  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 2002  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 2044  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 2079  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); }
# Line 2118  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 file name" >&5  { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2610  echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6  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 )
         ;;  
     conftest.$ac_ext )  
         # This is the source file.  
2651          ;;          ;;
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            # 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;;          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 2170  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 2201  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 2227  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" : '[^.]*\(\..*\)'`
           export ac_cv_exeext  
2757            break;;            break;;
2758      * ) break;;      * ) break;;
2759    esac    esac
# Line 2243  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
# Line 2270  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 2295  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
# Line 2323  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>conftest.er1  case "(($ac_try" in
2858      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2859      *) ac_try_echo=$ac_try;;
2860    esac
2861    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2862      (eval "$ac_compile") 2>conftest.er1
2863    ac_status=$?    ac_status=$?
2864    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2865    rm -f conftest.er1    rm -f conftest.er1
2866    cat conftest.err >&5    cat conftest.err >&5
2867    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868    (exit $ac_status); } &&    (exit $ac_status); } && {
2869           { ac_try='test -z "$ac_c_werror_flag"           test -z "$ac_c_werror_flag" ||
2870                           || test ! -s conftest.err'           test ! -s conftest.err
2871    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5         } && test -s conftest.$ac_objext; then
   (eval $ac_try) 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  
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.err 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       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 2382  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>conftest.er1  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    grep -v '^ *+' conftest.er1 >conftest.err
2923    rm -f conftest.er1    rm -f conftest.er1
2924    cat conftest.err >&5    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 -z "$ac_c_werror_flag"           test -z "$ac_c_werror_flag" ||
2928                           || test ! -s conftest.err'           test ! -s conftest.err
2929    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5         } && test -s conftest.$ac_objext; then
2930    (eval $ac_try) 2>&5    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); }; } &&    (exit $ac_status); } && {
2965           { ac_try='test -s conftest.$ac_objext'           test -z "$ac_c_werror_flag" ||
2966    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5           test ! -s conftest.err
2967    (eval $ac_try) 2>&5         } && 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=$?    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    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003    (exit $ac_status); }; }; then    (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.err 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 2429  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
3049  /* confdefs.h.  */  /* confdefs.h.  */
# Line 2468  Line 3077 
3077  /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has  /* 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.     function prototypes and stuff, but not '\xHH' hex character constants.
3079     These don't provoke an error unfortunately, instead are silently treated     These don't provoke an error unfortunately, instead are silently treated
3080     as 'x'.  The following induces an error, until -std1 is added to get     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     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     array size at least.  It's necessary to write '\x00'==0 to get something
3083     that's true only with -std1.  */     that's true only with -std.  */
3084  int osf4_cc_array ['\x00' == 0 ? 1 : -1];  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 2488  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>conftest.er1  case "(($ac_try" in
3112      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3113      *) ac_try_echo=$ac_try;;
3114    esac
3115    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3116      (eval "$ac_compile") 2>conftest.er1
3117    ac_status=$?    ac_status=$?
3118    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
3119    rm -f conftest.er1    rm -f conftest.er1
3120    cat conftest.err >&5    cat conftest.err >&5
3121    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122    (exit $ac_status); } &&    (exit $ac_status); } && {
3123           { ac_try='test -z "$ac_c_werror_flag"           test -z "$ac_c_werror_flag" ||
3124                           || test ! -s conftest.err'           test ! -s conftest.err
3125    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5         } && test -s conftest.$ac_objext; then
3126    (eval $ac_try) 2>&5    ac_cv_prog_cc_c89=$ac_arg
   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  
   ac_cv_prog_cc_stdc=$ac_arg  
 break  
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.err 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>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -z "$ac_c_werror_flag"  
                          || test ! -s conftest.err'  
   { (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); }; } &&  
          { 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 \  
    '' \  
    '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  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 $ac_declaration  
 #include <stdlib.h>  
 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>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -z "$ac_c_werror_flag"  
                          || test ! -s conftest.err'  
   { (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); }; } &&  
          { 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  
   
 continue  
 fi  
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext  
   cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.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>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -z "$ac_c_werror_flag"  
                          || test ! -s conftest.err'  
   { (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); }; } &&  
          { 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  
   break  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 fi  
 rm -f conftest.err 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  
 fi  
   
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
3155    
 fi  
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext  
3156  ac_ext=c  ac_ext=c
3157  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
3158  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 2694  Line 3160 
3160  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3161  DEPDIR="${am__leading_dot}deps"  DEPDIR="${am__leading_dot}deps"
3162    
3163            ac_config_commands="$ac_config_commands depfiles"  ac_config_commands="$ac_config_commands depfiles"
3164    
3165    
3166  am_make=${MAKE-make}  am_make=${MAKE-make}
# Line 2704  Line 3170 
3170  .PHONY: am__doit  .PHONY: am__doit
3171  END  END
3172  # If we don't find an include directive, just comment out the code.  # 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  { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3174  echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6  echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3175  am__include="#"  am__include="#"
3176  am__quote=  am__quote=
3177  _am_result=none  _am_result=none
# Line 2732  Line 3198 
3198  fi  fi
3199    
3200    
3201  echo "$as_me:$LINENO: result: $_am_result" >&5  { echo "$as_me:$LINENO: result: $_am_result" >&5
3202  echo "${ECHO_T}$_am_result" >&6  echo "${ECHO_T}$_am_result" >&6; }
3203  rm -f confinc confmf  rm -f confinc confmf
3204    
3205  # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.  # Check whether --enable-dependency-tracking was given.
3206  if test "${enable_dependency_tracking+set}" = set; then  if test "${enable_dependency_tracking+set}" = set; then
3207    enableval="$enable_dependency_tracking"    enableval=$enable_dependency_tracking;
3208    fi
3209    
 fi;  
3210  if test "x$enable_dependency_tracking" != xno; then  if test "x$enable_dependency_tracking" != xno; then
3211    am_depcomp="$ac_aux_dir/depcomp"    am_depcomp="$ac_aux_dir/depcomp"
3212    AMDEPBACKSLASH='\'    AMDEPBACKSLASH='\'
3213  fi  fi
3214     if test "x$enable_dependency_tracking" != xno; then
   
 if test "x$enable_dependency_tracking" != xno; then  
3215    AMDEP_TRUE=    AMDEP_TRUE=
3216    AMDEP_FALSE='#'    AMDEP_FALSE='#'
3217  else  else
# Line 2757  Line 3221 
3221    
3222    
3223    
   
3224  depcc="$CC"   am_compiler_list=  depcc="$CC"   am_compiler_list=
3225    
3226  echo "$as_me:$LINENO: checking dependency style of $depcc" >&5  { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3227  echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6  echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3228  if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then  if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3229    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3230  else  else
# Line 2825  Line 3288 
3288         depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \         depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3289         $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \         $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3290           >/dev/null 2>conftest.err &&           >/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 &&         grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3293         grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&         grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3294         ${MAKE-make} -s -f confmf > /dev/null 2>&1; then         ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
# Line 2850  Line 3314 
3314  fi  fi
3315    
3316  fi  fi
3317  echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5  { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3318  echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6  echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3319  CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type  CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3320    
3321     if
   
 if  
3322    test "x$enable_dependency_tracking" != xno \    test "x$enable_dependency_tracking" != xno \
3323    && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then    && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3324    am__fastdepCC_TRUE=    am__fastdepCC_TRUE=
# Line 2872  Line 3334 
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 2886  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  /* confdefs.h.  */  %%
3387  _ACEOF  #ifdef YYTEXT_POINTER
3388  cat confdefs.h >>conftest.$ac_ext  extern char *yytext;
 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>conftest.er1    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3399    ac_status=$?    *) ac_try_echo=$ac_try;;
3400    grep -v '^ *+' conftest.er1 >conftest.err  esac
3401    rm -f conftest.er1  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3402    cat conftest.err >&5    (eval "$LEX conftest.l") 2>&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -z "$ac_c_werror_flag"  
                          || test ! -s conftest.err'  
   { (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); }; } &&  
          { ac_try='test -s conftest$ac_exeext'  
   { (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.err 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  
 /* 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>conftest.er1  case "(($ac_try" in
3443      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3444      *) ac_try_echo=$ac_try;;
3445    esac
3446    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3447      (eval "$ac_link") 2>conftest.er1
3448    ac_status=$?    ac_status=$?
3449    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
3450    rm -f conftest.er1    rm -f conftest.er1
3451    cat conftest.err >&5    cat conftest.err >&5
3452    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453    (exit $ac_status); } &&    (exit $ac_status); } && {
3454           { ac_try='test -z "$ac_c_werror_flag"           test -z "$ac_c_werror_flag" ||
3455                           || test ! -s conftest.err'           test ! -s conftest.err
3456    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5         } && test -s conftest$ac_exeext &&
3457    (eval $ac_try) 2>&5         $as_test_x conftest$ac_exeext; then
3458    ac_status=$?    ac_cv_lib_lex=$ac_lib
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; } &&  
          { ac_try='test -s conftest$ac_exeext'  
   { (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  
   ac_cv_lib_l_yywrap=yes  
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.err 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  fi  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    
 if test "x$LEX" != "x:"; then  
   echo "$as_me:$LINENO: checking lex output file root" >&5  
 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6  
 if test "${ac_cv_prog_lex_root+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; }; }  
3472  fi  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
 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  
3477    
3478  echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5  
3479  echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6  { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3480    echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
3481  if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then  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>conftest.er1  case "(($ac_try" in
3497      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3498      *) ac_try_echo=$ac_try;;
3499    esac
3500    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3501      (eval "$ac_link") 2>conftest.er1
3502    ac_status=$?    ac_status=$?
3503    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
3504    rm -f conftest.er1    rm -f conftest.er1
3505    cat conftest.err >&5    cat conftest.err >&5
3506    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507    (exit $ac_status); } &&    (exit $ac_status); } && {
3508           { ac_try='test -z "$ac_c_werror_flag"           test -z "$ac_c_werror_flag" ||
3509                           || test ! -s conftest.err'           test ! -s conftest.err
3510    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5         } && test -s conftest$ac_exeext &&
3511    (eval $ac_try) 2>&5         $as_test_x conftest$ac_exeext; then
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; } &&  
          { ac_try='test -s conftest$ac_exeext'  
   { (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  
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.err conftest.$ac_objext \  
3520    rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3521        conftest$ac_exeext conftest.$ac_ext        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 3140  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 3160  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.  # Extract the first word of "pkg-config", so it can be a program name with args.
3581  set dummy pkg-config; ac_word=$2  set dummy pkg-config; ac_word=$2
3582  echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
3583  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3584  if test "${ac_cv_path_ac_prog_pkg_config+set}" = set; then  if test "${ac_cv_path_ac_prog_pkg_config+set}" = set; then
3585    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3586  else  else
# Line 3201  Line 3595 
3595    IFS=$as_save_IFS    IFS=$as_save_IFS
3596    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
3597    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
3598    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
3599      ac_cv_path_ac_prog_pkg_config="$as_dir/$ac_word$ac_exec_ext"      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      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3601      break 2      break 2
3602    fi    fi
3603  done  done
3604  done  done
3605    IFS=$as_save_IFS
3606    
3607    ;;    ;;
3608  esac  esac
3609  fi  fi
3610  ac_prog_pkg_config=$ac_cv_path_ac_prog_pkg_config  ac_prog_pkg_config=$ac_cv_path_ac_prog_pkg_config
   
3611  if test -n "$ac_prog_pkg_config"; then  if test -n "$ac_prog_pkg_config"; then
3612    echo "$as_me:$LINENO: result: $ac_prog_pkg_config" >&5    { echo "$as_me:$LINENO: result: $ac_prog_pkg_config" >&5
3613  echo "${ECHO_T}$ac_prog_pkg_config" >&6  echo "${ECHO_T}$ac_prog_pkg_config" >&6; }
3614  else  else
3615    echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
3616  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6; }
3617  fi  fi
3618    
3619    
3620    
3621  echo "$as_me:$LINENO: checking for sqrt in -lm" >&5  
3622  echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6  { 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  if test "${ac_cv_lib_m_sqrt+set}" = set; then
3625    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3626  else  else
# Line 3238  Line 3633 
3633  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
3634  /* end confdefs.h.  */  /* end confdefs.h.  */
3635    
3636  /* Override any gcc2 internal prototype to avoid an error.  */  /* 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  #ifdef __cplusplus
3640  extern "C"  extern "C"
3641  #endif  #endif
 /* We use char because int might match the return type of a gcc2  
    builtin and then its argument prototype would still apply.  */  
3642  char sqrt ();  char sqrt ();
3643  int  int
3644  main ()  main ()
3645  {  {
3646  sqrt ();  return sqrt ();
3647    ;    ;
3648    return 0;    return 0;
3649  }  }
3650  _ACEOF  _ACEOF
3651  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3652  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (ac_try="$ac_link"
3653    (eval $ac_link) 2>conftest.er1  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=$?    ac_status=$?
3660    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
3661    rm -f conftest.er1    rm -f conftest.er1
3662    cat conftest.err >&5    cat conftest.err >&5
3663    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664    (exit $ac_status); } &&    (exit $ac_status); } && {
3665           { ac_try='test -z "$ac_c_werror_flag"           test -z "$ac_c_werror_flag" ||
3666                           || test ! -s conftest.err'           test ! -s conftest.err
3667    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5         } && test -s conftest$ac_exeext &&
3668    (eval $ac_try) 2>&5         $as_test_x conftest$ac_exeext; then
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; } &&  
          { ac_try='test -s conftest$ac_exeext'  
   { (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  
3669    ac_cv_lib_m_sqrt=yes    ac_cv_lib_m_sqrt=yes
3670  else  else
3671    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3672  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3673    
3674  ac_cv_lib_m_sqrt=no          ac_cv_lib_m_sqrt=no
3675  fi  fi
3676  rm -f conftest.err conftest.$ac_objext \  
3677    rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3678        conftest$ac_exeext conftest.$ac_ext        conftest$ac_exeext conftest.$ac_ext
3679  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
3680  fi  fi
3681  echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5  { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
3682  echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6  echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6; }
3683  if test $ac_cv_lib_m_sqrt = yes; then  if test $ac_cv_lib_m_sqrt = yes; then
3684    cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
3685  #define HAVE_LIBM 1  #define HAVE_LIBM 1
# Line 3299  Line 3691 
3691    
3692    
3693    
3694  echo "$as_me:$LINENO: checking for FT_Load_Glyph in -lfreetype" >&5  { echo "$as_me:$LINENO: checking for FT_Load_Glyph in -lfreetype" >&5
3695  echo $ECHO_N "checking for FT_Load_Glyph in -lfreetype... $ECHO_C" >&6  echo $ECHO_N "checking for FT_Load_Glyph in -lfreetype... $ECHO_C" >&6; }
3696  if test "${ac_cv_lib_freetype_FT_Load_Glyph+set}" = set; then  if test "${ac_cv_lib_freetype_FT_Load_Glyph+set}" = set; then
3697    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3698  else  else
# Line 3313  Line 3705 
3705  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
3706  /* end confdefs.h.  */  /* end confdefs.h.  */
3707    
3708  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any GCC internal prototype to avoid an error.
3709       Use char because int might match the return type of a GCC
3710       builtin and then its argument prototype would still apply.  */
3711  #ifdef __cplusplus  #ifdef __cplusplus
3712  extern "C"  extern "C"
3713  #endif  #endif
 /* We use char because int might match the return type of a gcc2  
    builtin and then its argument prototype would still apply.  */  
3714  char FT_Load_Glyph ();  char FT_Load_Glyph ();
3715  int  int
3716  main ()  main ()
3717  {  {
3718  FT_Load_Glyph ();  return FT_Load_Glyph ();
3719    ;    ;
3720    return 0;    return 0;
3721  }  }
3722  _ACEOF  _ACEOF
3723  rm -f conftest.$ac_objext 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>conftest.er1  case "(($ac_try" in
3726      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3727      *) ac_try_echo=$ac_try;;
3728    esac
3729    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3730      (eval "$ac_link") 2>conftest.er1
3731    ac_status=$?    ac_status=$?
3732    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
3733    rm -f conftest.er1    rm -f conftest.er1
3734    cat conftest.err >&5    cat conftest.err >&5
3735    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736    (exit $ac_status); } &&    (exit $ac_status); } && {
3737           { ac_try='test -z "$ac_c_werror_flag"           test -z "$ac_c_werror_flag" ||
3738                           || test ! -s conftest.err'           test ! -s conftest.err
3739    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5         } && test -s conftest$ac_exeext &&
3740    (eval $ac_try) 2>&5         $as_test_x conftest$ac_exeext; then
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; } &&  
          { ac_try='test -s conftest$ac_exeext'  
   { (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  
3741    ac_cv_lib_freetype_FT_Load_Glyph=yes    ac_cv_lib_freetype_FT_Load_Glyph=yes
3742  else  else
3743    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  ac_cv_lib_freetype_FT_Load_Glyph=no          ac_cv_lib_freetype_FT_Load_Glyph=no
3747  fi  fi
3748  rm -f conftest.err conftest.$ac_objext \  
3749    rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3750        conftest$ac_exeext conftest.$ac_ext        conftest$ac_exeext conftest.$ac_ext
3751  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
3752  fi  fi
3753  echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Load_Glyph" >&5  { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Load_Glyph" >&5
3754  echo "${ECHO_T}$ac_cv_lib_freetype_FT_Load_Glyph" >&6  echo "${ECHO_T}$ac_cv_lib_freetype_FT_Load_Glyph" >&6; }
3755  if test $ac_cv_lib_freetype_FT_Load_Glyph = yes; then  if test $ac_cv_lib_freetype_FT_Load_Glyph = yes; then
3756    cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
3757  #define HAVE_LIBFREETYPE 1  #define HAVE_LIBFREETYPE 1
# Line 3375  Line 3764 
3764  if test "$ac_cv_lib_freetype_FT_Load_Glyph" != "yes"  if test "$ac_cv_lib_freetype_FT_Load_Glyph" != "yes"
3765  then  then
3766    
3767  echo "$as_me:$LINENO: checking for TT_Load_Glyph in -lttf" >&5  { 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  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  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
# Line 3389  Line 3778 
3778  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
3779  /* end confdefs.h.  */  /* end confdefs.h.  */
3780    
3781  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any GCC internal prototype to avoid an error.
3782       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  #ifdef __cplusplus
3785  extern "C"  extern "C"
3786  #endif  #endif
 /* We use char because int might match the return type of a gcc2  
    builtin and then its argument prototype would still apply.  */  
3787  char TT_Load_Glyph ();  char TT_Load_Glyph ();
3788  int  int
3789  main ()  main ()
3790  {  {
3791  TT_Load_Glyph ();  return TT_Load_Glyph ();
3792    ;    ;
3793    return 0;    return 0;
3794  }  }
3795  _ACEOF  _ACEOF
3796  rm -f conftest.$ac_objext 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>conftest.er1  case "(($ac_try" in
3799      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3800      *) ac_try_echo=$ac_try;;
3801    esac
3802    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3803      (eval "$ac_link") 2>conftest.er1
3804    ac_status=$?    ac_status=$?
3805    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
3806    rm -f conftest.er1    rm -f conftest.er1
3807    cat conftest.err >&5    cat conftest.err >&5
3808    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809    (exit $ac_status); } &&    (exit $ac_status); } && {
3810           { ac_try='test -z "$ac_c_werror_flag"           test -z "$ac_c_werror_flag" ||
3811                           || test ! -s conftest.err'           test ! -s conftest.err
3812    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5         } && test -s conftest$ac_exeext &&
3813    (eval $ac_try) 2>&5         $as_test_x conftest$ac_exeext; then
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; } &&  
          { ac_try='test -s conftest$ac_exeext'  
   { (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  
3814    ac_cv_lib_ttf_TT_Load_Glyph=yes    ac_cv_lib_ttf_TT_Load_Glyph=yes
3815  else  else
3816    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3817  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3818    
3819  ac_cv_lib_ttf_TT_Load_Glyph=no          ac_cv_lib_ttf_TT_Load_Glyph=no
3820  fi  fi
3821  rm -f conftest.err conftest.$ac_objext \  
3822    rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3823        conftest$ac_exeext conftest.$ac_ext        conftest$ac_exeext conftest.$ac_ext
3824  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
3825  fi  fi
3826  echo "$as_me:$LINENO: result: $ac_cv_lib_ttf_TT_Load_Glyph" >&5  { echo "$as_me:$LINENO: result: $ac_cv_lib_ttf_TT_Load_Glyph" >&5
3827  echo "${ECHO_T}$ac_cv_lib_ttf_TT_Load_Glyph" >&6  echo "${ECHO_T}$ac_cv_lib_ttf_TT_Load_Glyph" >&6; }
3828  if test $ac_cv_lib_ttf_TT_Load_Glyph = yes; then  if test $ac_cv_lib_ttf_TT_Load_Glyph = yes; then
3829    cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
3830  #define HAVE_LIBTTF 1  #define HAVE_LIBTTF 1
# Line 3453  Line 3839 
3839  # find out what the GD library uses  # find out what the GD library uses
3840    
3841    
3842  # Check whether --with-gd or --without-gd was given.  # Check whether --with-gd was given.
3843  if test "${with_gd+set}" = set; then  if test "${with_gd+set}" = set; then
3844    withval="$with_gd"    withval=$with_gd;
   
3845  else  else
3846    with_gd=yes    with_gd=yes
3847  fi;  fi
3848    
3849    
3850    
3851          # Extract the first word of "gdlib-config", so it can be a program name with args.          # Extract the first word of "gdlib-config", so it can be a program name with args.
3852  set dummy gdlib-config; ac_word=$2  set dummy gdlib-config; ac_word=$2
3853  echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
3854  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3855  if test "${ac_cv_path_GDLIB_CONFIG+set}" = set; then  if test "${ac_cv_path_GDLIB_CONFIG+set}" = set; then
3856    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3857  else  else
# Line 3481  Line 3867 
3867    IFS=$as_save_IFS    IFS=$as_save_IFS
3868    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
3869    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
3870    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
3871      ac_cv_path_GDLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"      ac_cv_path_GDLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3872      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
3873      break 2      break 2
3874    fi    fi
3875  done  done
3876  done  done
3877    IFS=$as_save_IFS
3878    
3879    ;;    ;;
3880  esac  esac
3881  fi  fi
3882  GDLIB_CONFIG=$ac_cv_path_GDLIB_CONFIG  GDLIB_CONFIG=$ac_cv_path_GDLIB_CONFIG
   
3883  if test -n "$GDLIB_CONFIG"; then  if test -n "$GDLIB_CONFIG"; then
3884    echo "$as_me:$LINENO: result: $GDLIB_CONFIG" >&5    { echo "$as_me:$LINENO: result: $GDLIB_CONFIG" >&5
3885  echo "${ECHO_T}$GDLIB_CONFIG" >&6  echo "${ECHO_T}$GDLIB_CONFIG" >&6; }
3886  else  else
3887    echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
3888  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6; }
3889  fi  fi
3890    
3891    
3892          if test -n "$GDLIB_CONFIG"; then          if test -n "$GDLIB_CONFIG"; then
3893                  GD_CFLAGS=`$GDLIB_CONFIG --cflags`                  GD_CFLAGS=`$GDLIB_CONFIG --cflags`
3894                  GD_LDFLAGS=`$GDLIB_CONFIG --ldflags`                  GD_LDFLAGS=`$GDLIB_CONFIG --ldflags`
# Line 3509  Line 3896 
3896          elif test -d "$with_gd"; then          elif test -d "$with_gd"; then
3897                  GD_CFLAGS="-I$with_gd/include"                  GD_CFLAGS="-I$with_gd/include"
3898                  GD_LDFLAGS="-L$with_gd/lib"                  GD_LDFLAGS="-L$with_gd/lib"
3899                  echo "$as_me:$LINENO: checking for inflateReset in -lz" >&5                  { echo "$as_me:$LINENO: checking for inflateReset in -lz" >&5
3900  echo $ECHO_N "checking for inflateReset in -lz... $ECHO_C" >&6  echo $ECHO_N "checking for inflateReset in -lz... $ECHO_C" >&6; }
3901  if test "${ac_cv_lib_z_inflateReset+set}" = set; then  if test "${ac_cv_lib_z_inflateReset+set}" = set; then
3902    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3903  else  else
# Line 3523  Line 3910 
3910  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
3911  /* end confdefs.h.  */  /* end confdefs.h.  */
3912    
3913  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any GCC internal prototype to avoid an error.
3914       Use char because int might match the return type of a GCC
3915       builtin and then its argument prototype would still apply.  */
3916  #ifdef __cplusplus  #ifdef __cplusplus
3917  extern "C"  extern "C"
3918  #endif  #endif
 /* We use char because int might match the return type of a gcc2  
    builtin and then its argument prototype would still apply.  */  
3919  char inflateReset ();  char inflateReset ();
3920  int  int
3921  main ()  main ()
3922  {  {
3923  inflateReset ();  return inflateReset ();
3924    ;    ;
3925    return 0;    return 0;
3926  }  }
3927  _ACEOF  _ACEOF
3928  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3929  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (ac_try="$ac_link"
3930    (eval $ac_link) 2>conftest.er1  case "(($ac_try" in
3931      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3932      *) ac_try_echo=$ac_try;;
3933    esac
3934    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3935      (eval "$ac_link") 2>conftest.er1
3936    ac_status=$?    ac_status=$?
3937    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
3938    rm -f conftest.er1    rm -f conftest.er1
3939    cat conftest.err >&5    cat conftest.err >&5
3940    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3941    (exit $ac_status); } &&    (exit $ac_status); } && {
3942           { ac_try='test -z "$ac_c_werror_flag"           test -z "$ac_c_werror_flag" ||
3943                           || test ! -s conftest.err'           test ! -s conftest.err
3944    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5         } && test -s conftest$ac_exeext &&
3945    (eval $ac_try) 2>&5         $as_test_x conftest$ac_exeext; then
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; } &&  
          { ac_try='test -s conftest$ac_exeext'  
   { (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  
3946    ac_cv_lib_z_inflateReset=yes    ac_cv_lib_z_inflateReset=yes
3947  else  else
3948    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3949  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3950    
3951  ac_cv_lib_z_inflateReset=no          ac_cv_lib_z_inflateReset=no
3952  fi  fi
3953  rm -f conftest.err conftest.$ac_objext \  
3954    rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3955        conftest$ac_exeext conftest.$ac_ext        conftest$ac_exeext conftest.$ac_ext
3956  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
3957  fi  fi
3958  echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateReset" >&5  { echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateReset" >&5
3959  echo "${ECHO_T}$ac_cv_lib_z_inflateReset" >&6  echo "${ECHO_T}$ac_cv_lib_z_inflateReset" >&6; }
3960  if test $ac_cv_lib_z_inflateReset = yes; then  if test $ac_cv_lib_z_inflateReset = yes; then
3961    GD_LIBS="-lz"    GD_LIBS="-lz"
3962  fi  fi
3963    
3964                  echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5                  { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
3965  echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6  echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
3966  if test "${ac_cv_lib_png_png_check_sig+set}" = set; then  if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
3967    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3968  else  else
# Line 3591  Line 3975 
3975  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
3976  /* end confdefs.h.  */  /* end confdefs.h.  */
3977    
3978  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any GCC internal prototype to avoid an error.
3979       Use char because int might match the return type of a GCC
3980       builtin and then its argument prototype would still apply.  */
3981  #ifdef __cplusplus  #ifdef __cplusplus
3982  extern "C"  extern "C"
3983  #endif  #endif
 /* We use char because int might match the return type of a gcc2  
    builtin and then its argument prototype would still apply.  */  
3984  char png_check_sig ();  char png_check_sig ();
3985  int  int
3986  main ()  main ()
3987  {  {
3988  png_check_sig ();  return png_check_sig ();
3989    ;    ;
3990    return 0;    return 0;
3991  }  }
3992  _ACEOF  _ACEOF
3993  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3994  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (ac_try="$ac_link"
3995    (eval $ac_link) 2>conftest.er1  case "(($ac_try" in
3996      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3997      *) ac_try_echo=$ac_try;;
3998    esac
3999    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4000      (eval "$ac_link") 2>conftest.er1
4001    ac_status=$?    ac_status=$?
4002    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
4003    rm -f conftest.er1    rm -f conftest.er1
4004    cat conftest.err >&5    cat conftest.err >&5
4005    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4006    (exit $ac_status); } &&    (exit $ac_status); } && {
4007           { ac_try='test -z "$ac_c_werror_flag"           test -z "$ac_c_werror_flag" ||
4008                           || test ! -s conftest.err'           test ! -s conftest.err
4009    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5         } && test -s conftest$ac_exeext &&
4010    (eval $ac_try) 2>&5         $as_test_x conftest$ac_exeext; then
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; } &&  
          { ac_try='test -s conftest$ac_exeext'  
   { (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  
4011    ac_cv_lib_png_png_check_sig=yes    ac_cv_lib_png_png_check_sig=yes
4012  else  else
4013    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4014  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4015    
4016  ac_cv_lib_png_png_check_sig=no          ac_cv_lib_png_png_check_sig=no
4017  fi  fi
4018  rm -f conftest.err conftest.$ac_objext \  
4019    rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4020        conftest$ac_exeext conftest.$ac_ext        conftest$ac_exeext conftest.$ac_ext
4021  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
4022  fi  fi
4023  echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5  { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
4024  echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6  echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
4025  if test $ac_cv_lib_png_png_check_sig = yes; then  if test $ac_cv_lib_png_png_check_sig = yes; then
4026    GD_LIBS="-lpng $GD_LIBS"    GD_LIBS="-lpng $GD_LIBS"
4027  fi  fi
4028    
4029          fi                  { echo "$as_me:$LINENO: checking for jpeg_CreateCompress in -ljpeg" >&5
4030    echo $ECHO_N "checking for jpeg_CreateCompress in -ljpeg... $ECHO_C" >&6; }
4031          save_CFLAGS="$CFLAGS"  if test "${ac_cv_lib_jpeg_jpeg_CreateCompress+set}" = set; then
         CFLAGS="$GD_CFLAGS $CFLAGS"  
         save_LDFLAGS="$LDFLAGS"  
         LDFLAGS="$GD_LDFLAGS $LDFLAGS"  
         save_LIBS="$LIBS"  
         LIBS="$GD_LIBS $LIBS"  
   
         echo "$as_me:$LINENO: checking for gdImageCreate in -lgd" >&5  
 echo $ECHO_N "checking for gdImageCreate in -lgd... $ECHO_C" >&6  
 if test "${ac_cv_lib_gd_gdImageCreate+set}" = set; then  
4032    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4033  else  else
4034    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
4035  LIBS="-lgd $GD_LIBS $LIBS"  LIBS="-ljpeg $GD_LIBS $LIBS"
4036  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
4037  /* confdefs.h.  */  /* confdefs.h.  */
4038  _ACEOF  _ACEOF
# Line 3668  Line 4040 
4040  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
4041  /* end confdefs.h.  */  /* end confdefs.h.  */
4042    
4043  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any GCC internal prototype to avoid an error.
4044       Use char because int might match the return type of a GCC
4045       builtin and then its argument prototype would still apply.  */
4046  #ifdef __cplusplus  #ifdef __cplusplus
4047  extern "C"  extern "C"
4048  #endif  #endif
4049  /* We use char because int might match the return type of a gcc2  char jpeg_CreateCompress ();
    builtin and then its argument prototype would still apply.  */  
 char gdImageCreate ();  
4050  int  int
4051  main ()  main ()
4052  {  {
4053  gdImageCreate ();  return jpeg_CreateCompress ();
4054    ;    ;
4055    return 0;    return 0;
4056  }  }
4057  _ACEOF  _ACEOF
4058  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4059  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (ac_try="$ac_link"
4060    (eval $ac_link) 2>conftest.er1  case "(($ac_try" in
4061      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4062      *) ac_try_echo=$ac_try;;
4063    esac
4064    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4065      (eval "$ac_link") 2>conftest.er1
4066    ac_status=$?    ac_status=$?
40