1#! /bin/sh
2# From configure.ac Revision.
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_firebird.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_firebird
640with_firebird_include_dir
641with_firebird_lib_dir
642with_firebird_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_firebird              build rlm_sql_firebird. (default=yes)
1259  --with-firebird-include-dir=DIR
1260                          Directory where the firebird includes may be found
1261  --with-firebird-lib-dir=DIR
1262                          Directory where the firebird libraries may be found
1263  --with-firebird-dir=DIR Base directory where firebird 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
1792fail=
1793SMART_LIBS=
1794SMART_CLFAGS=
1795
1796
1797# Check whether --with-rlm_sql_firebird was given.
1798if test "${with_rlm_sql_firebird+set}" = set; then :
1799  withval=$with_rlm_sql_firebird;
1800fi
1801
1802
1803if test x$with_rlm_sql_firebird != xno; then
1804		firebird_include_dir=
1805
1806# Check whether --with-firebird-include-dir was given.
1807if test "${with_firebird_include_dir+set}" = set; then :
1808  withval=$with_firebird_include_dir; case "$withval" in
1809		    no)
1810			as_fn_error $? "Need firebird-include-dir" "$LINENO" 5
1811			;;
1812		    yes)
1813			;;
1814		    *)
1815			firebird_include_dir="$withval"
1816			;;
1817		esac
1818fi
1819
1820
1821		firebird_lib_dir=
1822
1823# Check whether --with-firebird-lib-dir was given.
1824if test "${with_firebird_lib_dir+set}" = set; then :
1825  withval=$with_firebird_lib_dir; case "$withval" in
1826		    no)
1827			as_fn_error $? "Need firebird-lib-dir" "$LINENO" 5
1828			;;
1829		    yes)
1830			;;
1831		    *)
1832			firebird_lib_dir="$withval"
1833			;;
1834		esac
1835fi
1836
1837
1838
1839# Check whether --with-firebird-dir was given.
1840if test "${with_firebird_dir+set}" = set; then :
1841  withval=$with_firebird_dir; case "$withval" in
1842		    no)
1843			as_fn_error $? "Need firebird-dir" "$LINENO" 5
1844			;;
1845		    yes)
1846			;;
1847		    *)
1848			firebird_lib_dir="$withval/lib"
1849			firebird_include_dir="$withval/include"
1850			;;
1851		esac
1852fi
1853
1854
1855		smart_try_dir="$firebird_lib_dir /usr/lib/firebird2/lib /usr/local/firebird/lib"
1856	ac_ext=c
1857ac_cpp='$CPP $CPPFLAGS'
1858ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1859ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1860ac_compiler_gnu=$ac_cv_c_compiler_gnu
1861if test -n "$ac_tool_prefix"; then
1862  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1863set dummy ${ac_tool_prefix}gcc; ac_word=$2
1864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1865$as_echo_n "checking for $ac_word... " >&6; }
1866if ${ac_cv_prog_CC+:} false; then :
1867  $as_echo_n "(cached) " >&6
1868else
1869  if test -n "$CC"; then
1870  ac_cv_prog_CC="$CC" # Let the user override the test.
1871else
1872as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1873for as_dir in $PATH
1874do
1875  IFS=$as_save_IFS
1876  test -z "$as_dir" && as_dir=.
1877    for ac_exec_ext in '' $ac_executable_extensions; do
1878  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1879    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1880    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1881    break 2
1882  fi
1883done
1884  done
1885IFS=$as_save_IFS
1886
1887fi
1888fi
1889CC=$ac_cv_prog_CC
1890if test -n "$CC"; then
1891  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1892$as_echo "$CC" >&6; }
1893else
1894  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1895$as_echo "no" >&6; }
1896fi
1897
1898
1899fi
1900if test -z "$ac_cv_prog_CC"; then
1901  ac_ct_CC=$CC
1902  # Extract the first word of "gcc", so it can be a program name with args.
1903set dummy gcc; ac_word=$2
1904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1905$as_echo_n "checking for $ac_word... " >&6; }
1906if ${ac_cv_prog_ac_ct_CC+:} false; then :
1907  $as_echo_n "(cached) " >&6
1908else
1909  if test -n "$ac_ct_CC"; then
1910  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1911else
1912as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1913for as_dir in $PATH
1914do
1915  IFS=$as_save_IFS
1916  test -z "$as_dir" && as_dir=.
1917    for ac_exec_ext in '' $ac_executable_extensions; do
1918  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1919    ac_cv_prog_ac_ct_CC="gcc"
1920    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1921    break 2
1922  fi
1923done
1924  done
1925IFS=$as_save_IFS
1926
1927fi
1928fi
1929ac_ct_CC=$ac_cv_prog_ac_ct_CC
1930if test -n "$ac_ct_CC"; then
1931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1932$as_echo "$ac_ct_CC" >&6; }
1933else
1934  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1935$as_echo "no" >&6; }
1936fi
1937
1938  if test "x$ac_ct_CC" = x; then
1939    CC=""
1940  else
1941    case $cross_compiling:$ac_tool_warned in
1942yes:)
1943{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1944$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1945ac_tool_warned=yes ;;
1946esac
1947    CC=$ac_ct_CC
1948  fi
1949else
1950  CC="$ac_cv_prog_CC"
1951fi
1952
1953if test -z "$CC"; then
1954          if test -n "$ac_tool_prefix"; then
1955    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1956set dummy ${ac_tool_prefix}cc; ac_word=$2
1957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1958$as_echo_n "checking for $ac_word... " >&6; }
1959if ${ac_cv_prog_CC+:} false; then :
1960  $as_echo_n "(cached) " >&6
1961else
1962  if test -n "$CC"; then
1963  ac_cv_prog_CC="$CC" # Let the user override the test.
1964else
1965as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1966for as_dir in $PATH
1967do
1968  IFS=$as_save_IFS
1969  test -z "$as_dir" && as_dir=.
1970    for ac_exec_ext in '' $ac_executable_extensions; do
1971  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1972    ac_cv_prog_CC="${ac_tool_prefix}cc"
1973    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1974    break 2
1975  fi
1976done
1977  done
1978IFS=$as_save_IFS
1979
1980fi
1981fi
1982CC=$ac_cv_prog_CC
1983if test -n "$CC"; then
1984  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1985$as_echo "$CC" >&6; }
1986else
1987  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1988$as_echo "no" >&6; }
1989fi
1990
1991
1992  fi
1993fi
1994if test -z "$CC"; then
1995  # Extract the first word of "cc", so it can be a program name with args.
1996set dummy cc; ac_word=$2
1997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1998$as_echo_n "checking for $ac_word... " >&6; }
1999if ${ac_cv_prog_CC+:} false; then :
2000  $as_echo_n "(cached) " >&6
2001else
2002  if test -n "$CC"; then
2003  ac_cv_prog_CC="$CC" # Let the user override the test.
2004else
2005  ac_prog_rejected=no
2006as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2007for as_dir in $PATH
2008do
2009  IFS=$as_save_IFS
2010  test -z "$as_dir" && as_dir=.
2011    for ac_exec_ext in '' $ac_executable_extensions; do
2012  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2013    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2014       ac_prog_rejected=yes
2015       continue
2016     fi
2017    ac_cv_prog_CC="cc"
2018    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2019    break 2
2020  fi
2021done
2022  done
2023IFS=$as_save_IFS
2024
2025if test $ac_prog_rejected = yes; then
2026  # We found a bogon in the path, so make sure we never use it.
2027  set dummy $ac_cv_prog_CC
2028  shift
2029  if test $# != 0; then
2030    # We chose a different compiler from the bogus one.
2031    # However, it has the same basename, so the bogon will be chosen
2032    # first if we set CC to just the basename; use the full file name.
2033    shift
2034    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2035  fi
2036fi
2037fi
2038fi
2039CC=$ac_cv_prog_CC
2040if test -n "$CC"; then
2041  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2042$as_echo "$CC" >&6; }
2043else
2044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2045$as_echo "no" >&6; }
2046fi
2047
2048
2049fi
2050if test -z "$CC"; then
2051  if test -n "$ac_tool_prefix"; then
2052  for ac_prog in cl.exe
2053  do
2054    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2055set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2057$as_echo_n "checking for $ac_word... " >&6; }
2058if ${ac_cv_prog_CC+:} false; then :
2059  $as_echo_n "(cached) " >&6
2060else
2061  if test -n "$CC"; then
2062  ac_cv_prog_CC="$CC" # Let the user override the test.
2063else
2064as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2065for as_dir in $PATH
2066do
2067  IFS=$as_save_IFS
2068  test -z "$as_dir" && as_dir=.
2069    for ac_exec_ext in '' $ac_executable_extensions; do
2070  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2071    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2072    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2073    break 2
2074  fi
2075done
2076  done
2077IFS=$as_save_IFS
2078
2079fi
2080fi
2081CC=$ac_cv_prog_CC
2082if test -n "$CC"; then
2083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2084$as_echo "$CC" >&6; }
2085else
2086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2087$as_echo "no" >&6; }
2088fi
2089
2090
2091    test -n "$CC" && break
2092  done
2093fi
2094if test -z "$CC"; then
2095  ac_ct_CC=$CC
2096  for ac_prog in cl.exe
2097do
2098  # Extract the first word of "$ac_prog", so it can be a program name with args.
2099set dummy $ac_prog; ac_word=$2
2100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2101$as_echo_n "checking for $ac_word... " >&6; }
2102if ${ac_cv_prog_ac_ct_CC+:} false; then :
2103  $as_echo_n "(cached) " >&6
2104else
2105  if test -n "$ac_ct_CC"; then
2106  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2107else
2108as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2109for as_dir in $PATH
2110do
2111  IFS=$as_save_IFS
2112  test -z "$as_dir" && as_dir=.
2113    for ac_exec_ext in '' $ac_executable_extensions; do
2114  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2115    ac_cv_prog_ac_ct_CC="$ac_prog"
2116    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2117    break 2
2118  fi
2119done
2120  done
2121IFS=$as_save_IFS
2122
2123fi
2124fi
2125ac_ct_CC=$ac_cv_prog_ac_ct_CC
2126if test -n "$ac_ct_CC"; then
2127  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2128$as_echo "$ac_ct_CC" >&6; }
2129else
2130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2131$as_echo "no" >&6; }
2132fi
2133
2134
2135  test -n "$ac_ct_CC" && break
2136done
2137
2138  if test "x$ac_ct_CC" = x; then
2139    CC=""
2140  else
2141    case $cross_compiling:$ac_tool_warned in
2142yes:)
2143{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2144$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2145ac_tool_warned=yes ;;
2146esac
2147    CC=$ac_ct_CC
2148  fi
2149fi
2150
2151fi
2152
2153
2154test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2155$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2156as_fn_error $? "no acceptable C compiler found in \$PATH
2157See \`config.log' for more details" "$LINENO" 5; }
2158
2159# Provide some information about the compiler.
2160$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2161set X $ac_compile
2162ac_compiler=$2
2163for ac_option in --version -v -V -qversion; do
2164  { { ac_try="$ac_compiler $ac_option >&5"
2165case "(($ac_try" in
2166  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2167  *) ac_try_echo=$ac_try;;
2168esac
2169eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2170$as_echo "$ac_try_echo"; } >&5
2171  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2172  ac_status=$?
2173  if test -s conftest.err; then
2174    sed '10a\
2175... rest of stderr output deleted ...
2176         10q' conftest.err >conftest.er1
2177    cat conftest.er1 >&5
2178  fi
2179  rm -f conftest.er1 conftest.err
2180  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2181  test $ac_status = 0; }
2182done
2183
2184cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185/* end confdefs.h.  */
2186
2187int
2188main ()
2189{
2190
2191  ;
2192  return 0;
2193}
2194_ACEOF
2195ac_clean_files_save=$ac_clean_files
2196ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2197# Try to create an executable without -o first, disregard a.out.
2198# It will help us diagnose broken compilers, and finding out an intuition
2199# of exeext.
2200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2201$as_echo_n "checking whether the C compiler works... " >&6; }
2202ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2203
2204# The possible output files:
2205ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2206
2207ac_rmfiles=
2208for ac_file in $ac_files
2209do
2210  case $ac_file in
2211    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2212    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2213  esac
2214done
2215rm -f $ac_rmfiles
2216
2217if { { ac_try="$ac_link_default"
2218case "(($ac_try" in
2219  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2220  *) ac_try_echo=$ac_try;;
2221esac
2222eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2223$as_echo "$ac_try_echo"; } >&5
2224  (eval "$ac_link_default") 2>&5
2225  ac_status=$?
2226  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2227  test $ac_status = 0; }; then :
2228  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2229# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2230# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2231# so that the user can short-circuit this test for compilers unknown to
2232# Autoconf.
2233for ac_file in $ac_files ''
2234do
2235  test -f "$ac_file" || continue
2236  case $ac_file in
2237    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2238	;;
2239    [ab].out )
2240	# We found the default executable, but exeext='' is most
2241	# certainly right.
2242	break;;
2243    *.* )
2244	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2245	then :; else
2246	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2247	fi
2248	# We set ac_cv_exeext here because the later test for it is not
2249	# safe: cross compilers may not add the suffix if given an `-o'
2250	# argument, so we may need to know it at that point already.
2251	# Even if this section looks crufty: it has the advantage of
2252	# actually working.
2253	break;;
2254    * )
2255	break;;
2256  esac
2257done
2258test "$ac_cv_exeext" = no && ac_cv_exeext=
2259
2260else
2261  ac_file=''
2262fi
2263if test -z "$ac_file"; then :
2264  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2265$as_echo "no" >&6; }
2266$as_echo "$as_me: failed program was:" >&5
2267sed 's/^/| /' conftest.$ac_ext >&5
2268
2269{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2270$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2271as_fn_error 77 "C compiler cannot create executables
2272See \`config.log' for more details" "$LINENO" 5; }
2273else
2274  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2275$as_echo "yes" >&6; }
2276fi
2277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2278$as_echo_n "checking for C compiler default output file name... " >&6; }
2279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2280$as_echo "$ac_file" >&6; }
2281ac_exeext=$ac_cv_exeext
2282
2283rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2284ac_clean_files=$ac_clean_files_save
2285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2286$as_echo_n "checking for suffix of executables... " >&6; }
2287if { { ac_try="$ac_link"
2288case "(($ac_try" in
2289  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2290  *) ac_try_echo=$ac_try;;
2291esac
2292eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2293$as_echo "$ac_try_echo"; } >&5
2294  (eval "$ac_link") 2>&5
2295  ac_status=$?
2296  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2297  test $ac_status = 0; }; then :
2298  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2299# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2300# work properly (i.e., refer to `conftest.exe'), while it won't with
2301# `rm'.
2302for ac_file in conftest.exe conftest conftest.*; do
2303  test -f "$ac_file" || continue
2304  case $ac_file in
2305    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2306    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2307	  break;;
2308    * ) break;;
2309  esac
2310done
2311else
2312  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2313$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2314as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2315See \`config.log' for more details" "$LINENO" 5; }
2316fi
2317rm -f conftest conftest$ac_cv_exeext
2318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2319$as_echo "$ac_cv_exeext" >&6; }
2320
2321rm -f conftest.$ac_ext
2322EXEEXT=$ac_cv_exeext
2323ac_exeext=$EXEEXT
2324cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2325/* end confdefs.h.  */
2326#include <stdio.h>
2327int
2328main ()
2329{
2330FILE *f = fopen ("conftest.out", "w");
2331 return ferror (f) || fclose (f) != 0;
2332
2333  ;
2334  return 0;
2335}
2336_ACEOF
2337ac_clean_files="$ac_clean_files conftest.out"
2338# Check that the compiler produces executables we can run.  If not, either
2339# the compiler is broken, or we cross compile.
2340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2341$as_echo_n "checking whether we are cross compiling... " >&6; }
2342if test "$cross_compiling" != yes; then
2343  { { ac_try="$ac_link"
2344case "(($ac_try" in
2345  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2346  *) ac_try_echo=$ac_try;;
2347esac
2348eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2349$as_echo "$ac_try_echo"; } >&5
2350  (eval "$ac_link") 2>&5
2351  ac_status=$?
2352  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2353  test $ac_status = 0; }
2354  if { ac_try='./conftest$ac_cv_exeext'
2355  { { case "(($ac_try" in
2356  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2357  *) ac_try_echo=$ac_try;;
2358esac
2359eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2360$as_echo "$ac_try_echo"; } >&5
2361  (eval "$ac_try") 2>&5
2362  ac_status=$?
2363  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2364  test $ac_status = 0; }; }; then
2365    cross_compiling=no
2366  else
2367    if test "$cross_compiling" = maybe; then
2368	cross_compiling=yes
2369    else
2370	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2371$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2372as_fn_error $? "cannot run C compiled programs.
2373If you meant to cross compile, use \`--host'.
2374See \`config.log' for more details" "$LINENO" 5; }
2375    fi
2376  fi
2377fi
2378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2379$as_echo "$cross_compiling" >&6; }
2380
2381rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2382ac_clean_files=$ac_clean_files_save
2383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2384$as_echo_n "checking for suffix of object files... " >&6; }
2385if ${ac_cv_objext+:} false; then :
2386  $as_echo_n "(cached) " >&6
2387else
2388  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2389/* end confdefs.h.  */
2390
2391int
2392main ()
2393{
2394
2395  ;
2396  return 0;
2397}
2398_ACEOF
2399rm -f conftest.o conftest.obj
2400if { { ac_try="$ac_compile"
2401case "(($ac_try" in
2402  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2403  *) ac_try_echo=$ac_try;;
2404esac
2405eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2406$as_echo "$ac_try_echo"; } >&5
2407  (eval "$ac_compile") 2>&5
2408  ac_status=$?
2409  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2410  test $ac_status = 0; }; then :
2411  for ac_file in conftest.o conftest.obj conftest.*; do
2412  test -f "$ac_file" || continue;
2413  case $ac_file in
2414    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2415    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2416       break;;
2417  esac
2418done
2419else
2420  $as_echo "$as_me: failed program was:" >&5
2421sed 's/^/| /' conftest.$ac_ext >&5
2422
2423{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2424$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2425as_fn_error $? "cannot compute suffix of object files: cannot compile
2426See \`config.log' for more details" "$LINENO" 5; }
2427fi
2428rm -f conftest.$ac_cv_objext conftest.$ac_ext
2429fi
2430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2431$as_echo "$ac_cv_objext" >&6; }
2432OBJEXT=$ac_cv_objext
2433ac_objext=$OBJEXT
2434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2435$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2436if ${ac_cv_c_compiler_gnu+:} false; then :
2437  $as_echo_n "(cached) " >&6
2438else
2439  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2440/* end confdefs.h.  */
2441
2442int
2443main ()
2444{
2445#ifndef __GNUC__
2446       choke me
2447#endif
2448
2449  ;
2450  return 0;
2451}
2452_ACEOF
2453if ac_fn_c_try_compile "$LINENO"; then :
2454  ac_compiler_gnu=yes
2455else
2456  ac_compiler_gnu=no
2457fi
2458rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2459ac_cv_c_compiler_gnu=$ac_compiler_gnu
2460
2461fi
2462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2463$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2464if test $ac_compiler_gnu = yes; then
2465  GCC=yes
2466else
2467  GCC=
2468fi
2469ac_test_CFLAGS=${CFLAGS+set}
2470ac_save_CFLAGS=$CFLAGS
2471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2472$as_echo_n "checking whether $CC accepts -g... " >&6; }
2473if ${ac_cv_prog_cc_g+:} false; then :
2474  $as_echo_n "(cached) " >&6
2475else
2476  ac_save_c_werror_flag=$ac_c_werror_flag
2477   ac_c_werror_flag=yes
2478   ac_cv_prog_cc_g=no
2479   CFLAGS="-g"
2480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2481/* end confdefs.h.  */
2482
2483int
2484main ()
2485{
2486
2487  ;
2488  return 0;
2489}
2490_ACEOF
2491if ac_fn_c_try_compile "$LINENO"; then :
2492  ac_cv_prog_cc_g=yes
2493else
2494  CFLAGS=""
2495      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2496/* end confdefs.h.  */
2497
2498int
2499main ()
2500{
2501
2502  ;
2503  return 0;
2504}
2505_ACEOF
2506if ac_fn_c_try_compile "$LINENO"; then :
2507
2508else
2509  ac_c_werror_flag=$ac_save_c_werror_flag
2510	 CFLAGS="-g"
2511	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2512/* end confdefs.h.  */
2513
2514int
2515main ()
2516{
2517
2518  ;
2519  return 0;
2520}
2521_ACEOF
2522if ac_fn_c_try_compile "$LINENO"; then :
2523  ac_cv_prog_cc_g=yes
2524fi
2525rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2526fi
2527rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2528fi
2529rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2530   ac_c_werror_flag=$ac_save_c_werror_flag
2531fi
2532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2533$as_echo "$ac_cv_prog_cc_g" >&6; }
2534if test "$ac_test_CFLAGS" = set; then
2535  CFLAGS=$ac_save_CFLAGS
2536elif test $ac_cv_prog_cc_g = yes; then
2537  if test "$GCC" = yes; then
2538    CFLAGS="-g -O2"
2539  else
2540    CFLAGS="-g"
2541  fi
2542else
2543  if test "$GCC" = yes; then
2544    CFLAGS="-O2"
2545  else
2546    CFLAGS=
2547  fi
2548fi
2549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2550$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2551if ${ac_cv_prog_cc_c89+:} false; then :
2552  $as_echo_n "(cached) " >&6
2553else
2554  ac_cv_prog_cc_c89=no
2555ac_save_CC=$CC
2556cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2557/* end confdefs.h.  */
2558#include <stdarg.h>
2559#include <stdio.h>
2560struct stat;
2561/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2562struct buf { int x; };
2563FILE * (*rcsopen) (struct buf *, struct stat *, int);
2564static char *e (p, i)
2565     char **p;
2566     int i;
2567{
2568  return p[i];
2569}
2570static char *f (char * (*g) (char **, int), char **p, ...)
2571{
2572  char *s;
2573  va_list v;
2574  va_start (v,p);
2575  s = g (p, va_arg (v,int));
2576  va_end (v);
2577  return s;
2578}
2579
2580/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2581   function prototypes and stuff, but not '\xHH' hex character constants.
2582   These don't provoke an error unfortunately, instead are silently treated
2583   as 'x'.  The following induces an error, until -std is added to get
2584   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2585   array size at least.  It's necessary to write '\x00'==0 to get something
2586   that's true only with -std.  */
2587int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2588
2589/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2590   inside strings and character constants.  */
2591#define FOO(x) 'x'
2592int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2593
2594int test (int i, double x);
2595struct s1 {int (*f) (int a);};
2596struct s2 {int (*f) (double a);};
2597int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2598int argc;
2599char **argv;
2600int
2601main ()
2602{
2603return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2604  ;
2605  return 0;
2606}
2607_ACEOF
2608for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2609	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2610do
2611  CC="$ac_save_CC $ac_arg"
2612  if ac_fn_c_try_compile "$LINENO"; then :
2613  ac_cv_prog_cc_c89=$ac_arg
2614fi
2615rm -f core conftest.err conftest.$ac_objext
2616  test "x$ac_cv_prog_cc_c89" != "xno" && break
2617done
2618rm -f conftest.$ac_ext
2619CC=$ac_save_CC
2620
2621fi
2622# AC_CACHE_VAL
2623case "x$ac_cv_prog_cc_c89" in
2624  x)
2625    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2626$as_echo "none needed" >&6; } ;;
2627  xno)
2628    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2629$as_echo "unsupported" >&6; } ;;
2630  *)
2631    CC="$CC $ac_cv_prog_cc_c89"
2632    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2633$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2634esac
2635if test "x$ac_cv_prog_cc_c89" != xno; then :
2636
2637fi
2638
2639ac_ext=c
2640ac_cpp='$CPP $CPPFLAGS'
2641ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2642ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2643ac_compiler_gnu=$ac_cv_c_compiler_gnu
2644
2645
2646
2647
2648sm_lib_safe=`echo "fbclient" | sed 'y%./+-%__p_%'`
2649sm_func_safe=`echo "isc_attach_database" | sed 'y%./+-%__p_%'`
2650
2651old_LIBS="$LIBS"
2652old_CPPFLAGS="$CPPFLAGS"
2653smart_lib=
2654smart_ldflags=
2655smart_lib_dir=
2656
2657if test "x$smart_try_dir" != "x"; then
2658  for try in $smart_try_dir; do
2659    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isc_attach_database in -lfbclient in $try" >&5
2660$as_echo_n "checking for isc_attach_database in -lfbclient in $try... " >&6; }
2661    LIBS="-lfbclient $old_LIBS"
2662    CPPFLAGS="-L$try -Wl,-rpath,$try $old_CPPFLAGS"
2663    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2664/* end confdefs.h.  */
2665extern char isc_attach_database();
2666int
2667main ()
2668{
2669isc_attach_database()
2670  ;
2671  return 0;
2672}
2673_ACEOF
2674if ac_fn_c_try_link "$LINENO"; then :
2675
2676		 smart_lib="-lfbclient"
2677		 smart_ldflags="-L$try -Wl,-rpath,$try"
2678		 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2679$as_echo "yes" >&6; }
2680		 break
2681
2682else
2683  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684$as_echo "no" >&6; }
2685fi
2686rm -f core conftest.err conftest.$ac_objext \
2687    conftest$ac_exeext conftest.$ac_ext
2688  done
2689  LIBS="$old_LIBS"
2690  CPPFLAGS="$old_CPPFLAGS"
2691fi
2692
2693if test "x$smart_lib" = "x"; then
2694  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isc_attach_database in -lfbclient" >&5
2695$as_echo_n "checking for isc_attach_database in -lfbclient... " >&6; }
2696  LIBS="-lfbclient $old_LIBS"
2697  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2698/* end confdefs.h.  */
2699extern char isc_attach_database();
2700int
2701main ()
2702{
2703isc_attach_database()
2704  ;
2705  return 0;
2706}
2707_ACEOF
2708if ac_fn_c_try_link "$LINENO"; then :
2709
2710	        smart_lib="-lfbclient"
2711	        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2712$as_echo "yes" >&6; }
2713
2714else
2715  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2716$as_echo "no" >&6; }
2717fi
2718rm -f core conftest.err conftest.$ac_objext \
2719    conftest$ac_exeext conftest.$ac_ext
2720  LIBS="$old_LIBS"
2721fi
2722
2723if test "x$smart_lib" = "x"; then
2724
2725
2726if test "x$LOCATE" != "x"; then
2727        DIRS=
2728  file=libfbclient${libltdl_cv_shlibext}
2729
2730  for x in `${LOCATE} $file 2>/dev/null`; do
2731                                        base=`echo $x | sed "s%/${file}%%"`
2732    if test "x$x" = "x$base"; then
2733      continue;
2734    fi
2735
2736    dir=`${DIRNAME} $x 2>/dev/null`
2737                exclude=`echo ${dir} | ${GREP} /home`
2738    if test "x$exclude" != "x"; then
2739      continue
2740    fi
2741
2742                    already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
2743    if test "x$already" = "x"; then
2744      DIRS="$DIRS $dir"
2745    fi
2746  done
2747fi
2748
2749eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
2750
2751
2752
2753if test "x$LOCATE" != "x"; then
2754        DIRS=
2755  file=libfbclient.a
2756
2757  for x in `${LOCATE} $file 2>/dev/null`; do
2758                                        base=`echo $x | sed "s%/${file}%%"`
2759    if test "x$x" = "x$base"; then
2760      continue;
2761    fi
2762
2763    dir=`${DIRNAME} $x 2>/dev/null`
2764                exclude=`echo ${dir} | ${GREP} /home`
2765    if test "x$exclude" != "x"; then
2766      continue
2767    fi
2768
2769                    already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
2770    if test "x$already" = "x"; then
2771      DIRS="$DIRS $dir"
2772    fi
2773  done
2774fi
2775
2776eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
2777
2778
2779  for try in $smart_lib_dir /usr/local/lib /opt/lib; do
2780    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isc_attach_database in -lfbclient in $try" >&5
2781$as_echo_n "checking for isc_attach_database in -lfbclient in $try... " >&6; }
2782    LIBS="-lfbclient $old_LIBS"
2783    CPPFLAGS="-L$try -Wl,-rpath,$try $old_CPPFLAGS"
2784    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2785/* end confdefs.h.  */
2786extern char isc_attach_database();
2787int
2788main ()
2789{
2790isc_attach_database()
2791  ;
2792  return 0;
2793}
2794_ACEOF
2795if ac_fn_c_try_link "$LINENO"; then :
2796
2797		  smart_lib="-lfbclient"
2798		  smart_ldflags="-L$try -Wl,-rpath,$try"
2799		  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2800$as_echo "yes" >&6; }
2801		  break
2802
2803else
2804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2805$as_echo "no" >&6; }
2806fi
2807rm -f core conftest.err conftest.$ac_objext \
2808    conftest$ac_exeext conftest.$ac_ext
2809  done
2810  LIBS="$old_LIBS"
2811  CPPFLAGS="$old_CPPFLAGS"
2812fi
2813
2814if test "x$smart_lib" != "x"; then
2815  eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
2816  LIBS="$smart_ldflags $smart_lib $old_LIBS"
2817  SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
2818fi
2819
2820	if test "x$ac_cv_lib_fbclient_isc_attach_database" != xyes; then
2821		fail="$fail libfbclient"
2822	fi
2823
2824		smart_try_dir="$firebird_include_dir /usr/lib/firebird2/include /usr/local/firebird/include"
2825
2826
2827ac_safe=`echo "ibase.h" | sed 'y%./+-%__pm%'`
2828old_CPPFLAGS="$CPPFLAGS"
2829smart_include=
2830smart_include_dir="/usr/local/include /opt/include"
2831
2832_smart_try_dir=
2833_smart_include_dir=
2834
2835for _prefix in $smart_prefix ""; do
2836  for _dir in $smart_try_dir; do
2837    _smart_try_dir="${_smart_try_dir} ${_dir}/${_prefix}"
2838  done
2839
2840  for _dir in $smart_include_dir; do
2841    _smart_include_dir="${_smart_include_dir} ${_dir}/${_prefix}"
2842  done
2843done
2844
2845if test "x$_smart_try_dir" != "x"; then
2846  for try in $_smart_try_dir; do
2847    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ibase.h in $try" >&5
2848$as_echo_n "checking for ibase.h in $try... " >&6; }
2849    CPPFLAGS="-isystem $try $old_CPPFLAGS"
2850    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2851/* end confdefs.h.  */
2852
2853		    #include <ibase.h>
2854int
2855main ()
2856{
2857int a = 1;
2858  ;
2859  return 0;
2860}
2861_ACEOF
2862if ac_fn_c_try_compile "$LINENO"; then :
2863
2864		     smart_include="-isystem $try"
2865		     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2866$as_echo "yes" >&6; }
2867		     break
2868
2869else
2870
2871		     smart_include=
2872		     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2873$as_echo "no" >&6; }
2874
2875fi
2876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2877  done
2878  CPPFLAGS="$old_CPPFLAGS"
2879fi
2880
2881if test "x$smart_include" = "x"; then
2882  for _prefix in $smart_prefix; do
2883    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${_prefix}/ibase.h" >&5
2884$as_echo_n "checking for ${_prefix}/ibase.h... " >&6; }
2885
2886    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887/* end confdefs.h.  */
2888
2889		    #include <ibase.h>
2890int
2891main ()
2892{
2893int a = 1;
2894  ;
2895  return 0;
2896}
2897_ACEOF
2898if ac_fn_c_try_compile "$LINENO"; then :
2899
2900		     smart_include="-isystem ${_prefix}/"
2901		     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2902$as_echo "yes" >&6; }
2903		     break
2904
2905else
2906
2907		     smart_include=
2908		     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2909$as_echo "no" >&6; }
2910
2911fi
2912rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2913  done
2914fi
2915
2916if test "x$smart_include" = "x"; then
2917    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ibase.h" >&5
2918$as_echo_n "checking for ibase.h... " >&6; }
2919
2920    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2921/* end confdefs.h.  */
2922
2923		    #include <ibase.h>
2924int
2925main ()
2926{
2927int a = 1;
2928  ;
2929  return 0;
2930}
2931_ACEOF
2932if ac_fn_c_try_compile "$LINENO"; then :
2933
2934		     smart_include=" "
2935		     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2936$as_echo "yes" >&6; }
2937		     break
2938
2939else
2940
2941		     smart_include=
2942		     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2943$as_echo "no" >&6; }
2944
2945fi
2946rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2947fi
2948
2949if test "x$smart_include" = "x"; then
2950
2951  for prefix in $smart_prefix; do
2952
2953
2954if test "x$LOCATE" != "x"; then
2955        DIRS=
2956  file="${_prefix}/${1}"
2957
2958  for x in `${LOCATE} $file 2>/dev/null`; do
2959                                        base=`echo $x | sed "s%/${file}%%"`
2960    if test "x$x" = "x$base"; then
2961      continue;
2962    fi
2963
2964    dir=`${DIRNAME} $x 2>/dev/null`
2965                exclude=`echo ${dir} | ${GREP} /home`
2966    if test "x$exclude" != "x"; then
2967      continue
2968    fi
2969
2970                    already=`echo \$_smart_include_dir ${DIRS} | ${GREP} ${dir}`
2971    if test "x$already" = "x"; then
2972      DIRS="$DIRS $dir"
2973    fi
2974  done
2975fi
2976
2977eval "_smart_include_dir=\"\$_smart_include_dir $DIRS\""
2978
2979  done
2980
2981
2982if test "x$LOCATE" != "x"; then
2983        DIRS=
2984  file=ibase.h
2985
2986  for x in `${LOCATE} $file 2>/dev/null`; do
2987                                        base=`echo $x | sed "s%/${file}%%"`
2988    if test "x$x" = "x$base"; then
2989      continue;
2990    fi
2991
2992    dir=`${DIRNAME} $x 2>/dev/null`
2993                exclude=`echo ${dir} | ${GREP} /home`
2994    if test "x$exclude" != "x"; then
2995      continue
2996    fi
2997
2998                    already=`echo \$_smart_include_dir ${DIRS} | ${GREP} ${dir}`
2999    if test "x$already" = "x"; then
3000      DIRS="$DIRS $dir"
3001    fi
3002  done
3003fi
3004
3005eval "_smart_include_dir=\"\$_smart_include_dir $DIRS\""
3006
3007
3008  for try in $_smart_include_dir; do
3009    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ibase.h in $try" >&5
3010$as_echo_n "checking for ibase.h in $try... " >&6; }
3011    CPPFLAGS="-isystem $try $old_CPPFLAGS"
3012    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3013/* end confdefs.h.  */
3014
3015		    #include <ibase.h>
3016int
3017main ()
3018{
3019int a = 1;
3020  ;
3021  return 0;
3022}
3023_ACEOF
3024if ac_fn_c_try_compile "$LINENO"; then :
3025
3026		     smart_include="-isystem $try"
3027		     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3028$as_echo "yes" >&6; }
3029		     break
3030
3031else
3032
3033		     smart_include=
3034		     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3035$as_echo "no" >&6; }
3036
3037fi
3038rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3039  done
3040  CPPFLAGS="$old_CPPFLAGS"
3041fi
3042
3043if test "x$smart_include" != "x"; then
3044  eval "ac_cv_header_$ac_safe=yes"
3045  CPPFLAGS="$smart_include $old_CPPFLAGS"
3046  SMART_CPPFLAGS="$smart_include $SMART_CPPFLAGS"
3047fi
3048
3049smart_prefix=
3050
3051	if test "x$ac_cv_header_ibase_h" != xyes; then
3052		fail="$fail ibase.h"
3053	fi
3054
3055	targetname=rlm_sql_firebird
3056else
3057	targetname=
3058	echo \*\*\* module rlm_sql_firebird is disabled.
3059fi
3060
3061if test "x$fail" != x; then
3062	if test "x${enable_strict_dependencies}" = xyes; then
3063		as_fn_error $? "set --without-rlm_sql_firebird to disable it explicitly." "$LINENO" 5
3064	else
3065		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_sql_firebird." >&5
3066$as_echo "$as_me: WARNING: silently not building rlm_sql_firebird." >&2;}
3067		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_sql_firebird requires:$fail." >&5
3068$as_echo "$as_me: WARNING: FAILURE: rlm_sql_firebird requires:$fail." >&2;};
3069		targetname=
3070	fi
3071fi
3072
3073mod_ldflags="$SMART_LIBS"
3074mod_cflags="$SMART_CPPFLAGS"
3075
3076
3077
3078
3079  unset ac_cv_env_LIBS_set
3080  unset ac_cv_env_LIBS_value
3081
3082  ac_config_files="$ac_config_files all.mk"
3083
3084cat >confcache <<\_ACEOF
3085# This file is a shell script that caches the results of configure
3086# tests run on this system so they can be shared between configure
3087# scripts and configure runs, see configure's option --config-cache.
3088# It is not useful on other systems.  If it contains results you don't
3089# want to keep, you may remove or edit it.
3090#
3091# config.status only pays attention to the cache file if you give it
3092# the --recheck option to rerun configure.
3093#
3094# `ac_cv_env_foo' variables (set or unset) will be overridden when
3095# loading this file, other *unset* `ac_cv_foo' will be assigned the
3096# following values.
3097
3098_ACEOF
3099
3100# The following way of writing the cache mishandles newlines in values,
3101# but we know of no workaround that is simple, portable, and efficient.
3102# So, we kill variables containing newlines.
3103# Ultrix sh set writes to stderr and can't be redirected directly,
3104# and sets the high bit in the cache file unless we assign to the vars.
3105(
3106  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3107    eval ac_val=\$$ac_var
3108    case $ac_val in #(
3109    *${as_nl}*)
3110      case $ac_var in #(
3111      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3112$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3113      esac
3114      case $ac_var in #(
3115      _ | IFS | as_nl) ;; #(
3116      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3117      *) { eval $ac_var=; unset $ac_var;} ;;
3118      esac ;;
3119    esac
3120  done
3121
3122  (set) 2>&1 |
3123    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3124    *${as_nl}ac_space=\ *)
3125      # `set' does not quote correctly, so add quotes: double-quote
3126      # substitution turns \\\\ into \\, and sed turns \\ into \.
3127      sed -n \
3128	"s/'/'\\\\''/g;
3129	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3130      ;; #(
3131    *)
3132      # `set' quotes correctly as required by POSIX, so do not add quotes.
3133      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3134      ;;
3135    esac |
3136    sort
3137) |
3138  sed '
3139     /^ac_cv_env_/b end
3140     t clear
3141     :clear
3142     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3143     t end
3144     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3145     :end' >>confcache
3146if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3147  if test -w "$cache_file"; then
3148    if test "x$cache_file" != "x/dev/null"; then
3149      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3150$as_echo "$as_me: updating cache $cache_file" >&6;}
3151      if test ! -f "$cache_file" || test -h "$cache_file"; then
3152	cat confcache >"$cache_file"
3153      else
3154        case $cache_file in #(
3155        */* | ?:*)
3156	  mv -f confcache "$cache_file"$$ &&
3157	  mv -f "$cache_file"$$ "$cache_file" ;; #(
3158        *)
3159	  mv -f confcache "$cache_file" ;;
3160	esac
3161      fi
3162    fi
3163  else
3164    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3165$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3166  fi
3167fi
3168rm -f confcache
3169
3170test "x$prefix" = xNONE && prefix=$ac_default_prefix
3171# Let make expand exec_prefix.
3172test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3173
3174# Transform confdefs.h into DEFS.
3175# Protect against shell expansion while executing Makefile rules.
3176# Protect against Makefile macro expansion.
3177#
3178# If the first sed substitution is executed (which looks for macros that
3179# take arguments), then branch to the quote section.  Otherwise,
3180# look for a macro that doesn't take arguments.
3181ac_script='
3182:mline
3183/\\$/{
3184 N
3185 s,\\\n,,
3186 b mline
3187}
3188t clear
3189:clear
3190s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
3191t quote
3192s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
3193t quote
3194b any
3195:quote
3196s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3197s/\[/\\&/g
3198s/\]/\\&/g
3199s/\$/$$/g
3200H
3201:any
3202${
3203	g
3204	s/^\n//
3205	s/\n/ /g
3206	p
3207}
3208'
3209DEFS=`sed -n "$ac_script" confdefs.h`
3210
3211
3212ac_libobjs=
3213ac_ltlibobjs=
3214U=
3215for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3216  # 1. Remove the extension, and $U if already installed.
3217  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3218  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3219  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3220  #    will be set to the directory where LIBOBJS objects are built.
3221  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3222  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3223done
3224LIBOBJS=$ac_libobjs
3225
3226LTLIBOBJS=$ac_ltlibobjs
3227
3228
3229
3230: "${CONFIG_STATUS=./config.status}"
3231ac_write_fail=0
3232ac_clean_files_save=$ac_clean_files
3233ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3234{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3235$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3236as_write_fail=0
3237cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3238#! $SHELL
3239# Generated by $as_me.
3240# Run this file to recreate the current configuration.
3241# Compiler output produced by configure, useful for debugging
3242# configure, is in config.log if it exists.
3243
3244debug=false
3245ac_cs_recheck=false
3246ac_cs_silent=false
3247
3248SHELL=\${CONFIG_SHELL-$SHELL}
3249export SHELL
3250_ASEOF
3251cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3252## -------------------- ##
3253## M4sh Initialization. ##
3254## -------------------- ##
3255
3256# Be more Bourne compatible
3257DUALCASE=1; export DUALCASE # for MKS sh
3258if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3259  emulate sh
3260  NULLCMD=:
3261  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3262  # is contrary to our usage.  Disable this feature.
3263  alias -g '${1+"$@"}'='"$@"'
3264  setopt NO_GLOB_SUBST
3265else
3266  case `(set -o) 2>/dev/null` in #(
3267  *posix*) :
3268    set -o posix ;; #(
3269  *) :
3270     ;;
3271esac
3272fi
3273
3274
3275as_nl='
3276'
3277export as_nl
3278# Printing a long string crashes Solaris 7 /usr/bin/printf.
3279as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3280as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3281as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3282# Prefer a ksh shell builtin over an external printf program on Solaris,
3283# but without wasting forks for bash or zsh.
3284if test -z "$BASH_VERSION$ZSH_VERSION" \
3285    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3286  as_echo='print -r --'
3287  as_echo_n='print -rn --'
3288elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3289  as_echo='printf %s\n'
3290  as_echo_n='printf %s'
3291else
3292  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3293    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3294    as_echo_n='/usr/ucb/echo -n'
3295  else
3296    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3297    as_echo_n_body='eval
3298      arg=$1;
3299      case $arg in #(
3300      *"$as_nl"*)
3301	expr "X$arg" : "X\\(.*\\)$as_nl";
3302	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3303      esac;
3304      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3305    '
3306    export as_echo_n_body
3307    as_echo_n='sh -c $as_echo_n_body as_echo'
3308  fi
3309  export as_echo_body
3310  as_echo='sh -c $as_echo_body as_echo'
3311fi
3312
3313# The user is always right.
3314if test "${PATH_SEPARATOR+set}" != set; then
3315  PATH_SEPARATOR=:
3316  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3317    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3318      PATH_SEPARATOR=';'
3319  }
3320fi
3321
3322
3323# IFS
3324# We need space, tab and new line, in precisely that order.  Quoting is
3325# there to prevent editors from complaining about space-tab.
3326# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3327# splitting by setting IFS to empty value.)
3328IFS=" ""	$as_nl"
3329
3330# Find who we are.  Look in the path if we contain no directory separator.
3331as_myself=
3332case $0 in #((
3333  *[\\/]* ) as_myself=$0 ;;
3334  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3335for as_dir in $PATH
3336do
3337  IFS=$as_save_IFS
3338  test -z "$as_dir" && as_dir=.
3339    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3340  done
3341IFS=$as_save_IFS
3342
3343     ;;
3344esac
3345# We did not find ourselves, most probably we were run as `sh COMMAND'
3346# in which case we are not to be found in the path.
3347if test "x$as_myself" = x; then
3348  as_myself=$0
3349fi
3350if test ! -f "$as_myself"; then
3351  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3352  exit 1
3353fi
3354
3355# Unset variables that we do not need and which cause bugs (e.g. in
3356# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
3357# suppresses any "Segmentation fault" message there.  '((' could
3358# trigger a bug in pdksh 5.2.14.
3359for as_var in BASH_ENV ENV MAIL MAILPATH
3360do eval test x\${$as_var+set} = xset \
3361  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3362done
3363PS1='$ '
3364PS2='> '
3365PS4='+ '
3366
3367# NLS nuisances.
3368LC_ALL=C
3369export LC_ALL
3370LANGUAGE=C
3371export LANGUAGE
3372
3373# CDPATH.
3374(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3375
3376
3377# as_fn_error STATUS ERROR [LINENO LOG_FD]
3378# ----------------------------------------
3379# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3380# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3381# script with STATUS, using 1 if that was 0.
3382as_fn_error ()
3383{
3384  as_status=$1; test $as_status -eq 0 && as_status=1
3385  if test "$4"; then
3386    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3387    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3388  fi
3389  $as_echo "$as_me: error: $2" >&2
3390  as_fn_exit $as_status
3391} # as_fn_error
3392
3393
3394# as_fn_set_status STATUS
3395# -----------------------
3396# Set $? to STATUS, without forking.
3397as_fn_set_status ()
3398{
3399  return $1
3400} # as_fn_set_status
3401
3402# as_fn_exit STATUS
3403# -----------------
3404# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3405as_fn_exit ()
3406{
3407  set +e
3408  as_fn_set_status $1
3409  exit $1
3410} # as_fn_exit
3411
3412# as_fn_unset VAR
3413# ---------------
3414# Portably unset VAR.
3415as_fn_unset ()
3416{
3417  { eval $1=; unset $1;}
3418}
3419as_unset=as_fn_unset
3420# as_fn_append VAR VALUE
3421# ----------------------
3422# Append the text in VALUE to the end of the definition contained in VAR. Take
3423# advantage of any shell optimizations that allow amortized linear growth over
3424# repeated appends, instead of the typical quadratic growth present in naive
3425# implementations.
3426if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3427  eval 'as_fn_append ()
3428  {
3429    eval $1+=\$2
3430  }'
3431else
3432  as_fn_append ()
3433  {
3434    eval $1=\$$1\$2
3435  }
3436fi # as_fn_append
3437
3438# as_fn_arith ARG...
3439# ------------------
3440# Perform arithmetic evaluation on the ARGs, and store the result in the
3441# global $as_val. Take advantage of shells that can avoid forks. The arguments
3442# must be portable across $(()) and expr.
3443if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3444  eval 'as_fn_arith ()
3445  {
3446    as_val=$(( $* ))
3447  }'
3448else
3449  as_fn_arith ()
3450  {
3451    as_val=`expr "$@" || test $? -eq 1`
3452  }
3453fi # as_fn_arith
3454
3455
3456if expr a : '\(a\)' >/dev/null 2>&1 &&
3457   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3458  as_expr=expr
3459else
3460  as_expr=false
3461fi
3462
3463if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3464  as_basename=basename
3465else
3466  as_basename=false
3467fi
3468
3469if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3470  as_dirname=dirname
3471else
3472  as_dirname=false
3473fi
3474
3475as_me=`$as_basename -- "$0" ||
3476$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3477	 X"$0" : 'X\(//\)$' \| \
3478	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3479$as_echo X/"$0" |
3480    sed '/^.*\/\([^/][^/]*\)\/*$/{
3481	    s//\1/
3482	    q
3483	  }
3484	  /^X\/\(\/\/\)$/{
3485	    s//\1/
3486	    q
3487	  }
3488	  /^X\/\(\/\).*/{
3489	    s//\1/
3490	    q
3491	  }
3492	  s/.*/./; q'`
3493
3494# Avoid depending upon Character Ranges.
3495as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3496as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3497as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3498as_cr_digits='0123456789'
3499as_cr_alnum=$as_cr_Letters$as_cr_digits
3500
3501ECHO_C= ECHO_N= ECHO_T=
3502case `echo -n x` in #(((((
3503-n*)
3504  case `echo 'xy\c'` in
3505  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
3506  xy)  ECHO_C='\c';;
3507  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
3508       ECHO_T='	';;
3509  esac;;
3510*)
3511  ECHO_N='-n';;
3512esac
3513
3514rm -f conf$$ conf$$.exe conf$$.file
3515if test -d conf$$.dir; then
3516  rm -f conf$$.dir/conf$$.file
3517else
3518  rm -f conf$$.dir
3519  mkdir conf$$.dir 2>/dev/null
3520fi
3521if (echo >conf$$.file) 2>/dev/null; then
3522  if ln -s conf$$.file conf$$ 2>/dev/null; then
3523    as_ln_s='ln -s'
3524    # ... but there are two gotchas:
3525    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3526    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3527    # In both cases, we have to default to `cp -pR'.
3528    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3529      as_ln_s='cp -pR'
3530  elif ln conf$$.file conf$$ 2>/dev/null; then
3531    as_ln_s=ln
3532  else
3533    as_ln_s='cp -pR'
3534  fi
3535else
3536  as_ln_s='cp -pR'
3537fi
3538rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3539rmdir conf$$.dir 2>/dev/null
3540
3541
3542# as_fn_mkdir_p
3543# -------------
3544# Create "$as_dir" as a directory, including parents if necessary.
3545as_fn_mkdir_p ()
3546{
3547
3548  case $as_dir in #(
3549  -*) as_dir=./$as_dir;;
3550  esac
3551  test -d "$as_dir" || eval $as_mkdir_p || {
3552    as_dirs=
3553    while :; do
3554      case $as_dir in #(
3555      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3556      *) as_qdir=$as_dir;;
3557      esac
3558      as_dirs="'$as_qdir' $as_dirs"
3559      as_dir=`$as_dirname -- "$as_dir" ||
3560$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3561	 X"$as_dir" : 'X\(//\)[^/]' \| \
3562	 X"$as_dir" : 'X\(//\)$' \| \
3563	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3564$as_echo X"$as_dir" |
3565    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3566	    s//\1/
3567	    q
3568	  }
3569	  /^X\(\/\/\)[^/].*/{
3570	    s//\1/
3571	    q
3572	  }
3573	  /^X\(\/\/\)$/{
3574	    s//\1/
3575	    q
3576	  }
3577	  /^X\(\/\).*/{
3578	    s//\1/
3579	    q
3580	  }
3581	  s/.*/./; q'`
3582      test -d "$as_dir" && break
3583    done
3584    test -z "$as_dirs" || eval "mkdir $as_dirs"
3585  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3586
3587
3588} # as_fn_mkdir_p
3589if mkdir -p . 2>/dev/null; then
3590  as_mkdir_p='mkdir -p "$as_dir"'
3591else
3592  test -d ./-p && rmdir ./-p
3593  as_mkdir_p=false
3594fi
3595
3596
3597# as_fn_executable_p FILE
3598# -----------------------
3599# Test if FILE is an executable regular file.
3600as_fn_executable_p ()
3601{
3602  test -f "$1" && test -x "$1"
3603} # as_fn_executable_p
3604as_test_x='test -x'
3605as_executable_p=as_fn_executable_p
3606
3607# Sed expression to map a string onto a valid CPP name.
3608as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3609
3610# Sed expression to map a string onto a valid variable name.
3611as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3612
3613
3614exec 6>&1
3615## ----------------------------------- ##
3616## Main body of $CONFIG_STATUS script. ##
3617## ----------------------------------- ##
3618_ASEOF
3619test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3620
3621cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3622# Save the log message, to keep $0 and so on meaningful, and to
3623# report actual input values of CONFIG_FILES etc. instead of their
3624# values after options handling.
3625ac_log="
3626This file was extended by $as_me, which was
3627generated by GNU Autoconf 2.69.  Invocation command line was
3628
3629  CONFIG_FILES    = $CONFIG_FILES
3630  CONFIG_HEADERS  = $CONFIG_HEADERS
3631  CONFIG_LINKS    = $CONFIG_LINKS
3632  CONFIG_COMMANDS = $CONFIG_COMMANDS
3633  $ $0 $@
3634
3635on `(hostname || uname -n) 2>/dev/null | sed 1q`
3636"
3637
3638_ACEOF
3639
3640case $ac_config_files in *"
3641"*) set x $ac_config_files; shift; ac_config_files=$*;;
3642esac
3643
3644
3645
3646cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3647# Files that config.status was made for.
3648config_files="$ac_config_files"
3649
3650_ACEOF
3651
3652cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3653ac_cs_usage="\
3654\`$as_me' instantiates files and other configuration actions
3655from templates according to the current configuration.  Unless the files
3656and actions are specified as TAGs, all are instantiated by default.
3657
3658Usage: $0 [OPTION]... [TAG]...
3659
3660  -h, --help       print this help, then exit
3661  -V, --version    print version number and configuration settings, then exit
3662      --config     print configuration, then exit
3663  -q, --quiet, --silent
3664                   do not print progress messages
3665  -d, --debug      don't remove temporary files
3666      --recheck    update $as_me by reconfiguring in the same conditions
3667      --file=FILE[:TEMPLATE]
3668                   instantiate the configuration file FILE
3669
3670Configuration files:
3671$config_files
3672
3673Report bugs to the package provider."
3674
3675_ACEOF
3676cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3677ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3678ac_cs_version="\\
3679config.status
3680configured by $0, generated by GNU Autoconf 2.69,
3681  with options \\"\$ac_cs_config\\"
3682
3683Copyright (C) 2012 Free Software Foundation, Inc.
3684This config.status script is free software; the Free Software Foundation
3685gives unlimited permission to copy, distribute and modify it."
3686
3687ac_pwd='$ac_pwd'
3688srcdir='$srcdir'
3689test -n "\$AWK" || AWK=awk
3690_ACEOF
3691
3692cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3693# The default lists apply if the user does not specify any file.
3694ac_need_defaults=:
3695while test $# != 0
3696do
3697  case $1 in
3698  --*=?*)
3699    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3700    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3701    ac_shift=:
3702    ;;
3703  --*=)
3704    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3705    ac_optarg=
3706    ac_shift=:
3707    ;;
3708  *)
3709    ac_option=$1
3710    ac_optarg=$2
3711    ac_shift=shift
3712    ;;
3713  esac
3714
3715  case $ac_option in
3716  # Handling of the options.
3717  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3718    ac_cs_recheck=: ;;
3719  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3720    $as_echo "$ac_cs_version"; exit ;;
3721  --config | --confi | --conf | --con | --co | --c )
3722    $as_echo "$ac_cs_config"; exit ;;
3723  --debug | --debu | --deb | --de | --d | -d )
3724    debug=: ;;
3725  --file | --fil | --fi | --f )
3726    $ac_shift
3727    case $ac_optarg in
3728    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3729    '') as_fn_error $? "missing file argument" ;;
3730    esac
3731    as_fn_append CONFIG_FILES " '$ac_optarg'"
3732    ac_need_defaults=false;;
3733  --he | --h |  --help | --hel | -h )
3734    $as_echo "$ac_cs_usage"; exit ;;
3735  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3736  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3737    ac_cs_silent=: ;;
3738
3739  # This is an error.
3740  -*) as_fn_error $? "unrecognized option: \`$1'
3741Try \`$0 --help' for more information." ;;
3742
3743  *) as_fn_append ac_config_targets " $1"
3744     ac_need_defaults=false ;;
3745
3746  esac
3747  shift
3748done
3749
3750ac_configure_extra_args=
3751
3752if $ac_cs_silent; then
3753  exec 6>/dev/null
3754  ac_configure_extra_args="$ac_configure_extra_args --silent"
3755fi
3756
3757_ACEOF
3758cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3759if \$ac_cs_recheck; then
3760  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3761  shift
3762  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3763  CONFIG_SHELL='$SHELL'
3764  export CONFIG_SHELL
3765  exec "\$@"
3766fi
3767
3768_ACEOF
3769cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3770exec 5>>config.log
3771{
3772  echo
3773  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3774## Running $as_me. ##
3775_ASBOX
3776  $as_echo "$ac_log"
3777} >&5
3778
3779_ACEOF
3780cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3781_ACEOF
3782
3783cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3784
3785# Handling of arguments.
3786for ac_config_target in $ac_config_targets
3787do
3788  case $ac_config_target in
3789    "all.mk") CONFIG_FILES="$CONFIG_FILES all.mk" ;;
3790
3791  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3792  esac
3793done
3794
3795
3796# If the user did not use the arguments to specify the items to instantiate,
3797# then the envvar interface is used.  Set only those that are not.
3798# We use the long form for the default assignment because of an extremely
3799# bizarre bug on SunOS 4.1.3.
3800if $ac_need_defaults; then
3801  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3802fi
3803
3804# Have a temporary directory for convenience.  Make it in the build tree
3805# simply because there is no reason against having it here, and in addition,
3806# creating and moving files from /tmp can sometimes cause problems.
3807# Hook for its removal unless debugging.
3808# Note that there is a small window in which the directory will not be cleaned:
3809# after its creation but before its name has been assigned to `$tmp'.
3810$debug ||
3811{
3812  tmp= ac_tmp=
3813  trap 'exit_status=$?
3814  : "${ac_tmp:=$tmp}"
3815  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3816' 0
3817  trap 'as_fn_exit 1' 1 2 13 15
3818}
3819# Create a (secure) tmp directory for tmp files.
3820
3821{
3822  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3823  test -d "$tmp"
3824}  ||
3825{
3826  tmp=./conf$$-$RANDOM
3827  (umask 077 && mkdir "$tmp")
3828} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3829ac_tmp=$tmp
3830
3831# Set up the scripts for CONFIG_FILES section.
3832# No need to generate them if there are no CONFIG_FILES.
3833# This happens for instance with `./config.status config.h'.
3834if test -n "$CONFIG_FILES"; then
3835
3836
3837ac_cr=`echo X | tr X '\015'`
3838# On cygwin, bash can eat \r inside `` if the user requested igncr.
3839# But we know of no other shell where ac_cr would be empty at this
3840# point, so we can use a bashism as a fallback.
3841if test "x$ac_cr" = x; then
3842  eval ac_cr=\$\'\\r\'
3843fi
3844ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3845if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3846  ac_cs_awk_cr='\\r'
3847else
3848  ac_cs_awk_cr=$ac_cr
3849fi
3850
3851echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3852_ACEOF
3853
3854
3855{
3856  echo "cat >conf$$subs.awk <<_ACEOF" &&
3857  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3858  echo "_ACEOF"
3859} >conf$$subs.sh ||
3860  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3861ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3862ac_delim='%!_!# '
3863for ac_last_try in false false false false false :; do
3864  . ./conf$$subs.sh ||
3865    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3866
3867  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3868  if test $ac_delim_n = $ac_delim_num; then
3869    break
3870  elif $ac_last_try; then
3871    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3872  else
3873    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3874  fi
3875done
3876rm -f conf$$subs.sh
3877
3878cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3879cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3880_ACEOF
3881sed -n '
3882h
3883s/^/S["/; s/!.*/"]=/
3884p
3885g
3886s/^[^!]*!//
3887:repl
3888t repl
3889s/'"$ac_delim"'$//
3890t delim
3891:nl
3892h
3893s/\(.\{148\}\)..*/\1/
3894t more1
3895s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3896p
3897n
3898b repl
3899:more1
3900s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3901p
3902g
3903s/.\{148\}//
3904t nl
3905:delim
3906h
3907s/\(.\{148\}\)..*/\1/
3908t more2
3909s/["\\]/\\&/g; s/^/"/; s/$/"/
3910p
3911b
3912:more2
3913s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3914p
3915g
3916s/.\{148\}//
3917t delim
3918' <conf$$subs.awk | sed '
3919/^[^""]/{
3920  N
3921  s/\n//
3922}
3923' >>$CONFIG_STATUS || ac_write_fail=1
3924rm -f conf$$subs.awk
3925cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3926_ACAWK
3927cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3928  for (key in S) S_is_set[key] = 1
3929  FS = ""
3930
3931}
3932{
3933  line = $ 0
3934  nfields = split(line, field, "@")
3935  substed = 0
3936  len = length(field[1])
3937  for (i = 2; i < nfields; i++) {
3938    key = field[i]
3939    keylen = length(key)
3940    if (S_is_set[key]) {
3941      value = S[key]
3942      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3943      len += length(value) + length(field[++i])
3944      substed = 1
3945    } else
3946      len += 1 + keylen
3947  }
3948
3949  print line
3950}
3951
3952_ACAWK
3953_ACEOF
3954cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3955if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3956  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3957else
3958  cat
3959fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3960  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3961_ACEOF
3962
3963# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3964# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3965# trailing colons and then remove the whole line if VPATH becomes empty
3966# (actually we leave an empty line to preserve line numbers).
3967if test "x$srcdir" = x.; then
3968  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
3969h
3970s///
3971s/^/:/
3972s/[	 ]*$/:/
3973s/:\$(srcdir):/:/g
3974s/:\${srcdir}:/:/g
3975s/:@srcdir@:/:/g
3976s/^:*//
3977s/:*$//
3978x
3979s/\(=[	 ]*\).*/\1/
3980G
3981s/\n//
3982s/^[^=]*=[	 ]*$//
3983}'
3984fi
3985
3986cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3987fi # test -n "$CONFIG_FILES"
3988
3989
3990eval set X "  :F $CONFIG_FILES      "
3991shift
3992for ac_tag
3993do
3994  case $ac_tag in
3995  :[FHLC]) ac_mode=$ac_tag; continue;;
3996  esac
3997  case $ac_mode$ac_tag in
3998  :[FHL]*:*);;
3999  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4000  :[FH]-) ac_tag=-:-;;
4001  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4002  esac
4003  ac_save_IFS=$IFS
4004  IFS=:
4005  set x $ac_tag
4006  IFS=$ac_save_IFS
4007  shift
4008  ac_file=$1
4009  shift
4010
4011  case $ac_mode in
4012  :L) ac_source=$1;;
4013  :[FH])
4014    ac_file_inputs=
4015    for ac_f
4016    do
4017      case $ac_f in
4018      -) ac_f="$ac_tmp/stdin";;
4019      *) # Look for the file first in the build tree, then in the source tree
4020	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
4021	 # because $ac_f cannot contain `:'.
4022	 test -f "$ac_f" ||
4023	   case $ac_f in
4024	   [\\/$]*) false;;
4025	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4026	   esac ||
4027	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4028      esac
4029      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4030      as_fn_append ac_file_inputs " '$ac_f'"
4031    done
4032
4033    # Let's still pretend it is `configure' which instantiates (i.e., don't
4034    # use $as_me), people would be surprised to read:
4035    #    /* config.h.  Generated by config.status.  */
4036    configure_input='Generated from '`
4037	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4038	`' by configure.'
4039    if test x"$ac_file" != x-; then
4040      configure_input="$ac_file.  $configure_input"
4041      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4042$as_echo "$as_me: creating $ac_file" >&6;}
4043    fi
4044    # Neutralize special characters interpreted by sed in replacement strings.
4045    case $configure_input in #(
4046    *\&* | *\|* | *\\* )
4047       ac_sed_conf_input=`$as_echo "$configure_input" |
4048       sed 's/[\\\\&|]/\\\\&/g'`;; #(
4049    *) ac_sed_conf_input=$configure_input;;
4050    esac
4051
4052    case $ac_tag in
4053    *:-:* | *:-) cat >"$ac_tmp/stdin" \
4054      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4055    esac
4056    ;;
4057  esac
4058
4059  ac_dir=`$as_dirname -- "$ac_file" ||
4060$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4061	 X"$ac_file" : 'X\(//\)[^/]' \| \
4062	 X"$ac_file" : 'X\(//\)$' \| \
4063	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4064$as_echo X"$ac_file" |
4065    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4066	    s//\1/
4067	    q
4068	  }
4069	  /^X\(\/\/\)[^/].*/{
4070	    s//\1/
4071	    q
4072	  }
4073	  /^X\(\/\/\)$/{
4074	    s//\1/
4075	    q
4076	  }
4077	  /^X\(\/\).*/{
4078	    s//\1/
4079	    q
4080	  }
4081	  s/.*/./; q'`
4082  as_dir="$ac_dir"; as_fn_mkdir_p
4083  ac_builddir=.
4084
4085case "$ac_dir" in
4086.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4087*)
4088  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4089  # A ".." for each directory in $ac_dir_suffix.
4090  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4091  case $ac_top_builddir_sub in
4092  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4093  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4094  esac ;;
4095esac
4096ac_abs_top_builddir=$ac_pwd
4097ac_abs_builddir=$ac_pwd$ac_dir_suffix
4098# for backward compatibility:
4099ac_top_builddir=$ac_top_build_prefix
4100
4101case $srcdir in
4102  .)  # We are building in place.
4103    ac_srcdir=.
4104    ac_top_srcdir=$ac_top_builddir_sub
4105    ac_abs_top_srcdir=$ac_pwd ;;
4106  [\\/]* | ?:[\\/]* )  # Absolute name.
4107    ac_srcdir=$srcdir$ac_dir_suffix;
4108    ac_top_srcdir=$srcdir
4109    ac_abs_top_srcdir=$srcdir ;;
4110  *) # Relative name.
4111    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4112    ac_top_srcdir=$ac_top_build_prefix$srcdir
4113    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4114esac
4115ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4116
4117
4118  case $ac_mode in
4119  :F)
4120  #
4121  # CONFIG_FILE
4122  #
4123
4124_ACEOF
4125
4126cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4127# If the template does not know about datarootdir, expand it.
4128# FIXME: This hack should be removed a few years after 2.60.
4129ac_datarootdir_hack=; ac_datarootdir_seen=
4130ac_sed_dataroot='
4131/datarootdir/ {
4132  p
4133  q
4134}
4135/@datadir@/p
4136/@docdir@/p
4137/@infodir@/p
4138/@localedir@/p
4139/@mandir@/p'
4140case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4141*datarootdir*) ac_datarootdir_seen=yes;;
4142*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4143  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4144$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4145_ACEOF
4146cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4147  ac_datarootdir_hack='
4148  s&@datadir@&$datadir&g
4149  s&@docdir@&$docdir&g
4150  s&@infodir@&$infodir&g
4151  s&@localedir@&$localedir&g
4152  s&@mandir@&$mandir&g
4153  s&\\\${datarootdir}&$datarootdir&g' ;;
4154esac
4155_ACEOF
4156
4157# Neutralize VPATH when `$srcdir' = `.'.
4158# Shell code in configure.ac might set extrasub.
4159# FIXME: do we really want to maintain this feature?
4160cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4161ac_sed_extra="$ac_vpsub
4162$extrasub
4163_ACEOF
4164cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4165:t
4166/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4167s|@configure_input@|$ac_sed_conf_input|;t t
4168s&@top_builddir@&$ac_top_builddir_sub&;t t
4169s&@top_build_prefix@&$ac_top_build_prefix&;t t
4170s&@srcdir@&$ac_srcdir&;t t
4171s&@abs_srcdir@&$ac_abs_srcdir&;t t
4172s&@top_srcdir@&$ac_top_srcdir&;t t
4173s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4174s&@builddir@&$ac_builddir&;t t
4175s&@abs_builddir@&$ac_abs_builddir&;t t
4176s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4177$ac_datarootdir_hack
4178"
4179eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4180  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4181
4182test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4183  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4184  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
4185      "$ac_tmp/out"`; test -z "$ac_out"; } &&
4186  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4187which seems to be undefined.  Please make sure it is defined" >&5
4188$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4189which seems to be undefined.  Please make sure it is defined" >&2;}
4190
4191  rm -f "$ac_tmp/stdin"
4192  case $ac_file in
4193  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4194  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4195  esac \
4196  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4197 ;;
4198
4199
4200
4201  esac
4202
4203done # for ac_tag
4204
4205
4206as_fn_exit 0
4207_ACEOF
4208ac_clean_files=$ac_clean_files_save
4209
4210test $ac_write_fail = 0 ||
4211  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4212
4213
4214# configure is writing to config.log, and then calls config.status.
4215# config.status does its own redirection, appending to config.log.
4216# Unfortunately, on DOS this fails, as config.log is still kept open
4217# by configure, so config.status won't be able to write to it; its
4218# output is simply discarded.  So we exec the FD to /dev/null,
4219# effectively closing config.log, so it can be properly (re)opened and
4220# appended to by config.status.  When coming back to configure, we
4221# need to make the FD available again.
4222if test "$no_create" != yes; then
4223  ac_cs_success=:
4224  ac_config_status_args=
4225  test "$silent" = yes &&
4226    ac_config_status_args="$ac_config_status_args --quiet"
4227  exec 5>/dev/null
4228  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4229  exec 5>>config.log
4230  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4231  # would make configure fail if this is the last instruction.
4232  $ac_cs_success || as_fn_exit 1
4233fi
4234if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4235  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4236$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4237fi
4238
4239
4240