2 # From configure.in Revision: 1.7 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59.
6 # Copyright (C) 2003 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 DUALCASE=1; export DUALCASE # for MKS sh
25 # Support unset when possible.
26 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33 # Work around bugs in pre-3.0 UWIN ksh.
34 $as_unset ENV MAIL MAILPATH
41 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46 eval $as_var=C; export $as_var
52 # Required to use basename.
53 if expr a : '\(a\)' >/dev/null 2>&1; then
59 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
66 # Name of the executable.
67 as_me=`$as_basename "$0" ||
68 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
69 X"$0" : 'X\(//\)$' \| \
70 X"$0" : 'X\(/\)$' \| \
71 . : '\(.\)' 2>/dev/null ||
73 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
74 /^X\/\(\/\/\)$/{ s//\1/; q; }
75 /^X\/\(\/\).*/{ s//\1/; q; }
79 # PATH needs CR, and LINENO needs CR and PATH.
80 # Avoid depending upon Character Ranges.
81 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
84 as_cr_digits='0123456789'
85 as_cr_alnum=$as_cr_Letters$as_cr_digits
87 # The user is always right.
88 if test "${PATH_SEPARATOR+set}" != set; then
89 echo "#! /bin/sh" >conf$$.sh
90 echo "exit 0" >>conf$$.sh
92 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
103 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
104 test "x$as_lineno_1" != "x$as_lineno_2" &&
105 test "x$as_lineno_3" = "x$as_lineno_2" || {
106 # Find who we are. Look in the path if we contain no path at all
109 *[\\/]* ) as_myself=$0 ;;
110 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
114 test -z "$as_dir" && as_dir=.
115 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
120 # We did not find ourselves, most probably we were run as `sh COMMAND'
121 # in which case we are not to be found in the path.
122 if test "x$as_myself" = x; then
125 if test ! -f "$as_myself"; then
126 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
127 { (exit 1); exit 1; }; }
129 case $CONFIG_SHELL in
131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
132 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 test -z "$as_dir" && as_dir=.
136 for as_base in sh bash ksh sh5; do
139 if ("$as_dir/$as_base" -c '
142 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143 test "x$as_lineno_1" != "x$as_lineno_2" &&
144 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
145 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
146 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
147 CONFIG_SHELL=$as_dir/$as_base
149 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
157 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
158 # uniformly replaced by the line number. The first 'sed' inserts a
159 # line-number line before each line; the second 'sed' does the real
160 # work. The second script uses 'N' to pair each line-number line
161 # with the numbered line, and appends trailing '-' during
162 # substitution so that $LINENO is not a special case at line end.
163 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
164 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
165 sed '=' <$as_myself |
170 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 s,^['$as_cr_digits']*\n,,
175 chmod +x $as_me.lineno ||
176 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
177 { (exit 1); exit 1; }; }
179 # Don't try to exec as it changes $[0], causing all sort of problems
180 # (the dirname of $[0] is not the place where we might find the
181 # original and so on. Autoconf is especially sensible to this).
183 # Exit status is that of the last command.
188 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
189 *c*,-n*) ECHO_N= ECHO_C='
191 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
192 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 if expr a : '\(a\)' >/dev/null 2>&1; then
201 rm -f conf$$ conf$$.exe conf$$.file
203 if ln -s conf$$.file conf$$ 2>/dev/null; then
204 # We could just check for DJGPP; but this test a) works b) is more generic
205 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
206 if test -f conf$$.exe; then
207 # Don't use ln at all; we don't have any links
212 elif ln conf$$.file conf$$ 2>/dev/null; then
217 rm -f conf$$ conf$$.exe conf$$.file
219 if mkdir -p . 2>/dev/null; then
222 test -d ./-p && rmdir ./-p
226 as_executable_p="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
236 # We need space, tab and new line, in precisely that order.
246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247 # so uname gets run too.
248 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
255 ac_default_prefix=/usr/local
256 ac_config_libobj_dir=.
261 SHELL=${CONFIG_SHELL-/bin/sh}
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete. It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
268 # Identity of this package.
275 ac_unique_file="sql_oracle.c"
276 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP ORACLE_LIBS ORACLE_INCLUDE sql_oracle_ldflags sql_oracle_cflags targetname LIBOBJS LTLIBOBJS'
279 # Initialize some variables set by options.
281 ac_init_version=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
291 program_transform_name=s,x,x,
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir='${exec_prefix}/bin'
305 sbindir='${exec_prefix}/sbin'
306 libexecdir='${exec_prefix}/libexec'
307 datadir='${prefix}/share'
308 sysconfdir='${prefix}/etc'
309 sharedstatedir='${prefix}/com'
310 localstatedir='${prefix}/var'
311 libdir='${exec_prefix}/lib'
312 includedir='${prefix}/include'
313 oldincludedir='/usr/include'
314 infodir='${prefix}/info'
315 mandir='${prefix}/man'
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
327 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329 # Accept the important Cygnus configure options, so we can diagnose typos.
333 -bindir | --bindir | --bindi | --bind | --bin | --bi)
335 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
338 -build | --build | --buil | --bui | --bu)
339 ac_prev=build_alias ;;
340 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341 build_alias=$ac_optarg ;;
343 -cache-file | --cache-file | --cache-fil | --cache-fi \
344 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345 ac_prev=cache_file ;;
346 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348 cache_file=$ac_optarg ;;
351 cache_file=config.cache ;;
353 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
355 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
357 datadir=$ac_optarg ;;
359 -disable-* | --disable-*)
360 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
368 -enable-* | --enable-*)
369 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
376 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379 eval "enable_$ac_feature='$ac_optarg'" ;;
381 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383 | --exec | --exe | --ex)
384 ac_prev=exec_prefix ;;
385 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387 | --exec=* | --exe=* | --ex=*)
388 exec_prefix=$ac_optarg ;;
390 -gas | --gas | --ga | --g)
391 # Obsolete; use --with-gas.
394 -help | --help | --hel | --he | -h)
396 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397 ac_init_help=recursive ;;
398 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399 ac_init_help=short ;;
401 -host | --host | --hos | --ho)
402 ac_prev=host_alias ;;
403 -host=* | --host=* | --hos=* | --ho=*)
404 host_alias=$ac_optarg ;;
406 -includedir | --includedir | --includedi | --included | --include \
407 | --includ | --inclu | --incl | --inc)
408 ac_prev=includedir ;;
409 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410 | --includ=* | --inclu=* | --incl=* | --inc=*)
411 includedir=$ac_optarg ;;
413 -infodir | --infodir | --infodi | --infod | --info | --inf)
415 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416 infodir=$ac_optarg ;;
418 -libdir | --libdir | --libdi | --libd)
420 -libdir=* | --libdir=* | --libdi=* | --libd=*)
423 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424 | --libexe | --libex | --libe)
425 ac_prev=libexecdir ;;
426 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427 | --libexe=* | --libex=* | --libe=*)
428 libexecdir=$ac_optarg ;;
430 -localstatedir | --localstatedir | --localstatedi | --localstated \
431 | --localstate | --localstat | --localsta | --localst \
432 | --locals | --local | --loca | --loc | --lo)
433 ac_prev=localstatedir ;;
434 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437 localstatedir=$ac_optarg ;;
439 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
441 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
445 # Obsolete; use --without-fp.
448 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449 | --no-cr | --no-c | -n)
452 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
456 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458 | --oldin | --oldi | --old | --ol | --o)
459 ac_prev=oldincludedir ;;
460 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463 oldincludedir=$ac_optarg ;;
465 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
467 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
470 -program-prefix | --program-prefix | --program-prefi | --program-pref \
471 | --program-pre | --program-pr | --program-p)
472 ac_prev=program_prefix ;;
473 -program-prefix=* | --program-prefix=* | --program-prefi=* \
474 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475 program_prefix=$ac_optarg ;;
477 -program-suffix | --program-suffix | --program-suffi | --program-suff \
478 | --program-suf | --program-su | --program-s)
479 ac_prev=program_suffix ;;
480 -program-suffix=* | --program-suffix=* | --program-suffi=* \
481 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482 program_suffix=$ac_optarg ;;
484 -program-transform-name | --program-transform-name \
485 | --program-transform-nam | --program-transform-na \
486 | --program-transform-n | --program-transform- \
487 | --program-transform | --program-transfor \
488 | --program-transfo | --program-transf \
489 | --program-trans | --program-tran \
490 | --progr-tra | --program-tr | --program-t)
491 ac_prev=program_transform_name ;;
492 -program-transform-name=* | --program-transform-name=* \
493 | --program-transform-nam=* | --program-transform-na=* \
494 | --program-transform-n=* | --program-transform-=* \
495 | --program-transform=* | --program-transfor=* \
496 | --program-transfo=* | --program-transf=* \
497 | --program-trans=* | --program-tran=* \
498 | --progr-tra=* | --program-tr=* | --program-t=*)
499 program_transform_name=$ac_optarg ;;
501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502 | -silent | --silent | --silen | --sile | --sil)
505 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
507 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
509 sbindir=$ac_optarg ;;
511 -sharedstatedir | --sharedstatedir | --sharedstatedi \
512 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513 | --sharedst | --shareds | --shared | --share | --shar \
515 ac_prev=sharedstatedir ;;
516 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
520 sharedstatedir=$ac_optarg ;;
522 -site | --site | --sit)
524 -site=* | --site=* | --sit=*)
527 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
529 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
532 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533 | --syscon | --sysco | --sysc | --sys | --sy)
534 ac_prev=sysconfdir ;;
535 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537 sysconfdir=$ac_optarg ;;
539 -target | --target | --targe | --targ | --tar | --ta | --t)
540 ac_prev=target_alias ;;
541 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542 target_alias=$ac_optarg ;;
544 -v | -verbose | --verbose | --verbos | --verbo | --verb)
547 -version | --version | --versio | --versi | --vers | -V)
551 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package=`echo $ac_package| sed 's/-/_/g'`
558 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561 eval "with_$ac_package='$ac_optarg'" ;;
563 -without-* | --without-*)
564 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
573 # Obsolete; use --with-x.
576 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577 | --x-incl | --x-inc | --x-in | --x-i)
578 ac_prev=x_includes ;;
579 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581 x_includes=$ac_optarg ;;
583 -x-libraries | --x-libraries | --x-librarie | --x-librari \
584 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585 ac_prev=x_libraries ;;
586 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588 x_libraries=$ac_optarg ;;
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
596 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
616 if test -n "$ac_prev"; then
617 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
622 # Be sure to have absolute paths.
623 for ac_var in exec_prefix prefix
625 eval ac_val=$`echo $ac_var`
627 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
633 # Be sure to have absolute paths.
634 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
637 eval ac_val=$`echo $ac_var`
639 [\\/$]* | ?:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x; then
654 if test "x$build_alias" = x; then
655 cross_compiling=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
664 test -n "$host_alias" && ac_tool_prefix=$host_alias-
666 test "$silent" = yes && exec 6>/dev/null
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
686 if test ! -r $srcdir/$ac_unique_file; then
690 ac_srcdir_defaulted=no
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
701 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set=${build_alias+set}
706 ac_env_build_alias_value=$build_alias
707 ac_cv_env_build_alias_set=${build_alias+set}
708 ac_cv_env_build_alias_value=$build_alias
709 ac_env_host_alias_set=${host_alias+set}
710 ac_env_host_alias_value=$host_alias
711 ac_cv_env_host_alias_set=${host_alias+set}
712 ac_cv_env_host_alias_value=$host_alias
713 ac_env_target_alias_set=${target_alias+set}
714 ac_env_target_alias_value=$target_alias
715 ac_cv_env_target_alias_set=${target_alias+set}
716 ac_cv_env_target_alias_value=$target_alias
717 ac_env_CC_set=${CC+set}
719 ac_cv_env_CC_set=${CC+set}
720 ac_cv_env_CC_value=$CC
721 ac_env_CFLAGS_set=${CFLAGS+set}
722 ac_env_CFLAGS_value=$CFLAGS
723 ac_cv_env_CFLAGS_set=${CFLAGS+set}
724 ac_cv_env_CFLAGS_value=$CFLAGS
725 ac_env_LDFLAGS_set=${LDFLAGS+set}
726 ac_env_LDFLAGS_value=$LDFLAGS
727 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
728 ac_cv_env_LDFLAGS_value=$LDFLAGS
729 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
730 ac_env_CPPFLAGS_value=$CPPFLAGS
731 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
732 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
733 ac_env_CPP_set=${CPP+set}
734 ac_env_CPP_value=$CPP
735 ac_cv_env_CPP_set=${CPP+set}
736 ac_cv_env_CPP_value=$CPP
739 # Report the --help message.
741 if test "$ac_init_help" = "long"; then
742 # Omit some internal or obsolete options to make the list less imposing.
743 # This message is too long to be a string in the A/UX 3.1 sh.
745 \`configure' configures this package to adapt to many kinds of systems.
747 Usage: $0 [OPTION]... [VAR=VALUE]...
749 To assign environment variables (e.g., CC, CFLAGS...), specify them as
750 VAR=VALUE. See below for descriptions of some of the useful variables.
752 Defaults for the options are specified in brackets.
755 -h, --help display this help and exit
756 --help=short display options specific to this package
757 --help=recursive display the short help of all the included packages
758 -V, --version display version information and exit
759 -q, --quiet, --silent do not print \`checking...' messages
760 --cache-file=FILE cache test results in FILE [disabled]
761 -C, --config-cache alias for \`--cache-file=config.cache'
762 -n, --no-create do not create output files
763 --srcdir=DIR find the sources in DIR [configure dir or \`..']
768 Installation directories:
769 --prefix=PREFIX install architecture-independent files in PREFIX
771 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
774 By default, \`make install' will install all the files in
775 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
776 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
777 for instance \`--prefix=\$HOME'.
779 For better control, use the options below.
781 Fine tuning of the installation directories:
782 --bindir=DIR user executables [EPREFIX/bin]
783 --sbindir=DIR system admin executables [EPREFIX/sbin]
784 --libexecdir=DIR program executables [EPREFIX/libexec]
785 --datadir=DIR read-only architecture-independent data [PREFIX/share]
786 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
787 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
788 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
789 --libdir=DIR object code libraries [EPREFIX/lib]
790 --includedir=DIR C header files [PREFIX/include]
791 --oldincludedir=DIR C header files for non-gcc [/usr/include]
792 --infodir=DIR info documentation [PREFIX/info]
793 --mandir=DIR man documentation [PREFIX/man]
800 if test -n "$ac_init_help"; then
804 Some influential environment variables:
805 CC C compiler command
806 CFLAGS C compiler flags
807 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
808 nonstandard directory <lib dir>
809 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
810 headers in a nonstandard directory <include dir>
813 Use these variables to override the choices made by `configure' or to help
814 it to find libraries and programs with nonstandard names/locations.
819 if test "$ac_init_help" = "recursive"; then
820 # If there are subdirs, report their specific --help.
822 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
823 test -d $ac_dir || continue
826 if test "$ac_dir" != .; then
827 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
828 # A "../" for each directory in $ac_dir_suffix.
829 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
831 ac_dir_suffix= ac_top_builddir=
835 .) # No --srcdir option. We are building in place.
837 if test -z "$ac_top_builddir"; then
840 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
842 [\\/]* | ?:[\\/]* ) # Absolute path.
843 ac_srcdir=$srcdir$ac_dir_suffix;
844 ac_top_srcdir=$srcdir ;;
846 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
847 ac_top_srcdir=$ac_top_builddir$srcdir ;;
850 # Do not use `cd foo && pwd` to compute absolute paths, because
851 # the directories may not exist.
853 .) ac_abs_builddir="$ac_dir";;
856 .) ac_abs_builddir=`pwd`;;
857 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
858 *) ac_abs_builddir=`pwd`/"$ac_dir";;
861 case $ac_abs_builddir in
862 .) ac_abs_top_builddir=${ac_top_builddir}.;;
864 case ${ac_top_builddir}. in
865 .) ac_abs_top_builddir=$ac_abs_builddir;;
866 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
867 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
870 case $ac_abs_builddir in
871 .) ac_abs_srcdir=$ac_srcdir;;
874 .) ac_abs_srcdir=$ac_abs_builddir;;
875 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
876 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
879 case $ac_abs_builddir in
880 .) ac_abs_top_srcdir=$ac_top_srcdir;;
882 case $ac_top_srcdir in
883 .) ac_abs_top_srcdir=$ac_abs_builddir;;
884 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
885 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
890 # Check for guested configure; otherwise get Cygnus style configure.
891 if test -f $ac_srcdir/configure.gnu; then
893 $SHELL $ac_srcdir/configure.gnu --help=recursive
894 elif test -f $ac_srcdir/configure; then
896 $SHELL $ac_srcdir/configure --help=recursive
897 elif test -f $ac_srcdir/configure.ac ||
898 test -f $ac_srcdir/configure.in; then
902 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
908 test -n "$ac_init_help" && exit 0
909 if $ac_init_version; then
912 Copyright (C) 2003 Free Software Foundation, Inc.
913 This configure script is free software; the Free Software Foundation
914 gives unlimited permission to copy, distribute and modify it.
920 This file contains any messages produced by compilers while
921 running configure, to aid debugging if configure makes a mistake.
923 It was created by $as_me, which was
924 generated by GNU Autoconf 2.59. Invocation command line was
935 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
936 uname -m = `(uname -m) 2>/dev/null || echo unknown`
937 uname -r = `(uname -r) 2>/dev/null || echo unknown`
938 uname -s = `(uname -s) 2>/dev/null || echo unknown`
939 uname -v = `(uname -v) 2>/dev/null || echo unknown`
941 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
942 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
944 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
945 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
946 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
947 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
948 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
949 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
950 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
958 test -z "$as_dir" && as_dir=.
974 # Keep a trace of the command line.
975 # Strip out --no-create and --no-recursion so they do not pile up.
976 # Strip out --silent because we don't want to record it for future runs.
977 # Also quote any args containing shell meta-characters.
978 # Make two passes to allow for proper duplicate-argument suppression.
983 ac_must_keep_next=false
989 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
990 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
991 | -silent | --silent | --silen | --sile | --sil)
993 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
994 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
997 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
999 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1000 if test $ac_must_keep_next = true; then
1001 ac_must_keep_next=false # Got value, back to normal.
1004 *=* | --config-cache | -C | -disable-* | --disable-* \
1005 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1006 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1007 | -with-* | --with-* | -without-* | --without-* | --x)
1008 case "$ac_configure_args0 " in
1009 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1012 -* ) ac_must_keep_next=true ;;
1015 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1016 # Get rid of the leading space.
1022 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1023 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1025 # When interrupted or exit'd, cleanup temporary files, and complete
1026 # config.log. We remove comments because anyway the quotes in there
1027 # would cause problems or look ugly.
1028 # WARNING: Be sure not to use single quotes in there, as some shells,
1029 # such as our DU 5.0 friend, will then `close' the trap.
1030 trap 'exit_status=$?
1031 # Save into config.log some information that might help in debugging.
1036 ## ---------------- ##
1037 ## Cache variables. ##
1038 ## ---------------- ##
1041 # The following way of writing the cache mishandles newlines in values,
1044 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1047 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1048 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1052 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1059 ## ----------------- ##
1060 ## Output variables. ##
1061 ## ----------------- ##
1064 for ac_var in $ac_subst_vars
1066 eval ac_val=$`echo $ac_var`
1067 echo "$ac_var='"'"'$ac_val'"'"'"
1071 if test -n "$ac_subst_files"; then
1078 for ac_var in $ac_subst_files
1080 eval ac_val=$`echo $ac_var`
1081 echo "$ac_var='"'"'$ac_val'"'"'"
1086 if test -s confdefs.h; then
1093 sed "/^$/d" confdefs.h | sort
1096 test "$ac_signal" != 0 &&
1097 echo "$as_me: caught signal $ac_signal"
1098 echo "$as_me: exit $exit_status"
1100 rm -f core *.core &&
1101 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1104 for ac_signal in 1 2 13 15; do
1105 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1109 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1110 rm -rf conftest* confdefs.h
1111 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1114 # Predefined preprocessor variables.
1116 cat >>confdefs.h <<_ACEOF
1117 #define PACKAGE_NAME "$PACKAGE_NAME"
1121 cat >>confdefs.h <<_ACEOF
1122 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1126 cat >>confdefs.h <<_ACEOF
1127 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1131 cat >>confdefs.h <<_ACEOF
1132 #define PACKAGE_STRING "$PACKAGE_STRING"
1136 cat >>confdefs.h <<_ACEOF
1137 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1141 # Let the site file select an alternate cache file if it wants to.
1142 # Prefer explicitly selected file to automatically selected ones.
1143 if test -z "$CONFIG_SITE"; then
1144 if test "x$prefix" != xNONE; then
1145 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1147 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1150 for ac_site_file in $CONFIG_SITE; do
1151 if test -r "$ac_site_file"; then
1152 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1153 echo "$as_me: loading site script $ac_site_file" >&6;}
1154 sed 's/^/| /' "$ac_site_file" >&5
1159 if test -r "$cache_file"; then
1160 # Some versions of bash will fail to source /dev/null (special
1161 # files actually), so we avoid doing that.
1162 if test -f "$cache_file"; then
1163 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1164 echo "$as_me: loading cache $cache_file" >&6;}
1166 [\\/]* | ?:[\\/]* ) . $cache_file;;
1167 *) . ./$cache_file;;
1171 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1172 echo "$as_me: creating cache $cache_file" >&6;}
1176 # Check that the precious variables saved in the cache have kept the same
1178 ac_cache_corrupted=false
1179 for ac_var in `(set) 2>&1 |
1180 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1181 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1182 eval ac_new_set=\$ac_env_${ac_var}_set
1183 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1184 eval ac_new_val="\$ac_env_${ac_var}_value"
1185 case $ac_old_set,$ac_new_set in
1187 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1188 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1189 ac_cache_corrupted=: ;;
1191 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1192 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1193 ac_cache_corrupted=: ;;
1196 if test "x$ac_old_val" != "x$ac_new_val"; then
1197 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1198 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1199 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1200 echo "$as_me: former value: $ac_old_val" >&2;}
1201 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1202 echo "$as_me: current value: $ac_new_val" >&2;}
1203 ac_cache_corrupted=:
1206 # Pass precious variables to config.status.
1207 if test "$ac_new_set" = set; then
1209 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1210 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1211 *) ac_arg=$ac_var=$ac_new_val ;;
1213 case " $ac_configure_args " in
1214 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1215 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1219 if $ac_cache_corrupted; then
1220 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1221 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1222 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1223 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1224 { (exit 1); exit 1; }; }
1228 ac_cpp='$CPP $CPPFLAGS'
1229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1255 if test x$with_rlm_sql_oracle != xno; then
1258 ac_cpp='$CPP $CPPFLAGS'
1259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1262 if test -n "$ac_tool_prefix"; then
1263 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1264 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1265 echo "$as_me:$LINENO: checking for $ac_word" >&5
1266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1267 if test "${ac_cv_prog_CC+set}" = set; then
1268 echo $ECHO_N "(cached) $ECHO_C" >&6
1270 if test -n "$CC"; then
1271 ac_cv_prog_CC="$CC" # Let the user override the test.
1273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1277 test -z "$as_dir" && as_dir=.
1278 for ac_exec_ext in '' $ac_executable_extensions; do
1279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1280 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1290 if test -n "$CC"; then
1291 echo "$as_me:$LINENO: result: $CC" >&5
1292 echo "${ECHO_T}$CC" >&6
1294 echo "$as_me:$LINENO: result: no" >&5
1295 echo "${ECHO_T}no" >&6
1299 if test -z "$ac_cv_prog_CC"; then
1301 # Extract the first word of "gcc", so it can be a program name with args.
1302 set dummy gcc; ac_word=$2
1303 echo "$as_me:$LINENO: checking for $ac_word" >&5
1304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1305 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1306 echo $ECHO_N "(cached) $ECHO_C" >&6
1308 if test -n "$ac_ct_CC"; then
1309 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1315 test -z "$as_dir" && as_dir=.
1316 for ac_exec_ext in '' $ac_executable_extensions; do
1317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1318 ac_cv_prog_ac_ct_CC="gcc"
1319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1327 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1328 if test -n "$ac_ct_CC"; then
1329 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1330 echo "${ECHO_T}$ac_ct_CC" >&6
1332 echo "$as_me:$LINENO: result: no" >&5
1333 echo "${ECHO_T}no" >&6
1341 if test -z "$CC"; then
1342 if test -n "$ac_tool_prefix"; then
1343 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1344 set dummy ${ac_tool_prefix}cc; ac_word=$2
1345 echo "$as_me:$LINENO: checking for $ac_word" >&5
1346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1347 if test "${ac_cv_prog_CC+set}" = set; then
1348 echo $ECHO_N "(cached) $ECHO_C" >&6
1350 if test -n "$CC"; then
1351 ac_cv_prog_CC="$CC" # Let the user override the test.
1353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1357 test -z "$as_dir" && as_dir=.
1358 for ac_exec_ext in '' $ac_executable_extensions; do
1359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1360 ac_cv_prog_CC="${ac_tool_prefix}cc"
1361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1370 if test -n "$CC"; then
1371 echo "$as_me:$LINENO: result: $CC" >&5
1372 echo "${ECHO_T}$CC" >&6
1374 echo "$as_me:$LINENO: result: no" >&5
1375 echo "${ECHO_T}no" >&6
1379 if test -z "$ac_cv_prog_CC"; then
1381 # Extract the first word of "cc", so it can be a program name with args.
1382 set dummy cc; ac_word=$2
1383 echo "$as_me:$LINENO: checking for $ac_word" >&5
1384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1385 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1386 echo $ECHO_N "(cached) $ECHO_C" >&6
1388 if test -n "$ac_ct_CC"; then
1389 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1395 test -z "$as_dir" && as_dir=.
1396 for ac_exec_ext in '' $ac_executable_extensions; do
1397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1398 ac_cv_prog_ac_ct_CC="cc"
1399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1407 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1408 if test -n "$ac_ct_CC"; then
1409 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1410 echo "${ECHO_T}$ac_ct_CC" >&6
1412 echo "$as_me:$LINENO: result: no" >&5
1413 echo "${ECHO_T}no" >&6
1422 if test -z "$CC"; then
1423 # Extract the first word of "cc", so it can be a program name with args.
1424 set dummy cc; ac_word=$2
1425 echo "$as_me:$LINENO: checking for $ac_word" >&5
1426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1427 if test "${ac_cv_prog_CC+set}" = set; then
1428 echo $ECHO_N "(cached) $ECHO_C" >&6
1430 if test -n "$CC"; then
1431 ac_cv_prog_CC="$CC" # Let the user override the test.
1434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1438 test -z "$as_dir" && as_dir=.
1439 for ac_exec_ext in '' $ac_executable_extensions; do
1440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1441 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1442 ac_prog_rejected=yes
1446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1452 if test $ac_prog_rejected = yes; then
1453 # We found a bogon in the path, so make sure we never use it.
1454 set dummy $ac_cv_prog_CC
1456 if test $# != 0; then
1457 # We chose a different compiler from the bogus one.
1458 # However, it has the same basename, so the bogon will be chosen
1459 # first if we set CC to just the basename; use the full file name.
1461 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1467 if test -n "$CC"; then
1468 echo "$as_me:$LINENO: result: $CC" >&5
1469 echo "${ECHO_T}$CC" >&6
1471 echo "$as_me:$LINENO: result: no" >&5
1472 echo "${ECHO_T}no" >&6
1476 if test -z "$CC"; then
1477 if test -n "$ac_tool_prefix"; then
1480 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1481 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1482 echo "$as_me:$LINENO: checking for $ac_word" >&5
1483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1484 if test "${ac_cv_prog_CC+set}" = set; then
1485 echo $ECHO_N "(cached) $ECHO_C" >&6
1487 if test -n "$CC"; then
1488 ac_cv_prog_CC="$CC" # Let the user override the test.
1490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1494 test -z "$as_dir" && as_dir=.
1495 for ac_exec_ext in '' $ac_executable_extensions; do
1496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1497 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1507 if test -n "$CC"; then
1508 echo "$as_me:$LINENO: result: $CC" >&5
1509 echo "${ECHO_T}$CC" >&6
1511 echo "$as_me:$LINENO: result: no" >&5
1512 echo "${ECHO_T}no" >&6
1515 test -n "$CC" && break
1518 if test -z "$CC"; then
1522 # Extract the first word of "$ac_prog", so it can be a program name with args.
1523 set dummy $ac_prog; ac_word=$2
1524 echo "$as_me:$LINENO: checking for $ac_word" >&5
1525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1526 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1527 echo $ECHO_N "(cached) $ECHO_C" >&6
1529 if test -n "$ac_ct_CC"; then
1530 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1536 test -z "$as_dir" && as_dir=.
1537 for ac_exec_ext in '' $ac_executable_extensions; do
1538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1539 ac_cv_prog_ac_ct_CC="$ac_prog"
1540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1548 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1549 if test -n "$ac_ct_CC"; then
1550 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1551 echo "${ECHO_T}$ac_ct_CC" >&6
1553 echo "$as_me:$LINENO: result: no" >&5
1554 echo "${ECHO_T}no" >&6
1557 test -n "$ac_ct_CC" && break
1566 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1567 See \`config.log' for more details." >&5
1568 echo "$as_me: error: no acceptable C compiler found in \$PATH
1569 See \`config.log' for more details." >&2;}
1570 { (exit 1); exit 1; }; }
1572 # Provide some information about the compiler.
1573 echo "$as_me:$LINENO:" \
1574 "checking for C compiler version" >&5
1575 ac_compiler=`set X $ac_compile; echo $2`
1576 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1577 (eval $ac_compiler --version </dev/null >&5) 2>&5
1579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1580 (exit $ac_status); }
1581 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1582 (eval $ac_compiler -v </dev/null >&5) 2>&5
1584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1585 (exit $ac_status); }
1586 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1587 (eval $ac_compiler -V </dev/null >&5) 2>&5
1589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1590 (exit $ac_status); }
1592 cat >conftest.$ac_ext <<_ACEOF
1595 cat confdefs.h >>conftest.$ac_ext
1596 cat >>conftest.$ac_ext <<_ACEOF
1597 /* end confdefs.h. */
1607 ac_clean_files_save=$ac_clean_files
1608 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1609 # Try to create an executable without -o first, disregard a.out.
1610 # It will help us diagnose broken compilers, and finding out an intuition
1612 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1613 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1614 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1615 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1616 (eval $ac_link_default) 2>&5
1618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1619 (exit $ac_status); }; then
1620 # Find the output, starting from the most likely. This scheme is
1621 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1624 # Be careful to initialize this variable, since it used to be cached.
1625 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1627 # b.out is created by i960 compilers.
1628 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1630 test -f "$ac_file" || continue
1632 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1635 # This is the source file.
1638 # We found the default executable, but exeext='' is most
1642 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1643 # FIXME: I believe we export ac_cv_exeext for Libtool,
1644 # but it would be cool to find out if it's true. Does anybody
1645 # maintain Libtool? --akim.
1653 echo "$as_me: failed program was:" >&5
1654 sed 's/^/| /' conftest.$ac_ext >&5
1656 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1657 See \`config.log' for more details." >&5
1658 echo "$as_me: error: C compiler cannot create executables
1659 See \`config.log' for more details." >&2;}
1660 { (exit 77); exit 77; }; }
1663 ac_exeext=$ac_cv_exeext
1664 echo "$as_me:$LINENO: result: $ac_file" >&5
1665 echo "${ECHO_T}$ac_file" >&6
1667 # Check the compiler produces executables we can run. If not, either
1668 # the compiler is broken, or we cross compile.
1669 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1670 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1671 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1672 # If not cross compiling, check that we can run a simple program.
1673 if test "$cross_compiling" != yes; then
1674 if { ac_try='./$ac_file'
1675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1679 (exit $ac_status); }; }; then
1682 if test "$cross_compiling" = maybe; then
1685 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1686 If you meant to cross compile, use \`--host'.
1687 See \`config.log' for more details." >&5
1688 echo "$as_me: error: cannot run C compiled programs.
1689 If you meant to cross compile, use \`--host'.
1690 See \`config.log' for more details." >&2;}
1691 { (exit 1); exit 1; }; }
1695 echo "$as_me:$LINENO: result: yes" >&5
1696 echo "${ECHO_T}yes" >&6
1698 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1699 ac_clean_files=$ac_clean_files_save
1700 # Check the compiler produces executables we can run. If not, either
1701 # the compiler is broken, or we cross compile.
1702 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1703 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1704 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1705 echo "${ECHO_T}$cross_compiling" >&6
1707 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1708 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1710 (eval $ac_link) 2>&5
1712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1713 (exit $ac_status); }; then
1714 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1715 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1716 # work properly (i.e., refer to `conftest.exe'), while it won't with
1718 for ac_file in conftest.exe conftest conftest.*; do
1719 test -f "$ac_file" || continue
1721 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1722 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1729 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1730 See \`config.log' for more details." >&5
1731 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1732 See \`config.log' for more details." >&2;}
1733 { (exit 1); exit 1; }; }
1736 rm -f conftest$ac_cv_exeext
1737 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1738 echo "${ECHO_T}$ac_cv_exeext" >&6
1740 rm -f conftest.$ac_ext
1741 EXEEXT=$ac_cv_exeext
1743 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1744 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1745 if test "${ac_cv_objext+set}" = set; then
1746 echo $ECHO_N "(cached) $ECHO_C" >&6
1748 cat >conftest.$ac_ext <<_ACEOF
1751 cat confdefs.h >>conftest.$ac_ext
1752 cat >>conftest.$ac_ext <<_ACEOF
1753 /* end confdefs.h. */
1763 rm -f conftest.o conftest.obj
1764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1765 (eval $ac_compile) 2>&5
1767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1768 (exit $ac_status); }; then
1769 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1771 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1772 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1777 echo "$as_me: failed program was:" >&5
1778 sed 's/^/| /' conftest.$ac_ext >&5
1780 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1781 See \`config.log' for more details." >&5
1782 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1783 See \`config.log' for more details." >&2;}
1784 { (exit 1); exit 1; }; }
1787 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1789 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1790 echo "${ECHO_T}$ac_cv_objext" >&6
1791 OBJEXT=$ac_cv_objext
1793 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1794 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1795 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1796 echo $ECHO_N "(cached) $ECHO_C" >&6
1798 cat >conftest.$ac_ext <<_ACEOF
1801 cat confdefs.h >>conftest.$ac_ext
1802 cat >>conftest.$ac_ext <<_ACEOF
1803 /* end confdefs.h. */
1816 rm -f conftest.$ac_objext
1817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1818 (eval $ac_compile) 2>conftest.er1
1820 grep -v '^ *+' conftest.er1 >conftest.err
1822 cat conftest.err >&5
1823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1824 (exit $ac_status); } &&
1825 { ac_try='test -z "$ac_c_werror_flag"
1826 || test ! -s conftest.err'
1827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1831 (exit $ac_status); }; } &&
1832 { ac_try='test -s conftest.$ac_objext'
1833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1837 (exit $ac_status); }; }; then
1840 echo "$as_me: failed program was:" >&5
1841 sed 's/^/| /' conftest.$ac_ext >&5
1845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1846 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1849 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1850 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1851 GCC=`test $ac_compiler_gnu = yes && echo yes`
1852 ac_test_CFLAGS=${CFLAGS+set}
1853 ac_save_CFLAGS=$CFLAGS
1855 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1856 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1857 if test "${ac_cv_prog_cc_g+set}" = set; then
1858 echo $ECHO_N "(cached) $ECHO_C" >&6
1860 cat >conftest.$ac_ext <<_ACEOF
1863 cat confdefs.h >>conftest.$ac_ext
1864 cat >>conftest.$ac_ext <<_ACEOF
1865 /* end confdefs.h. */
1875 rm -f conftest.$ac_objext
1876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1877 (eval $ac_compile) 2>conftest.er1
1879 grep -v '^ *+' conftest.er1 >conftest.err
1881 cat conftest.err >&5
1882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1883 (exit $ac_status); } &&
1884 { ac_try='test -z "$ac_c_werror_flag"
1885 || test ! -s conftest.err'
1886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1890 (exit $ac_status); }; } &&
1891 { ac_try='test -s conftest.$ac_objext'
1892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1896 (exit $ac_status); }; }; then
1899 echo "$as_me: failed program was:" >&5
1900 sed 's/^/| /' conftest.$ac_ext >&5
1904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1906 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1907 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1908 if test "$ac_test_CFLAGS" = set; then
1909 CFLAGS=$ac_save_CFLAGS
1910 elif test $ac_cv_prog_cc_g = yes; then
1911 if test "$GCC" = yes; then
1917 if test "$GCC" = yes; then
1923 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1924 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1925 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1926 echo $ECHO_N "(cached) $ECHO_C" >&6
1928 ac_cv_prog_cc_stdc=no
1930 cat >conftest.$ac_ext <<_ACEOF
1933 cat confdefs.h >>conftest.$ac_ext
1934 cat >>conftest.$ac_ext <<_ACEOF
1935 /* end confdefs.h. */
1938 #include <sys/types.h>
1939 #include <sys/stat.h>
1940 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1941 struct buf { int x; };
1942 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1943 static char *e (p, i)
1949 static char *f (char * (*g) (char **, int), char **p, ...)
1954 s = g (p, va_arg (v,int));
1959 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1960 function prototypes and stuff, but not '\xHH' hex character constants.
1961 These don't provoke an error unfortunately, instead are silently treated
1962 as 'x'. The following induces an error, until -std1 is added to get
1963 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1964 array size at least. It's necessary to write '\x00'==0 to get something
1965 that's true only with -std1. */
1966 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1968 int test (int i, double x);
1969 struct s1 {int (*f) (int a);};
1970 struct s2 {int (*f) (double a);};
1971 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1977 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1982 # Don't try gcc -ansi; that turns off useful extensions and
1983 # breaks some systems' header files.
1984 # AIX -qlanglvl=ansi
1985 # Ultrix and OSF/1 -std1
1986 # HP-UX 10.20 and later -Ae
1987 # HP-UX older versions -Aa -D_HPUX_SOURCE
1988 # SVR4 -Xc -D__EXTENSIONS__
1989 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1991 CC="$ac_save_CC $ac_arg"
1992 rm -f conftest.$ac_objext
1993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1994 (eval $ac_compile) 2>conftest.er1
1996 grep -v '^ *+' conftest.er1 >conftest.err
1998 cat conftest.err >&5
1999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2000 (exit $ac_status); } &&
2001 { ac_try='test -z "$ac_c_werror_flag"
2002 || test ! -s conftest.err'
2003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2007 (exit $ac_status); }; } &&
2008 { ac_try='test -s conftest.$ac_objext'
2009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2013 (exit $ac_status); }; }; then
2014 ac_cv_prog_cc_stdc=$ac_arg
2017 echo "$as_me: failed program was:" >&5
2018 sed 's/^/| /' conftest.$ac_ext >&5
2021 rm -f conftest.err conftest.$ac_objext
2023 rm -f conftest.$ac_ext conftest.$ac_objext
2028 case "x$ac_cv_prog_cc_stdc" in
2030 echo "$as_me:$LINENO: result: none needed" >&5
2031 echo "${ECHO_T}none needed" >&6 ;;
2033 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2034 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2035 CC="$CC $ac_cv_prog_cc_stdc" ;;
2038 # Some people use a C++ compiler to compile C. Since we use `exit',
2039 # in C++ we need to declare it. In case someone uses the same compiler
2040 # for both compiling C and C++ we need to have the C++ compiler decide
2041 # the declaration of exit, since it's the most demanding environment.
2042 cat >conftest.$ac_ext <<_ACEOF
2047 rm -f conftest.$ac_objext
2048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2049 (eval $ac_compile) 2>conftest.er1
2051 grep -v '^ *+' conftest.er1 >conftest.err
2053 cat conftest.err >&5
2054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2055 (exit $ac_status); } &&
2056 { ac_try='test -z "$ac_c_werror_flag"
2057 || test ! -s conftest.err'
2058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2062 (exit $ac_status); }; } &&
2063 { ac_try='test -s conftest.$ac_objext'
2064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2068 (exit $ac_status); }; }; then
2069 for ac_declaration in \
2071 'extern "C" void std::exit (int) throw (); using std::exit;' \
2072 'extern "C" void std::exit (int); using std::exit;' \
2073 'extern "C" void exit (int) throw ();' \
2074 'extern "C" void exit (int);' \
2077 cat >conftest.$ac_ext <<_ACEOF
2080 cat confdefs.h >>conftest.$ac_ext
2081 cat >>conftest.$ac_ext <<_ACEOF
2082 /* end confdefs.h. */
2093 rm -f conftest.$ac_objext
2094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2095 (eval $ac_compile) 2>conftest.er1
2097 grep -v '^ *+' conftest.er1 >conftest.err
2099 cat conftest.err >&5
2100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2101 (exit $ac_status); } &&
2102 { ac_try='test -z "$ac_c_werror_flag"
2103 || test ! -s conftest.err'
2104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2108 (exit $ac_status); }; } &&
2109 { ac_try='test -s conftest.$ac_objext'
2110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2114 (exit $ac_status); }; }; then
2117 echo "$as_me: failed program was:" >&5
2118 sed 's/^/| /' conftest.$ac_ext >&5
2122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2123 cat >conftest.$ac_ext <<_ACEOF
2126 cat confdefs.h >>conftest.$ac_ext
2127 cat >>conftest.$ac_ext <<_ACEOF
2128 /* end confdefs.h. */
2138 rm -f conftest.$ac_objext
2139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2140 (eval $ac_compile) 2>conftest.er1
2142 grep -v '^ *+' conftest.er1 >conftest.err
2144 cat conftest.err >&5
2145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2146 (exit $ac_status); } &&
2147 { ac_try='test -z "$ac_c_werror_flag"
2148 || test ! -s conftest.err'
2149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2153 (exit $ac_status); }; } &&
2154 { ac_try='test -s conftest.$ac_objext'
2155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2159 (exit $ac_status); }; }; then
2162 echo "$as_me: failed program was:" >&5
2163 sed 's/^/| /' conftest.$ac_ext >&5
2166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2169 if test -n "$ac_declaration"; then
2170 echo '#ifdef __cplusplus' >>confdefs.h
2171 echo $ac_declaration >>confdefs.h
2172 echo '#endif' >>confdefs.h
2176 echo "$as_me: failed program was:" >&5
2177 sed 's/^/| /' conftest.$ac_ext >&5
2180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2182 ac_cpp='$CPP $CPPFLAGS'
2183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2188 ac_cpp='$CPP $CPPFLAGS'
2189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2192 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2193 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2194 # On Suns, sometimes $CPP names a directory.
2195 if test -n "$CPP" && test -d "$CPP"; then
2198 if test -z "$CPP"; then
2199 if test "${ac_cv_prog_CPP+set}" = set; then
2200 echo $ECHO_N "(cached) $ECHO_C" >&6
2202 # Double quotes because CPP needs to be expanded
2203 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2206 for ac_c_preproc_warn_flag in '' yes
2208 # Use a header file that comes with gcc, so configuring glibc
2209 # with a fresh cross-compiler works.
2210 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2211 # <limits.h> exists even on freestanding compilers.
2212 # On the NeXT, cc -E runs the code through the compiler's parser,
2213 # not just through cpp. "Syntax error" is here to catch this case.
2214 cat >conftest.$ac_ext <<_ACEOF
2217 cat confdefs.h >>conftest.$ac_ext
2218 cat >>conftest.$ac_ext <<_ACEOF
2219 /* end confdefs.h. */
2221 # include <limits.h>
2223 # include <assert.h>
2227 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2228 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2230 grep -v '^ *+' conftest.er1 >conftest.err
2232 cat conftest.err >&5
2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2234 (exit $ac_status); } >/dev/null; then
2235 if test -s conftest.err; then
2236 ac_cpp_err=$ac_c_preproc_warn_flag
2237 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2244 if test -z "$ac_cpp_err"; then
2247 echo "$as_me: failed program was:" >&5
2248 sed 's/^/| /' conftest.$ac_ext >&5
2250 # Broken: fails on valid input.
2253 rm -f conftest.err conftest.$ac_ext
2255 # OK, works on sane cases. Now check whether non-existent headers
2256 # can be detected and how.
2257 cat >conftest.$ac_ext <<_ACEOF
2260 cat confdefs.h >>conftest.$ac_ext
2261 cat >>conftest.$ac_ext <<_ACEOF
2262 /* end confdefs.h. */
2263 #include <ac_nonexistent.h>
2265 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2266 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2268 grep -v '^ *+' conftest.er1 >conftest.err
2270 cat conftest.err >&5
2271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272 (exit $ac_status); } >/dev/null; then
2273 if test -s conftest.err; then
2274 ac_cpp_err=$ac_c_preproc_warn_flag
2275 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2282 if test -z "$ac_cpp_err"; then
2283 # Broken: success on invalid input.
2286 echo "$as_me: failed program was:" >&5
2287 sed 's/^/| /' conftest.$ac_ext >&5
2289 # Passes both tests.
2293 rm -f conftest.err conftest.$ac_ext
2296 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2297 rm -f conftest.err conftest.$ac_ext
2298 if $ac_preproc_ok; then
2310 echo "$as_me:$LINENO: result: $CPP" >&5
2311 echo "${ECHO_T}$CPP" >&6
2313 for ac_c_preproc_warn_flag in '' yes
2315 # Use a header file that comes with gcc, so configuring glibc
2316 # with a fresh cross-compiler works.
2317 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2318 # <limits.h> exists even on freestanding compilers.
2319 # On the NeXT, cc -E runs the code through the compiler's parser,
2320 # not just through cpp. "Syntax error" is here to catch this case.
2321 cat >conftest.$ac_ext <<_ACEOF
2324 cat confdefs.h >>conftest.$ac_ext
2325 cat >>conftest.$ac_ext <<_ACEOF
2326 /* end confdefs.h. */
2328 # include <limits.h>
2330 # include <assert.h>
2334 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2335 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2337 grep -v '^ *+' conftest.er1 >conftest.err
2339 cat conftest.err >&5
2340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2341 (exit $ac_status); } >/dev/null; then
2342 if test -s conftest.err; then
2343 ac_cpp_err=$ac_c_preproc_warn_flag
2344 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2351 if test -z "$ac_cpp_err"; then
2354 echo "$as_me: failed program was:" >&5
2355 sed 's/^/| /' conftest.$ac_ext >&5
2357 # Broken: fails on valid input.
2360 rm -f conftest.err conftest.$ac_ext
2362 # OK, works on sane cases. Now check whether non-existent headers
2363 # can be detected and how.
2364 cat >conftest.$ac_ext <<_ACEOF
2367 cat confdefs.h >>conftest.$ac_ext
2368 cat >>conftest.$ac_ext <<_ACEOF
2369 /* end confdefs.h. */
2370 #include <ac_nonexistent.h>
2372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2373 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2375 grep -v '^ *+' conftest.er1 >conftest.err
2377 cat conftest.err >&5
2378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379 (exit $ac_status); } >/dev/null; then
2380 if test -s conftest.err; then
2381 ac_cpp_err=$ac_c_preproc_warn_flag
2382 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2389 if test -z "$ac_cpp_err"; then
2390 # Broken: success on invalid input.
2393 echo "$as_me: failed program was:" >&5
2394 sed 's/^/| /' conftest.$ac_ext >&5
2396 # Passes both tests.
2400 rm -f conftest.err conftest.$ac_ext
2403 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2404 rm -f conftest.err conftest.$ac_ext
2405 if $ac_preproc_ok; then
2408 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2409 See \`config.log' for more details." >&5
2410 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2411 See \`config.log' for more details." >&2;}
2412 { (exit 1); exit 1; }; }
2416 ac_cpp='$CPP $CPPFLAGS'
2417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2422 targetname=rlm_sql_oracle # we might change this later.
2427 echo "$as_me:$LINENO: checking for oci.h" >&5
2428 echo $ECHO_N "checking for oci.h... $ECHO_C" >&6
2432 cat >conftest.$ac_ext <<_ACEOF
2435 cat confdefs.h >>conftest.$ac_ext
2436 cat >>conftest.$ac_ext <<_ACEOF
2437 /* end confdefs.h. */
2447 rm -f conftest.$ac_objext
2448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2449 (eval $ac_compile) 2>conftest.er1
2451 grep -v '^ *+' conftest.er1 >conftest.err
2453 cat conftest.err >&5
2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2455 (exit $ac_status); } &&
2456 { ac_try='test -z "$ac_c_werror_flag"
2457 || test ! -s conftest.err'
2458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); }; } &&
2463 { ac_try='test -s conftest.$ac_objext'
2464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); }; }; then
2471 echo "$as_me: failed program was:" >&5
2472 sed 's/^/| /' conftest.$ac_ext >&5
2477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2479 # Look for Oracle8i.
2480 if test "x$ORACLE_INCLUDE" = "x"; then
2481 old_CFLAGS="$CFLAGS"
2485 if test "x$LOCATE" != "x"; then
2489 for x in `${LOCATE} $file 2>/dev/null`; do
2490 base=`echo $x | sed "s%/${file}%%"`
2491 if test "x$x" = "x$base"; then
2495 dir=`${DIRNAME} $x 2>/dev/null`
2496 exclude=`echo ${dir} | ${GREP} /home`
2497 if test "x$exclude" != "x"; then
2501 already=`echo \$oracle_home_dir ${DIRS} | ${GREP} ${dir}`
2502 if test "x$already" = "x"; then
2508 eval "oracle_home_dir=\"\$oracle_home_dir $DIRS\""
2511 for try in $oracle_home_dir $oracle_include_dir; do
2512 CFLAGS="$old_CFLAGS -I${try}/rdbms/demo -I${try}/rdbms/public -I${try}/plsql/public -I${try}/network/public -I${try}/oci/include"
2513 cat >conftest.$ac_ext <<_ACEOF
2516 cat confdefs.h >>conftest.$ac_ext
2517 cat >>conftest.$ac_ext <<_ACEOF
2518 /* end confdefs.h. */
2528 rm -f conftest.$ac_objext
2529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2530 (eval $ac_compile) 2>conftest.er1
2532 grep -v '^ *+' conftest.er1 >conftest.err
2534 cat conftest.err >&5
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536 (exit $ac_status); } &&
2537 { ac_try='test -z "$ac_c_werror_flag"
2538 || test ! -s conftest.err'
2539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543 (exit $ac_status); }; } &&
2544 { ac_try='test -s conftest.$ac_objext'
2545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); }; }; then
2552 echo "$as_me: failed program was:" >&5
2553 sed 's/^/| /' conftest.$ac_ext >&5
2558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2559 if test "x$OHOME" != "x"; then
2564 if test "x$OHOME" = "x" -a "x$ORACLE_HOME" != "x"; then
2565 CFLAGS="$old_CFLAGS -I${ORACLE_HOME}/rdbms/demo -I${ORACLE_HOME}/rdbms/public -I${ORACLE_HOME}/plsql/public -I${ORACLE_HOME}/network/public -I${ORACLE_HOME}/oci/include"
2566 cat >conftest.$ac_ext <<_ACEOF
2569 cat confdefs.h >>conftest.$ac_ext
2570 cat >>conftest.$ac_ext <<_ACEOF
2571 /* end confdefs.h. */
2581 rm -f conftest.$ac_objext
2582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2583 (eval $ac_compile) 2>conftest.er1
2585 grep -v '^ *+' conftest.er1 >conftest.err
2587 cat conftest.err >&5
2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); } &&
2590 { ac_try='test -z "$ac_c_werror_flag"
2591 || test ! -s conftest.err'
2592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596 (exit $ac_status); }; } &&
2597 { ac_try='test -s conftest.$ac_objext'
2598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; }; then
2605 echo "$as_me: failed program was:" >&5
2606 sed 's/^/| /' conftest.$ac_ext >&5
2611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2614 CFLAGS="$old_CFLAGS"
2616 if test "x$OHOME" != "x"; then
2618 ORACLE_INCLUDE="-I${ORACLE_HOME}/rdbms/demo -I${ORACLE_HOME}/rdbms/public -I${ORACLE_HOME}/plsql/public -I${ORACLE_HOME}/network/public -I${ORACLE_HOME}/oci/include"
2620 fi ## this section sets $ORACLE_HOME, if found.
2622 # not Oracle8i, try older.
2623 if test "x$ORACLE_INCLUDE" = "x"; then
2624 old_CFLAGS="$CFLAGS"
2628 if test "x$LOCATE" != "x"; then
2632 for x in `${LOCATE} $file 2>/dev/null`; do
2633 base=`echo $x | sed "s%/${file}%%"`
2634 if test "x$x" = "x$base"; then
2638 dir=`${DIRNAME} $x 2>/dev/null`
2639 exclude=`echo ${dir} | ${GREP} /home`
2640 if test "x$exclude" != "x"; then
2644 already=`echo \$oracle_include_dir ${DIRS} | ${GREP} ${dir}`
2645 if test "x$already" = "x"; then
2651 eval "oracle_include_dir=\"\$oracle_include_dir $DIRS\""
2654 for try in /usr/local/include/oracle /usr/local/oracle/include $oracle_include_dir; do
2655 CFLAGS="$old_CFLAGS -I$try"
2656 cat >conftest.$ac_ext <<_ACEOF
2659 cat confdefs.h >>conftest.$ac_ext
2660 cat >>conftest.$ac_ext <<_ACEOF
2661 /* end confdefs.h. */
2671 rm -f conftest.$ac_objext
2672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2673 (eval $ac_compile) 2>conftest.er1
2675 grep -v '^ *+' conftest.er1 >conftest.err
2677 cat conftest.err >&5
2678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679 (exit $ac_status); } &&
2680 { ac_try='test -z "$ac_c_werror_flag"
2681 || test ! -s conftest.err'
2682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686 (exit $ac_status); }; } &&
2687 { ac_try='test -s conftest.$ac_objext'
2688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); }; }; then
2693 ORACLE_INCLUDE="-I$try"
2695 echo "$as_me: failed program was:" >&5
2696 sed 's/^/| /' conftest.$ac_ext >&5
2701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2702 if test "x$ORACLE_INCLUDE" != "x"; then
2706 CFLAGS="$old_CFLAGS"
2709 if test "x$ORACLE_INCLUDE" = "x"; then
2710 echo "$as_me:$LINENO: result: no" >&5
2711 echo "${ECHO_T}no" >&6
2712 { echo "$as_me:$LINENO: WARNING: oracle headers not found. Use --with-oracle-home-dir=<path>." >&5
2713 echo "$as_me: WARNING: oracle headers not found. Use --with-oracle-home-dir=<path>." >&2;}
2714 targetname= # disabled module
2716 sql_oracle_cflags="${sql_oracle_cflags} ${ORACLE_INCLUDE}"
2717 echo "$as_me:$LINENO: result: yes" >&5
2718 echo "${ECHO_T}yes" >&6
2721 ## is this set, from above?
2722 if test "x$ORACLE_HOME" != "x"; then
2723 ## we must have an Oracle8i tree
2725 # FIXME: we might do some checking, just to be nice
2726 ORACLE_LIBS="-L$ORACLE_HOME/lib -lclntsh -lm"
2729 echo "$as_me:$LINENO: checking for oracle_init in -loracleclient" >&5
2730 echo $ECHO_N "checking for oracle_init in -loracleclient... $ECHO_C" >&6
2736 if test "x$LOCATE" != "x"; then
2738 file=oracleclient.so
2740 for x in `${LOCATE} $file 2>/dev/null`; do
2741 base=`echo $x | sed "s%/${file}%%"`
2742 if test "x$x" = "x$base"; then
2746 dir=`${DIRNAME} $x 2>/dev/null`
2747 exclude=`echo ${dir} | ${GREP} /home`
2748 if test "x$exclude" != "x"; then
2752 already=`echo \$oracle_lib_dir ${DIRS} | ${GREP} ${dir}`
2753 if test "x$already" = "x"; then
2759 eval "oracle_lib_dir=\"\$oracle_lib_dir $DIRS\""
2763 if test "x$LOCATE" != "x"; then
2767 for x in `${LOCATE} $file 2>/dev/null`; do
2768 base=`echo $x | sed "s%/${file}%%"`
2769 if test "x$x" = "x$base"; then
2773 dir=`${DIRNAME} $x 2>/dev/null`
2774 exclude=`echo ${dir} | ${GREP} /home`
2775 if test "x$exclude" != "x"; then
2779 already=`echo \$oracle_lib_dir ${DIRS} | ${GREP} ${dir}`
2780 if test "x$already" = "x"; then
2786 eval "oracle_lib_dir=\"\$oracle_lib_dir $DIRS\""
2789 for try in /usr/lib/oracle /usr/local/lib/oracle /usr/local/oracle/lib $oracle_lib_dir; do
2790 LIBS="$old_LIBS -L$try -loracleclient"
2791 cat >conftest.$ac_ext <<_ACEOF
2794 cat confdefs.h >>conftest.$ac_ext
2795 cat >>conftest.$ac_ext <<_ACEOF
2796 /* end confdefs.h. */
2797 extern char oracle_init();
2806 rm -f conftest.$ac_objext conftest$ac_exeext
2807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2808 (eval $ac_link) 2>conftest.er1
2810 grep -v '^ *+' conftest.er1 >conftest.err
2812 cat conftest.err >&5
2813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 (exit $ac_status); } &&
2815 { ac_try='test -z "$ac_c_werror_flag"
2816 || test ! -s conftest.err'
2817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2821 (exit $ac_status); }; } &&
2822 { ac_try='test -s conftest$ac_exeext'
2823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2827 (exit $ac_status); }; }; then
2828 ORACLE_LIBS="-L$try -loracleclient"
2830 echo "$as_me: failed program was:" >&5
2831 sed 's/^/| /' conftest.$ac_ext >&5
2836 rm -f conftest.err conftest.$ac_objext \
2837 conftest$ac_exeext conftest.$ac_ext
2838 if test "x$ORACLE_LIBS" != "x"; then
2844 if test "x$ORACLE_LIBS" = "x"; then
2845 echo "$as_me:$LINENO: result: no" >&5
2846 echo "${ECHO_T}no" >&6
2851 if test "x$ORACLE_LIBS" = "x"; then
2852 { echo "$as_me:$LINENO: WARNING: oracle libraries not found. Use --with-oracle-lib-dir=<path>." >&5
2853 echo "$as_me: WARNING: oracle libraries not found. Use --with-oracle-lib-dir=<path>." >&2;}
2854 targetname= # disabled module
2856 sql_oracle_ldflags="$sql_oracle_ldflags $ORACLE_LIBS"
2857 echo "$as_me:$LINENO: result: yes" >&5
2858 echo "${ECHO_T}yes" >&6
2862 if test "x$targetname" = "x"; then
2863 { echo "$as_me:$LINENO: WARNING: sql submodule 'oracle' disabled" >&5
2864 echo "$as_me: WARNING: sql submodule 'oracle' disabled" >&2;}
2869 echo \*\*\* module rlm_sql_oracle is disabled.
2875 ac_config_files="$ac_config_files Makefile"
2876 cat >confcache <<\_ACEOF
2877 # This file is a shell script that caches the results of configure
2878 # tests run on this system so they can be shared between configure
2879 # scripts and configure runs, see configure's option --config-cache.
2880 # It is not useful on other systems. If it contains results you don't
2881 # want to keep, you may remove or edit it.
2883 # config.status only pays attention to the cache file if you give it
2884 # the --recheck option to rerun configure.
2886 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2887 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2892 # The following way of writing the cache mishandles newlines in values,
2893 # but we know of no workaround that is simple, portable, and efficient.
2894 # So, don't put newlines in cache variables' values.
2895 # Ultrix sh set writes to stderr and can't be redirected directly,
2896 # and sets the high bit in the cache file unless we assign to the vars.
2899 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2901 # `set' does not quote correctly, so add quotes (double-quote
2902 # substitution turns \\\\ into \\, and sed turns \\ into \).
2905 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2908 # `set' quotes correctly as required by POSIX, so do not add quotes.
2910 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2917 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2919 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2921 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2922 if test -w $cache_file; then
2923 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2924 cat confcache >$cache_file
2926 echo "not updating unwritable cache $cache_file"
2931 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2932 # Let make expand exec_prefix.
2933 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2935 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2936 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2937 # trailing colons and then remove the whole line if VPATH becomes empty
2938 # (actually we leave an empty line to preserve line numbers).
2939 if test "x$srcdir" = x.; then
2940 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2941 s/:*\$(srcdir):*/:/;
2942 s/:*\${srcdir}:*/:/;
2944 s/^\([^=]*=[ ]*\):*/\1/;
2950 # Transform confdefs.h into DEFS.
2951 # Protect against shell expansion while executing Makefile rules.
2952 # Protect against Makefile macro expansion.
2954 # If the first sed substitution is executed (which looks for macros that
2955 # take arguments), then we branch to the quote section. Otherwise,
2956 # look for a macro that doesn't take arguments.
2957 cat >confdef2opt.sed <<\_ACEOF
2960 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2962 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2966 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2972 # We use echo to avoid assuming a particular line-breaking character.
2973 # The extra dot is to prevent the shell from consuming trailing
2974 # line-breaks from the sub-command output. A line-break within
2975 # single-quotes doesn't work because, if this script is created in a
2976 # platform that uses two characters for line-breaks (e.g., DOS), tr
2978 ac_LF_and_DOT=`echo; echo .`
2979 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2980 rm -f confdef2opt.sed
2985 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2986 # 1. Remove the extension, and $U if already installed.
2987 ac_i=`echo "$ac_i" |
2988 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2990 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2991 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2995 LTLIBOBJS=$ac_ltlibobjs
2999 : ${CONFIG_STATUS=./config.status}
3000 ac_clean_files_save=$ac_clean_files
3001 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3002 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3003 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3004 cat >$CONFIG_STATUS <<_ACEOF
3006 # Generated by $as_me.
3007 # Run this file to recreate the current configuration.
3008 # Compiler output produced by configure, useful for debugging
3009 # configure, is in config.log if it exists.
3014 SHELL=\${CONFIG_SHELL-$SHELL}
3017 cat >>$CONFIG_STATUS <<\_ACEOF
3018 ## --------------------- ##
3019 ## M4sh Initialization. ##
3020 ## --------------------- ##
3022 # Be Bourne compatible
3023 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3026 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3027 # is contrary to our usage. Disable this feature.
3028 alias -g '${1+"$@"}'='"$@"'
3029 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3032 DUALCASE=1; export DUALCASE # for MKS sh
3034 # Support unset when possible.
3035 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3042 # Work around bugs in pre-3.0 UWIN ksh.
3043 $as_unset ENV MAIL MAILPATH
3050 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3051 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3052 LC_TELEPHONE LC_TIME
3054 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3055 eval $as_var=C; export $as_var
3061 # Required to use basename.
3062 if expr a : '\(a\)' >/dev/null 2>&1; then
3068 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3069 as_basename=basename
3075 # Name of the executable.
3076 as_me=`$as_basename "$0" ||
3077 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3078 X"$0" : 'X\(//\)$' \| \
3079 X"$0" : 'X\(/\)$' \| \
3080 . : '\(.\)' 2>/dev/null ||
3082 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3083 /^X\/\(\/\/\)$/{ s//\1/; q; }
3084 /^X\/\(\/\).*/{ s//\1/; q; }
3088 # PATH needs CR, and LINENO needs CR and PATH.
3089 # Avoid depending upon Character Ranges.
3090 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3091 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3092 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3093 as_cr_digits='0123456789'
3094 as_cr_alnum=$as_cr_Letters$as_cr_digits
3096 # The user is always right.
3097 if test "${PATH_SEPARATOR+set}" != set; then
3098 echo "#! /bin/sh" >conf$$.sh
3099 echo "exit 0" >>conf$$.sh
3101 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3112 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3113 test "x$as_lineno_1" != "x$as_lineno_2" &&
3114 test "x$as_lineno_3" = "x$as_lineno_2" || {
3115 # Find who we are. Look in the path if we contain no path at all
3118 *[\\/]* ) as_myself=$0 ;;
3119 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3123 test -z "$as_dir" && as_dir=.
3124 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3129 # We did not find ourselves, most probably we were run as `sh COMMAND'
3130 # in which case we are not to be found in the path.
3131 if test "x$as_myself" = x; then
3134 if test ! -f "$as_myself"; then
3135 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3136 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3137 { (exit 1); exit 1; }; }
3139 case $CONFIG_SHELL in
3141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3142 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3145 test -z "$as_dir" && as_dir=.
3146 for as_base in sh bash ksh sh5; do
3149 if ("$as_dir/$as_base" -c '
3152 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3153 test "x$as_lineno_1" != "x$as_lineno_2" &&
3154 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3155 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3156 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3157 CONFIG_SHELL=$as_dir/$as_base
3159 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3167 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3168 # uniformly replaced by the line number. The first 'sed' inserts a
3169 # line-number line before each line; the second 'sed' does the real
3170 # work. The second script uses 'N' to pair each line-number line
3171 # with the numbered line, and appends trailing '-' during
3172 # substitution so that $LINENO is not a special case at line end.
3173 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3174 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3175 sed '=' <$as_myself |
3180 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3183 s,^['$as_cr_digits']*\n,,
3185 chmod +x $as_me.lineno ||
3186 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3187 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3188 { (exit 1); exit 1; }; }
3190 # Don't try to exec as it changes $[0], causing all sort of problems
3191 # (the dirname of $[0] is not the place where we might find the
3192 # original and so on. Autoconf is especially sensible to this).
3194 # Exit status is that of the last command.
3199 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3200 *c*,-n*) ECHO_N= ECHO_C='
3202 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3203 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3206 if expr a : '\(a\)' >/dev/null 2>&1; then
3212 rm -f conf$$ conf$$.exe conf$$.file
3214 if ln -s conf$$.file conf$$ 2>/dev/null; then
3215 # We could just check for DJGPP; but this test a) works b) is more generic
3216 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3217 if test -f conf$$.exe; then
3218 # Don't use ln at all; we don't have any links
3223 elif ln conf$$.file conf$$ 2>/dev/null; then
3228 rm -f conf$$ conf$$.exe conf$$.file
3230 if mkdir -p . 2>/dev/null; then
3233 test -d ./-p && rmdir ./-p
3237 as_executable_p="test -f"
3239 # Sed expression to map a string onto a valid CPP name.
3240 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3242 # Sed expression to map a string onto a valid variable name.
3243 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3247 # We need space, tab and new line, in precisely that order.
3257 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3258 # report actual input values of CONFIG_FILES etc. instead of their
3259 # values after options handling. Logging --version etc. is OK.
3263 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3264 ## Running $as_me. ##
3269 This file was extended by $as_me, which was
3270 generated by GNU Autoconf 2.59. Invocation command line was
3272 CONFIG_FILES = $CONFIG_FILES
3273 CONFIG_HEADERS = $CONFIG_HEADERS
3274 CONFIG_LINKS = $CONFIG_LINKS
3275 CONFIG_COMMANDS = $CONFIG_COMMANDS
3279 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3283 # Files that config.status was made for.
3284 if test -n "$ac_config_files"; then
3285 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3288 if test -n "$ac_config_headers"; then
3289 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3292 if test -n "$ac_config_links"; then
3293 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3296 if test -n "$ac_config_commands"; then
3297 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3300 cat >>$CONFIG_STATUS <<\_ACEOF
3303 \`$as_me' instantiates files from templates according to the
3304 current configuration.
3306 Usage: $0 [OPTIONS] [FILE]...
3308 -h, --help print this help, then exit
3309 -V, --version print version number, then exit
3310 -q, --quiet do not print progress messages
3311 -d, --debug don't remove temporary files
3312 --recheck update $as_me by reconfiguring in the same conditions
3313 --file=FILE[:TEMPLATE]
3314 instantiate the configuration file FILE
3316 Configuration files:
3319 Report bugs to <bug-autoconf@gnu.org>."
3322 cat >>$CONFIG_STATUS <<_ACEOF
3325 configured by $0, generated by GNU Autoconf 2.59,
3326 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3328 Copyright (C) 2003 Free Software Foundation, Inc.
3329 This config.status script is free software; the Free Software Foundation
3330 gives unlimited permission to copy, distribute and modify it."
3334 cat >>$CONFIG_STATUS <<\_ACEOF
3335 # If no file are specified by the user, then we need to provide default
3336 # value. By we need to know if files were specified by the user.
3342 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3343 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3351 *) # This is not an option, so the user has probably given explicit
3354 ac_need_defaults=false;;
3358 # Handling of the options.
3360 cat >>$CONFIG_STATUS <<\_ACEOF
3361 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3363 --version | --vers* | -V )
3364 echo "$ac_cs_version"; exit 0 ;;
3366 # Conflict between --help and --header
3367 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3368 Try \`$0 --help' for more information." >&5
3369 echo "$as_me: error: ambiguous option: $1
3370 Try \`$0 --help' for more information." >&2;}
3371 { (exit 1); exit 1; }; };;
3372 --help | --hel | -h )
3373 echo "$ac_cs_usage"; exit 0 ;;
3374 --debug | --d* | -d )
3376 --file | --fil | --fi | --f )
3378 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3379 ac_need_defaults=false;;
3380 --header | --heade | --head | --hea )
3382 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3383 ac_need_defaults=false;;
3384 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3385 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3389 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3390 Try \`$0 --help' for more information." >&5
3391 echo "$as_me: error: unrecognized option: $1
3392 Try \`$0 --help' for more information." >&2;}
3393 { (exit 1); exit 1; }; } ;;
3395 *) ac_config_targets="$ac_config_targets $1" ;;
3401 ac_configure_extra_args=
3403 if $ac_cs_silent; then
3405 ac_configure_extra_args="$ac_configure_extra_args --silent"
3409 cat >>$CONFIG_STATUS <<_ACEOF
3410 if \$ac_cs_recheck; then
3411 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3412 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3421 cat >>$CONFIG_STATUS <<\_ACEOF
3422 for ac_config_target in $ac_config_targets
3424 case "$ac_config_target" in
3425 # Handling of arguments.
3426 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3427 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3428 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3429 { (exit 1); exit 1; }; };;
3433 # If the user did not use the arguments to specify the items to instantiate,
3434 # then the envvar interface is used. Set only those that are not.
3435 # We use the long form for the default assignment because of an extremely
3436 # bizarre bug on SunOS 4.1.3.
3437 if $ac_need_defaults; then
3438 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3441 # Have a temporary directory for convenience. Make it in the build tree
3442 # simply because there is no reason to put it here, and in addition,
3443 # creating and moving files from /tmp can sometimes cause problems.
3444 # Create a temporary directory, and hook for its removal unless debugging.
3447 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3448 trap '{ (exit 1); exit 1; }' 1 2 13 15
3451 # Create a (secure) tmp directory for tmp files.
3454 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3455 test -n "$tmp" && test -d "$tmp"
3458 tmp=./confstat$$-$RANDOM
3459 (umask 077 && mkdir $tmp)
3462 echo "$me: cannot create a temporary directory in ." >&2
3463 { (exit 1); exit 1; }
3468 cat >>$CONFIG_STATUS <<_ACEOF
3471 # CONFIG_FILES section.
3474 # No need to generate the scripts if there are no CONFIG_FILES.
3475 # This happens for instance when ./config.status config.h
3476 if test -n "\$CONFIG_FILES"; then
3477 # Protect against being on the right side of a sed subst in config.status.
3478 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3479 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3480 s,@SHELL@,$SHELL,;t t
3481 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3482 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3483 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3484 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3485 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3486 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3487 s,@exec_prefix@,$exec_prefix,;t t
3488 s,@prefix@,$prefix,;t t
3489 s,@program_transform_name@,$program_transform_name,;t t
3490 s,@bindir@,$bindir,;t t
3491 s,@sbindir@,$sbindir,;t t
3492 s,@libexecdir@,$libexecdir,;t t
3493 s,@datadir@,$datadir,;t t
3494 s,@sysconfdir@,$sysconfdir,;t t
3495 s,@sharedstatedir@,$sharedstatedir,;t t
3496 s,@localstatedir@,$localstatedir,;t t
3497 s,@libdir@,$libdir,;t t
3498 s,@includedir@,$includedir,;t t
3499 s,@oldincludedir@,$oldincludedir,;t t
3500 s,@infodir@,$infodir,;t t
3501 s,@mandir@,$mandir,;t t
3502 s,@build_alias@,$build_alias,;t t
3503 s,@host_alias@,$host_alias,;t t
3504 s,@target_alias@,$target_alias,;t t
3506 s,@ECHO_C@,$ECHO_C,;t t
3507 s,@ECHO_N@,$ECHO_N,;t t
3508 s,@ECHO_T@,$ECHO_T,;t t
3511 s,@CFLAGS@,$CFLAGS,;t t
3512 s,@LDFLAGS@,$LDFLAGS,;t t
3513 s,@CPPFLAGS@,$CPPFLAGS,;t t
3514 s,@ac_ct_CC@,$ac_ct_CC,;t t
3515 s,@EXEEXT@,$EXEEXT,;t t
3516 s,@OBJEXT@,$OBJEXT,;t t
3518 s,@ORACLE_LIBS@,$ORACLE_LIBS,;t t
3519 s,@ORACLE_INCLUDE@,$ORACLE_INCLUDE,;t t
3520 s,@sql_oracle_ldflags@,$sql_oracle_ldflags,;t t
3521 s,@sql_oracle_cflags@,$sql_oracle_cflags,;t t
3522 s,@targetname@,$targetname,;t t
3523 s,@LIBOBJS@,$LIBOBJS,;t t
3524 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3529 cat >>$CONFIG_STATUS <<\_ACEOF
3530 # Split the substitutions into bite-sized pieces for seds with
3531 # small command number limits, like on Digital OSF/1 and HP-UX.
3533 ac_sed_frag=1 # Number of current file.
3534 ac_beg=1 # First line for current file.
3535 ac_end=$ac_max_sed_lines # Line after last line for current file.
3538 while $ac_more_lines; do
3539 if test $ac_beg -gt 1; then
3540 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3542 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3544 if test ! -s $tmp/subs.frag; then
3547 # The purpose of the label and of the branching condition is to
3548 # speed up the sed processing (if there are no `@' at all, there
3549 # is no need to browse any of the substitutions).
3550 # These are the two extra sed commands mentioned above.
3552 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3553 if test -z "$ac_sed_cmds"; then
3554 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3556 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3558 ac_sed_frag=`expr $ac_sed_frag + 1`
3560 ac_end=`expr $ac_end + $ac_max_sed_lines`
3563 if test -z "$ac_sed_cmds"; then
3566 fi # test -n "$CONFIG_FILES"
3569 cat >>$CONFIG_STATUS <<\_ACEOF
3570 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3571 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3573 - | *:- | *:-:* ) # input from stdin
3575 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3576 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3577 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3578 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3579 * ) ac_file_in=$ac_file.in ;;
3582 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3583 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3584 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3585 X"$ac_file" : 'X\(//\)[^/]' \| \
3586 X"$ac_file" : 'X\(//\)$' \| \
3587 X"$ac_file" : 'X\(/\)' \| \
3588 . : '\(.\)' 2>/dev/null ||
3590 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3591 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3592 /^X\(\/\/\)$/{ s//\1/; q; }
3593 /^X\(\/\).*/{ s//\1/; q; }
3595 { if $as_mkdir_p; then
3600 while test ! -d "$as_dir"; do
3601 as_dirs="$as_dir $as_dirs"
3602 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3603 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3604 X"$as_dir" : 'X\(//\)[^/]' \| \
3605 X"$as_dir" : 'X\(//\)$' \| \
3606 X"$as_dir" : 'X\(/\)' \| \
3607 . : '\(.\)' 2>/dev/null ||
3609 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3610 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3611 /^X\(\/\/\)$/{ s//\1/; q; }
3612 /^X\(\/\).*/{ s//\1/; q; }
3615 test ! -n "$as_dirs" || mkdir $as_dirs
3616 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3617 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3618 { (exit 1); exit 1; }; }; }
3622 if test "$ac_dir" != .; then
3623 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3624 # A "../" for each directory in $ac_dir_suffix.
3625 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3627 ac_dir_suffix= ac_top_builddir=
3631 .) # No --srcdir option. We are building in place.
3633 if test -z "$ac_top_builddir"; then
3636 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3638 [\\/]* | ?:[\\/]* ) # Absolute path.
3639 ac_srcdir=$srcdir$ac_dir_suffix;
3640 ac_top_srcdir=$srcdir ;;
3642 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3643 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3646 # Do not use `cd foo && pwd` to compute absolute paths, because
3647 # the directories may not exist.
3649 .) ac_abs_builddir="$ac_dir";;
3652 .) ac_abs_builddir=`pwd`;;
3653 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3654 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3657 case $ac_abs_builddir in
3658 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3660 case ${ac_top_builddir}. in
3661 .) ac_abs_top_builddir=$ac_abs_builddir;;
3662 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3663 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3666 case $ac_abs_builddir in
3667 .) ac_abs_srcdir=$ac_srcdir;;
3670 .) ac_abs_srcdir=$ac_abs_builddir;;
3671 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3672 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3675 case $ac_abs_builddir in
3676 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3678 case $ac_top_srcdir in
3679 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3680 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3681 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3687 if test x"$ac_file" != x-; then
3688 { echo "$as_me:$LINENO: creating $ac_file" >&5
3689 echo "$as_me: creating $ac_file" >&6;}
3692 # Let's still pretend it is `configure' which instantiates (i.e., don't
3693 # use $as_me), people would be surprised to read:
3694 # /* config.h. Generated by config.status. */
3695 if test x"$ac_file" = x-; then
3698 configure_input="$ac_file. "
3700 configure_input=$configure_input"Generated from `echo $ac_file_in |
3701 sed 's,.*/,,'` by configure."
3703 # First look for the input files in the build tree, otherwise in the
3705 ac_file_inputs=`IFS=:
3706 for f in $ac_file_in; do
3708 -) echo $tmp/stdin ;;
3710 # Absolute (can't be DOS-style, as IFS=:)
3711 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3712 echo "$as_me: error: cannot find input file: $f" >&2;}
3713 { (exit 1); exit 1; }; }
3716 if test -f "$f"; then
3719 elif test -f "$srcdir/$f"; then
3724 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3725 echo "$as_me: error: cannot find input file: $f" >&2;}
3726 { (exit 1); exit 1; }; }
3729 done` || { (exit 1); exit 1; }
3731 cat >>$CONFIG_STATUS <<_ACEOF
3735 cat >>$CONFIG_STATUS <<\_ACEOF
3737 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3738 s,@configure_input@,$configure_input,;t t
3739 s,@srcdir@,$ac_srcdir,;t t
3740 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3741 s,@top_srcdir@,$ac_top_srcdir,;t t
3742 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3743 s,@builddir@,$ac_builddir,;t t
3744 s,@abs_builddir@,$ac_abs_builddir,;t t
3745 s,@top_builddir@,$ac_top_builddir,;t t
3746 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3747 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3749 if test x"$ac_file" != x-; then
3750 mv $tmp/out $ac_file
3759 cat >>$CONFIG_STATUS <<\_ACEOF
3761 { (exit 0); exit 0; }
3763 chmod +x $CONFIG_STATUS
3764 ac_clean_files=$ac_clean_files_save
3767 # configure is writing to config.log, and then calls config.status.
3768 # config.status does its own redirection, appending to config.log.
3769 # Unfortunately, on DOS this fails, as config.log is still kept open
3770 # by configure, so config.status won't be able to write to it; its
3771 # output is simply discarded. So we exec the FD to /dev/null,
3772 # effectively closing config.log, so it can be properly (re)opened and
3773 # appended to by config.status. When coming back to configure, we
3774 # need to make the FD available again.
3775 if test "$no_create" != yes; then
3777 ac_config_status_args=
3778 test "$silent" = yes &&
3779 ac_config_status_args="$ac_config_status_args --quiet"
3781 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3783 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3784 # would make configure fail if this is the last instruction.
3785 $ac_cs_success || { (exit 1); exit 1; }