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