I think this restores the previous REST-like behavior of the landing page
[citadel.git] / ctdlsalearn / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for ctdlsalearn 1.0.
4 #
5 # Report bugs to <bug-automake@gnu.org>.
6 #
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization.  ##
12 ## --------------------- ##
13
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16   emulate sh
17   NULLCMD=:
18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19   # is contrary to our usage.  Disable this feature.
20   alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22   set -o posix
23 fi
24 DUALCASE=1; export DUALCASE # for MKS sh
25
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28   as_unset=unset
29 else
30   as_unset=false
31 fi
32
33
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
39
40 # NLS nuisances.
41 for 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
45 do
46   if (set +x; test -z "`(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
51 done
52
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
55   as_expr=expr
56 else
57   as_expr=false
58 fi
59
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61   as_basename=basename
62 else
63   as_basename=false
64 fi
65
66
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70          X"$0" : 'X\(//\)$' \| \
71          X"$0" : 'X\(/\)$' \| \
72          .     : '\(.\)' 2>/dev/null ||
73 echo 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.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88 # The user is always right.
89 if 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
99 fi
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
112 for as_dir in $PATH
113 do
114   IFS=$as_save_IFS
115   test -z "$as_dir" && as_dir=.
116   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 done
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
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 do
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
154 done
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
189 case `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= ;;
194 esac
195
196 if expr a : '\(a\)' >/dev/null 2>&1; then
197   as_expr=expr
198 else
199   as_expr=false
200 fi
201
202 rm -f conf$$ conf$$.exe conf$$.file
203 echo >conf$$.file
204 if 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
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214   as_ln_s=ln
215 else
216   as_ln_s='cp -p'
217 fi
218 rm -f conf$$ conf$$.exe conf$$.file
219
220 if mkdir -p . 2>/dev/null; then
221   as_mkdir_p=:
222 else
223   test -d ./-p && rmdir ./-p
224   as_mkdir_p=false
225 fi
226
227 as_executable_p="test -f"
228
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
235
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
239 '
240 IFS="   $as_nl"
241
242 # CDPATH.
243 $as_unset CDPATH
244
245
246 # Name of the host.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251 exec 6>&1
252
253 #
254 # Initializations.
255 #
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
258 cross_compiling=no
259 subdirs=
260 MFLAGS=
261 MAKEFLAGS=
262 SHELL=${CONFIG_SHELL-/bin/sh}
263
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete.  It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
268
269 # Identity of this package.
270 PACKAGE_NAME='ctdlsalearn'
271 PACKAGE_TARNAME='ctdlsalearn'
272 PACKAGE_VERSION='1.0'
273 PACKAGE_STRING='ctdlsalearn 1.0'
274 PACKAGE_BUGREPORT='bug-automake@gnu.org'
275
276 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LIBOBJS LTLIBOBJS'
277 ac_subst_files=''
278
279 # Initialize some variables set by options.
280 ac_init_help=
281 ac_init_version=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
284 cache_file=/dev/null
285 exec_prefix=NONE
286 no_create=
287 no_recursion=
288 prefix=NONE
289 program_prefix=NONE
290 program_suffix=NONE
291 program_transform_name=s,x,x,
292 silent=
293 site=
294 srcdir=
295 verbose=
296 x_includes=NONE
297 x_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.
304 bindir='${exec_prefix}/bin'
305 sbindir='${exec_prefix}/sbin'
306 libexecdir='${exec_prefix}/libexec'
307 datadir='${prefix}/share'
308 sysconfdir='${prefix}/etc'
309 sharedstatedir='${prefix}/com'
310 localstatedir='${prefix}/var'
311 libdir='${exec_prefix}/lib'
312 includedir='${prefix}/include'
313 oldincludedir='/usr/include'
314 infodir='${prefix}/info'
315 mandir='${prefix}/man'
316
317 ac_prev=
318 for ac_option
319 do
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
591 Try \`$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
614 done
615
616 if 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; }; }
620 fi
621
622 # Be sure to have absolute paths.
623 for ac_var in exec_prefix prefix
624 do
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
631 done
632
633 # Be sure to have absolute paths.
634 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635               localstatedir libdir includedir oldincludedir infodir mandir
636 do
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
643 done
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.
648 build=$build_alias
649 host=$host_alias
650 target=$target_alias
651
652 # FIXME: To remove some day.
653 if 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
661 fi
662
663 ac_tool_prefix=
664 test -n "$host_alias" && ac_tool_prefix=$host_alias-
665
666 test "$silent" = yes && exec 6>/dev/null
667
668
669 # Find the source files, if location was not specified.
670 if 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 ||
679 echo 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
689 else
690   ac_srcdir_defaulted=no
691 fi
692 if 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
700 fi
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; }; }
704 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set=${build_alias+set}
706 ac_env_build_alias_value=$build_alias
707 ac_cv_env_build_alias_set=${build_alias+set}
708 ac_cv_env_build_alias_value=$build_alias
709 ac_env_host_alias_set=${host_alias+set}
710 ac_env_host_alias_value=$host_alias
711 ac_cv_env_host_alias_set=${host_alias+set}
712 ac_cv_env_host_alias_value=$host_alias
713 ac_env_target_alias_set=${target_alias+set}
714 ac_env_target_alias_value=$target_alias
715 ac_cv_env_target_alias_set=${target_alias+set}
716 ac_cv_env_target_alias_value=$target_alias
717 ac_env_CC_set=${CC+set}
718 ac_env_CC_value=$CC
719 ac_cv_env_CC_set=${CC+set}
720 ac_cv_env_CC_value=$CC
721 ac_env_CFLAGS_set=${CFLAGS+set}
722 ac_env_CFLAGS_value=$CFLAGS
723 ac_cv_env_CFLAGS_set=${CFLAGS+set}
724 ac_cv_env_CFLAGS_value=$CFLAGS
725 ac_env_LDFLAGS_set=${LDFLAGS+set}
726 ac_env_LDFLAGS_value=$LDFLAGS
727 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
728 ac_cv_env_LDFLAGS_value=$LDFLAGS
729 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
730 ac_env_CPPFLAGS_value=$CPPFLAGS
731 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
732 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
733
734 #
735 # Report the --help message.
736 #
737 if 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 ctdlsalearn 1.0 to adapt to many kinds of systems.
742
743 Usage: $0 [OPTION]... [VAR=VALUE]...
744
745 To assign environment variables (e.g., CC, CFLAGS...), specify them as
746 VAR=VALUE.  See below for descriptions of some of the useful variables.
747
748 Defaults for the options are specified in brackets.
749
750 Configuration:
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
764 Installation 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
770 By default, \`make install' will install all the files in
771 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
772 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
773 for instance \`--prefix=\$HOME'.
774
775 For better control, use the options below.
776
777 Fine 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
794 Program 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
799 fi
800
801 if test -n "$ac_init_help"; then
802   case $ac_init_help in
803      short | recursive ) echo "Configuration of ctdlsalearn 1.0:";;
804    esac
805   cat <<\_ACEOF
806
807 Optional Features:
808   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
809   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
810   --disable-dependency-tracking  speeds up one-time build
811   --enable-dependency-tracking   do not reject slow dependency extractors
812
813 Some influential environment variables:
814   CC          C compiler command
815   CFLAGS      C compiler flags
816   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
817               nonstandard directory <lib dir>
818   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
819               headers in a nonstandard directory <include dir>
820
821 Use these variables to override the choices made by `configure' or to help
822 it to find libraries and programs with nonstandard names/locations.
823
824 Report bugs to <bug-automake@gnu.org>.
825 _ACEOF
826 fi
827
828 if test "$ac_init_help" = "recursive"; then
829   # If there are subdirs, report their specific --help.
830   ac_popdir=`pwd`
831   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
832     test -d $ac_dir || continue
833     ac_builddir=.
834
835 if test "$ac_dir" != .; then
836   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
837   # A "../" for each directory in $ac_dir_suffix.
838   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
839 else
840   ac_dir_suffix= ac_top_builddir=
841 fi
842
843 case $srcdir in
844   .)  # No --srcdir option.  We are building in place.
845     ac_srcdir=.
846     if test -z "$ac_top_builddir"; then
847        ac_top_srcdir=.
848     else
849        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
850     fi ;;
851   [\\/]* | ?:[\\/]* )  # Absolute path.
852     ac_srcdir=$srcdir$ac_dir_suffix;
853     ac_top_srcdir=$srcdir ;;
854   *) # Relative path.
855     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
856     ac_top_srcdir=$ac_top_builddir$srcdir ;;
857 esac
858
859 # Do not use `cd foo && pwd` to compute absolute paths, because
860 # the directories may not exist.
861 case `pwd` in
862 .) ac_abs_builddir="$ac_dir";;
863 *)
864   case "$ac_dir" in
865   .) ac_abs_builddir=`pwd`;;
866   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
867   *) ac_abs_builddir=`pwd`/"$ac_dir";;
868   esac;;
869 esac
870 case $ac_abs_builddir in
871 .) ac_abs_top_builddir=${ac_top_builddir}.;;
872 *)
873   case ${ac_top_builddir}. in
874   .) ac_abs_top_builddir=$ac_abs_builddir;;
875   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
876   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
877   esac;;
878 esac
879 case $ac_abs_builddir in
880 .) ac_abs_srcdir=$ac_srcdir;;
881 *)
882   case $ac_srcdir in
883   .) ac_abs_srcdir=$ac_abs_builddir;;
884   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
885   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
886   esac;;
887 esac
888 case $ac_abs_builddir in
889 .) ac_abs_top_srcdir=$ac_top_srcdir;;
890 *)
891   case $ac_top_srcdir in
892   .) ac_abs_top_srcdir=$ac_abs_builddir;;
893   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
894   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
895   esac;;
896 esac
897
898     cd $ac_dir
899     # Check for guested configure; otherwise get Cygnus style configure.
900     if test -f $ac_srcdir/configure.gnu; then
901       echo
902       $SHELL $ac_srcdir/configure.gnu  --help=recursive
903     elif test -f $ac_srcdir/configure; then
904       echo
905       $SHELL $ac_srcdir/configure  --help=recursive
906     elif test -f $ac_srcdir/configure.ac ||
907            test -f $ac_srcdir/configure.in; then
908       echo
909       $ac_configure --help
910     else
911       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
912     fi
913     cd $ac_popdir
914   done
915 fi
916
917 test -n "$ac_init_help" && exit 0
918 if $ac_init_version; then
919   cat <<\_ACEOF
920 ctdlsalearn configure 1.0
921 generated by GNU Autoconf 2.59
922
923 Copyright (C) 2003 Free Software Foundation, Inc.
924 This configure script is free software; the Free Software Foundation
925 gives unlimited permission to copy, distribute and modify it.
926 _ACEOF
927   exit 0
928 fi
929 exec 5>config.log
930 cat >&5 <<_ACEOF
931 This file contains any messages produced by compilers while
932 running configure, to aid debugging if configure makes a mistake.
933
934 It was created by ctdlsalearn $as_me 1.0, which was
935 generated by GNU Autoconf 2.59.  Invocation command line was
936
937   $ $0 $@
938
939 _ACEOF
940 {
941 cat <<_ASUNAME
942 ## --------- ##
943 ## Platform. ##
944 ## --------- ##
945
946 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
947 uname -m = `(uname -m) 2>/dev/null || echo unknown`
948 uname -r = `(uname -r) 2>/dev/null || echo unknown`
949 uname -s = `(uname -s) 2>/dev/null || echo unknown`
950 uname -v = `(uname -v) 2>/dev/null || echo unknown`
951
952 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
953 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
954
955 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
956 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
957 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
958 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
959 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
960 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
961 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
962
963 _ASUNAME
964
965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
966 for as_dir in $PATH
967 do
968   IFS=$as_save_IFS
969   test -z "$as_dir" && as_dir=.
970   echo "PATH: $as_dir"
971 done
972
973 } >&5
974
975 cat >&5 <<_ACEOF
976
977
978 ## ----------- ##
979 ## Core tests. ##
980 ## ----------- ##
981
982 _ACEOF
983
984
985 # Keep a trace of the command line.
986 # Strip out --no-create and --no-recursion so they do not pile up.
987 # Strip out --silent because we don't want to record it for future runs.
988 # Also quote any args containing shell meta-characters.
989 # Make two passes to allow for proper duplicate-argument suppression.
990 ac_configure_args=
991 ac_configure_args0=
992 ac_configure_args1=
993 ac_sep=
994 ac_must_keep_next=false
995 for ac_pass in 1 2
996 do
997   for ac_arg
998   do
999     case $ac_arg in
1000     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1001     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1002     | -silent | --silent | --silen | --sile | --sil)
1003       continue ;;
1004     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1005       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1006     esac
1007     case $ac_pass in
1008     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1009     2)
1010       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1011       if test $ac_must_keep_next = true; then
1012         ac_must_keep_next=false # Got value, back to normal.
1013       else
1014         case $ac_arg in
1015           *=* | --config-cache | -C | -disable-* | --disable-* \
1016           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1017           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1018           | -with-* | --with-* | -without-* | --without-* | --x)
1019             case "$ac_configure_args0 " in
1020               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1021             esac
1022             ;;
1023           -* ) ac_must_keep_next=true ;;
1024         esac
1025       fi
1026       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1027       # Get rid of the leading space.
1028       ac_sep=" "
1029       ;;
1030     esac
1031   done
1032 done
1033 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1034 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1035
1036 # When interrupted or exit'd, cleanup temporary files, and complete
1037 # config.log.  We remove comments because anyway the quotes in there
1038 # would cause problems or look ugly.
1039 # WARNING: Be sure not to use single quotes in there, as some shells,
1040 # such as our DU 5.0 friend, will then `close' the trap.
1041 trap 'exit_status=$?
1042   # Save into config.log some information that might help in debugging.
1043   {
1044     echo
1045
1046     cat <<\_ASBOX
1047 ## ---------------- ##
1048 ## Cache variables. ##
1049 ## ---------------- ##
1050 _ASBOX
1051     echo
1052     # The following way of writing the cache mishandles newlines in values,
1053 {
1054   (set) 2>&1 |
1055     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1056     *ac_space=\ *)
1057       sed -n \
1058         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1059           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1060       ;;
1061     *)
1062       sed -n \
1063         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1064       ;;
1065     esac;
1066 }
1067     echo
1068
1069     cat <<\_ASBOX
1070 ## ----------------- ##
1071 ## Output variables. ##
1072 ## ----------------- ##
1073 _ASBOX
1074     echo
1075     for ac_var in $ac_subst_vars
1076     do
1077       eval ac_val=$`echo $ac_var`
1078       echo "$ac_var='"'"'$ac_val'"'"'"
1079     done | sort
1080     echo
1081
1082     if test -n "$ac_subst_files"; then
1083       cat <<\_ASBOX
1084 ## ------------- ##
1085 ## Output files. ##
1086 ## ------------- ##
1087 _ASBOX
1088       echo
1089       for ac_var in $ac_subst_files
1090       do
1091         eval ac_val=$`echo $ac_var`
1092         echo "$ac_var='"'"'$ac_val'"'"'"
1093       done | sort
1094       echo
1095     fi
1096
1097     if test -s confdefs.h; then
1098       cat <<\_ASBOX
1099 ## ----------- ##
1100 ## confdefs.h. ##
1101 ## ----------- ##
1102 _ASBOX
1103       echo
1104       sed "/^$/d" confdefs.h | sort
1105       echo
1106     fi
1107     test "$ac_signal" != 0 &&
1108       echo "$as_me: caught signal $ac_signal"
1109     echo "$as_me: exit $exit_status"
1110   } >&5
1111   rm -f core *.core &&
1112   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1113     exit $exit_status
1114      ' 0
1115 for ac_signal in 1 2 13 15; do
1116   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1117 done
1118 ac_signal=0
1119
1120 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1121 rm -rf conftest* confdefs.h
1122 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1123 echo >confdefs.h
1124
1125 # Predefined preprocessor variables.
1126
1127 cat >>confdefs.h <<_ACEOF
1128 #define PACKAGE_NAME "$PACKAGE_NAME"
1129 _ACEOF
1130
1131
1132 cat >>confdefs.h <<_ACEOF
1133 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1134 _ACEOF
1135
1136
1137 cat >>confdefs.h <<_ACEOF
1138 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1139 _ACEOF
1140
1141
1142 cat >>confdefs.h <<_ACEOF
1143 #define PACKAGE_STRING "$PACKAGE_STRING"
1144 _ACEOF
1145
1146
1147 cat >>confdefs.h <<_ACEOF
1148 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1149 _ACEOF
1150
1151
1152 # Let the site file select an alternate cache file if it wants to.
1153 # Prefer explicitly selected file to automatically selected ones.
1154 if test -z "$CONFIG_SITE"; then
1155   if test "x$prefix" != xNONE; then
1156     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1157   else
1158     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1159   fi
1160 fi
1161 for ac_site_file in $CONFIG_SITE; do
1162   if test -r "$ac_site_file"; then
1163     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1164 echo "$as_me: loading site script $ac_site_file" >&6;}
1165     sed 's/^/| /' "$ac_site_file" >&5
1166     . "$ac_site_file"
1167   fi
1168 done
1169
1170 if test -r "$cache_file"; then
1171   # Some versions of bash will fail to source /dev/null (special
1172   # files actually), so we avoid doing that.
1173   if test -f "$cache_file"; then
1174     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1175 echo "$as_me: loading cache $cache_file" >&6;}
1176     case $cache_file in
1177       [\\/]* | ?:[\\/]* ) . $cache_file;;
1178       *)                      . ./$cache_file;;
1179     esac
1180   fi
1181 else
1182   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1183 echo "$as_me: creating cache $cache_file" >&6;}
1184   >$cache_file
1185 fi
1186
1187 # Check that the precious variables saved in the cache have kept the same
1188 # value.
1189 ac_cache_corrupted=false
1190 for ac_var in `(set) 2>&1 |
1191                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1192   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1193   eval ac_new_set=\$ac_env_${ac_var}_set
1194   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1195   eval ac_new_val="\$ac_env_${ac_var}_value"
1196   case $ac_old_set,$ac_new_set in
1197     set,)
1198       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1199 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1200       ac_cache_corrupted=: ;;
1201     ,set)
1202       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1203 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1204       ac_cache_corrupted=: ;;
1205     ,);;
1206     *)
1207       if test "x$ac_old_val" != "x$ac_new_val"; then
1208         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1209 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1210         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1211 echo "$as_me:   former value:  $ac_old_val" >&2;}
1212         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1213 echo "$as_me:   current value: $ac_new_val" >&2;}
1214         ac_cache_corrupted=:
1215       fi;;
1216   esac
1217   # Pass precious variables to config.status.
1218   if test "$ac_new_set" = set; then
1219     case $ac_new_val in
1220     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1221       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1222     *) ac_arg=$ac_var=$ac_new_val ;;
1223     esac
1224     case " $ac_configure_args " in
1225       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1226       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1227     esac
1228   fi
1229 done
1230 if $ac_cache_corrupted; then
1231   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1232 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1233   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1234 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1235    { (exit 1); exit 1; }; }
1236 fi
1237
1238 ac_ext=c
1239 ac_cpp='$CPP $CPPFLAGS'
1240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270 am__api_version="1.9"
1271 ac_aux_dir=
1272 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1273   if test -f $ac_dir/install-sh; then
1274     ac_aux_dir=$ac_dir
1275     ac_install_sh="$ac_aux_dir/install-sh -c"
1276     break
1277   elif test -f $ac_dir/install.sh; then
1278     ac_aux_dir=$ac_dir
1279     ac_install_sh="$ac_aux_dir/install.sh -c"
1280     break
1281   elif test -f $ac_dir/shtool; then
1282     ac_aux_dir=$ac_dir
1283     ac_install_sh="$ac_aux_dir/shtool install -c"
1284     break
1285   fi
1286 done
1287 if test -z "$ac_aux_dir"; then
1288   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1289 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1290    { (exit 1); exit 1; }; }
1291 fi
1292 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1293 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1294 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1295
1296 # Find a good install program.  We prefer a C program (faster),
1297 # so one script is as good as another.  But avoid the broken or
1298 # incompatible versions:
1299 # SysV /etc/install, /usr/sbin/install
1300 # SunOS /usr/etc/install
1301 # IRIX /sbin/install
1302 # AIX /bin/install
1303 # AmigaOS /C/install, which installs bootblocks on floppy discs
1304 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1305 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1306 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1307 # OS/2's system install, which has a completely different semantic
1308 # ./install, which can be erroneously created by make from ./install.sh.
1309 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1310 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1311 if test -z "$INSTALL"; then
1312 if test "${ac_cv_path_install+set}" = set; then
1313   echo $ECHO_N "(cached) $ECHO_C" >&6
1314 else
1315   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1316 for as_dir in $PATH
1317 do
1318   IFS=$as_save_IFS
1319   test -z "$as_dir" && as_dir=.
1320   # Account for people who put trailing slashes in PATH elements.
1321 case $as_dir/ in
1322   ./ | .// | /cC/* | \
1323   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1324   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1325   /usr/ucb/* ) ;;
1326   *)
1327     # OSF1 and SCO ODT 3.0 have their own names for install.
1328     # Don't use installbsd from OSF since it installs stuff as root
1329     # by default.
1330     for ac_prog in ginstall scoinst install; do
1331       for ac_exec_ext in '' $ac_executable_extensions; do
1332         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1333           if test $ac_prog = install &&
1334             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1335             # AIX install.  It has an incompatible calling convention.
1336             :
1337           elif test $ac_prog = install &&
1338             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1339             # program-specific install script used by HP pwplus--don't use.
1340             :
1341           else
1342             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1343             break 3
1344           fi
1345         fi
1346       done
1347     done
1348     ;;
1349 esac
1350 done
1351
1352
1353 fi
1354   if test "${ac_cv_path_install+set}" = set; then
1355     INSTALL=$ac_cv_path_install
1356   else
1357     # As a last resort, use the slow shell script.  We don't cache a
1358     # path for INSTALL within a source directory, because that will
1359     # break other packages using the cache if that directory is
1360     # removed, or if the path is relative.
1361     INSTALL=$ac_install_sh
1362   fi
1363 fi
1364 echo "$as_me:$LINENO: result: $INSTALL" >&5
1365 echo "${ECHO_T}$INSTALL" >&6
1366
1367 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1368 # It thinks the first close brace ends the variable substitution.
1369 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1370
1371 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1372
1373 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1374
1375 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1376 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1377 # Just in case
1378 sleep 1
1379 echo timestamp > conftest.file
1380 # Do `set' in a subshell so we don't clobber the current shell's
1381 # arguments.  Must try -L first in case configure is actually a
1382 # symlink; some systems play weird games with the mod time of symlinks
1383 # (eg FreeBSD returns the mod time of the symlink's containing
1384 # directory).
1385 if (
1386    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1387    if test "$*" = "X"; then
1388       # -L didn't work.
1389       set X `ls -t $srcdir/configure conftest.file`
1390    fi
1391    rm -f conftest.file
1392    if test "$*" != "X $srcdir/configure conftest.file" \
1393       && test "$*" != "X conftest.file $srcdir/configure"; then
1394
1395       # If neither matched, then we have a broken ls.  This can happen
1396       # if, for instance, CONFIG_SHELL is bash and it inherits a
1397       # broken ls alias from the environment.  This has actually
1398       # happened.  Such a system could not be considered "sane".
1399       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1400 alias in your environment" >&5
1401 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1402 alias in your environment" >&2;}
1403    { (exit 1); exit 1; }; }
1404    fi
1405
1406    test "$2" = conftest.file
1407    )
1408 then
1409    # Ok.
1410    :
1411 else
1412    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1413 Check your system clock" >&5
1414 echo "$as_me: error: newly created file is older than distributed files!
1415 Check your system clock" >&2;}
1416    { (exit 1); exit 1; }; }
1417 fi
1418 echo "$as_me:$LINENO: result: yes" >&5
1419 echo "${ECHO_T}yes" >&6
1420 test "$program_prefix" != NONE &&
1421   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1422 # Use a double $ so make ignores it.
1423 test "$program_suffix" != NONE &&
1424   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1425 # Double any \ or $.  echo might interpret backslashes.
1426 # By default was `s,x,x', remove it if useless.
1427 cat <<\_ACEOF >conftest.sed
1428 s/[\\$]/&&/g;s/;s,x,x,$//
1429 _ACEOF
1430 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1431 rm conftest.sed
1432
1433 # expand $ac_aux_dir to an absolute path
1434 am_aux_dir=`cd $ac_aux_dir && pwd`
1435
1436 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1437 # Use eval to expand $SHELL
1438 if eval "$MISSING --run true"; then
1439   am_missing_run="$MISSING --run "
1440 else
1441   am_missing_run=
1442   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1443 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1444 fi
1445
1446 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1447   # We used to keeping the `.' as first argument, in order to
1448   # allow $(mkdir_p) to be used without argument.  As in
1449   #   $(mkdir_p) $(somedir)
1450   # where $(somedir) is conditionally defined.  However this is wrong
1451   # for two reasons:
1452   #  1. if the package is installed by a user who cannot write `.'
1453   #     make install will fail,
1454   #  2. the above comment should most certainly read
1455   #     $(mkdir_p) $(DESTDIR)$(somedir)
1456   #     so it does not work when $(somedir) is undefined and
1457   #     $(DESTDIR) is not.
1458   #  To support the latter case, we have to write
1459   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1460   #  so the `.' trick is pointless.
1461   mkdir_p='mkdir -p --'
1462 else
1463   # On NextStep and OpenStep, the `mkdir' command does not
1464   # recognize any option.  It will interpret all options as
1465   # directories to create, and then abort because `.' already
1466   # exists.
1467   for d in ./-p ./--version;
1468   do
1469     test -d $d && rmdir $d
1470   done
1471   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1472   if test -f "$ac_aux_dir/mkinstalldirs"; then
1473     mkdir_p='$(mkinstalldirs)'
1474   else
1475     mkdir_p='$(install_sh) -d'
1476   fi
1477 fi
1478
1479 for ac_prog in gawk mawk nawk awk
1480 do
1481   # Extract the first word of "$ac_prog", so it can be a program name with args.
1482 set dummy $ac_prog; ac_word=$2
1483 echo "$as_me:$LINENO: checking for $ac_word" >&5
1484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1485 if test "${ac_cv_prog_AWK+set}" = set; then
1486   echo $ECHO_N "(cached) $ECHO_C" >&6
1487 else
1488   if test -n "$AWK"; then
1489   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1490 else
1491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1492 for as_dir in $PATH
1493 do
1494   IFS=$as_save_IFS
1495   test -z "$as_dir" && as_dir=.
1496   for ac_exec_ext in '' $ac_executable_extensions; do
1497   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1498     ac_cv_prog_AWK="$ac_prog"
1499     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1500     break 2
1501   fi
1502 done
1503 done
1504
1505 fi
1506 fi
1507 AWK=$ac_cv_prog_AWK
1508 if test -n "$AWK"; then
1509   echo "$as_me:$LINENO: result: $AWK" >&5
1510 echo "${ECHO_T}$AWK" >&6
1511 else
1512   echo "$as_me:$LINENO: result: no" >&5
1513 echo "${ECHO_T}no" >&6
1514 fi
1515
1516   test -n "$AWK" && break
1517 done
1518
1519 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1520 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1521 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1522 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1523   echo $ECHO_N "(cached) $ECHO_C" >&6
1524 else
1525   cat >conftest.make <<\_ACEOF
1526 all:
1527         @echo 'ac_maketemp="$(MAKE)"'
1528 _ACEOF
1529 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1530 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1531 if test -n "$ac_maketemp"; then
1532   eval ac_cv_prog_make_${ac_make}_set=yes
1533 else
1534   eval ac_cv_prog_make_${ac_make}_set=no
1535 fi
1536 rm -f conftest.make
1537 fi
1538 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1539   echo "$as_me:$LINENO: result: yes" >&5
1540 echo "${ECHO_T}yes" >&6
1541   SET_MAKE=
1542 else
1543   echo "$as_me:$LINENO: result: no" >&5
1544 echo "${ECHO_T}no" >&6
1545   SET_MAKE="MAKE=${MAKE-make}"
1546 fi
1547
1548 rm -rf .tst 2>/dev/null
1549 mkdir .tst 2>/dev/null
1550 if test -d .tst; then
1551   am__leading_dot=.
1552 else
1553   am__leading_dot=_
1554 fi
1555 rmdir .tst 2>/dev/null
1556
1557 # test to see if srcdir already configured
1558 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1559    test -f $srcdir/config.status; then
1560   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1561 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1562    { (exit 1); exit 1; }; }
1563 fi
1564
1565 # test whether we have cygpath
1566 if test -z "$CYGPATH_W"; then
1567   if (cygpath --version) >/dev/null 2>/dev/null; then
1568     CYGPATH_W='cygpath -w'
1569   else
1570     CYGPATH_W=echo
1571   fi
1572 fi
1573
1574
1575 # Define the identity of the package.
1576  PACKAGE='ctdlsalearn'
1577  VERSION='1.0'
1578
1579
1580 cat >>confdefs.h <<_ACEOF
1581 #define PACKAGE "$PACKAGE"
1582 _ACEOF
1583
1584
1585 cat >>confdefs.h <<_ACEOF
1586 #define VERSION "$VERSION"
1587 _ACEOF
1588
1589 # Some tools Automake needs.
1590
1591 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1592
1593
1594 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1595
1596
1597 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1598
1599
1600 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1601
1602
1603 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1604
1605 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1606
1607 # Installed binaries are usually stripped using `strip' when the user
1608 # run `make install-strip'.  However `strip' might not be the right
1609 # tool to use in cross-compilation environments, therefore Automake
1610 # will honor the `STRIP' environment variable to overrule this program.
1611 if test "$cross_compiling" != no; then
1612   if test -n "$ac_tool_prefix"; then
1613   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1614 set dummy ${ac_tool_prefix}strip; ac_word=$2
1615 echo "$as_me:$LINENO: checking for $ac_word" >&5
1616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1617 if test "${ac_cv_prog_STRIP+set}" = set; then
1618   echo $ECHO_N "(cached) $ECHO_C" >&6
1619 else
1620   if test -n "$STRIP"; then
1621   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1622 else
1623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1624 for as_dir in $PATH
1625 do
1626   IFS=$as_save_IFS
1627   test -z "$as_dir" && as_dir=.
1628   for ac_exec_ext in '' $ac_executable_extensions; do
1629   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1630     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1631     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1632     break 2
1633   fi
1634 done
1635 done
1636
1637 fi
1638 fi
1639 STRIP=$ac_cv_prog_STRIP
1640 if test -n "$STRIP"; then
1641   echo "$as_me:$LINENO: result: $STRIP" >&5
1642 echo "${ECHO_T}$STRIP" >&6
1643 else
1644   echo "$as_me:$LINENO: result: no" >&5
1645 echo "${ECHO_T}no" >&6
1646 fi
1647
1648 fi
1649 if test -z "$ac_cv_prog_STRIP"; then
1650   ac_ct_STRIP=$STRIP
1651   # Extract the first word of "strip", so it can be a program name with args.
1652 set dummy strip; ac_word=$2
1653 echo "$as_me:$LINENO: checking for $ac_word" >&5
1654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1655 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1656   echo $ECHO_N "(cached) $ECHO_C" >&6
1657 else
1658   if test -n "$ac_ct_STRIP"; then
1659   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1660 else
1661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1662 for as_dir in $PATH
1663 do
1664   IFS=$as_save_IFS
1665   test -z "$as_dir" && as_dir=.
1666   for ac_exec_ext in '' $ac_executable_extensions; do
1667   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1668     ac_cv_prog_ac_ct_STRIP="strip"
1669     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1670     break 2
1671   fi
1672 done
1673 done
1674
1675   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1676 fi
1677 fi
1678 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1679 if test -n "$ac_ct_STRIP"; then
1680   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1681 echo "${ECHO_T}$ac_ct_STRIP" >&6
1682 else
1683   echo "$as_me:$LINENO: result: no" >&5
1684 echo "${ECHO_T}no" >&6
1685 fi
1686
1687   STRIP=$ac_ct_STRIP
1688 else
1689   STRIP="$ac_cv_prog_STRIP"
1690 fi
1691
1692 fi
1693 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1694
1695 # We need awk for the "check" target.  The system "awk" is bad on
1696 # some platforms.
1697 # Always define AMTAR for backward compatibility.
1698
1699 AMTAR=${AMTAR-"${am_missing_run}tar"}
1700
1701 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1702
1703
1704
1705
1706
1707 ac_ext=c
1708 ac_cpp='$CPP $CPPFLAGS'
1709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1712 if test -n "$ac_tool_prefix"; then
1713   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1714 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1715 echo "$as_me:$LINENO: checking for $ac_word" >&5
1716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1717 if test "${ac_cv_prog_CC+set}" = set; then
1718   echo $ECHO_N "(cached) $ECHO_C" >&6
1719 else
1720   if test -n "$CC"; then
1721   ac_cv_prog_CC="$CC" # Let the user override the test.
1722 else
1723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1724 for as_dir in $PATH
1725 do
1726   IFS=$as_save_IFS
1727   test -z "$as_dir" && as_dir=.
1728   for ac_exec_ext in '' $ac_executable_extensions; do
1729   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1730     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1731     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1732     break 2
1733   fi
1734 done
1735 done
1736
1737 fi
1738 fi
1739 CC=$ac_cv_prog_CC
1740 if test -n "$CC"; then
1741   echo "$as_me:$LINENO: result: $CC" >&5
1742 echo "${ECHO_T}$CC" >&6
1743 else
1744   echo "$as_me:$LINENO: result: no" >&5
1745 echo "${ECHO_T}no" >&6
1746 fi
1747
1748 fi
1749 if test -z "$ac_cv_prog_CC"; then
1750   ac_ct_CC=$CC
1751   # Extract the first word of "gcc", so it can be a program name with args.
1752 set dummy gcc; ac_word=$2
1753 echo "$as_me:$LINENO: checking for $ac_word" >&5
1754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1755 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1756   echo $ECHO_N "(cached) $ECHO_C" >&6
1757 else
1758   if test -n "$ac_ct_CC"; then
1759   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1760 else
1761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1762 for as_dir in $PATH
1763 do
1764   IFS=$as_save_IFS
1765   test -z "$as_dir" && as_dir=.
1766   for ac_exec_ext in '' $ac_executable_extensions; do
1767   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1768     ac_cv_prog_ac_ct_CC="gcc"
1769     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1770     break 2
1771   fi
1772 done
1773 done
1774
1775 fi
1776 fi
1777 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1778 if test -n "$ac_ct_CC"; then
1779   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1780 echo "${ECHO_T}$ac_ct_CC" >&6
1781 else
1782   echo "$as_me:$LINENO: result: no" >&5
1783 echo "${ECHO_T}no" >&6
1784 fi
1785
1786   CC=$ac_ct_CC
1787 else
1788   CC="$ac_cv_prog_CC"
1789 fi
1790
1791 if test -z "$CC"; then
1792   if test -n "$ac_tool_prefix"; then
1793   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1794 set dummy ${ac_tool_prefix}cc; ac_word=$2
1795 echo "$as_me:$LINENO: checking for $ac_word" >&5
1796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1797 if test "${ac_cv_prog_CC+set}" = set; then
1798   echo $ECHO_N "(cached) $ECHO_C" >&6
1799 else
1800   if test -n "$CC"; then
1801   ac_cv_prog_CC="$CC" # Let the user override the test.
1802 else
1803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1804 for as_dir in $PATH
1805 do
1806   IFS=$as_save_IFS
1807   test -z "$as_dir" && as_dir=.
1808   for ac_exec_ext in '' $ac_executable_extensions; do
1809   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1810     ac_cv_prog_CC="${ac_tool_prefix}cc"
1811     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1812     break 2
1813   fi
1814 done
1815 done
1816
1817 fi
1818 fi
1819 CC=$ac_cv_prog_CC
1820 if test -n "$CC"; then
1821   echo "$as_me:$LINENO: result: $CC" >&5
1822 echo "${ECHO_T}$CC" >&6
1823 else
1824   echo "$as_me:$LINENO: result: no" >&5
1825 echo "${ECHO_T}no" >&6
1826 fi
1827
1828 fi
1829 if test -z "$ac_cv_prog_CC"; then
1830   ac_ct_CC=$CC
1831   # Extract the first word of "cc", so it can be a program name with args.
1832 set dummy cc; ac_word=$2
1833 echo "$as_me:$LINENO: checking for $ac_word" >&5
1834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1835 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1836   echo $ECHO_N "(cached) $ECHO_C" >&6
1837 else
1838   if test -n "$ac_ct_CC"; then
1839   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1840 else
1841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1842 for as_dir in $PATH
1843 do
1844   IFS=$as_save_IFS
1845   test -z "$as_dir" && as_dir=.
1846   for ac_exec_ext in '' $ac_executable_extensions; do
1847   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1848     ac_cv_prog_ac_ct_CC="cc"
1849     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1850     break 2
1851   fi
1852 done
1853 done
1854
1855 fi
1856 fi
1857 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1858 if test -n "$ac_ct_CC"; then
1859   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1860 echo "${ECHO_T}$ac_ct_CC" >&6
1861 else
1862   echo "$as_me:$LINENO: result: no" >&5
1863 echo "${ECHO_T}no" >&6
1864 fi
1865
1866   CC=$ac_ct_CC
1867 else
1868   CC="$ac_cv_prog_CC"
1869 fi
1870
1871 fi
1872 if test -z "$CC"; then
1873   # Extract the first word of "cc", so it can be a program name with args.
1874 set dummy cc; ac_word=$2
1875 echo "$as_me:$LINENO: checking for $ac_word" >&5
1876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1877 if test "${ac_cv_prog_CC+set}" = set; then
1878   echo $ECHO_N "(cached) $ECHO_C" >&6
1879 else
1880   if test -n "$CC"; then
1881   ac_cv_prog_CC="$CC" # Let the user override the test.
1882 else
1883   ac_prog_rejected=no
1884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1885 for as_dir in $PATH
1886 do
1887   IFS=$as_save_IFS
1888   test -z "$as_dir" && as_dir=.
1889   for ac_exec_ext in '' $ac_executable_extensions; do
1890   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1891     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1892        ac_prog_rejected=yes
1893        continue
1894      fi
1895     ac_cv_prog_CC="cc"
1896     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1897     break 2
1898   fi
1899 done
1900 done
1901
1902 if test $ac_prog_rejected = yes; then
1903   # We found a bogon in the path, so make sure we never use it.
1904   set dummy $ac_cv_prog_CC
1905   shift
1906   if test $# != 0; then
1907     # We chose a different compiler from the bogus one.
1908     # However, it has the same basename, so the bogon will be chosen
1909     # first if we set CC to just the basename; use the full file name.
1910     shift
1911     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1912   fi
1913 fi
1914 fi
1915 fi
1916 CC=$ac_cv_prog_CC
1917 if test -n "$CC"; then
1918   echo "$as_me:$LINENO: result: $CC" >&5
1919 echo "${ECHO_T}$CC" >&6
1920 else
1921   echo "$as_me:$LINENO: result: no" >&5
1922 echo "${ECHO_T}no" >&6
1923 fi
1924
1925 fi
1926 if test -z "$CC"; then
1927   if test -n "$ac_tool_prefix"; then
1928   for ac_prog in cl
1929   do
1930     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1931 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1932 echo "$as_me:$LINENO: checking for $ac_word" >&5
1933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1934 if test "${ac_cv_prog_CC+set}" = set; then
1935   echo $ECHO_N "(cached) $ECHO_C" >&6
1936 else
1937   if test -n "$CC"; then
1938   ac_cv_prog_CC="$CC" # Let the user override the test.
1939 else
1940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1941 for as_dir in $PATH
1942 do
1943   IFS=$as_save_IFS
1944   test -z "$as_dir" && as_dir=.
1945   for ac_exec_ext in '' $ac_executable_extensions; do
1946   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1947     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1948     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1949     break 2
1950   fi
1951 done
1952 done
1953
1954 fi
1955 fi
1956 CC=$ac_cv_prog_CC
1957 if test -n "$CC"; then
1958   echo "$as_me:$LINENO: result: $CC" >&5
1959 echo "${ECHO_T}$CC" >&6
1960 else
1961   echo "$as_me:$LINENO: result: no" >&5
1962 echo "${ECHO_T}no" >&6
1963 fi
1964
1965     test -n "$CC" && break
1966   done
1967 fi
1968 if test -z "$CC"; then
1969   ac_ct_CC=$CC
1970   for ac_prog in cl
1971 do
1972   # Extract the first word of "$ac_prog", so it can be a program name with args.
1973 set dummy $ac_prog; ac_word=$2
1974 echo "$as_me:$LINENO: checking for $ac_word" >&5
1975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1976 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1977   echo $ECHO_N "(cached) $ECHO_C" >&6
1978 else
1979   if test -n "$ac_ct_CC"; then
1980   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1981 else
1982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1983 for as_dir in $PATH
1984 do
1985   IFS=$as_save_IFS
1986   test -z "$as_dir" && as_dir=.
1987   for ac_exec_ext in '' $ac_executable_extensions; do
1988   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1989     ac_cv_prog_ac_ct_CC="$ac_prog"
1990     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1991     break 2
1992   fi
1993 done
1994 done
1995
1996 fi
1997 fi
1998 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1999 if test -n "$ac_ct_CC"; then
2000   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2001 echo "${ECHO_T}$ac_ct_CC" >&6
2002 else
2003   echo "$as_me:$LINENO: result: no" >&5
2004 echo "${ECHO_T}no" >&6
2005 fi
2006
2007   test -n "$ac_ct_CC" && break
2008 done
2009
2010   CC=$ac_ct_CC
2011 fi
2012
2013 fi
2014
2015
2016 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2017 See \`config.log' for more details." >&5
2018 echo "$as_me: error: no acceptable C compiler found in \$PATH
2019 See \`config.log' for more details." >&2;}
2020    { (exit 1); exit 1; }; }
2021
2022 # Provide some information about the compiler.
2023 echo "$as_me:$LINENO:" \
2024      "checking for C compiler version" >&5
2025 ac_compiler=`set X $ac_compile; echo $2`
2026 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2027   (eval $ac_compiler --version </dev/null >&5) 2>&5
2028   ac_status=$?
2029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2030   (exit $ac_status); }
2031 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2032   (eval $ac_compiler -v </dev/null >&5) 2>&5
2033   ac_status=$?
2034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2035   (exit $ac_status); }
2036 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2037   (eval $ac_compiler -V </dev/null >&5) 2>&5
2038   ac_status=$?
2039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2040   (exit $ac_status); }
2041
2042 cat >conftest.$ac_ext <<_ACEOF
2043 /* confdefs.h.  */
2044 _ACEOF
2045 cat confdefs.h >>conftest.$ac_ext
2046 cat >>conftest.$ac_ext <<_ACEOF
2047 /* end confdefs.h.  */
2048
2049 int
2050 main ()
2051 {
2052
2053   ;
2054   return 0;
2055 }
2056 _ACEOF
2057 ac_clean_files_save=$ac_clean_files
2058 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2059 # Try to create an executable without -o first, disregard a.out.
2060 # It will help us diagnose broken compilers, and finding out an intuition
2061 # of exeext.
2062 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2063 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2064 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2065 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2066   (eval $ac_link_default) 2>&5
2067   ac_status=$?
2068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2069   (exit $ac_status); }; then
2070   # Find the output, starting from the most likely.  This scheme is
2071 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2072 # resort.
2073
2074 # Be careful to initialize this variable, since it used to be cached.
2075 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2076 ac_cv_exeext=
2077 # b.out is created by i960 compilers.
2078 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2079 do
2080   test -f "$ac_file" || continue
2081   case $ac_file in
2082     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2083         ;;
2084     conftest.$ac_ext )
2085         # This is the source file.
2086         ;;
2087     [ab].out )
2088         # We found the default executable, but exeext='' is most
2089         # certainly right.
2090         break;;
2091     *.* )
2092         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2093         # FIXME: I believe we export ac_cv_exeext for Libtool,
2094         # but it would be cool to find out if it's true.  Does anybody
2095         # maintain Libtool? --akim.
2096         export ac_cv_exeext
2097         break;;
2098     * )
2099         break;;
2100   esac
2101 done
2102 else
2103   echo "$as_me: failed program was:" >&5
2104 sed 's/^/| /' conftest.$ac_ext >&5
2105
2106 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2107 See \`config.log' for more details." >&5
2108 echo "$as_me: error: C compiler cannot create executables
2109 See \`config.log' for more details." >&2;}
2110    { (exit 77); exit 77; }; }
2111 fi
2112
2113 ac_exeext=$ac_cv_exeext
2114 echo "$as_me:$LINENO: result: $ac_file" >&5
2115 echo "${ECHO_T}$ac_file" >&6
2116
2117 # Check the compiler produces executables we can run.  If not, either
2118 # the compiler is broken, or we cross compile.
2119 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2120 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2121 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2122 # If not cross compiling, check that we can run a simple program.
2123 if test "$cross_compiling" != yes; then
2124   if { ac_try='./$ac_file'
2125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2126   (eval $ac_try) 2>&5
2127   ac_status=$?
2128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2129   (exit $ac_status); }; }; then
2130     cross_compiling=no
2131   else
2132     if test "$cross_compiling" = maybe; then
2133         cross_compiling=yes
2134     else
2135         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2136 If you meant to cross compile, use \`--host'.
2137 See \`config.log' for more details." >&5
2138 echo "$as_me: error: cannot run C compiled programs.
2139 If you meant to cross compile, use \`--host'.
2140 See \`config.log' for more details." >&2;}
2141    { (exit 1); exit 1; }; }
2142     fi
2143   fi
2144 fi
2145 echo "$as_me:$LINENO: result: yes" >&5
2146 echo "${ECHO_T}yes" >&6
2147
2148 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2149 ac_clean_files=$ac_clean_files_save
2150 # Check the compiler produces executables we can run.  If not, either
2151 # the compiler is broken, or we cross compile.
2152 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2153 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2154 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2155 echo "${ECHO_T}$cross_compiling" >&6
2156
2157 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2158 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2160   (eval $ac_link) 2>&5
2161   ac_status=$?
2162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2163   (exit $ac_status); }; then
2164   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2165 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2166 # work properly (i.e., refer to `conftest.exe'), while it won't with
2167 # `rm'.
2168 for ac_file in conftest.exe conftest conftest.*; do
2169   test -f "$ac_file" || continue
2170   case $ac_file in
2171     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2172     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2173           export ac_cv_exeext
2174           break;;
2175     * ) break;;
2176   esac
2177 done
2178 else
2179   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2180 See \`config.log' for more details." >&5
2181 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2182 See \`config.log' for more details." >&2;}
2183    { (exit 1); exit 1; }; }
2184 fi
2185
2186 rm -f conftest$ac_cv_exeext
2187 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2188 echo "${ECHO_T}$ac_cv_exeext" >&6
2189
2190 rm -f conftest.$ac_ext
2191 EXEEXT=$ac_cv_exeext
2192 ac_exeext=$EXEEXT
2193 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2194 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2195 if test "${ac_cv_objext+set}" = set; then
2196   echo $ECHO_N "(cached) $ECHO_C" >&6
2197 else
2198   cat >conftest.$ac_ext <<_ACEOF
2199 /* confdefs.h.  */
2200 _ACEOF
2201 cat confdefs.h >>conftest.$ac_ext
2202 cat >>conftest.$ac_ext <<_ACEOF
2203 /* end confdefs.h.  */
2204
2205 int
2206 main ()
2207 {
2208
2209   ;
2210   return 0;
2211 }
2212 _ACEOF
2213 rm -f conftest.o conftest.obj
2214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2215   (eval $ac_compile) 2>&5
2216   ac_status=$?
2217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2218   (exit $ac_status); }; then
2219   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2220   case $ac_file in
2221     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2222     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2223        break;;
2224   esac
2225 done
2226 else
2227   echo "$as_me: failed program was:" >&5
2228 sed 's/^/| /' conftest.$ac_ext >&5
2229
2230 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2231 See \`config.log' for more details." >&5
2232 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2233 See \`config.log' for more details." >&2;}
2234    { (exit 1); exit 1; }; }
2235 fi
2236
2237 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2238 fi
2239 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2240 echo "${ECHO_T}$ac_cv_objext" >&6
2241 OBJEXT=$ac_cv_objext
2242 ac_objext=$OBJEXT
2243 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2244 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2245 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2246   echo $ECHO_N "(cached) $ECHO_C" >&6
2247 else
2248   cat >conftest.$ac_ext <<_ACEOF
2249 /* confdefs.h.  */
2250 _ACEOF
2251 cat confdefs.h >>conftest.$ac_ext
2252 cat >>conftest.$ac_ext <<_ACEOF
2253 /* end confdefs.h.  */
2254
2255 int
2256 main ()
2257 {
2258 #ifndef __GNUC__
2259        choke me
2260 #endif
2261
2262   ;
2263   return 0;
2264 }
2265 _ACEOF
2266 rm -f conftest.$ac_objext
2267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2268   (eval $ac_compile) 2>conftest.er1
2269   ac_status=$?
2270   grep -v '^ *+' conftest.er1 >conftest.err
2271   rm -f conftest.er1
2272   cat conftest.err >&5
2273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274   (exit $ac_status); } &&
2275          { ac_try='test -z "$ac_c_werror_flag"
2276                          || test ! -s conftest.err'
2277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2278   (eval $ac_try) 2>&5
2279   ac_status=$?
2280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281   (exit $ac_status); }; } &&
2282          { ac_try='test -s conftest.$ac_objext'
2283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2284   (eval $ac_try) 2>&5
2285   ac_status=$?
2286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2287   (exit $ac_status); }; }; then
2288   ac_compiler_gnu=yes
2289 else
2290   echo "$as_me: failed program was:" >&5
2291 sed 's/^/| /' conftest.$ac_ext >&5
2292
2293 ac_compiler_gnu=no
2294 fi
2295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2296 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2297
2298 fi
2299 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2300 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2301 GCC=`test $ac_compiler_gnu = yes && echo yes`
2302 ac_test_CFLAGS=${CFLAGS+set}
2303 ac_save_CFLAGS=$CFLAGS
2304 CFLAGS="-g"
2305 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2306 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2307 if test "${ac_cv_prog_cc_g+set}" = set; then
2308   echo $ECHO_N "(cached) $ECHO_C" >&6
2309 else
2310   cat >conftest.$ac_ext <<_ACEOF
2311 /* confdefs.h.  */
2312 _ACEOF
2313 cat confdefs.h >>conftest.$ac_ext
2314 cat >>conftest.$ac_ext <<_ACEOF
2315 /* end confdefs.h.  */
2316
2317 int
2318 main ()
2319 {
2320
2321   ;
2322   return 0;
2323 }
2324 _ACEOF
2325 rm -f conftest.$ac_objext
2326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2327   (eval $ac_compile) 2>conftest.er1
2328   ac_status=$?
2329   grep -v '^ *+' conftest.er1 >conftest.err
2330   rm -f conftest.er1
2331   cat conftest.err >&5
2332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333   (exit $ac_status); } &&
2334          { ac_try='test -z "$ac_c_werror_flag"
2335                          || test ! -s conftest.err'
2336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2337   (eval $ac_try) 2>&5
2338   ac_status=$?
2339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340   (exit $ac_status); }; } &&
2341          { ac_try='test -s conftest.$ac_objext'
2342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2343   (eval $ac_try) 2>&5
2344   ac_status=$?
2345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346   (exit $ac_status); }; }; then
2347   ac_cv_prog_cc_g=yes
2348 else
2349   echo "$as_me: failed program was:" >&5
2350 sed 's/^/| /' conftest.$ac_ext >&5
2351
2352 ac_cv_prog_cc_g=no
2353 fi
2354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2355 fi
2356 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2357 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2358 if test "$ac_test_CFLAGS" = set; then
2359   CFLAGS=$ac_save_CFLAGS
2360 elif test $ac_cv_prog_cc_g = yes; then
2361   if test "$GCC" = yes; then
2362     CFLAGS="-g -O2"
2363   else
2364     CFLAGS="-g"
2365   fi
2366 else
2367   if test "$GCC" = yes; then
2368     CFLAGS="-O2"
2369   else
2370     CFLAGS=
2371   fi
2372 fi
2373 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2374 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2375 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2376   echo $ECHO_N "(cached) $ECHO_C" >&6
2377 else
2378   ac_cv_prog_cc_stdc=no
2379 ac_save_CC=$CC
2380 cat >conftest.$ac_ext <<_ACEOF
2381 /* confdefs.h.  */
2382 _ACEOF
2383 cat confdefs.h >>conftest.$ac_ext
2384 cat >>conftest.$ac_ext <<_ACEOF
2385 /* end confdefs.h.  */
2386 #include <stdarg.h>
2387 #include <stdio.h>
2388 #include <sys/types.h>
2389 #include <sys/stat.h>
2390 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2391 struct buf { int x; };
2392 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2393 static char *e (p, i)
2394      char **p;
2395      int i;
2396 {
2397   return p[i];
2398 }
2399 static char *f (char * (*g) (char **, int), char **p, ...)
2400 {
2401   char *s;
2402   va_list v;
2403   va_start (v,p);
2404   s = g (p, va_arg (v,int));
2405   va_end (v);
2406   return s;
2407 }
2408
2409 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2410    function prototypes and stuff, but not '\xHH' hex character constants.
2411    These don't provoke an error unfortunately, instead are silently treated
2412    as 'x'.  The following induces an error, until -std1 is added to get
2413    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2414    array size at least.  It's necessary to write '\x00'==0 to get something
2415    that's true only with -std1.  */
2416 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2417
2418 int test (int i, double x);
2419 struct s1 {int (*f) (int a);};
2420 struct s2 {int (*f) (double a);};
2421 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2422 int argc;
2423 char **argv;
2424 int
2425 main ()
2426 {
2427 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2428   ;
2429   return 0;
2430 }
2431 _ACEOF
2432 # Don't try gcc -ansi; that turns off useful extensions and
2433 # breaks some systems' header files.
2434 # AIX                   -qlanglvl=ansi
2435 # Ultrix and OSF/1      -std1
2436 # HP-UX 10.20 and later -Ae
2437 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2438 # SVR4                  -Xc -D__EXTENSIONS__
2439 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2440 do
2441   CC="$ac_save_CC $ac_arg"
2442   rm -f conftest.$ac_objext
2443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2444   (eval $ac_compile) 2>conftest.er1
2445   ac_status=$?
2446   grep -v '^ *+' conftest.er1 >conftest.err
2447   rm -f conftest.er1
2448   cat conftest.err >&5
2449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450   (exit $ac_status); } &&
2451          { ac_try='test -z "$ac_c_werror_flag"
2452                          || test ! -s conftest.err'
2453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2454   (eval $ac_try) 2>&5
2455   ac_status=$?
2456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457   (exit $ac_status); }; } &&
2458          { ac_try='test -s conftest.$ac_objext'
2459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2460   (eval $ac_try) 2>&5
2461   ac_status=$?
2462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463   (exit $ac_status); }; }; then
2464   ac_cv_prog_cc_stdc=$ac_arg
2465 break
2466 else
2467   echo "$as_me: failed program was:" >&5
2468 sed 's/^/| /' conftest.$ac_ext >&5
2469
2470 fi
2471 rm -f conftest.err conftest.$ac_objext
2472 done
2473 rm -f conftest.$ac_ext conftest.$ac_objext
2474 CC=$ac_save_CC
2475
2476 fi
2477
2478 case "x$ac_cv_prog_cc_stdc" in
2479   x|xno)
2480     echo "$as_me:$LINENO: result: none needed" >&5
2481 echo "${ECHO_T}none needed" >&6 ;;
2482   *)
2483     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2484 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2485     CC="$CC $ac_cv_prog_cc_stdc" ;;
2486 esac
2487
2488 # Some people use a C++ compiler to compile C.  Since we use `exit',
2489 # in C++ we need to declare it.  In case someone uses the same compiler
2490 # for both compiling C and C++ we need to have the C++ compiler decide
2491 # the declaration of exit, since it's the most demanding environment.
2492 cat >conftest.$ac_ext <<_ACEOF
2493 #ifndef __cplusplus
2494   choke me
2495 #endif
2496 _ACEOF
2497 rm -f conftest.$ac_objext
2498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2499   (eval $ac_compile) 2>conftest.er1
2500   ac_status=$?
2501   grep -v '^ *+' conftest.er1 >conftest.err
2502   rm -f conftest.er1
2503   cat conftest.err >&5
2504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505   (exit $ac_status); } &&
2506          { ac_try='test -z "$ac_c_werror_flag"
2507                          || test ! -s conftest.err'
2508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2509   (eval $ac_try) 2>&5
2510   ac_status=$?
2511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512   (exit $ac_status); }; } &&
2513          { ac_try='test -s conftest.$ac_objext'
2514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2515   (eval $ac_try) 2>&5
2516   ac_status=$?
2517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518   (exit $ac_status); }; }; then
2519   for ac_declaration in \
2520    '' \
2521    'extern "C" void std::exit (int) throw (); using std::exit;' \
2522    'extern "C" void std::exit (int); using std::exit;' \
2523    'extern "C" void exit (int) throw ();' \
2524    'extern "C" void exit (int);' \
2525    'void exit (int);'
2526 do
2527   cat >conftest.$ac_ext <<_ACEOF
2528 /* confdefs.h.  */
2529 _ACEOF
2530 cat confdefs.h >>conftest.$ac_ext
2531 cat >>conftest.$ac_ext <<_ACEOF
2532 /* end confdefs.h.  */
2533 $ac_declaration
2534 #include <stdlib.h>
2535 int
2536 main ()
2537 {
2538 exit (42);
2539   ;
2540   return 0;
2541 }
2542 _ACEOF
2543 rm -f conftest.$ac_objext
2544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2545   (eval $ac_compile) 2>conftest.er1
2546   ac_status=$?
2547   grep -v '^ *+' conftest.er1 >conftest.err
2548   rm -f conftest.er1
2549   cat conftest.err >&5
2550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551   (exit $ac_status); } &&
2552          { ac_try='test -z "$ac_c_werror_flag"
2553                          || test ! -s conftest.err'
2554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2555   (eval $ac_try) 2>&5
2556   ac_status=$?
2557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558   (exit $ac_status); }; } &&
2559          { ac_try='test -s conftest.$ac_objext'
2560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2561   (eval $ac_try) 2>&5
2562   ac_status=$?
2563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564   (exit $ac_status); }; }; then
2565   :
2566 else
2567   echo "$as_me: failed program was:" >&5
2568 sed 's/^/| /' conftest.$ac_ext >&5
2569
2570 continue
2571 fi
2572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2573   cat >conftest.$ac_ext <<_ACEOF
2574 /* confdefs.h.  */
2575 _ACEOF
2576 cat confdefs.h >>conftest.$ac_ext
2577 cat >>conftest.$ac_ext <<_ACEOF
2578 /* end confdefs.h.  */
2579 $ac_declaration
2580 int
2581 main ()
2582 {
2583 exit (42);
2584   ;
2585   return 0;
2586 }
2587 _ACEOF
2588 rm -f conftest.$ac_objext
2589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2590   (eval $ac_compile) 2>conftest.er1
2591   ac_status=$?
2592   grep -v '^ *+' conftest.er1 >conftest.err
2593   rm -f conftest.er1
2594   cat conftest.err >&5
2595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596   (exit $ac_status); } &&
2597          { ac_try='test -z "$ac_c_werror_flag"
2598                          || test ! -s conftest.err'
2599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2600   (eval $ac_try) 2>&5
2601   ac_status=$?
2602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603   (exit $ac_status); }; } &&
2604          { ac_try='test -s conftest.$ac_objext'
2605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2606   (eval $ac_try) 2>&5
2607   ac_status=$?
2608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609   (exit $ac_status); }; }; then
2610   break
2611 else
2612   echo "$as_me: failed program was:" >&5
2613 sed 's/^/| /' conftest.$ac_ext >&5
2614
2615 fi
2616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2617 done
2618 rm -f conftest*
2619 if test -n "$ac_declaration"; then
2620   echo '#ifdef __cplusplus' >>confdefs.h
2621   echo $ac_declaration      >>confdefs.h
2622   echo '#endif'             >>confdefs.h
2623 fi
2624
2625 else
2626   echo "$as_me: failed program was:" >&5
2627 sed 's/^/| /' conftest.$ac_ext >&5
2628
2629 fi
2630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2631 ac_ext=c
2632 ac_cpp='$CPP $CPPFLAGS'
2633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2636 DEPDIR="${am__leading_dot}deps"
2637
2638           ac_config_commands="$ac_config_commands depfiles"
2639
2640
2641 am_make=${MAKE-make}
2642 cat > confinc << 'END'
2643 am__doit:
2644         @echo done
2645 .PHONY: am__doit
2646 END
2647 # If we don't find an include directive, just comment out the code.
2648 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2649 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2650 am__include="#"
2651 am__quote=
2652 _am_result=none
2653 # First try GNU make style include.
2654 echo "include confinc" > confmf
2655 # We grep out `Entering directory' and `Leaving directory'
2656 # messages which can occur if `w' ends up in MAKEFLAGS.
2657 # In particular we don't look at `^make:' because GNU make might
2658 # be invoked under some other name (usually "gmake"), in which
2659 # case it prints its new name instead of `make'.
2660 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2661    am__include=include
2662    am__quote=
2663    _am_result=GNU
2664 fi
2665 # Now try BSD make style include.
2666 if test "$am__include" = "#"; then
2667    echo '.include "confinc"' > confmf
2668    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2669       am__include=.include
2670       am__quote="\""
2671       _am_result=BSD
2672    fi
2673 fi
2674
2675
2676 echo "$as_me:$LINENO: result: $_am_result" >&5
2677 echo "${ECHO_T}$_am_result" >&6
2678 rm -f confinc confmf
2679
2680 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2681 if test "${enable_dependency_tracking+set}" = set; then
2682   enableval="$enable_dependency_tracking"
2683
2684 fi;
2685 if test "x$enable_dependency_tracking" != xno; then
2686   am_depcomp="$ac_aux_dir/depcomp"
2687   AMDEPBACKSLASH='\'
2688 fi
2689
2690
2691 if test "x$enable_dependency_tracking" != xno; then
2692   AMDEP_TRUE=
2693   AMDEP_FALSE='#'
2694 else
2695   AMDEP_TRUE='#'
2696   AMDEP_FALSE=
2697 fi
2698
2699
2700
2701
2702 depcc="$CC"   am_compiler_list=
2703
2704 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2705 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2706 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2707   echo $ECHO_N "(cached) $ECHO_C" >&6
2708 else
2709   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2710   # We make a subdir and do the tests there.  Otherwise we can end up
2711   # making bogus files that we don't know about and never remove.  For
2712   # instance it was reported that on HP-UX the gcc test will end up
2713   # making a dummy file named `D' -- because `-MD' means `put the output
2714   # in D'.
2715   mkdir conftest.dir
2716   # Copy depcomp to subdir because otherwise we won't find it if we're
2717   # using a relative directory.
2718   cp "$am_depcomp" conftest.dir
2719   cd conftest.dir
2720   # We will build objects and dependencies in a subdirectory because
2721   # it helps to detect inapplicable dependency modes.  For instance
2722   # both Tru64's cc and ICC support -MD to output dependencies as a
2723   # side effect of compilation, but ICC will put the dependencies in
2724   # the current directory while Tru64 will put them in the object
2725   # directory.
2726   mkdir sub
2727
2728   am_cv_CC_dependencies_compiler_type=none
2729   if test "$am_compiler_list" = ""; then
2730      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2731   fi
2732   for depmode in $am_compiler_list; do
2733     # Setup a source with many dependencies, because some compilers
2734     # like to wrap large dependency lists on column 80 (with \), and
2735     # we should not choose a depcomp mode which is confused by this.
2736     #
2737     # We need to recreate these files for each test, as the compiler may
2738     # overwrite some of them when testing with obscure command lines.
2739     # This happens at least with the AIX C compiler.
2740     : > sub/conftest.c
2741     for i in 1 2 3 4 5 6; do
2742       echo '#include "conftst'$i'.h"' >> sub/conftest.c
2743       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2744       # Solaris 8's {/usr,}/bin/sh.
2745       touch sub/conftst$i.h
2746     done
2747     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2748
2749     case $depmode in
2750     nosideeffect)
2751       # after this tag, mechanisms are not by side-effect, so they'll
2752       # only be used when explicitly requested
2753       if test "x$enable_dependency_tracking" = xyes; then
2754         continue
2755       else
2756         break
2757       fi
2758       ;;
2759     none) break ;;
2760     esac
2761     # We check with `-c' and `-o' for the sake of the "dashmstdout"
2762     # mode.  It turns out that the SunPro C++ compiler does not properly
2763     # handle `-M -o', and we need to detect this.
2764     if depmode=$depmode \
2765        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2766        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2767        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2768          >/dev/null 2>conftest.err &&
2769        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2770        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2771        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2772       # icc doesn't choke on unknown options, it will just issue warnings
2773       # or remarks (even with -Werror).  So we grep stderr for any message
2774       # that says an option was ignored or not supported.
2775       # When given -MP, icc 7.0 and 7.1 complain thusly:
2776       #   icc: Command line warning: ignoring option '-M'; no argument required
2777       # The diagnosis changed in icc 8.0:
2778       #   icc: Command line remark: option '-MP' not supported
2779       if (grep 'ignoring option' conftest.err ||
2780           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2781         am_cv_CC_dependencies_compiler_type=$depmode
2782         break
2783       fi
2784     fi
2785   done
2786
2787   cd ..
2788   rm -rf conftest.dir
2789 else
2790   am_cv_CC_dependencies_compiler_type=none
2791 fi
2792
2793 fi
2794 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2795 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2796 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2797
2798
2799
2800 if
2801   test "x$enable_dependency_tracking" != xno \
2802   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2803   am__fastdepCC_TRUE=
2804   am__fastdepCC_FALSE='#'
2805 else
2806   am__fastdepCC_TRUE='#'
2807   am__fastdepCC_FALSE=
2808 fi
2809
2810
2811           ac_config_headers="$ac_config_headers config.h"
2812
2813
2814
2815                     ac_config_files="$ac_config_files Makefile src/Makefile"
2816
2817 cat >confcache <<\_ACEOF
2818 # This file is a shell script that caches the results of configure
2819 # tests run on this system so they can be shared between configure
2820 # scripts and configure runs, see configure's option --config-cache.
2821 # It is not useful on other systems.  If it contains results you don't
2822 # want to keep, you may remove or edit it.
2823 #
2824 # config.status only pays attention to the cache file if you give it
2825 # the --recheck option to rerun configure.
2826 #
2827 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2828 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2829 # following values.
2830
2831 _ACEOF
2832
2833 # The following way of writing the cache mishandles newlines in values,
2834 # but we know of no workaround that is simple, portable, and efficient.
2835 # So, don't put newlines in cache variables' values.
2836 # Ultrix sh set writes to stderr and can't be redirected directly,
2837 # and sets the high bit in the cache file unless we assign to the vars.
2838 {
2839   (set) 2>&1 |
2840     case `(ac_space=' '; set | grep ac_space) 2>&1` in
2841     *ac_space=\ *)
2842       # `set' does not quote correctly, so add quotes (double-quote
2843       # substitution turns \\\\ into \\, and sed turns \\ into \).
2844       sed -n \
2845         "s/'/'\\\\''/g;
2846           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2847       ;;
2848     *)
2849       # `set' quotes correctly as required by POSIX, so do not add quotes.
2850       sed -n \
2851         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2852       ;;
2853     esac;
2854 } |
2855   sed '
2856      t clear
2857      : clear
2858      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2859      t end
2860      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2861      : end' >>confcache
2862 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2863   if test -w $cache_file; then
2864     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2865     cat confcache >$cache_file
2866   else
2867     echo "not updating unwritable cache $cache_file"
2868   fi
2869 fi
2870 rm -f confcache
2871
2872 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2873 # Let make expand exec_prefix.
2874 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2875
2876 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2877 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2878 # trailing colons and then remove the whole line if VPATH becomes empty
2879 # (actually we leave an empty line to preserve line numbers).
2880 if test "x$srcdir" = x.; then
2881   ac_vpsub='/^[  ]*VPATH[        ]*=/{
2882 s/:*\$(srcdir):*/:/;
2883 s/:*\${srcdir}:*/:/;
2884 s/:*@srcdir@:*/:/;
2885 s/^\([^=]*=[     ]*\):*/\1/;
2886 s/:*$//;
2887 s/^[^=]*=[       ]*$//;
2888 }'
2889 fi
2890
2891 DEFS=-DHAVE_CONFIG_H
2892
2893 ac_libobjs=
2894 ac_ltlibobjs=
2895 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2896   # 1. Remove the extension, and $U if already installed.
2897   ac_i=`echo "$ac_i" |
2898          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2899   # 2. Add them.
2900   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2901   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2902 done
2903 LIBOBJS=$ac_libobjs
2904
2905 LTLIBOBJS=$ac_ltlibobjs
2906
2907
2908 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
2909   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
2910 Usually this means the macro was only invoked conditionally." >&5
2911 echo "$as_me: error: conditional \"AMDEP\" was never defined.
2912 Usually this means the macro was only invoked conditionally." >&2;}
2913    { (exit 1); exit 1; }; }
2914 fi
2915 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
2916   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
2917 Usually this means the macro was only invoked conditionally." >&5
2918 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
2919 Usually this means the macro was only invoked conditionally." >&2;}
2920    { (exit 1); exit 1; }; }
2921 fi
2922
2923 : ${CONFIG_STATUS=./config.status}
2924 ac_clean_files_save=$ac_clean_files
2925 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2926 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2927 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2928 cat >$CONFIG_STATUS <<_ACEOF
2929 #! $SHELL
2930 # Generated by $as_me.
2931 # Run this file to recreate the current configuration.
2932 # Compiler output produced by configure, useful for debugging
2933 # configure, is in config.log if it exists.
2934
2935 debug=false
2936 ac_cs_recheck=false
2937 ac_cs_silent=false
2938 SHELL=\${CONFIG_SHELL-$SHELL}
2939 _ACEOF
2940
2941 cat >>$CONFIG_STATUS <<\_ACEOF
2942 ## --------------------- ##
2943 ## M4sh Initialization.  ##
2944 ## --------------------- ##
2945
2946 # Be Bourne compatible
2947 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2948   emulate sh
2949   NULLCMD=:
2950   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2951   # is contrary to our usage.  Disable this feature.
2952   alias -g '${1+"$@"}'='"$@"'
2953 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2954   set -o posix
2955 fi
2956 DUALCASE=1; export DUALCASE # for MKS sh
2957
2958 # Support unset when possible.
2959 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2960   as_unset=unset
2961 else
2962   as_unset=false
2963 fi
2964
2965
2966 # Work around bugs in pre-3.0 UWIN ksh.
2967 $as_unset ENV MAIL MAILPATH
2968 PS1='$ '
2969 PS2='> '
2970 PS4='+ '
2971
2972 # NLS nuisances.
2973 for as_var in \
2974   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2975   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2976   LC_TELEPHONE LC_TIME
2977 do
2978   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2979     eval $as_var=C; export $as_var
2980   else
2981     $as_unset $as_var
2982   fi
2983 done
2984
2985 # Required to use basename.
2986 if expr a : '\(a\)' >/dev/null 2>&1; then
2987   as_expr=expr
2988 else
2989   as_expr=false
2990 fi
2991
2992 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2993   as_basename=basename
2994 else
2995   as_basename=false
2996 fi
2997
2998
2999 # Name of the executable.
3000 as_me=`$as_basename "$0" ||
3001 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3002          X"$0" : 'X\(//\)$' \| \
3003          X"$0" : 'X\(/\)$' \| \
3004          .     : '\(.\)' 2>/dev/null ||
3005 echo X/"$0" |
3006     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3007           /^X\/\(\/\/\)$/{ s//\1/; q; }
3008           /^X\/\(\/\).*/{ s//\1/; q; }
3009           s/.*/./; q'`
3010
3011
3012 # PATH needs CR, and LINENO needs CR and PATH.
3013 # Avoid depending upon Character Ranges.
3014 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3015 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3016 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3017 as_cr_digits='0123456789'
3018 as_cr_alnum=$as_cr_Letters$as_cr_digits
3019
3020 # The user is always right.
3021 if test "${PATH_SEPARATOR+set}" != set; then
3022   echo "#! /bin/sh" >conf$$.sh
3023   echo  "exit 0"   >>conf$$.sh
3024   chmod +x conf$$.sh
3025   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3026     PATH_SEPARATOR=';'
3027   else
3028     PATH_SEPARATOR=:
3029   fi
3030   rm -f conf$$.sh
3031 fi
3032
3033
3034   as_lineno_1=$LINENO
3035   as_lineno_2=$LINENO
3036   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3037   test "x$as_lineno_1" != "x$as_lineno_2" &&
3038   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
3039   # Find who we are.  Look in the path if we contain no path at all
3040   # relative or not.
3041   case $0 in
3042     *[\\/]* ) as_myself=$0 ;;
3043     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3044 for as_dir in $PATH
3045 do
3046   IFS=$as_save_IFS
3047   test -z "$as_dir" && as_dir=.
3048   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3049 done
3050
3051        ;;
3052   esac
3053   # We did not find ourselves, most probably we were run as `sh COMMAND'
3054   # in which case we are not to be found in the path.
3055   if test "x$as_myself" = x; then
3056     as_myself=$0
3057   fi
3058   if test ! -f "$as_myself"; then
3059     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3060 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3061    { (exit 1); exit 1; }; }
3062   fi
3063   case $CONFIG_SHELL in
3064   '')
3065     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3066 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3067 do
3068   IFS=$as_save_IFS
3069   test -z "$as_dir" && as_dir=.
3070   for as_base in sh bash ksh sh5; do
3071          case $as_dir in
3072          /*)
3073            if ("$as_dir/$as_base" -c '
3074   as_lineno_1=$LINENO
3075   as_lineno_2=$LINENO
3076   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3077   test "x$as_lineno_1" != "x$as_lineno_2" &&
3078   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
3079              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3080              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3081              CONFIG_SHELL=$as_dir/$as_base
3082              export CONFIG_SHELL
3083              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3084            fi;;
3085          esac
3086        done
3087 done
3088 ;;
3089   esac
3090
3091   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3092   # uniformly replaced by the line number.  The first 'sed' inserts a
3093   # line-number line before each line; the second 'sed' does the real
3094   # work.  The second script uses 'N' to pair each line-number line
3095   # with the numbered line, and appends trailing '-' during
3096   # substitution so that $LINENO is not a special case at line end.
3097   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3098   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
3099   sed '=' <$as_myself |
3100     sed '
3101       N
3102       s,$,-,
3103       : loop
3104       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3105       t loop
3106       s,-$,,
3107       s,^['$as_cr_digits']*\n,,
3108     ' >$as_me.lineno &&
3109   chmod +x $as_me.lineno ||
3110     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3111 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3112    { (exit 1); exit 1; }; }
3113
3114   # Don't try to exec as it changes $[0], causing all sort of problems
3115   # (the dirname of $[0] is not the place where we might find the
3116   # original and so on.  Autoconf is especially sensible to this).
3117   . ./$as_me.lineno
3118   # Exit status is that of the last command.
3119   exit
3120 }
3121
3122
3123 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3124   *c*,-n*) ECHO_N= ECHO_C='
3125 ' ECHO_T='      ' ;;
3126   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3127   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
3128 esac
3129
3130 if expr a : '\(a\)' >/dev/null 2>&1; then
3131   as_expr=expr
3132 else
3133   as_expr=false
3134 fi
3135
3136 rm -f conf$$ conf$$.exe conf$$.file
3137 echo >conf$$.file
3138 if ln -s conf$$.file conf$$ 2>/dev/null; then
3139   # We could just check for DJGPP; but this test a) works b) is more generic
3140   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3141   if test -f conf$$.exe; then
3142     # Don't use ln at all; we don't have any links
3143     as_ln_s='cp -p'
3144   else
3145     as_ln_s='ln -s'
3146   fi
3147 elif ln conf$$.file conf$$ 2>/dev/null; then
3148   as_ln_s=ln
3149 else
3150   as_ln_s='cp -p'
3151 fi
3152 rm -f conf$$ conf$$.exe conf$$.file
3153
3154 if mkdir -p . 2>/dev/null; then
3155   as_mkdir_p=:
3156 else
3157   test -d ./-p && rmdir ./-p
3158   as_mkdir_p=false
3159 fi
3160
3161 as_executable_p="test -f"
3162
3163 # Sed expression to map a string onto a valid CPP name.
3164 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3165
3166 # Sed expression to map a string onto a valid variable name.
3167 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3168
3169
3170 # IFS
3171 # We need space, tab and new line, in precisely that order.
3172 as_nl='
3173 '
3174 IFS="   $as_nl"
3175
3176 # CDPATH.
3177 $as_unset CDPATH
3178
3179 exec 6>&1
3180
3181 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3182 # report actual input values of CONFIG_FILES etc. instead of their
3183 # values after options handling.  Logging --version etc. is OK.
3184 exec 5>>config.log
3185 {
3186   echo
3187   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3188 ## Running $as_me. ##
3189 _ASBOX
3190 } >&5
3191 cat >&5 <<_CSEOF
3192
3193 This file was extended by ctdlsalearn $as_me 1.0, which was
3194 generated by GNU Autoconf 2.59.  Invocation command line was
3195
3196   CONFIG_FILES    = $CONFIG_FILES
3197   CONFIG_HEADERS  = $CONFIG_HEADERS
3198   CONFIG_LINKS    = $CONFIG_LINKS
3199   CONFIG_COMMANDS = $CONFIG_COMMANDS
3200   $ $0 $@
3201
3202 _CSEOF
3203 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3204 echo >&5
3205 _ACEOF
3206
3207 # Files that config.status was made for.
3208 if test -n "$ac_config_files"; then
3209   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3210 fi
3211
3212 if test -n "$ac_config_headers"; then
3213   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3214 fi
3215
3216 if test -n "$ac_config_links"; then
3217   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3218 fi
3219
3220 if test -n "$ac_config_commands"; then
3221   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3222 fi
3223
3224 cat >>$CONFIG_STATUS <<\_ACEOF
3225
3226 ac_cs_usage="\
3227 \`$as_me' instantiates files from templates according to the
3228 current configuration.
3229
3230 Usage: $0 [OPTIONS] [FILE]...
3231
3232   -h, --help       print this help, then exit
3233   -V, --version    print version number, then exit
3234   -q, --quiet      do not print progress messages
3235   -d, --debug      don't remove temporary files
3236       --recheck    update $as_me by reconfiguring in the same conditions
3237   --file=FILE[:TEMPLATE]
3238                    instantiate the configuration file FILE
3239   --header=FILE[:TEMPLATE]
3240                    instantiate the configuration header FILE
3241
3242 Configuration files:
3243 $config_files
3244
3245 Configuration headers:
3246 $config_headers
3247
3248 Configuration commands:
3249 $config_commands
3250
3251 Report bugs to <bug-autoconf@gnu.org>."
3252 _ACEOF
3253
3254 cat >>$CONFIG_STATUS <<_ACEOF
3255 ac_cs_version="\\
3256 ctdlsalearn config.status 1.0
3257 configured by $0, generated by GNU Autoconf 2.59,
3258   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3259
3260 Copyright (C) 2003 Free Software Foundation, Inc.
3261 This config.status script is free software; the Free Software Foundation
3262 gives unlimited permission to copy, distribute and modify it."
3263 srcdir=$srcdir
3264 INSTALL="$INSTALL"
3265 _ACEOF
3266
3267 cat >>$CONFIG_STATUS <<\_ACEOF
3268 # If no file are specified by the user, then we need to provide default
3269 # value.  By we need to know if files were specified by the user.
3270 ac_need_defaults=:
3271 while test $# != 0
3272 do
3273   case $1 in
3274   --*=*)
3275     ac_option=`expr "x$1" : 'x\([^=]*\)='`
3276     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3277     ac_shift=:
3278     ;;
3279   -*)
3280     ac_option=$1
3281     ac_optarg=$2
3282     ac_shift=shift
3283     ;;
3284   *) # This is not an option, so the user has probably given explicit
3285      # arguments.
3286      ac_option=$1
3287      ac_need_defaults=false;;
3288   esac
3289
3290   case $ac_option in
3291   # Handling of the options.
3292 _ACEOF
3293 cat >>$CONFIG_STATUS <<\_ACEOF
3294   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3295     ac_cs_recheck=: ;;
3296   --version | --vers* | -V )
3297     echo "$ac_cs_version"; exit 0 ;;
3298   --he | --h)
3299     # Conflict between --help and --header
3300     { { echo "$as_me:$LINENO: error: ambiguous option: $1
3301 Try \`$0 --help' for more information." >&5
3302 echo "$as_me: error: ambiguous option: $1
3303 Try \`$0 --help' for more information." >&2;}
3304    { (exit 1); exit 1; }; };;
3305   --help | --hel | -h )
3306     echo "$ac_cs_usage"; exit 0 ;;
3307   --debug | --d* | -d )
3308     debug=: ;;
3309   --file | --fil | --fi | --f )
3310     $ac_shift
3311     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3312     ac_need_defaults=false;;
3313   --header | --heade | --head | --hea )
3314     $ac_shift
3315     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3316     ac_need_defaults=false;;
3317   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3318   | -silent | --silent | --silen | --sile | --sil | --si | --s)
3319     ac_cs_silent=: ;;
3320
3321   # This is an error.
3322   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3323 Try \`$0 --help' for more information." >&5
3324 echo "$as_me: error: unrecognized option: $1
3325 Try \`$0 --help' for more information." >&2;}
3326    { (exit 1); exit 1; }; } ;;
3327
3328   *) ac_config_targets="$ac_config_targets $1" ;;
3329
3330   esac
3331   shift
3332 done
3333
3334 ac_configure_extra_args=
3335
3336 if $ac_cs_silent; then
3337   exec 6>/dev/null
3338   ac_configure_extra_args="$ac_configure_extra_args --silent"
3339 fi
3340
3341 _ACEOF
3342 cat >>$CONFIG_STATUS <<_ACEOF
3343 if \$ac_cs_recheck; then
3344   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3345   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3346 fi
3347
3348 _ACEOF
3349
3350 cat >>$CONFIG_STATUS <<_ACEOF
3351 #
3352 # INIT-COMMANDS section.
3353 #
3354
3355 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3356
3357 _ACEOF
3358
3359
3360
3361 cat >>$CONFIG_STATUS <<\_ACEOF
3362 for ac_config_target in $ac_config_targets
3363 do
3364   case "$ac_config_target" in
3365   # Handling of arguments.
3366   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3367   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
3368   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3369   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3370   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3371 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3372    { (exit 1); exit 1; }; };;
3373   esac
3374 done
3375
3376 # If the user did not use the arguments to specify the items to instantiate,
3377 # then the envvar interface is used.  Set only those that are not.
3378 # We use the long form for the default assignment because of an extremely
3379 # bizarre bug on SunOS 4.1.3.
3380 if $ac_need_defaults; then
3381   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3382   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3383   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3384 fi
3385
3386 # Have a temporary directory for convenience.  Make it in the build tree
3387 # simply because there is no reason to put it here, and in addition,
3388 # creating and moving files from /tmp can sometimes cause problems.
3389 # Create a temporary directory, and hook for its removal unless debugging.
3390 $debug ||
3391 {
3392   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3393   trap '{ (exit 1); exit 1; }' 1 2 13 15
3394 }
3395
3396 # Create a (secure) tmp directory for tmp files.
3397
3398 {
3399   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3400   test -n "$tmp" && test -d "$tmp"
3401 }  ||
3402 {
3403   tmp=./confstat$$-$RANDOM
3404   (umask 077 && mkdir $tmp)
3405 } ||
3406 {
3407    echo "$me: cannot create a temporary directory in ." >&2
3408    { (exit 1); exit 1; }
3409 }
3410
3411 _ACEOF
3412
3413 cat >>$CONFIG_STATUS <<_ACEOF
3414
3415 #
3416 # CONFIG_FILES section.
3417 #
3418
3419 # No need to generate the scripts if there are no CONFIG_FILES.
3420 # This happens for instance when ./config.status config.h
3421 if test -n "\$CONFIG_FILES"; then
3422   # Protect against being on the right side of a sed subst in config.status.
3423   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3424    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3425 s,@SHELL@,$SHELL,;t t
3426 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3427 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3428 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3429 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3430 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3431 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3432 s,@exec_prefix@,$exec_prefix,;t t
3433 s,@prefix@,$prefix,;t t
3434 s,@program_transform_name@,$program_transform_name,;t t
3435 s,@bindir@,$bindir,;t t
3436 s,@sbindir@,$sbindir,;t t
3437 s,@libexecdir@,$libexecdir,;t t
3438 s,@datadir@,$datadir,;t t
3439 s,@sysconfdir@,$sysconfdir,;t t
3440 s,@sharedstatedir@,$sharedstatedir,;t t
3441 s,@localstatedir@,$localstatedir,;t t
3442 s,@libdir@,$libdir,;t t
3443 s,@includedir@,$includedir,;t t
3444 s,@oldincludedir@,$oldincludedir,;t t
3445 s,@infodir@,$infodir,;t t
3446 s,@mandir@,$mandir,;t t
3447 s,@build_alias@,$build_alias,;t t
3448 s,@host_alias@,$host_alias,;t t
3449 s,@target_alias@,$target_alias,;t t
3450 s,@DEFS@,$DEFS,;t t
3451 s,@ECHO_C@,$ECHO_C,;t t
3452 s,@ECHO_N@,$ECHO_N,;t t
3453 s,@ECHO_T@,$ECHO_T,;t t
3454 s,@LIBS@,$LIBS,;t t
3455 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3456 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3457 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3458 s,@CYGPATH_W@,$CYGPATH_W,;t t
3459 s,@PACKAGE@,$PACKAGE,;t t
3460 s,@VERSION@,$VERSION,;t t
3461 s,@ACLOCAL@,$ACLOCAL,;t t
3462 s,@AUTOCONF@,$AUTOCONF,;t t
3463 s,@AUTOMAKE@,$AUTOMAKE,;t t
3464 s,@AUTOHEADER@,$AUTOHEADER,;t t
3465 s,@MAKEINFO@,$MAKEINFO,;t t
3466 s,@install_sh@,$install_sh,;t t
3467 s,@STRIP@,$STRIP,;t t
3468 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3469 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3470 s,@mkdir_p@,$mkdir_p,;t t
3471 s,@AWK@,$AWK,;t t
3472 s,@SET_MAKE@,$SET_MAKE,;t t
3473 s,@am__leading_dot@,$am__leading_dot,;t t
3474 s,@AMTAR@,$AMTAR,;t t
3475 s,@am__tar@,$am__tar,;t t
3476 s,@am__untar@,$am__untar,;t t
3477 s,@CC@,$CC,;t t
3478 s,@CFLAGS@,$CFLAGS,;t t
3479 s,@LDFLAGS@,$LDFLAGS,;t t
3480 s,@CPPFLAGS@,$CPPFLAGS,;t t
3481 s,@ac_ct_CC@,$ac_ct_CC,;t t
3482 s,@EXEEXT@,$EXEEXT,;t t
3483 s,@OBJEXT@,$OBJEXT,;t t
3484 s,@DEPDIR@,$DEPDIR,;t t
3485 s,@am__include@,$am__include,;t t
3486 s,@am__quote@,$am__quote,;t t
3487 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3488 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3489 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3490 s,@CCDEPMODE@,$CCDEPMODE,;t t
3491 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
3492 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
3493 s,@LIBOBJS@,$LIBOBJS,;t t
3494 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3495 CEOF
3496
3497 _ACEOF
3498
3499   cat >>$CONFIG_STATUS <<\_ACEOF
3500   # Split the substitutions into bite-sized pieces for seds with
3501   # small command number limits, like on Digital OSF/1 and HP-UX.
3502   ac_max_sed_lines=48
3503   ac_sed_frag=1 # Number of current file.
3504   ac_beg=1 # First line for current file.
3505   ac_end=$ac_max_sed_lines # Line after last line for current file.
3506   ac_more_lines=:
3507   ac_sed_cmds=
3508   while $ac_more_lines; do
3509     if test $ac_beg -gt 1; then
3510       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3511     else
3512       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3513     fi
3514     if test ! -s $tmp/subs.frag; then
3515       ac_more_lines=false
3516     else
3517       # The purpose of the label and of the branching condition is to
3518       # speed up the sed processing (if there are no `@' at all, there
3519       # is no need to browse any of the substitutions).
3520       # These are the two extra sed commands mentioned above.
3521       (echo ':t
3522   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3523       if test -z "$ac_sed_cmds"; then
3524         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3525       else
3526         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3527       fi
3528       ac_sed_frag=`expr $ac_sed_frag + 1`
3529       ac_beg=$ac_end
3530       ac_end=`expr $ac_end + $ac_max_sed_lines`
3531     fi
3532   done
3533   if test -z "$ac_sed_cmds"; then
3534     ac_sed_cmds=cat
3535   fi
3536 fi # test -n "$CONFIG_FILES"
3537
3538 _ACEOF
3539 cat >>$CONFIG_STATUS <<\_ACEOF
3540 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3541   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3542   case $ac_file in
3543   - | *:- | *:-:* ) # input from stdin
3544         cat >$tmp/stdin
3545         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3546         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3547   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3548         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3549   * )   ac_file_in=$ac_file.in ;;
3550   esac
3551
3552   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3553   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3554 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3555          X"$ac_file" : 'X\(//\)[^/]' \| \
3556          X"$ac_file" : 'X\(//\)$' \| \
3557          X"$ac_file" : 'X\(/\)' \| \
3558          .     : '\(.\)' 2>/dev/null ||
3559 echo X"$ac_file" |
3560     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3561           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3562           /^X\(\/\/\)$/{ s//\1/; q; }
3563           /^X\(\/\).*/{ s//\1/; q; }
3564           s/.*/./; q'`
3565   { if $as_mkdir_p; then
3566     mkdir -p "$ac_dir"
3567   else
3568     as_dir="$ac_dir"
3569     as_dirs=
3570     while test ! -d "$as_dir"; do
3571       as_dirs="$as_dir $as_dirs"
3572       as_dir=`(dirname "$as_dir") 2>/dev/null ||
3573 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3574          X"$as_dir" : 'X\(//\)[^/]' \| \
3575          X"$as_dir" : 'X\(//\)$' \| \
3576          X"$as_dir" : 'X\(/\)' \| \
3577          .     : '\(.\)' 2>/dev/null ||
3578 echo X"$as_dir" |
3579     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3580           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3581           /^X\(\/\/\)$/{ s//\1/; q; }
3582           /^X\(\/\).*/{ s//\1/; q; }
3583           s/.*/./; q'`
3584     done
3585     test ! -n "$as_dirs" || mkdir $as_dirs
3586   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3587 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3588    { (exit 1); exit 1; }; }; }
3589
3590   ac_builddir=.
3591
3592 if test "$ac_dir" != .; then
3593   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3594   # A "../" for each directory in $ac_dir_suffix.
3595   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3596 else
3597   ac_dir_suffix= ac_top_builddir=
3598 fi
3599
3600 case $srcdir in
3601   .)  # No --srcdir option.  We are building in place.
3602     ac_srcdir=.
3603     if test -z "$ac_top_builddir"; then
3604        ac_top_srcdir=.
3605     else
3606        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3607     fi ;;
3608   [\\/]* | ?:[\\/]* )  # Absolute path.
3609     ac_srcdir=$srcdir$ac_dir_suffix;
3610     ac_top_srcdir=$srcdir ;;
3611   *) # Relative path.
3612     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3613     ac_top_srcdir=$ac_top_builddir$srcdir ;;
3614 esac
3615
3616 # Do not use `cd foo && pwd` to compute absolute paths, because
3617 # the directories may not exist.
3618 case `pwd` in
3619 .) ac_abs_builddir="$ac_dir";;
3620 *)
3621   case "$ac_dir" in
3622   .) ac_abs_builddir=`pwd`;;
3623   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3624   *) ac_abs_builddir=`pwd`/"$ac_dir";;
3625   esac;;
3626 esac
3627 case $ac_abs_builddir in
3628 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3629 *)
3630   case ${ac_top_builddir}. in
3631   .) ac_abs_top_builddir=$ac_abs_builddir;;
3632   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3633   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3634   esac;;
3635 esac
3636 case $ac_abs_builddir in
3637 .) ac_abs_srcdir=$ac_srcdir;;
3638 *)
3639   case $ac_srcdir in
3640   .) ac_abs_srcdir=$ac_abs_builddir;;
3641   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3642   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3643   esac;;
3644 esac
3645 case $ac_abs_builddir in
3646 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3647 *)
3648   case $ac_top_srcdir in
3649   .) ac_abs_top_srcdir=$ac_abs_builddir;;
3650   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3651   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3652   esac;;
3653 esac
3654
3655
3656   case $INSTALL in
3657   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3658   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3659   esac
3660
3661   if test x"$ac_file" != x-; then
3662     { echo "$as_me:$LINENO: creating $ac_file" >&5
3663 echo "$as_me: creating $ac_file" >&6;}
3664     rm -f "$ac_file"
3665   fi
3666   # Let's still pretend it is `configure' which instantiates (i.e., don't
3667   # use $as_me), people would be surprised to read:
3668   #    /* config.h.  Generated by config.status.  */
3669   if test x"$ac_file" = x-; then
3670     configure_input=
3671   else
3672     configure_input="$ac_file.  "
3673   fi
3674   configure_input=$configure_input"Generated from `echo $ac_file_in |
3675                                      sed 's,.*/,,'` by configure."
3676
3677   # First look for the input files in the build tree, otherwise in the
3678   # src tree.
3679   ac_file_inputs=`IFS=:
3680     for f in $ac_file_in; do
3681       case $f in
3682       -) echo $tmp/stdin ;;
3683       [\\/$]*)
3684          # Absolute (can't be DOS-style, as IFS=:)
3685          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3686 echo "$as_me: error: cannot find input file: $f" >&2;}
3687    { (exit 1); exit 1; }; }
3688          echo "$f";;
3689       *) # Relative
3690          if test -f "$f"; then
3691            # Build tree
3692            echo "$f"
3693          elif test -f "$srcdir/$f"; then
3694            # Source tree
3695            echo "$srcdir/$f"
3696          else
3697            # /dev/null tree
3698            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3699 echo "$as_me: error: cannot find input file: $f" >&2;}
3700    { (exit 1); exit 1; }; }
3701          fi;;
3702       esac
3703     done` || { (exit 1); exit 1; }
3704 _ACEOF
3705 cat >>$CONFIG_STATUS <<_ACEOF
3706   sed "$ac_vpsub
3707 $extrasub
3708 _ACEOF
3709 cat >>$CONFIG_STATUS <<\_ACEOF
3710 :t
3711 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3712 s,@configure_input@,$configure_input,;t t
3713 s,@srcdir@,$ac_srcdir,;t t
3714 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3715 s,@top_srcdir@,$ac_top_srcdir,;t t
3716 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3717 s,@builddir@,$ac_builddir,;t t
3718 s,@abs_builddir@,$ac_abs_builddir,;t t
3719 s,@top_builddir@,$ac_top_builddir,;t t
3720 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3721 s,@INSTALL@,$ac_INSTALL,;t t
3722 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3723   rm -f $tmp/stdin
3724   if test x"$ac_file" != x-; then
3725     mv $tmp/out $ac_file
3726   else
3727     cat $tmp/out
3728     rm -f $tmp/out
3729   fi
3730
3731 done
3732 _ACEOF
3733 cat >>$CONFIG_STATUS <<\_ACEOF
3734
3735 #
3736 # CONFIG_HEADER section.
3737 #
3738
3739 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3740 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3741 #
3742 # ac_d sets the value in "#define NAME VALUE" lines.
3743 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
3744 ac_dB='[         ].*$,\1#\2'
3745 ac_dC=' '
3746 ac_dD=',;t'
3747 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3748 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
3749 ac_uB='$,\1#\2define\3'
3750 ac_uC=' '
3751 ac_uD=',;t'
3752
3753 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3754   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3755   case $ac_file in
3756   - | *:- | *:-:* ) # input from stdin
3757         cat >$tmp/stdin
3758         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3759         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3760   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3761         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3762   * )   ac_file_in=$ac_file.in ;;
3763   esac
3764
3765   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
3766 echo "$as_me: creating $ac_file" >&6;}
3767
3768   # First look for the input files in the build tree, otherwise in the
3769   # src tree.
3770   ac_file_inputs=`IFS=:
3771     for f in $ac_file_in; do
3772       case $f in
3773       -) echo $tmp/stdin ;;
3774       [\\/$]*)
3775          # Absolute (can't be DOS-style, as IFS=:)
3776          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3777 echo "$as_me: error: cannot find input file: $f" >&2;}
3778    { (exit 1); exit 1; }; }
3779          # Do quote $f, to prevent DOS paths from being IFS'd.
3780          echo "$f";;
3781       *) # Relative
3782          if test -f "$f"; then
3783            # Build tree
3784            echo "$f"
3785          elif test -f "$srcdir/$f"; then
3786            # Source tree
3787            echo "$srcdir/$f"
3788          else
3789            # /dev/null tree
3790            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3791 echo "$as_me: error: cannot find input file: $f" >&2;}
3792    { (exit 1); exit 1; }; }
3793          fi;;
3794       esac
3795     done` || { (exit 1); exit 1; }
3796   # Remove the trailing spaces.
3797   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
3798
3799 _ACEOF
3800
3801 # Transform confdefs.h into two sed scripts, `conftest.defines' and
3802 # `conftest.undefs', that substitutes the proper values into
3803 # config.h.in to produce config.h.  The first handles `#define'
3804 # templates, and the second `#undef' templates.
3805 # And first: Protect against being on the right side of a sed subst in
3806 # config.status.  Protect against being in an unquoted here document
3807 # in config.status.
3808 rm -f conftest.defines conftest.undefs
3809 # Using a here document instead of a string reduces the quoting nightmare.
3810 # Putting comments in sed scripts is not portable.
3811 #
3812 # `end' is used to avoid that the second main sed command (meant for
3813 # 0-ary CPP macros) applies to n-ary macro definitions.
3814 # See the Autoconf documentation for `clear'.
3815 cat >confdef2sed.sed <<\_ACEOF
3816 s/[\\&,]/\\&/g
3817 s,[\\$`],\\&,g
3818 t clear
3819 : clear
3820 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
3821 t end
3822 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3823 : end
3824 _ACEOF
3825 # If some macros were called several times there might be several times
3826 # the same #defines, which is useless.  Nevertheless, we may not want to
3827 # sort them, since we want the *last* AC-DEFINE to be honored.
3828 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
3829 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
3830 rm -f confdef2sed.sed
3831
3832 # This sed command replaces #undef with comments.  This is necessary, for
3833 # example, in the case of _POSIX_SOURCE, which is predefined and required
3834 # on some systems where configure will not decide to define it.
3835 cat >>conftest.undefs <<\_ACEOF
3836 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
3837 _ACEOF
3838
3839 # Break up conftest.defines because some shells have a limit on the size
3840 # of here documents, and old seds have small limits too (100 cmds).
3841 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
3842 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3843 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
3844 echo '  :' >>$CONFIG_STATUS
3845 rm -f conftest.tail
3846 while grep . conftest.defines >/dev/null
3847 do
3848   # Write a limited-size here document to $tmp/defines.sed.
3849   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
3850   # Speed up: don't consider the non `#define' lines.
3851   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
3852   # Work around the forget-to-reset-the-flag bug.
3853   echo 't clr' >>$CONFIG_STATUS
3854   echo ': clr' >>$CONFIG_STATUS
3855   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
3856   echo 'CEOF
3857   sed -f $tmp/defines.sed $tmp/in >$tmp/out
3858   rm -f $tmp/in
3859   mv $tmp/out $tmp/in
3860 ' >>$CONFIG_STATUS
3861   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
3862   rm -f conftest.defines
3863   mv conftest.tail conftest.defines
3864 done
3865 rm -f conftest.defines
3866 echo '  fi # grep' >>$CONFIG_STATUS
3867 echo >>$CONFIG_STATUS
3868
3869 # Break up conftest.undefs because some shells have a limit on the size
3870 # of here documents, and old seds have small limits too (100 cmds).
3871 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
3872 rm -f conftest.tail
3873 while grep . conftest.undefs >/dev/null
3874 do
3875   # Write a limited-size here document to $tmp/undefs.sed.
3876   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
3877   # Speed up: don't consider the non `#undef'
3878   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
3879   # Work around the forget-to-reset-the-flag bug.
3880   echo 't clr' >>$CONFIG_STATUS
3881   echo ': clr' >>$CONFIG_STATUS
3882   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
3883   echo 'CEOF
3884   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
3885   rm -f $tmp/in
3886   mv $tmp/out $tmp/in
3887 ' >>$CONFIG_STATUS
3888   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
3889   rm -f conftest.undefs
3890   mv conftest.tail conftest.undefs
3891 done
3892 rm -f conftest.undefs
3893
3894 cat >>$CONFIG_STATUS <<\_ACEOF
3895   # Let's still pretend it is `configure' which instantiates (i.e., don't
3896   # use $as_me), people would be surprised to read:
3897   #    /* config.h.  Generated by config.status.  */
3898   if test x"$ac_file" = x-; then
3899     echo "/* Generated by configure.  */" >$tmp/config.h
3900   else
3901     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
3902   fi
3903   cat $tmp/in >>$tmp/config.h
3904   rm -f $tmp/in
3905   if test x"$ac_file" != x-; then
3906     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
3907       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3908 echo "$as_me: $ac_file is unchanged" >&6;}
3909     else
3910       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3911 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3912          X"$ac_file" : 'X\(//\)[^/]' \| \
3913          X"$ac_file" : 'X\(//\)$' \| \
3914          X"$ac_file" : 'X\(/\)' \| \
3915          .     : '\(.\)' 2>/dev/null ||
3916 echo X"$ac_file" |
3917     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3918           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3919           /^X\(\/\/\)$/{ s//\1/; q; }
3920           /^X\(\/\).*/{ s//\1/; q; }
3921           s/.*/./; q'`
3922       { if $as_mkdir_p; then
3923     mkdir -p "$ac_dir"
3924   else
3925     as_dir="$ac_dir"
3926     as_dirs=
3927     while test ! -d "$as_dir"; do
3928       as_dirs="$as_dir $as_dirs"
3929       as_dir=`(dirname "$as_dir") 2>/dev/null ||
3930 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3931          X"$as_dir" : 'X\(//\)[^/]' \| \
3932          X"$as_dir" : 'X\(//\)$' \| \
3933          X"$as_dir" : 'X\(/\)' \| \
3934          .     : '\(.\)' 2>/dev/null ||
3935 echo X"$as_dir" |
3936     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3937           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3938           /^X\(\/\/\)$/{ s//\1/; q; }
3939           /^X\(\/\).*/{ s//\1/; q; }
3940           s/.*/./; q'`
3941     done
3942     test ! -n "$as_dirs" || mkdir $as_dirs
3943   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3944 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3945    { (exit 1); exit 1; }; }; }
3946
3947       rm -f $ac_file
3948       mv $tmp/config.h $ac_file
3949     fi
3950   else
3951     cat $tmp/config.h
3952     rm -f $tmp/config.h
3953   fi
3954 # Compute $ac_file's index in $config_headers.
3955 _am_stamp_count=1
3956 for _am_header in $config_headers :; do
3957   case $_am_header in
3958     $ac_file | $ac_file:* )
3959       break ;;
3960     * )
3961       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
3962   esac
3963 done
3964 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
3965 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3966          X$ac_file : 'X\(//\)[^/]' \| \
3967          X$ac_file : 'X\(//\)$' \| \
3968          X$ac_file : 'X\(/\)' \| \
3969          .     : '\(.\)' 2>/dev/null ||
3970 echo X$ac_file |
3971     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3972           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3973           /^X\(\/\/\)$/{ s//\1/; q; }
3974           /^X\(\/\).*/{ s//\1/; q; }
3975           s/.*/./; q'`/stamp-h$_am_stamp_count
3976 done
3977 _ACEOF
3978 cat >>$CONFIG_STATUS <<\_ACEOF
3979
3980 #
3981 # CONFIG_COMMANDS section.
3982 #
3983 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3984   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3985   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3986   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
3987 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3988          X"$ac_dest" : 'X\(//\)[^/]' \| \
3989          X"$ac_dest" : 'X\(//\)$' \| \
3990          X"$ac_dest" : 'X\(/\)' \| \
3991          .     : '\(.\)' 2>/dev/null ||
3992 echo X"$ac_dest" |
3993     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3994           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3995           /^X\(\/\/\)$/{ s//\1/; q; }
3996           /^X\(\/\).*/{ s//\1/; q; }
3997           s/.*/./; q'`
3998   { if $as_mkdir_p; then
3999     mkdir -p "$ac_dir"
4000   else
4001     as_dir="$ac_dir"
4002     as_dirs=
4003     while test ! -d "$as_dir"; do
4004       as_dirs="$as_dir $as_dirs"
4005       as_dir=`(dirname "$as_dir") 2>/dev/null ||
4006 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4007          X"$as_dir" : 'X\(//\)[^/]' \| \
4008          X"$as_dir" : 'X\(//\)$' \| \
4009          X"$as_dir" : 'X\(/\)' \| \
4010          .     : '\(.\)' 2>/dev/null ||
4011 echo X"$as_dir" |
4012     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4013           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4014           /^X\(\/\/\)$/{ s//\1/; q; }
4015           /^X\(\/\).*/{ s//\1/; q; }
4016           s/.*/./; q'`
4017     done
4018     test ! -n "$as_dirs" || mkdir $as_dirs
4019   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4020 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4021    { (exit 1); exit 1; }; }; }
4022
4023   ac_builddir=.
4024
4025 if test "$ac_dir" != .; then
4026   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4027   # A "../" for each directory in $ac_dir_suffix.
4028   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4029 else
4030   ac_dir_suffix= ac_top_builddir=
4031 fi
4032
4033 case $srcdir in
4034   .)  # No --srcdir option.  We are building in place.
4035     ac_srcdir=.
4036     if test -z "$ac_top_builddir"; then
4037        ac_top_srcdir=.
4038     else
4039        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4040     fi ;;
4041   [\\/]* | ?:[\\/]* )  # Absolute path.
4042     ac_srcdir=$srcdir$ac_dir_suffix;
4043     ac_top_srcdir=$srcdir ;;
4044   *) # Relative path.
4045     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4046     ac_top_srcdir=$ac_top_builddir$srcdir ;;
4047 esac
4048
4049 # Do not use `cd foo && pwd` to compute absolute paths, because
4050 # the directories may not exist.
4051 case `pwd` in
4052 .) ac_abs_builddir="$ac_dir";;
4053 *)
4054   case "$ac_dir" in
4055   .) ac_abs_builddir=`pwd`;;
4056   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4057   *) ac_abs_builddir=`pwd`/"$ac_dir";;
4058   esac;;
4059 esac
4060 case $ac_abs_builddir in
4061 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4062 *)
4063   case ${ac_top_builddir}. in
4064   .) ac_abs_top_builddir=$ac_abs_builddir;;
4065   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4066   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4067   esac;;
4068 esac
4069 case $ac_abs_builddir in
4070 .) ac_abs_srcdir=$ac_srcdir;;
4071 *)
4072   case $ac_srcdir in
4073   .) ac_abs_srcdir=$ac_abs_builddir;;
4074   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4075   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4076   esac;;
4077 esac
4078 case $ac_abs_builddir in
4079 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4080 *)
4081   case $ac_top_srcdir in
4082   .) ac_abs_top_srcdir=$ac_abs_builddir;;
4083   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4084   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4085   esac;;
4086 esac
4087
4088
4089   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4090 echo "$as_me: executing $ac_dest commands" >&6;}
4091   case $ac_dest in
4092     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4093   # Strip MF so we end up with the name of the file.
4094   mf=`echo "$mf" | sed -e 's/:.*$//'`
4095   # Check whether this is an Automake generated Makefile or not.
4096   # We used to match only the files named `Makefile.in', but
4097   # some people rename them; so instead we look at the file content.
4098   # Grep'ing the first line is not enough: some people post-process
4099   # each Makefile.in and add a new line on top of each file to say so.
4100   # So let's grep whole file.
4101   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4102     dirpart=`(dirname "$mf") 2>/dev/null ||
4103 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4104          X"$mf" : 'X\(//\)[^/]' \| \
4105          X"$mf" : 'X\(//\)$' \| \
4106          X"$mf" : 'X\(/\)' \| \
4107          .     : '\(.\)' 2>/dev/null ||
4108 echo X"$mf" |
4109     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4110           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4111           /^X\(\/\/\)$/{ s//\1/; q; }
4112           /^X\(\/\).*/{ s//\1/; q; }
4113           s/.*/./; q'`
4114   else
4115     continue
4116   fi
4117   # Extract the definition of DEPDIR, am__include, and am__quote
4118   # from the Makefile without running `make'.
4119   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4120   test -z "$DEPDIR" && continue
4121   am__include=`sed -n 's/^am__include = //p' < "$mf"`
4122   test -z "am__include" && continue
4123   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4124   # When using ansi2knr, U may be empty or an underscore; expand it
4125   U=`sed -n 's/^U = //p' < "$mf"`
4126   # Find all dependency output files, they are included files with
4127   # $(DEPDIR) in their names.  We invoke sed twice because it is the
4128   # simplest approach to changing $(DEPDIR) to its actual value in the
4129   # expansion.
4130   for file in `sed -n "
4131     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4132        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4133     # Make sure the directory exists.
4134     test -f "$dirpart/$file" && continue
4135     fdir=`(dirname "$file") 2>/dev/null ||
4136 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4137          X"$file" : 'X\(//\)[^/]' \| \
4138          X"$file" : 'X\(//\)$' \| \
4139          X"$file" : 'X\(/\)' \| \
4140          .     : '\(.\)' 2>/dev/null ||
4141 echo X"$file" |
4142     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4143           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4144           /^X\(\/\/\)$/{ s//\1/; q; }
4145           /^X\(\/\).*/{ s//\1/; q; }
4146           s/.*/./; q'`
4147     { if $as_mkdir_p; then
4148     mkdir -p $dirpart/$fdir
4149   else
4150     as_dir=$dirpart/$fdir
4151     as_dirs=
4152     while test ! -d "$as_dir"; do
4153       as_dirs="$as_dir $as_dirs"
4154       as_dir=`(dirname "$as_dir") 2>/dev/null ||
4155 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4156          X"$as_dir" : 'X\(//\)[^/]' \| \
4157          X"$as_dir" : 'X\(//\)$' \| \
4158          X"$as_dir" : 'X\(/\)' \| \
4159          .     : '\(.\)' 2>/dev/null ||
4160 echo X"$as_dir" |
4161     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4162           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4163           /^X\(\/\/\)$/{ s//\1/; q; }
4164           /^X\(\/\).*/{ s//\1/; q; }
4165           s/.*/./; q'`
4166     done
4167     test ! -n "$as_dirs" || mkdir $as_dirs
4168   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4169 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4170    { (exit 1); exit 1; }; }; }
4171
4172     # echo "creating $dirpart/$file"
4173     echo '# dummy' > "$dirpart/$file"
4174   done
4175 done
4176  ;;
4177   esac
4178 done
4179 _ACEOF
4180
4181 cat >>$CONFIG_STATUS <<\_ACEOF
4182
4183 { (exit 0); exit 0; }
4184 _ACEOF
4185 chmod +x $CONFIG_STATUS
4186 ac_clean_files=$ac_clean_files_save
4187
4188
4189 # configure is writing to config.log, and then calls config.status.
4190 # config.status does its own redirection, appending to config.log.
4191 # Unfortunately, on DOS this fails, as config.log is still kept open
4192 # by configure, so config.status won't be able to write to it; its
4193 # output is simply discarded.  So we exec the FD to /dev/null,
4194 # effectively closing config.log, so it can be properly (re)opened and
4195 # appended to by config.status.  When coming back to configure, we
4196 # need to make the FD available again.
4197 if test "$no_create" != yes; then
4198   ac_cs_success=:
4199   ac_config_status_args=
4200   test "$silent" = yes &&
4201     ac_config_status_args="$ac_config_status_args --quiet"
4202   exec 5>/dev/null
4203   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4204   exec 5>>config.log
4205   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4206   # would make configure fail if this is the last instruction.
4207   $ac_cs_success || { (exit 1); exit 1; }
4208 fi
4209