source: trunk/third/gtk-doc/configure @ 20745

Revision 20745, 144.5 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r20744, which included commits to RCS files with non-trunk default branches.
  • Property svn:executable set to *
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.57 for gtk-doc 1.2.
4#
5# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gtk-doc>.
6#
7# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8# Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization.  ##
13## --------------------- ##
14
15# Be Bourne compatible
16if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17  emulate sh
18  NULLCMD=:
19  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20  # is contrary to our usage.  Disable this feature.
21  alias -g '${1+"$@"}'='"$@"'
22elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23  set -o posix
24fi
25
26# Support unset when possible.
27if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
28  as_unset=unset
29else
30  as_unset=false
31fi
32
33
34# Work around bugs in pre-3.0 UWIN ksh.
35$as_unset ENV MAIL MAILPATH
36PS1='$ '
37PS2='> '
38PS4='+ '
39
40# NLS nuisances.
41for as_var in \
42  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44  LC_TELEPHONE LC_TIME
45do
46  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47    eval $as_var=C; export $as_var
48  else
49    $as_unset $as_var
50  fi
51done
52
53# Required to use basename.
54if expr a : '\(a\)' >/dev/null 2>&1; then
55  as_expr=expr
56else
57  as_expr=false
58fi
59
60if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61  as_basename=basename
62else
63  as_basename=false
64fi
65
66
67# Name of the executable.
68as_me=`$as_basename "$0" ||
69$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70         X"$0" : 'X\(//\)$' \| \
71         X"$0" : 'X\(/\)$' \| \
72         .     : '\(.\)' 2>/dev/null ||
73echo X/"$0" |
74    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75          /^X\/\(\/\/\)$/{ s//\1/; q; }
76          /^X\/\(\/\).*/{ s//\1/; q; }
77          s/.*/./; q'`
78
79
80# PATH needs CR, and LINENO needs CR and PATH.
81# Avoid depending upon Character Ranges.
82as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85as_cr_digits='0123456789'
86as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88# The user is always right.
89if test "${PATH_SEPARATOR+set}" != set; then
90  echo "#! /bin/sh" >conf$$.sh
91  echo  "exit 0"   >>conf$$.sh
92  chmod +x conf$$.sh
93  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94    PATH_SEPARATOR=';'
95  else
96    PATH_SEPARATOR=:
97  fi
98  rm -f conf$$.sh
99fi
100
101
102  as_lineno_1=$LINENO
103  as_lineno_2=$LINENO
104  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105  test "x$as_lineno_1" != "x$as_lineno_2" &&
106  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107  # Find who we are.  Look in the path if we contain no path at all
108  # relative or not.
109  case $0 in
110    *[\\/]* ) as_myself=$0 ;;
111    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112for as_dir in $PATH
113do
114  IFS=$as_save_IFS
115  test -z "$as_dir" && as_dir=.
116  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117done
118
119       ;;
120  esac
121  # We did not find ourselves, most probably we were run as `sh COMMAND'
122  # in which case we are not to be found in the path.
123  if test "x$as_myself" = x; then
124    as_myself=$0
125  fi
126  if test ! -f "$as_myself"; then
127    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128   { (exit 1); exit 1; }; }
129  fi
130  case $CONFIG_SHELL in
131  '')
132    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134do
135  IFS=$as_save_IFS
136  test -z "$as_dir" && as_dir=.
137  for as_base in sh bash ksh sh5; do
138         case $as_dir in
139         /*)
140           if ("$as_dir/$as_base" -c '
141  as_lineno_1=$LINENO
142  as_lineno_2=$LINENO
143  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144  test "x$as_lineno_1" != "x$as_lineno_2" &&
145  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148             CONFIG_SHELL=$as_dir/$as_base
149             export CONFIG_SHELL
150             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151           fi;;
152         esac
153       done
154done
155;;
156  esac
157
158  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159  # uniformly replaced by the line number.  The first 'sed' inserts a
160  # line-number line before each line; the second 'sed' does the real
161  # work.  The second script uses 'N' to pair each line-number line
162  # with the numbered line, and appends trailing '-' during
163  # substitution so that $LINENO is not a special case at line end.
164  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166  sed '=' <$as_myself |
167    sed '
168      N
169      s,$,-,
170      : loop
171      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172      t loop
173      s,-$,,
174      s,^['$as_cr_digits']*\n,,
175    ' >$as_me.lineno &&
176  chmod +x $as_me.lineno ||
177    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178   { (exit 1); exit 1; }; }
179
180  # Don't try to exec as it changes $[0], causing all sort of problems
181  # (the dirname of $[0] is not the place where we might find the
182  # original and so on.  Autoconf is especially sensible to this).
183  . ./$as_me.lineno
184  # Exit status is that of the last command.
185  exit
186}
187
188
189case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190  *c*,-n*) ECHO_N= ECHO_C='
191' ECHO_T='      ' ;;
192  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
194esac
195
196if expr a : '\(a\)' >/dev/null 2>&1; then
197  as_expr=expr
198else
199  as_expr=false
200fi
201
202rm -f conf$$ conf$$.exe conf$$.file
203echo >conf$$.file
204if ln -s conf$$.file conf$$ 2>/dev/null; then
205  # We could just check for DJGPP; but this test a) works b) is more generic
206  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207  if test -f conf$$.exe; then
208    # Don't use ln at all; we don't have any links
209    as_ln_s='cp -p'
210  else
211    as_ln_s='ln -s'
212  fi
213elif ln conf$$.file conf$$ 2>/dev/null; then
214  as_ln_s=ln
215else
216  as_ln_s='cp -p'
217fi
218rm -f conf$$ conf$$.exe conf$$.file
219
220if mkdir -p . 2>/dev/null; then
221  as_mkdir_p=:
222else
223  as_mkdir_p=false
224fi
225
226as_executable_p="test -f"
227
228# Sed expression to map a string onto a valid CPP name.
229as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
230
231# Sed expression to map a string onto a valid variable name.
232as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
233
234
235# IFS
236# We need space, tab and new line, in precisely that order.
237as_nl='
238'
239IFS="   $as_nl"
240
241# CDPATH.
242$as_unset CDPATH
243
244
245# Name of the host.
246# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247# so uname gets run too.
248ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249
250exec 6>&1
251
252#
253# Initializations.
254#
255ac_default_prefix=/usr/local
256ac_config_libobj_dir=.
257cross_compiling=no
258subdirs=
259MFLAGS=
260MAKEFLAGS=
261SHELL=${CONFIG_SHELL-/bin/sh}
262
263# Maximum number of lines to put in a shell here document.
264# This variable seems obsolete.  It should probably be removed, and
265# only ac_max_sed_lines should be used.
266: ${ac_max_here_lines=38}
267
268# Identity of this package.
269PACKAGE_NAME='gtk-doc'
270PACKAGE_TARNAME='gtk-doc'
271PACKAGE_VERSION='1.2'
272PACKAGE_STRING='gtk-doc 1.2'
273PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gtk-doc'
274
275ac_unique_file="gtk-doc.dsl.in"
276ac_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 PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE PERL JADE SGML_FORMAT_TYPE XSLTPROC XML_CATALOG_FILE XMLCATALOG PACKAGE_DATA_DIR LIBOBJS LTLIBOBJS'
277ac_subst_files=''
278
279# Initialize some variables set by options.
280ac_init_help=
281ac_init_version=false
282# The variables have the same names as the options, with
283# dashes changed to underlines.
284cache_file=/dev/null
285exec_prefix=NONE
286no_create=
287no_recursion=
288prefix=NONE
289program_prefix=NONE
290program_suffix=NONE
291program_transform_name=s,x,x,
292silent=
293site=
294srcdir=
295verbose=
296x_includes=NONE
297x_libraries=NONE
298
299# Installation directory options.
300# These are left unexpanded so users can "make install exec_prefix=/foo"
301# and all the variables that are supposed to be based on exec_prefix
302# by default will actually change.
303# Use braces instead of parens because sh, perl, etc. also accept them.
304bindir='${exec_prefix}/bin'
305sbindir='${exec_prefix}/sbin'
306libexecdir='${exec_prefix}/libexec'
307datadir='${prefix}/share'
308sysconfdir='${prefix}/etc'
309sharedstatedir='${prefix}/com'
310localstatedir='${prefix}/var'
311libdir='${exec_prefix}/lib'
312includedir='${prefix}/include'
313oldincludedir='/usr/include'
314infodir='${prefix}/info'
315mandir='${prefix}/man'
316
317ac_prev=
318for ac_option
319do
320  # If the previous option needs an argument, assign it.
321  if test -n "$ac_prev"; then
322    eval "$ac_prev=\$ac_option"
323    ac_prev=
324    continue
325  fi
326
327  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328
329  # Accept the important Cygnus configure options, so we can diagnose typos.
330
331  case $ac_option in
332
333  -bindir | --bindir | --bindi | --bind | --bin | --bi)
334    ac_prev=bindir ;;
335  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
336    bindir=$ac_optarg ;;
337
338  -build | --build | --buil | --bui | --bu)
339    ac_prev=build_alias ;;
340  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341    build_alias=$ac_optarg ;;
342
343  -cache-file | --cache-file | --cache-fil | --cache-fi \
344  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345    ac_prev=cache_file ;;
346  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348    cache_file=$ac_optarg ;;
349
350  --config-cache | -C)
351    cache_file=config.cache ;;
352
353  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354    ac_prev=datadir ;;
355  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356  | --da=*)
357    datadir=$ac_optarg ;;
358
359  -disable-* | --disable-*)
360    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361    # Reject names that are not valid shell variable names.
362    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364   { (exit 1); exit 1; }; }
365    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366    eval "enable_$ac_feature=no" ;;
367
368  -enable-* | --enable-*)
369    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370    # Reject names that are not valid shell variable names.
371    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373   { (exit 1); exit 1; }; }
374    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375    case $ac_option in
376      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377      *) ac_optarg=yes ;;
378    esac
379    eval "enable_$ac_feature='$ac_optarg'" ;;
380
381  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383  | --exec | --exe | --ex)
384    ac_prev=exec_prefix ;;
385  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387  | --exec=* | --exe=* | --ex=*)
388    exec_prefix=$ac_optarg ;;
389
390  -gas | --gas | --ga | --g)
391    # Obsolete; use --with-gas.
392    with_gas=yes ;;
393
394  -help | --help | --hel | --he | -h)
395    ac_init_help=long ;;
396  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397    ac_init_help=recursive ;;
398  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399    ac_init_help=short ;;
400
401  -host | --host | --hos | --ho)
402    ac_prev=host_alias ;;
403  -host=* | --host=* | --hos=* | --ho=*)
404    host_alias=$ac_optarg ;;
405
406  -includedir | --includedir | --includedi | --included | --include \
407  | --includ | --inclu | --incl | --inc)
408    ac_prev=includedir ;;
409  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410  | --includ=* | --inclu=* | --incl=* | --inc=*)
411    includedir=$ac_optarg ;;
412
413  -infodir | --infodir | --infodi | --infod | --info | --inf)
414    ac_prev=infodir ;;
415  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416    infodir=$ac_optarg ;;
417
418  -libdir | --libdir | --libdi | --libd)
419    ac_prev=libdir ;;
420  -libdir=* | --libdir=* | --libdi=* | --libd=*)
421    libdir=$ac_optarg ;;
422
423  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424  | --libexe | --libex | --libe)
425    ac_prev=libexecdir ;;
426  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427  | --libexe=* | --libex=* | --libe=*)
428    libexecdir=$ac_optarg ;;
429
430  -localstatedir | --localstatedir | --localstatedi | --localstated \
431  | --localstate | --localstat | --localsta | --localst \
432  | --locals | --local | --loca | --loc | --lo)
433    ac_prev=localstatedir ;;
434  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437    localstatedir=$ac_optarg ;;
438
439  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440    ac_prev=mandir ;;
441  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
442    mandir=$ac_optarg ;;
443
444  -nfp | --nfp | --nf)
445    # Obsolete; use --without-fp.
446    with_fp=no ;;
447
448  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449  | --no-cr | --no-c | -n)
450    no_create=yes ;;
451
452  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
454    no_recursion=yes ;;
455
456  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458  | --oldin | --oldi | --old | --ol | --o)
459    ac_prev=oldincludedir ;;
460  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463    oldincludedir=$ac_optarg ;;
464
465  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466    ac_prev=prefix ;;
467  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
468    prefix=$ac_optarg ;;
469
470  -program-prefix | --program-prefix | --program-prefi | --program-pref \
471  | --program-pre | --program-pr | --program-p)
472    ac_prev=program_prefix ;;
473  -program-prefix=* | --program-prefix=* | --program-prefi=* \
474  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475    program_prefix=$ac_optarg ;;
476
477  -program-suffix | --program-suffix | --program-suffi | --program-suff \
478  | --program-suf | --program-su | --program-s)
479    ac_prev=program_suffix ;;
480  -program-suffix=* | --program-suffix=* | --program-suffi=* \
481  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482    program_suffix=$ac_optarg ;;
483
484  -program-transform-name | --program-transform-name \
485  | --program-transform-nam | --program-transform-na \
486  | --program-transform-n | --program-transform- \
487  | --program-transform | --program-transfor \
488  | --program-transfo | --program-transf \
489  | --program-trans | --program-tran \
490  | --progr-tra | --program-tr | --program-t)
491    ac_prev=program_transform_name ;;
492  -program-transform-name=* | --program-transform-name=* \
493  | --program-transform-nam=* | --program-transform-na=* \
494  | --program-transform-n=* | --program-transform-=* \
495  | --program-transform=* | --program-transfor=* \
496  | --program-transfo=* | --program-transf=* \
497  | --program-trans=* | --program-tran=* \
498  | --progr-tra=* | --program-tr=* | --program-t=*)
499    program_transform_name=$ac_optarg ;;
500
501  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502  | -silent | --silent | --silen | --sile | --sil)
503    silent=yes ;;
504
505  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506    ac_prev=sbindir ;;
507  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508  | --sbi=* | --sb=*)
509    sbindir=$ac_optarg ;;
510
511  -sharedstatedir | --sharedstatedir | --sharedstatedi \
512  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513  | --sharedst | --shareds | --shared | --share | --shar \
514  | --sha | --sh)
515    ac_prev=sharedstatedir ;;
516  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519  | --sha=* | --sh=*)
520    sharedstatedir=$ac_optarg ;;
521
522  -site | --site | --sit)
523    ac_prev=site ;;
524  -site=* | --site=* | --sit=*)
525    site=$ac_optarg ;;
526
527  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528    ac_prev=srcdir ;;
529  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
530    srcdir=$ac_optarg ;;
531
532  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533  | --syscon | --sysco | --sysc | --sys | --sy)
534    ac_prev=sysconfdir ;;
535  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537    sysconfdir=$ac_optarg ;;
538
539  -target | --target | --targe | --targ | --tar | --ta | --t)
540    ac_prev=target_alias ;;
541  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542    target_alias=$ac_optarg ;;
543
544  -v | -verbose | --verbose | --verbos | --verbo | --verb)
545    verbose=yes ;;
546
547  -version | --version | --versio | --versi | --vers | -V)
548    ac_init_version=: ;;
549
550  -with-* | --with-*)
551    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552    # Reject names that are not valid shell variable names.
553    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554      { echo "$as_me: error: invalid package name: $ac_package" >&2
555   { (exit 1); exit 1; }; }
556    ac_package=`echo $ac_package| sed 's/-/_/g'`
557    case $ac_option in
558      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559      *) ac_optarg=yes ;;
560    esac
561    eval "with_$ac_package='$ac_optarg'" ;;
562
563  -without-* | --without-*)
564    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565    # Reject names that are not valid shell variable names.
566    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567      { echo "$as_me: error: invalid package name: $ac_package" >&2
568   { (exit 1); exit 1; }; }
569    ac_package=`echo $ac_package | sed 's/-/_/g'`
570    eval "with_$ac_package=no" ;;
571
572  --x)
573    # Obsolete; use --with-x.
574    with_x=yes ;;
575
576  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577  | --x-incl | --x-inc | --x-in | --x-i)
578    ac_prev=x_includes ;;
579  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581    x_includes=$ac_optarg ;;
582
583  -x-libraries | --x-libraries | --x-librarie | --x-librari \
584  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585    ac_prev=x_libraries ;;
586  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588    x_libraries=$ac_optarg ;;
589
590  -*) { echo "$as_me: error: unrecognized option: $ac_option
591Try \`$0 --help' for more information." >&2
592   { (exit 1); exit 1; }; }
593    ;;
594
595  *=*)
596    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597    # Reject names that are not valid shell variable names.
598    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600   { (exit 1); exit 1; }; }
601    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602    eval "$ac_envvar='$ac_optarg'"
603    export $ac_envvar ;;
604
605  *)
606    # FIXME: should be removed in autoconf 3.0.
607    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
611    ;;
612
613  esac
614done
615
616if test -n "$ac_prev"; then
617  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618  { echo "$as_me: error: missing argument to $ac_option" >&2
619   { (exit 1); exit 1; }; }
620fi
621
622# Be sure to have absolute paths.
623for ac_var in exec_prefix prefix
624do
625  eval ac_val=$`echo $ac_var`
626  case $ac_val in
627    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629   { (exit 1); exit 1; }; };;
630  esac
631done
632
633# Be sure to have absolute paths.
634for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635              localstatedir libdir includedir oldincludedir infodir mandir
636do
637  eval ac_val=$`echo $ac_var`
638  case $ac_val in
639    [\\/$]* | ?:[\\/]* ) ;;
640    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641   { (exit 1); exit 1; }; };;
642  esac
643done
644
645# There might be people who depend on the old broken behavior: `$host'
646# used to hold the argument of --host etc.
647# FIXME: To remove some day.
648build=$build_alias
649host=$host_alias
650target=$target_alias
651
652# FIXME: To remove some day.
653if test "x$host_alias" != x; then
654  if test "x$build_alias" = x; then
655    cross_compiling=maybe
656    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657    If a cross compiler is detected then cross compile mode will be used." >&2
658  elif test "x$build_alias" != "x$host_alias"; then
659    cross_compiling=yes
660  fi
661fi
662
663ac_tool_prefix=
664test -n "$host_alias" && ac_tool_prefix=$host_alias-
665
666test "$silent" = yes && exec 6>/dev/null
667
668
669# Find the source files, if location was not specified.
670if test -z "$srcdir"; then
671  ac_srcdir_defaulted=yes
672  # Try the directory containing this script, then its parent.
673  ac_confdir=`(dirname "$0") 2>/dev/null ||
674$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675         X"$0" : 'X\(//\)[^/]' \| \
676         X"$0" : 'X\(//\)$' \| \
677         X"$0" : 'X\(/\)' \| \
678         .     : '\(.\)' 2>/dev/null ||
679echo X"$0" |
680    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682          /^X\(\/\/\)$/{ s//\1/; q; }
683          /^X\(\/\).*/{ s//\1/; q; }
684          s/.*/./; q'`
685  srcdir=$ac_confdir
686  if test ! -r $srcdir/$ac_unique_file; then
687    srcdir=..
688  fi
689else
690  ac_srcdir_defaulted=no
691fi
692if test ! -r $srcdir/$ac_unique_file; then
693  if test "$ac_srcdir_defaulted" = yes; then
694    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695   { (exit 1); exit 1; }; }
696  else
697    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698   { (exit 1); exit 1; }; }
699  fi
700fi
701(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703   { (exit 1); exit 1; }; }
704srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705ac_env_build_alias_set=${build_alias+set}
706ac_env_build_alias_value=$build_alias
707ac_cv_env_build_alias_set=${build_alias+set}
708ac_cv_env_build_alias_value=$build_alias
709ac_env_host_alias_set=${host_alias+set}
710ac_env_host_alias_value=$host_alias
711ac_cv_env_host_alias_set=${host_alias+set}
712ac_cv_env_host_alias_value=$host_alias
713ac_env_target_alias_set=${target_alias+set}
714ac_env_target_alias_value=$target_alias
715ac_cv_env_target_alias_set=${target_alias+set}
716ac_cv_env_target_alias_value=$target_alias
717ac_env_CC_set=${CC+set}
718ac_env_CC_value=$CC
719ac_cv_env_CC_set=${CC+set}
720ac_cv_env_CC_value=$CC
721ac_env_CFLAGS_set=${CFLAGS+set}
722ac_env_CFLAGS_value=$CFLAGS
723ac_cv_env_CFLAGS_set=${CFLAGS+set}
724ac_cv_env_CFLAGS_value=$CFLAGS
725ac_env_LDFLAGS_set=${LDFLAGS+set}
726ac_env_LDFLAGS_value=$LDFLAGS
727ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
728ac_cv_env_LDFLAGS_value=$LDFLAGS
729ac_env_CPPFLAGS_set=${CPPFLAGS+set}
730ac_env_CPPFLAGS_value=$CPPFLAGS
731ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
732ac_cv_env_CPPFLAGS_value=$CPPFLAGS
733
734#
735# Report the --help message.
736#
737if test "$ac_init_help" = "long"; then
738  # Omit some internal or obsolete options to make the list less imposing.
739  # This message is too long to be a string in the A/UX 3.1 sh.
740  cat <<_ACEOF
741\`configure' configures gtk-doc 1.2 to adapt to many kinds of systems.
742
743Usage: $0 [OPTION]... [VAR=VALUE]...
744
745To assign environment variables (e.g., CC, CFLAGS...), specify them as
746VAR=VALUE.  See below for descriptions of some of the useful variables.
747
748Defaults for the options are specified in brackets.
749
750Configuration:
751  -h, --help              display this help and exit
752      --help=short        display options specific to this package
753      --help=recursive    display the short help of all the included packages
754  -V, --version           display version information and exit
755  -q, --quiet, --silent   do not print \`checking...' messages
756      --cache-file=FILE   cache test results in FILE [disabled]
757  -C, --config-cache      alias for \`--cache-file=config.cache'
758  -n, --no-create         do not create output files
759      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
760
761_ACEOF
762
763  cat <<_ACEOF
764Installation directories:
765  --prefix=PREFIX         install architecture-independent files in PREFIX
766                          [$ac_default_prefix]
767  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
768                          [PREFIX]
769
770By default, \`make install' will install all the files in
771\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
772an installation prefix other than \`$ac_default_prefix' using \`--prefix',
773for instance \`--prefix=\$HOME'.
774
775For better control, use the options below.
776
777Fine tuning of the installation directories:
778  --bindir=DIR           user executables [EPREFIX/bin]
779  --sbindir=DIR          system admin executables [EPREFIX/sbin]
780  --libexecdir=DIR       program executables [EPREFIX/libexec]
781  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
782  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
783  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
784  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
785  --libdir=DIR           object code libraries [EPREFIX/lib]
786  --includedir=DIR       C header files [PREFIX/include]
787  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
788  --infodir=DIR          info documentation [PREFIX/info]
789  --mandir=DIR           man documentation [PREFIX/man]
790_ACEOF
791
792  cat <<\_ACEOF
793
794Program names:
795  --program-prefix=PREFIX            prepend PREFIX to installed program names
796  --program-suffix=SUFFIX            append SUFFIX to installed program names
797  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
798_ACEOF
799fi
800
801if test -n "$ac_init_help"; then
802  case $ac_init_help in
803     short | recursive ) echo "Configuration of gtk-doc 1.2:";;
804   esac
805  cat <<\_ACEOF
806
807Optional Features:
808  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
809  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
810  --enable-maintainer-mode enable make rules and dependencies not useful
811                          (and sometimes confusing) to the casual installer
812  --disable-dependency-tracking Speeds up one-time builds
813  --enable-dependency-tracking  Do not reject slow dependency extractors
814
815Optional Packages:
816  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
817  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
818  --with-xml-catalog=CATALOG
819                          path to xml catalog to use
820
821Some influential environment variables:
822  CC          C compiler command
823  CFLAGS      C compiler flags
824  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
825              nonstandard directory <lib dir>
826  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
827              headers in a nonstandard directory <include dir>
828
829Use these variables to override the choices made by `configure' or to help
830it to find libraries and programs with nonstandard names/locations.
831
832Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gtk-doc>.
833_ACEOF
834fi
835
836if test "$ac_init_help" = "recursive"; then
837  # If there are subdirs, report their specific --help.
838  ac_popdir=`pwd`
839  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
840    test -d $ac_dir || continue
841    ac_builddir=.
842
843if test "$ac_dir" != .; then
844  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
845  # A "../" for each directory in $ac_dir_suffix.
846  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
847else
848  ac_dir_suffix= ac_top_builddir=
849fi
850
851case $srcdir in
852  .)  # No --srcdir option.  We are building in place.
853    ac_srcdir=.
854    if test -z "$ac_top_builddir"; then
855       ac_top_srcdir=.
856    else
857       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
858    fi ;;
859  [\\/]* | ?:[\\/]* )  # Absolute path.
860    ac_srcdir=$srcdir$ac_dir_suffix;
861    ac_top_srcdir=$srcdir ;;
862  *) # Relative path.
863    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
864    ac_top_srcdir=$ac_top_builddir$srcdir ;;
865esac
866# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
867# absolute.
868ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
869ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
870ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
871ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
872
873    cd $ac_dir
874    # Check for guested configure; otherwise get Cygnus style configure.
875    if test -f $ac_srcdir/configure.gnu; then
876      echo
877      $SHELL $ac_srcdir/configure.gnu  --help=recursive
878    elif test -f $ac_srcdir/configure; then
879      echo
880      $SHELL $ac_srcdir/configure  --help=recursive
881    elif test -f $ac_srcdir/configure.ac ||
882           test -f $ac_srcdir/configure.in; then
883      echo
884      $ac_configure --help
885    else
886      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
887    fi
888    cd $ac_popdir
889  done
890fi
891
892test -n "$ac_init_help" && exit 0
893if $ac_init_version; then
894  cat <<\_ACEOF
895gtk-doc configure 1.2
896generated by GNU Autoconf 2.57
897
898Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
899Free Software Foundation, Inc.
900This configure script is free software; the Free Software Foundation
901gives unlimited permission to copy, distribute and modify it.
902_ACEOF
903  exit 0
904fi
905exec 5>config.log
906cat >&5 <<_ACEOF
907This file contains any messages produced by compilers while
908running configure, to aid debugging if configure makes a mistake.
909
910It was created by gtk-doc $as_me 1.2, which was
911generated by GNU Autoconf 2.57.  Invocation command line was
912
913  $ $0 $@
914
915_ACEOF
916{
917cat <<_ASUNAME
918## --------- ##
919## Platform. ##
920## --------- ##
921
922hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
923uname -m = `(uname -m) 2>/dev/null || echo unknown`
924uname -r = `(uname -r) 2>/dev/null || echo unknown`
925uname -s = `(uname -s) 2>/dev/null || echo unknown`
926uname -v = `(uname -v) 2>/dev/null || echo unknown`
927
928/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
929/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
930
931/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
932/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
933/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
934hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
935/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
936/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
937/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
938
939_ASUNAME
940
941as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
942for as_dir in $PATH
943do
944  IFS=$as_save_IFS
945  test -z "$as_dir" && as_dir=.
946  echo "PATH: $as_dir"
947done
948
949} >&5
950
951cat >&5 <<_ACEOF
952
953
954## ----------- ##
955## Core tests. ##
956## ----------- ##
957
958_ACEOF
959
960
961# Keep a trace of the command line.
962# Strip out --no-create and --no-recursion so they do not pile up.
963# Strip out --silent because we don't want to record it for future runs.
964# Also quote any args containing shell meta-characters.
965# Make two passes to allow for proper duplicate-argument suppression.
966ac_configure_args=
967ac_configure_args0=
968ac_configure_args1=
969ac_sep=
970ac_must_keep_next=false
971for ac_pass in 1 2
972do
973  for ac_arg
974  do
975    case $ac_arg in
976    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
977    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
978    | -silent | --silent | --silen | --sile | --sil)
979      continue ;;
980    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
981      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
982    esac
983    case $ac_pass in
984    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
985    2)
986      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
987      if test $ac_must_keep_next = true; then
988        ac_must_keep_next=false # Got value, back to normal.
989      else
990        case $ac_arg in
991          *=* | --config-cache | -C | -disable-* | --disable-* \
992          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
993          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
994          | -with-* | --with-* | -without-* | --without-* | --x)
995            case "$ac_configure_args0 " in
996              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
997            esac
998            ;;
999          -* ) ac_must_keep_next=true ;;
1000        esac
1001      fi
1002      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1003      # Get rid of the leading space.
1004      ac_sep=" "
1005      ;;
1006    esac
1007  done
1008done
1009$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1010$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1011
1012# When interrupted or exit'd, cleanup temporary files, and complete
1013# config.log.  We remove comments because anyway the quotes in there
1014# would cause problems or look ugly.
1015# WARNING: Be sure not to use single quotes in there, as some shells,
1016# such as our DU 5.0 friend, will then `close' the trap.
1017trap 'exit_status=$?
1018  # Save into config.log some information that might help in debugging.
1019  {
1020    echo
1021
1022    cat <<\_ASBOX
1023## ---------------- ##
1024## Cache variables. ##
1025## ---------------- ##
1026_ASBOX
1027    echo
1028    # The following way of writing the cache mishandles newlines in values,
1029{
1030  (set) 2>&1 |
1031    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1032    *ac_space=\ *)
1033      sed -n \
1034        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1035          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1036      ;;
1037    *)
1038      sed -n \
1039        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1040      ;;
1041    esac;
1042}
1043    echo
1044
1045    cat <<\_ASBOX
1046## ----------------- ##
1047## Output variables. ##
1048## ----------------- ##
1049_ASBOX
1050    echo
1051    for ac_var in $ac_subst_vars
1052    do
1053      eval ac_val=$`echo $ac_var`
1054      echo "$ac_var='"'"'$ac_val'"'"'"
1055    done | sort
1056    echo
1057
1058    if test -n "$ac_subst_files"; then
1059      cat <<\_ASBOX
1060## ------------- ##
1061## Output files. ##
1062## ------------- ##
1063_ASBOX
1064      echo
1065      for ac_var in $ac_subst_files
1066      do
1067        eval ac_val=$`echo $ac_var`
1068        echo "$ac_var='"'"'$ac_val'"'"'"
1069      done | sort
1070      echo
1071    fi
1072
1073    if test -s confdefs.h; then
1074      cat <<\_ASBOX
1075## ----------- ##
1076## confdefs.h. ##
1077## ----------- ##
1078_ASBOX
1079      echo
1080      sed "/^$/d" confdefs.h | sort
1081      echo
1082    fi
1083    test "$ac_signal" != 0 &&
1084      echo "$as_me: caught signal $ac_signal"
1085    echo "$as_me: exit $exit_status"
1086  } >&5
1087  rm -f core core.* *.core &&
1088  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1089    exit $exit_status
1090     ' 0
1091for ac_signal in 1 2 13 15; do
1092  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1093done
1094ac_signal=0
1095
1096# confdefs.h avoids OS command line length limits that DEFS can exceed.
1097rm -rf conftest* confdefs.h
1098# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1099echo >confdefs.h
1100
1101# Predefined preprocessor variables.
1102
1103cat >>confdefs.h <<_ACEOF
1104#define PACKAGE_NAME "$PACKAGE_NAME"
1105_ACEOF
1106
1107
1108cat >>confdefs.h <<_ACEOF
1109#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1110_ACEOF
1111
1112
1113cat >>confdefs.h <<_ACEOF
1114#define PACKAGE_VERSION "$PACKAGE_VERSION"
1115_ACEOF
1116
1117
1118cat >>confdefs.h <<_ACEOF
1119#define PACKAGE_STRING "$PACKAGE_STRING"
1120_ACEOF
1121
1122
1123cat >>confdefs.h <<_ACEOF
1124#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1125_ACEOF
1126
1127
1128# Let the site file select an alternate cache file if it wants to.
1129# Prefer explicitly selected file to automatically selected ones.
1130if test -z "$CONFIG_SITE"; then
1131  if test "x$prefix" != xNONE; then
1132    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1133  else
1134    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1135  fi
1136fi
1137for ac_site_file in $CONFIG_SITE; do
1138  if test -r "$ac_site_file"; then
1139    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1140echo "$as_me: loading site script $ac_site_file" >&6;}
1141    sed 's/^/| /' "$ac_site_file" >&5
1142    . "$ac_site_file"
1143  fi
1144done
1145
1146if test -r "$cache_file"; then
1147  # Some versions of bash will fail to source /dev/null (special
1148  # files actually), so we avoid doing that.
1149  if test -f "$cache_file"; then
1150    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1151echo "$as_me: loading cache $cache_file" >&6;}
1152    case $cache_file in
1153      [\\/]* | ?:[\\/]* ) . $cache_file;;
1154      *)                      . ./$cache_file;;
1155    esac
1156  fi
1157else
1158  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1159echo "$as_me: creating cache $cache_file" >&6;}
1160  >$cache_file
1161fi
1162
1163# Check that the precious variables saved in the cache have kept the same
1164# value.
1165ac_cache_corrupted=false
1166for ac_var in `(set) 2>&1 |
1167               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1168  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1169  eval ac_new_set=\$ac_env_${ac_var}_set
1170  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1171  eval ac_new_val="\$ac_env_${ac_var}_value"
1172  case $ac_old_set,$ac_new_set in
1173    set,)
1174      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1175echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1176      ac_cache_corrupted=: ;;
1177    ,set)
1178      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1179echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1180      ac_cache_corrupted=: ;;
1181    ,);;
1182    *)
1183      if test "x$ac_old_val" != "x$ac_new_val"; then
1184        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1185echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1186        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1187echo "$as_me:   former value:  $ac_old_val" >&2;}
1188        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1189echo "$as_me:   current value: $ac_new_val" >&2;}
1190        ac_cache_corrupted=:
1191      fi;;
1192  esac
1193  # Pass precious variables to config.status.
1194  if test "$ac_new_set" = set; then
1195    case $ac_new_val in
1196    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1197      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1198    *) ac_arg=$ac_var=$ac_new_val ;;
1199    esac
1200    case " $ac_configure_args " in
1201      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1202      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1203    esac
1204  fi
1205done
1206if $ac_cache_corrupted; then
1207  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1208echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1209  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1210echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1211   { (exit 1); exit 1; }; }
1212fi
1213
1214ac_ext=c
1215ac_cpp='$CPP $CPPFLAGS'
1216ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1217ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1218ac_compiler_gnu=$ac_cv_c_compiler_gnu
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249am__api_version="1.6"
1250ac_aux_dir=
1251for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1252  if test -f $ac_dir/install-sh; then
1253    ac_aux_dir=$ac_dir
1254    ac_install_sh="$ac_aux_dir/install-sh -c"
1255    break
1256  elif test -f $ac_dir/install.sh; then
1257    ac_aux_dir=$ac_dir
1258    ac_install_sh="$ac_aux_dir/install.sh -c"
1259    break
1260  elif test -f $ac_dir/shtool; then
1261    ac_aux_dir=$ac_dir
1262    ac_install_sh="$ac_aux_dir/shtool install -c"
1263    break
1264  fi
1265done
1266if test -z "$ac_aux_dir"; then
1267  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1268echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1269   { (exit 1); exit 1; }; }
1270fi
1271ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1272ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1273ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1274
1275# Find a good install program.  We prefer a C program (faster),
1276# so one script is as good as another.  But avoid the broken or
1277# incompatible versions:
1278# SysV /etc/install, /usr/sbin/install
1279# SunOS /usr/etc/install
1280# IRIX /sbin/install
1281# AIX /bin/install
1282# AmigaOS /C/install, which installs bootblocks on floppy discs
1283# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1284# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1285# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1286# ./install, which can be erroneously created by make from ./install.sh.
1287echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1288echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1289if test -z "$INSTALL"; then
1290if test "${ac_cv_path_install+set}" = set; then
1291  echo $ECHO_N "(cached) $ECHO_C" >&6
1292else
1293  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1294for as_dir in $PATH
1295do
1296  IFS=$as_save_IFS
1297  test -z "$as_dir" && as_dir=.
1298  # Account for people who put trailing slashes in PATH elements.
1299case $as_dir/ in
1300  ./ | .// | /cC/* | \
1301  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1302  /usr/ucb/* ) ;;
1303  *)
1304    # OSF1 and SCO ODT 3.0 have their own names for install.
1305    # Don't use installbsd from OSF since it installs stuff as root
1306    # by default.
1307    for ac_prog in ginstall scoinst install; do
1308      for ac_exec_ext in '' $ac_executable_extensions; do
1309        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1310          if test $ac_prog = install &&
1311            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1312            # AIX install.  It has an incompatible calling convention.
1313            :
1314          elif test $ac_prog = install &&
1315            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1316            # program-specific install script used by HP pwplus--don't use.
1317            :
1318          else
1319            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1320            break 3
1321          fi
1322        fi
1323      done
1324    done
1325    ;;
1326esac
1327done
1328
1329
1330fi
1331  if test "${ac_cv_path_install+set}" = set; then
1332    INSTALL=$ac_cv_path_install
1333  else
1334    # As a last resort, use the slow shell script.  We don't cache a
1335    # path for INSTALL within a source directory, because that will
1336    # break other packages using the cache if that directory is
1337    # removed, or if the path is relative.
1338    INSTALL=$ac_install_sh
1339  fi
1340fi
1341echo "$as_me:$LINENO: result: $INSTALL" >&5
1342echo "${ECHO_T}$INSTALL" >&6
1343
1344# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1345# It thinks the first close brace ends the variable substitution.
1346test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1347
1348test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1349
1350test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1351
1352echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1353echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1354# Just in case
1355sleep 1
1356echo timestamp > conftest.file
1357# Do `set' in a subshell so we don't clobber the current shell's
1358# arguments.  Must try -L first in case configure is actually a
1359# symlink; some systems play weird games with the mod time of symlinks
1360# (eg FreeBSD returns the mod time of the symlink's containing
1361# directory).
1362if (
1363   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1364   if test "$*" = "X"; then
1365      # -L didn't work.
1366      set X `ls -t $srcdir/configure conftest.file`
1367   fi
1368   rm -f conftest.file
1369   if test "$*" != "X $srcdir/configure conftest.file" \
1370      && test "$*" != "X conftest.file $srcdir/configure"; then
1371
1372      # If neither matched, then we have a broken ls.  This can happen
1373      # if, for instance, CONFIG_SHELL is bash and it inherits a
1374      # broken ls alias from the environment.  This has actually
1375      # happened.  Such a system could not be considered "sane".
1376      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1377alias in your environment" >&5
1378echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1379alias in your environment" >&2;}
1380   { (exit 1); exit 1; }; }
1381   fi
1382
1383   test "$2" = conftest.file
1384   )
1385then
1386   # Ok.
1387   :
1388else
1389   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1390Check your system clock" >&5
1391echo "$as_me: error: newly created file is older than distributed files!
1392Check your system clock" >&2;}
1393   { (exit 1); exit 1; }; }
1394fi
1395echo "$as_me:$LINENO: result: yes" >&5
1396echo "${ECHO_T}yes" >&6
1397test "$program_prefix" != NONE &&
1398  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1399# Use a double $ so make ignores it.
1400test "$program_suffix" != NONE &&
1401  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1402# Double any \ or $.  echo might interpret backslashes.
1403# By default was `s,x,x', remove it if useless.
1404cat <<\_ACEOF >conftest.sed
1405s/[\\$]/&&/g;s/;s,x,x,$//
1406_ACEOF
1407program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1408rm conftest.sed
1409
1410
1411# expand $ac_aux_dir to an absolute path
1412am_aux_dir=`cd $ac_aux_dir && pwd`
1413
1414test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1415# Use eval to expand $SHELL
1416if eval "$MISSING --run true"; then
1417  am_missing_run="$MISSING --run "
1418else
1419  am_missing_run=
1420  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1421echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1422fi
1423
1424for ac_prog in gawk mawk nawk awk
1425do
1426  # Extract the first word of "$ac_prog", so it can be a program name with args.
1427set dummy $ac_prog; ac_word=$2
1428echo "$as_me:$LINENO: checking for $ac_word" >&5
1429echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1430if test "${ac_cv_prog_AWK+set}" = set; then
1431  echo $ECHO_N "(cached) $ECHO_C" >&6
1432else
1433  if test -n "$AWK"; then
1434  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1435else
1436as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1437for as_dir in $PATH
1438do
1439  IFS=$as_save_IFS
1440  test -z "$as_dir" && as_dir=.
1441  for ac_exec_ext in '' $ac_executable_extensions; do
1442  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1443    ac_cv_prog_AWK="$ac_prog"
1444    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1445    break 2
1446  fi
1447done
1448done
1449
1450fi
1451fi
1452AWK=$ac_cv_prog_AWK
1453if test -n "$AWK"; then
1454  echo "$as_me:$LINENO: result: $AWK" >&5
1455echo "${ECHO_T}$AWK" >&6
1456else
1457  echo "$as_me:$LINENO: result: no" >&5
1458echo "${ECHO_T}no" >&6
1459fi
1460
1461  test -n "$AWK" && break
1462done
1463
1464echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1465echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1466set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1467if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1468  echo $ECHO_N "(cached) $ECHO_C" >&6
1469else
1470  cat >conftest.make <<\_ACEOF
1471all:
1472        @echo 'ac_maketemp="$(MAKE)"'
1473_ACEOF
1474# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1475eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1476if test -n "$ac_maketemp"; then
1477  eval ac_cv_prog_make_${ac_make}_set=yes
1478else
1479  eval ac_cv_prog_make_${ac_make}_set=no
1480fi
1481rm -f conftest.make
1482fi
1483if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1484  echo "$as_me:$LINENO: result: yes" >&5
1485echo "${ECHO_T}yes" >&6
1486  SET_MAKE=
1487else
1488  echo "$as_me:$LINENO: result: no" >&5
1489echo "${ECHO_T}no" >&6
1490  SET_MAKE="MAKE=${MAKE-make}"
1491fi
1492
1493 # test to see if srcdir already configured
1494if test "`cd $srcdir && pwd`" != "`pwd`" &&
1495   test -f $srcdir/config.status; then
1496  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1497echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1498   { (exit 1); exit 1; }; }
1499fi
1500
1501# Define the identity of the package.
1502 PACKAGE=gtk-doc
1503 VERSION=1.2
1504
1505
1506cat >>confdefs.h <<_ACEOF
1507#define PACKAGE "$PACKAGE"
1508_ACEOF
1509
1510
1511cat >>confdefs.h <<_ACEOF
1512#define VERSION "$VERSION"
1513_ACEOF
1514
1515# Some tools Automake needs.
1516
1517ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1518
1519
1520AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1521
1522
1523AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1524
1525
1526AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1527
1528
1529MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1530
1531
1532AMTAR=${AMTAR-"${am_missing_run}tar"}
1533
1534install_sh=${install_sh-"$am_aux_dir/install-sh"}
1535
1536# Installed binaries are usually stripped using `strip' when the user
1537# run `make install-strip'.  However `strip' might not be the right
1538# tool to use in cross-compilation environments, therefore Automake
1539# will honor the `STRIP' environment variable to overrule this program.
1540if test "$cross_compiling" != no; then
1541  if test -n "$ac_tool_prefix"; then
1542  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1543set dummy ${ac_tool_prefix}strip; ac_word=$2
1544echo "$as_me:$LINENO: checking for $ac_word" >&5
1545echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1546if test "${ac_cv_prog_STRIP+set}" = set; then
1547  echo $ECHO_N "(cached) $ECHO_C" >&6
1548else
1549  if test -n "$STRIP"; then
1550  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1551else
1552as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1553for as_dir in $PATH
1554do
1555  IFS=$as_save_IFS
1556  test -z "$as_dir" && as_dir=.
1557  for ac_exec_ext in '' $ac_executable_extensions; do
1558  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1559    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1560    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1561    break 2
1562  fi
1563done
1564done
1565
1566fi
1567fi
1568STRIP=$ac_cv_prog_STRIP
1569if test -n "$STRIP"; then
1570  echo "$as_me:$LINENO: result: $STRIP" >&5
1571echo "${ECHO_T}$STRIP" >&6
1572else
1573  echo "$as_me:$LINENO: result: no" >&5
1574echo "${ECHO_T}no" >&6
1575fi
1576
1577fi
1578if test -z "$ac_cv_prog_STRIP"; then
1579  ac_ct_STRIP=$STRIP
1580  # Extract the first word of "strip", so it can be a program name with args.
1581set dummy strip; ac_word=$2
1582echo "$as_me:$LINENO: checking for $ac_word" >&5
1583echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1584if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1585  echo $ECHO_N "(cached) $ECHO_C" >&6
1586else
1587  if test -n "$ac_ct_STRIP"; then
1588  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1589else
1590as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1591for as_dir in $PATH
1592do
1593  IFS=$as_save_IFS
1594  test -z "$as_dir" && as_dir=.
1595  for ac_exec_ext in '' $ac_executable_extensions; do
1596  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1597    ac_cv_prog_ac_ct_STRIP="strip"
1598    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1599    break 2
1600  fi
1601done
1602done
1603
1604  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1605fi
1606fi
1607ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1608if test -n "$ac_ct_STRIP"; then
1609  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1610echo "${ECHO_T}$ac_ct_STRIP" >&6
1611else
1612  echo "$as_me:$LINENO: result: no" >&5
1613echo "${ECHO_T}no" >&6
1614fi
1615
1616  STRIP=$ac_ct_STRIP
1617else
1618  STRIP="$ac_cv_prog_STRIP"
1619fi
1620
1621fi
1622INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1623
1624# We need awk for the "check" target.  The system "awk" is bad on
1625# some platforms.
1626
1627
1628
1629
1630echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1631echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1632    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1633if test "${enable_maintainer_mode+set}" = set; then
1634  enableval="$enable_maintainer_mode"
1635  USE_MAINTAINER_MODE=$enableval
1636else
1637  USE_MAINTAINER_MODE=no
1638fi;
1639  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1640echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1641
1642
1643if test $USE_MAINTAINER_MODE = yes; then
1644  MAINTAINER_MODE_TRUE=
1645  MAINTAINER_MODE_FALSE='#'
1646else
1647  MAINTAINER_MODE_TRUE='#'
1648  MAINTAINER_MODE_FALSE=
1649fi
1650
1651  MAINT=$MAINTAINER_MODE_TRUE
1652
1653
1654
1655rm -f .deps 2>/dev/null
1656mkdir .deps 2>/dev/null
1657if test -d .deps; then
1658  DEPDIR=.deps
1659else
1660  # MS-DOS does not allow filenames that begin with a dot.
1661  DEPDIR=_deps
1662fi
1663rmdir .deps 2>/dev/null
1664
1665
1666          ac_config_commands="$ac_config_commands depfiles"
1667
1668
1669am_make=${MAKE-make}
1670cat > confinc << 'END'
1671doit:
1672        @echo done
1673END
1674# If we don't find an include directive, just comment out the code.
1675echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1676echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1677am__include="#"
1678am__quote=
1679_am_result=none
1680# First try GNU make style include.
1681echo "include confinc" > confmf
1682# We grep out `Entering directory' and `Leaving directory'
1683# messages which can occur if `w' ends up in MAKEFLAGS.
1684# In particular we don't look at `^make:' because GNU make might
1685# be invoked under some other name (usually "gmake"), in which
1686# case it prints its new name instead of `make'.
1687if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
1688   am__include=include
1689   am__quote=
1690   _am_result=GNU
1691fi
1692# Now try BSD make style include.
1693if test "$am__include" = "#"; then
1694   echo '.include "confinc"' > confmf
1695   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1696      am__include=.include
1697      am__quote="\""
1698      _am_result=BSD
1699   fi
1700fi
1701
1702
1703echo "$as_me:$LINENO: result: $_am_result" >&5
1704echo "${ECHO_T}$_am_result" >&6
1705rm -f confinc confmf
1706
1707# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1708if test "${enable_dependency_tracking+set}" = set; then
1709  enableval="$enable_dependency_tracking"
1710
1711fi;
1712if test "x$enable_dependency_tracking" != xno; then
1713  am_depcomp="$ac_aux_dir/depcomp"
1714  AMDEPBACKSLASH='\'
1715fi
1716
1717
1718if test "x$enable_dependency_tracking" != xno; then
1719  AMDEP_TRUE=
1720  AMDEP_FALSE='#'
1721else
1722  AMDEP_TRUE='#'
1723  AMDEP_FALSE=
1724fi
1725
1726
1727
1728ac_ext=c
1729ac_cpp='$CPP $CPPFLAGS'
1730ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1731ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1732ac_compiler_gnu=$ac_cv_c_compiler_gnu
1733if test -n "$ac_tool_prefix"; then
1734  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1735set dummy ${ac_tool_prefix}gcc; ac_word=$2
1736echo "$as_me:$LINENO: checking for $ac_word" >&5
1737echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1738if test "${ac_cv_prog_CC+set}" = set; then
1739  echo $ECHO_N "(cached) $ECHO_C" >&6
1740else
1741  if test -n "$CC"; then
1742  ac_cv_prog_CC="$CC" # Let the user override the test.
1743else
1744as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1745for as_dir in $PATH
1746do
1747  IFS=$as_save_IFS
1748  test -z "$as_dir" && as_dir=.
1749  for ac_exec_ext in '' $ac_executable_extensions; do
1750  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1751    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1752    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1753    break 2
1754  fi
1755done
1756done
1757
1758fi
1759fi
1760CC=$ac_cv_prog_CC
1761if test -n "$CC"; then
1762  echo "$as_me:$LINENO: result: $CC" >&5
1763echo "${ECHO_T}$CC" >&6
1764else
1765  echo "$as_me:$LINENO: result: no" >&5
1766echo "${ECHO_T}no" >&6
1767fi
1768
1769fi
1770if test -z "$ac_cv_prog_CC"; then
1771  ac_ct_CC=$CC
1772  # Extract the first word of "gcc", so it can be a program name with args.
1773set dummy gcc; ac_word=$2
1774echo "$as_me:$LINENO: checking for $ac_word" >&5
1775echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1776if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1777  echo $ECHO_N "(cached) $ECHO_C" >&6
1778else
1779  if test -n "$ac_ct_CC"; then
1780  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1781else
1782as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1783for as_dir in $PATH
1784do
1785  IFS=$as_save_IFS
1786  test -z "$as_dir" && as_dir=.
1787  for ac_exec_ext in '' $ac_executable_extensions; do
1788  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1789    ac_cv_prog_ac_ct_CC="gcc"
1790    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1791    break 2
1792  fi
1793done
1794done
1795
1796fi
1797fi
1798ac_ct_CC=$ac_cv_prog_ac_ct_CC
1799if test -n "$ac_ct_CC"; then
1800  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1801echo "${ECHO_T}$ac_ct_CC" >&6
1802else
1803  echo "$as_me:$LINENO: result: no" >&5
1804echo "${ECHO_T}no" >&6
1805fi
1806
1807  CC=$ac_ct_CC
1808else
1809  CC="$ac_cv_prog_CC"
1810fi
1811
1812if test -z "$CC"; then
1813  if test -n "$ac_tool_prefix"; then
1814  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1815set dummy ${ac_tool_prefix}cc; ac_word=$2
1816echo "$as_me:$LINENO: checking for $ac_word" >&5
1817echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1818if test "${ac_cv_prog_CC+set}" = set; then
1819  echo $ECHO_N "(cached) $ECHO_C" >&6
1820else
1821  if test -n "$CC"; then
1822  ac_cv_prog_CC="$CC" # Let the user override the test.
1823else
1824as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1825for as_dir in $PATH
1826do
1827  IFS=$as_save_IFS
1828  test -z "$as_dir" && as_dir=.
1829  for ac_exec_ext in '' $ac_executable_extensions; do
1830  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1831    ac_cv_prog_CC="${ac_tool_prefix}cc"
1832    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1833    break 2
1834  fi
1835done
1836done
1837
1838fi
1839fi
1840CC=$ac_cv_prog_CC
1841if test -n "$CC"; then
1842  echo "$as_me:$LINENO: result: $CC" >&5
1843echo "${ECHO_T}$CC" >&6
1844else
1845  echo "$as_me:$LINENO: result: no" >&5
1846echo "${ECHO_T}no" >&6
1847fi
1848
1849fi
1850if test -z "$ac_cv_prog_CC"; then
1851  ac_ct_CC=$CC
1852  # Extract the first word of "cc", so it can be a program name with args.
1853set dummy cc; ac_word=$2
1854echo "$as_me:$LINENO: checking for $ac_word" >&5
1855echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1856if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1857  echo $ECHO_N "(cached) $ECHO_C" >&6
1858else
1859  if test -n "$ac_ct_CC"; then
1860  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1861else
1862as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1863for as_dir in $PATH
1864do
1865  IFS=$as_save_IFS
1866  test -z "$as_dir" && as_dir=.
1867  for ac_exec_ext in '' $ac_executable_extensions; do
1868  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1869    ac_cv_prog_ac_ct_CC="cc"
1870    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1871    break 2
1872  fi
1873done
1874done
1875
1876fi
1877fi
1878ac_ct_CC=$ac_cv_prog_ac_ct_CC
1879if test -n "$ac_ct_CC"; then
1880  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1881echo "${ECHO_T}$ac_ct_CC" >&6
1882else
1883  echo "$as_me:$LINENO: result: no" >&5
1884echo "${ECHO_T}no" >&6
1885fi
1886
1887  CC=$ac_ct_CC
1888else
1889  CC="$ac_cv_prog_CC"
1890fi
1891
1892fi
1893if test -z "$CC"; then
1894  # Extract the first word of "cc", so it can be a program name with args.
1895set dummy cc; ac_word=$2
1896echo "$as_me:$LINENO: checking for $ac_word" >&5
1897echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1898if test "${ac_cv_prog_CC+set}" = set; then
1899  echo $ECHO_N "(cached) $ECHO_C" >&6
1900else
1901  if test -n "$CC"; then
1902  ac_cv_prog_CC="$CC" # Let the user override the test.
1903else
1904  ac_prog_rejected=no
1905as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1906for as_dir in $PATH
1907do
1908  IFS=$as_save_IFS
1909  test -z "$as_dir" && as_dir=.
1910  for ac_exec_ext in '' $ac_executable_extensions; do
1911  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1912    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1913       ac_prog_rejected=yes
1914       continue
1915     fi
1916    ac_cv_prog_CC="cc"
1917    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1918    break 2
1919  fi
1920done
1921done
1922
1923if test $ac_prog_rejected = yes; then
1924  # We found a bogon in the path, so make sure we never use it.
1925  set dummy $ac_cv_prog_CC
1926  shift
1927  if test $# != 0; then
1928    # We chose a different compiler from the bogus one.
1929    # However, it has the same basename, so the bogon will be chosen
1930    # first if we set CC to just the basename; use the full file name.
1931    shift
1932    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1933  fi
1934fi
1935fi
1936fi
1937CC=$ac_cv_prog_CC
1938if test -n "$CC"; then
1939  echo "$as_me:$LINENO: result: $CC" >&5
1940echo "${ECHO_T}$CC" >&6
1941else
1942  echo "$as_me:$LINENO: result: no" >&5
1943echo "${ECHO_T}no" >&6
1944fi
1945
1946fi
1947if test -z "$CC"; then
1948  if test -n "$ac_tool_prefix"; then
1949  for ac_prog in cl
1950  do
1951    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1952set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1953echo "$as_me:$LINENO: checking for $ac_word" >&5
1954echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1955if test "${ac_cv_prog_CC+set}" = set; then
1956  echo $ECHO_N "(cached) $ECHO_C" >&6
1957else
1958  if test -n "$CC"; then
1959  ac_cv_prog_CC="$CC" # Let the user override the test.
1960else
1961as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1962for as_dir in $PATH
1963do
1964  IFS=$as_save_IFS
1965  test -z "$as_dir" && as_dir=.
1966  for ac_exec_ext in '' $ac_executable_extensions; do
1967  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1968    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1969    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1970    break 2
1971  fi
1972done
1973done
1974
1975fi
1976fi
1977CC=$ac_cv_prog_CC
1978if test -n "$CC"; then
1979  echo "$as_me:$LINENO: result: $CC" >&5
1980echo "${ECHO_T}$CC" >&6
1981else
1982  echo "$as_me:$LINENO: result: no" >&5
1983echo "${ECHO_T}no" >&6
1984fi
1985
1986    test -n "$CC" && break
1987  done
1988fi
1989if test -z "$CC"; then
1990  ac_ct_CC=$CC
1991  for ac_prog in cl
1992do
1993  # Extract the first word of "$ac_prog", so it can be a program name with args.
1994set dummy $ac_prog; ac_word=$2
1995echo "$as_me:$LINENO: checking for $ac_word" >&5
1996echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1997if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1998  echo $ECHO_N "(cached) $ECHO_C" >&6
1999else
2000  if test -n "$ac_ct_CC"; then
2001  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2002else
2003as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2004for as_dir in $PATH
2005do
2006  IFS=$as_save_IFS
2007  test -z "$as_dir" && as_dir=.
2008  for ac_exec_ext in '' $ac_executable_extensions; do
2009  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2010    ac_cv_prog_ac_ct_CC="$ac_prog"
2011    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2012    break 2
2013  fi
2014done
2015done
2016
2017fi
2018fi
2019ac_ct_CC=$ac_cv_prog_ac_ct_CC
2020if test -n "$ac_ct_CC"; then
2021  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2022echo "${ECHO_T}$ac_ct_CC" >&6
2023else
2024  echo "$as_me:$LINENO: result: no" >&5
2025echo "${ECHO_T}no" >&6
2026fi
2027
2028  test -n "$ac_ct_CC" && break
2029done
2030
2031  CC=$ac_ct_CC
2032fi
2033
2034fi
2035
2036
2037test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2038See \`config.log' for more details." >&5
2039echo "$as_me: error: no acceptable C compiler found in \$PATH
2040See \`config.log' for more details." >&2;}
2041   { (exit 1); exit 1; }; }
2042
2043# Provide some information about the compiler.
2044echo "$as_me:$LINENO:" \
2045     "checking for C compiler version" >&5
2046ac_compiler=`set X $ac_compile; echo $2`
2047{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2048  (eval $ac_compiler --version </dev/null >&5) 2>&5
2049  ac_status=$?
2050  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2051  (exit $ac_status); }
2052{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2053  (eval $ac_compiler -v </dev/null >&5) 2>&5
2054  ac_status=$?
2055  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2056  (exit $ac_status); }
2057{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2058  (eval $ac_compiler -V </dev/null >&5) 2>&5
2059  ac_status=$?
2060  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2061  (exit $ac_status); }
2062
2063cat >conftest.$ac_ext <<_ACEOF
2064#line $LINENO "configure"
2065/* confdefs.h.  */
2066_ACEOF
2067cat confdefs.h >>conftest.$ac_ext
2068cat >>conftest.$ac_ext <<_ACEOF
2069/* end confdefs.h.  */
2070
2071int
2072main ()
2073{
2074
2075  ;
2076  return 0;
2077}
2078_ACEOF
2079ac_clean_files_save=$ac_clean_files
2080ac_clean_files="$ac_clean_files a.out a.exe b.out"
2081# Try to create an executable without -o first, disregard a.out.
2082# It will help us diagnose broken compilers, and finding out an intuition
2083# of exeext.
2084echo "$as_me:$LINENO: checking for C compiler default output" >&5
2085echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2086ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2087if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2088  (eval $ac_link_default) 2>&5
2089  ac_status=$?
2090  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091  (exit $ac_status); }; then
2092  # Find the output, starting from the most likely.  This scheme is
2093# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2094# resort.
2095
2096# Be careful to initialize this variable, since it used to be cached.
2097# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2098ac_cv_exeext=
2099# b.out is created by i960 compilers.
2100for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2101do
2102  test -f "$ac_file" || continue
2103  case $ac_file in
2104    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2105        ;;
2106    conftest.$ac_ext )
2107        # This is the source file.
2108        ;;
2109    [ab].out )
2110        # We found the default executable, but exeext='' is most
2111        # certainly right.
2112        break;;
2113    *.* )
2114        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2115        # FIXME: I believe we export ac_cv_exeext for Libtool,
2116        # but it would be cool to find out if it's true.  Does anybody
2117        # maintain Libtool? --akim.
2118        export ac_cv_exeext
2119        break;;
2120    * )
2121        break;;
2122  esac
2123done
2124else
2125  echo "$as_me: failed program was:" >&5
2126sed 's/^/| /' conftest.$ac_ext >&5
2127
2128{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2129See \`config.log' for more details." >&5
2130echo "$as_me: error: C compiler cannot create executables
2131See \`config.log' for more details." >&2;}
2132   { (exit 77); exit 77; }; }
2133fi
2134
2135ac_exeext=$ac_cv_exeext
2136echo "$as_me:$LINENO: result: $ac_file" >&5
2137echo "${ECHO_T}$ac_file" >&6
2138
2139# Check the compiler produces executables we can run.  If not, either
2140# the compiler is broken, or we cross compile.
2141echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2142echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2143# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2144# If not cross compiling, check that we can run a simple program.
2145if test "$cross_compiling" != yes; then
2146  if { ac_try='./$ac_file'
2147  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2148  (eval $ac_try) 2>&5
2149  ac_status=$?
2150  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2151  (exit $ac_status); }; }; then
2152    cross_compiling=no
2153  else
2154    if test "$cross_compiling" = maybe; then
2155        cross_compiling=yes
2156    else
2157        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2158If you meant to cross compile, use \`--host'.
2159See \`config.log' for more details." >&5
2160echo "$as_me: error: cannot run C compiled programs.
2161If you meant to cross compile, use \`--host'.
2162See \`config.log' for more details." >&2;}
2163   { (exit 1); exit 1; }; }
2164    fi
2165  fi
2166fi
2167echo "$as_me:$LINENO: result: yes" >&5
2168echo "${ECHO_T}yes" >&6
2169
2170rm -f a.out a.exe conftest$ac_cv_exeext b.out
2171ac_clean_files=$ac_clean_files_save
2172# Check the compiler produces executables we can run.  If not, either
2173# the compiler is broken, or we cross compile.
2174echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2175echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2176echo "$as_me:$LINENO: result: $cross_compiling" >&5
2177echo "${ECHO_T}$cross_compiling" >&6
2178
2179echo "$as_me:$LINENO: checking for suffix of executables" >&5
2180echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2181if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2182  (eval $ac_link) 2>&5
2183  ac_status=$?
2184  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185  (exit $ac_status); }; then
2186  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2187# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2188# work properly (i.e., refer to `conftest.exe'), while it won't with
2189# `rm'.
2190for ac_file in conftest.exe conftest conftest.*; do
2191  test -f "$ac_file" || continue
2192  case $ac_file in
2193    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2194    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2195          export ac_cv_exeext
2196          break;;
2197    * ) break;;
2198  esac
2199done
2200else
2201  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2202See \`config.log' for more details." >&5
2203echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2204See \`config.log' for more details." >&2;}
2205   { (exit 1); exit 1; }; }
2206fi
2207
2208rm -f conftest$ac_cv_exeext
2209echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2210echo "${ECHO_T}$ac_cv_exeext" >&6
2211
2212rm -f conftest.$ac_ext
2213EXEEXT=$ac_cv_exeext
2214ac_exeext=$EXEEXT
2215echo "$as_me:$LINENO: checking for suffix of object files" >&5
2216echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2217if test "${ac_cv_objext+set}" = set; then
2218  echo $ECHO_N "(cached) $ECHO_C" >&6
2219else
2220  cat >conftest.$ac_ext <<_ACEOF
2221#line $LINENO "configure"
2222/* confdefs.h.  */
2223_ACEOF
2224cat confdefs.h >>conftest.$ac_ext
2225cat >>conftest.$ac_ext <<_ACEOF
2226/* end confdefs.h.  */
2227
2228int
2229main ()
2230{
2231
2232  ;
2233  return 0;
2234}
2235_ACEOF
2236rm -f conftest.o conftest.obj
2237if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2238  (eval $ac_compile) 2>&5
2239  ac_status=$?
2240  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241  (exit $ac_status); }; then
2242  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2243  case $ac_file in
2244    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2245    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2246       break;;
2247  esac
2248done
2249else
2250  echo "$as_me: failed program was:" >&5
2251sed 's/^/| /' conftest.$ac_ext >&5
2252
2253{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2254See \`config.log' for more details." >&5
2255echo "$as_me: error: cannot compute suffix of object files: cannot compile
2256See \`config.log' for more details." >&2;}
2257   { (exit 1); exit 1; }; }
2258fi
2259
2260rm -f conftest.$ac_cv_objext conftest.$ac_ext
2261fi
2262echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2263echo "${ECHO_T}$ac_cv_objext" >&6
2264OBJEXT=$ac_cv_objext
2265ac_objext=$OBJEXT
2266echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2267echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2268if test "${ac_cv_c_compiler_gnu+set}" = set; then
2269  echo $ECHO_N "(cached) $ECHO_C" >&6
2270else
2271  cat >conftest.$ac_ext <<_ACEOF
2272#line $LINENO "configure"
2273/* confdefs.h.  */
2274_ACEOF
2275cat confdefs.h >>conftest.$ac_ext
2276cat >>conftest.$ac_ext <<_ACEOF
2277/* end confdefs.h.  */
2278
2279int
2280main ()
2281{
2282#ifndef __GNUC__
2283       choke me
2284#endif
2285
2286  ;
2287  return 0;
2288}
2289_ACEOF
2290rm -f conftest.$ac_objext
2291if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2292  (eval $ac_compile) 2>&5
2293  ac_status=$?
2294  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2295  (exit $ac_status); } &&
2296         { ac_try='test -s conftest.$ac_objext'
2297  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2298  (eval $ac_try) 2>&5
2299  ac_status=$?
2300  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301  (exit $ac_status); }; }; then
2302  ac_compiler_gnu=yes
2303else
2304  echo "$as_me: failed program was:" >&5
2305sed 's/^/| /' conftest.$ac_ext >&5
2306
2307ac_compiler_gnu=no
2308fi
2309rm -f conftest.$ac_objext conftest.$ac_ext
2310ac_cv_c_compiler_gnu=$ac_compiler_gnu
2311
2312fi
2313echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2314echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2315GCC=`test $ac_compiler_gnu = yes && echo yes`
2316ac_test_CFLAGS=${CFLAGS+set}
2317ac_save_CFLAGS=$CFLAGS
2318CFLAGS="-g"
2319echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2320echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2321if test "${ac_cv_prog_cc_g+set}" = set; then
2322  echo $ECHO_N "(cached) $ECHO_C" >&6
2323else
2324  cat >conftest.$ac_ext <<_ACEOF
2325#line $LINENO "configure"
2326/* confdefs.h.  */
2327_ACEOF
2328cat confdefs.h >>conftest.$ac_ext
2329cat >>conftest.$ac_ext <<_ACEOF
2330/* end confdefs.h.  */
2331
2332int
2333main ()
2334{
2335
2336  ;
2337  return 0;
2338}
2339_ACEOF
2340rm -f conftest.$ac_objext
2341if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2342  (eval $ac_compile) 2>&5
2343  ac_status=$?
2344  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345  (exit $ac_status); } &&
2346         { ac_try='test -s conftest.$ac_objext'
2347  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2348  (eval $ac_try) 2>&5
2349  ac_status=$?
2350  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2351  (exit $ac_status); }; }; then
2352  ac_cv_prog_cc_g=yes
2353else
2354  echo "$as_me: failed program was:" >&5
2355sed 's/^/| /' conftest.$ac_ext >&5
2356
2357ac_cv_prog_cc_g=no
2358fi
2359rm -f conftest.$ac_objext conftest.$ac_ext
2360fi
2361echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2362echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2363if test "$ac_test_CFLAGS" = set; then
2364  CFLAGS=$ac_save_CFLAGS
2365elif test $ac_cv_prog_cc_g = yes; then
2366  if test "$GCC" = yes; then
2367    CFLAGS="-g -O2"
2368  else
2369    CFLAGS="-g"
2370  fi
2371else
2372  if test "$GCC" = yes; then
2373    CFLAGS="-O2"
2374  else
2375    CFLAGS=
2376  fi
2377fi
2378echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2379echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2380if test "${ac_cv_prog_cc_stdc+set}" = set; then
2381  echo $ECHO_N "(cached) $ECHO_C" >&6
2382else
2383  ac_cv_prog_cc_stdc=no
2384ac_save_CC=$CC
2385cat >conftest.$ac_ext <<_ACEOF
2386#line $LINENO "configure"
2387/* confdefs.h.  */
2388_ACEOF
2389cat confdefs.h >>conftest.$ac_ext
2390cat >>conftest.$ac_ext <<_ACEOF
2391/* end confdefs.h.  */
2392#include <stdarg.h>
2393#include <stdio.h>
2394#include <sys/types.h>
2395#include <sys/stat.h>
2396/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2397struct buf { int x; };
2398FILE * (*rcsopen) (struct buf *, struct stat *, int);
2399static char *e (p, i)
2400     char **p;
2401     int i;
2402{
2403  return p[i];
2404}
2405static char *f (char * (*g) (char **, int), char **p, ...)
2406{
2407  char *s;
2408  va_list v;
2409  va_start (v,p);
2410  s = g (p, va_arg (v,int));
2411  va_end (v);
2412  return s;
2413}
2414int test (int i, double x);
2415struct s1 {int (*f) (int a);};
2416struct s2 {int (*f) (double a);};
2417int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2418int argc;
2419char **argv;
2420int
2421main ()
2422{
2423return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2424  ;
2425  return 0;
2426}
2427_ACEOF
2428# Don't try gcc -ansi; that turns off useful extensions and
2429# breaks some systems' header files.
2430# AIX                   -qlanglvl=ansi
2431# Ultrix and OSF/1      -std1
2432# HP-UX 10.20 and later -Ae
2433# HP-UX older versions  -Aa -D_HPUX_SOURCE
2434# SVR4                  -Xc -D__EXTENSIONS__
2435for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2436do
2437  CC="$ac_save_CC $ac_arg"
2438  rm -f conftest.$ac_objext
2439if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2440  (eval $ac_compile) 2>&5
2441  ac_status=$?
2442  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443  (exit $ac_status); } &&
2444         { ac_try='test -s conftest.$ac_objext'
2445  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2446  (eval $ac_try) 2>&5
2447  ac_status=$?
2448  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2449  (exit $ac_status); }; }; then
2450  ac_cv_prog_cc_stdc=$ac_arg
2451break
2452else
2453  echo "$as_me: failed program was:" >&5
2454sed 's/^/| /' conftest.$ac_ext >&5
2455
2456fi
2457rm -f conftest.$ac_objext
2458done
2459rm -f conftest.$ac_ext conftest.$ac_objext
2460CC=$ac_save_CC
2461
2462fi
2463
2464case "x$ac_cv_prog_cc_stdc" in
2465  x|xno)
2466    echo "$as_me:$LINENO: result: none needed" >&5
2467echo "${ECHO_T}none needed" >&6 ;;
2468  *)
2469    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2470echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2471    CC="$CC $ac_cv_prog_cc_stdc" ;;
2472esac
2473
2474# Some people use a C++ compiler to compile C.  Since we use `exit',
2475# in C++ we need to declare it.  In case someone uses the same compiler
2476# for both compiling C and C++ we need to have the C++ compiler decide
2477# the declaration of exit, since it's the most demanding environment.
2478cat >conftest.$ac_ext <<_ACEOF
2479#ifndef __cplusplus
2480  choke me
2481#endif
2482_ACEOF
2483rm -f conftest.$ac_objext
2484if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2485  (eval $ac_compile) 2>&5
2486  ac_status=$?
2487  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488  (exit $ac_status); } &&
2489         { ac_try='test -s conftest.$ac_objext'
2490  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2491  (eval $ac_try) 2>&5
2492  ac_status=$?
2493  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2494  (exit $ac_status); }; }; then
2495  for ac_declaration in \
2496   ''\
2497   '#include <stdlib.h>' \
2498   'extern "C" void std::exit (int) throw (); using std::exit;' \
2499   'extern "C" void std::exit (int); using std::exit;' \
2500   'extern "C" void exit (int) throw ();' \
2501   'extern "C" void exit (int);' \
2502   'void exit (int);'
2503do
2504  cat >conftest.$ac_ext <<_ACEOF
2505#line $LINENO "configure"
2506/* confdefs.h.  */
2507_ACEOF
2508cat confdefs.h >>conftest.$ac_ext
2509cat >>conftest.$ac_ext <<_ACEOF
2510/* end confdefs.h.  */
2511#include <stdlib.h>
2512$ac_declaration
2513int
2514main ()
2515{
2516exit (42);
2517  ;
2518  return 0;
2519}
2520_ACEOF
2521rm -f conftest.$ac_objext
2522if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2523  (eval $ac_compile) 2>&5
2524  ac_status=$?
2525  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526  (exit $ac_status); } &&
2527         { ac_try='test -s conftest.$ac_objext'
2528  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2529  (eval $ac_try) 2>&5
2530  ac_status=$?
2531  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532  (exit $ac_status); }; }; then
2533  :
2534else
2535  echo "$as_me: failed program was:" >&5
2536sed 's/^/| /' conftest.$ac_ext >&5
2537
2538continue
2539fi
2540rm -f conftest.$ac_objext conftest.$ac_ext
2541  cat >conftest.$ac_ext <<_ACEOF
2542#line $LINENO "configure"
2543/* confdefs.h.  */
2544_ACEOF
2545cat confdefs.h >>conftest.$ac_ext
2546cat >>conftest.$ac_ext <<_ACEOF
2547/* end confdefs.h.  */
2548$ac_declaration
2549int
2550main ()
2551{
2552exit (42);
2553  ;
2554  return 0;
2555}
2556_ACEOF
2557rm -f conftest.$ac_objext
2558if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2559  (eval $ac_compile) 2>&5
2560  ac_status=$?
2561  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562  (exit $ac_status); } &&
2563         { ac_try='test -s conftest.$ac_objext'
2564  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2565  (eval $ac_try) 2>&5
2566  ac_status=$?
2567  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568  (exit $ac_status); }; }; then
2569  break
2570else
2571  echo "$as_me: failed program was:" >&5
2572sed 's/^/| /' conftest.$ac_ext >&5
2573
2574fi
2575rm -f conftest.$ac_objext conftest.$ac_ext
2576done
2577rm -f conftest*
2578if test -n "$ac_declaration"; then
2579  echo '#ifdef __cplusplus' >>confdefs.h
2580  echo $ac_declaration      >>confdefs.h
2581  echo '#endif'             >>confdefs.h
2582fi
2583
2584else
2585  echo "$as_me: failed program was:" >&5
2586sed 's/^/| /' conftest.$ac_ext >&5
2587
2588fi
2589rm -f conftest.$ac_objext conftest.$ac_ext
2590ac_ext=c
2591ac_cpp='$CPP $CPPFLAGS'
2592ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2593ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2594ac_compiler_gnu=$ac_cv_c_compiler_gnu
2595
2596depcc="$CC"   am_compiler_list=
2597
2598echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2599echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2600if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2601  echo $ECHO_N "(cached) $ECHO_C" >&6
2602else
2603  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2604  # We make a subdir and do the tests there.  Otherwise we can end up
2605  # making bogus files that we don't know about and never remove.  For
2606  # instance it was reported that on HP-UX the gcc test will end up
2607  # making a dummy file named `D' -- because `-MD' means `put the output
2608  # in D'.
2609  mkdir conftest.dir
2610  # Copy depcomp to subdir because otherwise we won't find it if we're
2611  # using a relative directory.
2612  cp "$am_depcomp" conftest.dir
2613  cd conftest.dir
2614
2615  am_cv_CC_dependencies_compiler_type=none
2616  if test "$am_compiler_list" = ""; then
2617     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2618  fi
2619  for depmode in $am_compiler_list; do
2620    # We need to recreate these files for each test, as the compiler may
2621    # overwrite some of them when testing with obscure command lines.
2622    # This happens at least with the AIX C compiler.
2623    echo '#include "conftest.h"' > conftest.c
2624    echo 'int i;' > conftest.h
2625    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2626
2627    case $depmode in
2628    nosideeffect)
2629      # after this tag, mechanisms are not by side-effect, so they'll
2630      # only be used when explicitly requested
2631      if test "x$enable_dependency_tracking" = xyes; then
2632        continue
2633      else
2634        break
2635      fi
2636      ;;
2637    none) break ;;
2638    esac
2639    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2640    # mode.  It turns out that the SunPro C++ compiler does not properly
2641    # handle `-M -o', and we need to detect this.
2642    if depmode=$depmode \
2643       source=conftest.c object=conftest.o \
2644       depfile=conftest.Po tmpdepfile=conftest.TPo \
2645       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2646       grep conftest.h conftest.Po > /dev/null 2>&1 &&
2647       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2648      am_cv_CC_dependencies_compiler_type=$depmode
2649      break
2650    fi
2651  done
2652
2653  cd ..
2654  rm -rf conftest.dir
2655else
2656  am_cv_CC_dependencies_compiler_type=none
2657fi
2658
2659fi
2660echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2661echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2662CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2663
2664
2665
2666
2667        echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2668echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2669if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2670  echo $ECHO_N "(cached) $ECHO_C" >&6
2671else
2672  ac_check_lib_save_LIBS=$LIBS
2673LIBS="-lcposix  $LIBS"
2674cat >conftest.$ac_ext <<_ACEOF
2675#line $LINENO "configure"
2676/* confdefs.h.  */
2677_ACEOF
2678cat confdefs.h >>conftest.$ac_ext
2679cat >>conftest.$ac_ext <<_ACEOF
2680/* end confdefs.h.  */
2681
2682/* Override any gcc2 internal prototype to avoid an error.  */
2683#ifdef __cplusplus
2684extern "C"
2685#endif
2686/* We use char because int might match the return type of a gcc2
2687   builtin and then its argument prototype would still apply.  */
2688char strerror ();
2689int
2690main ()
2691{
2692strerror ();
2693  ;
2694  return 0;
2695}
2696_ACEOF
2697rm -f conftest.$ac_objext conftest$ac_exeext
2698if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2699  (eval $ac_link) 2>&5
2700  ac_status=$?
2701  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702  (exit $ac_status); } &&
2703         { ac_try='test -s conftest$ac_exeext'
2704  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2705  (eval $ac_try) 2>&5
2706  ac_status=$?
2707  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708  (exit $ac_status); }; }; then
2709  ac_cv_lib_cposix_strerror=yes
2710else
2711  echo "$as_me: failed program was:" >&5
2712sed 's/^/| /' conftest.$ac_ext >&5
2713
2714ac_cv_lib_cposix_strerror=no
2715fi
2716rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2717LIBS=$ac_check_lib_save_LIBS
2718fi
2719echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2720echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2721if test $ac_cv_lib_cposix_strerror = yes; then
2722  LIBS="$LIBS -lcposix"
2723fi
2724
2725
2726
2727ac_ext=c
2728ac_cpp='$CPP $CPPFLAGS'
2729ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2730ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2731ac_compiler_gnu=$ac_cv_c_compiler_gnu
2732if test -n "$ac_tool_prefix"; then
2733  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2734set dummy ${ac_tool_prefix}gcc; ac_word=$2
2735echo "$as_me:$LINENO: checking for $ac_word" >&5
2736echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2737if test "${ac_cv_prog_CC+set}" = set; then
2738  echo $ECHO_N "(cached) $ECHO_C" >&6
2739else
2740  if test -n "$CC"; then
2741  ac_cv_prog_CC="$CC" # Let the user override the test.
2742else
2743as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2744for as_dir in $PATH
2745do
2746  IFS=$as_save_IFS
2747  test -z "$as_dir" && as_dir=.
2748  for ac_exec_ext in '' $ac_executable_extensions; do
2749  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2750    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2751    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2752    break 2
2753  fi
2754done
2755done
2756
2757fi
2758fi
2759CC=$ac_cv_prog_CC
2760if test -n "$CC"; then
2761  echo "$as_me:$LINENO: result: $CC" >&5
2762echo "${ECHO_T}$CC" >&6
2763else
2764  echo "$as_me:$LINENO: result: no" >&5
2765echo "${ECHO_T}no" >&6
2766fi
2767
2768fi
2769if test -z "$ac_cv_prog_CC"; then
2770  ac_ct_CC=$CC
2771  # Extract the first word of "gcc", so it can be a program name with args.
2772set dummy gcc; ac_word=$2
2773echo "$as_me:$LINENO: checking for $ac_word" >&5
2774echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2775if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2776  echo $ECHO_N "(cached) $ECHO_C" >&6
2777else
2778  if test -n "$ac_ct_CC"; then
2779  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2780else
2781as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2782for as_dir in $PATH
2783do
2784  IFS=$as_save_IFS
2785  test -z "$as_dir" && as_dir=.
2786  for ac_exec_ext in '' $ac_executable_extensions; do
2787  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2788    ac_cv_prog_ac_ct_CC="gcc"
2789    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2790    break 2
2791  fi
2792done
2793done
2794
2795fi
2796fi
2797ac_ct_CC=$ac_cv_prog_ac_ct_CC
2798if test -n "$ac_ct_CC"; then
2799  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2800echo "${ECHO_T}$ac_ct_CC" >&6
2801else
2802  echo "$as_me:$LINENO: result: no" >&5
2803echo "${ECHO_T}no" >&6
2804fi
2805
2806  CC=$ac_ct_CC
2807else
2808  CC="$ac_cv_prog_CC"
2809fi
2810
2811if test -z "$CC"; then
2812  if test -n "$ac_tool_prefix"; then
2813  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2814set dummy ${ac_tool_prefix}cc; ac_word=$2
2815echo "$as_me:$LINENO: checking for $ac_word" >&5
2816echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2817if test "${ac_cv_prog_CC+set}" = set; then
2818  echo $ECHO_N "(cached) $ECHO_C" >&6
2819else
2820  if test -n "$CC"; then
2821  ac_cv_prog_CC="$CC" # Let the user override the test.
2822else
2823as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2824for as_dir in $PATH
2825do
2826  IFS=$as_save_IFS
2827  test -z "$as_dir" && as_dir=.
2828  for ac_exec_ext in '' $ac_executable_extensions; do
2829  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2830    ac_cv_prog_CC="${ac_tool_prefix}cc"
2831    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2832    break 2
2833  fi
2834done
2835done
2836
2837fi
2838fi
2839CC=$ac_cv_prog_CC
2840if test -n "$CC"; then
2841  echo "$as_me:$LINENO: result: $CC" >&5
2842echo "${ECHO_T}$CC" >&6
2843else
2844  echo "$as_me:$LINENO: result: no" >&5
2845echo "${ECHO_T}no" >&6
2846fi
2847
2848fi
2849if test -z "$ac_cv_prog_CC"; then
2850  ac_ct_CC=$CC
2851  # Extract the first word of "cc", so it can be a program name with args.
2852set dummy cc; ac_word=$2
2853echo "$as_me:$LINENO: checking for $ac_word" >&5
2854echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2855if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2856  echo $ECHO_N "(cached) $ECHO_C" >&6
2857else
2858  if test -n "$ac_ct_CC"; then
2859  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2860else
2861as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2862for as_dir in $PATH
2863do
2864  IFS=$as_save_IFS
2865  test -z "$as_dir" && as_dir=.
2866  for ac_exec_ext in '' $ac_executable_extensions; do
2867  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2868    ac_cv_prog_ac_ct_CC="cc"
2869    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2870    break 2
2871  fi
2872done
2873done
2874
2875fi
2876fi
2877ac_ct_CC=$ac_cv_prog_ac_ct_CC
2878if test -n "$ac_ct_CC"; then
2879  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2880echo "${ECHO_T}$ac_ct_CC" >&6
2881else
2882  echo "$as_me:$LINENO: result: no" >&5
2883echo "${ECHO_T}no" >&6
2884fi
2885
2886  CC=$ac_ct_CC
2887else
2888  CC="$ac_cv_prog_CC"
2889fi
2890
2891fi
2892if test -z "$CC"; then
2893  # Extract the first word of "cc", so it can be a program name with args.
2894set dummy cc; ac_word=$2
2895echo "$as_me:$LINENO: checking for $ac_word" >&5
2896echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2897if test "${ac_cv_prog_CC+set}" = set; then
2898  echo $ECHO_N "(cached) $ECHO_C" >&6
2899else
2900  if test -n "$CC"; then
2901  ac_cv_prog_CC="$CC" # Let the user override the test.
2902else
2903  ac_prog_rejected=no
2904as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2905for as_dir in $PATH
2906do
2907  IFS=$as_save_IFS
2908  test -z "$as_dir" && as_dir=.
2909  for ac_exec_ext in '' $ac_executable_extensions; do
2910  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2911    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2912       ac_prog_rejected=yes
2913       continue
2914     fi
2915    ac_cv_prog_CC="cc"
2916    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2917    break 2
2918  fi
2919done
2920done
2921
2922if test $ac_prog_rejected = yes; then
2923  # We found a bogon in the path, so make sure we never use it.
2924  set dummy $ac_cv_prog_CC
2925  shift
2926  if test $# != 0; then
2927    # We chose a different compiler from the bogus one.
2928    # However, it has the same basename, so the bogon will be chosen
2929    # first if we set CC to just the basename; use the full file name.
2930    shift
2931    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2932  fi
2933fi
2934fi
2935fi
2936CC=$ac_cv_prog_CC
2937if test -n "$CC"; then
2938  echo "$as_me:$LINENO: result: $CC" >&5
2939echo "${ECHO_T}$CC" >&6
2940else
2941  echo "$as_me:$LINENO: result: no" >&5
2942echo "${ECHO_T}no" >&6
2943fi
2944
2945fi
2946if test -z "$CC"; then
2947  if test -n "$ac_tool_prefix"; then
2948  for ac_prog in cl
2949  do
2950    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2951set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2952echo "$as_me:$LINENO: checking for $ac_word" >&5
2953echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2954if test "${ac_cv_prog_CC+set}" = set; then
2955  echo $ECHO_N "(cached) $ECHO_C" >&6
2956else
2957  if test -n "$CC"; then
2958  ac_cv_prog_CC="$CC" # Let the user override the test.
2959else
2960as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2961for as_dir in $PATH
2962do
2963  IFS=$as_save_IFS
2964  test -z "$as_dir" && as_dir=.
2965  for ac_exec_ext in '' $ac_executable_extensions; do
2966  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2967    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2968    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2969    break 2
2970  fi
2971done
2972done
2973
2974fi
2975fi
2976CC=$ac_cv_prog_CC
2977if test -n "$CC"; then
2978  echo "$as_me:$LINENO: result: $CC" >&5
2979echo "${ECHO_T}$CC" >&6
2980else
2981  echo "$as_me:$LINENO: result: no" >&5
2982echo "${ECHO_T}no" >&6
2983fi
2984
2985    test -n "$CC" && break
2986  done
2987fi
2988if test -z "$CC"; then
2989  ac_ct_CC=$CC
2990  for ac_prog in cl
2991do
2992  # Extract the first word of "$ac_prog", so it can be a program name with args.
2993set dummy $ac_prog; ac_word=$2
2994echo "$as_me:$LINENO: checking for $ac_word" >&5
2995echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2996if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2997  echo $ECHO_N "(cached) $ECHO_C" >&6
2998else
2999  if test -n "$ac_ct_CC"; then
3000  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3001else
3002as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3003for as_dir in $PATH
3004do
3005  IFS=$as_save_IFS
3006  test -z "$as_dir" && as_dir=.
3007  for ac_exec_ext in '' $ac_executable_extensions; do
3008  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3009    ac_cv_prog_ac_ct_CC="$ac_prog"
3010    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3011    break 2
3012  fi
3013done
3014done
3015
3016fi
3017fi
3018ac_ct_CC=$ac_cv_prog_ac_ct_CC
3019if test -n "$ac_ct_CC"; then
3020  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3021echo "${ECHO_T}$ac_ct_CC" >&6
3022else
3023  echo "$as_me:$LINENO: result: no" >&5
3024echo "${ECHO_T}no" >&6
3025fi
3026
3027  test -n "$ac_ct_CC" && break
3028done
3029
3030  CC=$ac_ct_CC
3031fi
3032
3033fi
3034
3035
3036test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3037See \`config.log' for more details." >&5
3038echo "$as_me: error: no acceptable C compiler found in \$PATH
3039See \`config.log' for more details." >&2;}
3040   { (exit 1); exit 1; }; }
3041
3042# Provide some information about the compiler.
3043echo "$as_me:$LINENO:" \
3044     "checking for C compiler version" >&5
3045ac_compiler=`set X $ac_compile; echo $2`
3046{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3047  (eval $ac_compiler --version </dev/null >&5) 2>&5
3048  ac_status=$?
3049  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050  (exit $ac_status); }
3051{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3052  (eval $ac_compiler -v </dev/null >&5) 2>&5
3053  ac_status=$?
3054  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055  (exit $ac_status); }
3056{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3057  (eval $ac_compiler -V </dev/null >&5) 2>&5
3058  ac_status=$?
3059  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060  (exit $ac_status); }
3061
3062echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3063echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3064if test "${ac_cv_c_compiler_gnu+set}" = set; then
3065  echo $ECHO_N "(cached) $ECHO_C" >&6
3066else
3067  cat >conftest.$ac_ext <<_ACEOF
3068#line $LINENO "configure"
3069/* confdefs.h.  */
3070_ACEOF
3071cat confdefs.h >>conftest.$ac_ext
3072cat >>conftest.$ac_ext <<_ACEOF
3073/* end confdefs.h.  */
3074
3075int
3076main ()
3077{
3078#ifndef __GNUC__
3079       choke me
3080#endif
3081
3082  ;
3083  return 0;
3084}
3085_ACEOF
3086rm -f conftest.$ac_objext
3087if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3088  (eval $ac_compile) 2>&5
3089  ac_status=$?
3090  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091  (exit $ac_status); } &&
3092         { ac_try='test -s conftest.$ac_objext'
3093  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3094  (eval $ac_try) 2>&5
3095  ac_status=$?
3096  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097  (exit $ac_status); }; }; then
3098  ac_compiler_gnu=yes
3099else
3100  echo "$as_me: failed program was:" >&5
3101sed 's/^/| /' conftest.$ac_ext >&5
3102
3103ac_compiler_gnu=no
3104fi
3105rm -f conftest.$ac_objext conftest.$ac_ext
3106ac_cv_c_compiler_gnu=$ac_compiler_gnu
3107
3108fi
3109echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3110echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3111GCC=`test $ac_compiler_gnu = yes && echo yes`
3112ac_test_CFLAGS=${CFLAGS+set}
3113ac_save_CFLAGS=$CFLAGS
3114CFLAGS="-g"
3115echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3116echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3117if test "${ac_cv_prog_cc_g+set}" = set; then
3118  echo $ECHO_N "(cached) $ECHO_C" >&6
3119else
3120  cat >conftest.$ac_ext <<_ACEOF
3121#line $LINENO "configure"
3122/* confdefs.h.  */
3123_ACEOF
3124cat confdefs.h >>conftest.$ac_ext
3125cat >>conftest.$ac_ext <<_ACEOF
3126/* end confdefs.h.  */
3127
3128int
3129main ()
3130{
3131
3132  ;
3133  return 0;
3134}
3135_ACEOF
3136rm -f conftest.$ac_objext
3137if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3138  (eval $ac_compile) 2>&5
3139  ac_status=$?
3140  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141  (exit $ac_status); } &&
3142         { ac_try='test -s conftest.$ac_objext'
3143  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3144  (eval $ac_try) 2>&5
3145  ac_status=$?
3146  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147  (exit $ac_status); }; }; then
3148  ac_cv_prog_cc_g=yes
3149else
3150  echo "$as_me: failed program was:" >&5
3151sed 's/^/| /' conftest.$ac_ext >&5
3152
3153ac_cv_prog_cc_g=no
3154fi
3155rm -f conftest.$ac_objext conftest.$ac_ext
3156fi
3157echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3158echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3159if test "$ac_test_CFLAGS" = set; then
3160  CFLAGS=$ac_save_CFLAGS
3161elif test $ac_cv_prog_cc_g = yes; then
3162  if test "$GCC" = yes; then
3163    CFLAGS="-g -O2"
3164  else
3165    CFLAGS="-g"
3166  fi
3167else
3168  if test "$GCC" = yes; then
3169    CFLAGS="-O2"
3170  else
3171    CFLAGS=
3172  fi
3173fi
3174echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3175echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3176if test "${ac_cv_prog_cc_stdc+set}" = set; then
3177  echo $ECHO_N "(cached) $ECHO_C" >&6
3178else
3179  ac_cv_prog_cc_stdc=no
3180ac_save_CC=$CC
3181cat >conftest.$ac_ext <<_ACEOF
3182#line $LINENO "configure"
3183/* confdefs.h.  */
3184_ACEOF
3185cat confdefs.h >>conftest.$ac_ext
3186cat >>conftest.$ac_ext <<_ACEOF
3187/* end confdefs.h.  */
3188#include <stdarg.h>
3189#include <stdio.h>
3190#include <sys/types.h>
3191#include <sys/stat.h>
3192/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3193struct buf { int x; };
3194FILE * (*rcsopen) (struct buf *, struct stat *, int);
3195static char *e (p, i)
3196     char **p;
3197     int i;
3198{
3199  return p[i];
3200}
3201static char *f (char * (*g) (char **, int), char **p, ...)
3202{
3203  char *s;
3204  va_list v;
3205  va_start (v,p);
3206  s = g (p, va_arg (v,int));
3207  va_end (v);
3208  return s;
3209}
3210int test (int i, double x);
3211struct s1 {int (*f) (int a);};
3212struct s2 {int (*f) (double a);};
3213int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3214int argc;
3215char **argv;
3216int
3217main ()
3218{
3219return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3220  ;
3221  return 0;
3222}
3223_ACEOF
3224# Don't try gcc -ansi; that turns off useful extensions and
3225# breaks some systems' header files.
3226# AIX                   -qlanglvl=ansi
3227# Ultrix and OSF/1      -std1
3228# HP-UX 10.20 and later -Ae
3229# HP-UX older versions  -Aa -D_HPUX_SOURCE
3230# SVR4                  -Xc -D__EXTENSIONS__
3231for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3232do
3233  CC="$ac_save_CC $ac_arg"
3234  rm -f conftest.$ac_objext
3235if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3236  (eval $ac_compile) 2>&5
3237  ac_status=$?
3238  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239  (exit $ac_status); } &&
3240         { ac_try='test -s conftest.$ac_objext'
3241  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3242  (eval $ac_try) 2>&5
3243  ac_status=$?
3244  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3245  (exit $ac_status); }; }; then
3246  ac_cv_prog_cc_stdc=$ac_arg
3247break
3248else
3249  echo "$as_me: failed program was:" >&5
3250sed 's/^/| /' conftest.$ac_ext >&5
3251
3252fi
3253rm -f conftest.$ac_objext
3254done
3255rm -f conftest.$ac_ext conftest.$ac_objext
3256CC=$ac_save_CC
3257
3258fi
3259
3260case "x$ac_cv_prog_cc_stdc" in
3261  x|xno)
3262    echo "$as_me:$LINENO: result: none needed" >&5
3263echo "${ECHO_T}none needed" >&6 ;;
3264  *)
3265    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3266echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3267    CC="$CC $ac_cv_prog_cc_stdc" ;;
3268esac
3269
3270# Some people use a C++ compiler to compile C.  Since we use `exit',
3271# in C++ we need to declare it.  In case someone uses the same compiler
3272# for both compiling C and C++ we need to have the C++ compiler decide
3273# the declaration of exit, since it's the most demanding environment.
3274cat >conftest.$ac_ext <<_ACEOF
3275#ifndef __cplusplus
3276  choke me
3277#endif
3278_ACEOF
3279rm -f conftest.$ac_objext
3280if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3281  (eval $ac_compile) 2>&5
3282  ac_status=$?
3283  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284  (exit $ac_status); } &&
3285         { ac_try='test -s conftest.$ac_objext'
3286  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3287  (eval $ac_try) 2>&5
3288  ac_status=$?
3289  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3290  (exit $ac_status); }; }; then
3291  for ac_declaration in \
3292   ''\
3293   '#include <stdlib.h>' \
3294   'extern "C" void std::exit (int) throw (); using std::exit;' \
3295   'extern "C" void std::exit (int); using std::exit;' \
3296   'extern "C" void exit (int) throw ();' \
3297   'extern "C" void exit (int);' \
3298   'void exit (int);'
3299do
3300  cat >conftest.$ac_ext <<_ACEOF
3301#line $LINENO "configure"
3302/* confdefs.h.  */
3303_ACEOF
3304cat confdefs.h >>conftest.$ac_ext
3305cat >>conftest.$ac_ext <<_ACEOF
3306/* end confdefs.h.  */
3307#include <stdlib.h>
3308$ac_declaration
3309int
3310main ()
3311{
3312exit (42);
3313  ;
3314  return 0;
3315}
3316_ACEOF
3317rm -f conftest.$ac_objext
3318if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3319  (eval $ac_compile) 2>&5
3320  ac_status=$?
3321  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322  (exit $ac_status); } &&
3323         { ac_try='test -s conftest.$ac_objext'
3324  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3325  (eval $ac_try) 2>&5
3326  ac_status=$?
3327  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328  (exit $ac_status); }; }; then
3329  :
3330else
3331  echo "$as_me: failed program was:" >&5
3332sed 's/^/| /' conftest.$ac_ext >&5
3333
3334continue
3335fi
3336rm -f conftest.$ac_objext conftest.$ac_ext
3337  cat >conftest.$ac_ext <<_ACEOF
3338#line $LINENO "configure"
3339/* confdefs.h.  */
3340_ACEOF
3341cat confdefs.h >>conftest.$ac_ext
3342cat >>conftest.$ac_ext <<_ACEOF
3343/* end confdefs.h.  */
3344$ac_declaration
3345int
3346main ()
3347{
3348exit (42);
3349  ;
3350  return 0;
3351}
3352_ACEOF
3353rm -f conftest.$ac_objext
3354if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3355  (eval $ac_compile) 2>&5
3356  ac_status=$?
3357  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358  (exit $ac_status); } &&
3359         { ac_try='test -s conftest.$ac_objext'
3360  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3361  (eval $ac_try) 2>&5
3362  ac_status=$?
3363  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364  (exit $ac_status); }; }; then
3365  break
3366else
3367  echo "$as_me: failed program was:" >&5
3368sed 's/^/| /' conftest.$ac_ext >&5
3369
3370fi
3371rm -f conftest.$ac_objext conftest.$ac_ext
3372done
3373rm -f conftest*
3374if test -n "$ac_declaration"; then
3375  echo '#ifdef __cplusplus' >>confdefs.h
3376  echo $ac_declaration      >>confdefs.h
3377  echo '#endif'             >>confdefs.h
3378fi
3379
3380else
3381  echo "$as_me: failed program was:" >&5
3382sed 's/^/| /' conftest.$ac_ext >&5
3383
3384fi
3385rm -f conftest.$ac_objext conftest.$ac_ext
3386ac_ext=c
3387ac_cpp='$CPP $CPPFLAGS'
3388ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3389ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3390ac_compiler_gnu=$ac_cv_c_compiler_gnu
3391
3392depcc="$CC"   am_compiler_list=
3393
3394echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3395echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3396if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3397  echo $ECHO_N "(cached) $ECHO_C" >&6
3398else
3399  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3400  # We make a subdir and do the tests there.  Otherwise we can end up
3401  # making bogus files that we don't know about and never remove.  For
3402  # instance it was reported that on HP-UX the gcc test will end up
3403  # making a dummy file named `D' -- because `-MD' means `put the output
3404  # in D'.
3405  mkdir conftest.dir
3406  # Copy depcomp to subdir because otherwise we won't find it if we're
3407  # using a relative directory.
3408  cp "$am_depcomp" conftest.dir
3409  cd conftest.dir
3410
3411  am_cv_CC_dependencies_compiler_type=none
3412  if test "$am_compiler_list" = ""; then
3413     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3414  fi
3415  for depmode in $am_compiler_list; do
3416    # We need to recreate these files for each test, as the compiler may
3417    # overwrite some of them when testing with obscure command lines.
3418    # This happens at least with the AIX C compiler.
3419    echo '#include "conftest.h"' > conftest.c
3420    echo 'int i;' > conftest.h
3421    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
3422
3423    case $depmode in
3424    nosideeffect)
3425      # after this tag, mechanisms are not by side-effect, so they'll
3426      # only be used when explicitly requested
3427      if test "x$enable_dependency_tracking" = xyes; then
3428        continue
3429      else
3430        break
3431      fi
3432      ;;
3433    none) break ;;
3434    esac
3435    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3436    # mode.  It turns out that the SunPro C++ compiler does not properly
3437    # handle `-M -o', and we need to detect this.
3438    if depmode=$depmode \
3439       source=conftest.c object=conftest.o \
3440       depfile=conftest.Po tmpdepfile=conftest.TPo \
3441       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
3442       grep conftest.h conftest.Po > /dev/null 2>&1 &&
3443       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3444      am_cv_CC_dependencies_compiler_type=$depmode
3445      break
3446    fi
3447  done
3448
3449  cd ..
3450  rm -rf conftest.dir
3451else
3452  am_cv_CC_dependencies_compiler_type=none
3453fi
3454
3455fi
3456echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3457echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3458CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3459
3460
3461
3462# Extract the first word of "perl", so it can be a program name with args.
3463set dummy perl; ac_word=$2
3464echo "$as_me:$LINENO: checking for $ac_word" >&5
3465echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3466if test "${ac_cv_path_PERL+set}" = set; then
3467  echo $ECHO_N "(cached) $ECHO_C" >&6
3468else
3469  case $PERL in
3470  [\\/]* | ?:[\\/]*)
3471  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
3472  ;;
3473  *)
3474  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3475for as_dir in $PATH
3476do
3477  IFS=$as_save_IFS
3478  test -z "$as_dir" && as_dir=.
3479  for ac_exec_ext in '' $ac_executable_extensions; do
3480  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3481    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
3482    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3483    break 2
3484  fi
3485done
3486done
3487
3488  ;;
3489esac
3490fi
3491PERL=$ac_cv_path_PERL
3492
3493if test -n "$PERL"; then
3494  echo "$as_me:$LINENO: result: $PERL" >&5
3495echo "${ECHO_T}$PERL" >&6
3496else
3497  echo "$as_me:$LINENO: result: no" >&5
3498echo "${ECHO_T}no" >&6
3499fi
3500
3501if test -z "$PERL"; then
3502  { { echo "$as_me:$LINENO: error: perl not found" >&5
3503echo "$as_me: error: perl not found" >&2;}
3504   { (exit 1); exit 1; }; }
3505fi
3506
3507echo "$as_me:$LINENO: checking if Perl version >= 5.6.0" >&5
3508echo $ECHO_N "checking if Perl version >= 5.6.0... $ECHO_C" >&6
3509if "$PERL" -e "require v5.6.0"; then
3510  echo "$as_me:$LINENO: result: yes" >&5
3511echo "${ECHO_T}yes" >&6
3512else
3513  echo "$as_me:$LINENO: result: no" >&5
3514echo "${ECHO_T}no" >&6
3515  { { echo "$as_me:$LINENO: error: perl >= 5.6.0 is required for gtk-doc" >&5
3516echo "$as_me: error: perl >= 5.6.0 is required for gtk-doc" >&2;}
3517   { (exit 1); exit 1; }; }
3518fi
3519
3520SGML_FORMAT_TYPE=sgml-raw
3521# Extract the first word of "openjade", so it can be a program name with args.
3522set dummy openjade; ac_word=$2
3523echo "$as_me:$LINENO: checking for $ac_word" >&5
3524echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3525if test "${ac_cv_path_JADE+set}" = set; then
3526  echo $ECHO_N "(cached) $ECHO_C" >&6
3527else
3528  case $JADE in
3529  [\\/]* | ?:[\\/]*)
3530  ac_cv_path_JADE="$JADE" # Let the user override the test with a path.
3531  ;;
3532  *)
3533  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3534for as_dir in $PATH
3535do
3536  IFS=$as_save_IFS
3537  test -z "$as_dir" && as_dir=.
3538  for ac_exec_ext in '' $ac_executable_extensions; do
3539  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3540    ac_cv_path_JADE="$as_dir/$ac_word$ac_exec_ext"
3541    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3542    break 2
3543  fi
3544done
3545done
3546
3547  ;;
3548esac
3549fi
3550JADE=$ac_cv_path_JADE
3551
3552if test -n "$JADE"; then
3553  echo "$as_me:$LINENO: result: $JADE" >&5
3554echo "${ECHO_T}$JADE" >&6
3555else
3556  echo "$as_me:$LINENO: result: no" >&5
3557echo "${ECHO_T}no" >&6
3558fi
3559
3560if test -z "$JADE"; then
3561  SGML_FORMAT_TYPE=sgml
3562  # Extract the first word of "jade", so it can be a program name with args.
3563set dummy jade; ac_word=$2
3564echo "$as_me:$LINENO: checking for $ac_word" >&5
3565echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3566if test "${ac_cv_path_JADE+set}" = set; then
3567  echo $ECHO_N "(cached) $ECHO_C" >&6
3568else
3569  case $JADE in
3570  [\\/]* | ?:[\\/]*)
3571  ac_cv_path_JADE="$JADE" # Let the user override the test with a path.
3572  ;;
3573  *)
3574  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575for as_dir in $PATH
3576do
3577  IFS=$as_save_IFS
3578  test -z "$as_dir" && as_dir=.
3579  for ac_exec_ext in '' $ac_executable_extensions; do
3580  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3581    ac_cv_path_JADE="$as_dir/$ac_word$ac_exec_ext"
3582    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3583    break 2
3584  fi
3585done
3586done
3587
3588  ;;
3589esac
3590fi
3591JADE=$ac_cv_path_JADE
3592
3593if test -n "$JADE"; then
3594  echo "$as_me:$LINENO: result: $JADE" >&5
3595echo "${ECHO_T}$JADE" >&6
3596else
3597  echo "$as_me:$LINENO: result: no" >&5
3598echo "${ECHO_T}no" >&6
3599fi
3600
3601  if test -z "$JADE"; then
3602    { { echo "$as_me:$LINENO: error: openjade/jade not found" >&5
3603echo "$as_me: error: openjade/jade not found" >&2;}
3604   { (exit 1); exit 1; }; }
3605  fi
3606fi
3607
3608
3609# Extract the first word of "xsltproc", so it can be a program name with args.
3610set dummy xsltproc; ac_word=$2
3611echo "$as_me:$LINENO: checking for $ac_word" >&5
3612echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3613if test "${ac_cv_path_XSLTPROC+set}" = set; then
3614  echo $ECHO_N "(cached) $ECHO_C" >&6
3615else
3616  case $XSLTPROC in
3617  [\\/]* | ?:[\\/]*)
3618  ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
3619  ;;
3620  *)
3621  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3622for as_dir in $PATH
3623do
3624  IFS=$as_save_IFS
3625  test -z "$as_dir" && as_dir=.
3626  for ac_exec_ext in '' $ac_executable_extensions; do
3627  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3628    ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
3629    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3630    break 2
3631  fi
3632done
3633done
3634
3635  ;;
3636esac
3637fi
3638XSLTPROC=$ac_cv_path_XSLTPROC
3639
3640if test -n "$XSLTPROC"; then
3641  echo "$as_me:$LINENO: result: $XSLTPROC" >&5
3642echo "${ECHO_T}$XSLTPROC" >&6
3643else
3644  echo "$as_me:$LINENO: result: no" >&5
3645echo "${ECHO_T}no" >&6
3646fi
3647
3648if test -z "$XSLTPROC"; then
3649  { { echo "$as_me:$LINENO: error: xsltproc not found" >&5
3650echo "$as_me: error: xsltproc not found" >&2;}
3651   { (exit 1); exit 1; }; }
3652fi
3653
3654
3655  # check for the presence of the XML catalog
3656
3657# Check whether --with-xml-catalog or --without-xml-catalog was given.
3658if test "${with_xml_catalog+set}" = set; then
3659  withval="$with_xml_catalog"
3660
3661else
3662  with_xml_catalog=/etc/xml/catalog
3663fi;
3664  jh_found_xmlcatalog=true
3665  XML_CATALOG_FILE="$with_xml_catalog"
3666
3667  echo "$as_me:$LINENO: checking for XML catalog ($XML_CATALOG_FILE)" >&5
3668echo $ECHO_N "checking for XML catalog ($XML_CATALOG_FILE)... $ECHO_C" >&6
3669  if test -f "$XML_CATALOG_FILE"; then
3670    echo "$as_me:$LINENO: result: found" >&5
3671echo "${ECHO_T}found" >&6
3672  else
3673    jh_found_xmlcatalog=false
3674    echo "$as_me:$LINENO: result: not found" >&5
3675echo "${ECHO_T}not found" >&6
3676  fi
3677
3678  # check for the xmlcatalog program
3679  # Extract the first word of "xmlcatalog", so it can be a program name with args.
3680set dummy xmlcatalog; ac_word=$2
3681echo "$as_me:$LINENO: checking for $ac_word" >&5
3682echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3683if test "${ac_cv_path_XMLCATALOG+set}" = set; then
3684  echo $ECHO_N "(cached) $ECHO_C" >&6
3685else
3686  case $XMLCATALOG in
3687  [\\/]* | ?:[\\/]*)
3688  ac_cv_path_XMLCATALOG="$XMLCATALOG" # Let the user override the test with a path.
3689  ;;
3690  *)
3691  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3692for as_dir in $PATH
3693do
3694  IFS=$as_save_IFS
3695  test -z "$as_dir" && as_dir=.
3696  for ac_exec_ext in '' $ac_executable_extensions; do
3697  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3698    ac_cv_path_XMLCATALOG="$as_dir/$ac_word$ac_exec_ext"
3699    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3700    break 2
3701  fi
3702done
3703done
3704
3705  test -z "$ac_cv_path_XMLCATALOG" && ac_cv_path_XMLCATALOG="no"
3706  ;;
3707esac
3708fi
3709XMLCATALOG=$ac_cv_path_XMLCATALOG
3710
3711if test -n "$XMLCATALOG"; then
3712  echo "$as_me:$LINENO: result: $XMLCATALOG" >&5
3713echo "${ECHO_T}$XMLCATALOG" >&6
3714else
3715  echo "$as_me:$LINENO: result: no" >&5
3716echo "${ECHO_T}no" >&6
3717fi
3718
3719  if test "x$XMLCATALOG" = xno; then
3720    jh_found_xmlcatalog=false
3721  fi
3722
3723  if $jh_found_xmlcatalog; then
3724    :
3725  else
3726    :
3727  fi
3728
3729
3730    echo "$as_me:$LINENO: checking for DocBook XML DTD V4.1.2 in XML catalog" >&5
3731echo $ECHO_N "checking for DocBook XML DTD V4.1.2 in XML catalog... $ECHO_C" >&6
3732  if $jh_found_xmlcatalog && \
3733     { (echo "$as_me:$LINENO: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"-//OASIS//DTD DocBook XML V4.1.2//EN\" >&2") >&5
3734  ($XMLCATALOG --noout "$XML_CATALOG_FILE" "-//OASIS//DTD DocBook XML V4.1.2//EN" >&2) 2>&5
3735  ac_status=$?
3736  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3737  (exit $ac_status); }; then
3738    echo "$as_me:$LINENO: result: found" >&5
3739echo "${ECHO_T}found" >&6
3740      else
3741    echo "$as_me:$LINENO: result: not found" >&5
3742echo "${ECHO_T}not found" >&6
3743    { { echo "$as_me:$LINENO: error: could not find DocBook XML DTD V4.1.2 in XML catalog" >&5
3744echo "$as_me: error: could not find DocBook XML DTD V4.1.2 in XML catalog" >&2;}
3745   { (exit 1); exit 1; }; }
3746  fi
3747
3748
3749    echo "$as_me:$LINENO: checking for DocBook XSL Stylesheets in XML catalog" >&5
3750echo $ECHO_N "checking for DocBook XSL Stylesheets in XML catalog... $ECHO_C" >&6
3751  if $jh_found_xmlcatalog && \
3752     { (echo "$as_me:$LINENO: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl\" >&2") >&5
3753  ($XMLCATALOG --noout "$XML_CATALOG_FILE" "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl" >&2) 2>&5
3754  ac_status=$?
3755  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3756  (exit $ac_status); }; then
3757    echo "$as_me:$LINENO: result: found" >&5
3758echo "${ECHO_T}found" >&6
3759      else
3760    echo "$as_me:$LINENO: result: not found" >&5
3761echo "${ECHO_T}not found" >&6
3762    { { echo "$as_me:$LINENO: error: could not find DocBook XSL Stylesheets in XML catalog" >&5
3763echo "$as_me: error: could not find DocBook XSL Stylesheets in XML catalog" >&2;}
3764   { (exit 1); exit 1; }; }
3765  fi
3766
3767
3768if test "x${datadir}" = 'x${prefix}/share'; then
3769  if test "x${prefix}" = "xNONE"; then
3770    PACKAGE_DATA_DIR="${ac_default_prefix}/share/${PACKAGE}/data"
3771  else
3772    PACKAGE_DATA_DIR="${prefix}/share/${PACKAGE}/data"
3773  fi
3774else
3775  PACKAGE_DATA_DIR="${datadir}/${PACKAGE}/data"
3776fi
3777
3778
3779
3780
3781if test "x$GCC" = "xyes"; then
3782  if test -z "`echo "$CFLAGS" | grep "\-Wall" 2> /dev/null`" ; then
3783    CFLAGS="$CFLAGS -Wall"
3784  fi
3785fi
3786
3787
3788                                                            ac_config_files="$ac_config_files Makefile gtk-doc.pc gtk-doc.dsl gtk-doc.spec gtk-doc.cat gtkdoc-common.pl"
3789
3790
3791          ac_config_files="$ac_config_files gtkdoc-mkman"
3792
3793          ac_config_files="$ac_config_files gtkdoc-mkhtml"
3794
3795          ac_config_files="$ac_config_files gtkdoc-fixxref"
3796
3797          ac_config_files="$ac_config_files gtkdoc-mkdb"
3798
3799          ac_config_files="$ac_config_files gtkdoc-mktmpl"
3800
3801          ac_config_files="$ac_config_files gtkdoc-scan"
3802
3803          ac_config_files="$ac_config_files gtkdoc-scanobj"
3804
3805          ac_config_files="$ac_config_files gtkdoc-scangobj"
3806
3807          ac_config_files="$ac_config_files gtkdocize"
3808
3809
3810cat >confcache <<\_ACEOF
3811# This file is a shell script that caches the results of configure
3812# tests run on this system so they can be shared between configure
3813# scripts and configure runs, see configure's option --config-cache.
3814# It is not useful on other systems.  If it contains results you don't
3815# want to keep, you may remove or edit it.
3816#
3817# config.status only pays attention to the cache file if you give it
3818# the --recheck option to rerun configure.
3819#
3820# `ac_cv_env_foo' variables (set or unset) will be overridden when
3821# loading this file, other *unset* `ac_cv_foo' will be assigned the
3822# following values.
3823
3824_ACEOF
3825
3826# The following way of writing the cache mishandles newlines in values,
3827# but we know of no workaround that is simple, portable, and efficient.
3828# So, don't put newlines in cache variables' values.
3829# Ultrix sh set writes to stderr and can't be redirected directly,
3830# and sets the high bit in the cache file unless we assign to the vars.
3831{
3832  (set) 2>&1 |
3833    case `(ac_space=' '; set | grep ac_space) 2>&1` in
3834    *ac_space=\ *)
3835      # `set' does not quote correctly, so add quotes (double-quote
3836      # substitution turns \\\\ into \\, and sed turns \\ into \).
3837      sed -n \
3838        "s/'/'\\\\''/g;
3839          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3840      ;;
3841    *)
3842      # `set' quotes correctly as required by POSIX, so do not add quotes.
3843      sed -n \
3844        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3845      ;;
3846    esac;
3847} |
3848  sed '
3849     t clear
3850     : clear
3851     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3852     t end
3853     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3854     : end' >>confcache
3855if diff $cache_file confcache >/dev/null 2>&1; then :; else
3856  if test -w $cache_file; then
3857    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3858    cat confcache >$cache_file
3859  else
3860    echo "not updating unwritable cache $cache_file"
3861  fi
3862fi
3863rm -f confcache
3864
3865test "x$prefix" = xNONE && prefix=$ac_default_prefix
3866# Let make expand exec_prefix.
3867test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3868
3869# VPATH may cause trouble with some makes, so we remove $(srcdir),
3870# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3871# trailing colons and then remove the whole line if VPATH becomes empty
3872# (actually we leave an empty line to preserve line numbers).
3873if test "x$srcdir" = x.; then
3874  ac_vpsub='/^[         ]*VPATH[        ]*=/{
3875s/:*\$(srcdir):*/:/;
3876s/:*\${srcdir}:*/:/;
3877s/:*@srcdir@:*/:/;
3878s/^\([^=]*=[    ]*\):*/\1/;
3879s/:*$//;
3880s/^[^=]*=[      ]*$//;
3881}'
3882fi
3883
3884# Transform confdefs.h into DEFS.
3885# Protect against shell expansion while executing Makefile rules.
3886# Protect against Makefile macro expansion.
3887#
3888# If the first sed substitution is executed (which looks for macros that
3889# take arguments), then we branch to the quote section.  Otherwise,
3890# look for a macro that doesn't take arguments.
3891cat >confdef2opt.sed <<\_ACEOF
3892t clear
3893: clear
3894s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
3895t quote
3896s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
3897t quote
3898d
3899: quote
3900s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
3901s,\[,\\&,g
3902s,\],\\&,g
3903s,\$,$$,g
3904p
3905_ACEOF
3906# We use echo to avoid assuming a particular line-breaking character.
3907# The extra dot is to prevent the shell from consuming trailing
3908# line-breaks from the sub-command output.  A line-break within
3909# single-quotes doesn't work because, if this script is created in a
3910# platform that uses two characters for line-breaks (e.g., DOS), tr
3911# would break.
3912ac_LF_and_DOT=`echo; echo .`
3913DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3914rm -f confdef2opt.sed
3915
3916
3917ac_libobjs=
3918ac_ltlibobjs=
3919for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3920  # 1. Remove the extension, and $U if already installed.
3921  ac_i=`echo "$ac_i" |
3922         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3923  # 2. Add them.
3924  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3925  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3926done
3927LIBOBJS=$ac_libobjs
3928
3929LTLIBOBJS=$ac_ltlibobjs
3930
3931
3932if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3933  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3934Usually this means the macro was only invoked conditionally." >&5
3935echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3936Usually this means the macro was only invoked conditionally." >&2;}
3937   { (exit 1); exit 1; }; }
3938fi
3939if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3940  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3941Usually this means the macro was only invoked conditionally." >&5
3942echo "$as_me: error: conditional \"AMDEP\" was never defined.
3943Usually this means the macro was only invoked conditionally." >&2;}
3944   { (exit 1); exit 1; }; }
3945fi
3946
3947: ${CONFIG_STATUS=./config.status}
3948ac_clean_files_save=$ac_clean_files
3949ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3950{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3951echo "$as_me: creating $CONFIG_STATUS" >&6;}
3952cat >$CONFIG_STATUS <<_ACEOF
3953#! $SHELL
3954# Generated by $as_me.
3955# Run this file to recreate the current configuration.
3956# Compiler output produced by configure, useful for debugging
3957# configure, is in config.log if it exists.
3958
3959debug=false
3960ac_cs_recheck=false
3961ac_cs_silent=false
3962SHELL=\${CONFIG_SHELL-$SHELL}
3963_ACEOF
3964
3965cat >>$CONFIG_STATUS <<\_ACEOF
3966## --------------------- ##
3967## M4sh Initialization.  ##
3968## --------------------- ##
3969
3970# Be Bourne compatible
3971if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3972  emulate sh
3973  NULLCMD=:
3974  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3975  # is contrary to our usage.  Disable this feature.
3976  alias -g '${1+"$@"}'='"$@"'
3977elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3978  set -o posix
3979fi
3980
3981# Support unset when possible.
3982if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3983  as_unset=unset
3984else
3985  as_unset=false
3986fi
3987
3988
3989# Work around bugs in pre-3.0 UWIN ksh.
3990$as_unset ENV MAIL MAILPATH
3991PS1='$ '
3992PS2='> '
3993PS4='+ '
3994
3995# NLS nuisances.
3996for as_var in \
3997  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3998  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3999  LC_TELEPHONE LC_TIME
4000do
4001  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
4002    eval $as_var=C; export $as_var
4003  else
4004    $as_unset $as_var
4005  fi
4006done
4007
4008# Required to use basename.
4009if expr a : '\(a\)' >/dev/null 2>&1; then
4010  as_expr=expr
4011else
4012  as_expr=false
4013fi
4014
4015if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4016  as_basename=basename
4017else
4018  as_basename=false
4019fi
4020
4021
4022# Name of the executable.
4023as_me=`$as_basename "$0" ||
4024$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4025         X"$0" : 'X\(//\)$' \| \
4026         X"$0" : 'X\(/\)$' \| \
4027         .     : '\(.\)' 2>/dev/null ||
4028echo X/"$0" |
4029    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4030          /^X\/\(\/\/\)$/{ s//\1/; q; }
4031          /^X\/\(\/\).*/{ s//\1/; q; }
4032          s/.*/./; q'`
4033
4034
4035# PATH needs CR, and LINENO needs CR and PATH.
4036# Avoid depending upon Character Ranges.
4037as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4038as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4039as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4040as_cr_digits='0123456789'
4041as_cr_alnum=$as_cr_Letters$as_cr_digits
4042
4043# The user is always right.
4044if test "${PATH_SEPARATOR+set}" != set; then
4045  echo "#! /bin/sh" >conf$$.sh
4046  echo  "exit 0"   >>conf$$.sh
4047  chmod +x conf$$.sh
4048  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4049    PATH_SEPARATOR=';'
4050  else
4051    PATH_SEPARATOR=:
4052  fi
4053  rm -f conf$$.sh
4054fi
4055
4056
4057  as_lineno_1=$LINENO
4058  as_lineno_2=$LINENO
4059  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4060  test "x$as_lineno_1" != "x$as_lineno_2" &&
4061  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
4062  # Find who we are.  Look in the path if we contain no path at all
4063  # relative or not.
4064  case $0 in
4065    *[\\/]* ) as_myself=$0 ;;
4066    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4067for as_dir in $PATH
4068do
4069  IFS=$as_save_IFS
4070  test -z "$as_dir" && as_dir=.
4071  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4072done
4073
4074       ;;
4075  esac
4076  # We did not find ourselves, most probably we were run as `sh COMMAND'
4077  # in which case we are not to be found in the path.
4078  if test "x$as_myself" = x; then
4079    as_myself=$0
4080  fi
4081  if test ! -f "$as_myself"; then
4082    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4083echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4084   { (exit 1); exit 1; }; }
4085  fi
4086  case $CONFIG_SHELL in
4087  '')
4088    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4089for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4090do
4091  IFS=$as_save_IFS
4092  test -z "$as_dir" && as_dir=.
4093  for as_base in sh bash ksh sh5; do
4094         case $as_dir in
4095         /*)
4096           if ("$as_dir/$as_base" -c '
4097  as_lineno_1=$LINENO
4098  as_lineno_2=$LINENO
4099  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4100  test "x$as_lineno_1" != "x$as_lineno_2" &&
4101  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
4102             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4103             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4104             CONFIG_SHELL=$as_dir/$as_base
4105             export CONFIG_SHELL
4106             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4107           fi;;
4108         esac
4109       done
4110done
4111;;
4112  esac
4113
4114  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4115  # uniformly replaced by the line number.  The first 'sed' inserts a
4116  # line-number line before each line; the second 'sed' does the real
4117  # work.  The second script uses 'N' to pair each line-number line
4118  # with the numbered line, and appends trailing '-' during
4119  # substitution so that $LINENO is not a special case at line end.
4120  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4121  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
4122  sed '=' <$as_myself |
4123    sed '
4124      N
4125      s,$,-,
4126      : loop
4127      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4128      t loop
4129      s,-$,,
4130      s,^['$as_cr_digits']*\n,,
4131    ' >$as_me.lineno &&
4132  chmod +x $as_me.lineno ||
4133    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4134echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4135   { (exit 1); exit 1; }; }
4136
4137  # Don't try to exec as it changes $[0], causing all sort of problems
4138  # (the dirname of $[0] is not the place where we might find the
4139  # original and so on.  Autoconf is especially sensible to this).
4140  . ./$as_me.lineno
4141  # Exit status is that of the last command.
4142  exit
4143}
4144
4145
4146case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4147  *c*,-n*) ECHO_N= ECHO_C='
4148' ECHO_T='      ' ;;
4149  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4150  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
4151esac
4152
4153if expr a : '\(a\)' >/dev/null 2>&1; then
4154  as_expr=expr
4155else
4156  as_expr=false
4157fi
4158
4159rm -f conf$$ conf$$.exe conf$$.file
4160echo >conf$$.file
4161if ln -s conf$$.file conf$$ 2>/dev/null; then
4162  # We could just check for DJGPP; but this test a) works b) is more generic
4163  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4164  if test -f conf$$.exe; then
4165    # Don't use ln at all; we don't have any links
4166    as_ln_s='cp -p'
4167  else
4168    as_ln_s='ln -s'
4169  fi
4170elif ln conf$$.file conf$$ 2>/dev/null; then
4171  as_ln_s=ln
4172else
4173  as_ln_s='cp -p'
4174fi
4175rm -f conf$$ conf$$.exe conf$$.file
4176
4177if mkdir -p . 2>/dev/null; then
4178  as_mkdir_p=:
4179else
4180  as_mkdir_p=false
4181fi
4182
4183as_executable_p="test -f"
4184
4185# Sed expression to map a string onto a valid CPP name.
4186as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4187
4188# Sed expression to map a string onto a valid variable name.
4189as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4190
4191
4192# IFS
4193# We need space, tab and new line, in precisely that order.
4194as_nl='
4195'
4196IFS="   $as_nl"
4197
4198# CDPATH.
4199$as_unset CDPATH
4200
4201exec 6>&1
4202
4203# Open the log real soon, to keep \$[0] and so on meaningful, and to
4204# report actual input values of CONFIG_FILES etc. instead of their
4205# values after options handling.  Logging --version etc. is OK.
4206exec 5>>config.log
4207{
4208  echo
4209  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4210## Running $as_me. ##
4211_ASBOX
4212} >&5
4213cat >&5 <<_CSEOF
4214
4215This file was extended by gtk-doc $as_me 1.2, which was
4216generated by GNU Autoconf 2.57.  Invocation command line was
4217
4218  CONFIG_FILES    = $CONFIG_FILES
4219  CONFIG_HEADERS  = $CONFIG_HEADERS
4220  CONFIG_LINKS    = $CONFIG_LINKS
4221  CONFIG_COMMANDS = $CONFIG_COMMANDS
4222  $ $0 $@
4223
4224_CSEOF
4225echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4226echo >&5
4227_ACEOF
4228
4229# Files that config.status was made for.
4230if test -n "$ac_config_files"; then
4231  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4232fi
4233
4234if test -n "$ac_config_headers"; then
4235  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4236fi
4237
4238if test -n "$ac_config_links"; then
4239  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4240fi
4241
4242if test -n "$ac_config_commands"; then
4243  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4244fi
4245
4246cat >>$CONFIG_STATUS <<\_ACEOF
4247
4248ac_cs_usage="\
4249\`$as_me' instantiates files from templates according to the
4250current configuration.
4251
4252Usage: $0 [OPTIONS] [FILE]...
4253
4254  -h, --help       print this help, then exit
4255  -V, --version    print version number, then exit
4256  -q, --quiet      do not print progress messages
4257  -d, --debug      don't remove temporary files
4258      --recheck    update $as_me by reconfiguring in the same conditions
4259  --file=FILE[:TEMPLATE]
4260                   instantiate the configuration file FILE
4261
4262Configuration files:
4263$config_files
4264
4265Configuration commands:
4266$config_commands
4267
4268Report bugs to <bug-autoconf@gnu.org>."
4269_ACEOF
4270
4271cat >>$CONFIG_STATUS <<_ACEOF
4272ac_cs_version="\\
4273gtk-doc config.status 1.2
4274configured by $0, generated by GNU Autoconf 2.57,
4275  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4276
4277Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4278Free Software Foundation, Inc.
4279This config.status script is free software; the Free Software Foundation
4280gives unlimited permission to copy, distribute and modify it."
4281srcdir=$srcdir
4282INSTALL="$INSTALL"
4283_ACEOF
4284
4285cat >>$CONFIG_STATUS <<\_ACEOF
4286# If no file are specified by the user, then we need to provide default
4287# value.  By we need to know if files were specified by the user.
4288ac_need_defaults=:
4289while test $# != 0
4290do
4291  case $1 in
4292  --*=*)
4293    ac_option=`expr "x$1" : 'x\([^=]*\)='`
4294    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4295    ac_shift=:
4296    ;;
4297  -*)
4298    ac_option=$1
4299    ac_optarg=$2
4300    ac_shift=shift
4301    ;;
4302  *) # This is not an option, so the user has probably given explicit
4303     # arguments.
4304     ac_option=$1
4305     ac_need_defaults=false;;
4306  esac
4307
4308  case $ac_option in
4309  # Handling of the options.
4310_ACEOF
4311cat >>$CONFIG_STATUS <<\_ACEOF
4312  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4313    ac_cs_recheck=: ;;
4314  --version | --vers* | -V )
4315    echo "$ac_cs_version"; exit 0 ;;
4316  --he | --h)
4317    # Conflict between --help and --header
4318    { { echo "$as_me:$LINENO: error: ambiguous option: $1
4319Try \`$0 --help' for more information." >&5
4320echo "$as_me: error: ambiguous option: $1
4321Try \`$0 --help' for more information." >&2;}
4322   { (exit 1); exit 1; }; };;
4323  --help | --hel | -h )
4324    echo "$ac_cs_usage"; exit 0 ;;
4325  --debug | --d* | -d )
4326    debug=: ;;
4327  --file | --fil | --fi | --f )
4328    $ac_shift
4329    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4330    ac_need_defaults=false;;
4331  --header | --heade | --head | --hea )
4332    $ac_shift
4333    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4334    ac_need_defaults=false;;
4335  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4336  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4337    ac_cs_silent=: ;;
4338
4339  # This is an error.
4340  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4341Try \`$0 --help' for more information." >&5
4342echo "$as_me: error: unrecognized option: $1
4343Try \`$0 --help' for more information." >&2;}
4344   { (exit 1); exit 1; }; } ;;
4345
4346  *) ac_config_targets="$ac_config_targets $1" ;;
4347
4348  esac
4349  shift
4350done
4351
4352ac_configure_extra_args=
4353
4354if $ac_cs_silent; then
4355  exec 6>/dev/null
4356  ac_configure_extra_args="$ac_configure_extra_args --silent"
4357fi
4358
4359_ACEOF
4360cat >>$CONFIG_STATUS <<_ACEOF
4361if \$ac_cs_recheck; then
4362  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4363  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4364fi
4365
4366_ACEOF
4367
4368cat >>$CONFIG_STATUS <<_ACEOF
4369#
4370# INIT-COMMANDS section.
4371#
4372
4373AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4374
4375_ACEOF
4376
4377
4378
4379cat >>$CONFIG_STATUS <<\_ACEOF
4380for ac_config_target in $ac_config_targets
4381do
4382  case "$ac_config_target" in
4383  # Handling of arguments.
4384  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4385  "gtk-doc.pc" ) CONFIG_FILES="$CONFIG_FILES gtk-doc.pc" ;;
4386  "gtk-doc.dsl" ) CONFIG_FILES="$CONFIG_FILES gtk-doc.dsl" ;;
4387  "gtk-doc.spec" ) CONFIG_FILES="$CONFIG_FILES gtk-doc.spec" ;;
4388  "gtk-doc.cat" ) CONFIG_FILES="$CONFIG_FILES gtk-doc.cat" ;;
4389  "gtkdoc-common.pl" ) CONFIG_FILES="$CONFIG_FILES gtkdoc-common.pl" ;;
4390  "gtkdoc-mkman" ) CONFIG_FILES="$CONFIG_FILES gtkdoc-mkman" ;;
4391  "gtkdoc-mkhtml" ) CONFIG_FILES="$CONFIG_FILES gtkdoc-mkhtml" ;;
4392  "gtkdoc-fixxref" ) CONFIG_FILES="$CONFIG_FILES gtkdoc-fixxref" ;;
4393  "gtkdoc-mkdb" ) CONFIG_FILES="$CONFIG_FILES gtkdoc-mkdb" ;;
4394  "gtkdoc-mktmpl" ) CONFIG_FILES="$CONFIG_FILES gtkdoc-mktmpl" ;;
4395  "gtkdoc-scan" ) CONFIG_FILES="$CONFIG_FILES gtkdoc-scan" ;;
4396  "gtkdoc-scanobj" ) CONFIG_FILES="$CONFIG_FILES gtkdoc-scanobj" ;;
4397  "gtkdoc-scangobj" ) CONFIG_FILES="$CONFIG_FILES gtkdoc-scangobj" ;;
4398  "gtkdocize" ) CONFIG_FILES="$CONFIG_FILES gtkdocize" ;;
4399  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4400  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4401echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4402   { (exit 1); exit 1; }; };;
4403  esac
4404done
4405
4406# If the user did not use the arguments to specify the items to instantiate,
4407# then the envvar interface is used.  Set only those that are not.
4408# We use the long form for the default assignment because of an extremely
4409# bizarre bug on SunOS 4.1.3.
4410if $ac_need_defaults; then
4411  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4412  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4413fi
4414
4415# Have a temporary directory for convenience.  Make it in the build tree
4416# simply because there is no reason to put it here, and in addition,
4417# creating and moving files from /tmp can sometimes cause problems.
4418# Create a temporary directory, and hook for its removal unless debugging.
4419$debug ||
4420{
4421  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4422  trap '{ (exit 1); exit 1; }' 1 2 13 15
4423}
4424
4425# Create a (secure) tmp directory for tmp files.
4426
4427{
4428  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4429  test -n "$tmp" && test -d "$tmp"
4430}  ||
4431{
4432  tmp=./confstat$$-$RANDOM
4433  (umask 077 && mkdir $tmp)
4434} ||
4435{
4436   echo "$me: cannot create a temporary directory in ." >&2
4437   { (exit 1); exit 1; }
4438}
4439
4440_ACEOF
4441
4442cat >>$CONFIG_STATUS <<_ACEOF
4443
4444#
4445# CONFIG_FILES section.
4446#
4447
4448# No need to generate the scripts if there are no CONFIG_FILES.
4449# This happens for instance when ./config.status config.h
4450if test -n "\$CONFIG_FILES"; then
4451  # Protect against being on the right side of a sed subst in config.status.
4452  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4453   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4454s,@SHELL@,$SHELL,;t t
4455s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4456s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4457s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4458s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4459s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4460s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4461s,@exec_prefix@,$exec_prefix,;t t
4462s,@prefix@,$prefix,;t t
4463s,@program_transform_name@,$program_transform_name,;t t
4464s,@bindir@,$bindir,;t t
4465s,@sbindir@,$sbindir,;t t
4466s,@libexecdir@,$libexecdir,;t t
4467s,@datadir@,$datadir,;t t
4468s,@sysconfdir@,$sysconfdir,;t t
4469s,@sharedstatedir@,$sharedstatedir,;t t
4470s,@localstatedir@,$localstatedir,;t t
4471s,@libdir@,$libdir,;t t
4472s,@includedir@,$includedir,;t t
4473s,@oldincludedir@,$oldincludedir,;t t
4474s,@infodir@,$infodir,;t t
4475s,@mandir@,$mandir,;t t
4476s,@build_alias@,$build_alias,;t t
4477s,@host_alias@,$host_alias,;t t
4478s,@target_alias@,$target_alias,;t t
4479s,@DEFS@,$DEFS,;t t
4480s,@ECHO_C@,$ECHO_C,;t t
4481s,@ECHO_N@,$ECHO_N,;t t
4482s,@ECHO_T@,$ECHO_T,;t t
4483s,@LIBS@,$LIBS,;t t
4484s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4485s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4486s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4487s,@PACKAGE@,$PACKAGE,;t t
4488s,@VERSION@,$VERSION,;t t
4489s,@ACLOCAL@,$ACLOCAL,;t t
4490s,@AUTOCONF@,$AUTOCONF,;t t
4491s,@AUTOMAKE@,$AUTOMAKE,;t t
4492s,@AUTOHEADER@,$AUTOHEADER,;t t
4493s,@MAKEINFO@,$MAKEINFO,;t t
4494s,@AMTAR@,$AMTAR,;t t
4495s,@install_sh@,$install_sh,;t t
4496s,@STRIP@,$STRIP,;t t
4497s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4498s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4499s,@AWK@,$AWK,;t t
4500s,@SET_MAKE@,$SET_MAKE,;t t
4501s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
4502s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
4503s,@MAINT@,$MAINT,;t t
4504s,@CC@,$CC,;t t
4505s,@CFLAGS@,$CFLAGS,;t t
4506s,@LDFLAGS@,$LDFLAGS,;t t
4507s,@CPPFLAGS@,$CPPFLAGS,;t t
4508s,@ac_ct_CC@,$ac_ct_CC,;t t
4509s,@EXEEXT@,$EXEEXT,;t t
4510s,@OBJEXT@,$OBJEXT,;t t
4511s,@DEPDIR@,$DEPDIR,;t t
4512s,@am__include@,$am__include,;t t
4513s,@am__quote@,$am__quote,;t t
4514s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4515s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4516s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4517s,@CCDEPMODE@,$CCDEPMODE,;t t
4518s,@PERL@,$PERL,;t t
4519s,@JADE@,$JADE,;t t
4520s,@SGML_FORMAT_TYPE@,$SGML_FORMAT_TYPE,;t t
4521s,@XSLTPROC@,$XSLTPROC,;t t
4522s,@XML_CATALOG_FILE@,$XML_CATALOG_FILE,;t t
4523s,@XMLCATALOG@,$XMLCATALOG,;t t
4524s,@PACKAGE_DATA_DIR@,$PACKAGE_DATA_DIR,;t t
4525s,@LIBOBJS@,$LIBOBJS,;t t
4526s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4527CEOF
4528
4529_ACEOF
4530
4531  cat >>$CONFIG_STATUS <<\_ACEOF
4532  # Split the substitutions into bite-sized pieces for seds with
4533  # small command number limits, like on Digital OSF/1 and HP-UX.
4534  ac_max_sed_lines=48
4535  ac_sed_frag=1 # Number of current file.
4536  ac_beg=1 # First line for current file.
4537  ac_end=$ac_max_sed_lines # Line after last line for current file.
4538  ac_more_lines=:
4539  ac_sed_cmds=
4540  while $ac_more_lines; do
4541    if test $ac_beg -gt 1; then
4542      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4543    else
4544      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4545    fi
4546    if test ! -s $tmp/subs.frag; then
4547      ac_more_lines=false
4548    else
4549      # The purpose of the label and of the branching condition is to
4550      # speed up the sed processing (if there are no `@' at all, there
4551      # is no need to browse any of the substitutions).
4552      # These are the two extra sed commands mentioned above.
4553      (echo ':t
4554  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4555      if test -z "$ac_sed_cmds"; then
4556        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4557      else
4558        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4559      fi
4560      ac_sed_frag=`expr $ac_sed_frag + 1`
4561      ac_beg=$ac_end
4562      ac_end=`expr $ac_end + $ac_max_sed_lines`
4563    fi
4564  done
4565  if test -z "$ac_sed_cmds"; then
4566    ac_sed_cmds=cat
4567  fi
4568fi # test -n "$CONFIG_FILES"
4569
4570_ACEOF
4571cat >>$CONFIG_STATUS <<\_ACEOF
4572for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4573  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4574  case $ac_file in
4575  - | *:- | *:-:* ) # input from stdin
4576        cat >$tmp/stdin
4577        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4578        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4579  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4580        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4581  * )   ac_file_in=$ac_file.in ;;
4582  esac
4583
4584  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4585  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4586$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4587         X"$ac_file" : 'X\(//\)[^/]' \| \
4588         X"$ac_file" : 'X\(//\)$' \| \
4589         X"$ac_file" : 'X\(/\)' \| \
4590         .     : '\(.\)' 2>/dev/null ||
4591echo X"$ac_file" |
4592    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4593          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4594          /^X\(\/\/\)$/{ s//\1/; q; }
4595          /^X\(\/\).*/{ s//\1/; q; }
4596          s/.*/./; q'`
4597  { if $as_mkdir_p; then
4598    mkdir -p "$ac_dir"
4599  else
4600    as_dir="$ac_dir"
4601    as_dirs=
4602    while test ! -d "$as_dir"; do
4603      as_dirs="$as_dir $as_dirs"
4604      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4605$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4606         X"$as_dir" : 'X\(//\)[^/]' \| \
4607         X"$as_dir" : 'X\(//\)$' \| \
4608         X"$as_dir" : 'X\(/\)' \| \
4609         .     : '\(.\)' 2>/dev/null ||
4610echo X"$as_dir" |
4611    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4612          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4613          /^X\(\/\/\)$/{ s//\1/; q; }
4614          /^X\(\/\).*/{ s//\1/; q; }
4615          s/.*/./; q'`
4616    done
4617    test ! -n "$as_dirs" || mkdir $as_dirs
4618  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4619echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4620   { (exit 1); exit 1; }; }; }
4621
4622  ac_builddir=.
4623
4624if test "$ac_dir" != .; then
4625  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4626  # A "../" for each directory in $ac_dir_suffix.
4627  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4628else
4629  ac_dir_suffix= ac_top_builddir=
4630fi
4631
4632case $srcdir in
4633  .)  # No --srcdir option.  We are building in place.
4634    ac_srcdir=.
4635    if test -z "$ac_top_builddir"; then
4636       ac_top_srcdir=.
4637    else
4638       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4639    fi ;;
4640  [\\/]* | ?:[\\/]* )  # Absolute path.
4641    ac_srcdir=$srcdir$ac_dir_suffix;
4642    ac_top_srcdir=$srcdir ;;
4643  *) # Relative path.
4644    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4645    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4646esac
4647# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4648# absolute.
4649ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4650ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4651ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4652ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4653
4654
4655  case $INSTALL in
4656  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4657  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4658  esac
4659
4660  if test x"$ac_file" != x-; then
4661    { echo "$as_me:$LINENO: creating $ac_file" >&5
4662echo "$as_me: creating $ac_file" >&6;}
4663    rm -f "$ac_file"
4664  fi
4665  # Let's still pretend it is `configure' which instantiates (i.e., don't
4666  # use $as_me), people would be surprised to read:
4667  #    /* config.h.  Generated by config.status.  */
4668  if test x"$ac_file" = x-; then
4669    configure_input=
4670  else
4671    configure_input="$ac_file.  "
4672  fi
4673  configure_input=$configure_input"Generated from `echo $ac_file_in |
4674                                     sed 's,.*/,,'` by configure."
4675
4676  # First look for the input files in the build tree, otherwise in the
4677  # src tree.
4678  ac_file_inputs=`IFS=:
4679    for f in $ac_file_in; do
4680      case $f in
4681      -) echo $tmp/stdin ;;
4682      [\\/$]*)
4683         # Absolute (can't be DOS-style, as IFS=:)
4684         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4685echo "$as_me: error: cannot find input file: $f" >&2;}
4686   { (exit 1); exit 1; }; }
4687         echo $f;;
4688      *) # Relative
4689         if test -f "$f"; then
4690           # Build tree
4691           echo $f
4692         elif test -f "$srcdir/$f"; then
4693           # Source tree
4694           echo $srcdir/$f
4695         else
4696           # /dev/null tree
4697           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4698echo "$as_me: error: cannot find input file: $f" >&2;}
4699   { (exit 1); exit 1; }; }
4700         fi;;
4701      esac
4702    done` || { (exit 1); exit 1; }
4703_ACEOF
4704cat >>$CONFIG_STATUS <<_ACEOF
4705  sed "$ac_vpsub
4706$extrasub
4707_ACEOF
4708cat >>$CONFIG_STATUS <<\_ACEOF
4709:t
4710/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4711s,@configure_input@,$configure_input,;t t
4712s,@srcdir@,$ac_srcdir,;t t
4713s,@abs_srcdir@,$ac_abs_srcdir,;t t
4714s,@top_srcdir@,$ac_top_srcdir,;t t
4715s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4716s,@builddir@,$ac_builddir,;t t
4717s,@abs_builddir@,$ac_abs_builddir,;t t
4718s,@top_builddir@,$ac_top_builddir,;t t
4719s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4720s,@INSTALL@,$ac_INSTALL,;t t
4721" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4722  rm -f $tmp/stdin
4723  if test x"$ac_file" != x-; then
4724    mv $tmp/out $ac_file
4725  else
4726    cat $tmp/out
4727    rm -f $tmp/out
4728  fi
4729
4730  # Run the commands associated with the file.
4731  case $ac_file in
4732    gtkdoc-mkman ) chmod +x gtkdoc-mkman ;;
4733    gtkdoc-mkhtml ) chmod +x gtkdoc-mkhtml ;;
4734    gtkdoc-fixxref ) chmod +x gtkdoc-fixxref ;;
4735    gtkdoc-mkdb ) chmod +x gtkdoc-mkdb ;;
4736    gtkdoc-mktmpl ) chmod +x gtkdoc-mktmpl ;;
4737    gtkdoc-scan ) chmod +x gtkdoc-scan ;;
4738    gtkdoc-scanobj ) chmod +x gtkdoc-scanobj ;;
4739    gtkdoc-scangobj ) chmod +x gtkdoc-scangobj ;;
4740    gtkdocize ) chmod +x gtkdocize ;;
4741  esac
4742done
4743_ACEOF
4744cat >>$CONFIG_STATUS <<\_ACEOF
4745
4746#
4747# CONFIG_COMMANDS section.
4748#
4749for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4750  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4751  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4752  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4753$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4754         X"$ac_dest" : 'X\(//\)[^/]' \| \
4755         X"$ac_dest" : 'X\(//\)$' \| \
4756         X"$ac_dest" : 'X\(/\)' \| \
4757         .     : '\(.\)' 2>/dev/null ||
4758echo X"$ac_dest" |
4759    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4760          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4761          /^X\(\/\/\)$/{ s//\1/; q; }
4762          /^X\(\/\).*/{ s//\1/; q; }
4763          s/.*/./; q'`
4764  ac_builddir=.
4765
4766if test "$ac_dir" != .; then
4767  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4768  # A "../" for each directory in $ac_dir_suffix.
4769  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4770else
4771  ac_dir_suffix= ac_top_builddir=
4772fi
4773
4774case $srcdir in
4775  .)  # No --srcdir option.  We are building in place.
4776    ac_srcdir=.
4777    if test -z "$ac_top_builddir"; then
4778       ac_top_srcdir=.
4779    else
4780       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4781    fi ;;
4782  [\\/]* | ?:[\\/]* )  # Absolute path.
4783    ac_srcdir=$srcdir$ac_dir_suffix;
4784    ac_top_srcdir=$srcdir ;;
4785  *) # Relative path.
4786    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4787    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4788esac
4789# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4790# absolute.
4791ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4792ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4793ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4794ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4795
4796
4797  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4798echo "$as_me: executing $ac_dest commands" >&6;}
4799  case $ac_dest in
4800    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4801  # Strip MF so we end up with the name of the file.
4802  mf=`echo "$mf" | sed -e 's/:.*$//'`
4803  # Check whether this is an Automake generated Makefile or not.
4804  # We used to match only the files named `Makefile.in', but
4805  # some people rename them; so instead we look at the file content.
4806  # Grep'ing the first line is not enough: some people post-process
4807  # each Makefile.in and add a new line on top of each file to say so.
4808  # So let's grep whole file.
4809  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4810    dirpart=`(dirname "$mf") 2>/dev/null ||
4811$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4812         X"$mf" : 'X\(//\)[^/]' \| \
4813         X"$mf" : 'X\(//\)$' \| \
4814         X"$mf" : 'X\(/\)' \| \
4815         .     : '\(.\)' 2>/dev/null ||
4816echo X"$mf" |
4817    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4818          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4819          /^X\(\/\/\)$/{ s//\1/; q; }
4820          /^X\(\/\).*/{ s//\1/; q; }
4821          s/.*/./; q'`
4822  else
4823    continue
4824  fi
4825  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4826  # Extract the definition of DEP_FILES from the Makefile without
4827  # running `make'.
4828  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
4829  test -z "$DEPDIR" && continue
4830  # When using ansi2knr, U may be empty or an underscore; expand it
4831  U=`sed -n -e '/^U = / s///p' < "$mf"`
4832  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4833  # We invoke sed twice because it is the simplest approach to
4834  # changing $(DEPDIR) to its actual value in the expansion.
4835  for file in `sed -n -e '
4836    /^DEP_FILES = .*\\\\$/ {
4837      s/^DEP_FILES = //
4838      :loop
4839        s/\\\\$//
4840        p
4841        n
4842        /\\\\$/ b loop
4843      p
4844    }
4845    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
4846       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4847    # Make sure the directory exists.
4848    test -f "$dirpart/$file" && continue
4849    fdir=`(dirname "$file") 2>/dev/null ||
4850$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4851         X"$file" : 'X\(//\)[^/]' \| \
4852         X"$file" : 'X\(//\)$' \| \
4853         X"$file" : 'X\(/\)' \| \
4854         .     : '\(.\)' 2>/dev/null ||
4855echo X"$file" |
4856    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4857          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4858          /^X\(\/\/\)$/{ s//\1/; q; }
4859          /^X\(\/\).*/{ s//\1/; q; }
4860          s/.*/./; q'`
4861    { if $as_mkdir_p; then
4862    mkdir -p $dirpart/$fdir
4863  else
4864    as_dir=$dirpart/$fdir
4865    as_dirs=
4866    while test ! -d "$as_dir"; do
4867      as_dirs="$as_dir $as_dirs"
4868      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4869$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4870         X"$as_dir" : 'X\(//\)[^/]' \| \
4871         X"$as_dir" : 'X\(//\)$' \| \
4872         X"$as_dir" : 'X\(/\)' \| \
4873         .     : '\(.\)' 2>/dev/null ||
4874echo X"$as_dir" |
4875    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4876          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4877          /^X\(\/\/\)$/{ s//\1/; q; }
4878          /^X\(\/\).*/{ s//\1/; q; }
4879          s/.*/./; q'`
4880    done
4881    test ! -n "$as_dirs" || mkdir $as_dirs
4882  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4883echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4884   { (exit 1); exit 1; }; }; }
4885
4886    # echo "creating $dirpart/$file"
4887    echo '# dummy' > "$dirpart/$file"
4888  done
4889done
4890 ;;
4891  esac
4892done
4893_ACEOF
4894
4895cat >>$CONFIG_STATUS <<\_ACEOF
4896
4897{ (exit 0); exit 0; }
4898_ACEOF
4899chmod +x $CONFIG_STATUS
4900ac_clean_files=$ac_clean_files_save
4901
4902
4903# configure is writing to config.log, and then calls config.status.
4904# config.status does its own redirection, appending to config.log.
4905# Unfortunately, on DOS this fails, as config.log is still kept open
4906# by configure, so config.status won't be able to write to it; its
4907# output is simply discarded.  So we exec the FD to /dev/null,
4908# effectively closing config.log, so it can be properly (re)opened and
4909# appended to by config.status.  When coming back to configure, we
4910# need to make the FD available again.
4911if test "$no_create" != yes; then
4912  ac_cs_success=:
4913  ac_config_status_args=
4914  test "$silent" = yes &&
4915    ac_config_status_args="$ac_config_status_args --quiet"
4916  exec 5>/dev/null
4917  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4918  exec 5>>config.log
4919  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4920  # would make configure fail if this is the last instruction.
4921  $ac_cs_success || { (exit 1); exit 1; }
4922fi
4923
Note: See TracBrowser for help on using the repository browser.