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