If we're building experimental modules, go into a directory ONLY
[freeradius.git] / src / modules / rlm_sql / configure
1 #! /bin/sh
2 # From configure.in Revision: 1.4 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61.
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization.  ##
12 ## --------------------- ##
13
14 # Be more Bourne compatible
15 DUALCASE=1; export DUALCASE # for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17   emulate sh
18   NULLCMD=:
19   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20   # is contrary to our usage.  Disable this feature.
21   alias -g '${1+"$@"}'='"$@"'
22   setopt NO_GLOB_SUBST
23 else
24   case `(set -o) 2>/dev/null` in
25   *posix*) set -o posix ;;
26 esac
27
28 fi
29
30
31
32
33 # PATH needs CR
34 # Avoid depending upon Character Ranges.
35 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
38 as_cr_digits='0123456789'
39 as_cr_alnum=$as_cr_Letters$as_cr_digits
40
41 # The user is always right.
42 if test "${PATH_SEPARATOR+set}" != set; then
43   echo "#! /bin/sh" >conf$$.sh
44   echo  "exit 0"   >>conf$$.sh
45   chmod +x conf$$.sh
46   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
47     PATH_SEPARATOR=';'
48   else
49     PATH_SEPARATOR=:
50   fi
51   rm -f conf$$.sh
52 fi
53
54 # Support unset when possible.
55 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
56   as_unset=unset
57 else
58   as_unset=false
59 fi
60
61
62 # IFS
63 # We need space, tab and new line, in precisely that order.  Quoting is
64 # there to prevent editors from complaining about space-tab.
65 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66 # splitting by setting IFS to empty value.)
67 as_nl='
68 '
69 IFS=" ""        $as_nl"
70
71 # Find who we are.  Look in the path if we contain no directory separator.
72 case $0 in
73   *[\\/]* ) as_myself=$0 ;;
74   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75 for as_dir in $PATH
76 do
77   IFS=$as_save_IFS
78   test -z "$as_dir" && as_dir=.
79   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
80 done
81 IFS=$as_save_IFS
82
83      ;;
84 esac
85 # We did not find ourselves, most probably we were run as `sh COMMAND'
86 # in which case we are not to be found in the path.
87 if test "x$as_myself" = x; then
88   as_myself=$0
89 fi
90 if test ! -f "$as_myself"; then
91   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
92   { (exit 1); exit 1; }
93 fi
94
95 # Work around bugs in pre-3.0 UWIN ksh.
96 for as_var in ENV MAIL MAILPATH
97 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
98 done
99 PS1='$ '
100 PS2='> '
101 PS4='+ '
102
103 # NLS nuisances.
104 for as_var in \
105   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
106   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
107   LC_TELEPHONE LC_TIME
108 do
109   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
110     eval $as_var=C; export $as_var
111   else
112     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113   fi
114 done
115
116 # Required to use basename.
117 if expr a : '\(a\)' >/dev/null 2>&1 &&
118    test "X`expr 00001 : '.*\(...\)'`" = X001; then
119   as_expr=expr
120 else
121   as_expr=false
122 fi
123
124 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
125   as_basename=basename
126 else
127   as_basename=false
128 fi
129
130
131 # Name of the executable.
132 as_me=`$as_basename -- "$0" ||
133 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
134          X"$0" : 'X\(//\)$' \| \
135          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 echo X/"$0" |
137     sed '/^.*\/\([^/][^/]*\)\/*$/{
138             s//\1/
139             q
140           }
141           /^X\/\(\/\/\)$/{
142             s//\1/
143             q
144           }
145           /^X\/\(\/\).*/{
146             s//\1/
147             q
148           }
149           s/.*/./; q'`
150
151 # CDPATH.
152 $as_unset CDPATH
153
154
155 if test "x$CONFIG_SHELL" = x; then
156   if (eval ":") 2>/dev/null; then
157   as_have_required=yes
158 else
159   as_have_required=no
160 fi
161
162   if test $as_have_required = yes &&     (eval ":
163 (as_func_return () {
164   (exit \$1)
165 }
166 as_func_success () {
167   as_func_return 0
168 }
169 as_func_failure () {
170   as_func_return 1
171 }
172 as_func_ret_success () {
173   return 0
174 }
175 as_func_ret_failure () {
176   return 1
177 }
178
179 exitcode=0
180 if as_func_success; then
181   :
182 else
183   exitcode=1
184   echo as_func_success failed.
185 fi
186
187 if as_func_failure; then
188   exitcode=1
189   echo as_func_failure succeeded.
190 fi
191
192 if as_func_ret_success; then
193   :
194 else
195   exitcode=1
196   echo as_func_ret_success failed.
197 fi
198
199 if as_func_ret_failure; then
200   exitcode=1
201   echo as_func_ret_failure succeeded.
202 fi
203
204 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205   :
206 else
207   exitcode=1
208   echo positional parameters were not saved.
209 fi
210
211 test \$exitcode = 0) || { (exit 1); exit 1; }
212
213 (
214   as_lineno_1=\$LINENO
215   as_lineno_2=\$LINENO
216   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
217   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
218 ") 2> /dev/null; then
219   :
220 else
221   as_candidate_shells=
222     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
223 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
224 do
225   IFS=$as_save_IFS
226   test -z "$as_dir" && as_dir=.
227   case $as_dir in
228          /*)
229            for as_base in sh bash ksh sh5; do
230              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
231            done;;
232        esac
233 done
234 IFS=$as_save_IFS
235
236
237       for as_shell in $as_candidate_shells $SHELL; do
238          # Try only shells that exist, to save several forks.
239          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
240                 { ("$as_shell") 2> /dev/null <<\_ASEOF
241 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
242   emulate sh
243   NULLCMD=:
244   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
245   # is contrary to our usage.  Disable this feature.
246   alias -g '${1+"$@"}'='"$@"'
247   setopt NO_GLOB_SUBST
248 else
249   case `(set -o) 2>/dev/null` in
250   *posix*) set -o posix ;;
251 esac
252
253 fi
254
255
256 :
257 _ASEOF
258 }; then
259   CONFIG_SHELL=$as_shell
260                as_have_required=yes
261                if { "$as_shell" 2> /dev/null <<\_ASEOF
262 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
263   emulate sh
264   NULLCMD=:
265   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
266   # is contrary to our usage.  Disable this feature.
267   alias -g '${1+"$@"}'='"$@"'
268   setopt NO_GLOB_SUBST
269 else
270   case `(set -o) 2>/dev/null` in
271   *posix*) set -o posix ;;
272 esac
273
274 fi
275
276
277 :
278 (as_func_return () {
279   (exit $1)
280 }
281 as_func_success () {
282   as_func_return 0
283 }
284 as_func_failure () {
285   as_func_return 1
286 }
287 as_func_ret_success () {
288   return 0
289 }
290 as_func_ret_failure () {
291   return 1
292 }
293
294 exitcode=0
295 if as_func_success; then
296   :
297 else
298   exitcode=1
299   echo as_func_success failed.
300 fi
301
302 if as_func_failure; then
303   exitcode=1
304   echo as_func_failure succeeded.
305 fi
306
307 if as_func_ret_success; then
308   :
309 else
310   exitcode=1
311   echo as_func_ret_success failed.
312 fi
313
314 if as_func_ret_failure; then
315   exitcode=1
316   echo as_func_ret_failure succeeded.
317 fi
318
319 if ( set x; as_func_ret_success y && test x = "$1" ); then
320   :
321 else
322   exitcode=1
323   echo positional parameters were not saved.
324 fi
325
326 test $exitcode = 0) || { (exit 1); exit 1; }
327
328 (
329   as_lineno_1=$LINENO
330   as_lineno_2=$LINENO
331   test "x$as_lineno_1" != "x$as_lineno_2" &&
332   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
333
334 _ASEOF
335 }; then
336   break
337 fi
338
339 fi
340
341       done
342
343       if test "x$CONFIG_SHELL" != x; then
344   for as_var in BASH_ENV ENV
345         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
346         done
347         export CONFIG_SHELL
348         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
349 fi
350
351
352     if test $as_have_required = no; then
353   echo This script requires a shell more modern than all the
354       echo shells that I found on your system.  Please install a
355       echo modern shell, or manually run the script under such a
356       echo shell if you do have one.
357       { (exit 1); exit 1; }
358 fi
359
360
361 fi
362
363 fi
364
365
366
367 (eval "as_func_return () {
368   (exit \$1)
369 }
370 as_func_success () {
371   as_func_return 0
372 }
373 as_func_failure () {
374   as_func_return 1
375 }
376 as_func_ret_success () {
377   return 0
378 }
379 as_func_ret_failure () {
380   return 1
381 }
382
383 exitcode=0
384 if as_func_success; then
385   :
386 else
387   exitcode=1
388   echo as_func_success failed.
389 fi
390
391 if as_func_failure; then
392   exitcode=1
393   echo as_func_failure succeeded.
394 fi
395
396 if as_func_ret_success; then
397   :
398 else
399   exitcode=1
400   echo as_func_ret_success failed.
401 fi
402
403 if as_func_ret_failure; then
404   exitcode=1
405   echo as_func_ret_failure succeeded.
406 fi
407
408 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
409   :
410 else
411   exitcode=1
412   echo positional parameters were not saved.
413 fi
414
415 test \$exitcode = 0") || {
416   echo No shell found that supports shell functions.
417   echo Please tell autoconf@gnu.org about your system,
418   echo including any error possibly output before this
419   echo message
420 }
421
422
423
424   as_lineno_1=$LINENO
425   as_lineno_2=$LINENO
426   test "x$as_lineno_1" != "x$as_lineno_2" &&
427   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428
429   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
430   # uniformly replaced by the line number.  The first 'sed' inserts a
431   # line-number line after each line using $LINENO; the second 'sed'
432   # does the real work.  The second script uses 'N' to pair each
433   # line-number line with the line containing $LINENO, and appends
434   # trailing '-' during substitution so that $LINENO is not a special
435   # case at line end.
436   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
437   # scripts with optimization help from Paolo Bonzini.  Blame Lee
438   # E. McMahon (1931-1989) for sed's syntax.  :-)
439   sed -n '
440     p
441     /[$]LINENO/=
442   ' <$as_myself |
443     sed '
444       s/[$]LINENO.*/&-/
445       t lineno
446       b
447       :lineno
448       N
449       :loop
450       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
451       t loop
452       s/-\n.*//
453     ' >$as_me.lineno &&
454   chmod +x "$as_me.lineno" ||
455     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
456    { (exit 1); exit 1; }; }
457
458   # Don't try to exec as it changes $[0], causing all sort of problems
459   # (the dirname of $[0] is not the place where we might find the
460   # original and so on.  Autoconf is especially sensitive to this).
461   . "./$as_me.lineno"
462   # Exit status is that of the last command.
463   exit
464 }
465
466
467 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
468   as_dirname=dirname
469 else
470   as_dirname=false
471 fi
472
473 ECHO_C= ECHO_N= ECHO_T=
474 case `echo -n x` in
475 -n*)
476   case `echo 'x\c'` in
477   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
478   *)   ECHO_C='\c';;
479   esac;;
480 *)
481   ECHO_N='-n';;
482 esac
483
484 if expr a : '\(a\)' >/dev/null 2>&1 &&
485    test "X`expr 00001 : '.*\(...\)'`" = X001; then
486   as_expr=expr
487 else
488   as_expr=false
489 fi
490
491 rm -f conf$$ conf$$.exe conf$$.file
492 if test -d conf$$.dir; then
493   rm -f conf$$.dir/conf$$.file
494 else
495   rm -f conf$$.dir
496   mkdir conf$$.dir
497 fi
498 echo >conf$$.file
499 if ln -s conf$$.file conf$$ 2>/dev/null; then
500   as_ln_s='ln -s'
501   # ... but there are two gotchas:
502   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
503   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
504   # In both cases, we have to default to `cp -p'.
505   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506     as_ln_s='cp -p'
507 elif ln conf$$.file conf$$ 2>/dev/null; then
508   as_ln_s=ln
509 else
510   as_ln_s='cp -p'
511 fi
512 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
513 rmdir conf$$.dir 2>/dev/null
514
515 if mkdir -p . 2>/dev/null; then
516   as_mkdir_p=:
517 else
518   test -d ./-p && rmdir ./-p
519   as_mkdir_p=false
520 fi
521
522 if test -x / >/dev/null 2>&1; then
523   as_test_x='test -x'
524 else
525   if ls -dL / >/dev/null 2>&1; then
526     as_ls_L_option=L
527   else
528     as_ls_L_option=
529   fi
530   as_test_x='
531     eval sh -c '\''
532       if test -d "$1"; then
533         test -d "$1/.";
534       else
535         case $1 in
536         -*)set "./$1";;
537         esac;
538         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
539         ???[sx]*):;;*)false;;esac;fi
540     '\'' sh
541   '
542 fi
543 as_executable_p=$as_test_x
544
545 # Sed expression to map a string onto a valid CPP name.
546 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547
548 # Sed expression to map a string onto a valid variable name.
549 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
550
551
552
553 exec 7<&0 </dev/null 6>&1
554
555 # Name of the host.
556 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
557 # so uname gets run too.
558 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
559
560 #
561 # Initializations.
562 #
563 ac_default_prefix=/usr/local
564 ac_clean_files=
565 ac_config_libobj_dir=.
566 LIBOBJS=
567 cross_compiling=no
568 subdirs=
569 MFLAGS=
570 MAKEFLAGS=
571 SHELL=${CONFIG_SHELL-/bin/sh}
572
573 # Identity of this package.
574 PACKAGE_NAME=
575 PACKAGE_TARNAME=
576 PACKAGE_VERSION=
577 PACKAGE_STRING=
578 PACKAGE_BUGREPORT=
579
580 ac_unique_file="rlm_sql.c"
581 ac_subst_vars='SHELL
582 PATH_SEPARATOR
583 PACKAGE_NAME
584 PACKAGE_TARNAME
585 PACKAGE_VERSION
586 PACKAGE_STRING
587 PACKAGE_BUGREPORT
588 exec_prefix
589 prefix
590 program_transform_name
591 bindir
592 sbindir
593 libexecdir
594 datarootdir
595 datadir
596 sysconfdir
597 sharedstatedir
598 localstatedir
599 includedir
600 oldincludedir
601 docdir
602 infodir
603 htmldir
604 dvidir
605 pdfdir
606 psdir
607 libdir
608 localedir
609 mandir
610 DEFS
611 ECHO_C
612 ECHO_N
613 ECHO_T
614 LIBS
615 build_alias
616 host_alias
617 target_alias
618 CC
619 CFLAGS
620 LDFLAGS
621 CPPFLAGS
622 ac_ct_CC
623 EXEEXT
624 OBJEXT
625 subdirs
626 sql_ldflags
627 sql_cflags
628 targetname
629 SQL_MODULES
630 LIBOBJS
631 LTLIBOBJS'
632 ac_subst_files=''
633       ac_precious_vars='build_alias
634 host_alias
635 target_alias
636 CC
637 CFLAGS
638 LDFLAGS
639 LIBS
640 CPPFLAGS'
641 ac_subdirs_all='$mysubdirs'
642
643 # Initialize some variables set by options.
644 ac_init_help=
645 ac_init_version=false
646 # The variables have the same names as the options, with
647 # dashes changed to underlines.
648 cache_file=/dev/null
649 exec_prefix=NONE
650 no_create=
651 no_recursion=
652 prefix=NONE
653 program_prefix=NONE
654 program_suffix=NONE
655 program_transform_name=s,x,x,
656 silent=
657 site=
658 srcdir=
659 verbose=
660 x_includes=NONE
661 x_libraries=NONE
662
663 # Installation directory options.
664 # These are left unexpanded so users can "make install exec_prefix=/foo"
665 # and all the variables that are supposed to be based on exec_prefix
666 # by default will actually change.
667 # Use braces instead of parens because sh, perl, etc. also accept them.
668 # (The list follows the same order as the GNU Coding Standards.)
669 bindir='${exec_prefix}/bin'
670 sbindir='${exec_prefix}/sbin'
671 libexecdir='${exec_prefix}/libexec'
672 datarootdir='${prefix}/share'
673 datadir='${datarootdir}'
674 sysconfdir='${prefix}/etc'
675 sharedstatedir='${prefix}/com'
676 localstatedir='${prefix}/var'
677 includedir='${prefix}/include'
678 oldincludedir='/usr/include'
679 docdir='${datarootdir}/doc/${PACKAGE}'
680 infodir='${datarootdir}/info'
681 htmldir='${docdir}'
682 dvidir='${docdir}'
683 pdfdir='${docdir}'
684 psdir='${docdir}'
685 libdir='${exec_prefix}/lib'
686 localedir='${datarootdir}/locale'
687 mandir='${datarootdir}/man'
688
689 ac_prev=
690 ac_dashdash=
691 for ac_option
692 do
693   # If the previous option needs an argument, assign it.
694   if test -n "$ac_prev"; then
695     eval $ac_prev=\$ac_option
696     ac_prev=
697     continue
698   fi
699
700   case $ac_option in
701   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
702   *)    ac_optarg=yes ;;
703   esac
704
705   # Accept the important Cygnus configure options, so we can diagnose typos.
706
707   case $ac_dashdash$ac_option in
708   --)
709     ac_dashdash=yes ;;
710
711   -bindir | --bindir | --bindi | --bind | --bin | --bi)
712     ac_prev=bindir ;;
713   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
714     bindir=$ac_optarg ;;
715
716   -build | --build | --buil | --bui | --bu)
717     ac_prev=build_alias ;;
718   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
719     build_alias=$ac_optarg ;;
720
721   -cache-file | --cache-file | --cache-fil | --cache-fi \
722   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
723     ac_prev=cache_file ;;
724   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
725   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
726     cache_file=$ac_optarg ;;
727
728   --config-cache | -C)
729     cache_file=config.cache ;;
730
731   -datadir | --datadir | --datadi | --datad)
732     ac_prev=datadir ;;
733   -datadir=* | --datadir=* | --datadi=* | --datad=*)
734     datadir=$ac_optarg ;;
735
736   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
737   | --dataroo | --dataro | --datar)
738     ac_prev=datarootdir ;;
739   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
740   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
741     datarootdir=$ac_optarg ;;
742
743   -disable-* | --disable-*)
744     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
745     # Reject names that are not valid shell variable names.
746     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
747       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
748    { (exit 1); exit 1; }; }
749     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
750     eval enable_$ac_feature=no ;;
751
752   -docdir | --docdir | --docdi | --doc | --do)
753     ac_prev=docdir ;;
754   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
755     docdir=$ac_optarg ;;
756
757   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
758     ac_prev=dvidir ;;
759   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
760     dvidir=$ac_optarg ;;
761
762   -enable-* | --enable-*)
763     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
764     # Reject names that are not valid shell variable names.
765     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
766       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
767    { (exit 1); exit 1; }; }
768     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
769     eval enable_$ac_feature=\$ac_optarg ;;
770
771   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
772   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
773   | --exec | --exe | --ex)
774     ac_prev=exec_prefix ;;
775   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
776   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
777   | --exec=* | --exe=* | --ex=*)
778     exec_prefix=$ac_optarg ;;
779
780   -gas | --gas | --ga | --g)
781     # Obsolete; use --with-gas.
782     with_gas=yes ;;
783
784   -help | --help | --hel | --he | -h)
785     ac_init_help=long ;;
786   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
787     ac_init_help=recursive ;;
788   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
789     ac_init_help=short ;;
790
791   -host | --host | --hos | --ho)
792     ac_prev=host_alias ;;
793   -host=* | --host=* | --hos=* | --ho=*)
794     host_alias=$ac_optarg ;;
795
796   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
797     ac_prev=htmldir ;;
798   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
799   | --ht=*)
800     htmldir=$ac_optarg ;;
801
802   -includedir | --includedir | --includedi | --included | --include \
803   | --includ | --inclu | --incl | --inc)
804     ac_prev=includedir ;;
805   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
806   | --includ=* | --inclu=* | --incl=* | --inc=*)
807     includedir=$ac_optarg ;;
808
809   -infodir | --infodir | --infodi | --infod | --info | --inf)
810     ac_prev=infodir ;;
811   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
812     infodir=$ac_optarg ;;
813
814   -libdir | --libdir | --libdi | --libd)
815     ac_prev=libdir ;;
816   -libdir=* | --libdir=* | --libdi=* | --libd=*)
817     libdir=$ac_optarg ;;
818
819   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
820   | --libexe | --libex | --libe)
821     ac_prev=libexecdir ;;
822   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
823   | --libexe=* | --libex=* | --libe=*)
824     libexecdir=$ac_optarg ;;
825
826   -localedir | --localedir | --localedi | --localed | --locale)
827     ac_prev=localedir ;;
828   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
829     localedir=$ac_optarg ;;
830
831   -localstatedir | --localstatedir | --localstatedi | --localstated \
832   | --localstate | --localstat | --localsta | --localst | --locals)
833     ac_prev=localstatedir ;;
834   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
835   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
836     localstatedir=$ac_optarg ;;
837
838   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
839     ac_prev=mandir ;;
840   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
841     mandir=$ac_optarg ;;
842
843   -nfp | --nfp | --nf)
844     # Obsolete; use --without-fp.
845     with_fp=no ;;
846
847   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
848   | --no-cr | --no-c | -n)
849     no_create=yes ;;
850
851   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
852   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
853     no_recursion=yes ;;
854
855   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
856   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
857   | --oldin | --oldi | --old | --ol | --o)
858     ac_prev=oldincludedir ;;
859   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
860   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
861   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
862     oldincludedir=$ac_optarg ;;
863
864   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
865     ac_prev=prefix ;;
866   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
867     prefix=$ac_optarg ;;
868
869   -program-prefix | --program-prefix | --program-prefi | --program-pref \
870   | --program-pre | --program-pr | --program-p)
871     ac_prev=program_prefix ;;
872   -program-prefix=* | --program-prefix=* | --program-prefi=* \
873   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
874     program_prefix=$ac_optarg ;;
875
876   -program-suffix | --program-suffix | --program-suffi | --program-suff \
877   | --program-suf | --program-su | --program-s)
878     ac_prev=program_suffix ;;
879   -program-suffix=* | --program-suffix=* | --program-suffi=* \
880   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
881     program_suffix=$ac_optarg ;;
882
883   -program-transform-name | --program-transform-name \
884   | --program-transform-nam | --program-transform-na \
885   | --program-transform-n | --program-transform- \
886   | --program-transform | --program-transfor \
887   | --program-transfo | --program-transf \
888   | --program-trans | --program-tran \
889   | --progr-tra | --program-tr | --program-t)
890     ac_prev=program_transform_name ;;
891   -program-transform-name=* | --program-transform-name=* \
892   | --program-transform-nam=* | --program-transform-na=* \
893   | --program-transform-n=* | --program-transform-=* \
894   | --program-transform=* | --program-transfor=* \
895   | --program-transfo=* | --program-transf=* \
896   | --program-trans=* | --program-tran=* \
897   | --progr-tra=* | --program-tr=* | --program-t=*)
898     program_transform_name=$ac_optarg ;;
899
900   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
901     ac_prev=pdfdir ;;
902   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
903     pdfdir=$ac_optarg ;;
904
905   -psdir | --psdir | --psdi | --psd | --ps)
906     ac_prev=psdir ;;
907   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
908     psdir=$ac_optarg ;;
909
910   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
911   | -silent | --silent | --silen | --sile | --sil)
912     silent=yes ;;
913
914   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
915     ac_prev=sbindir ;;
916   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
917   | --sbi=* | --sb=*)
918     sbindir=$ac_optarg ;;
919
920   -sharedstatedir | --sharedstatedir | --sharedstatedi \
921   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
922   | --sharedst | --shareds | --shared | --share | --shar \
923   | --sha | --sh)
924     ac_prev=sharedstatedir ;;
925   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
926   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
927   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
928   | --sha=* | --sh=*)
929     sharedstatedir=$ac_optarg ;;
930
931   -site | --site | --sit)
932     ac_prev=site ;;
933   -site=* | --site=* | --sit=*)
934     site=$ac_optarg ;;
935
936   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
937     ac_prev=srcdir ;;
938   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
939     srcdir=$ac_optarg ;;
940
941   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
942   | --syscon | --sysco | --sysc | --sys | --sy)
943     ac_prev=sysconfdir ;;
944   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
945   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
946     sysconfdir=$ac_optarg ;;
947
948   -target | --target | --targe | --targ | --tar | --ta | --t)
949     ac_prev=target_alias ;;
950   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
951     target_alias=$ac_optarg ;;
952
953   -v | -verbose | --verbose | --verbos | --verbo | --verb)
954     verbose=yes ;;
955
956   -version | --version | --versio | --versi | --vers | -V)
957     ac_init_version=: ;;
958
959   -with-* | --with-*)
960     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
961     # Reject names that are not valid shell variable names.
962     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
963       { echo "$as_me: error: invalid package name: $ac_package" >&2
964    { (exit 1); exit 1; }; }
965     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
966     eval with_$ac_package=\$ac_optarg ;;
967
968   -without-* | --without-*)
969     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
970     # Reject names that are not valid shell variable names.
971     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
972       { echo "$as_me: error: invalid package name: $ac_package" >&2
973    { (exit 1); exit 1; }; }
974     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
975     eval with_$ac_package=no ;;
976
977   --x)
978     # Obsolete; use --with-x.
979     with_x=yes ;;
980
981   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
982   | --x-incl | --x-inc | --x-in | --x-i)
983     ac_prev=x_includes ;;
984   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
985   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
986     x_includes=$ac_optarg ;;
987
988   -x-libraries | --x-libraries | --x-librarie | --x-librari \
989   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
990     ac_prev=x_libraries ;;
991   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
992   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
993     x_libraries=$ac_optarg ;;
994
995   -*) { echo "$as_me: error: unrecognized option: $ac_option
996 Try \`$0 --help' for more information." >&2
997    { (exit 1); exit 1; }; }
998     ;;
999
1000   *=*)
1001     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1002     # Reject names that are not valid shell variable names.
1003     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1004       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1005    { (exit 1); exit 1; }; }
1006     eval $ac_envvar=\$ac_optarg
1007     export $ac_envvar ;;
1008
1009   *)
1010     # FIXME: should be removed in autoconf 3.0.
1011     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1012     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1013       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1014     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1015     ;;
1016
1017   esac
1018 done
1019
1020 if test -n "$ac_prev"; then
1021   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1022   { echo "$as_me: error: missing argument to $ac_option" >&2
1023    { (exit 1); exit 1; }; }
1024 fi
1025
1026 # Be sure to have absolute directory names.
1027 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1028                 datadir sysconfdir sharedstatedir localstatedir includedir \
1029                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1030                 libdir localedir mandir
1031 do
1032   eval ac_val=\$$ac_var
1033   case $ac_val in
1034     [\\/$]* | ?:[\\/]* )  continue;;
1035     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1036   esac
1037   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1038    { (exit 1); exit 1; }; }
1039 done
1040
1041 # There might be people who depend on the old broken behavior: `$host'
1042 # used to hold the argument of --host etc.
1043 # FIXME: To remove some day.
1044 build=$build_alias
1045 host=$host_alias
1046 target=$target_alias
1047
1048 # FIXME: To remove some day.
1049 if test "x$host_alias" != x; then
1050   if test "x$build_alias" = x; then
1051     cross_compiling=maybe
1052     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1053     If a cross compiler is detected then cross compile mode will be used." >&2
1054   elif test "x$build_alias" != "x$host_alias"; then
1055     cross_compiling=yes
1056   fi
1057 fi
1058
1059 ac_tool_prefix=
1060 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1061
1062 test "$silent" = yes && exec 6>/dev/null
1063
1064
1065 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1066 ac_ls_di=`ls -di .` &&
1067 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1068   { echo "$as_me: error: Working directory cannot be determined" >&2
1069    { (exit 1); exit 1; }; }
1070 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1071   { echo "$as_me: error: pwd does not report name of working directory" >&2
1072    { (exit 1); exit 1; }; }
1073
1074
1075 # Find the source files, if location was not specified.
1076 if test -z "$srcdir"; then
1077   ac_srcdir_defaulted=yes
1078   # Try the directory containing this script, then the parent directory.
1079   ac_confdir=`$as_dirname -- "$0" ||
1080 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1081          X"$0" : 'X\(//\)[^/]' \| \
1082          X"$0" : 'X\(//\)$' \| \
1083          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1084 echo X"$0" |
1085     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1086             s//\1/
1087             q
1088           }
1089           /^X\(\/\/\)[^/].*/{
1090             s//\1/
1091             q
1092           }
1093           /^X\(\/\/\)$/{
1094             s//\1/
1095             q
1096           }
1097           /^X\(\/\).*/{
1098             s//\1/
1099             q
1100           }
1101           s/.*/./; q'`
1102   srcdir=$ac_confdir
1103   if test ! -r "$srcdir/$ac_unique_file"; then
1104     srcdir=..
1105   fi
1106 else
1107   ac_srcdir_defaulted=no
1108 fi
1109 if test ! -r "$srcdir/$ac_unique_file"; then
1110   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1111   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1112    { (exit 1); exit 1; }; }
1113 fi
1114 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1115 ac_abs_confdir=`(
1116         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1117    { (exit 1); exit 1; }; }
1118         pwd)`
1119 # When building in place, set srcdir=.
1120 if test "$ac_abs_confdir" = "$ac_pwd"; then
1121   srcdir=.
1122 fi
1123 # Remove unnecessary trailing slashes from srcdir.
1124 # Double slashes in file names in object file debugging info
1125 # mess up M-x gdb in Emacs.
1126 case $srcdir in
1127 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1128 esac
1129 for ac_var in $ac_precious_vars; do
1130   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1131   eval ac_env_${ac_var}_value=\$${ac_var}
1132   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1133   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1134 done
1135
1136 #
1137 # Report the --help message.
1138 #
1139 if test "$ac_init_help" = "long"; then
1140   # Omit some internal or obsolete options to make the list less imposing.
1141   # This message is too long to be a string in the A/UX 3.1 sh.
1142   cat <<_ACEOF
1143 \`configure' configures this package to adapt to many kinds of systems.
1144
1145 Usage: $0 [OPTION]... [VAR=VALUE]...
1146
1147 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1148 VAR=VALUE.  See below for descriptions of some of the useful variables.
1149
1150 Defaults for the options are specified in brackets.
1151
1152 Configuration:
1153   -h, --help              display this help and exit
1154       --help=short        display options specific to this package
1155       --help=recursive    display the short help of all the included packages
1156   -V, --version           display version information and exit
1157   -q, --quiet, --silent   do not print \`checking...' messages
1158       --cache-file=FILE   cache test results in FILE [disabled]
1159   -C, --config-cache      alias for \`--cache-file=config.cache'
1160   -n, --no-create         do not create output files
1161       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1162
1163 Installation directories:
1164   --prefix=PREFIX         install architecture-independent files in PREFIX
1165                           [$ac_default_prefix]
1166   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1167                           [PREFIX]
1168
1169 By default, \`make install' will install all the files in
1170 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1171 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1172 for instance \`--prefix=\$HOME'.
1173
1174 For better control, use the options below.
1175
1176 Fine tuning of the installation directories:
1177   --bindir=DIR           user executables [EPREFIX/bin]
1178   --sbindir=DIR          system admin executables [EPREFIX/sbin]
1179   --libexecdir=DIR       program executables [EPREFIX/libexec]
1180   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1181   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1182   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1183   --libdir=DIR           object code libraries [EPREFIX/lib]
1184   --includedir=DIR       C header files [PREFIX/include]
1185   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1186   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1187   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1188   --infodir=DIR          info documentation [DATAROOTDIR/info]
1189   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1190   --mandir=DIR           man documentation [DATAROOTDIR/man]
1191   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1192   --htmldir=DIR          html documentation [DOCDIR]
1193   --dvidir=DIR           dvi documentation [DOCDIR]
1194   --pdfdir=DIR           pdf documentation [DOCDIR]
1195   --psdir=DIR            ps documentation [DOCDIR]
1196 _ACEOF
1197
1198   cat <<\_ACEOF
1199 _ACEOF
1200 fi
1201
1202 if test -n "$ac_init_help"; then
1203
1204   cat <<\_ACEOF
1205
1206 Optional Packages:
1207   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1208   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1209   --with-experimental-modules      Use experimental and unstable modules. (default=no)
1210
1211 Some influential environment variables:
1212   CC          C compiler command
1213   CFLAGS      C compiler flags
1214   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1215               nonstandard directory <lib dir>
1216   LIBS        libraries to pass to the linker, e.g. -l<library>
1217   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1218               you have headers in a nonstandard directory <include dir>
1219
1220 Use these variables to override the choices made by `configure' or to help
1221 it to find libraries and programs with nonstandard names/locations.
1222
1223 _ACEOF
1224 ac_status=$?
1225 fi
1226
1227 if test "$ac_init_help" = "recursive"; then
1228   # If there are subdirs, report their specific --help.
1229   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1230     test -d "$ac_dir" || continue
1231     ac_builddir=.
1232
1233 case "$ac_dir" in
1234 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1235 *)
1236   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1237   # A ".." for each directory in $ac_dir_suffix.
1238   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1239   case $ac_top_builddir_sub in
1240   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1241   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1242   esac ;;
1243 esac
1244 ac_abs_top_builddir=$ac_pwd
1245 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1246 # for backward compatibility:
1247 ac_top_builddir=$ac_top_build_prefix
1248
1249 case $srcdir in
1250   .)  # We are building in place.
1251     ac_srcdir=.
1252     ac_top_srcdir=$ac_top_builddir_sub
1253     ac_abs_top_srcdir=$ac_pwd ;;
1254   [\\/]* | ?:[\\/]* )  # Absolute name.
1255     ac_srcdir=$srcdir$ac_dir_suffix;
1256     ac_top_srcdir=$srcdir
1257     ac_abs_top_srcdir=$srcdir ;;
1258   *) # Relative name.
1259     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1260     ac_top_srcdir=$ac_top_build_prefix$srcdir
1261     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1262 esac
1263 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1264
1265     cd "$ac_dir" || { ac_status=$?; continue; }
1266     # Check for guested configure.
1267     if test -f "$ac_srcdir/configure.gnu"; then
1268       echo &&
1269       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1270     elif test -f "$ac_srcdir/configure"; then
1271       echo &&
1272       $SHELL "$ac_srcdir/configure" --help=recursive
1273     else
1274       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1275     fi || ac_status=$?
1276     cd "$ac_pwd" || { ac_status=$?; break; }
1277   done
1278 fi
1279
1280 test -n "$ac_init_help" && exit $ac_status
1281 if $ac_init_version; then
1282   cat <<\_ACEOF
1283 configure
1284 generated by GNU Autoconf 2.61
1285
1286 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1287 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1288 This configure script is free software; the Free Software Foundation
1289 gives unlimited permission to copy, distribute and modify it.
1290 _ACEOF
1291   exit
1292 fi
1293 cat >config.log <<_ACEOF
1294 This file contains any messages produced by compilers while
1295 running configure, to aid debugging if configure makes a mistake.
1296
1297 It was created by $as_me, which was
1298 generated by GNU Autoconf 2.61.  Invocation command line was
1299
1300   $ $0 $@
1301
1302 _ACEOF
1303 exec 5>>config.log
1304 {
1305 cat <<_ASUNAME
1306 ## --------- ##
1307 ## Platform. ##
1308 ## --------- ##
1309
1310 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1311 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1312 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1313 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1314 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1315
1316 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1317 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1318
1319 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1320 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1321 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1322 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1323 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1324 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1325 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1326
1327 _ASUNAME
1328
1329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1330 for as_dir in $PATH
1331 do
1332   IFS=$as_save_IFS
1333   test -z "$as_dir" && as_dir=.
1334   echo "PATH: $as_dir"
1335 done
1336 IFS=$as_save_IFS
1337
1338 } >&5
1339
1340 cat >&5 <<_ACEOF
1341
1342
1343 ## ----------- ##
1344 ## Core tests. ##
1345 ## ----------- ##
1346
1347 _ACEOF
1348
1349
1350 # Keep a trace of the command line.
1351 # Strip out --no-create and --no-recursion so they do not pile up.
1352 # Strip out --silent because we don't want to record it for future runs.
1353 # Also quote any args containing shell meta-characters.
1354 # Make two passes to allow for proper duplicate-argument suppression.
1355 ac_configure_args=
1356 ac_configure_args0=
1357 ac_configure_args1=
1358 ac_must_keep_next=false
1359 for ac_pass in 1 2
1360 do
1361   for ac_arg
1362   do
1363     case $ac_arg in
1364     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1365     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1366     | -silent | --silent | --silen | --sile | --sil)
1367       continue ;;
1368     *\'*)
1369       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1370     esac
1371     case $ac_pass in
1372     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1373     2)
1374       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1375       if test $ac_must_keep_next = true; then
1376         ac_must_keep_next=false # Got value, back to normal.
1377       else
1378         case $ac_arg in
1379           *=* | --config-cache | -C | -disable-* | --disable-* \
1380           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1381           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1382           | -with-* | --with-* | -without-* | --without-* | --x)
1383             case "$ac_configure_args0 " in
1384               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1385             esac
1386             ;;
1387           -* ) ac_must_keep_next=true ;;
1388         esac
1389       fi
1390       ac_configure_args="$ac_configure_args '$ac_arg'"
1391       ;;
1392     esac
1393   done
1394 done
1395 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1396 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1397
1398 # When interrupted or exit'd, cleanup temporary files, and complete
1399 # config.log.  We remove comments because anyway the quotes in there
1400 # would cause problems or look ugly.
1401 # WARNING: Use '\'' to represent an apostrophe within the trap.
1402 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1403 trap 'exit_status=$?
1404   # Save into config.log some information that might help in debugging.
1405   {
1406     echo
1407
1408     cat <<\_ASBOX
1409 ## ---------------- ##
1410 ## Cache variables. ##
1411 ## ---------------- ##
1412 _ASBOX
1413     echo
1414     # The following way of writing the cache mishandles newlines in values,
1415 (
1416   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1417     eval ac_val=\$$ac_var
1418     case $ac_val in #(
1419     *${as_nl}*)
1420       case $ac_var in #(
1421       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1422 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1423       esac
1424       case $ac_var in #(
1425       _ | IFS | as_nl) ;; #(
1426       *) $as_unset $ac_var ;;
1427       esac ;;
1428     esac
1429   done
1430   (set) 2>&1 |
1431     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1432     *${as_nl}ac_space=\ *)
1433       sed -n \
1434         "s/'\''/'\''\\\\'\'''\''/g;
1435           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1436       ;; #(
1437     *)
1438       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1439       ;;
1440     esac |
1441     sort
1442 )
1443     echo
1444
1445     cat <<\_ASBOX
1446 ## ----------------- ##
1447 ## Output variables. ##
1448 ## ----------------- ##
1449 _ASBOX
1450     echo
1451     for ac_var in $ac_subst_vars
1452     do
1453       eval ac_val=\$$ac_var
1454       case $ac_val in
1455       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1456       esac
1457       echo "$ac_var='\''$ac_val'\''"
1458     done | sort
1459     echo
1460
1461     if test -n "$ac_subst_files"; then
1462       cat <<\_ASBOX
1463 ## ------------------- ##
1464 ## File substitutions. ##
1465 ## ------------------- ##
1466 _ASBOX
1467       echo
1468       for ac_var in $ac_subst_files
1469       do
1470         eval ac_val=\$$ac_var
1471         case $ac_val in
1472         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1473         esac
1474         echo "$ac_var='\''$ac_val'\''"
1475       done | sort
1476       echo
1477     fi
1478
1479     if test -s confdefs.h; then
1480       cat <<\_ASBOX
1481 ## ----------- ##
1482 ## confdefs.h. ##
1483 ## ----------- ##
1484 _ASBOX
1485       echo
1486       cat confdefs.h
1487       echo
1488     fi
1489     test "$ac_signal" != 0 &&
1490       echo "$as_me: caught signal $ac_signal"
1491     echo "$as_me: exit $exit_status"
1492   } >&5
1493   rm -f core *.core core.conftest.* &&
1494     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1495     exit $exit_status
1496 ' 0
1497 for ac_signal in 1 2 13 15; do
1498   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1499 done
1500 ac_signal=0
1501
1502 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1503 rm -f -r conftest* confdefs.h
1504
1505 # Predefined preprocessor variables.
1506
1507 cat >>confdefs.h <<_ACEOF
1508 #define PACKAGE_NAME "$PACKAGE_NAME"
1509 _ACEOF
1510
1511
1512 cat >>confdefs.h <<_ACEOF
1513 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1514 _ACEOF
1515
1516
1517 cat >>confdefs.h <<_ACEOF
1518 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1519 _ACEOF
1520
1521
1522 cat >>confdefs.h <<_ACEOF
1523 #define PACKAGE_STRING "$PACKAGE_STRING"
1524 _ACEOF
1525
1526
1527 cat >>confdefs.h <<_ACEOF
1528 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1529 _ACEOF
1530
1531
1532 # Let the site file select an alternate cache file if it wants to.
1533 # Prefer explicitly selected file to automatically selected ones.
1534 if test -n "$CONFIG_SITE"; then
1535   set x "$CONFIG_SITE"
1536 elif test "x$prefix" != xNONE; then
1537   set x "$prefix/share/config.site" "$prefix/etc/config.site"
1538 else
1539   set x "$ac_default_prefix/share/config.site" \
1540         "$ac_default_prefix/etc/config.site"
1541 fi
1542 shift
1543 for ac_site_file
1544 do
1545   if test -r "$ac_site_file"; then
1546     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1547 echo "$as_me: loading site script $ac_site_file" >&6;}
1548     sed 's/^/| /' "$ac_site_file" >&5
1549     . "$ac_site_file"
1550   fi
1551 done
1552
1553 if test -r "$cache_file"; then
1554   # Some versions of bash will fail to source /dev/null (special
1555   # files actually), so we avoid doing that.
1556   if test -f "$cache_file"; then
1557     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1558 echo "$as_me: loading cache $cache_file" >&6;}
1559     case $cache_file in
1560       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1561       *)                      . "./$cache_file";;
1562     esac
1563   fi
1564 else
1565   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1566 echo "$as_me: creating cache $cache_file" >&6;}
1567   >$cache_file
1568 fi
1569
1570 # Check that the precious variables saved in the cache have kept the same
1571 # value.
1572 ac_cache_corrupted=false
1573 for ac_var in $ac_precious_vars; do
1574   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1575   eval ac_new_set=\$ac_env_${ac_var}_set
1576   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1577   eval ac_new_val=\$ac_env_${ac_var}_value
1578   case $ac_old_set,$ac_new_set in
1579     set,)
1580       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1581 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1582       ac_cache_corrupted=: ;;
1583     ,set)
1584       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1585 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1586       ac_cache_corrupted=: ;;
1587     ,);;
1588     *)
1589       if test "x$ac_old_val" != "x$ac_new_val"; then
1590         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1591 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1592         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1593 echo "$as_me:   former value:  $ac_old_val" >&2;}
1594         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1595 echo "$as_me:   current value: $ac_new_val" >&2;}
1596         ac_cache_corrupted=:
1597       fi;;
1598   esac
1599   # Pass precious variables to config.status.
1600   if test "$ac_new_set" = set; then
1601     case $ac_new_val in
1602     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1603     *) ac_arg=$ac_var=$ac_new_val ;;
1604     esac
1605     case " $ac_configure_args " in
1606       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1607       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1608     esac
1609   fi
1610 done
1611 if $ac_cache_corrupted; then
1612   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1613 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1614   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1615 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1616    { (exit 1); exit 1; }; }
1617 fi
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635 ac_ext=c
1636 ac_cpp='$CPP $CPPFLAGS'
1637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1640
1641
1642
1643
1644
1645 fail=
1646 SMART_LIBS=
1647 SMART_CLFAGS=
1648 if test x$with_rlm_sql != xno; then
1649
1650         ac_ext=c
1651 ac_cpp='$CPP $CPPFLAGS'
1652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1655 if test -n "$ac_tool_prefix"; then
1656   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1657 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1660 if test "${ac_cv_prog_CC+set}" = set; then
1661   echo $ECHO_N "(cached) $ECHO_C" >&6
1662 else
1663   if test -n "$CC"; then
1664   ac_cv_prog_CC="$CC" # Let the user override the test.
1665 else
1666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1667 for as_dir in $PATH
1668 do
1669   IFS=$as_save_IFS
1670   test -z "$as_dir" && as_dir=.
1671   for ac_exec_ext in '' $ac_executable_extensions; do
1672   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1673     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1674     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1675     break 2
1676   fi
1677 done
1678 done
1679 IFS=$as_save_IFS
1680
1681 fi
1682 fi
1683 CC=$ac_cv_prog_CC
1684 if test -n "$CC"; then
1685   { echo "$as_me:$LINENO: result: $CC" >&5
1686 echo "${ECHO_T}$CC" >&6; }
1687 else
1688   { echo "$as_me:$LINENO: result: no" >&5
1689 echo "${ECHO_T}no" >&6; }
1690 fi
1691
1692
1693 fi
1694 if test -z "$ac_cv_prog_CC"; then
1695   ac_ct_CC=$CC
1696   # Extract the first word of "gcc", so it can be a program name with args.
1697 set dummy gcc; ac_word=$2
1698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1700 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1701   echo $ECHO_N "(cached) $ECHO_C" >&6
1702 else
1703   if test -n "$ac_ct_CC"; then
1704   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1705 else
1706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1707 for as_dir in $PATH
1708 do
1709   IFS=$as_save_IFS
1710   test -z "$as_dir" && as_dir=.
1711   for ac_exec_ext in '' $ac_executable_extensions; do
1712   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1713     ac_cv_prog_ac_ct_CC="gcc"
1714     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1715     break 2
1716   fi
1717 done
1718 done
1719 IFS=$as_save_IFS
1720
1721 fi
1722 fi
1723 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1724 if test -n "$ac_ct_CC"; then
1725   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1726 echo "${ECHO_T}$ac_ct_CC" >&6; }
1727 else
1728   { echo "$as_me:$LINENO: result: no" >&5
1729 echo "${ECHO_T}no" >&6; }
1730 fi
1731
1732   if test "x$ac_ct_CC" = x; then
1733     CC=""
1734   else
1735     case $cross_compiling:$ac_tool_warned in
1736 yes:)
1737 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1738 whose name does not start with the host triplet.  If you think this
1739 configuration is useful to you, please write to autoconf@gnu.org." >&5
1740 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1741 whose name does not start with the host triplet.  If you think this
1742 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1743 ac_tool_warned=yes ;;
1744 esac
1745     CC=$ac_ct_CC
1746   fi
1747 else
1748   CC="$ac_cv_prog_CC"
1749 fi
1750
1751 if test -z "$CC"; then
1752           if test -n "$ac_tool_prefix"; then
1753     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1754 set dummy ${ac_tool_prefix}cc; ac_word=$2
1755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1757 if test "${ac_cv_prog_CC+set}" = set; then
1758   echo $ECHO_N "(cached) $ECHO_C" >&6
1759 else
1760   if test -n "$CC"; then
1761   ac_cv_prog_CC="$CC" # Let the user override the test.
1762 else
1763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1764 for as_dir in $PATH
1765 do
1766   IFS=$as_save_IFS
1767   test -z "$as_dir" && as_dir=.
1768   for ac_exec_ext in '' $ac_executable_extensions; do
1769   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1770     ac_cv_prog_CC="${ac_tool_prefix}cc"
1771     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1772     break 2
1773   fi
1774 done
1775 done
1776 IFS=$as_save_IFS
1777
1778 fi
1779 fi
1780 CC=$ac_cv_prog_CC
1781 if test -n "$CC"; then
1782   { echo "$as_me:$LINENO: result: $CC" >&5
1783 echo "${ECHO_T}$CC" >&6; }
1784 else
1785   { echo "$as_me:$LINENO: result: no" >&5
1786 echo "${ECHO_T}no" >&6; }
1787 fi
1788
1789
1790   fi
1791 fi
1792 if test -z "$CC"; then
1793   # Extract the first word of "cc", so it can be a program name with args.
1794 set dummy cc; ac_word=$2
1795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1797 if test "${ac_cv_prog_CC+set}" = set; then
1798   echo $ECHO_N "(cached) $ECHO_C" >&6
1799 else
1800   if test -n "$CC"; then
1801   ac_cv_prog_CC="$CC" # Let the user override the test.
1802 else
1803   ac_prog_rejected=no
1804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1805 for as_dir in $PATH
1806 do
1807   IFS=$as_save_IFS
1808   test -z "$as_dir" && as_dir=.
1809   for ac_exec_ext in '' $ac_executable_extensions; do
1810   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1811     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1812        ac_prog_rejected=yes
1813        continue
1814      fi
1815     ac_cv_prog_CC="cc"
1816     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1817     break 2
1818   fi
1819 done
1820 done
1821 IFS=$as_save_IFS
1822
1823 if test $ac_prog_rejected = yes; then
1824   # We found a bogon in the path, so make sure we never use it.
1825   set dummy $ac_cv_prog_CC
1826   shift
1827   if test $# != 0; then
1828     # We chose a different compiler from the bogus one.
1829     # However, it has the same basename, so the bogon will be chosen
1830     # first if we set CC to just the basename; use the full file name.
1831     shift
1832     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1833   fi
1834 fi
1835 fi
1836 fi
1837 CC=$ac_cv_prog_CC
1838 if test -n "$CC"; then
1839   { echo "$as_me:$LINENO: result: $CC" >&5
1840 echo "${ECHO_T}$CC" >&6; }
1841 else
1842   { echo "$as_me:$LINENO: result: no" >&5
1843 echo "${ECHO_T}no" >&6; }
1844 fi
1845
1846
1847 fi
1848 if test -z "$CC"; then
1849   if test -n "$ac_tool_prefix"; then
1850   for ac_prog in cl.exe
1851   do
1852     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1853 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1856 if test "${ac_cv_prog_CC+set}" = set; then
1857   echo $ECHO_N "(cached) $ECHO_C" >&6
1858 else
1859   if test -n "$CC"; then
1860   ac_cv_prog_CC="$CC" # Let the user override the test.
1861 else
1862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1863 for as_dir in $PATH
1864 do
1865   IFS=$as_save_IFS
1866   test -z "$as_dir" && as_dir=.
1867   for ac_exec_ext in '' $ac_executable_extensions; do
1868   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1869     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1870     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1871     break 2
1872   fi
1873 done
1874 done
1875 IFS=$as_save_IFS
1876
1877 fi
1878 fi
1879 CC=$ac_cv_prog_CC
1880 if test -n "$CC"; then
1881   { echo "$as_me:$LINENO: result: $CC" >&5
1882 echo "${ECHO_T}$CC" >&6; }
1883 else
1884   { echo "$as_me:$LINENO: result: no" >&5
1885 echo "${ECHO_T}no" >&6; }
1886 fi
1887
1888
1889     test -n "$CC" && break
1890   done
1891 fi
1892 if test -z "$CC"; then
1893   ac_ct_CC=$CC
1894   for ac_prog in cl.exe
1895 do
1896   # Extract the first word of "$ac_prog", so it can be a program name with args.
1897 set dummy $ac_prog; ac_word=$2
1898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1900 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1901   echo $ECHO_N "(cached) $ECHO_C" >&6
1902 else
1903   if test -n "$ac_ct_CC"; then
1904   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1905 else
1906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1907 for as_dir in $PATH
1908 do
1909   IFS=$as_save_IFS
1910   test -z "$as_dir" && as_dir=.
1911   for ac_exec_ext in '' $ac_executable_extensions; do
1912   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1913     ac_cv_prog_ac_ct_CC="$ac_prog"
1914     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1915     break 2
1916   fi
1917 done
1918 done
1919 IFS=$as_save_IFS
1920
1921 fi
1922 fi
1923 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1924 if test -n "$ac_ct_CC"; then
1925   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1926 echo "${ECHO_T}$ac_ct_CC" >&6; }
1927 else
1928   { echo "$as_me:$LINENO: result: no" >&5
1929 echo "${ECHO_T}no" >&6; }
1930 fi
1931
1932
1933   test -n "$ac_ct_CC" && break
1934 done
1935
1936   if test "x$ac_ct_CC" = x; then
1937     CC=""
1938   else
1939     case $cross_compiling:$ac_tool_warned in
1940 yes:)
1941 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1942 whose name does not start with the host triplet.  If you think this
1943 configuration is useful to you, please write to autoconf@gnu.org." >&5
1944 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1945 whose name does not start with the host triplet.  If you think this
1946 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1947 ac_tool_warned=yes ;;
1948 esac
1949     CC=$ac_ct_CC
1950   fi
1951 fi
1952
1953 fi
1954
1955
1956 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1957 See \`config.log' for more details." >&5
1958 echo "$as_me: error: no acceptable C compiler found in \$PATH
1959 See \`config.log' for more details." >&2;}
1960    { (exit 1); exit 1; }; }
1961
1962 # Provide some information about the compiler.
1963 echo "$as_me:$LINENO: checking for C compiler version" >&5
1964 ac_compiler=`set X $ac_compile; echo $2`
1965 { (ac_try="$ac_compiler --version >&5"
1966 case "(($ac_try" in
1967   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1968   *) ac_try_echo=$ac_try;;
1969 esac
1970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1971   (eval "$ac_compiler --version >&5") 2>&5
1972   ac_status=$?
1973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1974   (exit $ac_status); }
1975 { (ac_try="$ac_compiler -v >&5"
1976 case "(($ac_try" in
1977   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1978   *) ac_try_echo=$ac_try;;
1979 esac
1980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1981   (eval "$ac_compiler -v >&5") 2>&5
1982   ac_status=$?
1983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1984   (exit $ac_status); }
1985 { (ac_try="$ac_compiler -V >&5"
1986 case "(($ac_try" in
1987   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1988   *) ac_try_echo=$ac_try;;
1989 esac
1990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1991   (eval "$ac_compiler -V >&5") 2>&5
1992   ac_status=$?
1993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1994   (exit $ac_status); }
1995
1996 cat >conftest.$ac_ext <<_ACEOF
1997 /* confdefs.h.  */
1998 _ACEOF
1999 cat confdefs.h >>conftest.$ac_ext
2000 cat >>conftest.$ac_ext <<_ACEOF
2001 /* end confdefs.h.  */
2002
2003 int
2004 main ()
2005 {
2006
2007   ;
2008   return 0;
2009 }
2010 _ACEOF
2011 ac_clean_files_save=$ac_clean_files
2012 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2013 # Try to create an executable without -o first, disregard a.out.
2014 # It will help us diagnose broken compilers, and finding out an intuition
2015 # of exeext.
2016 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2017 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2018 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2019 #
2020 # List of possible output files, starting from the most likely.
2021 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2022 # only as a last resort.  b.out is created by i960 compilers.
2023 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2024 #
2025 # The IRIX 6 linker writes into existing files which may not be
2026 # executable, retaining their permissions.  Remove them first so a
2027 # subsequent execution test works.
2028 ac_rmfiles=
2029 for ac_file in $ac_files
2030 do
2031   case $ac_file in
2032     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2033     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2034   esac
2035 done
2036 rm -f $ac_rmfiles
2037
2038 if { (ac_try="$ac_link_default"
2039 case "(($ac_try" in
2040   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2041   *) ac_try_echo=$ac_try;;
2042 esac
2043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2044   (eval "$ac_link_default") 2>&5
2045   ac_status=$?
2046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2047   (exit $ac_status); }; then
2048   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2049 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2050 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2051 # so that the user can short-circuit this test for compilers unknown to
2052 # Autoconf.
2053 for ac_file in $ac_files ''
2054 do
2055   test -f "$ac_file" || continue
2056   case $ac_file in
2057     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2058         ;;
2059     [ab].out )
2060         # We found the default executable, but exeext='' is most
2061         # certainly right.
2062         break;;
2063     *.* )
2064         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2065         then :; else
2066            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2067         fi
2068         # We set ac_cv_exeext here because the later test for it is not
2069         # safe: cross compilers may not add the suffix if given an `-o'
2070         # argument, so we may need to know it at that point already.
2071         # Even if this section looks crufty: it has the advantage of
2072         # actually working.
2073         break;;
2074     * )
2075         break;;
2076   esac
2077 done
2078 test "$ac_cv_exeext" = no && ac_cv_exeext=
2079
2080 else
2081   ac_file=''
2082 fi
2083
2084 { echo "$as_me:$LINENO: result: $ac_file" >&5
2085 echo "${ECHO_T}$ac_file" >&6; }
2086 if test -z "$ac_file"; then
2087   echo "$as_me: failed program was:" >&5
2088 sed 's/^/| /' conftest.$ac_ext >&5
2089
2090 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2091 See \`config.log' for more details." >&5
2092 echo "$as_me: error: C compiler cannot create executables
2093 See \`config.log' for more details." >&2;}
2094    { (exit 77); exit 77; }; }
2095 fi
2096
2097 ac_exeext=$ac_cv_exeext
2098
2099 # Check that the compiler produces executables we can run.  If not, either
2100 # the compiler is broken, or we cross compile.
2101 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2102 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2103 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2104 # If not cross compiling, check that we can run a simple program.
2105 if test "$cross_compiling" != yes; then
2106   if { ac_try='./$ac_file'
2107   { (case "(($ac_try" in
2108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2109   *) ac_try_echo=$ac_try;;
2110 esac
2111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2112   (eval "$ac_try") 2>&5
2113   ac_status=$?
2114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2115   (exit $ac_status); }; }; then
2116     cross_compiling=no
2117   else
2118     if test "$cross_compiling" = maybe; then
2119         cross_compiling=yes
2120     else
2121         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2122 If you meant to cross compile, use \`--host'.
2123 See \`config.log' for more details." >&5
2124 echo "$as_me: error: cannot run C compiled programs.
2125 If you meant to cross compile, use \`--host'.
2126 See \`config.log' for more details." >&2;}
2127    { (exit 1); exit 1; }; }
2128     fi
2129   fi
2130 fi
2131 { echo "$as_me:$LINENO: result: yes" >&5
2132 echo "${ECHO_T}yes" >&6; }
2133
2134 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2135 ac_clean_files=$ac_clean_files_save
2136 # Check that the compiler produces executables we can run.  If not, either
2137 # the compiler is broken, or we cross compile.
2138 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2139 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2140 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2141 echo "${ECHO_T}$cross_compiling" >&6; }
2142
2143 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2144 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2145 if { (ac_try="$ac_link"
2146 case "(($ac_try" in
2147   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2148   *) ac_try_echo=$ac_try;;
2149 esac
2150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2151   (eval "$ac_link") 2>&5
2152   ac_status=$?
2153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154   (exit $ac_status); }; then
2155   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2156 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2157 # work properly (i.e., refer to `conftest.exe'), while it won't with
2158 # `rm'.
2159 for ac_file in conftest.exe conftest conftest.*; do
2160   test -f "$ac_file" || continue
2161   case $ac_file in
2162     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2163     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2164           break;;
2165     * ) break;;
2166   esac
2167 done
2168 else
2169   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2170 See \`config.log' for more details." >&5
2171 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2172 See \`config.log' for more details." >&2;}
2173    { (exit 1); exit 1; }; }
2174 fi
2175
2176 rm -f conftest$ac_cv_exeext
2177 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2178 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2179
2180 rm -f conftest.$ac_ext
2181 EXEEXT=$ac_cv_exeext
2182 ac_exeext=$EXEEXT
2183 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2184 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2185 if test "${ac_cv_objext+set}" = set; then
2186   echo $ECHO_N "(cached) $ECHO_C" >&6
2187 else
2188   cat >conftest.$ac_ext <<_ACEOF
2189 /* confdefs.h.  */
2190 _ACEOF
2191 cat confdefs.h >>conftest.$ac_ext
2192 cat >>conftest.$ac_ext <<_ACEOF
2193 /* end confdefs.h.  */
2194
2195 int
2196 main ()
2197 {
2198
2199   ;
2200   return 0;
2201 }
2202 _ACEOF
2203 rm -f conftest.o conftest.obj
2204 if { (ac_try="$ac_compile"
2205 case "(($ac_try" in
2206   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2207   *) ac_try_echo=$ac_try;;
2208 esac
2209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2210   (eval "$ac_compile") 2>&5
2211   ac_status=$?
2212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213   (exit $ac_status); }; then
2214   for ac_file in conftest.o conftest.obj conftest.*; do
2215   test -f "$ac_file" || continue;
2216   case $ac_file in
2217     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2218     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2219        break;;
2220   esac
2221 done
2222 else
2223   echo "$as_me: failed program was:" >&5
2224 sed 's/^/| /' conftest.$ac_ext >&5
2225
2226 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2227 See \`config.log' for more details." >&5
2228 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2229 See \`config.log' for more details." >&2;}
2230    { (exit 1); exit 1; }; }
2231 fi
2232
2233 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2234 fi
2235 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2236 echo "${ECHO_T}$ac_cv_objext" >&6; }
2237 OBJEXT=$ac_cv_objext
2238 ac_objext=$OBJEXT
2239 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2240 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2241 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2242   echo $ECHO_N "(cached) $ECHO_C" >&6
2243 else
2244   cat >conftest.$ac_ext <<_ACEOF
2245 /* confdefs.h.  */
2246 _ACEOF
2247 cat confdefs.h >>conftest.$ac_ext
2248 cat >>conftest.$ac_ext <<_ACEOF
2249 /* end confdefs.h.  */
2250
2251 int
2252 main ()
2253 {
2254 #ifndef __GNUC__
2255        choke me
2256 #endif
2257
2258   ;
2259   return 0;
2260 }
2261 _ACEOF
2262 rm -f conftest.$ac_objext
2263 if { (ac_try="$ac_compile"
2264 case "(($ac_try" in
2265   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2266   *) ac_try_echo=$ac_try;;
2267 esac
2268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2269   (eval "$ac_compile") 2>conftest.er1
2270   ac_status=$?
2271   grep -v '^ *+' conftest.er1 >conftest.err
2272   rm -f conftest.er1
2273   cat conftest.err >&5
2274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275   (exit $ac_status); } && {
2276          test -z "$ac_c_werror_flag" ||
2277          test ! -s conftest.err
2278        } && test -s conftest.$ac_objext; then
2279   ac_compiler_gnu=yes
2280 else
2281   echo "$as_me: failed program was:" >&5
2282 sed 's/^/| /' conftest.$ac_ext >&5
2283
2284         ac_compiler_gnu=no
2285 fi
2286
2287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2288 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2289
2290 fi
2291 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2292 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2293 GCC=`test $ac_compiler_gnu = yes && echo yes`
2294 ac_test_CFLAGS=${CFLAGS+set}
2295 ac_save_CFLAGS=$CFLAGS
2296 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2297 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2298 if test "${ac_cv_prog_cc_g+set}" = set; then
2299   echo $ECHO_N "(cached) $ECHO_C" >&6
2300 else
2301   ac_save_c_werror_flag=$ac_c_werror_flag
2302    ac_c_werror_flag=yes
2303    ac_cv_prog_cc_g=no
2304    CFLAGS="-g"
2305    cat >conftest.$ac_ext <<_ACEOF
2306 /* confdefs.h.  */
2307 _ACEOF
2308 cat confdefs.h >>conftest.$ac_ext
2309 cat >>conftest.$ac_ext <<_ACEOF
2310 /* end confdefs.h.  */
2311
2312 int
2313 main ()
2314 {
2315
2316   ;
2317   return 0;
2318 }
2319 _ACEOF
2320 rm -f conftest.$ac_objext
2321 if { (ac_try="$ac_compile"
2322 case "(($ac_try" in
2323   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2324   *) ac_try_echo=$ac_try;;
2325 esac
2326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2327   (eval "$ac_compile") 2>conftest.er1
2328   ac_status=$?
2329   grep -v '^ *+' conftest.er1 >conftest.err
2330   rm -f conftest.er1
2331   cat conftest.err >&5
2332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333   (exit $ac_status); } && {
2334          test -z "$ac_c_werror_flag" ||
2335          test ! -s conftest.err
2336        } && test -s conftest.$ac_objext; then
2337   ac_cv_prog_cc_g=yes
2338 else
2339   echo "$as_me: failed program was:" >&5
2340 sed 's/^/| /' conftest.$ac_ext >&5
2341
2342         CFLAGS=""
2343       cat >conftest.$ac_ext <<_ACEOF
2344 /* confdefs.h.  */
2345 _ACEOF
2346 cat confdefs.h >>conftest.$ac_ext
2347 cat >>conftest.$ac_ext <<_ACEOF
2348 /* end confdefs.h.  */
2349
2350 int
2351 main ()
2352 {
2353
2354   ;
2355   return 0;
2356 }
2357 _ACEOF
2358 rm -f conftest.$ac_objext
2359 if { (ac_try="$ac_compile"
2360 case "(($ac_try" in
2361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2362   *) ac_try_echo=$ac_try;;
2363 esac
2364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2365   (eval "$ac_compile") 2>conftest.er1
2366   ac_status=$?
2367   grep -v '^ *+' conftest.er1 >conftest.err
2368   rm -f conftest.er1
2369   cat conftest.err >&5
2370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371   (exit $ac_status); } && {
2372          test -z "$ac_c_werror_flag" ||
2373          test ! -s conftest.err
2374        } && test -s conftest.$ac_objext; then
2375   :
2376 else
2377   echo "$as_me: failed program was:" >&5
2378 sed 's/^/| /' conftest.$ac_ext >&5
2379
2380         ac_c_werror_flag=$ac_save_c_werror_flag
2381          CFLAGS="-g"
2382          cat >conftest.$ac_ext <<_ACEOF
2383 /* confdefs.h.  */
2384 _ACEOF
2385 cat confdefs.h >>conftest.$ac_ext
2386 cat >>conftest.$ac_ext <<_ACEOF
2387 /* end confdefs.h.  */
2388
2389 int
2390 main ()
2391 {
2392
2393   ;
2394   return 0;
2395 }
2396 _ACEOF
2397 rm -f conftest.$ac_objext
2398 if { (ac_try="$ac_compile"
2399 case "(($ac_try" in
2400   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2401   *) ac_try_echo=$ac_try;;
2402 esac
2403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2404   (eval "$ac_compile") 2>conftest.er1
2405   ac_status=$?
2406   grep -v '^ *+' conftest.er1 >conftest.err
2407   rm -f conftest.er1
2408   cat conftest.err >&5
2409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410   (exit $ac_status); } && {
2411          test -z "$ac_c_werror_flag" ||
2412          test ! -s conftest.err
2413        } && test -s conftest.$ac_objext; then
2414   ac_cv_prog_cc_g=yes
2415 else
2416   echo "$as_me: failed program was:" >&5
2417 sed 's/^/| /' conftest.$ac_ext >&5
2418
2419
2420 fi
2421
2422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2423 fi
2424
2425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2426 fi
2427
2428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2429    ac_c_werror_flag=$ac_save_c_werror_flag
2430 fi
2431 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2432 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2433 if test "$ac_test_CFLAGS" = set; then
2434   CFLAGS=$ac_save_CFLAGS
2435 elif test $ac_cv_prog_cc_g = yes; then
2436   if test "$GCC" = yes; then
2437     CFLAGS="-g -O2"
2438   else
2439     CFLAGS="-g"
2440   fi
2441 else
2442   if test "$GCC" = yes; then
2443     CFLAGS="-O2"
2444   else
2445     CFLAGS=
2446   fi
2447 fi
2448 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2449 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2450 if test "${ac_cv_prog_cc_c89+set}" = set; then
2451   echo $ECHO_N "(cached) $ECHO_C" >&6
2452 else
2453   ac_cv_prog_cc_c89=no
2454 ac_save_CC=$CC
2455 cat >conftest.$ac_ext <<_ACEOF
2456 /* confdefs.h.  */
2457 _ACEOF
2458 cat confdefs.h >>conftest.$ac_ext
2459 cat >>conftest.$ac_ext <<_ACEOF
2460 /* end confdefs.h.  */
2461 #include <stdarg.h>
2462 #include <stdio.h>
2463 #include <sys/types.h>
2464 #include <sys/stat.h>
2465 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2466 struct buf { int x; };
2467 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2468 static char *e (p, i)
2469      char **p;
2470      int i;
2471 {
2472   return p[i];
2473 }
2474 static char *f (char * (*g) (char **, int), char **p, ...)
2475 {
2476   char *s;
2477   va_list v;
2478   va_start (v,p);
2479   s = g (p, va_arg (v,int));
2480   va_end (v);
2481   return s;
2482 }
2483
2484 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2485    function prototypes and stuff, but not '\xHH' hex character constants.
2486    These don't provoke an error unfortunately, instead are silently treated
2487    as 'x'.  The following induces an error, until -std is added to get
2488    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2489    array size at least.  It's necessary to write '\x00'==0 to get something
2490    that's true only with -std.  */
2491 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2492
2493 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2494    inside strings and character constants.  */
2495 #define FOO(x) 'x'
2496 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2497
2498 int test (int i, double x);
2499 struct s1 {int (*f) (int a);};
2500 struct s2 {int (*f) (double a);};
2501 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2502 int argc;
2503 char **argv;
2504 int
2505 main ()
2506 {
2507 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2508   ;
2509   return 0;
2510 }
2511 _ACEOF
2512 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2513         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2514 do
2515   CC="$ac_save_CC $ac_arg"
2516   rm -f conftest.$ac_objext
2517 if { (ac_try="$ac_compile"
2518 case "(($ac_try" in
2519   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2520   *) ac_try_echo=$ac_try;;
2521 esac
2522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2523   (eval "$ac_compile") 2>conftest.er1
2524   ac_status=$?
2525   grep -v '^ *+' conftest.er1 >conftest.err
2526   rm -f conftest.er1
2527   cat conftest.err >&5
2528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529   (exit $ac_status); } && {
2530          test -z "$ac_c_werror_flag" ||
2531          test ! -s conftest.err
2532        } && test -s conftest.$ac_objext; then
2533   ac_cv_prog_cc_c89=$ac_arg
2534 else
2535   echo "$as_me: failed program was:" >&5
2536 sed 's/^/| /' conftest.$ac_ext >&5
2537
2538
2539 fi
2540
2541 rm -f core conftest.err conftest.$ac_objext
2542   test "x$ac_cv_prog_cc_c89" != "xno" && break
2543 done
2544 rm -f conftest.$ac_ext
2545 CC=$ac_save_CC
2546
2547 fi
2548 # AC_CACHE_VAL
2549 case "x$ac_cv_prog_cc_c89" in
2550   x)
2551     { echo "$as_me:$LINENO: result: none needed" >&5
2552 echo "${ECHO_T}none needed" >&6; } ;;
2553   xno)
2554     { echo "$as_me:$LINENO: result: unsupported" >&5
2555 echo "${ECHO_T}unsupported" >&6; } ;;
2556   *)
2557     CC="$CC $ac_cv_prog_cc_c89"
2558     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2559 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2560 esac
2561
2562
2563 ac_ext=c
2564 ac_cpp='$CPP $CPPFLAGS'
2565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2568
2569
2570                 EXPERIMENTAL=
2571
2572 # Check whether --with-experimental-modules was given.
2573 if test "${with_experimental_modules+set}" = set; then
2574   withval=$with_experimental_modules;  case "$withval" in
2575                 yes)
2576                         EXPERIMENTAL=yes
2577                         ;;
2578                 *)
2579         esac
2580
2581 fi
2582
2583
2584         mysubdirs=
2585         if test "x$EXPERIMENTAL" = "xyes"; then
2586           for foo in `find ./drivers -name configure -print`; do
2587             bar=`echo $foo | sed 's%/configure$%%g'`
2588             mysubdirs="$mysubdirs $bar"
2589           done
2590         else
2591           for foo in `cat stable`; do
2592             mysubdirs="$mysubdirs ./drivers/$foo"
2593           done
2594         fi
2595
2596         SQL_MODULES=
2597         if test "x$EXPERIMENTAL" = "xyes"; then
2598           for foo in `ls ./drivers/rlm_*/Makefile* | sed 's/.*rlm/rlm/;s,/Make.*,,' | sort -u`; do
2599             SQL_MODULES="$SQL_MODULES $foo"
2600           done
2601         else
2602           for foo in `cat stable`; do
2603             SQL_MODULES="$SQL_MODULES $foo"
2604           done
2605         fi
2606
2607                 ln -s ../../../install-sh install-sh
2608
2609                                         ac_aux_dir=
2610 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2611   if test -f "$ac_dir/install-sh"; then
2612     ac_aux_dir=$ac_dir
2613     ac_install_sh="$ac_aux_dir/install-sh -c"
2614     break
2615   elif test -f "$ac_dir/install.sh"; then
2616     ac_aux_dir=$ac_dir
2617     ac_install_sh="$ac_aux_dir/install.sh -c"
2618     break
2619   elif test -f "$ac_dir/shtool"; then
2620     ac_aux_dir=$ac_dir
2621     ac_install_sh="$ac_aux_dir/shtool install -c"
2622     break
2623   fi
2624 done
2625 if test -z "$ac_aux_dir"; then
2626   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2627 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2628    { (exit 1); exit 1; }; }
2629 fi
2630
2631 # These three variables are undocumented and unsupported,
2632 # and are intended to be withdrawn in a future Autoconf release.
2633 # They can cause serious problems if a builder's source tree is in a directory
2634 # whose full name contains unusual characters.
2635 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2636 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2637 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2638
2639
2640 subdirs="$subdirs $mysubdirs"
2641
2642         rm install-sh
2643
2644
2645         targetname=rlm_sql
2646 else
2647         targetname=
2648         echo \*\*\* module rlm_sql is disabled.
2649 fi
2650
2651 if test x"$fail" != x""; then
2652         if test x"${enable_strict_dependencies}" = x"yes"; then
2653                 { { echo "$as_me:$LINENO: error: set --without-rlm_sql to disable it explicitly." >&5
2654 echo "$as_me: error: set --without-rlm_sql to disable it explicitly." >&2;}
2655    { (exit 1); exit 1; }; }
2656         else
2657                 { echo "$as_me:$LINENO: WARNING: silently not building rlm_sql." >&5
2658 echo "$as_me: WARNING: silently not building rlm_sql." >&2;}
2659                 { echo "$as_me:$LINENO: WARNING: FAILURE: rlm_sql requires: $fail." >&5
2660 echo "$as_me: WARNING: FAILURE: rlm_sql requires: $fail." >&2;}
2661                 if test x"$headersuggestion" != x; then
2662                         { echo "$as_me:$LINENO: WARNING: $headersuggestion" >&5
2663 echo "$as_me: WARNING: $headersuggestion" >&2;}
2664                 fi
2665                 if test x"$libsuggestion" != x; then
2666                         { echo "$as_me:$LINENO: WARNING: $libsuggestion" >&5
2667 echo "$as_me: WARNING: $libsuggestion" >&2;}
2668                 fi
2669                 targetname=""
2670         fi
2671 fi
2672
2673
2674 sql_ldflags=$SMART_LIBS
2675 sql_cflags=$SMART_CFLAGS
2676
2677
2678
2679
2680
2681   unset ac_cv_env_LIBS_set
2682   unset ac_cv_env_LIBS_value
2683
2684   ac_config_files="$ac_config_files ./Makefile ./drivers/Makefile"
2685
2686 cat >confcache <<\_ACEOF
2687 # This file is a shell script that caches the results of configure
2688 # tests run on this system so they can be shared between configure
2689 # scripts and configure runs, see configure's option --config-cache.
2690 # It is not useful on other systems.  If it contains results you don't
2691 # want to keep, you may remove or edit it.
2692 #
2693 # config.status only pays attention to the cache file if you give it
2694 # the --recheck option to rerun configure.
2695 #
2696 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2697 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2698 # following values.
2699
2700 _ACEOF
2701
2702 # The following way of writing the cache mishandles newlines in values,
2703 # but we know of no workaround that is simple, portable, and efficient.
2704 # So, we kill variables containing newlines.
2705 # Ultrix sh set writes to stderr and can't be redirected directly,
2706 # and sets the high bit in the cache file unless we assign to the vars.
2707 (
2708   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2709     eval ac_val=\$$ac_var
2710     case $ac_val in #(
2711     *${as_nl}*)
2712       case $ac_var in #(
2713       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2714 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2715       esac
2716       case $ac_var in #(
2717       _ | IFS | as_nl) ;; #(
2718       *) $as_unset $ac_var ;;
2719       esac ;;
2720     esac
2721   done
2722
2723   (set) 2>&1 |
2724     case $as_nl`(ac_space=' '; set) 2>&1` in #(
2725     *${as_nl}ac_space=\ *)
2726       # `set' does not quote correctly, so add quotes (double-quote
2727       # substitution turns \\\\ into \\, and sed turns \\ into \).
2728       sed -n \
2729         "s/'/'\\\\''/g;
2730           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2731       ;; #(
2732     *)
2733       # `set' quotes correctly as required by POSIX, so do not add quotes.
2734       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2735       ;;
2736     esac |
2737     sort
2738 ) |
2739   sed '
2740      /^ac_cv_env_/b end
2741      t clear
2742      :clear
2743      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2744      t end
2745      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2746      :end' >>confcache
2747 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2748   if test -w "$cache_file"; then
2749     test "x$cache_file" != "x/dev/null" &&
2750       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2751 echo "$as_me: updating cache $cache_file" >&6;}
2752     cat confcache >$cache_file
2753   else
2754     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2755 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2756   fi
2757 fi
2758 rm -f confcache
2759
2760 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2761 # Let make expand exec_prefix.
2762 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2763
2764 # Transform confdefs.h into DEFS.
2765 # Protect against shell expansion while executing Makefile rules.
2766 # Protect against Makefile macro expansion.
2767 #
2768 # If the first sed substitution is executed (which looks for macros that
2769 # take arguments), then branch to the quote section.  Otherwise,
2770 # look for a macro that doesn't take arguments.
2771 ac_script='
2772 t clear
2773 :clear
2774 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
2775 t quote
2776 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
2777 t quote
2778 b any
2779 :quote
2780 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2781 s/\[/\\&/g
2782 s/\]/\\&/g
2783 s/\$/$$/g
2784 H
2785 :any
2786 ${
2787         g
2788         s/^\n//
2789         s/\n/ /g
2790         p
2791 }
2792 '
2793 DEFS=`sed -n "$ac_script" confdefs.h`
2794
2795
2796 ac_libobjs=
2797 ac_ltlibobjs=
2798 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2799   # 1. Remove the extension, and $U if already installed.
2800   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2801   ac_i=`echo "$ac_i" | sed "$ac_script"`
2802   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2803   #    will be set to the directory where LIBOBJS objects are built.
2804   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2805   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2806 done
2807 LIBOBJS=$ac_libobjs
2808
2809 LTLIBOBJS=$ac_ltlibobjs
2810
2811
2812
2813 : ${CONFIG_STATUS=./config.status}
2814 ac_clean_files_save=$ac_clean_files
2815 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2816 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2817 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2818 cat >$CONFIG_STATUS <<_ACEOF
2819 #! $SHELL
2820 # Generated by $as_me.
2821 # Run this file to recreate the current configuration.
2822 # Compiler output produced by configure, useful for debugging
2823 # configure, is in config.log if it exists.
2824
2825 debug=false
2826 ac_cs_recheck=false
2827 ac_cs_silent=false
2828 SHELL=\${CONFIG_SHELL-$SHELL}
2829 _ACEOF
2830
2831 cat >>$CONFIG_STATUS <<\_ACEOF
2832 ## --------------------- ##
2833 ## M4sh Initialization.  ##
2834 ## --------------------- ##
2835
2836 # Be more Bourne compatible
2837 DUALCASE=1; export DUALCASE # for MKS sh
2838 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2839   emulate sh
2840   NULLCMD=:
2841   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2842   # is contrary to our usage.  Disable this feature.
2843   alias -g '${1+"$@"}'='"$@"'
2844   setopt NO_GLOB_SUBST
2845 else
2846   case `(set -o) 2>/dev/null` in
2847   *posix*) set -o posix ;;
2848 esac
2849
2850 fi
2851
2852
2853
2854
2855 # PATH needs CR
2856 # Avoid depending upon Character Ranges.
2857 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2858 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2859 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2860 as_cr_digits='0123456789'
2861 as_cr_alnum=$as_cr_Letters$as_cr_digits
2862
2863 # The user is always right.
2864 if test "${PATH_SEPARATOR+set}" != set; then
2865   echo "#! /bin/sh" >conf$$.sh
2866   echo  "exit 0"   >>conf$$.sh
2867   chmod +x conf$$.sh
2868   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2869     PATH_SEPARATOR=';'
2870   else
2871     PATH_SEPARATOR=:
2872   fi
2873   rm -f conf$$.sh
2874 fi
2875
2876 # Support unset when possible.
2877 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2878   as_unset=unset
2879 else
2880   as_unset=false
2881 fi
2882
2883
2884 # IFS
2885 # We need space, tab and new line, in precisely that order.  Quoting is
2886 # there to prevent editors from complaining about space-tab.
2887 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2888 # splitting by setting IFS to empty value.)
2889 as_nl='
2890 '
2891 IFS=" ""        $as_nl"
2892
2893 # Find who we are.  Look in the path if we contain no directory separator.
2894 case $0 in
2895   *[\\/]* ) as_myself=$0 ;;
2896   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2897 for as_dir in $PATH
2898 do
2899   IFS=$as_save_IFS
2900   test -z "$as_dir" && as_dir=.
2901   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2902 done
2903 IFS=$as_save_IFS
2904
2905      ;;
2906 esac
2907 # We did not find ourselves, most probably we were run as `sh COMMAND'
2908 # in which case we are not to be found in the path.
2909 if test "x$as_myself" = x; then
2910   as_myself=$0
2911 fi
2912 if test ! -f "$as_myself"; then
2913   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2914   { (exit 1); exit 1; }
2915 fi
2916
2917 # Work around bugs in pre-3.0 UWIN ksh.
2918 for as_var in ENV MAIL MAILPATH
2919 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2920 done
2921 PS1='$ '
2922 PS2='> '
2923 PS4='+ '
2924
2925 # NLS nuisances.
2926 for as_var in \
2927   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2928   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2929   LC_TELEPHONE LC_TIME
2930 do
2931   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2932     eval $as_var=C; export $as_var
2933   else
2934     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2935   fi
2936 done
2937
2938 # Required to use basename.
2939 if expr a : '\(a\)' >/dev/null 2>&1 &&
2940    test "X`expr 00001 : '.*\(...\)'`" = X001; then
2941   as_expr=expr
2942 else
2943   as_expr=false
2944 fi
2945
2946 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2947   as_basename=basename
2948 else
2949   as_basename=false
2950 fi
2951
2952
2953 # Name of the executable.
2954 as_me=`$as_basename -- "$0" ||
2955 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2956          X"$0" : 'X\(//\)$' \| \
2957          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2958 echo X/"$0" |
2959     sed '/^.*\/\([^/][^/]*\)\/*$/{
2960             s//\1/
2961             q
2962           }
2963           /^X\/\(\/\/\)$/{
2964             s//\1/
2965             q
2966           }
2967           /^X\/\(\/\).*/{
2968             s//\1/
2969             q
2970           }
2971           s/.*/./; q'`
2972
2973 # CDPATH.
2974 $as_unset CDPATH
2975
2976
2977
2978   as_lineno_1=$LINENO
2979   as_lineno_2=$LINENO
2980   test "x$as_lineno_1" != "x$as_lineno_2" &&
2981   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2982
2983   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2984   # uniformly replaced by the line number.  The first 'sed' inserts a
2985   # line-number line after each line using $LINENO; the second 'sed'
2986   # does the real work.  The second script uses 'N' to pair each
2987   # line-number line with the line containing $LINENO, and appends
2988   # trailing '-' during substitution so that $LINENO is not a special
2989   # case at line end.
2990   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2991   # scripts with optimization help from Paolo Bonzini.  Blame Lee
2992   # E. McMahon (1931-1989) for sed's syntax.  :-)
2993   sed -n '
2994     p
2995     /[$]LINENO/=
2996   ' <$as_myself |
2997     sed '
2998       s/[$]LINENO.*/&-/
2999       t lineno
3000       b
3001       :lineno
3002       N
3003       :loop
3004       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3005       t loop
3006       s/-\n.*//
3007     ' >$as_me.lineno &&
3008   chmod +x "$as_me.lineno" ||
3009     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3010    { (exit 1); exit 1; }; }
3011
3012   # Don't try to exec as it changes $[0], causing all sort of problems
3013   # (the dirname of $[0] is not the place where we might find the
3014   # original and so on.  Autoconf is especially sensitive to this).
3015   . "./$as_me.lineno"
3016   # Exit status is that of the last command.
3017   exit
3018 }
3019
3020
3021 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3022   as_dirname=dirname
3023 else
3024   as_dirname=false
3025 fi
3026
3027 ECHO_C= ECHO_N= ECHO_T=
3028 case `echo -n x` in
3029 -n*)
3030   case `echo 'x\c'` in
3031   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
3032   *)   ECHO_C='\c';;
3033   esac;;
3034 *)
3035   ECHO_N='-n';;
3036 esac
3037
3038 if expr a : '\(a\)' >/dev/null 2>&1 &&
3039    test "X`expr 00001 : '.*\(...\)'`" = X001; then
3040   as_expr=expr
3041 else
3042   as_expr=false
3043 fi
3044
3045 rm -f conf$$ conf$$.exe conf$$.file
3046 if test -d conf$$.dir; then
3047   rm -f conf$$.dir/conf$$.file
3048 else
3049   rm -f conf$$.dir
3050   mkdir conf$$.dir
3051 fi
3052 echo >conf$$.file
3053 if ln -s conf$$.file conf$$ 2>/dev/null; then
3054   as_ln_s='ln -s'
3055   # ... but there are two gotchas:
3056   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3057   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3058   # In both cases, we have to default to `cp -p'.
3059   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3060     as_ln_s='cp -p'
3061 elif ln conf$$.file conf$$ 2>/dev/null; then
3062   as_ln_s=ln
3063 else
3064   as_ln_s='cp -p'
3065 fi
3066 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3067 rmdir conf$$.dir 2>/dev/null
3068
3069 if mkdir -p . 2>/dev/null; then
3070   as_mkdir_p=:
3071 else
3072   test -d ./-p && rmdir ./-p
3073   as_mkdir_p=false
3074 fi
3075
3076 if test -x / >/dev/null 2>&1; then
3077   as_test_x='test -x'
3078 else
3079   if ls -dL / >/dev/null 2>&1; then
3080     as_ls_L_option=L
3081   else
3082     as_ls_L_option=
3083   fi
3084   as_test_x='
3085     eval sh -c '\''
3086       if test -d "$1"; then
3087         test -d "$1/.";
3088       else
3089         case $1 in
3090         -*)set "./$1";;
3091         esac;
3092         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3093         ???[sx]*):;;*)false;;esac;fi
3094     '\'' sh
3095   '
3096 fi
3097 as_executable_p=$as_test_x
3098
3099 # Sed expression to map a string onto a valid CPP name.
3100 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3101
3102 # Sed expression to map a string onto a valid variable name.
3103 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3104
3105
3106 exec 6>&1
3107
3108 # Save the log message, to keep $[0] and so on meaningful, and to
3109 # report actual input values of CONFIG_FILES etc. instead of their
3110 # values after options handling.
3111 ac_log="
3112 This file was extended by $as_me, which was
3113 generated by GNU Autoconf 2.61.  Invocation command line was
3114
3115   CONFIG_FILES    = $CONFIG_FILES
3116   CONFIG_HEADERS  = $CONFIG_HEADERS
3117   CONFIG_LINKS    = $CONFIG_LINKS
3118   CONFIG_COMMANDS = $CONFIG_COMMANDS
3119   $ $0 $@
3120
3121 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3122 "
3123
3124 _ACEOF
3125
3126 cat >>$CONFIG_STATUS <<_ACEOF
3127 # Files that config.status was made for.
3128 config_files="$ac_config_files"
3129
3130 _ACEOF
3131
3132 cat >>$CONFIG_STATUS <<\_ACEOF
3133 ac_cs_usage="\
3134 \`$as_me' instantiates files from templates according to the
3135 current configuration.
3136
3137 Usage: $0 [OPTIONS] [FILE]...
3138
3139   -h, --help       print this help, then exit
3140   -V, --version    print version number and configuration settings, then exit
3141   -q, --quiet      do not print progress messages
3142   -d, --debug      don't remove temporary files
3143       --recheck    update $as_me by reconfiguring in the same conditions
3144   --file=FILE[:TEMPLATE]
3145                    instantiate the configuration file FILE
3146
3147 Configuration files:
3148 $config_files
3149
3150 Report bugs to <bug-autoconf@gnu.org>."
3151
3152 _ACEOF
3153 cat >>$CONFIG_STATUS <<_ACEOF
3154 ac_cs_version="\\
3155 config.status
3156 configured by $0, generated by GNU Autoconf 2.61,
3157   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3158
3159 Copyright (C) 2006 Free Software Foundation, Inc.
3160 This config.status script is free software; the Free Software Foundation
3161 gives unlimited permission to copy, distribute and modify it."
3162
3163 ac_pwd='$ac_pwd'
3164 srcdir='$srcdir'
3165 _ACEOF
3166
3167 cat >>$CONFIG_STATUS <<\_ACEOF
3168 # If no file are specified by the user, then we need to provide default
3169 # value.  By we need to know if files were specified by the user.
3170 ac_need_defaults=:
3171 while test $# != 0
3172 do
3173   case $1 in
3174   --*=*)
3175     ac_option=`expr "X$1" : 'X\([^=]*\)='`
3176     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3177     ac_shift=:
3178     ;;
3179   *)
3180     ac_option=$1
3181     ac_optarg=$2
3182     ac_shift=shift
3183     ;;
3184   esac
3185
3186   case $ac_option in
3187   # Handling of the options.
3188   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3189     ac_cs_recheck=: ;;
3190   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3191     echo "$ac_cs_version"; exit ;;
3192   --debug | --debu | --deb | --de | --d | -d )
3193     debug=: ;;
3194   --file | --fil | --fi | --f )
3195     $ac_shift
3196     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3197     ac_need_defaults=false;;
3198   --he | --h |  --help | --hel | -h )
3199     echo "$ac_cs_usage"; exit ;;
3200   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3201   | -silent | --silent | --silen | --sile | --sil | --si | --s)
3202     ac_cs_silent=: ;;
3203
3204   # This is an error.
3205   -*) { echo "$as_me: error: unrecognized option: $1
3206 Try \`$0 --help' for more information." >&2
3207    { (exit 1); exit 1; }; } ;;
3208
3209   *) ac_config_targets="$ac_config_targets $1"
3210      ac_need_defaults=false ;;
3211
3212   esac
3213   shift
3214 done
3215
3216 ac_configure_extra_args=
3217
3218 if $ac_cs_silent; then
3219   exec 6>/dev/null
3220   ac_configure_extra_args="$ac_configure_extra_args --silent"
3221 fi
3222
3223 _ACEOF
3224 cat >>$CONFIG_STATUS <<_ACEOF
3225 if \$ac_cs_recheck; then
3226   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3227   CONFIG_SHELL=$SHELL
3228   export CONFIG_SHELL
3229   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3230 fi
3231
3232 _ACEOF
3233 cat >>$CONFIG_STATUS <<\_ACEOF
3234 exec 5>>config.log
3235 {
3236   echo
3237   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3238 ## Running $as_me. ##
3239 _ASBOX
3240   echo "$ac_log"
3241 } >&5
3242
3243 _ACEOF
3244 cat >>$CONFIG_STATUS <<_ACEOF
3245 _ACEOF
3246
3247 cat >>$CONFIG_STATUS <<\_ACEOF
3248
3249 # Handling of arguments.
3250 for ac_config_target in $ac_config_targets
3251 do
3252   case $ac_config_target in
3253     "./Makefile") CONFIG_FILES="$CONFIG_FILES ./Makefile" ;;
3254     "./drivers/Makefile") CONFIG_FILES="$CONFIG_FILES ./drivers/Makefile" ;;
3255
3256   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3257 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3258    { (exit 1); exit 1; }; };;
3259   esac
3260 done
3261
3262
3263 # If the user did not use the arguments to specify the items to instantiate,
3264 # then the envvar interface is used.  Set only those that are not.
3265 # We use the long form for the default assignment because of an extremely
3266 # bizarre bug on SunOS 4.1.3.
3267 if $ac_need_defaults; then
3268   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3269 fi
3270
3271 # Have a temporary directory for convenience.  Make it in the build tree
3272 # simply because there is no reason against having it here, and in addition,
3273 # creating and moving files from /tmp can sometimes cause problems.
3274 # Hook for its removal unless debugging.
3275 # Note that there is a small window in which the directory will not be cleaned:
3276 # after its creation but before its name has been assigned to `$tmp'.
3277 $debug ||
3278 {
3279   tmp=
3280   trap 'exit_status=$?
3281   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3282 ' 0
3283   trap '{ (exit 1); exit 1; }' 1 2 13 15
3284 }
3285 # Create a (secure) tmp directory for tmp files.
3286
3287 {
3288   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3289   test -n "$tmp" && test -d "$tmp"
3290 }  ||
3291 {
3292   tmp=./conf$$-$RANDOM
3293   (umask 077 && mkdir "$tmp")
3294 } ||
3295 {
3296    echo "$me: cannot create a temporary directory in ." >&2
3297    { (exit 1); exit 1; }
3298 }
3299
3300 #
3301 # Set up the sed scripts for CONFIG_FILES section.
3302 #
3303
3304 # No need to generate the scripts if there are no CONFIG_FILES.
3305 # This happens for instance when ./config.status config.h
3306 if test -n "$CONFIG_FILES"; then
3307
3308 _ACEOF
3309
3310
3311
3312 ac_delim='%!_!# '
3313 for ac_last_try in false false false false false :; do
3314   cat >conf$$subs.sed <<_ACEOF
3315 SHELL!$SHELL$ac_delim
3316 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3317 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3318 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3319 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3320 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3321 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3322 exec_prefix!$exec_prefix$ac_delim
3323 prefix!$prefix$ac_delim
3324 program_transform_name!$program_transform_name$ac_delim
3325 bindir!$bindir$ac_delim
3326 sbindir!$sbindir$ac_delim
3327 libexecdir!$libexecdir$ac_delim
3328 datarootdir!$datarootdir$ac_delim
3329 datadir!$datadir$ac_delim
3330 sysconfdir!$sysconfdir$ac_delim
3331 sharedstatedir!$sharedstatedir$ac_delim
3332 localstatedir!$localstatedir$ac_delim
3333 includedir!$includedir$ac_delim
3334 oldincludedir!$oldincludedir$ac_delim
3335 docdir!$docdir$ac_delim
3336 infodir!$infodir$ac_delim
3337 htmldir!$htmldir$ac_delim
3338 dvidir!$dvidir$ac_delim
3339 pdfdir!$pdfdir$ac_delim
3340 psdir!$psdir$ac_delim
3341 libdir!$libdir$ac_delim
3342 localedir!$localedir$ac_delim
3343 mandir!$mandir$ac_delim
3344 DEFS!$DEFS$ac_delim
3345 ECHO_C!$ECHO_C$ac_delim
3346 ECHO_N!$ECHO_N$ac_delim
3347 ECHO_T!$ECHO_T$ac_delim
3348 LIBS!$LIBS$ac_delim
3349 build_alias!$build_alias$ac_delim
3350 host_alias!$host_alias$ac_delim
3351 target_alias!$target_alias$ac_delim
3352 CC!$CC$ac_delim
3353 CFLAGS!$CFLAGS$ac_delim
3354 LDFLAGS!$LDFLAGS$ac_delim
3355 CPPFLAGS!$CPPFLAGS$ac_delim
3356 ac_ct_CC!$ac_ct_CC$ac_delim
3357 EXEEXT!$EXEEXT$ac_delim
3358 OBJEXT!$OBJEXT$ac_delim
3359 subdirs!$subdirs$ac_delim
3360 sql_ldflags!$sql_ldflags$ac_delim
3361 sql_cflags!$sql_cflags$ac_delim
3362 targetname!$targetname$ac_delim
3363 SQL_MODULES!$SQL_MODULES$ac_delim
3364 LIBOBJS!$LIBOBJS$ac_delim
3365 LTLIBOBJS!$LTLIBOBJS$ac_delim
3366 _ACEOF
3367
3368   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
3369     break
3370   elif $ac_last_try; then
3371     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3372 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3373    { (exit 1); exit 1; }; }
3374   else
3375     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3376   fi
3377 done
3378
3379 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3380 if test -n "$ac_eof"; then
3381   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3382   ac_eof=`expr $ac_eof + 1`
3383 fi
3384
3385 cat >>$CONFIG_STATUS <<_ACEOF
3386 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3387 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3388 _ACEOF
3389 sed '
3390 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3391 s/^/s,@/; s/!/@,|#_!!_#|/
3392 :n
3393 t n
3394 s/'"$ac_delim"'$/,g/; t
3395 s/$/\\/; p
3396 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3397 ' >>$CONFIG_STATUS <conf$$subs.sed
3398 rm -f conf$$subs.sed
3399 cat >>$CONFIG_STATUS <<_ACEOF
3400 :end
3401 s/|#_!!_#|//g
3402 CEOF$ac_eof
3403 _ACEOF
3404
3405
3406 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3407 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3408 # trailing colons and then remove the whole line if VPATH becomes empty
3409 # (actually we leave an empty line to preserve line numbers).
3410 if test "x$srcdir" = x.; then
3411   ac_vpsub='/^[  ]*VPATH[        ]*=/{
3412 s/:*\$(srcdir):*/:/
3413 s/:*\${srcdir}:*/:/
3414 s/:*@srcdir@:*/:/
3415 s/^\([^=]*=[     ]*\):*/\1/
3416 s/:*$//
3417 s/^[^=]*=[       ]*$//
3418 }'
3419 fi
3420
3421 cat >>$CONFIG_STATUS <<\_ACEOF
3422 fi # test -n "$CONFIG_FILES"
3423
3424
3425 for ac_tag in  :F $CONFIG_FILES
3426 do
3427   case $ac_tag in
3428   :[FHLC]) ac_mode=$ac_tag; continue;;
3429   esac
3430   case $ac_mode$ac_tag in
3431   :[FHL]*:*);;
3432   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3433 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3434    { (exit 1); exit 1; }; };;
3435   :[FH]-) ac_tag=-:-;;
3436   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3437   esac
3438   ac_save_IFS=$IFS
3439   IFS=:
3440   set x $ac_tag
3441   IFS=$ac_save_IFS
3442   shift
3443   ac_file=$1
3444   shift
3445
3446   case $ac_mode in
3447   :L) ac_source=$1;;
3448   :[FH])
3449     ac_file_inputs=
3450     for ac_f
3451     do
3452       case $ac_f in
3453       -) ac_f="$tmp/stdin";;
3454       *) # Look for the file first in the build tree, then in the source tree
3455          # (if the path is not absolute).  The absolute path cannot be DOS-style,
3456          # because $ac_f cannot contain `:'.
3457          test -f "$ac_f" ||
3458            case $ac_f in
3459            [\\/$]*) false;;
3460            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3461            esac ||
3462            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3463 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3464    { (exit 1); exit 1; }; };;
3465       esac
3466       ac_file_inputs="$ac_file_inputs $ac_f"
3467     done
3468
3469     # Let's still pretend it is `configure' which instantiates (i.e., don't
3470     # use $as_me), people would be surprised to read:
3471     #    /* config.h.  Generated by config.status.  */
3472     configure_input="Generated from "`IFS=:
3473           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3474     if test x"$ac_file" != x-; then
3475       configure_input="$ac_file.  $configure_input"
3476       { echo "$as_me:$LINENO: creating $ac_file" >&5
3477 echo "$as_me: creating $ac_file" >&6;}
3478     fi
3479
3480     case $ac_tag in
3481     *:-:* | *:-) cat >"$tmp/stdin";;
3482     esac
3483     ;;
3484   esac
3485
3486   ac_dir=`$as_dirname -- "$ac_file" ||
3487 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3488          X"$ac_file" : 'X\(//\)[^/]' \| \
3489          X"$ac_file" : 'X\(//\)$' \| \
3490          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3491 echo X"$ac_file" |
3492     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3493             s//\1/
3494             q
3495           }
3496           /^X\(\/\/\)[^/].*/{
3497             s//\1/
3498             q
3499           }
3500           /^X\(\/\/\)$/{
3501             s//\1/
3502             q
3503           }
3504           /^X\(\/\).*/{
3505             s//\1/
3506             q
3507           }
3508           s/.*/./; q'`
3509   { as_dir="$ac_dir"
3510   case $as_dir in #(
3511   -*) as_dir=./$as_dir;;
3512   esac
3513   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3514     as_dirs=
3515     while :; do
3516       case $as_dir in #(
3517       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3518       *) as_qdir=$as_dir;;
3519       esac
3520       as_dirs="'$as_qdir' $as_dirs"
3521       as_dir=`$as_dirname -- "$as_dir" ||
3522 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3523          X"$as_dir" : 'X\(//\)[^/]' \| \
3524          X"$as_dir" : 'X\(//\)$' \| \
3525          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3526 echo X"$as_dir" |
3527     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3528             s//\1/
3529             q
3530           }
3531           /^X\(\/\/\)[^/].*/{
3532             s//\1/
3533             q
3534           }
3535           /^X\(\/\/\)$/{
3536             s//\1/
3537             q
3538           }
3539           /^X\(\/\).*/{
3540             s//\1/
3541             q
3542           }
3543           s/.*/./; q'`
3544       test -d "$as_dir" && break
3545     done
3546     test -z "$as_dirs" || eval "mkdir $as_dirs"
3547   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3548 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3549    { (exit 1); exit 1; }; }; }
3550   ac_builddir=.
3551
3552 case "$ac_dir" in
3553 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3554 *)
3555   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3556   # A ".." for each directory in $ac_dir_suffix.
3557   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3558   case $ac_top_builddir_sub in
3559   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3560   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3561   esac ;;
3562 esac
3563 ac_abs_top_builddir=$ac_pwd
3564 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3565 # for backward compatibility:
3566 ac_top_builddir=$ac_top_build_prefix
3567
3568 case $srcdir in
3569   .)  # We are building in place.
3570     ac_srcdir=.
3571     ac_top_srcdir=$ac_top_builddir_sub
3572     ac_abs_top_srcdir=$ac_pwd ;;
3573   [\\/]* | ?:[\\/]* )  # Absolute name.
3574     ac_srcdir=$srcdir$ac_dir_suffix;
3575     ac_top_srcdir=$srcdir
3576     ac_abs_top_srcdir=$srcdir ;;
3577   *) # Relative name.
3578     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3579     ac_top_srcdir=$ac_top_build_prefix$srcdir
3580     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3581 esac
3582 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3583
3584
3585   case $ac_mode in
3586   :F)
3587   #
3588   # CONFIG_FILE
3589   #
3590
3591 _ACEOF
3592
3593 cat >>$CONFIG_STATUS <<\_ACEOF
3594 # If the template does not know about datarootdir, expand it.
3595 # FIXME: This hack should be removed a few years after 2.60.
3596 ac_datarootdir_hack=; ac_datarootdir_seen=
3597
3598 case `sed -n '/datarootdir/ {
3599   p
3600   q
3601 }
3602 /@datadir@/p
3603 /@docdir@/p
3604 /@infodir@/p
3605 /@localedir@/p
3606 /@mandir@/p
3607 ' $ac_file_inputs` in
3608 *datarootdir*) ac_datarootdir_seen=yes;;
3609 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3610   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3611 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3612 _ACEOF
3613 cat >>$CONFIG_STATUS <<_ACEOF
3614   ac_datarootdir_hack='
3615   s&@datadir@&$datadir&g
3616   s&@docdir@&$docdir&g
3617   s&@infodir@&$infodir&g
3618   s&@localedir@&$localedir&g
3619   s&@mandir@&$mandir&g
3620     s&\\\${datarootdir}&$datarootdir&g' ;;
3621 esac
3622 _ACEOF
3623
3624 # Neutralize VPATH when `$srcdir' = `.'.
3625 # Shell code in configure.ac might set extrasub.
3626 # FIXME: do we really want to maintain this feature?
3627 cat >>$CONFIG_STATUS <<_ACEOF
3628   sed "$ac_vpsub
3629 $extrasub
3630 _ACEOF
3631 cat >>$CONFIG_STATUS <<\_ACEOF
3632 :t
3633 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3634 s&@configure_input@&$configure_input&;t t
3635 s&@top_builddir@&$ac_top_builddir_sub&;t t
3636 s&@srcdir@&$ac_srcdir&;t t
3637 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3638 s&@top_srcdir@&$ac_top_srcdir&;t t
3639 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3640 s&@builddir@&$ac_builddir&;t t
3641 s&@abs_builddir@&$ac_abs_builddir&;t t
3642 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3643 $ac_datarootdir_hack
3644 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3645
3646 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3647   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3648   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3649   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3650 which seems to be undefined.  Please make sure it is defined." >&5
3651 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3652 which seems to be undefined.  Please make sure it is defined." >&2;}
3653
3654   rm -f "$tmp/stdin"
3655   case $ac_file in
3656   -) cat "$tmp/out"; rm -f "$tmp/out";;
3657   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3658   esac
3659  ;;
3660
3661
3662
3663   esac
3664
3665 done # for ac_tag
3666
3667
3668 { (exit 0); exit 0; }
3669 _ACEOF
3670 chmod +x $CONFIG_STATUS
3671 ac_clean_files=$ac_clean_files_save
3672
3673
3674 # configure is writing to config.log, and then calls config.status.
3675 # config.status does its own redirection, appending to config.log.
3676 # Unfortunately, on DOS this fails, as config.log is still kept open
3677 # by configure, so config.status won't be able to write to it; its
3678 # output is simply discarded.  So we exec the FD to /dev/null,
3679 # effectively closing config.log, so it can be properly (re)opened and
3680 # appended to by config.status.  When coming back to configure, we
3681 # need to make the FD available again.
3682 if test "$no_create" != yes; then
3683   ac_cs_success=:
3684   ac_config_status_args=
3685   test "$silent" = yes &&
3686     ac_config_status_args="$ac_config_status_args --quiet"
3687   exec 5>/dev/null
3688   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3689   exec 5>>config.log
3690   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3691   # would make configure fail if this is the last instruction.
3692   $ac_cs_success || { (exit 1); exit 1; }
3693 fi
3694
3695 #
3696 # CONFIG_SUBDIRS section.
3697 #
3698 if test "$no_recursion" != yes; then
3699
3700   # Remove --cache-file and --srcdir arguments so they do not pile up.
3701   ac_sub_configure_args=
3702   ac_prev=
3703   eval "set x $ac_configure_args"
3704   shift
3705   for ac_arg
3706   do
3707     if test -n "$ac_prev"; then
3708       ac_prev=
3709       continue
3710     fi
3711     case $ac_arg in
3712     -cache-file | --cache-file | --cache-fil | --cache-fi \
3713     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3714       ac_prev=cache_file ;;
3715     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3716     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3717     | --c=*)
3718       ;;
3719     --config-cache | -C)
3720       ;;
3721     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3722       ac_prev=srcdir ;;
3723     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3724       ;;
3725     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3726       ac_prev=prefix ;;
3727     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3728       ;;
3729     *)
3730       case $ac_arg in
3731       *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3732       esac
3733       ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
3734     esac
3735   done
3736
3737   # Always prepend --prefix to ensure using the same prefix
3738   # in subdir configurations.
3739   ac_arg="--prefix=$prefix"
3740   case $ac_arg in
3741   *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3742   esac
3743   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
3744
3745   # Pass --silent
3746   if test "$silent" = yes; then
3747     ac_sub_configure_args="--silent $ac_sub_configure_args"
3748   fi
3749
3750   ac_popdir=`pwd`
3751   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3752
3753     # Do not complain, so a configure script can configure whichever
3754     # parts of a large source tree are present.
3755     test -d "$srcdir/$ac_dir" || continue
3756
3757     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
3758     echo "$as_me:$LINENO: $ac_msg" >&5
3759     echo "$ac_msg" >&6
3760     { as_dir="$ac_dir"
3761   case $as_dir in #(
3762   -*) as_dir=./$as_dir;;
3763   esac
3764   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3765     as_dirs=
3766     while :; do
3767       case $as_dir in #(
3768       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3769       *) as_qdir=$as_dir;;
3770       esac
3771       as_dirs="'$as_qdir' $as_dirs"
3772       as_dir=`$as_dirname -- "$as_dir" ||
3773 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3774          X"$as_dir" : 'X\(//\)[^/]' \| \
3775          X"$as_dir" : 'X\(//\)$' \| \
3776          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3777 echo X"$as_dir" |
3778     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3779             s//\1/
3780             q
3781           }
3782           /^X\(\/\/\)[^/].*/{
3783             s//\1/
3784             q
3785           }
3786           /^X\(\/\/\)$/{
3787             s//\1/
3788             q
3789           }
3790           /^X\(\/\).*/{
3791             s//\1/
3792             q
3793           }
3794           s/.*/./; q'`
3795       test -d "$as_dir" && break
3796     done
3797     test -z "$as_dirs" || eval "mkdir $as_dirs"
3798   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3799 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3800    { (exit 1); exit 1; }; }; }
3801     ac_builddir=.
3802
3803 case "$ac_dir" in
3804 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3805 *)
3806   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3807   # A ".." for each directory in $ac_dir_suffix.
3808   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3809   case $ac_top_builddir_sub in
3810   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3811   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3812   esac ;;
3813 esac
3814 ac_abs_top_builddir=$ac_pwd
3815 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3816 # for backward compatibility:
3817 ac_top_builddir=$ac_top_build_prefix
3818
3819 case $srcdir in
3820   .)  # We are building in place.
3821     ac_srcdir=.
3822     ac_top_srcdir=$ac_top_builddir_sub
3823     ac_abs_top_srcdir=$ac_pwd ;;
3824   [\\/]* | ?:[\\/]* )  # Absolute name.
3825     ac_srcdir=$srcdir$ac_dir_suffix;
3826     ac_top_srcdir=$srcdir
3827     ac_abs_top_srcdir=$srcdir ;;
3828   *) # Relative name.
3829     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3830     ac_top_srcdir=$ac_top_build_prefix$srcdir
3831     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3832 esac
3833 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3834
3835
3836     cd "$ac_dir"
3837
3838     # Check for guested configure; otherwise get Cygnus style configure.
3839     if test -f "$ac_srcdir/configure.gnu"; then
3840       ac_sub_configure=$ac_srcdir/configure.gnu
3841     elif test -f "$ac_srcdir/configure"; then
3842       ac_sub_configure=$ac_srcdir/configure
3843     elif test -f "$ac_srcdir/configure.in"; then
3844       # This should be Cygnus configure.
3845       ac_sub_configure=$ac_aux_dir/configure
3846     else
3847       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
3848 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3849       ac_sub_configure=
3850     fi
3851
3852     # The recursion is here.
3853     if test -n "$ac_sub_configure"; then
3854       # Make the cache file name correct relative to the subdirectory.
3855       case $cache_file in
3856       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3857       *) # Relative name.
3858         ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
3859       esac
3860
3861       { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3862 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3863       # The eval makes quoting arguments work.
3864       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
3865            --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
3866         { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
3867 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
3868    { (exit 1); exit 1; }; }
3869     fi
3870
3871     cd "$ac_popdir"
3872   done
3873 fi
3874
3875