import from HEAD:
[freeradius.git] / src / modules / rlm_sql / configure
1 #! /bin/sh
2 # From configure.in Revision: 1.2 .
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="rlm_sql.c"
276 ac_subdirs_all="$ac_subdirs_all $mysubdirs"
277 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 subdirs sql_ldflags sql_cflags targetname SQL_MODULES LIBOBJS LTLIBOBJS'
278 ac_subst_files=''
279
280 # Initialize some variables set by options.
281 ac_init_help=
282 ac_init_version=false
283 # The variables have the same names as the options, with
284 # dashes changed to underlines.
285 cache_file=/dev/null
286 exec_prefix=NONE
287 no_create=
288 no_recursion=
289 prefix=NONE
290 program_prefix=NONE
291 program_suffix=NONE
292 program_transform_name=s,x,x,
293 silent=
294 site=
295 srcdir=
296 verbose=
297 x_includes=NONE
298 x_libraries=NONE
299
300 # Installation directory options.
301 # These are left unexpanded so users can "make install exec_prefix=/foo"
302 # and all the variables that are supposed to be based on exec_prefix
303 # by default will actually change.
304 # Use braces instead of parens because sh, perl, etc. also accept them.
305 bindir='${exec_prefix}/bin'
306 sbindir='${exec_prefix}/sbin'
307 libexecdir='${exec_prefix}/libexec'
308 datadir='${prefix}/share'
309 sysconfdir='${prefix}/etc'
310 sharedstatedir='${prefix}/com'
311 localstatedir='${prefix}/var'
312 libdir='${exec_prefix}/lib'
313 includedir='${prefix}/include'
314 oldincludedir='/usr/include'
315 infodir='${prefix}/info'
316 mandir='${prefix}/man'
317
318 ac_prev=
319 for ac_option
320 do
321   # If the previous option needs an argument, assign it.
322   if test -n "$ac_prev"; then
323     eval "$ac_prev=\$ac_option"
324     ac_prev=
325     continue
326   fi
327
328   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329
330   # Accept the important Cygnus configure options, so we can diagnose typos.
331
332   case $ac_option in
333
334   -bindir | --bindir | --bindi | --bind | --bin | --bi)
335     ac_prev=bindir ;;
336   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
337     bindir=$ac_optarg ;;
338
339   -build | --build | --buil | --bui | --bu)
340     ac_prev=build_alias ;;
341   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
342     build_alias=$ac_optarg ;;
343
344   -cache-file | --cache-file | --cache-fil | --cache-fi \
345   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
346     ac_prev=cache_file ;;
347   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
348   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
349     cache_file=$ac_optarg ;;
350
351   --config-cache | -C)
352     cache_file=config.cache ;;
353
354   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
355     ac_prev=datadir ;;
356   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
357   | --da=*)
358     datadir=$ac_optarg ;;
359
360   -disable-* | --disable-*)
361     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
362     # Reject names that are not valid shell variable names.
363     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
364       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
365    { (exit 1); exit 1; }; }
366     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
367     eval "enable_$ac_feature=no" ;;
368
369   -enable-* | --enable-*)
370     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
371     # Reject names that are not valid shell variable names.
372     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
373       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
374    { (exit 1); exit 1; }; }
375     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
376     case $ac_option in
377       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378       *) ac_optarg=yes ;;
379     esac
380     eval "enable_$ac_feature='$ac_optarg'" ;;
381
382   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
383   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
384   | --exec | --exe | --ex)
385     ac_prev=exec_prefix ;;
386   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
387   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
388   | --exec=* | --exe=* | --ex=*)
389     exec_prefix=$ac_optarg ;;
390
391   -gas | --gas | --ga | --g)
392     # Obsolete; use --with-gas.
393     with_gas=yes ;;
394
395   -help | --help | --hel | --he | -h)
396     ac_init_help=long ;;
397   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
398     ac_init_help=recursive ;;
399   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
400     ac_init_help=short ;;
401
402   -host | --host | --hos | --ho)
403     ac_prev=host_alias ;;
404   -host=* | --host=* | --hos=* | --ho=*)
405     host_alias=$ac_optarg ;;
406
407   -includedir | --includedir | --includedi | --included | --include \
408   | --includ | --inclu | --incl | --inc)
409     ac_prev=includedir ;;
410   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
411   | --includ=* | --inclu=* | --incl=* | --inc=*)
412     includedir=$ac_optarg ;;
413
414   -infodir | --infodir | --infodi | --infod | --info | --inf)
415     ac_prev=infodir ;;
416   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
417     infodir=$ac_optarg ;;
418
419   -libdir | --libdir | --libdi | --libd)
420     ac_prev=libdir ;;
421   -libdir=* | --libdir=* | --libdi=* | --libd=*)
422     libdir=$ac_optarg ;;
423
424   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
425   | --libexe | --libex | --libe)
426     ac_prev=libexecdir ;;
427   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
428   | --libexe=* | --libex=* | --libe=*)
429     libexecdir=$ac_optarg ;;
430
431   -localstatedir | --localstatedir | --localstatedi | --localstated \
432   | --localstate | --localstat | --localsta | --localst \
433   | --locals | --local | --loca | --loc | --lo)
434     ac_prev=localstatedir ;;
435   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
436   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
437   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
438     localstatedir=$ac_optarg ;;
439
440   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
441     ac_prev=mandir ;;
442   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
443     mandir=$ac_optarg ;;
444
445   -nfp | --nfp | --nf)
446     # Obsolete; use --without-fp.
447     with_fp=no ;;
448
449   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
450   | --no-cr | --no-c | -n)
451     no_create=yes ;;
452
453   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
454   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
455     no_recursion=yes ;;
456
457   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
458   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
459   | --oldin | --oldi | --old | --ol | --o)
460     ac_prev=oldincludedir ;;
461   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
462   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
463   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
464     oldincludedir=$ac_optarg ;;
465
466   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
467     ac_prev=prefix ;;
468   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
469     prefix=$ac_optarg ;;
470
471   -program-prefix | --program-prefix | --program-prefi | --program-pref \
472   | --program-pre | --program-pr | --program-p)
473     ac_prev=program_prefix ;;
474   -program-prefix=* | --program-prefix=* | --program-prefi=* \
475   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
476     program_prefix=$ac_optarg ;;
477
478   -program-suffix | --program-suffix | --program-suffi | --program-suff \
479   | --program-suf | --program-su | --program-s)
480     ac_prev=program_suffix ;;
481   -program-suffix=* | --program-suffix=* | --program-suffi=* \
482   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
483     program_suffix=$ac_optarg ;;
484
485   -program-transform-name | --program-transform-name \
486   | --program-transform-nam | --program-transform-na \
487   | --program-transform-n | --program-transform- \
488   | --program-transform | --program-transfor \
489   | --program-transfo | --program-transf \
490   | --program-trans | --program-tran \
491   | --progr-tra | --program-tr | --program-t)
492     ac_prev=program_transform_name ;;
493   -program-transform-name=* | --program-transform-name=* \
494   | --program-transform-nam=* | --program-transform-na=* \
495   | --program-transform-n=* | --program-transform-=* \
496   | --program-transform=* | --program-transfor=* \
497   | --program-transfo=* | --program-transf=* \
498   | --program-trans=* | --program-tran=* \
499   | --progr-tra=* | --program-tr=* | --program-t=*)
500     program_transform_name=$ac_optarg ;;
501
502   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
503   | -silent | --silent | --silen | --sile | --sil)
504     silent=yes ;;
505
506   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
507     ac_prev=sbindir ;;
508   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
509   | --sbi=* | --sb=*)
510     sbindir=$ac_optarg ;;
511
512   -sharedstatedir | --sharedstatedir | --sharedstatedi \
513   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
514   | --sharedst | --shareds | --shared | --share | --shar \
515   | --sha | --sh)
516     ac_prev=sharedstatedir ;;
517   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
518   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
519   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
520   | --sha=* | --sh=*)
521     sharedstatedir=$ac_optarg ;;
522
523   -site | --site | --sit)
524     ac_prev=site ;;
525   -site=* | --site=* | --sit=*)
526     site=$ac_optarg ;;
527
528   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
529     ac_prev=srcdir ;;
530   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
531     srcdir=$ac_optarg ;;
532
533   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
534   | --syscon | --sysco | --sysc | --sys | --sy)
535     ac_prev=sysconfdir ;;
536   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
537   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
538     sysconfdir=$ac_optarg ;;
539
540   -target | --target | --targe | --targ | --tar | --ta | --t)
541     ac_prev=target_alias ;;
542   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
543     target_alias=$ac_optarg ;;
544
545   -v | -verbose | --verbose | --verbos | --verbo | --verb)
546     verbose=yes ;;
547
548   -version | --version | --versio | --versi | --vers | -V)
549     ac_init_version=: ;;
550
551   -with-* | --with-*)
552     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
553     # Reject names that are not valid shell variable names.
554     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
555       { echo "$as_me: error: invalid package name: $ac_package" >&2
556    { (exit 1); exit 1; }; }
557     ac_package=`echo $ac_package| sed 's/-/_/g'`
558     case $ac_option in
559       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560       *) ac_optarg=yes ;;
561     esac
562     eval "with_$ac_package='$ac_optarg'" ;;
563
564   -without-* | --without-*)
565     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
566     # Reject names that are not valid shell variable names.
567     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
568       { echo "$as_me: error: invalid package name: $ac_package" >&2
569    { (exit 1); exit 1; }; }
570     ac_package=`echo $ac_package | sed 's/-/_/g'`
571     eval "with_$ac_package=no" ;;
572
573   --x)
574     # Obsolete; use --with-x.
575     with_x=yes ;;
576
577   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
578   | --x-incl | --x-inc | --x-in | --x-i)
579     ac_prev=x_includes ;;
580   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
581   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
582     x_includes=$ac_optarg ;;
583
584   -x-libraries | --x-libraries | --x-librarie | --x-librari \
585   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
586     ac_prev=x_libraries ;;
587   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
588   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
589     x_libraries=$ac_optarg ;;
590
591   -*) { echo "$as_me: error: unrecognized option: $ac_option
592 Try \`$0 --help' for more information." >&2
593    { (exit 1); exit 1; }; }
594     ;;
595
596   *=*)
597     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
598     # Reject names that are not valid shell variable names.
599     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
600       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
601    { (exit 1); exit 1; }; }
602     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
603     eval "$ac_envvar='$ac_optarg'"
604     export $ac_envvar ;;
605
606   *)
607     # FIXME: should be removed in autoconf 3.0.
608     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
609     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
610       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
611     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
612     ;;
613
614   esac
615 done
616
617 if test -n "$ac_prev"; then
618   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
619   { echo "$as_me: error: missing argument to $ac_option" >&2
620    { (exit 1); exit 1; }; }
621 fi
622
623 # Be sure to have absolute paths.
624 for ac_var in exec_prefix prefix
625 do
626   eval ac_val=$`echo $ac_var`
627   case $ac_val in
628     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
629     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
630    { (exit 1); exit 1; }; };;
631   esac
632 done
633
634 # Be sure to have absolute paths.
635 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
636               localstatedir libdir includedir oldincludedir infodir mandir
637 do
638   eval ac_val=$`echo $ac_var`
639   case $ac_val in
640     [\\/$]* | ?:[\\/]* ) ;;
641     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
642    { (exit 1); exit 1; }; };;
643   esac
644 done
645
646 # There might be people who depend on the old broken behavior: `$host'
647 # used to hold the argument of --host etc.
648 # FIXME: To remove some day.
649 build=$build_alias
650 host=$host_alias
651 target=$target_alias
652
653 # FIXME: To remove some day.
654 if test "x$host_alias" != x; then
655   if test "x$build_alias" = x; then
656     cross_compiling=maybe
657     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
658     If a cross compiler is detected then cross compile mode will be used." >&2
659   elif test "x$build_alias" != "x$host_alias"; then
660     cross_compiling=yes
661   fi
662 fi
663
664 ac_tool_prefix=
665 test -n "$host_alias" && ac_tool_prefix=$host_alias-
666
667 test "$silent" = yes && exec 6>/dev/null
668
669
670 # Find the source files, if location was not specified.
671 if test -z "$srcdir"; then
672   ac_srcdir_defaulted=yes
673   # Try the directory containing this script, then its parent.
674   ac_confdir=`(dirname "$0") 2>/dev/null ||
675 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
676          X"$0" : 'X\(//\)[^/]' \| \
677          X"$0" : 'X\(//\)$' \| \
678          X"$0" : 'X\(/\)' \| \
679          .     : '\(.\)' 2>/dev/null ||
680 echo X"$0" |
681     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
682           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
683           /^X\(\/\/\)$/{ s//\1/; q; }
684           /^X\(\/\).*/{ s//\1/; q; }
685           s/.*/./; q'`
686   srcdir=$ac_confdir
687   if test ! -r $srcdir/$ac_unique_file; then
688     srcdir=..
689   fi
690 else
691   ac_srcdir_defaulted=no
692 fi
693 if test ! -r $srcdir/$ac_unique_file; then
694   if test "$ac_srcdir_defaulted" = yes; then
695     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
696    { (exit 1); exit 1; }; }
697   else
698     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
699    { (exit 1); exit 1; }; }
700   fi
701 fi
702 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
703   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
704    { (exit 1); exit 1; }; }
705 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
706 ac_env_build_alias_set=${build_alias+set}
707 ac_env_build_alias_value=$build_alias
708 ac_cv_env_build_alias_set=${build_alias+set}
709 ac_cv_env_build_alias_value=$build_alias
710 ac_env_host_alias_set=${host_alias+set}
711 ac_env_host_alias_value=$host_alias
712 ac_cv_env_host_alias_set=${host_alias+set}
713 ac_cv_env_host_alias_value=$host_alias
714 ac_env_target_alias_set=${target_alias+set}
715 ac_env_target_alias_value=$target_alias
716 ac_cv_env_target_alias_set=${target_alias+set}
717 ac_cv_env_target_alias_value=$target_alias
718 ac_env_CC_set=${CC+set}
719 ac_env_CC_value=$CC
720 ac_cv_env_CC_set=${CC+set}
721 ac_cv_env_CC_value=$CC
722 ac_env_CFLAGS_set=${CFLAGS+set}
723 ac_env_CFLAGS_value=$CFLAGS
724 ac_cv_env_CFLAGS_set=${CFLAGS+set}
725 ac_cv_env_CFLAGS_value=$CFLAGS
726 ac_env_LDFLAGS_set=${LDFLAGS+set}
727 ac_env_LDFLAGS_value=$LDFLAGS
728 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
729 ac_cv_env_LDFLAGS_value=$LDFLAGS
730 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
731 ac_env_CPPFLAGS_value=$CPPFLAGS
732 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
733 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
734
735 #
736 # Report the --help message.
737 #
738 if test "$ac_init_help" = "long"; then
739   # Omit some internal or obsolete options to make the list less imposing.
740   # This message is too long to be a string in the A/UX 3.1 sh.
741   cat <<_ACEOF
742 \`configure' configures this package to adapt to many kinds of systems.
743
744 Usage: $0 [OPTION]... [VAR=VALUE]...
745
746 To assign environment variables (e.g., CC, CFLAGS...), specify them as
747 VAR=VALUE.  See below for descriptions of some of the useful variables.
748
749 Defaults for the options are specified in brackets.
750
751 Configuration:
752   -h, --help              display this help and exit
753       --help=short        display options specific to this package
754       --help=recursive    display the short help of all the included packages
755   -V, --version           display version information and exit
756   -q, --quiet, --silent   do not print \`checking...' messages
757       --cache-file=FILE   cache test results in FILE [disabled]
758   -C, --config-cache      alias for \`--cache-file=config.cache'
759   -n, --no-create         do not create output files
760       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
761
762 _ACEOF
763
764   cat <<_ACEOF
765 Installation directories:
766   --prefix=PREFIX         install architecture-independent files in PREFIX
767                           [$ac_default_prefix]
768   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
769                           [PREFIX]
770
771 By default, \`make install' will install all the files in
772 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
773 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
774 for instance \`--prefix=\$HOME'.
775
776 For better control, use the options below.
777
778 Fine tuning of the installation directories:
779   --bindir=DIR           user executables [EPREFIX/bin]
780   --sbindir=DIR          system admin executables [EPREFIX/sbin]
781   --libexecdir=DIR       program executables [EPREFIX/libexec]
782   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
783   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
784   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
785   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
786   --libdir=DIR           object code libraries [EPREFIX/lib]
787   --includedir=DIR       C header files [PREFIX/include]
788   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
789   --infodir=DIR          info documentation [PREFIX/info]
790   --mandir=DIR           man documentation [PREFIX/man]
791 _ACEOF
792
793   cat <<\_ACEOF
794 _ACEOF
795 fi
796
797 if test -n "$ac_init_help"; then
798
799   cat <<\_ACEOF
800
801 Optional Packages:
802   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
803   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
804   --with-experimental-modules      Use experimental and unstable modules. (default=no)
805
806 Some influential environment variables:
807   CC          C compiler command
808   CFLAGS      C compiler flags
809   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
810               nonstandard directory <lib dir>
811   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
812               headers in a nonstandard directory <include dir>
813
814 Use these variables to override the choices made by `configure' or to help
815 it to find libraries and programs with nonstandard names/locations.
816
817 _ACEOF
818 fi
819
820 if test "$ac_init_help" = "recursive"; then
821   # If there are subdirs, report their specific --help.
822   ac_popdir=`pwd`
823   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
824     test -d $ac_dir || continue
825     ac_builddir=.
826
827 if test "$ac_dir" != .; then
828   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
829   # A "../" for each directory in $ac_dir_suffix.
830   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
831 else
832   ac_dir_suffix= ac_top_builddir=
833 fi
834
835 case $srcdir in
836   .)  # No --srcdir option.  We are building in place.
837     ac_srcdir=.
838     if test -z "$ac_top_builddir"; then
839        ac_top_srcdir=.
840     else
841        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
842     fi ;;
843   [\\/]* | ?:[\\/]* )  # Absolute path.
844     ac_srcdir=$srcdir$ac_dir_suffix;
845     ac_top_srcdir=$srcdir ;;
846   *) # Relative path.
847     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
848     ac_top_srcdir=$ac_top_builddir$srcdir ;;
849 esac
850
851 # Do not use `cd foo && pwd` to compute absolute paths, because
852 # the directories may not exist.
853 case `pwd` in
854 .) ac_abs_builddir="$ac_dir";;
855 *)
856   case "$ac_dir" in
857   .) ac_abs_builddir=`pwd`;;
858   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
859   *) ac_abs_builddir=`pwd`/"$ac_dir";;
860   esac;;
861 esac
862 case $ac_abs_builddir in
863 .) ac_abs_top_builddir=${ac_top_builddir}.;;
864 *)
865   case ${ac_top_builddir}. in
866   .) ac_abs_top_builddir=$ac_abs_builddir;;
867   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
868   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
869   esac;;
870 esac
871 case $ac_abs_builddir in
872 .) ac_abs_srcdir=$ac_srcdir;;
873 *)
874   case $ac_srcdir in
875   .) ac_abs_srcdir=$ac_abs_builddir;;
876   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
877   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
878   esac;;
879 esac
880 case $ac_abs_builddir in
881 .) ac_abs_top_srcdir=$ac_top_srcdir;;
882 *)
883   case $ac_top_srcdir in
884   .) ac_abs_top_srcdir=$ac_abs_builddir;;
885   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
886   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
887   esac;;
888 esac
889
890     cd $ac_dir
891     # Check for guested configure; otherwise get Cygnus style configure.
892     if test -f $ac_srcdir/configure.gnu; then
893       echo
894       $SHELL $ac_srcdir/configure.gnu  --help=recursive
895     elif test -f $ac_srcdir/configure; then
896       echo
897       $SHELL $ac_srcdir/configure  --help=recursive
898     elif test -f $ac_srcdir/configure.ac ||
899            test -f $ac_srcdir/configure.in; then
900       echo
901       $ac_configure --help
902     else
903       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
904     fi
905     cd $ac_popdir
906   done
907 fi
908
909 test -n "$ac_init_help" && exit 0
910 if $ac_init_version; then
911   cat <<\_ACEOF
912
913 Copyright (C) 2003 Free Software Foundation, Inc.
914 This configure script is free software; the Free Software Foundation
915 gives unlimited permission to copy, distribute and modify it.
916 _ACEOF
917   exit 0
918 fi
919 exec 5>config.log
920 cat >&5 <<_ACEOF
921 This file contains any messages produced by compilers while
922 running configure, to aid debugging if configure makes a mistake.
923
924 It was created by $as_me, which was
925 generated by GNU Autoconf 2.59.  Invocation command line was
926
927   $ $0 $@
928
929 _ACEOF
930 {
931 cat <<_ASUNAME
932 ## --------- ##
933 ## Platform. ##
934 ## --------- ##
935
936 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
937 uname -m = `(uname -m) 2>/dev/null || echo unknown`
938 uname -r = `(uname -r) 2>/dev/null || echo unknown`
939 uname -s = `(uname -s) 2>/dev/null || echo unknown`
940 uname -v = `(uname -v) 2>/dev/null || echo unknown`
941
942 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
943 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
944
945 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
946 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
947 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
948 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
949 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
950 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
951 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
952
953 _ASUNAME
954
955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
956 for as_dir in $PATH
957 do
958   IFS=$as_save_IFS
959   test -z "$as_dir" && as_dir=.
960   echo "PATH: $as_dir"
961 done
962
963 } >&5
964
965 cat >&5 <<_ACEOF
966
967
968 ## ----------- ##
969 ## Core tests. ##
970 ## ----------- ##
971
972 _ACEOF
973
974
975 # Keep a trace of the command line.
976 # Strip out --no-create and --no-recursion so they do not pile up.
977 # Strip out --silent because we don't want to record it for future runs.
978 # Also quote any args containing shell meta-characters.
979 # Make two passes to allow for proper duplicate-argument suppression.
980 ac_configure_args=
981 ac_configure_args0=
982 ac_configure_args1=
983 ac_sep=
984 ac_must_keep_next=false
985 for ac_pass in 1 2
986 do
987   for ac_arg
988   do
989     case $ac_arg in
990     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
991     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
992     | -silent | --silent | --silen | --sile | --sil)
993       continue ;;
994     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
995       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
996     esac
997     case $ac_pass in
998     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
999     2)
1000       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1001       if test $ac_must_keep_next = true; then
1002         ac_must_keep_next=false # Got value, back to normal.
1003       else
1004         case $ac_arg in
1005           *=* | --config-cache | -C | -disable-* | --disable-* \
1006           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1007           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1008           | -with-* | --with-* | -without-* | --without-* | --x)
1009             case "$ac_configure_args0 " in
1010               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1011             esac
1012             ;;
1013           -* ) ac_must_keep_next=true ;;
1014         esac
1015       fi
1016       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1017       # Get rid of the leading space.
1018       ac_sep=" "
1019       ;;
1020     esac
1021   done
1022 done
1023 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1024 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1025
1026 # When interrupted or exit'd, cleanup temporary files, and complete
1027 # config.log.  We remove comments because anyway the quotes in there
1028 # would cause problems or look ugly.
1029 # WARNING: Be sure not to use single quotes in there, as some shells,
1030 # such as our DU 5.0 friend, will then `close' the trap.
1031 trap 'exit_status=$?
1032   # Save into config.log some information that might help in debugging.
1033   {
1034     echo
1035
1036     cat <<\_ASBOX
1037 ## ---------------- ##
1038 ## Cache variables. ##
1039 ## ---------------- ##
1040 _ASBOX
1041     echo
1042     # The following way of writing the cache mishandles newlines in values,
1043 {
1044   (set) 2>&1 |
1045     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1046     *ac_space=\ *)
1047       sed -n \
1048         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1049           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1050       ;;
1051     *)
1052       sed -n \
1053         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1054       ;;
1055     esac;
1056 }
1057     echo
1058
1059     cat <<\_ASBOX
1060 ## ----------------- ##
1061 ## Output variables. ##
1062 ## ----------------- ##
1063 _ASBOX
1064     echo
1065     for ac_var in $ac_subst_vars
1066     do
1067       eval ac_val=$`echo $ac_var`
1068       echo "$ac_var='"'"'$ac_val'"'"'"
1069     done | sort
1070     echo
1071
1072     if test -n "$ac_subst_files"; then
1073       cat <<\_ASBOX
1074 ## ------------- ##
1075 ## Output files. ##
1076 ## ------------- ##
1077 _ASBOX
1078       echo
1079       for ac_var in $ac_subst_files
1080       do
1081         eval ac_val=$`echo $ac_var`
1082         echo "$ac_var='"'"'$ac_val'"'"'"
1083       done | sort
1084       echo
1085     fi
1086
1087     if test -s confdefs.h; then
1088       cat <<\_ASBOX
1089 ## ----------- ##
1090 ## confdefs.h. ##
1091 ## ----------- ##
1092 _ASBOX
1093       echo
1094       sed "/^$/d" confdefs.h | sort
1095       echo
1096     fi
1097     test "$ac_signal" != 0 &&
1098       echo "$as_me: caught signal $ac_signal"
1099     echo "$as_me: exit $exit_status"
1100   } >&5
1101   rm -f core *.core &&
1102   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1103     exit $exit_status
1104      ' 0
1105 for ac_signal in 1 2 13 15; do
1106   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1107 done
1108 ac_signal=0
1109
1110 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1111 rm -rf conftest* confdefs.h
1112 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1113 echo >confdefs.h
1114
1115 # Predefined preprocessor variables.
1116
1117 cat >>confdefs.h <<_ACEOF
1118 #define PACKAGE_NAME "$PACKAGE_NAME"
1119 _ACEOF
1120
1121
1122 cat >>confdefs.h <<_ACEOF
1123 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1124 _ACEOF
1125
1126
1127 cat >>confdefs.h <<_ACEOF
1128 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1129 _ACEOF
1130
1131
1132 cat >>confdefs.h <<_ACEOF
1133 #define PACKAGE_STRING "$PACKAGE_STRING"
1134 _ACEOF
1135
1136
1137 cat >>confdefs.h <<_ACEOF
1138 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1139 _ACEOF
1140
1141
1142 # Let the site file select an alternate cache file if it wants to.
1143 # Prefer explicitly selected file to automatically selected ones.
1144 if test -z "$CONFIG_SITE"; then
1145   if test "x$prefix" != xNONE; then
1146     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1147   else
1148     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1149   fi
1150 fi
1151 for ac_site_file in $CONFIG_SITE; do
1152   if test -r "$ac_site_file"; then
1153     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1154 echo "$as_me: loading site script $ac_site_file" >&6;}
1155     sed 's/^/| /' "$ac_site_file" >&5
1156     . "$ac_site_file"
1157   fi
1158 done
1159
1160 if test -r "$cache_file"; then
1161   # Some versions of bash will fail to source /dev/null (special
1162   # files actually), so we avoid doing that.
1163   if test -f "$cache_file"; then
1164     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1165 echo "$as_me: loading cache $cache_file" >&6;}
1166     case $cache_file in
1167       [\\/]* | ?:[\\/]* ) . $cache_file;;
1168       *)                      . ./$cache_file;;
1169     esac
1170   fi
1171 else
1172   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1173 echo "$as_me: creating cache $cache_file" >&6;}
1174   >$cache_file
1175 fi
1176
1177 # Check that the precious variables saved in the cache have kept the same
1178 # value.
1179 ac_cache_corrupted=false
1180 for ac_var in `(set) 2>&1 |
1181                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1182   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1183   eval ac_new_set=\$ac_env_${ac_var}_set
1184   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1185   eval ac_new_val="\$ac_env_${ac_var}_value"
1186   case $ac_old_set,$ac_new_set in
1187     set,)
1188       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1189 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1190       ac_cache_corrupted=: ;;
1191     ,set)
1192       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1193 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1194       ac_cache_corrupted=: ;;
1195     ,);;
1196     *)
1197       if test "x$ac_old_val" != "x$ac_new_val"; then
1198         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1199 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1200         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1201 echo "$as_me:   former value:  $ac_old_val" >&2;}
1202         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1203 echo "$as_me:   current value: $ac_new_val" >&2;}
1204         ac_cache_corrupted=:
1205       fi;;
1206   esac
1207   # Pass precious variables to config.status.
1208   if test "$ac_new_set" = set; then
1209     case $ac_new_val in
1210     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1211       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1212     *) ac_arg=$ac_var=$ac_new_val ;;
1213     esac
1214     case " $ac_configure_args " in
1215       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1216       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1217     esac
1218   fi
1219 done
1220 if $ac_cache_corrupted; then
1221   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1222 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1223   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1224 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1225    { (exit 1); exit 1; }; }
1226 fi
1227
1228 ac_ext=c
1229 ac_cpp='$CPP $CPPFLAGS'
1230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255 fail=
1256 SMART_LIBS=
1257 SMART_CLFAGS=
1258 if test x$with_rlm_sql != xno; then
1259
1260         ac_ext=c
1261 ac_cpp='$CPP $CPPFLAGS'
1262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1265 if test -n "$ac_tool_prefix"; then
1266   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1267 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1268 echo "$as_me:$LINENO: checking for $ac_word" >&5
1269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1270 if test "${ac_cv_prog_CC+set}" = set; then
1271   echo $ECHO_N "(cached) $ECHO_C" >&6
1272 else
1273   if test -n "$CC"; then
1274   ac_cv_prog_CC="$CC" # Let the user override the test.
1275 else
1276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1277 for as_dir in $PATH
1278 do
1279   IFS=$as_save_IFS
1280   test -z "$as_dir" && as_dir=.
1281   for ac_exec_ext in '' $ac_executable_extensions; do
1282   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1283     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1284     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1285     break 2
1286   fi
1287 done
1288 done
1289
1290 fi
1291 fi
1292 CC=$ac_cv_prog_CC
1293 if test -n "$CC"; then
1294   echo "$as_me:$LINENO: result: $CC" >&5
1295 echo "${ECHO_T}$CC" >&6
1296 else
1297   echo "$as_me:$LINENO: result: no" >&5
1298 echo "${ECHO_T}no" >&6
1299 fi
1300
1301 fi
1302 if test -z "$ac_cv_prog_CC"; then
1303   ac_ct_CC=$CC
1304   # Extract the first word of "gcc", so it can be a program name with args.
1305 set dummy gcc; ac_word=$2
1306 echo "$as_me:$LINENO: checking for $ac_word" >&5
1307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1308 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1309   echo $ECHO_N "(cached) $ECHO_C" >&6
1310 else
1311   if test -n "$ac_ct_CC"; then
1312   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1313 else
1314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1315 for as_dir in $PATH
1316 do
1317   IFS=$as_save_IFS
1318   test -z "$as_dir" && as_dir=.
1319   for ac_exec_ext in '' $ac_executable_extensions; do
1320   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1321     ac_cv_prog_ac_ct_CC="gcc"
1322     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1323     break 2
1324   fi
1325 done
1326 done
1327
1328 fi
1329 fi
1330 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1331 if test -n "$ac_ct_CC"; then
1332   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1333 echo "${ECHO_T}$ac_ct_CC" >&6
1334 else
1335   echo "$as_me:$LINENO: result: no" >&5
1336 echo "${ECHO_T}no" >&6
1337 fi
1338
1339   CC=$ac_ct_CC
1340 else
1341   CC="$ac_cv_prog_CC"
1342 fi
1343
1344 if test -z "$CC"; then
1345   if test -n "$ac_tool_prefix"; then
1346   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1347 set dummy ${ac_tool_prefix}cc; ac_word=$2
1348 echo "$as_me:$LINENO: checking for $ac_word" >&5
1349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1350 if test "${ac_cv_prog_CC+set}" = set; then
1351   echo $ECHO_N "(cached) $ECHO_C" >&6
1352 else
1353   if test -n "$CC"; then
1354   ac_cv_prog_CC="$CC" # Let the user override the test.
1355 else
1356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1357 for as_dir in $PATH
1358 do
1359   IFS=$as_save_IFS
1360   test -z "$as_dir" && as_dir=.
1361   for ac_exec_ext in '' $ac_executable_extensions; do
1362   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1363     ac_cv_prog_CC="${ac_tool_prefix}cc"
1364     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1365     break 2
1366   fi
1367 done
1368 done
1369
1370 fi
1371 fi
1372 CC=$ac_cv_prog_CC
1373 if test -n "$CC"; then
1374   echo "$as_me:$LINENO: result: $CC" >&5
1375 echo "${ECHO_T}$CC" >&6
1376 else
1377   echo "$as_me:$LINENO: result: no" >&5
1378 echo "${ECHO_T}no" >&6
1379 fi
1380
1381 fi
1382 if test -z "$ac_cv_prog_CC"; then
1383   ac_ct_CC=$CC
1384   # Extract the first word of "cc", so it can be a program name with args.
1385 set dummy cc; ac_word=$2
1386 echo "$as_me:$LINENO: checking for $ac_word" >&5
1387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1388 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1389   echo $ECHO_N "(cached) $ECHO_C" >&6
1390 else
1391   if test -n "$ac_ct_CC"; then
1392   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1393 else
1394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1395 for as_dir in $PATH
1396 do
1397   IFS=$as_save_IFS
1398   test -z "$as_dir" && as_dir=.
1399   for ac_exec_ext in '' $ac_executable_extensions; do
1400   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1401     ac_cv_prog_ac_ct_CC="cc"
1402     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1403     break 2
1404   fi
1405 done
1406 done
1407
1408 fi
1409 fi
1410 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1411 if test -n "$ac_ct_CC"; then
1412   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1413 echo "${ECHO_T}$ac_ct_CC" >&6
1414 else
1415   echo "$as_me:$LINENO: result: no" >&5
1416 echo "${ECHO_T}no" >&6
1417 fi
1418
1419   CC=$ac_ct_CC
1420 else
1421   CC="$ac_cv_prog_CC"
1422 fi
1423
1424 fi
1425 if test -z "$CC"; then
1426   # Extract the first word of "cc", so it can be a program name with args.
1427 set dummy cc; ac_word=$2
1428 echo "$as_me:$LINENO: checking for $ac_word" >&5
1429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1430 if test "${ac_cv_prog_CC+set}" = set; then
1431   echo $ECHO_N "(cached) $ECHO_C" >&6
1432 else
1433   if test -n "$CC"; then
1434   ac_cv_prog_CC="$CC" # Let the user override the test.
1435 else
1436   ac_prog_rejected=no
1437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1438 for as_dir in $PATH
1439 do
1440   IFS=$as_save_IFS
1441   test -z "$as_dir" && as_dir=.
1442   for ac_exec_ext in '' $ac_executable_extensions; do
1443   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1444     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1445        ac_prog_rejected=yes
1446        continue
1447      fi
1448     ac_cv_prog_CC="cc"
1449     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1450     break 2
1451   fi
1452 done
1453 done
1454
1455 if test $ac_prog_rejected = yes; then
1456   # We found a bogon in the path, so make sure we never use it.
1457   set dummy $ac_cv_prog_CC
1458   shift
1459   if test $# != 0; then
1460     # We chose a different compiler from the bogus one.
1461     # However, it has the same basename, so the bogon will be chosen
1462     # first if we set CC to just the basename; use the full file name.
1463     shift
1464     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1465   fi
1466 fi
1467 fi
1468 fi
1469 CC=$ac_cv_prog_CC
1470 if test -n "$CC"; then
1471   echo "$as_me:$LINENO: result: $CC" >&5
1472 echo "${ECHO_T}$CC" >&6
1473 else
1474   echo "$as_me:$LINENO: result: no" >&5
1475 echo "${ECHO_T}no" >&6
1476 fi
1477
1478 fi
1479 if test -z "$CC"; then
1480   if test -n "$ac_tool_prefix"; then
1481   for ac_prog in cl
1482   do
1483     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1484 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1485 echo "$as_me:$LINENO: checking for $ac_word" >&5
1486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1487 if test "${ac_cv_prog_CC+set}" = set; then
1488   echo $ECHO_N "(cached) $ECHO_C" >&6
1489 else
1490   if test -n "$CC"; then
1491   ac_cv_prog_CC="$CC" # Let the user override the test.
1492 else
1493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1494 for as_dir in $PATH
1495 do
1496   IFS=$as_save_IFS
1497   test -z "$as_dir" && as_dir=.
1498   for ac_exec_ext in '' $ac_executable_extensions; do
1499   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1500     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1501     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1502     break 2
1503   fi
1504 done
1505 done
1506
1507 fi
1508 fi
1509 CC=$ac_cv_prog_CC
1510 if test -n "$CC"; then
1511   echo "$as_me:$LINENO: result: $CC" >&5
1512 echo "${ECHO_T}$CC" >&6
1513 else
1514   echo "$as_me:$LINENO: result: no" >&5
1515 echo "${ECHO_T}no" >&6
1516 fi
1517
1518     test -n "$CC" && break
1519   done
1520 fi
1521 if test -z "$CC"; then
1522   ac_ct_CC=$CC
1523   for ac_prog in cl
1524 do
1525   # Extract the first word of "$ac_prog", so it can be a program name with args.
1526 set dummy $ac_prog; ac_word=$2
1527 echo "$as_me:$LINENO: checking for $ac_word" >&5
1528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1529 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1530   echo $ECHO_N "(cached) $ECHO_C" >&6
1531 else
1532   if test -n "$ac_ct_CC"; then
1533   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1534 else
1535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1536 for as_dir in $PATH
1537 do
1538   IFS=$as_save_IFS
1539   test -z "$as_dir" && as_dir=.
1540   for ac_exec_ext in '' $ac_executable_extensions; do
1541   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1542     ac_cv_prog_ac_ct_CC="$ac_prog"
1543     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1544     break 2
1545   fi
1546 done
1547 done
1548
1549 fi
1550 fi
1551 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1552 if test -n "$ac_ct_CC"; then
1553   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1554 echo "${ECHO_T}$ac_ct_CC" >&6
1555 else
1556   echo "$as_me:$LINENO: result: no" >&5
1557 echo "${ECHO_T}no" >&6
1558 fi
1559
1560   test -n "$ac_ct_CC" && break
1561 done
1562
1563   CC=$ac_ct_CC
1564 fi
1565
1566 fi
1567
1568
1569 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1570 See \`config.log' for more details." >&5
1571 echo "$as_me: error: no acceptable C compiler found in \$PATH
1572 See \`config.log' for more details." >&2;}
1573    { (exit 1); exit 1; }; }
1574
1575 # Provide some information about the compiler.
1576 echo "$as_me:$LINENO:" \
1577      "checking for C compiler version" >&5
1578 ac_compiler=`set X $ac_compile; echo $2`
1579 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1580   (eval $ac_compiler --version </dev/null >&5) 2>&5
1581   ac_status=$?
1582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1583   (exit $ac_status); }
1584 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1585   (eval $ac_compiler -v </dev/null >&5) 2>&5
1586   ac_status=$?
1587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1588   (exit $ac_status); }
1589 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1590   (eval $ac_compiler -V </dev/null >&5) 2>&5
1591   ac_status=$?
1592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1593   (exit $ac_status); }
1594
1595 cat >conftest.$ac_ext <<_ACEOF
1596 /* confdefs.h.  */
1597 _ACEOF
1598 cat confdefs.h >>conftest.$ac_ext
1599 cat >>conftest.$ac_ext <<_ACEOF
1600 /* end confdefs.h.  */
1601
1602 int
1603 main ()
1604 {
1605
1606   ;
1607   return 0;
1608 }
1609 _ACEOF
1610 ac_clean_files_save=$ac_clean_files
1611 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1612 # Try to create an executable without -o first, disregard a.out.
1613 # It will help us diagnose broken compilers, and finding out an intuition
1614 # of exeext.
1615 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1616 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1617 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1618 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1619   (eval $ac_link_default) 2>&5
1620   ac_status=$?
1621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1622   (exit $ac_status); }; then
1623   # Find the output, starting from the most likely.  This scheme is
1624 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1625 # resort.
1626
1627 # Be careful to initialize this variable, since it used to be cached.
1628 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1629 ac_cv_exeext=
1630 # b.out is created by i960 compilers.
1631 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1632 do
1633   test -f "$ac_file" || continue
1634   case $ac_file in
1635     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1636         ;;
1637     conftest.$ac_ext )
1638         # This is the source file.
1639         ;;
1640     [ab].out )
1641         # We found the default executable, but exeext='' is most
1642         # certainly right.
1643         break;;
1644     *.* )
1645         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1646         # FIXME: I believe we export ac_cv_exeext for Libtool,
1647         # but it would be cool to find out if it's true.  Does anybody
1648         # maintain Libtool? --akim.
1649         export ac_cv_exeext
1650         break;;
1651     * )
1652         break;;
1653   esac
1654 done
1655 else
1656   echo "$as_me: failed program was:" >&5
1657 sed 's/^/| /' conftest.$ac_ext >&5
1658
1659 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1660 See \`config.log' for more details." >&5
1661 echo "$as_me: error: C compiler cannot create executables
1662 See \`config.log' for more details." >&2;}
1663    { (exit 77); exit 77; }; }
1664 fi
1665
1666 ac_exeext=$ac_cv_exeext
1667 echo "$as_me:$LINENO: result: $ac_file" >&5
1668 echo "${ECHO_T}$ac_file" >&6
1669
1670 # Check the compiler produces executables we can run.  If not, either
1671 # the compiler is broken, or we cross compile.
1672 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1673 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1674 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1675 # If not cross compiling, check that we can run a simple program.
1676 if test "$cross_compiling" != yes; then
1677   if { ac_try='./$ac_file'
1678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1679   (eval $ac_try) 2>&5
1680   ac_status=$?
1681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1682   (exit $ac_status); }; }; then
1683     cross_compiling=no
1684   else
1685     if test "$cross_compiling" = maybe; then
1686         cross_compiling=yes
1687     else
1688         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1689 If you meant to cross compile, use \`--host'.
1690 See \`config.log' for more details." >&5
1691 echo "$as_me: error: cannot run C compiled programs.
1692 If you meant to cross compile, use \`--host'.
1693 See \`config.log' for more details." >&2;}
1694    { (exit 1); exit 1; }; }
1695     fi
1696   fi
1697 fi
1698 echo "$as_me:$LINENO: result: yes" >&5
1699 echo "${ECHO_T}yes" >&6
1700
1701 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1702 ac_clean_files=$ac_clean_files_save
1703 # Check the compiler produces executables we can run.  If not, either
1704 # the compiler is broken, or we cross compile.
1705 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1706 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1707 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1708 echo "${ECHO_T}$cross_compiling" >&6
1709
1710 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1711 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1713   (eval $ac_link) 2>&5
1714   ac_status=$?
1715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1716   (exit $ac_status); }; then
1717   # If both `conftest.exe' and `conftest' are `present' (well, observable)
1718 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1719 # work properly (i.e., refer to `conftest.exe'), while it won't with
1720 # `rm'.
1721 for ac_file in conftest.exe conftest conftest.*; do
1722   test -f "$ac_file" || continue
1723   case $ac_file in
1724     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1725     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1726           export ac_cv_exeext
1727           break;;
1728     * ) break;;
1729   esac
1730 done
1731 else
1732   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1733 See \`config.log' for more details." >&5
1734 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1735 See \`config.log' for more details." >&2;}
1736    { (exit 1); exit 1; }; }
1737 fi
1738
1739 rm -f conftest$ac_cv_exeext
1740 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1741 echo "${ECHO_T}$ac_cv_exeext" >&6
1742
1743 rm -f conftest.$ac_ext
1744 EXEEXT=$ac_cv_exeext
1745 ac_exeext=$EXEEXT
1746 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1747 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1748 if test "${ac_cv_objext+set}" = set; then
1749   echo $ECHO_N "(cached) $ECHO_C" >&6
1750 else
1751   cat >conftest.$ac_ext <<_ACEOF
1752 /* confdefs.h.  */
1753 _ACEOF
1754 cat confdefs.h >>conftest.$ac_ext
1755 cat >>conftest.$ac_ext <<_ACEOF
1756 /* end confdefs.h.  */
1757
1758 int
1759 main ()
1760 {
1761
1762   ;
1763   return 0;
1764 }
1765 _ACEOF
1766 rm -f conftest.o conftest.obj
1767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1768   (eval $ac_compile) 2>&5
1769   ac_status=$?
1770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1771   (exit $ac_status); }; then
1772   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1773   case $ac_file in
1774     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1775     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1776        break;;
1777   esac
1778 done
1779 else
1780   echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1782
1783 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1784 See \`config.log' for more details." >&5
1785 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1786 See \`config.log' for more details." >&2;}
1787    { (exit 1); exit 1; }; }
1788 fi
1789
1790 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1791 fi
1792 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1793 echo "${ECHO_T}$ac_cv_objext" >&6
1794 OBJEXT=$ac_cv_objext
1795 ac_objext=$OBJEXT
1796 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1797 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1798 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1799   echo $ECHO_N "(cached) $ECHO_C" >&6
1800 else
1801   cat >conftest.$ac_ext <<_ACEOF
1802 /* confdefs.h.  */
1803 _ACEOF
1804 cat confdefs.h >>conftest.$ac_ext
1805 cat >>conftest.$ac_ext <<_ACEOF
1806 /* end confdefs.h.  */
1807
1808 int
1809 main ()
1810 {
1811 #ifndef __GNUC__
1812        choke me
1813 #endif
1814
1815   ;
1816   return 0;
1817 }
1818 _ACEOF
1819 rm -f conftest.$ac_objext
1820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1821   (eval $ac_compile) 2>conftest.er1
1822   ac_status=$?
1823   grep -v '^ *+' conftest.er1 >conftest.err
1824   rm -f conftest.er1
1825   cat conftest.err >&5
1826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1827   (exit $ac_status); } &&
1828          { ac_try='test -z "$ac_c_werror_flag"
1829                          || 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"
1888                          || test ! -s conftest.err'
1889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1890   (eval $ac_try) 2>&5
1891   ac_status=$?
1892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1893   (exit $ac_status); }; } &&
1894          { ac_try='test -s conftest.$ac_objext'
1895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1896   (eval $ac_try) 2>&5
1897   ac_status=$?
1898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1899   (exit $ac_status); }; }; then
1900   ac_cv_prog_cc_g=yes
1901 else
1902   echo "$as_me: failed program was:" >&5
1903 sed 's/^/| /' conftest.$ac_ext >&5
1904
1905 ac_cv_prog_cc_g=no
1906 fi
1907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1908 fi
1909 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1910 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1911 if test "$ac_test_CFLAGS" = set; then
1912   CFLAGS=$ac_save_CFLAGS
1913 elif test $ac_cv_prog_cc_g = yes; then
1914   if test "$GCC" = yes; then
1915     CFLAGS="-g -O2"
1916   else
1917     CFLAGS="-g"
1918   fi
1919 else
1920   if test "$GCC" = yes; then
1921     CFLAGS="-O2"
1922   else
1923     CFLAGS=
1924   fi
1925 fi
1926 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1927 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1928 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1929   echo $ECHO_N "(cached) $ECHO_C" >&6
1930 else
1931   ac_cv_prog_cc_stdc=no
1932 ac_save_CC=$CC
1933 cat >conftest.$ac_ext <<_ACEOF
1934 /* confdefs.h.  */
1935 _ACEOF
1936 cat confdefs.h >>conftest.$ac_ext
1937 cat >>conftest.$ac_ext <<_ACEOF
1938 /* end confdefs.h.  */
1939 #include <stdarg.h>
1940 #include <stdio.h>
1941 #include <sys/types.h>
1942 #include <sys/stat.h>
1943 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
1944 struct buf { int x; };
1945 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1946 static char *e (p, i)
1947      char **p;
1948      int i;
1949 {
1950   return p[i];
1951 }
1952 static char *f (char * (*g) (char **, int), char **p, ...)
1953 {
1954   char *s;
1955   va_list v;
1956   va_start (v,p);
1957   s = g (p, va_arg (v,int));
1958   va_end (v);
1959   return s;
1960 }
1961
1962 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
1963    function prototypes and stuff, but not '\xHH' hex character constants.
1964    These don't provoke an error unfortunately, instead are silently treated
1965    as 'x'.  The following induces an error, until -std1 is added to get
1966    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
1967    array size at least.  It's necessary to write '\x00'==0 to get something
1968    that's true only with -std1.  */
1969 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1970
1971 int test (int i, double x);
1972 struct s1 {int (*f) (int a);};
1973 struct s2 {int (*f) (double a);};
1974 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1975 int argc;
1976 char **argv;
1977 int
1978 main ()
1979 {
1980 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
1981   ;
1982   return 0;
1983 }
1984 _ACEOF
1985 # Don't try gcc -ansi; that turns off useful extensions and
1986 # breaks some systems' header files.
1987 # AIX                   -qlanglvl=ansi
1988 # Ultrix and OSF/1      -std1
1989 # HP-UX 10.20 and later -Ae
1990 # HP-UX older versions  -Aa -D_HPUX_SOURCE
1991 # SVR4                  -Xc -D__EXTENSIONS__
1992 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1993 do
1994   CC="$ac_save_CC $ac_arg"
1995   rm -f conftest.$ac_objext
1996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1997   (eval $ac_compile) 2>conftest.er1
1998   ac_status=$?
1999   grep -v '^ *+' conftest.er1 >conftest.err
2000   rm -f conftest.er1
2001   cat conftest.err >&5
2002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2003   (exit $ac_status); } &&
2004          { ac_try='test -z "$ac_c_werror_flag"
2005                          || test ! -s conftest.err'
2006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2007   (eval $ac_try) 2>&5
2008   ac_status=$?
2009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2010   (exit $ac_status); }; } &&
2011          { ac_try='test -s conftest.$ac_objext'
2012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2013   (eval $ac_try) 2>&5
2014   ac_status=$?
2015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2016   (exit $ac_status); }; }; then
2017   ac_cv_prog_cc_stdc=$ac_arg
2018 break
2019 else
2020   echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.$ac_ext >&5
2022
2023 fi
2024 rm -f conftest.err conftest.$ac_objext
2025 done
2026 rm -f conftest.$ac_ext conftest.$ac_objext
2027 CC=$ac_save_CC
2028
2029 fi
2030
2031 case "x$ac_cv_prog_cc_stdc" in
2032   x|xno)
2033     echo "$as_me:$LINENO: result: none needed" >&5
2034 echo "${ECHO_T}none needed" >&6 ;;
2035   *)
2036     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2037 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2038     CC="$CC $ac_cv_prog_cc_stdc" ;;
2039 esac
2040
2041 # Some people use a C++ compiler to compile C.  Since we use `exit',
2042 # in C++ we need to declare it.  In case someone uses the same compiler
2043 # for both compiling C and C++ we need to have the C++ compiler decide
2044 # the declaration of exit, since it's the most demanding environment.
2045 cat >conftest.$ac_ext <<_ACEOF
2046 #ifndef __cplusplus
2047   choke me
2048 #endif
2049 _ACEOF
2050 rm -f conftest.$ac_objext
2051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2052   (eval $ac_compile) 2>conftest.er1
2053   ac_status=$?
2054   grep -v '^ *+' conftest.er1 >conftest.err
2055   rm -f conftest.er1
2056   cat conftest.err >&5
2057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2058   (exit $ac_status); } &&
2059          { ac_try='test -z "$ac_c_werror_flag"
2060                          || test ! -s conftest.err'
2061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2062   (eval $ac_try) 2>&5
2063   ac_status=$?
2064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065   (exit $ac_status); }; } &&
2066          { ac_try='test -s conftest.$ac_objext'
2067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2068   (eval $ac_try) 2>&5
2069   ac_status=$?
2070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071   (exit $ac_status); }; }; then
2072   for ac_declaration in \
2073    '' \
2074    'extern "C" void std::exit (int) throw (); using std::exit;' \
2075    'extern "C" void std::exit (int); using std::exit;' \
2076    'extern "C" void exit (int) throw ();' \
2077    'extern "C" void exit (int);' \
2078    'void exit (int);'
2079 do
2080   cat >conftest.$ac_ext <<_ACEOF
2081 /* confdefs.h.  */
2082 _ACEOF
2083 cat confdefs.h >>conftest.$ac_ext
2084 cat >>conftest.$ac_ext <<_ACEOF
2085 /* end confdefs.h.  */
2086 $ac_declaration
2087 #include <stdlib.h>
2088 int
2089 main ()
2090 {
2091 exit (42);
2092   ;
2093   return 0;
2094 }
2095 _ACEOF
2096 rm -f conftest.$ac_objext
2097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2098   (eval $ac_compile) 2>conftest.er1
2099   ac_status=$?
2100   grep -v '^ *+' conftest.er1 >conftest.err
2101   rm -f conftest.er1
2102   cat conftest.err >&5
2103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2104   (exit $ac_status); } &&
2105          { ac_try='test -z "$ac_c_werror_flag"
2106                          || test ! -s conftest.err'
2107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2108   (eval $ac_try) 2>&5
2109   ac_status=$?
2110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2111   (exit $ac_status); }; } &&
2112          { ac_try='test -s conftest.$ac_objext'
2113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2114   (eval $ac_try) 2>&5
2115   ac_status=$?
2116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2117   (exit $ac_status); }; }; then
2118   :
2119 else
2120   echo "$as_me: failed program was:" >&5
2121 sed 's/^/| /' conftest.$ac_ext >&5
2122
2123 continue
2124 fi
2125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2126   cat >conftest.$ac_ext <<_ACEOF
2127 /* confdefs.h.  */
2128 _ACEOF
2129 cat confdefs.h >>conftest.$ac_ext
2130 cat >>conftest.$ac_ext <<_ACEOF
2131 /* end confdefs.h.  */
2132 $ac_declaration
2133 int
2134 main ()
2135 {
2136 exit (42);
2137   ;
2138   return 0;
2139 }
2140 _ACEOF
2141 rm -f conftest.$ac_objext
2142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2143   (eval $ac_compile) 2>conftest.er1
2144   ac_status=$?
2145   grep -v '^ *+' conftest.er1 >conftest.err
2146   rm -f conftest.er1
2147   cat conftest.err >&5
2148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2149   (exit $ac_status); } &&
2150          { ac_try='test -z "$ac_c_werror_flag"
2151                          || test ! -s conftest.err'
2152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2153   (eval $ac_try) 2>&5
2154   ac_status=$?
2155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156   (exit $ac_status); }; } &&
2157          { ac_try='test -s conftest.$ac_objext'
2158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2159   (eval $ac_try) 2>&5
2160   ac_status=$?
2161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2162   (exit $ac_status); }; }; then
2163   break
2164 else
2165   echo "$as_me: failed program was:" >&5
2166 sed 's/^/| /' conftest.$ac_ext >&5
2167
2168 fi
2169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2170 done
2171 rm -f conftest*
2172 if test -n "$ac_declaration"; then
2173   echo '#ifdef __cplusplus' >>confdefs.h
2174   echo $ac_declaration      >>confdefs.h
2175   echo '#endif'             >>confdefs.h
2176 fi
2177
2178 else
2179   echo "$as_me: failed program was:" >&5
2180 sed 's/^/| /' conftest.$ac_ext >&5
2181
2182 fi
2183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2184 ac_ext=c
2185 ac_cpp='$CPP $CPPFLAGS'
2186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2189
2190
2191                 EXPERIMENTAL=
2192
2193 # Check whether --with-experimental-modules or --without-experimental-modules was given.
2194 if test "${with_experimental_modules+set}" = set; then
2195   withval="$with_experimental_modules"
2196    case "$withval" in
2197                 yes)
2198                         EXPERIMENTAL=yes
2199                         ;;
2200                 *)
2201         esac
2202
2203 fi;
2204
2205         mysubdirs=
2206         if test "x$EXPERIMENTAL" = "xyes"; then
2207           for foo in `find ./drivers -name configure -print`; do
2208             bar=`echo $foo | sed 's%/configure$%%g'`
2209             mysubdirs="$mysubdirs $bar"
2210           done
2211         else
2212           for foo in `cat stable`; do
2213             mysubdirs="$mysubdirs ./drivers/$foo"
2214           done
2215         fi
2216
2217         SQL_MODULES=
2218         if test "x$EXPERIMENTAL" = "xyes"; then
2219           for foo in `ls ./drivers | grep rlm`; do
2220             SQL_MODULES="$SQL_MODULES $foo"
2221           done
2222         else
2223           for foo in `cat stable`; do
2224             SQL_MODULES="$SQL_MODULES $foo"
2225           done
2226         fi
2227
2228                 ln -s ../../../install-sh install-sh
2229
2230                                         ac_aux_dir=
2231 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2232   if test -f $ac_dir/install-sh; then
2233     ac_aux_dir=$ac_dir
2234     ac_install_sh="$ac_aux_dir/install-sh -c"
2235     break
2236   elif test -f $ac_dir/install.sh; then
2237     ac_aux_dir=$ac_dir
2238     ac_install_sh="$ac_aux_dir/install.sh -c"
2239     break
2240   elif test -f $ac_dir/shtool; then
2241     ac_aux_dir=$ac_dir
2242     ac_install_sh="$ac_aux_dir/shtool install -c"
2243     break
2244   fi
2245 done
2246 if test -z "$ac_aux_dir"; then
2247   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2248 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2249    { (exit 1); exit 1; }; }
2250 fi
2251 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2252 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2253 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2254
2255
2256
2257 subdirs="$subdirs $mysubdirs"
2258
2259         rm install-sh
2260
2261
2262         targetname=rlm_sql
2263 else
2264         targetname=
2265         echo \*\*\* module rlm_sql is disabled.
2266 fi
2267
2268 if test x"$fail" != x""; then
2269         if test x"${enable_strict_dependencies}" = x"yes"; then
2270                 { { echo "$as_me:$LINENO: error: set --without-rlm_sql to disable it explicitly." >&5
2271 echo "$as_me: error: set --without-rlm_sql to disable it explicitly." >&2;}
2272    { (exit 1); exit 1; }; }
2273         else
2274                 { echo "$as_me:$LINENO: WARNING: silently not building rlm_sql." >&5
2275 echo "$as_me: WARNING: silently not building rlm_sql." >&2;}
2276                 { echo "$as_me:$LINENO: WARNING: FAILURE: rlm_sql requires: $fail." >&5
2277 echo "$as_me: WARNING: FAILURE: rlm_sql requires: $fail." >&2;}
2278                 if test x"$headersuggestion" != x; then
2279                         { echo "$as_me:$LINENO: WARNING: $headersuggestion" >&5
2280 echo "$as_me: WARNING: $headersuggestion" >&2;}
2281                 fi
2282                 if test x"$libsuggestion" != x; then
2283                         { echo "$as_me:$LINENO: WARNING: $libsuggestion" >&5
2284 echo "$as_me: WARNING: $libsuggestion" >&2;}
2285                 fi
2286                 targetname=""
2287         fi
2288 fi
2289
2290
2291 sql_ldflags=$SMART_LIBS
2292 sql_cflags=$SMART_CFLAGS
2293
2294
2295
2296
2297                     ac_config_files="$ac_config_files ./Makefile ./drivers/Makefile"
2298 cat >confcache <<\_ACEOF
2299 # This file is a shell script that caches the results of configure
2300 # tests run on this system so they can be shared between configure
2301 # scripts and configure runs, see configure's option --config-cache.
2302 # It is not useful on other systems.  If it contains results you don't
2303 # want to keep, you may remove or edit it.
2304 #
2305 # config.status only pays attention to the cache file if you give it
2306 # the --recheck option to rerun configure.
2307 #
2308 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2309 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2310 # following values.
2311
2312 _ACEOF
2313
2314 # The following way of writing the cache mishandles newlines in values,
2315 # but we know of no workaround that is simple, portable, and efficient.
2316 # So, don't put newlines in cache variables' values.
2317 # Ultrix sh set writes to stderr and can't be redirected directly,
2318 # and sets the high bit in the cache file unless we assign to the vars.
2319 {
2320   (set) 2>&1 |
2321     case `(ac_space=' '; set | grep ac_space) 2>&1` in
2322     *ac_space=\ *)
2323       # `set' does not quote correctly, so add quotes (double-quote
2324       # substitution turns \\\\ into \\, and sed turns \\ into \).
2325       sed -n \
2326         "s/'/'\\\\''/g;
2327           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2328       ;;
2329     *)
2330       # `set' quotes correctly as required by POSIX, so do not add quotes.
2331       sed -n \
2332         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2333       ;;
2334     esac;
2335 } |
2336   sed '
2337      t clear
2338      : clear
2339      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2340      t end
2341      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2342      : end' >>confcache
2343 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2344   if test -w $cache_file; then
2345     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2346     cat confcache >$cache_file
2347   else
2348     echo "not updating unwritable cache $cache_file"
2349   fi
2350 fi
2351 rm -f confcache
2352
2353 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2354 # Let make expand exec_prefix.
2355 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2356
2357 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2358 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2359 # trailing colons and then remove the whole line if VPATH becomes empty
2360 # (actually we leave an empty line to preserve line numbers).
2361 if test "x$srcdir" = x.; then
2362   ac_vpsub='/^[  ]*VPATH[        ]*=/{
2363 s/:*\$(srcdir):*/:/;
2364 s/:*\${srcdir}:*/:/;
2365 s/:*@srcdir@:*/:/;
2366 s/^\([^=]*=[     ]*\):*/\1/;
2367 s/:*$//;
2368 s/^[^=]*=[       ]*$//;
2369 }'
2370 fi
2371
2372 # Transform confdefs.h into DEFS.
2373 # Protect against shell expansion while executing Makefile rules.
2374 # Protect against Makefile macro expansion.
2375 #
2376 # If the first sed substitution is executed (which looks for macros that
2377 # take arguments), then we branch to the quote section.  Otherwise,
2378 # look for a macro that doesn't take arguments.
2379 cat >confdef2opt.sed <<\_ACEOF
2380 t clear
2381 : clear
2382 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
2383 t quote
2384 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
2385 t quote
2386 d
2387 : quote
2388 s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
2389 s,\[,\\&,g
2390 s,\],\\&,g
2391 s,\$,$$,g
2392 p
2393 _ACEOF
2394 # We use echo to avoid assuming a particular line-breaking character.
2395 # The extra dot is to prevent the shell from consuming trailing
2396 # line-breaks from the sub-command output.  A line-break within
2397 # single-quotes doesn't work because, if this script is created in a
2398 # platform that uses two characters for line-breaks (e.g., DOS), tr
2399 # would break.
2400 ac_LF_and_DOT=`echo; echo .`
2401 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2402 rm -f confdef2opt.sed
2403
2404
2405 ac_libobjs=
2406 ac_ltlibobjs=
2407 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2408   # 1. Remove the extension, and $U if already installed.
2409   ac_i=`echo "$ac_i" |
2410          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2411   # 2. Add them.
2412   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2413   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2414 done
2415 LIBOBJS=$ac_libobjs
2416
2417 LTLIBOBJS=$ac_ltlibobjs
2418
2419
2420
2421 : ${CONFIG_STATUS=./config.status}
2422 ac_clean_files_save=$ac_clean_files
2423 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2424 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2425 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2426 cat >$CONFIG_STATUS <<_ACEOF
2427 #! $SHELL
2428 # Generated by $as_me.
2429 # Run this file to recreate the current configuration.
2430 # Compiler output produced by configure, useful for debugging
2431 # configure, is in config.log if it exists.
2432
2433 debug=false
2434 ac_cs_recheck=false
2435 ac_cs_silent=false
2436 SHELL=\${CONFIG_SHELL-$SHELL}
2437 _ACEOF
2438
2439 cat >>$CONFIG_STATUS <<\_ACEOF
2440 ## --------------------- ##
2441 ## M4sh Initialization.  ##
2442 ## --------------------- ##
2443
2444 # Be Bourne compatible
2445 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2446   emulate sh
2447   NULLCMD=:
2448   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2449   # is contrary to our usage.  Disable this feature.
2450   alias -g '${1+"$@"}'='"$@"'
2451 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2452   set -o posix
2453 fi
2454 DUALCASE=1; export DUALCASE # for MKS sh
2455
2456 # Support unset when possible.
2457 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2458   as_unset=unset
2459 else
2460   as_unset=false
2461 fi
2462
2463
2464 # Work around bugs in pre-3.0 UWIN ksh.
2465 $as_unset ENV MAIL MAILPATH
2466 PS1='$ '
2467 PS2='> '
2468 PS4='+ '
2469
2470 # NLS nuisances.
2471 for as_var in \
2472   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2473   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2474   LC_TELEPHONE LC_TIME
2475 do
2476   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2477     eval $as_var=C; export $as_var
2478   else
2479     $as_unset $as_var
2480   fi
2481 done
2482
2483 # Required to use basename.
2484 if expr a : '\(a\)' >/dev/null 2>&1; then
2485   as_expr=expr
2486 else
2487   as_expr=false
2488 fi
2489
2490 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2491   as_basename=basename
2492 else
2493   as_basename=false
2494 fi
2495
2496
2497 # Name of the executable.
2498 as_me=`$as_basename "$0" ||
2499 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2500          X"$0" : 'X\(//\)$' \| \
2501          X"$0" : 'X\(/\)$' \| \
2502          .     : '\(.\)' 2>/dev/null ||
2503 echo X/"$0" |
2504     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2505           /^X\/\(\/\/\)$/{ s//\1/; q; }
2506           /^X\/\(\/\).*/{ s//\1/; q; }
2507           s/.*/./; q'`
2508
2509
2510 # PATH needs CR, and LINENO needs CR and PATH.
2511 # Avoid depending upon Character Ranges.
2512 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2513 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2514 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2515 as_cr_digits='0123456789'
2516 as_cr_alnum=$as_cr_Letters$as_cr_digits
2517
2518 # The user is always right.
2519 if test "${PATH_SEPARATOR+set}" != set; then
2520   echo "#! /bin/sh" >conf$$.sh
2521   echo  "exit 0"   >>conf$$.sh
2522   chmod +x conf$$.sh
2523   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2524     PATH_SEPARATOR=';'
2525   else
2526     PATH_SEPARATOR=:
2527   fi
2528   rm -f conf$$.sh
2529 fi
2530
2531
2532   as_lineno_1=$LINENO
2533   as_lineno_2=$LINENO
2534   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2535   test "x$as_lineno_1" != "x$as_lineno_2" &&
2536   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
2537   # Find who we are.  Look in the path if we contain no path at all
2538   # relative or not.
2539   case $0 in
2540     *[\\/]* ) as_myself=$0 ;;
2541     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2542 for as_dir in $PATH
2543 do
2544   IFS=$as_save_IFS
2545   test -z "$as_dir" && as_dir=.
2546   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2547 done
2548
2549        ;;
2550   esac
2551   # We did not find ourselves, most probably we were run as `sh COMMAND'
2552   # in which case we are not to be found in the path.
2553   if test "x$as_myself" = x; then
2554     as_myself=$0
2555   fi
2556   if test ! -f "$as_myself"; then
2557     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2558 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2559    { (exit 1); exit 1; }; }
2560   fi
2561   case $CONFIG_SHELL in
2562   '')
2563     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2564 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2565 do
2566   IFS=$as_save_IFS
2567   test -z "$as_dir" && as_dir=.
2568   for as_base in sh bash ksh sh5; do
2569          case $as_dir in
2570          /*)
2571            if ("$as_dir/$as_base" -c '
2572   as_lineno_1=$LINENO
2573   as_lineno_2=$LINENO
2574   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2575   test "x$as_lineno_1" != "x$as_lineno_2" &&
2576   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
2577              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2578              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2579              CONFIG_SHELL=$as_dir/$as_base
2580              export CONFIG_SHELL
2581              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2582            fi;;
2583          esac
2584        done
2585 done
2586 ;;
2587   esac
2588
2589   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2590   # uniformly replaced by the line number.  The first 'sed' inserts a
2591   # line-number line before each line; the second 'sed' does the real
2592   # work.  The second script uses 'N' to pair each line-number line
2593   # with the numbered line, and appends trailing '-' during
2594   # substitution so that $LINENO is not a special case at line end.
2595   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2596   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
2597   sed '=' <$as_myself |
2598     sed '
2599       N
2600       s,$,-,
2601       : loop
2602       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2603       t loop
2604       s,-$,,
2605       s,^['$as_cr_digits']*\n,,
2606     ' >$as_me.lineno &&
2607   chmod +x $as_me.lineno ||
2608     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2609 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2610    { (exit 1); exit 1; }; }
2611
2612   # Don't try to exec as it changes $[0], causing all sort of problems
2613   # (the dirname of $[0] is not the place where we might find the
2614   # original and so on.  Autoconf is especially sensible to this).
2615   . ./$as_me.lineno
2616   # Exit status is that of the last command.
2617   exit
2618 }
2619
2620
2621 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2622   *c*,-n*) ECHO_N= ECHO_C='
2623 ' ECHO_T='      ' ;;
2624   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2625   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
2626 esac
2627
2628 if expr a : '\(a\)' >/dev/null 2>&1; then
2629   as_expr=expr
2630 else
2631   as_expr=false
2632 fi
2633
2634 rm -f conf$$ conf$$.exe conf$$.file
2635 echo >conf$$.file
2636 if ln -s conf$$.file conf$$ 2>/dev/null; then
2637   # We could just check for DJGPP; but this test a) works b) is more generic
2638   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2639   if test -f conf$$.exe; then
2640     # Don't use ln at all; we don't have any links
2641     as_ln_s='cp -p'
2642   else
2643     as_ln_s='ln -s'
2644   fi
2645 elif ln conf$$.file conf$$ 2>/dev/null; then
2646   as_ln_s=ln
2647 else
2648   as_ln_s='cp -p'
2649 fi
2650 rm -f conf$$ conf$$.exe conf$$.file
2651
2652 if mkdir -p . 2>/dev/null; then
2653   as_mkdir_p=:
2654 else
2655   test -d ./-p && rmdir ./-p
2656   as_mkdir_p=false
2657 fi
2658
2659 as_executable_p="test -f"
2660
2661 # Sed expression to map a string onto a valid CPP name.
2662 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2663
2664 # Sed expression to map a string onto a valid variable name.
2665 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2666
2667
2668 # IFS
2669 # We need space, tab and new line, in precisely that order.
2670 as_nl='
2671 '
2672 IFS="   $as_nl"
2673
2674 # CDPATH.
2675 $as_unset CDPATH
2676
2677 exec 6>&1
2678
2679 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2680 # report actual input values of CONFIG_FILES etc. instead of their
2681 # values after options handling.  Logging --version etc. is OK.
2682 exec 5>>config.log
2683 {
2684   echo
2685   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2686 ## Running $as_me. ##
2687 _ASBOX
2688 } >&5
2689 cat >&5 <<_CSEOF
2690
2691 This file was extended by $as_me, which was
2692 generated by GNU Autoconf 2.59.  Invocation command line was
2693
2694   CONFIG_FILES    = $CONFIG_FILES
2695   CONFIG_HEADERS  = $CONFIG_HEADERS
2696   CONFIG_LINKS    = $CONFIG_LINKS
2697   CONFIG_COMMANDS = $CONFIG_COMMANDS
2698   $ $0 $@
2699
2700 _CSEOF
2701 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2702 echo >&5
2703 _ACEOF
2704
2705 # Files that config.status was made for.
2706 if test -n "$ac_config_files"; then
2707   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2708 fi
2709
2710 if test -n "$ac_config_headers"; then
2711   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2712 fi
2713
2714 if test -n "$ac_config_links"; then
2715   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2716 fi
2717
2718 if test -n "$ac_config_commands"; then
2719   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2720 fi
2721
2722 cat >>$CONFIG_STATUS <<\_ACEOF
2723
2724 ac_cs_usage="\
2725 \`$as_me' instantiates files from templates according to the
2726 current configuration.
2727
2728 Usage: $0 [OPTIONS] [FILE]...
2729
2730   -h, --help       print this help, then exit
2731   -V, --version    print version number, then exit
2732   -q, --quiet      do not print progress messages
2733   -d, --debug      don't remove temporary files
2734       --recheck    update $as_me by reconfiguring in the same conditions
2735   --file=FILE[:TEMPLATE]
2736                    instantiate the configuration file FILE
2737
2738 Configuration files:
2739 $config_files
2740
2741 Report bugs to <bug-autoconf@gnu.org>."
2742 _ACEOF
2743
2744 cat >>$CONFIG_STATUS <<_ACEOF
2745 ac_cs_version="\\
2746 config.status
2747 configured by $0, generated by GNU Autoconf 2.59,
2748   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2749
2750 Copyright (C) 2003 Free Software Foundation, Inc.
2751 This config.status script is free software; the Free Software Foundation
2752 gives unlimited permission to copy, distribute and modify it."
2753 srcdir=$srcdir
2754 _ACEOF
2755
2756 cat >>$CONFIG_STATUS <<\_ACEOF
2757 # If no file are specified by the user, then we need to provide default
2758 # value.  By we need to know if files were specified by the user.
2759 ac_need_defaults=:
2760 while test $# != 0
2761 do
2762   case $1 in
2763   --*=*)
2764     ac_option=`expr "x$1" : 'x\([^=]*\)='`
2765     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2766     ac_shift=:
2767     ;;
2768   -*)
2769     ac_option=$1
2770     ac_optarg=$2
2771     ac_shift=shift
2772     ;;
2773   *) # This is not an option, so the user has probably given explicit
2774      # arguments.
2775      ac_option=$1
2776      ac_need_defaults=false;;
2777   esac
2778
2779   case $ac_option in
2780   # Handling of the options.
2781 _ACEOF
2782 cat >>$CONFIG_STATUS <<\_ACEOF
2783   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2784     ac_cs_recheck=: ;;
2785   --version | --vers* | -V )
2786     echo "$ac_cs_version"; exit 0 ;;
2787   --he | --h)
2788     # Conflict between --help and --header
2789     { { echo "$as_me:$LINENO: error: ambiguous option: $1
2790 Try \`$0 --help' for more information." >&5
2791 echo "$as_me: error: ambiguous option: $1
2792 Try \`$0 --help' for more information." >&2;}
2793    { (exit 1); exit 1; }; };;
2794   --help | --hel | -h )
2795     echo "$ac_cs_usage"; exit 0 ;;
2796   --debug | --d* | -d )
2797     debug=: ;;
2798   --file | --fil | --fi | --f )
2799     $ac_shift
2800     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2801     ac_need_defaults=false;;
2802   --header | --heade | --head | --hea )
2803     $ac_shift
2804     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2805     ac_need_defaults=false;;
2806   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2807   | -silent | --silent | --silen | --sile | --sil | --si | --s)
2808     ac_cs_silent=: ;;
2809
2810   # This is an error.
2811   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2812 Try \`$0 --help' for more information." >&5
2813 echo "$as_me: error: unrecognized option: $1
2814 Try \`$0 --help' for more information." >&2;}
2815    { (exit 1); exit 1; }; } ;;
2816
2817   *) ac_config_targets="$ac_config_targets $1" ;;
2818
2819   esac
2820   shift
2821 done
2822
2823 ac_configure_extra_args=
2824
2825 if $ac_cs_silent; then
2826   exec 6>/dev/null
2827   ac_configure_extra_args="$ac_configure_extra_args --silent"
2828 fi
2829
2830 _ACEOF
2831 cat >>$CONFIG_STATUS <<_ACEOF
2832 if \$ac_cs_recheck; then
2833   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2834   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2835 fi
2836
2837 _ACEOF
2838
2839
2840
2841
2842
2843 cat >>$CONFIG_STATUS <<\_ACEOF
2844 for ac_config_target in $ac_config_targets
2845 do
2846   case "$ac_config_target" in
2847   # Handling of arguments.
2848   "./Makefile" ) CONFIG_FILES="$CONFIG_FILES ./Makefile" ;;
2849   "./drivers/Makefile" ) CONFIG_FILES="$CONFIG_FILES ./drivers/Makefile" ;;
2850   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2851 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2852    { (exit 1); exit 1; }; };;
2853   esac
2854 done
2855
2856 # If the user did not use the arguments to specify the items to instantiate,
2857 # then the envvar interface is used.  Set only those that are not.
2858 # We use the long form for the default assignment because of an extremely
2859 # bizarre bug on SunOS 4.1.3.
2860 if $ac_need_defaults; then
2861   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2862 fi
2863
2864 # Have a temporary directory for convenience.  Make it in the build tree
2865 # simply because there is no reason to put it here, and in addition,
2866 # creating and moving files from /tmp can sometimes cause problems.
2867 # Create a temporary directory, and hook for its removal unless debugging.
2868 $debug ||
2869 {
2870   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2871   trap '{ (exit 1); exit 1; }' 1 2 13 15
2872 }
2873
2874 # Create a (secure) tmp directory for tmp files.
2875
2876 {
2877   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2878   test -n "$tmp" && test -d "$tmp"
2879 }  ||
2880 {
2881   tmp=./confstat$$-$RANDOM
2882   (umask 077 && mkdir $tmp)
2883 } ||
2884 {
2885    echo "$me: cannot create a temporary directory in ." >&2
2886    { (exit 1); exit 1; }
2887 }
2888
2889 _ACEOF
2890
2891 cat >>$CONFIG_STATUS <<_ACEOF
2892
2893 #
2894 # CONFIG_FILES section.
2895 #
2896
2897 # No need to generate the scripts if there are no CONFIG_FILES.
2898 # This happens for instance when ./config.status config.h
2899 if test -n "\$CONFIG_FILES"; then
2900   # Protect against being on the right side of a sed subst in config.status.
2901   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2902    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2903 s,@SHELL@,$SHELL,;t t
2904 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2905 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2906 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2907 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2908 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2909 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2910 s,@exec_prefix@,$exec_prefix,;t t
2911 s,@prefix@,$prefix,;t t
2912 s,@program_transform_name@,$program_transform_name,;t t
2913 s,@bindir@,$bindir,;t t
2914 s,@sbindir@,$sbindir,;t t
2915 s,@libexecdir@,$libexecdir,;t t
2916 s,@datadir@,$datadir,;t t
2917 s,@sysconfdir@,$sysconfdir,;t t
2918 s,@sharedstatedir@,$sharedstatedir,;t t
2919 s,@localstatedir@,$localstatedir,;t t
2920 s,@libdir@,$libdir,;t t
2921 s,@includedir@,$includedir,;t t
2922 s,@oldincludedir@,$oldincludedir,;t t
2923 s,@infodir@,$infodir,;t t
2924 s,@mandir@,$mandir,;t t
2925 s,@build_alias@,$build_alias,;t t
2926 s,@host_alias@,$host_alias,;t t
2927 s,@target_alias@,$target_alias,;t t
2928 s,@DEFS@,$DEFS,;t t
2929 s,@ECHO_C@,$ECHO_C,;t t
2930 s,@ECHO_N@,$ECHO_N,;t t
2931 s,@ECHO_T@,$ECHO_T,;t t
2932 s,@LIBS@,$LIBS,;t t
2933 s,@CC@,$CC,;t t
2934 s,@CFLAGS@,$CFLAGS,;t t
2935 s,@LDFLAGS@,$LDFLAGS,;t t
2936 s,@CPPFLAGS@,$CPPFLAGS,;t t
2937 s,@ac_ct_CC@,$ac_ct_CC,;t t
2938 s,@EXEEXT@,$EXEEXT,;t t
2939 s,@OBJEXT@,$OBJEXT,;t t
2940 s,@subdirs@,$subdirs,;t t
2941 s,@sql_ldflags@,$sql_ldflags,;t t
2942 s,@sql_cflags@,$sql_cflags,;t t
2943 s,@targetname@,$targetname,;t t
2944 s,@SQL_MODULES@,$SQL_MODULES,;t t
2945 s,@LIBOBJS@,$LIBOBJS,;t t
2946 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2947 CEOF
2948
2949 _ACEOF
2950
2951   cat >>$CONFIG_STATUS <<\_ACEOF
2952   # Split the substitutions into bite-sized pieces for seds with
2953   # small command number limits, like on Digital OSF/1 and HP-UX.
2954   ac_max_sed_lines=48
2955   ac_sed_frag=1 # Number of current file.
2956   ac_beg=1 # First line for current file.
2957   ac_end=$ac_max_sed_lines # Line after last line for current file.
2958   ac_more_lines=:
2959   ac_sed_cmds=
2960   while $ac_more_lines; do
2961     if test $ac_beg -gt 1; then
2962       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2963     else
2964       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2965     fi
2966     if test ! -s $tmp/subs.frag; then
2967       ac_more_lines=false
2968     else
2969       # The purpose of the label and of the branching condition is to
2970       # speed up the sed processing (if there are no `@' at all, there
2971       # is no need to browse any of the substitutions).
2972       # These are the two extra sed commands mentioned above.
2973       (echo ':t
2974   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2975       if test -z "$ac_sed_cmds"; then
2976         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2977       else
2978         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2979       fi
2980       ac_sed_frag=`expr $ac_sed_frag + 1`
2981       ac_beg=$ac_end
2982       ac_end=`expr $ac_end + $ac_max_sed_lines`
2983     fi
2984   done
2985   if test -z "$ac_sed_cmds"; then
2986     ac_sed_cmds=cat
2987   fi
2988 fi # test -n "$CONFIG_FILES"
2989
2990 _ACEOF
2991 cat >>$CONFIG_STATUS <<\_ACEOF
2992 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2993   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2994   case $ac_file in
2995   - | *:- | *:-:* ) # input from stdin
2996         cat >$tmp/stdin
2997         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2998         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2999   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3000         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3001   * )   ac_file_in=$ac_file.in ;;
3002   esac
3003
3004   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3005   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3006 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3007          X"$ac_file" : 'X\(//\)[^/]' \| \
3008          X"$ac_file" : 'X\(//\)$' \| \
3009          X"$ac_file" : 'X\(/\)' \| \
3010          .     : '\(.\)' 2>/dev/null ||
3011 echo X"$ac_file" |
3012     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3013           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3014           /^X\(\/\/\)$/{ s//\1/; q; }
3015           /^X\(\/\).*/{ s//\1/; q; }
3016           s/.*/./; q'`
3017   { if $as_mkdir_p; then
3018     mkdir -p "$ac_dir"
3019   else
3020     as_dir="$ac_dir"
3021     as_dirs=
3022     while test ! -d "$as_dir"; do
3023       as_dirs="$as_dir $as_dirs"
3024       as_dir=`(dirname "$as_dir") 2>/dev/null ||
3025 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3026          X"$as_dir" : 'X\(//\)[^/]' \| \
3027          X"$as_dir" : 'X\(//\)$' \| \
3028          X"$as_dir" : 'X\(/\)' \| \
3029          .     : '\(.\)' 2>/dev/null ||
3030 echo X"$as_dir" |
3031     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3032           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3033           /^X\(\/\/\)$/{ s//\1/; q; }
3034           /^X\(\/\).*/{ s//\1/; q; }
3035           s/.*/./; q'`
3036     done
3037     test ! -n "$as_dirs" || mkdir $as_dirs
3038   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3039 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3040    { (exit 1); exit 1; }; }; }
3041
3042   ac_builddir=.
3043
3044 if test "$ac_dir" != .; then
3045   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3046   # A "../" for each directory in $ac_dir_suffix.
3047   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3048 else
3049   ac_dir_suffix= ac_top_builddir=
3050 fi
3051
3052 case $srcdir in
3053   .)  # No --srcdir option.  We are building in place.
3054     ac_srcdir=.
3055     if test -z "$ac_top_builddir"; then
3056        ac_top_srcdir=.
3057     else
3058        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3059     fi ;;
3060   [\\/]* | ?:[\\/]* )  # Absolute path.
3061     ac_srcdir=$srcdir$ac_dir_suffix;
3062     ac_top_srcdir=$srcdir ;;
3063   *) # Relative path.
3064     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3065     ac_top_srcdir=$ac_top_builddir$srcdir ;;
3066 esac
3067
3068 # Do not use `cd foo && pwd` to compute absolute paths, because
3069 # the directories may not exist.
3070 case `pwd` in
3071 .) ac_abs_builddir="$ac_dir";;
3072 *)
3073   case "$ac_dir" in
3074   .) ac_abs_builddir=`pwd`;;
3075   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3076   *) ac_abs_builddir=`pwd`/"$ac_dir";;
3077   esac;;
3078 esac
3079 case $ac_abs_builddir in
3080 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3081 *)
3082   case ${ac_top_builddir}. in
3083   .) ac_abs_top_builddir=$ac_abs_builddir;;
3084   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3085   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3086   esac;;
3087 esac
3088 case $ac_abs_builddir in
3089 .) ac_abs_srcdir=$ac_srcdir;;
3090 *)
3091   case $ac_srcdir in
3092   .) ac_abs_srcdir=$ac_abs_builddir;;
3093   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3094   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3095   esac;;
3096 esac
3097 case $ac_abs_builddir in
3098 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3099 *)
3100   case $ac_top_srcdir in
3101   .) ac_abs_top_srcdir=$ac_abs_builddir;;
3102   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3103   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3104   esac;;
3105 esac
3106
3107
3108
3109   if test x"$ac_file" != x-; then
3110     { echo "$as_me:$LINENO: creating $ac_file" >&5
3111 echo "$as_me: creating $ac_file" >&6;}
3112     rm -f "$ac_file"
3113   fi
3114   # Let's still pretend it is `configure' which instantiates (i.e., don't
3115   # use $as_me), people would be surprised to read:
3116   #    /* config.h.  Generated by config.status.  */
3117   if test x"$ac_file" = x-; then
3118     configure_input=
3119   else
3120     configure_input="$ac_file.  "
3121   fi
3122   configure_input=$configure_input"Generated from `echo $ac_file_in |
3123                                      sed 's,.*/,,'` by configure."
3124
3125   # First look for the input files in the build tree, otherwise in the
3126   # src tree.
3127   ac_file_inputs=`IFS=:
3128     for f in $ac_file_in; do
3129       case $f in
3130       -) echo $tmp/stdin ;;
3131       [\\/$]*)
3132          # Absolute (can't be DOS-style, as IFS=:)
3133          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3134 echo "$as_me: error: cannot find input file: $f" >&2;}
3135    { (exit 1); exit 1; }; }
3136          echo "$f";;
3137       *) # Relative
3138          if test -f "$f"; then
3139            # Build tree
3140            echo "$f"
3141          elif test -f "$srcdir/$f"; then
3142            # Source tree
3143            echo "$srcdir/$f"
3144          else
3145            # /dev/null tree
3146            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3147 echo "$as_me: error: cannot find input file: $f" >&2;}
3148    { (exit 1); exit 1; }; }
3149          fi;;
3150       esac
3151     done` || { (exit 1); exit 1; }
3152 _ACEOF
3153 cat >>$CONFIG_STATUS <<_ACEOF
3154   sed "$ac_vpsub
3155 $extrasub
3156 _ACEOF
3157 cat >>$CONFIG_STATUS <<\_ACEOF
3158 :t
3159 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3160 s,@configure_input@,$configure_input,;t t
3161 s,@srcdir@,$ac_srcdir,;t t
3162 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3163 s,@top_srcdir@,$ac_top_srcdir,;t t
3164 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3165 s,@builddir@,$ac_builddir,;t t
3166 s,@abs_builddir@,$ac_abs_builddir,;t t
3167 s,@top_builddir@,$ac_top_builddir,;t t
3168 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3169 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3170   rm -f $tmp/stdin
3171   if test x"$ac_file" != x-; then
3172     mv $tmp/out $ac_file
3173   else
3174     cat $tmp/out
3175     rm -f $tmp/out
3176   fi
3177
3178 done
3179 _ACEOF
3180
3181 cat >>$CONFIG_STATUS <<\_ACEOF
3182
3183 { (exit 0); exit 0; }
3184 _ACEOF
3185 chmod +x $CONFIG_STATUS
3186 ac_clean_files=$ac_clean_files_save
3187
3188
3189 # configure is writing to config.log, and then calls config.status.
3190 # config.status does its own redirection, appending to config.log.
3191 # Unfortunately, on DOS this fails, as config.log is still kept open
3192 # by configure, so config.status won't be able to write to it; its
3193 # output is simply discarded.  So we exec the FD to /dev/null,
3194 # effectively closing config.log, so it can be properly (re)opened and
3195 # appended to by config.status.  When coming back to configure, we
3196 # need to make the FD available again.
3197 if test "$no_create" != yes; then
3198   ac_cs_success=:
3199   ac_config_status_args=
3200   test "$silent" = yes &&
3201     ac_config_status_args="$ac_config_status_args --quiet"
3202   exec 5>/dev/null
3203   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3204   exec 5>>config.log
3205   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3206   # would make configure fail if this is the last instruction.
3207   $ac_cs_success || { (exit 1); exit 1; }
3208 fi
3209
3210 #
3211 # CONFIG_SUBDIRS section.
3212 #
3213 if test "$no_recursion" != yes; then
3214
3215   # Remove --cache-file and --srcdir arguments so they do not pile up.
3216   ac_sub_configure_args=
3217   ac_prev=
3218   for ac_arg in $ac_configure_args; do
3219     if test -n "$ac_prev"; then
3220       ac_prev=
3221       continue
3222     fi
3223     case $ac_arg in
3224     -cache-file | --cache-file | --cache-fil | --cache-fi \
3225     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3226       ac_prev=cache_file ;;
3227     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3228     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3229     | --c=*)
3230       ;;
3231     --config-cache | -C)
3232       ;;
3233     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3234       ac_prev=srcdir ;;
3235     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3236       ;;
3237     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3238       ac_prev=prefix ;;
3239     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3240       ;;
3241     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3242     esac
3243   done
3244
3245   # Always prepend --prefix to ensure using the same prefix
3246   # in subdir configurations.
3247   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
3248
3249   ac_popdir=`pwd`
3250   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3251
3252     # Do not complain, so a configure script can configure whichever
3253     # parts of a large source tree are present.
3254     test -d $srcdir/$ac_dir || continue
3255
3256     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
3257 echo "$as_me: configuring in $ac_dir" >&6;}
3258     { if $as_mkdir_p; then
3259     mkdir -p "$ac_dir"
3260   else
3261     as_dir="$ac_dir"
3262     as_dirs=
3263     while test ! -d "$as_dir"; do
3264       as_dirs="$as_dir $as_dirs"
3265       as_dir=`(dirname "$as_dir") 2>/dev/null ||
3266 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3267          X"$as_dir" : 'X\(//\)[^/]' \| \
3268          X"$as_dir" : 'X\(//\)$' \| \
3269          X"$as_dir" : 'X\(/\)' \| \
3270          .     : '\(.\)' 2>/dev/null ||
3271 echo X"$as_dir" |
3272     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3273           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3274           /^X\(\/\/\)$/{ s//\1/; q; }
3275           /^X\(\/\).*/{ s//\1/; q; }
3276           s/.*/./; q'`
3277     done
3278     test ! -n "$as_dirs" || mkdir $as_dirs
3279   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3280 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3281    { (exit 1); exit 1; }; }; }
3282
3283     ac_builddir=.
3284
3285 if test "$ac_dir" != .; then
3286   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3287   # A "../" for each directory in $ac_dir_suffix.
3288   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3289 else
3290   ac_dir_suffix= ac_top_builddir=
3291 fi
3292
3293 case $srcdir in
3294   .)  # No --srcdir option.  We are building in place.
3295     ac_srcdir=.
3296     if test -z "$ac_top_builddir"; then
3297        ac_top_srcdir=.
3298     else
3299        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3300     fi ;;
3301   [\\/]* | ?:[\\/]* )  # Absolute path.
3302     ac_srcdir=$srcdir$ac_dir_suffix;
3303     ac_top_srcdir=$srcdir ;;
3304   *) # Relative path.
3305     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3306     ac_top_srcdir=$ac_top_builddir$srcdir ;;
3307 esac
3308
3309 # Do not use `cd foo && pwd` to compute absolute paths, because
3310 # the directories may not exist.
3311 case `pwd` in
3312 .) ac_abs_builddir="$ac_dir";;
3313 *)
3314   case "$ac_dir" in
3315   .) ac_abs_builddir=`pwd`;;
3316   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3317   *) ac_abs_builddir=`pwd`/"$ac_dir";;
3318   esac;;
3319 esac
3320 case $ac_abs_builddir in
3321 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3322 *)
3323   case ${ac_top_builddir}. in
3324   .) ac_abs_top_builddir=$ac_abs_builddir;;
3325   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3326   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3327   esac;;
3328 esac
3329 case $ac_abs_builddir in
3330 .) ac_abs_srcdir=$ac_srcdir;;
3331 *)
3332   case $ac_srcdir in
3333   .) ac_abs_srcdir=$ac_abs_builddir;;
3334   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3335   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3336   esac;;
3337 esac
3338 case $ac_abs_builddir in
3339 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3340 *)
3341   case $ac_top_srcdir in
3342   .) ac_abs_top_srcdir=$ac_abs_builddir;;
3343   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3344   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3345   esac;;
3346 esac
3347
3348
3349     cd $ac_dir
3350
3351     # Check for guested configure; otherwise get Cygnus style configure.
3352     if test -f $ac_srcdir/configure.gnu; then
3353       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
3354     elif test -f $ac_srcdir/configure; then
3355       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
3356     elif test -f $ac_srcdir/configure.in; then
3357       ac_sub_configure=$ac_configure
3358     else
3359       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
3360 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3361       ac_sub_configure=
3362     fi
3363
3364     # The recursion is here.
3365     if test -n "$ac_sub_configure"; then
3366       # Make the cache file name correct relative to the subdirectory.
3367       case $cache_file in
3368       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3369       *) # Relative path.
3370         ac_sub_cache_file=$ac_top_builddir$cache_file ;;
3371       esac
3372
3373       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3374 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3375       # The eval makes quoting arguments work.
3376       eval $ac_sub_configure $ac_sub_configure_args \
3377            --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
3378         { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
3379 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
3380    { (exit 1); exit 1; }; }
3381     fi
3382
3383     cd $ac_popdir
3384   done
3385 fi
3386