autotools revamp:
[freeradius.git] / src / modules / rlm_sql / drivers / rlm_sql_db2 / configure
1 #! /bin/sh
2 # From configure.in Revision: 1.1 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59.
5 #
6 # Copyright (C) 2003 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization.  ##
11 ## --------------------- ##
12
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15   emulate sh
16   NULLCMD=:
17   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18   # is contrary to our usage.  Disable this feature.
19   alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21   set -o posix
22 fi
23 DUALCASE=1; export DUALCASE # for MKS sh
24
25 # Support unset when possible.
26 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
27   as_unset=unset
28 else
29   as_unset=false
30 fi
31
32
33 # Work around bugs in pre-3.0 UWIN ksh.
34 $as_unset ENV MAIL MAILPATH
35 PS1='$ '
36 PS2='> '
37 PS4='+ '
38
39 # NLS nuisances.
40 for as_var in \
41   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43   LC_TELEPHONE LC_TIME
44 do
45   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46     eval $as_var=C; export $as_var
47   else
48     $as_unset $as_var
49   fi
50 done
51
52 # Required to use basename.
53 if expr a : '\(a\)' >/dev/null 2>&1; then
54   as_expr=expr
55 else
56   as_expr=false
57 fi
58
59 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
60   as_basename=basename
61 else
62   as_basename=false
63 fi
64
65
66 # Name of the executable.
67 as_me=`$as_basename "$0" ||
68 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
69          X"$0" : 'X\(//\)$' \| \
70          X"$0" : 'X\(/\)$' \| \
71          .     : '\(.\)' 2>/dev/null ||
72 echo X/"$0" |
73     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
74           /^X\/\(\/\/\)$/{ s//\1/; q; }
75           /^X\/\(\/\).*/{ s//\1/; q; }
76           s/.*/./; q'`
77
78
79 # PATH needs CR, and LINENO needs CR and PATH.
80 # Avoid depending upon Character Ranges.
81 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
84 as_cr_digits='0123456789'
85 as_cr_alnum=$as_cr_Letters$as_cr_digits
86
87 # The user is always right.
88 if test "${PATH_SEPARATOR+set}" != set; then
89   echo "#! /bin/sh" >conf$$.sh
90   echo  "exit 0"   >>conf$$.sh
91   chmod +x conf$$.sh
92   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
93     PATH_SEPARATOR=';'
94   else
95     PATH_SEPARATOR=:
96   fi
97   rm -f conf$$.sh
98 fi
99
100
101   as_lineno_1=$LINENO
102   as_lineno_2=$LINENO
103   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
104   test "x$as_lineno_1" != "x$as_lineno_2" &&
105   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
106   # Find who we are.  Look in the path if we contain no path at all
107   # relative or not.
108   case $0 in
109     *[\\/]* ) as_myself=$0 ;;
110     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
111 for as_dir in $PATH
112 do
113   IFS=$as_save_IFS
114   test -z "$as_dir" && as_dir=.
115   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116 done
117
118        ;;
119   esac
120   # We did not find ourselves, most probably we were run as `sh COMMAND'
121   # in which case we are not to be found in the path.
122   if test "x$as_myself" = x; then
123     as_myself=$0
124   fi
125   if test ! -f "$as_myself"; then
126     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
127    { (exit 1); exit 1; }; }
128   fi
129   case $CONFIG_SHELL in
130   '')
131     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
132 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 do
134   IFS=$as_save_IFS
135   test -z "$as_dir" && as_dir=.
136   for as_base in sh bash ksh sh5; do
137          case $as_dir in
138          /*)
139            if ("$as_dir/$as_base" -c '
140   as_lineno_1=$LINENO
141   as_lineno_2=$LINENO
142   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143   test "x$as_lineno_1" != "x$as_lineno_2" &&
144   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
145              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
146              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
147              CONFIG_SHELL=$as_dir/$as_base
148              export CONFIG_SHELL
149              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
150            fi;;
151          esac
152        done
153 done
154 ;;
155   esac
156
157   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
158   # uniformly replaced by the line number.  The first 'sed' inserts a
159   # line-number line before each line; the second 'sed' does the real
160   # work.  The second script uses 'N' to pair each line-number line
161   # with the numbered line, and appends trailing '-' during
162   # substitution so that $LINENO is not a special case at line end.
163   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
164   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
165   sed '=' <$as_myself |
166     sed '
167       N
168       s,$,-,
169       : loop
170       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
171       t loop
172       s,-$,,
173       s,^['$as_cr_digits']*\n,,
174     ' >$as_me.lineno &&
175   chmod +x $as_me.lineno ||
176     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
177    { (exit 1); exit 1; }; }
178
179   # Don't try to exec as it changes $[0], causing all sort of problems
180   # (the dirname of $[0] is not the place where we might find the
181   # original and so on.  Autoconf is especially sensible to this).
182   . ./$as_me.lineno
183   # Exit status is that of the last command.
184   exit
185 }
186
187
188 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
189   *c*,-n*) ECHO_N= ECHO_C='
190 ' ECHO_T='      ' ;;
191   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
192   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
193 esac
194
195 if expr a : '\(a\)' >/dev/null 2>&1; then
196   as_expr=expr
197 else
198   as_expr=false
199 fi
200
201 rm -f conf$$ conf$$.exe conf$$.file
202 echo >conf$$.file
203 if ln -s conf$$.file conf$$ 2>/dev/null; then
204   # We could just check for DJGPP; but this test a) works b) is more generic
205   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
206   if test -f conf$$.exe; then
207     # Don't use ln at all; we don't have any links
208     as_ln_s='cp -p'
209   else
210     as_ln_s='ln -s'
211   fi
212 elif ln conf$$.file conf$$ 2>/dev/null; then
213   as_ln_s=ln
214 else
215   as_ln_s='cp -p'
216 fi
217 rm -f conf$$ conf$$.exe conf$$.file
218
219 if mkdir -p . 2>/dev/null; then
220   as_mkdir_p=:
221 else
222   test -d ./-p && rmdir ./-p
223   as_mkdir_p=false
224 fi
225
226 as_executable_p="test -f"
227
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
233
234
235 # IFS
236 # We need space, tab and new line, in precisely that order.
237 as_nl='
238 '
239 IFS="   $as_nl"
240
241 # CDPATH.
242 $as_unset CDPATH
243
244
245 # Name of the host.
246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247 # so uname gets run too.
248 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249
250 exec 6>&1
251
252 #
253 # Initializations.
254 #
255 ac_default_prefix=/usr/local
256 ac_config_libobj_dir=.
257 cross_compiling=no
258 subdirs=
259 MFLAGS=
260 MAKEFLAGS=
261 SHELL=${CONFIG_SHELL-/bin/sh}
262
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete.  It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
267
268 # Identity of this package.
269 PACKAGE_NAME=
270 PACKAGE_TARNAME=
271 PACKAGE_VERSION=
272 PACKAGE_STRING=
273 PACKAGE_BUGREPORT=
274
275 ac_unique_file="sql_db2.c"
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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP sql_ibmdb2_ldflags sql_ibmdb2_cflags targetname 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 ac_env_CPP_set=${CPP+set}
734 ac_env_CPP_value=$CPP
735 ac_cv_env_CPP_set=${CPP+set}
736 ac_cv_env_CPP_value=$CPP
737
738 #
739 # Report the --help message.
740 #
741 if test "$ac_init_help" = "long"; then
742   # Omit some internal or obsolete options to make the list less imposing.
743   # This message is too long to be a string in the A/UX 3.1 sh.
744   cat <<_ACEOF
745 \`configure' configures this package to adapt to many kinds of systems.
746
747 Usage: $0 [OPTION]... [VAR=VALUE]...
748
749 To assign environment variables (e.g., CC, CFLAGS...), specify them as
750 VAR=VALUE.  See below for descriptions of some of the useful variables.
751
752 Defaults for the options are specified in brackets.
753
754 Configuration:
755   -h, --help              display this help and exit
756       --help=short        display options specific to this package
757       --help=recursive    display the short help of all the included packages
758   -V, --version           display version information and exit
759   -q, --quiet, --silent   do not print \`checking...' messages
760       --cache-file=FILE   cache test results in FILE [disabled]
761   -C, --config-cache      alias for \`--cache-file=config.cache'
762   -n, --no-create         do not create output files
763       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
764
765 _ACEOF
766
767   cat <<_ACEOF
768 Installation directories:
769   --prefix=PREFIX         install architecture-independent files in PREFIX
770                           [$ac_default_prefix]
771   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
772                           [PREFIX]
773
774 By default, \`make install' will install all the files in
775 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
776 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
777 for instance \`--prefix=\$HOME'.
778
779 For better control, use the options below.
780
781 Fine tuning of the installation directories:
782   --bindir=DIR           user executables [EPREFIX/bin]
783   --sbindir=DIR          system admin executables [EPREFIX/sbin]
784   --libexecdir=DIR       program executables [EPREFIX/libexec]
785   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
786   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
787   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
788   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
789   --libdir=DIR           object code libraries [EPREFIX/lib]
790   --includedir=DIR       C header files [PREFIX/include]
791   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
792   --infodir=DIR          info documentation [PREFIX/info]
793   --mandir=DIR           man documentation [PREFIX/man]
794 _ACEOF
795
796   cat <<\_ACEOF
797 _ACEOF
798 fi
799
800 if test -n "$ac_init_help"; then
801
802   cat <<\_ACEOF
803
804 Optional Packages:
805   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
806   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
807   --with-ibmdb2-include-dir=DIR       Directory where the IBM-DB2 includes may be found
808   --with-ibmdb2-lib-dir=DIR       Directory where the IBM-DB2 libraries may be found
809   --with-ibmdb2-dir=DIR       Base directory where IBM-DB2 is installed
810
811 Some influential environment variables:
812   CC          C compiler command
813   CFLAGS      C compiler flags
814   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
815               nonstandard directory <lib dir>
816   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
817               headers in a nonstandard directory <include dir>
818   CPP         C preprocessor
819
820 Use these variables to override the choices made by `configure' or to help
821 it to find libraries and programs with nonstandard names/locations.
822
823 _ACEOF
824 fi
825
826 if test "$ac_init_help" = "recursive"; then
827   # If there are subdirs, report their specific --help.
828   ac_popdir=`pwd`
829   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
830     test -d $ac_dir || continue
831     ac_builddir=.
832
833 if test "$ac_dir" != .; then
834   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
835   # A "../" for each directory in $ac_dir_suffix.
836   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
837 else
838   ac_dir_suffix= ac_top_builddir=
839 fi
840
841 case $srcdir in
842   .)  # No --srcdir option.  We are building in place.
843     ac_srcdir=.
844     if test -z "$ac_top_builddir"; then
845        ac_top_srcdir=.
846     else
847        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
848     fi ;;
849   [\\/]* | ?:[\\/]* )  # Absolute path.
850     ac_srcdir=$srcdir$ac_dir_suffix;
851     ac_top_srcdir=$srcdir ;;
852   *) # Relative path.
853     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
854     ac_top_srcdir=$ac_top_builddir$srcdir ;;
855 esac
856
857 # Do not use `cd foo && pwd` to compute absolute paths, because
858 # the directories may not exist.
859 case `pwd` in
860 .) ac_abs_builddir="$ac_dir";;
861 *)
862   case "$ac_dir" in
863   .) ac_abs_builddir=`pwd`;;
864   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
865   *) ac_abs_builddir=`pwd`/"$ac_dir";;
866   esac;;
867 esac
868 case $ac_abs_builddir in
869 .) ac_abs_top_builddir=${ac_top_builddir}.;;
870 *)
871   case ${ac_top_builddir}. in
872   .) ac_abs_top_builddir=$ac_abs_builddir;;
873   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
874   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
875   esac;;
876 esac
877 case $ac_abs_builddir in
878 .) ac_abs_srcdir=$ac_srcdir;;
879 *)
880   case $ac_srcdir in
881   .) ac_abs_srcdir=$ac_abs_builddir;;
882   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
883   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
884   esac;;
885 esac
886 case $ac_abs_builddir in
887 .) ac_abs_top_srcdir=$ac_top_srcdir;;
888 *)
889   case $ac_top_srcdir in
890   .) ac_abs_top_srcdir=$ac_abs_builddir;;
891   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
892   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
893   esac;;
894 esac
895
896     cd $ac_dir
897     # Check for guested configure; otherwise get Cygnus style configure.
898     if test -f $ac_srcdir/configure.gnu; then
899       echo
900       $SHELL $ac_srcdir/configure.gnu  --help=recursive
901     elif test -f $ac_srcdir/configure; then
902       echo
903       $SHELL $ac_srcdir/configure  --help=recursive
904     elif test -f $ac_srcdir/configure.ac ||
905            test -f $ac_srcdir/configure.in; then
906       echo
907       $ac_configure --help
908     else
909       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
910     fi
911     cd "$ac_popdir"
912   done
913 fi
914
915 test -n "$ac_init_help" && exit 0
916 if $ac_init_version; then
917   cat <<\_ACEOF
918
919 Copyright (C) 2003 Free Software Foundation, Inc.
920 This configure script is free software; the Free Software Foundation
921 gives unlimited permission to copy, distribute and modify it.
922 _ACEOF
923   exit 0
924 fi
925 exec 5>config.log
926 cat >&5 <<_ACEOF
927 This file contains any messages produced by compilers while
928 running configure, to aid debugging if configure makes a mistake.
929
930 It was created by $as_me, which was
931 generated by GNU Autoconf 2.59.  Invocation command line was
932
933   $ $0 $@
934
935 _ACEOF
936 {
937 cat <<_ASUNAME
938 ## --------- ##
939 ## Platform. ##
940 ## --------- ##
941
942 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
943 uname -m = `(uname -m) 2>/dev/null || echo unknown`
944 uname -r = `(uname -r) 2>/dev/null || echo unknown`
945 uname -s = `(uname -s) 2>/dev/null || echo unknown`
946 uname -v = `(uname -v) 2>/dev/null || echo unknown`
947
948 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
949 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
950
951 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
952 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
953 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
954 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
955 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
956 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
957 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
958
959 _ASUNAME
960
961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
962 for as_dir in $PATH
963 do
964   IFS=$as_save_IFS
965   test -z "$as_dir" && as_dir=.
966   echo "PATH: $as_dir"
967 done
968
969 } >&5
970
971 cat >&5 <<_ACEOF
972
973
974 ## ----------- ##
975 ## Core tests. ##
976 ## ----------- ##
977
978 _ACEOF
979
980
981 # Keep a trace of the command line.
982 # Strip out --no-create and --no-recursion so they do not pile up.
983 # Strip out --silent because we don't want to record it for future runs.
984 # Also quote any args containing shell meta-characters.
985 # Make two passes to allow for proper duplicate-argument suppression.
986 ac_configure_args=
987 ac_configure_args0=
988 ac_configure_args1=
989 ac_sep=
990 ac_must_keep_next=false
991 for ac_pass in 1 2
992 do
993   for ac_arg
994   do
995     case $ac_arg in
996     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
997     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
998     | -silent | --silent | --silen | --sile | --sil)
999       continue ;;
1000     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1001       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1002     esac
1003     case $ac_pass in
1004     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1005     2)
1006       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1007       if test $ac_must_keep_next = true; then
1008         ac_must_keep_next=false # Got value, back to normal.
1009       else
1010         case $ac_arg in
1011           *=* | --config-cache | -C | -disable-* | --disable-* \
1012           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1013           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1014           | -with-* | --with-* | -without-* | --without-* | --x)
1015             case "$ac_configure_args0 " in
1016               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1017             esac
1018             ;;
1019           -* ) ac_must_keep_next=true ;;
1020         esac
1021       fi
1022       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1023       # Get rid of the leading space.
1024       ac_sep=" "
1025       ;;
1026     esac
1027   done
1028 done
1029 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1030 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1031
1032 # When interrupted or exit'd, cleanup temporary files, and complete
1033 # config.log.  We remove comments because anyway the quotes in there
1034 # would cause problems or look ugly.
1035 # WARNING: Be sure not to use single quotes in there, as some shells,
1036 # such as our DU 5.0 friend, will then `close' the trap.
1037 trap 'exit_status=$?
1038   # Save into config.log some information that might help in debugging.
1039   {
1040     echo
1041
1042     cat <<\_ASBOX
1043 ## ---------------- ##
1044 ## Cache variables. ##
1045 ## ---------------- ##
1046 _ASBOX
1047     echo
1048     # The following way of writing the cache mishandles newlines in values,
1049 {
1050   (set) 2>&1 |
1051     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1052     *ac_space=\ *)
1053       sed -n \
1054         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1055           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1056       ;;
1057     *)
1058       sed -n \
1059         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1060       ;;
1061     esac;
1062 }
1063     echo
1064
1065     cat <<\_ASBOX
1066 ## ----------------- ##
1067 ## Output variables. ##
1068 ## ----------------- ##
1069 _ASBOX
1070     echo
1071     for ac_var in $ac_subst_vars
1072     do
1073       eval ac_val=$`echo $ac_var`
1074       echo "$ac_var='"'"'$ac_val'"'"'"
1075     done | sort
1076     echo
1077
1078     if test -n "$ac_subst_files"; then
1079       cat <<\_ASBOX
1080 ## ------------- ##
1081 ## Output files. ##
1082 ## ------------- ##
1083 _ASBOX
1084       echo
1085       for ac_var in $ac_subst_files
1086       do
1087         eval ac_val=$`echo $ac_var`
1088         echo "$ac_var='"'"'$ac_val'"'"'"
1089       done | sort
1090       echo
1091     fi
1092
1093     if test -s confdefs.h; then
1094       cat <<\_ASBOX
1095 ## ----------- ##
1096 ## confdefs.h. ##
1097 ## ----------- ##
1098 _ASBOX
1099       echo
1100       sed "/^$/d" confdefs.h | sort
1101       echo
1102     fi
1103     test "$ac_signal" != 0 &&
1104       echo "$as_me: caught signal $ac_signal"
1105     echo "$as_me: exit $exit_status"
1106   } >&5
1107   rm -f core *.core &&
1108   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1109     exit $exit_status
1110      ' 0
1111 for ac_signal in 1 2 13 15; do
1112   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1113 done
1114 ac_signal=0
1115
1116 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1117 rm -rf conftest* confdefs.h
1118 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1119 echo >confdefs.h
1120
1121 # Predefined preprocessor variables.
1122
1123 cat >>confdefs.h <<_ACEOF
1124 #define PACKAGE_NAME "$PACKAGE_NAME"
1125 _ACEOF
1126
1127
1128 cat >>confdefs.h <<_ACEOF
1129 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1130 _ACEOF
1131
1132
1133 cat >>confdefs.h <<_ACEOF
1134 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1135 _ACEOF
1136
1137
1138 cat >>confdefs.h <<_ACEOF
1139 #define PACKAGE_STRING "$PACKAGE_STRING"
1140 _ACEOF
1141
1142
1143 cat >>confdefs.h <<_ACEOF
1144 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1145 _ACEOF
1146
1147
1148 # Let the site file select an alternate cache file if it wants to.
1149 # Prefer explicitly selected file to automatically selected ones.
1150 if test -z "$CONFIG_SITE"; then
1151   if test "x$prefix" != xNONE; then
1152     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1153   else
1154     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1155   fi
1156 fi
1157 for ac_site_file in $CONFIG_SITE; do
1158   if test -r "$ac_site_file"; then
1159     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1160 echo "$as_me: loading site script $ac_site_file" >&6;}
1161     sed 's/^/| /' "$ac_site_file" >&5
1162     . "$ac_site_file"
1163   fi
1164 done
1165
1166 if test -r "$cache_file"; then
1167   # Some versions of bash will fail to source /dev/null (special
1168   # files actually), so we avoid doing that.
1169   if test -f "$cache_file"; then
1170     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1171 echo "$as_me: loading cache $cache_file" >&6;}
1172     case $cache_file in
1173       [\\/]* | ?:[\\/]* ) . $cache_file;;
1174       *)                      . ./$cache_file;;
1175     esac
1176   fi
1177 else
1178   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1179 echo "$as_me: creating cache $cache_file" >&6;}
1180   >$cache_file
1181 fi
1182
1183 # Check that the precious variables saved in the cache have kept the same
1184 # value.
1185 ac_cache_corrupted=false
1186 for ac_var in `(set) 2>&1 |
1187                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1188   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1189   eval ac_new_set=\$ac_env_${ac_var}_set
1190   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1191   eval ac_new_val="\$ac_env_${ac_var}_value"
1192   case $ac_old_set,$ac_new_set in
1193     set,)
1194       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1195 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1196       ac_cache_corrupted=: ;;
1197     ,set)
1198       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1199 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1200       ac_cache_corrupted=: ;;
1201     ,);;
1202     *)
1203       if test "x$ac_old_val" != "x$ac_new_val"; then
1204         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1205 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1206         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1207 echo "$as_me:   former value:  $ac_old_val" >&2;}
1208         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1209 echo "$as_me:   current value: $ac_new_val" >&2;}
1210         ac_cache_corrupted=:
1211       fi;;
1212   esac
1213   # Pass precious variables to config.status.
1214   if test "$ac_new_set" = set; then
1215     case $ac_new_val in
1216     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1217       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1218     *) ac_arg=$ac_var=$ac_new_val ;;
1219     esac
1220     case " $ac_configure_args " in
1221       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1222       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1223     esac
1224   fi
1225 done
1226 if $ac_cache_corrupted; then
1227   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1228 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1229   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1230 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1231    { (exit 1); exit 1; }; }
1232 fi
1233
1234 ac_ext=c
1235 ac_cpp='$CPP $CPPFLAGS'
1236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261 ac_ext=c
1262 ac_cpp='$CPP $CPPFLAGS'
1263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1266 if test -n "$ac_tool_prefix"; then
1267   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1268 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1269 echo "$as_me:$LINENO: checking for $ac_word" >&5
1270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1271 if test "${ac_cv_prog_CC+set}" = set; then
1272   echo $ECHO_N "(cached) $ECHO_C" >&6
1273 else
1274   if test -n "$CC"; then
1275   ac_cv_prog_CC="$CC" # Let the user override the test.
1276 else
1277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1278 for as_dir in $PATH
1279 do
1280   IFS=$as_save_IFS
1281   test -z "$as_dir" && as_dir=.
1282   for ac_exec_ext in '' $ac_executable_extensions; do
1283   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1284     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1285     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1286     break 2
1287   fi
1288 done
1289 done
1290
1291 fi
1292 fi
1293 CC=$ac_cv_prog_CC
1294 if test -n "$CC"; then
1295   echo "$as_me:$LINENO: result: $CC" >&5
1296 echo "${ECHO_T}$CC" >&6
1297 else
1298   echo "$as_me:$LINENO: result: no" >&5
1299 echo "${ECHO_T}no" >&6
1300 fi
1301
1302 fi
1303 if test -z "$ac_cv_prog_CC"; then
1304   ac_ct_CC=$CC
1305   # Extract the first word of "gcc", so it can be a program name with args.
1306 set dummy gcc; ac_word=$2
1307 echo "$as_me:$LINENO: checking for $ac_word" >&5
1308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1309 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1310   echo $ECHO_N "(cached) $ECHO_C" >&6
1311 else
1312   if test -n "$ac_ct_CC"; then
1313   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1314 else
1315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1316 for as_dir in $PATH
1317 do
1318   IFS=$as_save_IFS
1319   test -z "$as_dir" && as_dir=.
1320   for ac_exec_ext in '' $ac_executable_extensions; do
1321   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1322     ac_cv_prog_ac_ct_CC="gcc"
1323     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1324     break 2
1325   fi
1326 done
1327 done
1328
1329 fi
1330 fi
1331 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1332 if test -n "$ac_ct_CC"; then
1333   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1334 echo "${ECHO_T}$ac_ct_CC" >&6
1335 else
1336   echo "$as_me:$LINENO: result: no" >&5
1337 echo "${ECHO_T}no" >&6
1338 fi
1339
1340   CC=$ac_ct_CC
1341 else
1342   CC="$ac_cv_prog_CC"
1343 fi
1344
1345 if test -z "$CC"; then
1346   if test -n "$ac_tool_prefix"; then
1347   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1348 set dummy ${ac_tool_prefix}cc; ac_word=$2
1349 echo "$as_me:$LINENO: checking for $ac_word" >&5
1350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1351 if test "${ac_cv_prog_CC+set}" = set; then
1352   echo $ECHO_N "(cached) $ECHO_C" >&6
1353 else
1354   if test -n "$CC"; then
1355   ac_cv_prog_CC="$CC" # Let the user override the test.
1356 else
1357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1358 for as_dir in $PATH
1359 do
1360   IFS=$as_save_IFS
1361   test -z "$as_dir" && as_dir=.
1362   for ac_exec_ext in '' $ac_executable_extensions; do
1363   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1364     ac_cv_prog_CC="${ac_tool_prefix}cc"
1365     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1366     break 2
1367   fi
1368 done
1369 done
1370
1371 fi
1372 fi
1373 CC=$ac_cv_prog_CC
1374 if test -n "$CC"; then
1375   echo "$as_me:$LINENO: result: $CC" >&5
1376 echo "${ECHO_T}$CC" >&6
1377 else
1378   echo "$as_me:$LINENO: result: no" >&5
1379 echo "${ECHO_T}no" >&6
1380 fi
1381
1382 fi
1383 if test -z "$ac_cv_prog_CC"; then
1384   ac_ct_CC=$CC
1385   # Extract the first word of "cc", so it can be a program name with args.
1386 set dummy cc; ac_word=$2
1387 echo "$as_me:$LINENO: checking for $ac_word" >&5
1388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1389 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1390   echo $ECHO_N "(cached) $ECHO_C" >&6
1391 else
1392   if test -n "$ac_ct_CC"; then
1393   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1394 else
1395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1396 for as_dir in $PATH
1397 do
1398   IFS=$as_save_IFS
1399   test -z "$as_dir" && as_dir=.
1400   for ac_exec_ext in '' $ac_executable_extensions; do
1401   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1402     ac_cv_prog_ac_ct_CC="cc"
1403     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1404     break 2
1405   fi
1406 done
1407 done
1408
1409 fi
1410 fi
1411 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1412 if test -n "$ac_ct_CC"; then
1413   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1414 echo "${ECHO_T}$ac_ct_CC" >&6
1415 else
1416   echo "$as_me:$LINENO: result: no" >&5
1417 echo "${ECHO_T}no" >&6
1418 fi
1419
1420   CC=$ac_ct_CC
1421 else
1422   CC="$ac_cv_prog_CC"
1423 fi
1424
1425 fi
1426 if test -z "$CC"; then
1427   # Extract the first word of "cc", so it can be a program name with args.
1428 set dummy cc; ac_word=$2
1429 echo "$as_me:$LINENO: checking for $ac_word" >&5
1430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1431 if test "${ac_cv_prog_CC+set}" = set; then
1432   echo $ECHO_N "(cached) $ECHO_C" >&6
1433 else
1434   if test -n "$CC"; then
1435   ac_cv_prog_CC="$CC" # Let the user override the test.
1436 else
1437   ac_prog_rejected=no
1438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1439 for as_dir in $PATH
1440 do
1441   IFS=$as_save_IFS
1442   test -z "$as_dir" && as_dir=.
1443   for ac_exec_ext in '' $ac_executable_extensions; do
1444   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1445     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1446        ac_prog_rejected=yes
1447        continue
1448      fi
1449     ac_cv_prog_CC="cc"
1450     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1451     break 2
1452   fi
1453 done
1454 done
1455
1456 if test $ac_prog_rejected = yes; then
1457   # We found a bogon in the path, so make sure we never use it.
1458   set dummy $ac_cv_prog_CC
1459   shift
1460   if test $# != 0; then
1461     # We chose a different compiler from the bogus one.
1462     # However, it has the same basename, so the bogon will be chosen
1463     # first if we set CC to just the basename; use the full file name.
1464     shift
1465     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1466   fi
1467 fi
1468 fi
1469 fi
1470 CC=$ac_cv_prog_CC
1471 if test -n "$CC"; then
1472   echo "$as_me:$LINENO: result: $CC" >&5
1473 echo "${ECHO_T}$CC" >&6
1474 else
1475   echo "$as_me:$LINENO: result: no" >&5
1476 echo "${ECHO_T}no" >&6
1477 fi
1478
1479 fi
1480 if test -z "$CC"; then
1481   if test -n "$ac_tool_prefix"; then
1482   for ac_prog in cl
1483   do
1484     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1485 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1486 echo "$as_me:$LINENO: checking for $ac_word" >&5
1487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1488 if test "${ac_cv_prog_CC+set}" = set; then
1489   echo $ECHO_N "(cached) $ECHO_C" >&6
1490 else
1491   if test -n "$CC"; then
1492   ac_cv_prog_CC="$CC" # Let the user override the test.
1493 else
1494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1495 for as_dir in $PATH
1496 do
1497   IFS=$as_save_IFS
1498   test -z "$as_dir" && as_dir=.
1499   for ac_exec_ext in '' $ac_executable_extensions; do
1500   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1501     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1502     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1503     break 2
1504   fi
1505 done
1506 done
1507
1508 fi
1509 fi
1510 CC=$ac_cv_prog_CC
1511 if test -n "$CC"; then
1512   echo "$as_me:$LINENO: result: $CC" >&5
1513 echo "${ECHO_T}$CC" >&6
1514 else
1515   echo "$as_me:$LINENO: result: no" >&5
1516 echo "${ECHO_T}no" >&6
1517 fi
1518
1519     test -n "$CC" && break
1520   done
1521 fi
1522 if test -z "$CC"; then
1523   ac_ct_CC=$CC
1524   for ac_prog in cl
1525 do
1526   # Extract the first word of "$ac_prog", so it can be a program name with args.
1527 set dummy $ac_prog; ac_word=$2
1528 echo "$as_me:$LINENO: checking for $ac_word" >&5
1529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1530 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1531   echo $ECHO_N "(cached) $ECHO_C" >&6
1532 else
1533   if test -n "$ac_ct_CC"; then
1534   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1535 else
1536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1537 for as_dir in $PATH
1538 do
1539   IFS=$as_save_IFS
1540   test -z "$as_dir" && as_dir=.
1541   for ac_exec_ext in '' $ac_executable_extensions; do
1542   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1543     ac_cv_prog_ac_ct_CC="$ac_prog"
1544     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1545     break 2
1546   fi
1547 done
1548 done
1549
1550 fi
1551 fi
1552 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1553 if test -n "$ac_ct_CC"; then
1554   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1555 echo "${ECHO_T}$ac_ct_CC" >&6
1556 else
1557   echo "$as_me:$LINENO: result: no" >&5
1558 echo "${ECHO_T}no" >&6
1559 fi
1560
1561   test -n "$ac_ct_CC" && break
1562 done
1563
1564   CC=$ac_ct_CC
1565 fi
1566
1567 fi
1568
1569
1570 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1571 See \`config.log' for more details." >&5
1572 echo "$as_me: error: no acceptable C compiler found in \$PATH
1573 See \`config.log' for more details." >&2;}
1574    { (exit 1); exit 1; }; }
1575
1576 # Provide some information about the compiler.
1577 echo "$as_me:$LINENO:" \
1578      "checking for C compiler version" >&5
1579 ac_compiler=`set X $ac_compile; echo $2`
1580 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1581   (eval $ac_compiler --version </dev/null >&5) 2>&5
1582   ac_status=$?
1583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1584   (exit $ac_status); }
1585 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1586   (eval $ac_compiler -v </dev/null >&5) 2>&5
1587   ac_status=$?
1588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1589   (exit $ac_status); }
1590 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1591   (eval $ac_compiler -V </dev/null >&5) 2>&5
1592   ac_status=$?
1593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1594   (exit $ac_status); }
1595
1596 cat >conftest.$ac_ext <<_ACEOF
1597 /* confdefs.h.  */
1598 _ACEOF
1599 cat confdefs.h >>conftest.$ac_ext
1600 cat >>conftest.$ac_ext <<_ACEOF
1601 /* end confdefs.h.  */
1602
1603 int
1604 main ()
1605 {
1606
1607   ;
1608   return 0;
1609 }
1610 _ACEOF
1611 ac_clean_files_save=$ac_clean_files
1612 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1613 # Try to create an executable without -o first, disregard a.out.
1614 # It will help us diagnose broken compilers, and finding out an intuition
1615 # of exeext.
1616 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1617 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1618 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1619 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1620   (eval $ac_link_default) 2>&5
1621   ac_status=$?
1622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1623   (exit $ac_status); }; then
1624   # Find the output, starting from the most likely.  This scheme is
1625 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1626 # resort.
1627
1628 # Be careful to initialize this variable, since it used to be cached.
1629 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1630 ac_cv_exeext=
1631 # b.out is created by i960 compilers.
1632 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1633 do
1634   test -f "$ac_file" || continue
1635   case $ac_file in
1636     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1637         ;;
1638     conftest.$ac_ext )
1639         # This is the source file.
1640         ;;
1641     [ab].out )
1642         # We found the default executable, but exeext='' is most
1643         # certainly right.
1644         break;;
1645     *.* )
1646         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1647         # FIXME: I believe we export ac_cv_exeext for Libtool,
1648         # but it would be cool to find out if it's true.  Does anybody
1649         # maintain Libtool? --akim.
1650         export ac_cv_exeext
1651         break;;
1652     * )
1653         break;;
1654   esac
1655 done
1656 else
1657   echo "$as_me: failed program was:" >&5
1658 sed 's/^/| /' conftest.$ac_ext >&5
1659
1660 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1661 See \`config.log' for more details." >&5
1662 echo "$as_me: error: C compiler cannot create executables
1663 See \`config.log' for more details." >&2;}
1664    { (exit 77); exit 77; }; }
1665 fi
1666
1667 ac_exeext=$ac_cv_exeext
1668 echo "$as_me:$LINENO: result: $ac_file" >&5
1669 echo "${ECHO_T}$ac_file" >&6
1670
1671 # Check the compiler produces executables we can run.  If not, either
1672 # the compiler is broken, or we cross compile.
1673 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1674 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1675 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1676 # If not cross compiling, check that we can run a simple program.
1677 if test "$cross_compiling" != yes; then
1678   if { ac_try='./$ac_file'
1679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1680   (eval $ac_try) 2>&5
1681   ac_status=$?
1682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1683   (exit $ac_status); }; }; then
1684     cross_compiling=no
1685   else
1686     if test "$cross_compiling" = maybe; then
1687         cross_compiling=yes
1688     else
1689         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1690 If you meant to cross compile, use \`--host'.
1691 See \`config.log' for more details." >&5
1692 echo "$as_me: error: cannot run C compiled programs.
1693 If you meant to cross compile, use \`--host'.
1694 See \`config.log' for more details." >&2;}
1695    { (exit 1); exit 1; }; }
1696     fi
1697   fi
1698 fi
1699 echo "$as_me:$LINENO: result: yes" >&5
1700 echo "${ECHO_T}yes" >&6
1701
1702 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1703 ac_clean_files=$ac_clean_files_save
1704 # Check the compiler produces executables we can run.  If not, either
1705 # the compiler is broken, or we cross compile.
1706 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1707 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1708 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1709 echo "${ECHO_T}$cross_compiling" >&6
1710
1711 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1712 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1714   (eval $ac_link) 2>&5
1715   ac_status=$?
1716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1717   (exit $ac_status); }; then
1718   # If both `conftest.exe' and `conftest' are `present' (well, observable)
1719 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1720 # work properly (i.e., refer to `conftest.exe'), while it won't with
1721 # `rm'.
1722 for ac_file in conftest.exe conftest conftest.*; do
1723   test -f "$ac_file" || continue
1724   case $ac_file in
1725     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1726     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1727           export ac_cv_exeext
1728           break;;
1729     * ) break;;
1730   esac
1731 done
1732 else
1733   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1734 See \`config.log' for more details." >&5
1735 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1736 See \`config.log' for more details." >&2;}
1737    { (exit 1); exit 1; }; }
1738 fi
1739
1740 rm -f conftest$ac_cv_exeext
1741 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1742 echo "${ECHO_T}$ac_cv_exeext" >&6
1743
1744 rm -f conftest.$ac_ext
1745 EXEEXT=$ac_cv_exeext
1746 ac_exeext=$EXEEXT
1747 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1748 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1749 if test "${ac_cv_objext+set}" = set; then
1750   echo $ECHO_N "(cached) $ECHO_C" >&6
1751 else
1752   cat >conftest.$ac_ext <<_ACEOF
1753 /* confdefs.h.  */
1754 _ACEOF
1755 cat confdefs.h >>conftest.$ac_ext
1756 cat >>conftest.$ac_ext <<_ACEOF
1757 /* end confdefs.h.  */
1758
1759 int
1760 main ()
1761 {
1762
1763   ;
1764   return 0;
1765 }
1766 _ACEOF
1767 rm -f conftest.o conftest.obj
1768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1769   (eval $ac_compile) 2>&5
1770   ac_status=$?
1771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1772   (exit $ac_status); }; then
1773   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1774   case $ac_file in
1775     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1776     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1777        break;;
1778   esac
1779 done
1780 else
1781   echo "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.$ac_ext >&5
1783
1784 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1785 See \`config.log' for more details." >&5
1786 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1787 See \`config.log' for more details." >&2;}
1788    { (exit 1); exit 1; }; }
1789 fi
1790
1791 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1792 fi
1793 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1794 echo "${ECHO_T}$ac_cv_objext" >&6
1795 OBJEXT=$ac_cv_objext
1796 ac_objext=$OBJEXT
1797 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1798 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1799 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1800   echo $ECHO_N "(cached) $ECHO_C" >&6
1801 else
1802   cat >conftest.$ac_ext <<_ACEOF
1803 /* confdefs.h.  */
1804 _ACEOF
1805 cat confdefs.h >>conftest.$ac_ext
1806 cat >>conftest.$ac_ext <<_ACEOF
1807 /* end confdefs.h.  */
1808
1809 int
1810 main ()
1811 {
1812 #ifndef __GNUC__
1813        choke me
1814 #endif
1815
1816   ;
1817   return 0;
1818 }
1819 _ACEOF
1820 rm -f conftest.$ac_objext
1821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1822   (eval $ac_compile) 2>conftest.er1
1823   ac_status=$?
1824   grep -v '^ *+' conftest.er1 >conftest.err
1825   rm -f conftest.er1
1826   cat conftest.err >&5
1827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1828   (exit $ac_status); } &&
1829          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
1830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1831   (eval $ac_try) 2>&5
1832   ac_status=$?
1833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1834   (exit $ac_status); }; } &&
1835          { ac_try='test -s conftest.$ac_objext'
1836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1837   (eval $ac_try) 2>&5
1838   ac_status=$?
1839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1840   (exit $ac_status); }; }; then
1841   ac_compiler_gnu=yes
1842 else
1843   echo "$as_me: failed program was:" >&5
1844 sed 's/^/| /' conftest.$ac_ext >&5
1845
1846 ac_compiler_gnu=no
1847 fi
1848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1849 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1850
1851 fi
1852 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1853 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1854 GCC=`test $ac_compiler_gnu = yes && echo yes`
1855 ac_test_CFLAGS=${CFLAGS+set}
1856 ac_save_CFLAGS=$CFLAGS
1857 CFLAGS="-g"
1858 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1859 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1860 if test "${ac_cv_prog_cc_g+set}" = set; then
1861   echo $ECHO_N "(cached) $ECHO_C" >&6
1862 else
1863   cat >conftest.$ac_ext <<_ACEOF
1864 /* confdefs.h.  */
1865 _ACEOF
1866 cat confdefs.h >>conftest.$ac_ext
1867 cat >>conftest.$ac_ext <<_ACEOF
1868 /* end confdefs.h.  */
1869
1870 int
1871 main ()
1872 {
1873
1874   ;
1875   return 0;
1876 }
1877 _ACEOF
1878 rm -f conftest.$ac_objext
1879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1880   (eval $ac_compile) 2>conftest.er1
1881   ac_status=$?
1882   grep -v '^ *+' conftest.er1 >conftest.err
1883   rm -f conftest.er1
1884   cat conftest.err >&5
1885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1886   (exit $ac_status); } &&
1887          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
1888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1889   (eval $ac_try) 2>&5
1890   ac_status=$?
1891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1892   (exit $ac_status); }; } &&
1893          { ac_try='test -s conftest.$ac_objext'
1894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1895   (eval $ac_try) 2>&5
1896   ac_status=$?
1897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1898   (exit $ac_status); }; }; then
1899   ac_cv_prog_cc_g=yes
1900 else
1901   echo "$as_me: failed program was:" >&5
1902 sed 's/^/| /' conftest.$ac_ext >&5
1903
1904 ac_cv_prog_cc_g=no
1905 fi
1906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1907 fi
1908 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1909 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1910 if test "$ac_test_CFLAGS" = set; then
1911   CFLAGS=$ac_save_CFLAGS
1912 elif test $ac_cv_prog_cc_g = yes; then
1913   if test "$GCC" = yes; then
1914     CFLAGS="-g -O2"
1915   else
1916     CFLAGS="-g"
1917   fi
1918 else
1919   if test "$GCC" = yes; then
1920     CFLAGS="-O2"
1921   else
1922     CFLAGS=
1923   fi
1924 fi
1925 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1926 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1927 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1928   echo $ECHO_N "(cached) $ECHO_C" >&6
1929 else
1930   ac_cv_prog_cc_stdc=no
1931 ac_save_CC=$CC
1932 cat >conftest.$ac_ext <<_ACEOF
1933 /* confdefs.h.  */
1934 _ACEOF
1935 cat confdefs.h >>conftest.$ac_ext
1936 cat >>conftest.$ac_ext <<_ACEOF
1937 /* end confdefs.h.  */
1938 #include <stdarg.h>
1939 #include <stdio.h>
1940 #include <sys/types.h>
1941 #include <sys/stat.h>
1942 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
1943 struct buf { int x; };
1944 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1945 static char *e (p, i)
1946      char **p;
1947      int i;
1948 {
1949   return p[i];
1950 }
1951 static char *f (char * (*g) (char **, int), char **p, ...)
1952 {
1953   char *s;
1954   va_list v;
1955   va_start (v,p);
1956   s = g (p, va_arg (v,int));
1957   va_end (v);
1958   return s;
1959 }
1960
1961 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
1962    function prototypes and stuff, but not '\xHH' hex character constants.
1963    These don't provoke an error unfortunately, instead are silently treated
1964    as 'x'.  The following induces an error, until -std1 is added to get
1965    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
1966    array size at least.  It's necessary to write '\x00'==0 to get something
1967    that's true only with -std1.  */
1968 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1969
1970 int test (int i, double x);
1971 struct s1 {int (*f) (int a);};
1972 struct s2 {int (*f) (double a);};
1973 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1974 int argc;
1975 char **argv;
1976 int
1977 main ()
1978 {
1979 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
1980   ;
1981   return 0;
1982 }
1983 _ACEOF
1984 # Don't try gcc -ansi; that turns off useful extensions and
1985 # breaks some systems' header files.
1986 # AIX                   -qlanglvl=ansi
1987 # Ultrix and OSF/1      -std1
1988 # HP-UX 10.20 and later -Ae
1989 # HP-UX older versions  -Aa -D_HPUX_SOURCE
1990 # SVR4                  -Xc -D__EXTENSIONS__
1991 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1992 do
1993   CC="$ac_save_CC $ac_arg"
1994   rm -f conftest.$ac_objext
1995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1996   (eval $ac_compile) 2>conftest.er1
1997   ac_status=$?
1998   grep -v '^ *+' conftest.er1 >conftest.err
1999   rm -f conftest.er1
2000   cat conftest.err >&5
2001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2002   (exit $ac_status); } &&
2003          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2005   (eval $ac_try) 2>&5
2006   ac_status=$?
2007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2008   (exit $ac_status); }; } &&
2009          { ac_try='test -s conftest.$ac_objext'
2010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2011   (eval $ac_try) 2>&5
2012   ac_status=$?
2013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2014   (exit $ac_status); }; }; then
2015   ac_cv_prog_cc_stdc=$ac_arg
2016 break
2017 else
2018   echo "$as_me: failed program was:" >&5
2019 sed 's/^/| /' conftest.$ac_ext >&5
2020
2021 fi
2022 rm -f conftest.err conftest.$ac_objext
2023 done
2024 rm -f conftest.$ac_ext conftest.$ac_objext
2025 CC=$ac_save_CC
2026
2027 fi
2028
2029 case "x$ac_cv_prog_cc_stdc" in
2030   x|xno)
2031     echo "$as_me:$LINENO: result: none needed" >&5
2032 echo "${ECHO_T}none needed" >&6 ;;
2033   *)
2034     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2035 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2036     CC="$CC $ac_cv_prog_cc_stdc" ;;
2037 esac
2038
2039 # Some people use a C++ compiler to compile C.  Since we use `exit',
2040 # in C++ we need to declare it.  In case someone uses the same compiler
2041 # for both compiling C and C++ we need to have the C++ compiler decide
2042 # the declaration of exit, since it's the most demanding environment.
2043 cat >conftest.$ac_ext <<_ACEOF
2044 #ifndef __cplusplus
2045   choke me
2046 #endif
2047 _ACEOF
2048 rm -f conftest.$ac_objext
2049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2050   (eval $ac_compile) 2>conftest.er1
2051   ac_status=$?
2052   grep -v '^ *+' conftest.er1 >conftest.err
2053   rm -f conftest.er1
2054   cat conftest.err >&5
2055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2056   (exit $ac_status); } &&
2057          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2059   (eval $ac_try) 2>&5
2060   ac_status=$?
2061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2062   (exit $ac_status); }; } &&
2063          { ac_try='test -s conftest.$ac_objext'
2064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2065   (eval $ac_try) 2>&5
2066   ac_status=$?
2067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2068   (exit $ac_status); }; }; then
2069   for ac_declaration in \
2070    '' \
2071    'extern "C" void std::exit (int) throw (); using std::exit;' \
2072    'extern "C" void std::exit (int); using std::exit;' \
2073    'extern "C" void exit (int) throw ();' \
2074    'extern "C" void exit (int);' \
2075    'void exit (int);'
2076 do
2077   cat >conftest.$ac_ext <<_ACEOF
2078 /* confdefs.h.  */
2079 _ACEOF
2080 cat confdefs.h >>conftest.$ac_ext
2081 cat >>conftest.$ac_ext <<_ACEOF
2082 /* end confdefs.h.  */
2083 $ac_declaration
2084 #include <stdlib.h>
2085 int
2086 main ()
2087 {
2088 exit (42);
2089   ;
2090   return 0;
2091 }
2092 _ACEOF
2093 rm -f conftest.$ac_objext
2094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2095   (eval $ac_compile) 2>conftest.er1
2096   ac_status=$?
2097   grep -v '^ *+' conftest.er1 >conftest.err
2098   rm -f conftest.er1
2099   cat conftest.err >&5
2100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2101   (exit $ac_status); } &&
2102          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2104   (eval $ac_try) 2>&5
2105   ac_status=$?
2106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2107   (exit $ac_status); }; } &&
2108          { ac_try='test -s conftest.$ac_objext'
2109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2110   (eval $ac_try) 2>&5
2111   ac_status=$?
2112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113   (exit $ac_status); }; }; then
2114   :
2115 else
2116   echo "$as_me: failed program was:" >&5
2117 sed 's/^/| /' conftest.$ac_ext >&5
2118
2119 continue
2120 fi
2121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2122   cat >conftest.$ac_ext <<_ACEOF
2123 /* confdefs.h.  */
2124 _ACEOF
2125 cat confdefs.h >>conftest.$ac_ext
2126 cat >>conftest.$ac_ext <<_ACEOF
2127 /* end confdefs.h.  */
2128 $ac_declaration
2129 int
2130 main ()
2131 {
2132 exit (42);
2133   ;
2134   return 0;
2135 }
2136 _ACEOF
2137 rm -f conftest.$ac_objext
2138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2139   (eval $ac_compile) 2>conftest.er1
2140   ac_status=$?
2141   grep -v '^ *+' conftest.er1 >conftest.err
2142   rm -f conftest.er1
2143   cat conftest.err >&5
2144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2145   (exit $ac_status); } &&
2146          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2148   (eval $ac_try) 2>&5
2149   ac_status=$?
2150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2151   (exit $ac_status); }; } &&
2152          { ac_try='test -s conftest.$ac_objext'
2153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2154   (eval $ac_try) 2>&5
2155   ac_status=$?
2156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2157   (exit $ac_status); }; }; then
2158   break
2159 else
2160   echo "$as_me: failed program was:" >&5
2161 sed 's/^/| /' conftest.$ac_ext >&5
2162
2163 fi
2164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2165 done
2166 rm -f conftest*
2167 if test -n "$ac_declaration"; then
2168   echo '#ifdef __cplusplus' >>confdefs.h
2169   echo $ac_declaration      >>confdefs.h
2170   echo '#endif'             >>confdefs.h
2171 fi
2172
2173 else
2174   echo "$as_me: failed program was:" >&5
2175 sed 's/^/| /' conftest.$ac_ext >&5
2176
2177 fi
2178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2179 ac_ext=c
2180 ac_cpp='$CPP $CPPFLAGS'
2181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2184
2185 ac_ext=c
2186 ac_cpp='$CPP $CPPFLAGS'
2187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2190 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2191 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2192 # On Suns, sometimes $CPP names a directory.
2193 if test -n "$CPP" && test -d "$CPP"; then
2194   CPP=
2195 fi
2196 if test -z "$CPP"; then
2197   if test "${ac_cv_prog_CPP+set}" = set; then
2198   echo $ECHO_N "(cached) $ECHO_C" >&6
2199 else
2200       # Double quotes because CPP needs to be expanded
2201     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2202     do
2203       ac_preproc_ok=false
2204 for ac_c_preproc_warn_flag in '' yes
2205 do
2206   # Use a header file that comes with gcc, so configuring glibc
2207   # with a fresh cross-compiler works.
2208   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2209   # <limits.h> exists even on freestanding compilers.
2210   # On the NeXT, cc -E runs the code through the compiler's parser,
2211   # not just through cpp. "Syntax error" is here to catch this case.
2212   cat >conftest.$ac_ext <<_ACEOF
2213 /* confdefs.h.  */
2214 _ACEOF
2215 cat confdefs.h >>conftest.$ac_ext
2216 cat >>conftest.$ac_ext <<_ACEOF
2217 /* end confdefs.h.  */
2218 #ifdef __STDC__
2219 # include <limits.h>
2220 #else
2221 # include <assert.h>
2222 #endif
2223                      Syntax error
2224 _ACEOF
2225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2226   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2227   ac_status=$?
2228   grep -v '^ *+' conftest.er1 >conftest.err
2229   rm -f conftest.er1
2230   cat conftest.err >&5
2231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2232   (exit $ac_status); } >/dev/null; then
2233   if test -s conftest.err; then
2234     ac_cpp_err=$ac_c_preproc_warn_flag
2235     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2236   else
2237     ac_cpp_err=
2238   fi
2239 else
2240   ac_cpp_err=yes
2241 fi
2242 if test -z "$ac_cpp_err"; then
2243   :
2244 else
2245   echo "$as_me: failed program was:" >&5
2246 sed 's/^/| /' conftest.$ac_ext >&5
2247
2248   # Broken: fails on valid input.
2249 continue
2250 fi
2251 rm -f conftest.err conftest.$ac_ext
2252
2253   # OK, works on sane cases.  Now check whether non-existent headers
2254   # can be detected and how.
2255   cat >conftest.$ac_ext <<_ACEOF
2256 /* confdefs.h.  */
2257 _ACEOF
2258 cat confdefs.h >>conftest.$ac_ext
2259 cat >>conftest.$ac_ext <<_ACEOF
2260 /* end confdefs.h.  */
2261 #include <ac_nonexistent.h>
2262 _ACEOF
2263 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2264   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2265   ac_status=$?
2266   grep -v '^ *+' conftest.er1 >conftest.err
2267   rm -f conftest.er1
2268   cat conftest.err >&5
2269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270   (exit $ac_status); } >/dev/null; then
2271   if test -s conftest.err; then
2272     ac_cpp_err=$ac_c_preproc_warn_flag
2273     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2274   else
2275     ac_cpp_err=
2276   fi
2277 else
2278   ac_cpp_err=yes
2279 fi
2280 if test -z "$ac_cpp_err"; then
2281   # Broken: success on invalid input.
2282 continue
2283 else
2284   echo "$as_me: failed program was:" >&5
2285 sed 's/^/| /' conftest.$ac_ext >&5
2286
2287   # Passes both tests.
2288 ac_preproc_ok=:
2289 break
2290 fi
2291 rm -f conftest.err conftest.$ac_ext
2292
2293 done
2294 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2295 rm -f conftest.err conftest.$ac_ext
2296 if $ac_preproc_ok; then
2297   break
2298 fi
2299
2300     done
2301     ac_cv_prog_CPP=$CPP
2302
2303 fi
2304   CPP=$ac_cv_prog_CPP
2305 else
2306   ac_cv_prog_CPP=$CPP
2307 fi
2308 echo "$as_me:$LINENO: result: $CPP" >&5
2309 echo "${ECHO_T}$CPP" >&6
2310 ac_preproc_ok=false
2311 for ac_c_preproc_warn_flag in '' yes
2312 do
2313   # Use a header file that comes with gcc, so configuring glibc
2314   # with a fresh cross-compiler works.
2315   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2316   # <limits.h> exists even on freestanding compilers.
2317   # On the NeXT, cc -E runs the code through the compiler's parser,
2318   # not just through cpp. "Syntax error" is here to catch this case.
2319   cat >conftest.$ac_ext <<_ACEOF
2320 /* confdefs.h.  */
2321 _ACEOF
2322 cat confdefs.h >>conftest.$ac_ext
2323 cat >>conftest.$ac_ext <<_ACEOF
2324 /* end confdefs.h.  */
2325 #ifdef __STDC__
2326 # include <limits.h>
2327 #else
2328 # include <assert.h>
2329 #endif
2330                      Syntax error
2331 _ACEOF
2332 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2333   (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
2340   if test -s conftest.err; then
2341     ac_cpp_err=$ac_c_preproc_warn_flag
2342     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2343   else
2344     ac_cpp_err=
2345   fi
2346 else
2347   ac_cpp_err=yes
2348 fi
2349 if test -z "$ac_cpp_err"; then
2350   :
2351 else
2352   echo "$as_me: failed program was:" >&5
2353 sed 's/^/| /' conftest.$ac_ext >&5
2354
2355   # Broken: fails on valid input.
2356 continue
2357 fi
2358 rm -f conftest.err conftest.$ac_ext
2359
2360   # OK, works on sane cases.  Now check whether non-existent headers
2361   # can be detected and how.
2362   cat >conftest.$ac_ext <<_ACEOF
2363 /* confdefs.h.  */
2364 _ACEOF
2365 cat confdefs.h >>conftest.$ac_ext
2366 cat >>conftest.$ac_ext <<_ACEOF
2367 /* end confdefs.h.  */
2368 #include <ac_nonexistent.h>
2369 _ACEOF
2370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2371   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2372   ac_status=$?
2373   grep -v '^ *+' conftest.er1 >conftest.err
2374   rm -f conftest.er1
2375   cat conftest.err >&5
2376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2377   (exit $ac_status); } >/dev/null; then
2378   if test -s conftest.err; then
2379     ac_cpp_err=$ac_c_preproc_warn_flag
2380     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2381   else
2382     ac_cpp_err=
2383   fi
2384 else
2385   ac_cpp_err=yes
2386 fi
2387 if test -z "$ac_cpp_err"; then
2388   # Broken: success on invalid input.
2389 continue
2390 else
2391   echo "$as_me: failed program was:" >&5
2392 sed 's/^/| /' conftest.$ac_ext >&5
2393
2394   # Passes both tests.
2395 ac_preproc_ok=:
2396 break
2397 fi
2398 rm -f conftest.err conftest.$ac_ext
2399
2400 done
2401 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2402 rm -f conftest.err conftest.$ac_ext
2403 if $ac_preproc_ok; then
2404   :
2405 else
2406   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2407 See \`config.log' for more details." >&5
2408 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2409 See \`config.log' for more details." >&2;}
2410    { (exit 1); exit 1; }; }
2411 fi
2412
2413 ac_ext=c
2414 ac_cpp='$CPP $CPPFLAGS'
2415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2418
2419
2420
2421 # Check whether --with-ibmdb2-include-dir or --without-ibmdb2-include-dir was given.
2422 if test "${with_ibmdb2_include_dir+set}" = set; then
2423   withval="$with_ibmdb2_include_dir"
2424    ibmdb2_include_dir="$withval"
2425
2426 fi;
2427
2428
2429 # Check whether --with-ibmdb2-lib-dir or --without-ibmdb2-lib-dir was given.
2430 if test "${with_ibmdb2_lib_dir+set}" = set; then
2431   withval="$with_ibmdb2_lib_dir"
2432    ibmdb2_lib_dir="$withval"
2433
2434 fi;
2435
2436
2437 # Check whether --with-ibmdb2-dir or --without-ibmdb2-dir was given.
2438 if test "${with_ibmdb2_dir+set}" = set; then
2439   withval="$with_ibmdb2_dir"
2440    ibmdb2_lib_dir="$withval/lib"
2441   ibmdb2_include_dir="$withval/include"
2442
2443
2444 fi;
2445
2446 if test x$with_rlm_sql_db2 != xno; then
2447
2448         targetname=rlm_sql_db2   # we might change this later.
2449
2450         echo "$as_me:$LINENO: checking for sqlcli.h" >&5
2451 echo $ECHO_N "checking for sqlcli.h... $ECHO_C" >&6
2452
2453
2454 cat >conftest.$ac_ext <<_ACEOF
2455 /* confdefs.h.  */
2456 _ACEOF
2457 cat confdefs.h >>conftest.$ac_ext
2458 cat >>conftest.$ac_ext <<_ACEOF
2459 /* end confdefs.h.  */
2460 #include <sqlcli.h>
2461 int
2462 main ()
2463 {
2464 int a = 1;
2465   ;
2466   return 0;
2467 }
2468 _ACEOF
2469 rm -f conftest.$ac_objext
2470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2471   (eval $ac_compile) 2>conftest.er1
2472   ac_status=$?
2473   grep -v '^ *+' conftest.er1 >conftest.err
2474   rm -f conftest.er1
2475   cat conftest.err >&5
2476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2477   (exit $ac_status); } &&
2478          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2480   (eval $ac_try) 2>&5
2481   ac_status=$?
2482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2483   (exit $ac_status); }; } &&
2484          { ac_try='test -s conftest.$ac_objext'
2485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2486   (eval $ac_try) 2>&5
2487   ac_status=$?
2488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489   (exit $ac_status); }; }; then
2490   IBMDB2_INCLUDE=" "
2491 else
2492   echo "$as_me: failed program was:" >&5
2493 sed 's/^/| /' conftest.$ac_ext >&5
2494
2495 IBMDB2_INCLUDE=
2496
2497 fi
2498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2499
2500         if test "x$IBMDB2_INCLUDE" = "x"; then
2501                 old_CFLAGS="$CFLAGS"
2502
2503                 for try in /usr/IBMdb2/V7.1/include $ibmdb2_include_dir; do
2504                         CFLAGS="$old_CFLAGS -I$try"
2505                         cat >conftest.$ac_ext <<_ACEOF
2506 /* confdefs.h.  */
2507 _ACEOF
2508 cat confdefs.h >>conftest.$ac_ext
2509 cat >>conftest.$ac_ext <<_ACEOF
2510 /* end confdefs.h.  */
2511 #include <sqlcli.h>
2512 int
2513 main ()
2514 {
2515 int a = 1;
2516   ;
2517   return 0;
2518 }
2519 _ACEOF
2520 rm -f conftest.$ac_objext
2521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2522   (eval $ac_compile) 2>conftest.er1
2523   ac_status=$?
2524   grep -v '^ *+' conftest.er1 >conftest.err
2525   rm -f conftest.er1
2526   cat conftest.err >&5
2527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528   (exit $ac_status); } &&
2529          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2531   (eval $ac_try) 2>&5
2532   ac_status=$?
2533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534   (exit $ac_status); }; } &&
2535          { ac_try='test -s conftest.$ac_objext'
2536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2537   (eval $ac_try) 2>&5
2538   ac_status=$?
2539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540   (exit $ac_status); }; }; then
2541   IBMDB2_INCLUDE="-I$try"
2542 else
2543   echo "$as_me: failed program was:" >&5
2544 sed 's/^/| /' conftest.$ac_ext >&5
2545
2546 IBMDB2_INCLUDE=
2547
2548 fi
2549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2550                         if test "x$IBMDB2_INCLUDE" != "x"; then
2551                                 break;
2552                         fi
2553                 done
2554                 CFLAGS="$old_CFLAGS"
2555         fi
2556
2557         if test "x$IBMDB2_INCLUDE" = "x"; then
2558                 echo "$as_me:$LINENO: result: no" >&5
2559 echo "${ECHO_T}no" >&6
2560                 { echo "$as_me:$LINENO: WARNING: ibm db2 headers not found.  Use --with-ibmdb2-include-dir=<path>." >&5
2561 echo "$as_me: WARNING: ibm db2 headers not found.  Use --with-ibmdb2-include-dir=<path>." >&2;}
2562                 targetname=   # disabled module
2563         else
2564                 sql_ibmdb2_cflags="${sql_ibmdb2_cflags} ${IBMDB2_INCLUDE}"
2565                 echo "$as_me:$LINENO: result: yes" >&5
2566 echo "${ECHO_T}yes" >&6
2567
2568                 echo "$as_me:$LINENO: checking for SQLConnect in -ldb2" >&5
2569 echo $ECHO_N "checking for SQLConnect in -ldb2... $ECHO_C" >&6
2570
2571                 old_LIBS="$LIBS"
2572
2573                 for try in /usr/IBMdb2/V7.1/lib $ibmdb2_lib_dir; do
2574                         LIBS="$old_LIBS -L$try -ldb2"
2575                         cat >conftest.$ac_ext <<_ACEOF
2576 /* confdefs.h.  */
2577 _ACEOF
2578 cat confdefs.h >>conftest.$ac_ext
2579 cat >>conftest.$ac_ext <<_ACEOF
2580 /* end confdefs.h.  */
2581 extern char SQLConnect();
2582 int
2583 main ()
2584 {
2585 SQLConnect()
2586   ;
2587   return 0;
2588 }
2589 _ACEOF
2590 rm -f conftest.$ac_objext conftest$ac_exeext
2591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2592   (eval $ac_link) 2>conftest.er1
2593   ac_status=$?
2594   grep -v '^ *+' conftest.er1 >conftest.err
2595   rm -f conftest.er1
2596   cat conftest.err >&5
2597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598   (exit $ac_status); } &&
2599          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2601   (eval $ac_try) 2>&5
2602   ac_status=$?
2603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604   (exit $ac_status); }; } &&
2605          { ac_try='test -s conftest$ac_exeext'
2606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2607   (eval $ac_try) 2>&5
2608   ac_status=$?
2609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610   (exit $ac_status); }; }; then
2611   IBMDB2_LIBS="-L$try -ldb2"
2612 else
2613   echo "$as_me: failed program was:" >&5
2614 sed 's/^/| /' conftest.$ac_ext >&5
2615
2616 IBMDB2_LIBS=
2617
2618 fi
2619 rm -f conftest.err conftest.$ac_objext \
2620       conftest$ac_exeext conftest.$ac_ext
2621                         if test "x$IBMDB2_LIBS" != "x"; then
2622                                 break;
2623                         fi
2624                 done
2625                 LIBS="$old_LIBS"
2626
2627                                                 if test "x$IBMDB2_LIBS" = "x"; then
2628                         echo "$as_me:$LINENO: result: no" >&5
2629 echo "${ECHO_T}no" >&6
2630                         IBMDB2_INCLUDE=
2631                         { echo "$as_me:$LINENO: WARNING: ibmdb2 libraries not found.  Use --with-ibmdb2-lib-dir=<path>." >&5
2632 echo "$as_me: WARNING: ibmdb2 libraries not found.  Use --with-ibmdb2-lib-dir=<path>." >&2;}
2633                         targetname=   # disabled module
2634                 else
2635                         echo "$as_me:$LINENO: result: yes" >&5
2636 echo "${ECHO_T}yes" >&6
2637                         sql_ibmdb2_ldflags="$sql_ibmdb2_ldflags $IBMDB2_LIBS"
2638                 fi
2639         fi
2640
2641         sql_ibmdb2_ldflags="$sql_ibmdb2_ldflags $LIBS"
2642
2643         if test "x$targetname" = "x"; then
2644                 { echo "$as_me:$LINENO: WARNING: sql submodule 'db2' disabled" >&5
2645 echo "$as_me: WARNING: sql submodule 'db2' disabled" >&2;}
2646         fi
2647
2648 else
2649         targetname=
2650         echo \*\*\* module rlm_sql_db2 is disabled.
2651 fi
2652
2653
2654
2655
2656           ac_config_files="$ac_config_files Makefile"
2657 cat >confcache <<\_ACEOF
2658 # This file is a shell script that caches the results of configure
2659 # tests run on this system so they can be shared between configure
2660 # scripts and configure runs, see configure's option --config-cache.
2661 # It is not useful on other systems.  If it contains results you don't
2662 # want to keep, you may remove or edit it.
2663 #
2664 # config.status only pays attention to the cache file if you give it
2665 # the --recheck option to rerun configure.
2666 #
2667 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2668 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2669 # following values.
2670
2671 _ACEOF
2672
2673 # The following way of writing the cache mishandles newlines in values,
2674 # but we know of no workaround that is simple, portable, and efficient.
2675 # So, don't put newlines in cache variables' values.
2676 # Ultrix sh set writes to stderr and can't be redirected directly,
2677 # and sets the high bit in the cache file unless we assign to the vars.
2678 {
2679   (set) 2>&1 |
2680     case `(ac_space=' '; set | grep ac_space) 2>&1` in
2681     *ac_space=\ *)
2682       # `set' does not quote correctly, so add quotes (double-quote
2683       # substitution turns \\\\ into \\, and sed turns \\ into \).
2684       sed -n \
2685         "s/'/'\\\\''/g;
2686           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2687       ;;
2688     *)
2689       # `set' quotes correctly as required by POSIX, so do not add quotes.
2690       sed -n \
2691         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2692       ;;
2693     esac;
2694 } |
2695   sed '
2696      t clear
2697      : clear
2698      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2699      t end
2700      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2701      : end' >>confcache
2702 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2703   if test -w $cache_file; then
2704     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2705     cat confcache >$cache_file
2706   else
2707     echo "not updating unwritable cache $cache_file"
2708   fi
2709 fi
2710 rm -f confcache
2711
2712 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2713 # Let make expand exec_prefix.
2714 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2715
2716 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2717 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2718 # trailing colons and then remove the whole line if VPATH becomes empty
2719 # (actually we leave an empty line to preserve line numbers).
2720 if test "x$srcdir" = x.; then
2721   ac_vpsub='/^[  ]*VPATH[        ]*=/{
2722 s/:*\$(srcdir):*/:/;
2723 s/:*\${srcdir}:*/:/;
2724 s/:*@srcdir@:*/:/;
2725 s/^\([^=]*=[     ]*\):*/\1/;
2726 s/:*$//;
2727 s/^[^=]*=[       ]*$//;
2728 }'
2729 fi
2730
2731 # Transform confdefs.h into DEFS.
2732 # Protect against shell expansion while executing Makefile rules.
2733 # Protect against Makefile macro expansion.
2734 #
2735 # If the first sed substitution is executed (which looks for macros that
2736 # take arguments), then we branch to the quote section.  Otherwise,
2737 # look for a macro that doesn't take arguments.
2738 cat >confdef2opt.sed <<\_ACEOF
2739 t clear
2740 : clear
2741 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
2742 t quote
2743 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
2744 t quote
2745 d
2746 : quote
2747 s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
2748 s,\[,\\&,g
2749 s,\],\\&,g
2750 s,\$,$$,g
2751 p
2752 _ACEOF
2753 # We use echo to avoid assuming a particular line-breaking character.
2754 # The extra dot is to prevent the shell from consuming trailing
2755 # line-breaks from the sub-command output.  A line-break within
2756 # single-quotes doesn't work because, if this script is created in a
2757 # platform that uses two characters for line-breaks (e.g., DOS), tr
2758 # would break.
2759 ac_LF_and_DOT=`echo; echo .`
2760 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2761 rm -f confdef2opt.sed
2762
2763
2764 ac_libobjs=
2765 ac_ltlibobjs=
2766 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2767   # 1. Remove the extension, and $U if already installed.
2768   ac_i=`echo "$ac_i" |
2769          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2770   # 2. Add them.
2771   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2772   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2773 done
2774 LIBOBJS=$ac_libobjs
2775
2776 LTLIBOBJS=$ac_ltlibobjs
2777
2778
2779
2780 : ${CONFIG_STATUS=./config.status}
2781 ac_clean_files_save=$ac_clean_files
2782 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2783 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2784 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2785 cat >$CONFIG_STATUS <<_ACEOF
2786 #! $SHELL
2787 # Generated by $as_me.
2788 # Run this file to recreate the current configuration.
2789 # Compiler output produced by configure, useful for debugging
2790 # configure, is in config.log if it exists.
2791
2792 debug=false
2793 ac_cs_recheck=false
2794 ac_cs_silent=false
2795 SHELL=\${CONFIG_SHELL-$SHELL}
2796 _ACEOF
2797
2798 cat >>$CONFIG_STATUS <<\_ACEOF
2799 ## --------------------- ##
2800 ## M4sh Initialization.  ##
2801 ## --------------------- ##
2802
2803 # Be Bourne compatible
2804 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2805   emulate sh
2806   NULLCMD=:
2807   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2808   # is contrary to our usage.  Disable this feature.
2809   alias -g '${1+"$@"}'='"$@"'
2810 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2811   set -o posix
2812 fi
2813 DUALCASE=1; export DUALCASE # for MKS sh
2814
2815 # Support unset when possible.
2816 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2817   as_unset=unset
2818 else
2819   as_unset=false
2820 fi
2821
2822
2823 # Work around bugs in pre-3.0 UWIN ksh.
2824 $as_unset ENV MAIL MAILPATH
2825 PS1='$ '
2826 PS2='> '
2827 PS4='+ '
2828
2829 # NLS nuisances.
2830 for as_var in \
2831   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2832   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2833   LC_TELEPHONE LC_TIME
2834 do
2835   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2836     eval $as_var=C; export $as_var
2837   else
2838     $as_unset $as_var
2839   fi
2840 done
2841
2842 # Required to use basename.
2843 if expr a : '\(a\)' >/dev/null 2>&1; then
2844   as_expr=expr
2845 else
2846   as_expr=false
2847 fi
2848
2849 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2850   as_basename=basename
2851 else
2852   as_basename=false
2853 fi
2854
2855
2856 # Name of the executable.
2857 as_me=`$as_basename "$0" ||
2858 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2859          X"$0" : 'X\(//\)$' \| \
2860          X"$0" : 'X\(/\)$' \| \
2861          .     : '\(.\)' 2>/dev/null ||
2862 echo X/"$0" |
2863     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2864           /^X\/\(\/\/\)$/{ s//\1/; q; }
2865           /^X\/\(\/\).*/{ s//\1/; q; }
2866           s/.*/./; q'`
2867
2868
2869 # PATH needs CR, and LINENO needs CR and PATH.
2870 # Avoid depending upon Character Ranges.
2871 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2872 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2873 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2874 as_cr_digits='0123456789'
2875 as_cr_alnum=$as_cr_Letters$as_cr_digits
2876
2877 # The user is always right.
2878 if test "${PATH_SEPARATOR+set}" != set; then
2879   echo "#! /bin/sh" >conf$$.sh
2880   echo  "exit 0"   >>conf$$.sh
2881   chmod +x conf$$.sh
2882   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2883     PATH_SEPARATOR=';'
2884   else
2885     PATH_SEPARATOR=:
2886   fi
2887   rm -f conf$$.sh
2888 fi
2889
2890
2891   as_lineno_1=$LINENO
2892   as_lineno_2=$LINENO
2893   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2894   test "x$as_lineno_1" != "x$as_lineno_2" &&
2895   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
2896   # Find who we are.  Look in the path if we contain no path at all
2897   # relative or not.
2898   case $0 in
2899     *[\\/]* ) as_myself=$0 ;;
2900     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2901 for as_dir in $PATH
2902 do
2903   IFS=$as_save_IFS
2904   test -z "$as_dir" && as_dir=.
2905   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2906 done
2907
2908        ;;
2909   esac
2910   # We did not find ourselves, most probably we were run as `sh COMMAND'
2911   # in which case we are not to be found in the path.
2912   if test "x$as_myself" = x; then
2913     as_myself=$0
2914   fi
2915   if test ! -f "$as_myself"; then
2916     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2917 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2918    { (exit 1); exit 1; }; }
2919   fi
2920   case $CONFIG_SHELL in
2921   '')
2922     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2923 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2924 do
2925   IFS=$as_save_IFS
2926   test -z "$as_dir" && as_dir=.
2927   for as_base in sh bash ksh sh5; do
2928          case $as_dir in
2929          /*)
2930            if ("$as_dir/$as_base" -c '
2931   as_lineno_1=$LINENO
2932   as_lineno_2=$LINENO
2933   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2934   test "x$as_lineno_1" != "x$as_lineno_2" &&
2935   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
2936              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2937              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2938              CONFIG_SHELL=$as_dir/$as_base
2939              export CONFIG_SHELL
2940              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2941            fi;;
2942          esac
2943        done
2944 done
2945 ;;
2946   esac
2947
2948   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2949   # uniformly replaced by the line number.  The first 'sed' inserts a
2950   # line-number line before each line; the second 'sed' does the real
2951   # work.  The second script uses 'N' to pair each line-number line
2952   # with the numbered line, and appends trailing '-' during
2953   # substitution so that $LINENO is not a special case at line end.
2954   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2955   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
2956   sed '=' <$as_myself |
2957     sed '
2958       N
2959       s,$,-,
2960       : loop
2961       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2962       t loop
2963       s,-$,,
2964       s,^['$as_cr_digits']*\n,,
2965     ' >$as_me.lineno &&
2966   chmod +x $as_me.lineno ||
2967     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2968 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2969    { (exit 1); exit 1; }; }
2970
2971   # Don't try to exec as it changes $[0], causing all sort of problems
2972   # (the dirname of $[0] is not the place where we might find the
2973   # original and so on.  Autoconf is especially sensible to this).
2974   . ./$as_me.lineno
2975   # Exit status is that of the last command.
2976   exit
2977 }
2978
2979
2980 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2981   *c*,-n*) ECHO_N= ECHO_C='
2982 ' ECHO_T='      ' ;;
2983   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2984   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
2985 esac
2986
2987 if expr a : '\(a\)' >/dev/null 2>&1; then
2988   as_expr=expr
2989 else
2990   as_expr=false
2991 fi
2992
2993 rm -f conf$$ conf$$.exe conf$$.file
2994 echo >conf$$.file
2995 if ln -s conf$$.file conf$$ 2>/dev/null; then
2996   # We could just check for DJGPP; but this test a) works b) is more generic
2997   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2998   if test -f conf$$.exe; then
2999     # Don't use ln at all; we don't have any links
3000     as_ln_s='cp -p'
3001   else
3002     as_ln_s='ln -s'
3003   fi
3004 elif ln conf$$.file conf$$ 2>/dev/null; then
3005   as_ln_s=ln
3006 else
3007   as_ln_s='cp -p'
3008 fi
3009 rm -f conf$$ conf$$.exe conf$$.file
3010
3011 if mkdir -p . 2>/dev/null; then
3012   as_mkdir_p=:
3013 else
3014   test -d ./-p && rmdir ./-p
3015   as_mkdir_p=false
3016 fi
3017
3018 as_executable_p="test -f"
3019
3020 # Sed expression to map a string onto a valid CPP name.
3021 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3022
3023 # Sed expression to map a string onto a valid variable name.
3024 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3025
3026
3027 # IFS
3028 # We need space, tab and new line, in precisely that order.
3029 as_nl='
3030 '
3031 IFS="   $as_nl"
3032
3033 # CDPATH.
3034 $as_unset CDPATH
3035
3036 exec 6>&1
3037
3038 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3039 # report actual input values of CONFIG_FILES etc. instead of their
3040 # values after options handling.  Logging --version etc. is OK.
3041 exec 5>>config.log
3042 {
3043   echo
3044   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3045 ## Running $as_me. ##
3046 _ASBOX
3047 } >&5
3048 cat >&5 <<_CSEOF
3049
3050 This file was extended by $as_me, which was
3051 generated by GNU Autoconf 2.59.  Invocation command line was
3052
3053   CONFIG_FILES    = $CONFIG_FILES
3054   CONFIG_HEADERS  = $CONFIG_HEADERS
3055   CONFIG_LINKS    = $CONFIG_LINKS
3056   CONFIG_COMMANDS = $CONFIG_COMMANDS
3057   $ $0 $@
3058
3059 _CSEOF
3060 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3061 echo >&5
3062 _ACEOF
3063
3064 # Files that config.status was made for.
3065 if test -n "$ac_config_files"; then
3066   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3067 fi
3068
3069 if test -n "$ac_config_headers"; then
3070   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3071 fi
3072
3073 if test -n "$ac_config_links"; then
3074   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3075 fi
3076
3077 if test -n "$ac_config_commands"; then
3078   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3079 fi
3080
3081 cat >>$CONFIG_STATUS <<\_ACEOF
3082
3083 ac_cs_usage="\
3084 \`$as_me' instantiates files from templates according to the
3085 current configuration.
3086
3087 Usage: $0 [OPTIONS] [FILE]...
3088
3089   -h, --help       print this help, then exit
3090   -V, --version    print version number, then exit
3091   -q, --quiet      do not print progress messages
3092   -d, --debug      don't remove temporary files
3093       --recheck    update $as_me by reconfiguring in the same conditions
3094   --file=FILE[:TEMPLATE]
3095                    instantiate the configuration file FILE
3096
3097 Configuration files:
3098 $config_files
3099
3100 Report bugs to <bug-autoconf@gnu.org>."
3101 _ACEOF
3102
3103 cat >>$CONFIG_STATUS <<_ACEOF
3104 ac_cs_version="\\
3105 config.status
3106 configured by $0, generated by GNU Autoconf 2.59,
3107   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3108
3109 Copyright (C) 2003 Free Software Foundation, Inc.
3110 This config.status script is free software; the Free Software Foundation
3111 gives unlimited permission to copy, distribute and modify it."
3112 srcdir=$srcdir
3113 _ACEOF
3114
3115 cat >>$CONFIG_STATUS <<\_ACEOF
3116 # If no file are specified by the user, then we need to provide default
3117 # value.  By we need to know if files were specified by the user.
3118 ac_need_defaults=:
3119 while test $# != 0
3120 do
3121   case $1 in
3122   --*=*)
3123     ac_option=`expr "x$1" : 'x\([^=]*\)='`
3124     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3125     ac_shift=:
3126     ;;
3127   -*)
3128     ac_option=$1
3129     ac_optarg=$2
3130     ac_shift=shift
3131     ;;
3132   *) # This is not an option, so the user has probably given explicit
3133      # arguments.
3134      ac_option=$1
3135      ac_need_defaults=false;;
3136   esac
3137
3138   case $ac_option in
3139   # Handling of the options.
3140 _ACEOF
3141 cat >>$CONFIG_STATUS <<\_ACEOF
3142   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3143     ac_cs_recheck=: ;;
3144   --version | --vers* | -V )
3145     echo "$ac_cs_version"; exit 0 ;;
3146   --he | --h)
3147     # Conflict between --help and --header
3148     { { echo "$as_me:$LINENO: error: ambiguous option: $1
3149 Try \`$0 --help' for more information." >&5
3150 echo "$as_me: error: ambiguous option: $1
3151 Try \`$0 --help' for more information." >&2;}
3152    { (exit 1); exit 1; }; };;
3153   --help | --hel | -h )
3154     echo "$ac_cs_usage"; exit 0 ;;
3155   --debug | --d* | -d )
3156     debug=: ;;
3157   --file | --fil | --fi | --f )
3158     $ac_shift
3159     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3160     ac_need_defaults=false;;
3161   --header | --heade | --head | --hea )
3162     $ac_shift
3163     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3164     ac_need_defaults=false;;
3165   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3166   | -silent | --silent | --silen | --sile | --sil | --si | --s)
3167     ac_cs_silent=: ;;
3168
3169   # This is an error.
3170   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3171 Try \`$0 --help' for more information." >&5
3172 echo "$as_me: error: unrecognized option: $1
3173 Try \`$0 --help' for more information." >&2;}
3174    { (exit 1); exit 1; }; } ;;
3175
3176   *) ac_config_targets="$ac_config_targets $1" ;;
3177
3178   esac
3179   shift
3180 done
3181
3182 ac_configure_extra_args=
3183
3184 if $ac_cs_silent; then
3185   exec 6>/dev/null
3186   ac_configure_extra_args="$ac_configure_extra_args --silent"
3187 fi
3188
3189 _ACEOF
3190 cat >>$CONFIG_STATUS <<_ACEOF
3191 if \$ac_cs_recheck; then
3192   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3193   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3194 fi
3195
3196 _ACEOF
3197
3198
3199
3200
3201
3202 cat >>$CONFIG_STATUS <<\_ACEOF
3203 for ac_config_target in $ac_config_targets
3204 do
3205   case "$ac_config_target" in
3206   # Handling of arguments.
3207   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3208   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3209 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3210    { (exit 1); exit 1; }; };;
3211   esac
3212 done
3213
3214 # If the user did not use the arguments to specify the items to instantiate,
3215 # then the envvar interface is used.  Set only those that are not.
3216 # We use the long form for the default assignment because of an extremely
3217 # bizarre bug on SunOS 4.1.3.
3218 if $ac_need_defaults; then
3219   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3220 fi
3221
3222 # Have a temporary directory for convenience.  Make it in the build tree
3223 # simply because there is no reason to put it here, and in addition,
3224 # creating and moving files from /tmp can sometimes cause problems.
3225 # Create a temporary directory, and hook for its removal unless debugging.
3226 $debug ||
3227 {
3228   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3229   trap '{ (exit 1); exit 1; }' 1 2 13 15
3230 }
3231
3232 # Create a (secure) tmp directory for tmp files.
3233
3234 {
3235   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3236   test -n "$tmp" && test -d "$tmp"
3237 }  ||
3238 {
3239   tmp=./confstat$$-$RANDOM
3240   (umask 077 && mkdir $tmp)
3241 } ||
3242 {
3243    echo "$me: cannot create a temporary directory in ." >&2
3244    { (exit 1); exit 1; }
3245 }
3246
3247 _ACEOF
3248
3249 cat >>$CONFIG_STATUS <<_ACEOF
3250
3251 #
3252 # CONFIG_FILES section.
3253 #
3254
3255 # No need to generate the scripts if there are no CONFIG_FILES.
3256 # This happens for instance when ./config.status config.h
3257 if test -n "\$CONFIG_FILES"; then
3258   # Protect against being on the right side of a sed subst in config.status.
3259   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3260    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3261 s,@SHELL@,$SHELL,;t t
3262 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3263 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3264 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3265 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3266 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3267 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3268 s,@exec_prefix@,$exec_prefix,;t t
3269 s,@prefix@,$prefix,;t t
3270 s,@program_transform_name@,$program_transform_name,;t t
3271 s,@bindir@,$bindir,;t t
3272 s,@sbindir@,$sbindir,;t t
3273 s,@libexecdir@,$libexecdir,;t t
3274 s,@datadir@,$datadir,;t t
3275 s,@sysconfdir@,$sysconfdir,;t t
3276 s,@sharedstatedir@,$sharedstatedir,;t t
3277 s,@localstatedir@,$localstatedir,;t t
3278 s,@libdir@,$libdir,;t t
3279 s,@includedir@,$includedir,;t t
3280 s,@oldincludedir@,$oldincludedir,;t t
3281 s,@infodir@,$infodir,;t t
3282 s,@mandir@,$mandir,;t t
3283 s,@build_alias@,$build_alias,;t t
3284 s,@host_alias@,$host_alias,;t t
3285 s,@target_alias@,$target_alias,;t t
3286 s,@DEFS@,$DEFS,;t t
3287 s,@ECHO_C@,$ECHO_C,;t t
3288 s,@ECHO_N@,$ECHO_N,;t t
3289 s,@ECHO_T@,$ECHO_T,;t t
3290 s,@LIBS@,$LIBS,;t t
3291 s,@CC@,$CC,;t t
3292 s,@CFLAGS@,$CFLAGS,;t t
3293 s,@LDFLAGS@,$LDFLAGS,;t t
3294 s,@CPPFLAGS@,$CPPFLAGS,;t t
3295 s,@ac_ct_CC@,$ac_ct_CC,;t t
3296 s,@EXEEXT@,$EXEEXT,;t t
3297 s,@OBJEXT@,$OBJEXT,;t t
3298 s,@CPP@,$CPP,;t t
3299 s,@sql_ibmdb2_ldflags@,$sql_ibmdb2_ldflags,;t t
3300 s,@sql_ibmdb2_cflags@,$sql_ibmdb2_cflags,;t t
3301 s,@targetname@,$targetname,;t t
3302 s,@LIBOBJS@,$LIBOBJS,;t t
3303 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3304 CEOF
3305
3306 _ACEOF
3307
3308   cat >>$CONFIG_STATUS <<\_ACEOF
3309   # Split the substitutions into bite-sized pieces for seds with
3310   # small command number limits, like on Digital OSF/1 and HP-UX.
3311   ac_max_sed_lines=48
3312   ac_sed_frag=1 # Number of current file.
3313   ac_beg=1 # First line for current file.
3314   ac_end=$ac_max_sed_lines # Line after last line for current file.
3315   ac_more_lines=:
3316   ac_sed_cmds=
3317   while $ac_more_lines; do
3318     if test $ac_beg -gt 1; then
3319       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3320     else
3321       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3322     fi
3323     if test ! -s $tmp/subs.frag; then
3324       ac_more_lines=false
3325     else
3326       # The purpose of the label and of the branching condition is to
3327       # speed up the sed processing (if there are no `@' at all, there
3328       # is no need to browse any of the substitutions).
3329       # These are the two extra sed commands mentioned above.
3330       (echo ':t
3331   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3332       if test -z "$ac_sed_cmds"; then
3333         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3334       else
3335         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3336       fi
3337       ac_sed_frag=`expr $ac_sed_frag + 1`
3338       ac_beg=$ac_end
3339       ac_end=`expr $ac_end + $ac_max_sed_lines`
3340     fi
3341   done
3342   if test -z "$ac_sed_cmds"; then
3343     ac_sed_cmds=cat
3344   fi
3345 fi # test -n "$CONFIG_FILES"
3346
3347 _ACEOF
3348 cat >>$CONFIG_STATUS <<\_ACEOF
3349 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3350   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3351   case $ac_file in
3352   - | *:- | *:-:* ) # input from stdin
3353         cat >$tmp/stdin
3354         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3355         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3356   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3357         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3358   * )   ac_file_in=$ac_file.in ;;
3359   esac
3360
3361   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3362   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3363 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3364          X"$ac_file" : 'X\(//\)[^/]' \| \
3365          X"$ac_file" : 'X\(//\)$' \| \
3366          X"$ac_file" : 'X\(/\)' \| \
3367          .     : '\(.\)' 2>/dev/null ||
3368 echo X"$ac_file" |
3369     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3370           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3371           /^X\(\/\/\)$/{ s//\1/; q; }
3372           /^X\(\/\).*/{ s//\1/; q; }
3373           s/.*/./; q'`
3374   { if $as_mkdir_p; then
3375     mkdir -p "$ac_dir"
3376   else
3377     as_dir="$ac_dir"
3378     as_dirs=
3379     while test ! -d "$as_dir"; do
3380       as_dirs="$as_dir $as_dirs"
3381       as_dir=`(dirname "$as_dir") 2>/dev/null ||
3382 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3383          X"$as_dir" : 'X\(//\)[^/]' \| \
3384          X"$as_dir" : 'X\(//\)$' \| \
3385          X"$as_dir" : 'X\(/\)' \| \
3386          .     : '\(.\)' 2>/dev/null ||
3387 echo X"$as_dir" |
3388     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3389           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3390           /^X\(\/\/\)$/{ s//\1/; q; }
3391           /^X\(\/\).*/{ s//\1/; q; }
3392           s/.*/./; q'`
3393     done
3394     test ! -n "$as_dirs" || mkdir $as_dirs
3395   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3396 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3397    { (exit 1); exit 1; }; }; }
3398
3399   ac_builddir=.
3400
3401 if test "$ac_dir" != .; then
3402   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3403   # A "../" for each directory in $ac_dir_suffix.
3404   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3405 else
3406   ac_dir_suffix= ac_top_builddir=
3407 fi
3408
3409 case $srcdir in
3410   .)  # No --srcdir option.  We are building in place.
3411     ac_srcdir=.
3412     if test -z "$ac_top_builddir"; then
3413        ac_top_srcdir=.
3414     else
3415        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3416     fi ;;
3417   [\\/]* | ?:[\\/]* )  # Absolute path.
3418     ac_srcdir=$srcdir$ac_dir_suffix;
3419     ac_top_srcdir=$srcdir ;;
3420   *) # Relative path.
3421     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3422     ac_top_srcdir=$ac_top_builddir$srcdir ;;
3423 esac
3424
3425 # Do not use `cd foo && pwd` to compute absolute paths, because
3426 # the directories may not exist.
3427 case `pwd` in
3428 .) ac_abs_builddir="$ac_dir";;
3429 *)
3430   case "$ac_dir" in
3431   .) ac_abs_builddir=`pwd`;;
3432   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3433   *) ac_abs_builddir=`pwd`/"$ac_dir";;
3434   esac;;
3435 esac
3436 case $ac_abs_builddir in
3437 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3438 *)
3439   case ${ac_top_builddir}. in
3440   .) ac_abs_top_builddir=$ac_abs_builddir;;
3441   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3442   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3443   esac;;
3444 esac
3445 case $ac_abs_builddir in
3446 .) ac_abs_srcdir=$ac_srcdir;;
3447 *)
3448   case $ac_srcdir in
3449   .) ac_abs_srcdir=$ac_abs_builddir;;
3450   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3451   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3452   esac;;
3453 esac
3454 case $ac_abs_builddir in
3455 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3456 *)
3457   case $ac_top_srcdir in
3458   .) ac_abs_top_srcdir=$ac_abs_builddir;;
3459   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3460   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3461   esac;;
3462 esac
3463
3464
3465
3466   # Let's still pretend it is `configure' which instantiates (i.e., don't
3467   # use $as_me), people would be surprised to read:
3468   #    /* config.h.  Generated by config.status.  */
3469   if test x"$ac_file" = x-; then
3470     configure_input=
3471   else
3472     configure_input="$ac_file.  "
3473   fi
3474   configure_input=$configure_input"Generated from `echo $ac_file_in |
3475                                      sed 's,.*/,,'` by configure."
3476
3477   # First look for the input files in the build tree, otherwise in the
3478   # src tree.
3479   ac_file_inputs=`IFS=:
3480     for f in $ac_file_in; do
3481       case $f in
3482       -) echo $tmp/stdin ;;
3483       [\\/$]*)
3484          # Absolute (can't be DOS-style, as IFS=:)
3485          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3486 echo "$as_me: error: cannot find input file: $f" >&2;}
3487    { (exit 1); exit 1; }; }
3488          echo "$f";;
3489       *) # Relative
3490          if test -f "$f"; then
3491            # Build tree
3492            echo "$f"
3493          elif test -f "$srcdir/$f"; then
3494            # Source tree
3495            echo "$srcdir/$f"
3496          else
3497            # /dev/null tree
3498            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3499 echo "$as_me: error: cannot find input file: $f" >&2;}
3500    { (exit 1); exit 1; }; }
3501          fi;;
3502       esac
3503     done` || { (exit 1); exit 1; }
3504
3505   if test x"$ac_file" != x-; then
3506     { echo "$as_me:$LINENO: creating $ac_file" >&5
3507 echo "$as_me: creating $ac_file" >&6;}
3508     rm -f "$ac_file"
3509   fi
3510 _ACEOF
3511 cat >>$CONFIG_STATUS <<_ACEOF
3512   sed "$ac_vpsub
3513 $extrasub
3514 _ACEOF
3515 cat >>$CONFIG_STATUS <<\_ACEOF
3516 :t
3517 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3518 s,@configure_input@,$configure_input,;t t
3519 s,@srcdir@,$ac_srcdir,;t t
3520 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3521 s,@top_srcdir@,$ac_top_srcdir,;t t
3522 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3523 s,@builddir@,$ac_builddir,;t t
3524 s,@abs_builddir@,$ac_abs_builddir,;t t
3525 s,@top_builddir@,$ac_top_builddir,;t t
3526 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3527 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3528   rm -f $tmp/stdin
3529   if test x"$ac_file" != x-; then
3530     mv $tmp/out $ac_file
3531   else
3532     cat $tmp/out
3533     rm -f $tmp/out
3534   fi
3535
3536 done
3537 _ACEOF
3538
3539 cat >>$CONFIG_STATUS <<\_ACEOF
3540
3541 { (exit 0); exit 0; }
3542 _ACEOF
3543 chmod +x $CONFIG_STATUS
3544 ac_clean_files=$ac_clean_files_save
3545
3546
3547 # configure is writing to config.log, and then calls config.status.
3548 # config.status does its own redirection, appending to config.log.
3549 # Unfortunately, on DOS this fails, as config.log is still kept open
3550 # by configure, so config.status won't be able to write to it; its
3551 # output is simply discarded.  So we exec the FD to /dev/null,
3552 # effectively closing config.log, so it can be properly (re)opened and
3553 # appended to by config.status.  When coming back to configure, we
3554 # need to make the FD available again.
3555 if test "$no_create" != yes; then
3556   ac_cs_success=:
3557   ac_config_status_args=
3558   test "$silent" = yes &&
3559     ac_config_status_args="$ac_config_status_args --quiet"
3560   exec 5>/dev/null
3561   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3562   exec 5>>config.log
3563   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3564   # would make configure fail if this is the last instruction.
3565   $ac_cs_success || { (exit 1); exit 1; }
3566 fi
3567