Debian Codegraph @

src/modules/rlm_sql/drivers/rlm_sql_unixodbc/configure

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