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