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