2 # From configure.in Id: 16b135293616700c63077e9a1a601681d4442fdd .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.65.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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 ## -------------------- ##
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 :
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+"$@"}'='"$@"'
28 case `(set -o) 2>/dev/null` in #(
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
49 as_echo_n='print -rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 as_echo_n='sh -c $as_echo_n_body as_echo'
72 as_echo='sh -c $as_echo_body as_echo'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
92 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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 :
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+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
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; }
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 :
168 exitcode=1; echo positional parameters were not saved.
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 :
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir=.
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 :
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
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.
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
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."
231 $as_echo "$0: Please tell bug-autoconf@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."
240 SHELL=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir=./$as_dir;;
285 test -d "$as_dir" || eval $as_mkdir_p || {
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
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
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
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 :
354 as_val=`expr "$@" || test $? -eq 1`
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.
366 as_status=$?; test $as_status -eq 0 && as_status=1
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
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit $as_status
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
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
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. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }
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).
448 # Exit status is that of the last command.
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
470 mkdir conf$$.dir 2>/dev/null
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
481 elif ln conf$$.file conf$$ 2>/dev/null; then
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
495 test -d ./-p && rmdir ./-p
499 if test -x / >/dev/null 2>&1; then
502 if ls -dL / >/dev/null 2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p=$as_test_x
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'"
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'"
529 test -n "$DJDIR" || exec 7<&0 </dev/null
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`
540 ac_default_prefix=/usr/local
542 ac_config_libobj_dir=.
549 # Identity of this package.
557 ac_unique_file="neoXldap.c"
558 ac_subst_vars='LTLIBOBJS
566 NEO_UNSHARED_LIB_FILE
639 program_transform_name
652 enable_option_checking
662 ac_precious_vars='build_alias
672 # Initialize some variables set by options.
674 ac_init_version=false
675 ac_unrecognized_opts=
677 # The variables have the same names as the options, with
678 # dashes changed to underlines.
686 program_transform_name=s,x,x,
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'
716 libdir='${exec_prefix}/lib'
717 localedir='${datarootdir}/locale'
718 mandir='${datarootdir}/man'
724 # If the previous option needs an argument, assign it.
725 if test -n "$ac_prev"; then
726 eval $ac_prev=\$ac_option
732 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
736 # Accept the important Cygnus configure options, so we can diagnose typos.
738 case $ac_dashdash$ac_option in
742 -bindir | --bindir | --bindi | --bind | --bin | --bi)
744 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
747 -build | --build | --buil | --bui | --bu)
748 ac_prev=build_alias ;;
749 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
750 build_alias=$ac_optarg ;;
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 ;;
760 cache_file=config.cache ;;
762 -datadir | --datadir | --datadi | --datad)
764 -datadir=* | --datadir=* | --datadi=* | --datad=*)
765 datadir=$ac_optarg ;;
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 ;;
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
785 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
786 ac_unrecognized_sep=', ';;
788 eval enable_$ac_useropt=no ;;
790 -docdir | --docdir | --docdi | --doc | --do)
792 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
795 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
797 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
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
811 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
812 ac_unrecognized_sep=', ';;
814 eval enable_$ac_useropt=\$ac_optarg ;;
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 ;;
825 -gas | --gas | --ga | --g)
826 # Obsolete; use --with-gas.
829 -help | --help | --hel | --he | -h)
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 ;;
836 -host | --host | --hos | --ho)
837 ac_prev=host_alias ;;
838 -host=* | --host=* | --hos=* | --ho=*)
839 host_alias=$ac_optarg ;;
841 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
843 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
845 htmldir=$ac_optarg ;;
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 ;;
854 -infodir | --infodir | --infodi | --infod | --info | --inf)
856 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
857 infodir=$ac_optarg ;;
859 -libdir | --libdir | --libdi | --libd)
861 -libdir=* | --libdir=* | --libdi=* | --libd=*)
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 ;;
871 -localedir | --localedir | --localedi | --localed | --locale)
873 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
874 localedir=$ac_optarg ;;
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 ;;
883 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
885 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
889 # Obsolete; use --without-fp.
892 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
893 | --no-cr | --no-c | -n)
896 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
897 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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 ;;
909 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
911 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
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 ;;
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 ;;
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 ;;
945 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
947 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
950 -psdir | --psdir | --psdi | --psd | --ps)
952 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
955 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
956 | -silent | --silent | --silen | --sile | --sil)
959 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
961 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
963 sbindir=$ac_optarg ;;
965 -sharedstatedir | --sharedstatedir | --sharedstatedi \
966 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
967 | --sharedst | --shareds | --shared | --share | --shar \
969 ac_prev=sharedstatedir ;;
970 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
971 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
972 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
974 sharedstatedir=$ac_optarg ;;
976 -site | --site | --sit)
978 -site=* | --site=* | --sit=*)
981 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
983 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
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 ;;
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 ;;
998 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1001 -version | --version | --versio | --versi | --vers | -V)
1002 ac_init_version=: ;;
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
1015 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1016 ac_unrecognized_sep=', ';;
1018 eval with_$ac_useropt=\$ac_optarg ;;
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
1031 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1032 ac_unrecognized_sep=', ';;
1034 eval with_$ac_useropt=no ;;
1037 # Obsolete; use --with-x.
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 ;;
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 ;;
1054 -*) as_fn_error "unrecognized option: \`$ac_option'
1055 Try \`$0 --help' for more information."
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'" ;;
1065 eval $ac_envvar=\$ac_optarg
1066 export $ac_envvar ;;
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}
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"
1084 if test -n "$ac_unrecognized_opts"; then
1085 case $enable_option_checking in
1087 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1088 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
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
1098 eval ac_val=\$$ac_var
1099 # Remove trailing slashes.
1102 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1103 eval $ac_var=\$ac_val;;
1105 # Be sure to have absolute directory names.
1107 [\\/$]* | ?:[\\/]* ) continue;;
1108 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1110 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
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.
1118 target=$target_alias
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
1132 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1134 test "$silent" = yes && exec 6>/dev/null
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"
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1173 if test ! -r "$srcdir/$ac_unique_file"; then
1177 ac_srcdir_defaulted=no
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"
1183 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1185 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1187 # When building in place, set srcdir=.
1188 if test "$ac_abs_confdir" = "$ac_pwd"; then
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.
1195 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
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}
1205 # Report the --help message.
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.
1211 \`configure' configures this package to adapt to many kinds of systems.
1213 Usage: $0 [OPTION]... [VAR=VALUE]...
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.
1218 Defaults for the options are specified in brackets.
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 \`..']
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
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'.
1242 For better control, use the options below.
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]
1270 if test -n "$ac_init_help"; then
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
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
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>
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.
1303 Report bugs to the package provider.
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"; } ||
1317 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
1333 .) # We are building in place.
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 ;;
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 ;;
1346 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1348 cd "$ac_dir" || { ac_status=$?; continue; }
1349 # Check for guested configure.
1350 if test -f "$ac_srcdir/configure.gnu"; then
1352 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1353 elif test -f "$ac_srcdir/configure"; then
1355 $SHELL "$ac_srcdir/configure" --help=recursive
1357 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1359 cd "$ac_pwd" || { ac_status=$?; break; }
1363 test -n "$ac_init_help" && exit $ac_status
1364 if $ac_init_version; then
1367 generated by GNU Autoconf 2.65
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.
1376 ## ------------------------ ##
1377 ## Autoconf initialization. ##
1378 ## ------------------------ ##
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 ()
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"
1389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1390 *) ac_try_echo=$ac_try;;
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
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
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 :
1408 $as_echo "$as_me: failed program was:" >&5
1409 sed 's/^/| /' conftest.$ac_ext >&5
1413 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1414 as_fn_set_status $ac_retval
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.
1421 It was created by $as_me, which was
1422 generated by GNU Autoconf 2.65. Invocation command line was
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`
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`
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`
1453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1457 test -z "$as_dir" && as_dir=.
1458 $as_echo "PATH: $as_dir"
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.
1482 ac_must_keep_next=false
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)
1493 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1496 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
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.
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 ;;
1511 -* ) ac_must_keep_next=true ;;
1514 as_fn_append ac_configure_args " '$ac_arg'"
1519 { ac_configure_args0=; unset ac_configure_args0;}
1520 { ac_configure_args1=; unset ac_configure_args1;}
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.
1533 ## ---------------- ##
1534 ## Cache variables. ##
1535 ## ---------------- ##
1538 # The following way of writing the cache mishandles newlines in values,
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
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;} ;;
1549 _ | IFS | as_nl) ;; #(
1550 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1551 *) { eval $ac_var=; unset $ac_var;} ;;
1556 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1557 *${as_nl}ac_space=\ *)
1559 "s/'\''/'\''\\\\'\'''\''/g;
1560 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1563 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1571 ## ----------------- ##
1572 ## Output variables. ##
1573 ## ----------------- ##
1576 for ac_var in $ac_subst_vars
1578 eval ac_val=\$$ac_var
1580 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1582 $as_echo "$ac_var='\''$ac_val'\''"
1586 if test -n "$ac_subst_files"; then
1588 ## ------------------- ##
1589 ## File substitutions. ##
1590 ## ------------------- ##
1593 for ac_var in $ac_subst_files
1595 eval ac_val=\$$ac_var
1597 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1599 $as_echo "$ac_var='\''$ac_val'\''"
1604 if test -s confdefs.h; then
1614 test "$ac_signal" != 0 &&
1615 $as_echo "$as_me: caught signal $ac_signal"
1616 $as_echo "$as_me: exit $exit_status"
1618 rm -f core *.core core.conftest.* &&
1619 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1622 for ac_signal in 1 2 13 15; do
1623 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1627 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1628 rm -f -r conftest* confdefs.h
1630 $as_echo "/* confdefs.h */" > confdefs.h
1632 # Predefined preprocessor variables.
1634 cat >>confdefs.h <<_ACEOF
1635 #define PACKAGE_NAME "$PACKAGE_NAME"
1638 cat >>confdefs.h <<_ACEOF
1639 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1642 cat >>confdefs.h <<_ACEOF
1643 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1646 cat >>confdefs.h <<_ACEOF
1647 #define PACKAGE_STRING "$PACKAGE_STRING"
1650 cat >>confdefs.h <<_ACEOF
1651 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1654 cat >>confdefs.h <<_ACEOF
1655 #define PACKAGE_URL "$PACKAGE_URL"
1659 # Let the site file select an alternate cache file if it wants to.
1660 # Prefer an explicitly selected file to automatically selected ones.
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
1669 ac_site_file1=$ac_default_prefix/share/config.site
1670 ac_site_file2=$ac_default_prefix/etc/config.site
1672 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
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
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;}
1690 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1691 *) . "./$cache_file";;
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1696 $as_echo "$as_me: creating cache $cache_file" >&6;}
1700 # Check that the precious variables saved in the cache have kept the same
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
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=: ;;
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=: ;;
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=:
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
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;}
1738 # Pass precious variables to config.status.
1739 if test "$ac_new_set" = set; then
1741 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1742 *) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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
1757 ## -------------------- ##
1758 ## Main body of script. ##
1759 ## -------------------- ##
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
1775 VERSION=${NEO_VERSION}
1777 if test "${prefix}" = "NONE"; then
1780 if test "${exec_prefix}" = "NONE"; then
1784 # Check whether --enable-gcc was given.
1785 if test "${enable_gcc+set}" = set; then :
1786 enableval=$enable_gcc; neo_ok=$enableval
1791 if test "$neo_ok" = "yes"; then
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
1805 if test -n "$CC"; then
1806 ac_cv_prog_CC="$CC" # Let the user override the test.
1808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1826 if test -n "$CC"; then
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1828 $as_echo "$CC" >&6; }
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1831 $as_echo "no" >&6; }
1836 if test -z "$ac_cv_prog_CC"; then
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
1845 if test -n "$ac_ct_CC"; then
1846 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1871 $as_echo "no" >&6; }
1874 if test "x$ac_ct_CC" = x; then
1877 case $cross_compiling:$ac_tool_warned in
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 ;;
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
1898 if test -n "$CC"; then
1899 ac_cv_prog_CC="$CC" # Let the user override the test.
1901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1919 if test -n "$CC"; then
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1921 $as_echo "$CC" >&6; }
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1924 $as_echo "no" >&6; }
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
1938 if test -n "$CC"; then
1939 ac_cv_prog_CC="$CC" # Let the user override the test.
1942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
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
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.
1970 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1976 if test -n "$CC"; then
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1978 $as_echo "$CC" >&6; }
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1981 $as_echo "no" >&6; }
1986 if test -z "$CC"; then
1987 if test -n "$ac_tool_prefix"; then
1988 for ac_prog in cl.exe
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
1997 if test -n "$CC"; then
1998 ac_cv_prog_CC="$CC" # Let the user override the test.
2000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2018 if test -n "$CC"; then
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2020 $as_echo "$CC" >&6; }
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2023 $as_echo "no" >&6; }
2027 test -n "$CC" && break
2030 if test -z "$CC"; then
2032 for ac_prog in cl.exe
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
2041 if test -n "$ac_ct_CC"; then
2042 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2067 $as_echo "no" >&6; }
2071 test -n "$ac_ct_CC" && break
2074 if test "x$ac_ct_CC" = x; then
2077 case $cross_compiling:$ac_tool_warned in
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 ;;
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; }
2095 # Provide some information about the compiler.
2096 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2099 for ac_option in --version -v -V -qversion; do
2100 { { ac_try="$ac_compiler $ac_option >&5"
2102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2103 *) ac_try_echo=$ac_try;;
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
2109 if test -s conftest.err; then
2111 ... rest of stderr output deleted ...
2112 10q' conftest.err >conftest.er1
2113 cat conftest.er1 >&5
2115 rm -f conftest.er1 conftest.err
2116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2117 test $ac_status = 0; }
2120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2121 /* end confdefs.h. */
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
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[^ ]*//'`
2140 # The possible output files:
2141 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2144 for ac_file in $ac_files
2147 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2148 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2153 if { { ac_try="$ac_link_default"
2155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2156 *) ac_try_echo=$ac_try;;
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
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
2169 for ac_file in $ac_files ''
2171 test -f "$ac_file" || continue
2173 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2176 # We found the default executable, but exeext='' is most
2180 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2182 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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
2194 test "$ac_cv_exeext" = no && ac_cv_exeext=
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
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; }; }
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2212 $as_echo "yes" >&6; }
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
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"
2226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2227 *) ac_try_echo=$ac_try;;
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
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
2239 for ac_file in conftest.exe conftest conftest.*; do
2240 test -f "$ac_file" || continue
2242 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2243 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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; }
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; }
2258 rm -f conftest.$ac_ext
2259 EXEEXT=$ac_cv_exeext
2261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2262 /* end confdefs.h. */
2267 FILE *f = fopen ("conftest.out", "w");
2268 return ferror (f) || fclose (f) != 0;
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"
2282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2283 *) ac_try_echo=$ac_try;;
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
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;;
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
2300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2301 test $ac_status = 0; }; }; then
2304 if test "$cross_compiling" = maybe; then
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; }
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2316 $as_echo "$cross_compiling" >&6; }
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
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2336 rm -f conftest.o conftest.obj
2337 if { { ac_try="$ac_compile"
2339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2340 *) ac_try_echo=$ac_try;;
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
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;
2351 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2352 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2357 $as_echo "$as_me: failed program was:" >&5
2358 sed 's/^/| /' conftest.$ac_ext >&5
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; }
2365 rm -f conftest.$ac_cv_objext conftest.$ac_ext
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
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
2376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2377 /* end confdefs.h. */
2390 if ac_fn_c_try_compile "$LINENO"; then :
2395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2396 ac_cv_c_compiler_gnu=$ac_compiler_gnu
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
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
2413 ac_save_c_werror_flag=$ac_c_werror_flag
2414 ac_c_werror_flag=yes
2417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2418 /* end confdefs.h. */
2428 if ac_fn_c_try_compile "$LINENO"; then :
2432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2433 /* end confdefs.h. */
2443 if ac_fn_c_try_compile "$LINENO"; then :
2446 ac_c_werror_flag=$ac_save_c_werror_flag
2448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2449 /* end confdefs.h. */
2459 if ac_fn_c_try_compile "$LINENO"; then :
2462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2467 ac_c_werror_flag=$ac_save_c_werror_flag
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
2480 if test "$GCC" = yes; then
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
2491 ac_cv_prog_cc_c89=no
2493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2494 /* end confdefs.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)
2508 static char *f (char * (*g) (char **, int), char **p, ...)
2513 s = g (p, va_arg (v,int));
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];
2527 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2528 inside strings and character constants. */
2530 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
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);
2541 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2546 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2547 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2549 CC="$ac_save_CC $ac_arg"
2550 if ac_fn_c_try_compile "$LINENO"; then :
2551 ac_cv_prog_cc_c89=$ac_arg
2553 rm -f core conftest.err conftest.$ac_objext
2554 test "x$ac_cv_prog_cc_c89" != "xno" && break
2556 rm -f conftest.$ac_ext
2561 case "x$ac_cv_prog_cc_c89" in
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2564 $as_echo "none needed" >&6; } ;;
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2567 $as_echo "unsupported" >&6; } ;;
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; } ;;
2573 if test "x$ac_cv_prog_cc_c89" != xno; then :
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
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
2593 ac_install_sh="$ac_aux_dir/$ac_t -c"
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
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.
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
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
2631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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[\\/]* | \
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
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.
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.
2658 rm -rf conftest.one conftest.two conftest.dir
2659 echo one > conftest.one
2660 echo two > conftest.two
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
2667 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2680 rm -rf conftest.one conftest.two conftest.dir
2683 if test "${ac_cv_path_install+set}" = set; then
2684 INSTALL=$ac_cv_path_install
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
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2694 $as_echo "$INSTALL" >&6; }
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}'
2700 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2702 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
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
2712 if test -n "$RANLIB"; then
2713 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2738 $as_echo "no" >&6; }
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
2752 if test -n "$ac_ct_RANLIB"; then
2753 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2778 $as_echo "no" >&6; }
2781 if test "x$ac_ct_RANLIB" = x; then
2784 case $cross_compiling:$ac_tool_warned in
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 ;;
2790 RANLIB=$ac_ct_RANLIB
2793 RANLIB="$ac_cv_prog_RANLIB"
2797 if test ! -f $exec_prefix/lib/tclConfig.sh
2799 as_fn_error "Tcl must be installed first" "$LINENO" 5
2802 . $exec_prefix/lib/tclConfig.sh
2804 if test ! -f $exec_prefix/lib/tclxConfig.sh
2806 as_fn_error "Extended Tcl must be installed first" "$LINENO" 5
2808 . $exec_prefix/lib/tclxConfig.sh
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 #--------------------------------------------------------------------
2817 # Check whether --with-tk was given.
2818 if test "${with_tk+set}" = set; then :
2827 if test -f $exec_prefix/lib/tkConfig.sh &&
2828 test -f $exec_prefix/lib/tkxConfig.sh
2832 as_fn_error "Tk does not appear to be installed at $exec_prefix" "$LINENO" 5
2836 *) as_fn_error "Tk cannot be specified and must be in $exec_prefix" "$LINENO" 5
2841 # Check whether --with-x was given.
2842 if test "${with_x+set}" = set; then :
2846 if test "$with_x" = "no"
2851 if test "$with_tk" != "no"
2854 . $exec_prefix/lib/tkConfig.sh
2855 . $exec_prefix/lib/tkxConfig.sh
2864 #--------------------------------------------------------------------
2865 # Read in configuration information generated by Tcl for shared
2866 # libraries, and arrange for it to be substituted into our
2868 #--------------------------------------------------------------------
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
2880 eval "NEO_SHARED_LIB_FILE=libldaptcl${TCL_SHARED_LIB_SUFFIX}"
2881 eval "NEO_UNSHARED_LIB_FILE=libldaptcl${TCL_UNSHARED_LIB_SUFFIX}"
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 #--------------------------------------------------------------------
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.
2891 # Check whether --enable-shared was given.
2892 if test "${enable_shared+set}" = set; then :
2893 enableval=$enable_shared; ok=$enableval
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}"
2905 eval "NEO_LIB_FILE=libldaptcl${TCL_UNSHARED_LIB_SUFFIX}"
2906 MAKE_LIB="ar cr ${NEO_LIB_FILE} \${OBJS}"
2910 # Check whether --with-ldap was given.
2911 if test "${with_ldap+set}" = set; then :
2912 withval=$with_ldap; neo_ldap=$withval
2914 yes) ldapdir=/usr/local
2930 ldapincdir=$ldapdir/include
2932 # Check whether --with-ldap-incdir was given.
2933 if test "${with_ldap_incdir+set}" = set; then :
2934 withval=$with_ldap_incdir; ldapincdir=$withval
2938 ldaplibdir=$ldapdir/lib
2940 # Check whether --with-ldap-libdir was given.
2941 if test "${with_ldap_libdir+set}" = set; then :
2942 withval=$with_ldap_libdir; ldaplibdir=$withval
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"
2951 ldaplibflags="-L$ldaplibdir -lldap -llber"
2955 ldapinclude="-I$ldapincdir"
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.
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}"
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 .`"
3014 ac_config_files="$ac_config_files Makefile pkgIndex.tcl"
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.
3023 # config.status only pays attention to the cache file if you give it
3024 # the --recheck option to rerun configure.
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
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.
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
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;} ;;
3047 _ | IFS | as_nl) ;; #(
3048 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3049 *) { eval $ac_var=; unset $ac_var;} ;;
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 \.
3061 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3064 # `set' quotes correctly as required by POSIX, so do not add quotes.
3065 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3074 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3076 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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
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;}
3091 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3092 # Let make expand exec_prefix.
3093 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3095 # Transform confdefs.h into DEFS.
3096 # Protect against shell expansion while executing Makefile rules.
3097 # Protect against Makefile macro expansion.
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.
3111 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3113 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3117 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3130 DEFS=`sed -n "$ac_script" confdefs.h`
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'
3146 LTLIBOBJS=$ac_ltlibobjs
3150 : ${CONFIG_STATUS=./config.status}
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;}
3157 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
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.
3168 SHELL=\${CONFIG_SHELL-$SHELL}
3171 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3172 ## -------------------- ##
3173 ## M4sh Initialization. ##
3174 ## -------------------- ##
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 :
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
3186 case `(set -o) 2>/dev/null` in #(
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'
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'
3216 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3217 as_echo_n_body='eval
3221 expr "X$arg" : "X\\(.*\\)$as_nl";
3222 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3224 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3226 export as_echo_n_body
3227 as_echo_n='sh -c $as_echo_n_body as_echo'
3230 as_echo='sh -c $as_echo_body as_echo'
3233 # The user is always right.
3234 if test "${PATH_SEPARATOR+set}" != set; then
3236 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3237 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
3250 # Find who we are. Look in the path if we contain no directory separator.
3252 *[\\/]* ) as_myself=$0 ;;
3253 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3257 test -z "$as_dir" && as_dir=.
3258 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
3269 if test ! -f "$as_myself"; then
3270 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
3293 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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.
3303 as_status=$?; test $as_status -eq 0 && as_status=1
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
3308 $as_echo "$as_me: error: $1" >&2
3309 as_fn_exit $as_status
3313 # as_fn_set_status STATUS
3314 # -----------------------
3315 # Set $? to STATUS, without forking.
3319 } # as_fn_set_status
3323 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3333 # Portably unset VAR.
3336 { eval $1=; unset $1;}
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
3345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3346 eval 'as_fn_append ()
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 ()
3370 as_val=`expr "$@" || test $? -eq 1`
3375 if expr a : '\(a\)' >/dev/null 2>&1 &&
3376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3383 as_basename=basename
3388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3394 as_me=`$as_basename -- "$0" ||
3395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3396 X"$0" : 'X\(//\)$' \| \
3397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3399 sed '/^.*\/\([^/][^/]*\)\/*$/{
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
3420 ECHO_C= ECHO_N= ECHO_T=
3421 case `echo -n x` in #(((((
3423 case `echo 'xy\c'` in
3424 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3426 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3433 rm -f conf$$ conf$$.exe conf$$.file
3434 if test -d conf$$.dir; then
3435 rm -f conf$$.dir/conf$$.file
3438 mkdir conf$$.dir 2>/dev/null
3440 if (echo >conf$$.file) 2>/dev/null; then
3441 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
3449 elif ln conf$$.file conf$$ 2>/dev/null; then
3457 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3458 rmdir conf$$.dir 2>/dev/null
3463 # Create "$as_dir" as a directory, including parents if necessary.
3468 -*) as_dir=./$as_dir;;
3470 test -d "$as_dir" || eval $as_mkdir_p || {
3474 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3475 *) as_qdir=$as_dir;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3501 test -d "$as_dir" && break
3503 test -z "$as_dirs" || eval "mkdir $as_dirs"
3504 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
3508 if mkdir -p . 2>/dev/null; then
3509 as_mkdir_p='mkdir -p "$as_dir"'
3511 test -d ./-p && rmdir ./-p
3515 if test -x / >/dev/null 2>&1; then
3518 if ls -dL / >/dev/null 2>&1; then
3525 if test -d "$1"; then
3531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3532 ???[sx]*):;;*)false;;esac;fi
3536 as_executable_p=$as_test_x
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'"
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'"
3546 ## ----------------------------------- ##
3547 ## Main body of $CONFIG_STATUS script. ##
3548 ## ----------------------------------- ##
3550 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
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.
3557 This file was extended by $as_me, which was
3558 generated by GNU Autoconf 2.65. Invocation command line was
3560 CONFIG_FILES = $CONFIG_FILES
3561 CONFIG_HEADERS = $CONFIG_HEADERS
3562 CONFIG_LINKS = $CONFIG_LINKS
3563 CONFIG_COMMANDS = $CONFIG_COMMANDS
3566 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3571 case $ac_config_files in *"
3572 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3578 # Files that config.status was made for.
3579 config_files="$ac_config_files"
3583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
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.
3589 Usage: $0 [OPTION]... [TAG]...
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
3601 Configuration files:
3604 Report bugs to the package provider."
3607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3608 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3611 configured by $0, generated by GNU Autoconf 2.65,
3612 with options \\"\$ac_cs_config\\"
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."
3621 test -n "\$AWK" || AWK=awk
3624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3625 # The default lists apply if the user does not specify any file.
3631 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3632 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3643 # Handling of the options.
3644 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
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 )
3652 --file | --fil | --fi | --f )
3655 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
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)
3666 -*) as_fn_error "unrecognized option: \`$1'
3667 Try \`$0 --help' for more information." ;;
3669 *) as_fn_append ac_config_targets " $1"
3670 ac_need_defaults=false ;;
3676 ac_configure_extra_args=
3678 if $ac_cs_silent; then
3680 ac_configure_extra_args="$ac_configure_extra_args --silent"
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
3688 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3689 CONFIG_SHELL='$SHELL'
3695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3699 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3700 ## Running $as_me. ##
3706 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3711 # Handling of arguments.
3712 for ac_config_target in $ac_config_targets
3714 case $ac_config_target in
3715 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3716 "pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES pkgIndex.tcl" ;;
3718 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
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
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'.
3740 trap 'exit_status=$?
3741 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3743 trap 'as_fn_exit 1' 1 2 13 15
3745 # Create a (secure) tmp directory for tmp files.
3748 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3749 test -n "$tmp" && test -d "$tmp"
3752 tmp=./conf$$-$RANDOM
3753 (umask 077 && mkdir "$tmp")
3754 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
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
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\'
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
3776 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3781 echo "cat >conf$$subs.awk <<_ACEOF" &&
3782 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3785 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3786 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
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
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
3795 elif $ac_last_try; then
3796 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3798 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3803 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3804 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3808 s/^/S["/; s/!.*/"]=/
3818 s/\(.\{148\}\)..*/\1/
3820 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3825 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3832 s/\(.\{148\}\)..*/\1/
3834 s/["\\]/\\&/g; s/^/"/; s/$/"/
3838 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3843 ' <conf$$subs.awk | sed '
3848 ' >>$CONFIG_STATUS || ac_write_fail=1
3849 rm -f conf$$subs.awk
3850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3852 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3853 for (key in S) S_is_set[key] = 1
3859 nfields = split(line, field, "@")
3861 len = length(field[1])
3862 for (i = 2; i < nfields; i++) {
3864 keylen = length(key)
3865 if (S_is_set[key]) {
3867 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3868 len += length(value) + length(field[++i])
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"
3884 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3885 || as_fn_error "could not setup config files machinery" "$LINENO" 5
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[ ]*=/{
3897 s/^\([^=]*=[ ]*\):*/\1/
3903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3904 fi # test -n "$CONFIG_FILES"
3907 eval set X " :F $CONFIG_FILES "
3912 :[FHLC]) ac_mode=$ac_tag; continue;;
3914 case $ac_mode$ac_tag in
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;;
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 `:'.
3942 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3944 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3946 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3947 as_fn_append ac_file_inputs " '$ac_f'"
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'
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;}
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;;
3970 *:-:* | *:-) cat >"$tmp/stdin" \
3971 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3999 as_dir="$ac_dir"; as_fn_mkdir_p
4003 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
4019 .) # We are building in place.
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 ;;
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 ;;
4032 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4042 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4043 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
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=
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;}
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' ;;
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
4085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
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
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
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;}
4114 -) cat "$tmp/out" && rm -f "$tmp/out";;
4115 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4117 || as_fn_error "could not create $ac_file" "$LINENO" 5
4129 ac_clean_files=$ac_clean_files_save
4131 test $ac_write_fail = 0 ||
4132 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
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
4145 ac_config_status_args=
4146 test "$silent" = yes &&
4147 ac_config_status_args="$ac_config_status_args --quiet"
4149 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
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 $?
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;}