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