Debian Codegraph @

src/modules/rlm_opendirectory/configure

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