3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
15 --enable-gcc allow use of gcc if available"
17 --enable-gcc allow use of gcc if available"
19 --with-tk=DIR use Tk 8.0 binaries from DIR"
21 --without-x do not build/install ldapwish"
23 --enable-shared build libldaptcl as a shared library"
25 --with-ldap=<dir> common parent of ldap include and lib dirs"
27 --with-ldap-incdir=<dir> path to ldap.h"
29 --with-ldap-libdir=<dir> path to ldap and lber libs"
31 --with-ldap-libflags=<libnames> -l flags for ldap libraries"
33 # Initialize some variables set by options.
34 # The variables have the same names as the options, with
35 # dashes changed to underlines.
37 cache_file=./config.cache
46 program_transform_name=s,x,x,
54 bindir='${exec_prefix}/bin'
55 sbindir='${exec_prefix}/sbin'
56 libexecdir='${exec_prefix}/libexec'
57 datadir='${prefix}/share'
58 sysconfdir='${prefix}/etc'
59 sharedstatedir='${prefix}/com'
60 localstatedir='${prefix}/var'
61 libdir='${exec_prefix}/lib'
62 includedir='${prefix}/include'
63 oldincludedir='/usr/include'
64 infodir='${prefix}/info'
65 mandir='${prefix}/man'
67 # Initialize some other variables.
70 SHELL=${CONFIG_SHELL-/bin/sh}
71 # Maximum number of lines to put in a shell here document.
78 # If the previous option needs an argument, assign it.
79 if test -n "$ac_prev"; then
80 eval "$ac_prev=\$ac_option"
86 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
90 # Accept the important Cygnus configure options, so we can diagnose typos.
94 -bindir | --bindir | --bindi | --bind | --bin | --bi)
96 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
97 bindir="$ac_optarg" ;;
99 -build | --build | --buil | --bui | --bu)
101 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
102 build="$ac_optarg" ;;
104 -cache-file | --cache-file | --cache-fil | --cache-fi \
105 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
106 ac_prev=cache_file ;;
107 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
108 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
109 cache_file="$ac_optarg" ;;
111 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
113 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
115 datadir="$ac_optarg" ;;
117 -disable-* | --disable-*)
118 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
119 # Reject names that are not valid shell variable names.
120 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
121 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
123 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
124 eval "enable_${ac_feature}=no" ;;
126 -enable-* | --enable-*)
127 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
128 # Reject names that are not valid shell variable names.
129 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
130 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
132 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
137 eval "enable_${ac_feature}='$ac_optarg'" ;;
139 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
140 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
141 | --exec | --exe | --ex)
142 ac_prev=exec_prefix ;;
143 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
144 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
145 | --exec=* | --exe=* | --ex=*)
146 exec_prefix="$ac_optarg" ;;
148 -gas | --gas | --ga | --g)
149 # Obsolete; use --with-gas.
152 -help | --help | --hel | --he)
153 # Omit some internal or obsolete options to make the list less imposing.
154 # This message is too long to be a string in the A/UX 3.1 sh.
156 Usage: configure [options] [host]
157 Options: [defaults in brackets after descriptions]
159 --cache-file=FILE cache test results in FILE
160 --help print this message
161 --no-create do not create output files
162 --quiet, --silent do not print \`checking...' messages
163 --version print the version of autoconf that created configure
164 Directory and file names:
165 --prefix=PREFIX install architecture-independent files in PREFIX
167 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
169 --bindir=DIR user executables in DIR [EPREFIX/bin]
170 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
171 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
172 --datadir=DIR read-only architecture-independent data in DIR
174 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
175 --sharedstatedir=DIR modifiable architecture-independent data in DIR
177 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
178 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
179 --includedir=DIR C header files in DIR [PREFIX/include]
180 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
181 --infodir=DIR info documentation in DIR [PREFIX/info]
182 --mandir=DIR man documentation in DIR [PREFIX/man]
183 --srcdir=DIR find the sources in DIR [configure dir or ..]
184 --program-prefix=PREFIX prepend PREFIX to installed program names
185 --program-suffix=SUFFIX append SUFFIX to installed program names
186 --program-transform-name=PROGRAM
187 run sed PROGRAM on installed program names
191 --build=BUILD configure for building on BUILD [BUILD=HOST]
192 --host=HOST configure for HOST [guessed]
193 --target=TARGET configure for TARGET [TARGET=HOST]
194 Features and packages:
195 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
196 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
197 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
198 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
199 --x-includes=DIR X include files are in DIR
200 --x-libraries=DIR X library files are in DIR
202 if test -n "$ac_help"; then
203 echo "--enable and --with options recognized:$ac_help"
207 -host | --host | --hos | --ho)
209 -host=* | --host=* | --hos=* | --ho=*)
212 -includedir | --includedir | --includedi | --included | --include \
213 | --includ | --inclu | --incl | --inc)
214 ac_prev=includedir ;;
215 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
216 | --includ=* | --inclu=* | --incl=* | --inc=*)
217 includedir="$ac_optarg" ;;
219 -infodir | --infodir | --infodi | --infod | --info | --inf)
221 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
222 infodir="$ac_optarg" ;;
224 -libdir | --libdir | --libdi | --libd)
226 -libdir=* | --libdir=* | --libdi=* | --libd=*)
227 libdir="$ac_optarg" ;;
229 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
230 | --libexe | --libex | --libe)
231 ac_prev=libexecdir ;;
232 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
233 | --libexe=* | --libex=* | --libe=*)
234 libexecdir="$ac_optarg" ;;
236 -localstatedir | --localstatedir | --localstatedi | --localstated \
237 | --localstate | --localstat | --localsta | --localst \
238 | --locals | --local | --loca | --loc | --lo)
239 ac_prev=localstatedir ;;
240 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
241 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
242 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
243 localstatedir="$ac_optarg" ;;
245 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
247 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
248 mandir="$ac_optarg" ;;
251 # Obsolete; use --without-fp.
254 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
258 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
259 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
262 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
263 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
264 | --oldin | --oldi | --old | --ol | --o)
265 ac_prev=oldincludedir ;;
266 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
267 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
268 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
269 oldincludedir="$ac_optarg" ;;
271 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
273 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
274 prefix="$ac_optarg" ;;
276 -program-prefix | --program-prefix | --program-prefi | --program-pref \
277 | --program-pre | --program-pr | --program-p)
278 ac_prev=program_prefix ;;
279 -program-prefix=* | --program-prefix=* | --program-prefi=* \
280 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
281 program_prefix="$ac_optarg" ;;
283 -program-suffix | --program-suffix | --program-suffi | --program-suff \
284 | --program-suf | --program-su | --program-s)
285 ac_prev=program_suffix ;;
286 -program-suffix=* | --program-suffix=* | --program-suffi=* \
287 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
288 program_suffix="$ac_optarg" ;;
290 -program-transform-name | --program-transform-name \
291 | --program-transform-nam | --program-transform-na \
292 | --program-transform-n | --program-transform- \
293 | --program-transform | --program-transfor \
294 | --program-transfo | --program-transf \
295 | --program-trans | --program-tran \
296 | --progr-tra | --program-tr | --program-t)
297 ac_prev=program_transform_name ;;
298 -program-transform-name=* | --program-transform-name=* \
299 | --program-transform-nam=* | --program-transform-na=* \
300 | --program-transform-n=* | --program-transform-=* \
301 | --program-transform=* | --program-transfor=* \
302 | --program-transfo=* | --program-transf=* \
303 | --program-trans=* | --program-tran=* \
304 | --progr-tra=* | --program-tr=* | --program-t=*)
305 program_transform_name="$ac_optarg" ;;
307 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
308 | -silent | --silent | --silen | --sile | --sil)
311 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
313 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
315 sbindir="$ac_optarg" ;;
317 -sharedstatedir | --sharedstatedir | --sharedstatedi \
318 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
319 | --sharedst | --shareds | --shared | --share | --shar \
321 ac_prev=sharedstatedir ;;
322 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
323 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
324 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
326 sharedstatedir="$ac_optarg" ;;
328 -site | --site | --sit)
330 -site=* | --site=* | --sit=*)
333 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
335 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
336 srcdir="$ac_optarg" ;;
338 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
339 | --syscon | --sysco | --sysc | --sys | --sy)
340 ac_prev=sysconfdir ;;
341 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
342 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
343 sysconfdir="$ac_optarg" ;;
345 -target | --target | --targe | --targ | --tar | --ta | --t)
347 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
348 target="$ac_optarg" ;;
350 -v | -verbose | --verbose | --verbos | --verbo | --verb)
353 -version | --version | --versio | --versi | --vers)
354 echo "configure generated by autoconf version 2.13"
358 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
359 # Reject names that are not valid shell variable names.
360 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
361 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
363 ac_package=`echo $ac_package| sed 's/-/_/g'`
368 eval "with_${ac_package}='$ac_optarg'" ;;
370 -without-* | --without-*)
371 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
372 # Reject names that are not valid shell variable names.
373 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
374 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
376 ac_package=`echo $ac_package| sed 's/-/_/g'`
377 eval "with_${ac_package}=no" ;;
380 # Obsolete; use --with-x.
383 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
384 | --x-incl | --x-inc | --x-in | --x-i)
385 ac_prev=x_includes ;;
386 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
387 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
388 x_includes="$ac_optarg" ;;
390 -x-libraries | --x-libraries | --x-librarie | --x-librari \
391 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
392 ac_prev=x_libraries ;;
393 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
394 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
395 x_libraries="$ac_optarg" ;;
397 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
401 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
402 echo "configure: warning: $ac_option: invalid host type" 1>&2
404 if test "x$nonopt" != xNONE; then
405 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
413 if test -n "$ac_prev"; then
414 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
417 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
419 # File descriptor usage:
422 # 2 errors and warnings
423 # 3 some systems may open it to /dev/tty
424 # 4 used on the Kubota Titan
425 # 6 checking for... messages and results
426 # 5 compiler messages saved in config.log
427 if test "$silent" = yes; then
435 This file contains any messages produced by compilers while
436 running configure, to aid debugging if configure makes a mistake.
439 # Strip out --no-create and --no-recursion so they do not pile up.
440 # Also quote any args containing shell metacharacters.
445 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
446 | --no-cr | --no-c) ;;
447 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
448 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
449 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
450 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
451 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
456 # Only set these to C if already set. These must not be set unconditionally
457 # because not all systems understand e.g. LANG=C (notably SCO).
458 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
459 # Non-C LC_CTYPE values break the ctype check.
460 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
461 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
462 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
463 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
465 # confdefs.h avoids OS command line length limits that DEFS can exceed.
466 rm -rf conftest* confdefs.h
467 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
470 # A filename unique to this package, relative to the directory that
471 # configure is in, which we can look for to find out if srcdir is correct.
472 ac_unique_file=neoXldap.c
474 # Find the source files, if location was not specified.
475 if test -z "$srcdir"; then
476 ac_srcdir_defaulted=yes
477 # Try the directory containing this script, then its parent.
479 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
480 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
482 if test ! -r $srcdir/$ac_unique_file; then
486 ac_srcdir_defaulted=no
488 if test ! -r $srcdir/$ac_unique_file; then
489 if test "$ac_srcdir_defaulted" = yes; then
490 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
492 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
495 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
497 # Prefer explicitly selected file to automatically selected ones.
498 if test -z "$CONFIG_SITE"; then
499 if test "x$prefix" != xNONE; then
500 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
502 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
505 for ac_site_file in $CONFIG_SITE; do
506 if test -r "$ac_site_file"; then
507 echo "loading site script $ac_site_file"
512 if test -r "$cache_file"; then
513 echo "loading cache $cache_file"
516 echo "creating cache $cache_file"
521 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
522 ac_cpp='$CPP $CPPFLAGS'
523 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
524 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
525 cross_compiling=$ac_cv_prog_cc_cross
529 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
530 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
531 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
538 ac_n= ac_c='\c' ac_t=
542 # $Id: configure,v 1.3 1999/08/03 05:23:03 kunkee Exp $
547 VERSION=${NEO_VERSION}
549 if test "${prefix}" = "NONE"; then
552 if test "${exec_prefix}" = "NONE"; then
556 # Check whether --enable-gcc or --disable-gcc was given.
557 if test "${enable_gcc+set}" = set; then
558 enableval="$enable_gcc"
564 if test "$neo_ok" = "yes"; then
565 # Extract the first word of "gcc", so it can be a program name with args.
566 set dummy gcc; ac_word=$2
567 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
568 echo "configure:569: checking for $ac_word" >&5
569 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
570 echo $ac_n "(cached) $ac_c" 1>&6
572 if test -n "$CC"; then
573 ac_cv_prog_CC="$CC" # Let the user override the test.
575 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
577 for ac_dir in $ac_dummy; do
578 test -z "$ac_dir" && ac_dir=.
579 if test -f $ac_dir/$ac_word; then
588 if test -n "$CC"; then
589 echo "$ac_t""$CC" 1>&6
591 echo "$ac_t""no" 1>&6
594 if test -z "$CC"; then
595 # Extract the first word of "cc", so it can be a program name with args.
596 set dummy cc; ac_word=$2
597 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
598 echo "configure:599: checking for $ac_word" >&5
599 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
600 echo $ac_n "(cached) $ac_c" 1>&6
602 if test -n "$CC"; then
603 ac_cv_prog_CC="$CC" # Let the user override the test.
605 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
608 for ac_dir in $ac_dummy; do
609 test -z "$ac_dir" && ac_dir=.
610 if test -f $ac_dir/$ac_word; then
611 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
620 if test $ac_prog_rejected = yes; then
621 # We found a bogon in the path, so make sure we never use it.
622 set dummy $ac_cv_prog_CC
624 if test $# -gt 0; then
625 # We chose a different compiler from the bogus one.
626 # However, it has the same basename, so the bogon will be chosen
627 # first if we set CC to just the basename; use the full file name.
629 set dummy "$ac_dir/$ac_word" "$@"
637 if test -n "$CC"; then
638 echo "$ac_t""$CC" 1>&6
640 echo "$ac_t""no" 1>&6
643 if test -z "$CC"; then
646 # Extract the first word of "cl", so it can be a program name with args.
647 set dummy cl; ac_word=$2
648 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
649 echo "configure:650: checking for $ac_word" >&5
650 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
651 echo $ac_n "(cached) $ac_c" 1>&6
653 if test -n "$CC"; then
654 ac_cv_prog_CC="$CC" # Let the user override the test.
656 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
658 for ac_dir in $ac_dummy; do
659 test -z "$ac_dir" && ac_dir=.
660 if test -f $ac_dir/$ac_word; then
669 if test -n "$CC"; then
670 echo "$ac_t""$CC" 1>&6
672 echo "$ac_t""no" 1>&6
677 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
680 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
681 echo "configure:682: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
684 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
685 ac_cpp='$CPP $CPPFLAGS'
686 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
687 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
688 cross_compiling=$ac_cv_prog_cc_cross
690 cat > conftest.$ac_ext << EOF
692 #line 693 "configure"
693 #include "confdefs.h"
697 if { (eval echo configure:698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
698 ac_cv_prog_cc_works=yes
699 # If we can't run a trivial program, we are probably using a cross compiler.
700 if (./conftest; exit) 2>/dev/null; then
701 ac_cv_prog_cc_cross=no
703 ac_cv_prog_cc_cross=yes
706 echo "configure: failed program was:" >&5
707 cat conftest.$ac_ext >&5
708 ac_cv_prog_cc_works=no
712 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
713 ac_cpp='$CPP $CPPFLAGS'
714 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
715 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
716 cross_compiling=$ac_cv_prog_cc_cross
718 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
719 if test $ac_cv_prog_cc_works = no; then
720 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
722 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
723 echo "configure:724: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
724 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
725 cross_compiling=$ac_cv_prog_cc_cross
727 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
728 echo "configure:729: checking whether we are using GNU C" >&5
729 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
730 echo $ac_n "(cached) $ac_c" 1>&6
732 cat > conftest.c <<EOF
737 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
744 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
746 if test $ac_cv_prog_gcc = yes; then
752 ac_test_CFLAGS="${CFLAGS+set}"
753 ac_save_CFLAGS="$CFLAGS"
755 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
756 echo "configure:757: checking whether ${CC-cc} accepts -g" >&5
757 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
758 echo $ac_n "(cached) $ac_c" 1>&6
760 echo 'void f(){}' > conftest.c
761 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
770 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
771 if test "$ac_test_CFLAGS" = set; then
772 CFLAGS="$ac_save_CFLAGS"
773 elif test $ac_cv_prog_cc_g = yes; then
774 if test "$GCC" = yes; then
780 if test "$GCC" = yes; then
791 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
792 echo "configure:793: checking how to run the C preprocessor" >&5
793 # On Suns, sometimes $CPP names a directory.
794 if test -n "$CPP" && test -d "$CPP"; then
797 if test -z "$CPP"; then
798 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
799 echo $ac_n "(cached) $ac_c" 1>&6
801 # This must be in double quotes, not single quotes, because CPP may get
802 # substituted into the Makefile and "${CC-cc}" will confuse make.
804 # On the NeXT, cc -E runs the code through the compiler's parser,
805 # not just through cpp.
806 cat > conftest.$ac_ext <<EOF
807 #line 808 "configure"
808 #include "confdefs.h"
812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
813 { (eval echo configure:814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
814 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
815 if test -z "$ac_err"; then
819 echo "configure: failed program was:" >&5
820 cat conftest.$ac_ext >&5
822 CPP="${CC-cc} -E -traditional-cpp"
823 cat > conftest.$ac_ext <<EOF
824 #line 825 "configure"
825 #include "confdefs.h"
829 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
830 { (eval echo configure:831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
831 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
832 if test -z "$ac_err"; then
836 echo "configure: failed program was:" >&5
837 cat conftest.$ac_ext >&5
839 CPP="${CC-cc} -nologo -E"
840 cat > conftest.$ac_ext <<EOF
841 #line 842 "configure"
842 #include "confdefs.h"
846 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
847 { (eval echo configure:848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
848 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
849 if test -z "$ac_err"; then
853 echo "configure: failed program was:" >&5
854 cat conftest.$ac_ext >&5
863 ac_cv_prog_CPP="$CPP"
865 CPP="$ac_cv_prog_CPP"
867 ac_cv_prog_CPP="$CPP"
869 echo "$ac_t""$CPP" 1>&6
872 # Check whether --enable-gcc or --disable-gcc was given.
873 if test "${enable_gcc+set}" = set; then
874 enableval="$enable_gcc"
880 if test "$neo_ok" = "yes"; then
881 # Extract the first word of "gcc", so it can be a program name with args.
882 set dummy gcc; ac_word=$2
883 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
884 echo "configure:885: checking for $ac_word" >&5
885 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
886 echo $ac_n "(cached) $ac_c" 1>&6
888 if test -n "$CC"; then
889 ac_cv_prog_CC="$CC" # Let the user override the test.
891 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
893 for ac_dir in $ac_dummy; do
894 test -z "$ac_dir" && ac_dir=.
895 if test -f $ac_dir/$ac_word; then
904 if test -n "$CC"; then
905 echo "$ac_t""$CC" 1>&6
907 echo "$ac_t""no" 1>&6
910 if test -z "$CC"; then
911 # Extract the first word of "cc", so it can be a program name with args.
912 set dummy cc; ac_word=$2
913 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
914 echo "configure:915: checking for $ac_word" >&5
915 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
916 echo $ac_n "(cached) $ac_c" 1>&6
918 if test -n "$CC"; then
919 ac_cv_prog_CC="$CC" # Let the user override the test.
921 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
924 for ac_dir in $ac_dummy; do
925 test -z "$ac_dir" && ac_dir=.
926 if test -f $ac_dir/$ac_word; then
927 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
936 if test $ac_prog_rejected = yes; then
937 # We found a bogon in the path, so make sure we never use it.
938 set dummy $ac_cv_prog_CC
940 if test $# -gt 0; then
941 # We chose a different compiler from the bogus one.
942 # However, it has the same basename, so the bogon will be chosen
943 # first if we set CC to just the basename; use the full file name.
945 set dummy "$ac_dir/$ac_word" "$@"
953 if test -n "$CC"; then
954 echo "$ac_t""$CC" 1>&6
956 echo "$ac_t""no" 1>&6
959 if test -z "$CC"; then
962 # Extract the first word of "cl", so it can be a program name with args.
963 set dummy cl; ac_word=$2
964 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
965 echo "configure:966: checking for $ac_word" >&5
966 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
967 echo $ac_n "(cached) $ac_c" 1>&6
969 if test -n "$CC"; then
970 ac_cv_prog_CC="$CC" # Let the user override the test.
972 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
974 for ac_dir in $ac_dummy; do
975 test -z "$ac_dir" && ac_dir=.
976 if test -f $ac_dir/$ac_word; then
985 if test -n "$CC"; then
986 echo "$ac_t""$CC" 1>&6
988 echo "$ac_t""no" 1>&6
993 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
996 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
997 echo "configure:998: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1000 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1001 ac_cpp='$CPP $CPPFLAGS'
1002 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1003 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1004 cross_compiling=$ac_cv_prog_cc_cross
1006 cat > conftest.$ac_ext << EOF
1008 #line 1009 "configure"
1009 #include "confdefs.h"
1013 if { (eval echo configure:1014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1014 ac_cv_prog_cc_works=yes
1015 # If we can't run a trivial program, we are probably using a cross compiler.
1016 if (./conftest; exit) 2>/dev/null; then
1017 ac_cv_prog_cc_cross=no
1019 ac_cv_prog_cc_cross=yes
1022 echo "configure: failed program was:" >&5
1023 cat conftest.$ac_ext >&5
1024 ac_cv_prog_cc_works=no
1028 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1029 ac_cpp='$CPP $CPPFLAGS'
1030 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1031 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1032 cross_compiling=$ac_cv_prog_cc_cross
1034 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1035 if test $ac_cv_prog_cc_works = no; then
1036 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1038 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1039 echo "configure:1040: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1040 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1041 cross_compiling=$ac_cv_prog_cc_cross
1043 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1044 echo "configure:1045: checking whether we are using GNU C" >&5
1045 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1046 echo $ac_n "(cached) $ac_c" 1>&6
1048 cat > conftest.c <<EOF
1053 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1060 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1062 if test $ac_cv_prog_gcc = yes; then
1068 ac_test_CFLAGS="${CFLAGS+set}"
1069 ac_save_CFLAGS="$CFLAGS"
1071 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1072 echo "configure:1073: checking whether ${CC-cc} accepts -g" >&5
1073 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1074 echo $ac_n "(cached) $ac_c" 1>&6
1076 echo 'void f(){}' > conftest.c
1077 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1086 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1087 if test "$ac_test_CFLAGS" = set; then
1088 CFLAGS="$ac_save_CFLAGS"
1089 elif test $ac_cv_prog_cc_g = yes; then
1090 if test "$GCC" = yes; then
1096 if test "$GCC" = yes; then
1109 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1110 if test -f $ac_dir/install-sh; then
1112 ac_install_sh="$ac_aux_dir/install-sh -c"
1114 elif test -f $ac_dir/install.sh; then
1116 ac_install_sh="$ac_aux_dir/install.sh -c"
1120 if test -z "$ac_aux_dir"; then
1121 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
1123 ac_config_guess=$ac_aux_dir/config.guess
1124 ac_config_sub=$ac_aux_dir/config.sub
1125 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
1127 # Find a good install program. We prefer a C program (faster),
1128 # so one script is as good as another. But avoid the broken or
1129 # incompatible versions:
1130 # SysV /etc/install, /usr/sbin/install
1131 # SunOS /usr/etc/install
1132 # IRIX /sbin/install
1134 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1135 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1136 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1137 # ./install, which can be erroneously created by make from ./install.sh.
1138 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1139 echo "configure:1140: checking for a BSD compatible install" >&5
1140 if test -z "$INSTALL"; then
1141 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1142 echo $ac_n "(cached) $ac_c" 1>&6
1144 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1145 for ac_dir in $PATH; do
1146 # Account for people who put trailing slashes in PATH elements.
1148 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1150 # OSF1 and SCO ODT 3.0 have their own names for install.
1151 # Don't use installbsd from OSF since it installs stuff as root
1153 for ac_prog in ginstall scoinst install; do
1154 if test -f $ac_dir/$ac_prog; then
1155 if test $ac_prog = install &&
1156 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1157 # AIX install. It has an incompatible calling convention.
1160 ac_cv_path_install="$ac_dir/$ac_prog -c"
1171 if test "${ac_cv_path_install+set}" = set; then
1172 INSTALL="$ac_cv_path_install"
1174 # As a last resort, use the slow shell script. We don't cache a
1175 # path for INSTALL within a source directory, because that will
1176 # break other packages using the cache if that directory is
1177 # removed, or if the path is relative.
1178 INSTALL="$ac_install_sh"
1181 echo "$ac_t""$INSTALL" 1>&6
1183 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1184 # It thinks the first close brace ends the variable substitution.
1185 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1187 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1189 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1191 # Extract the first word of "ranlib", so it can be a program name with args.
1192 set dummy ranlib; ac_word=$2
1193 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1194 echo "configure:1195: checking for $ac_word" >&5
1195 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1196 echo $ac_n "(cached) $ac_c" 1>&6
1198 if test -n "$RANLIB"; then
1199 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1201 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1203 for ac_dir in $ac_dummy; do
1204 test -z "$ac_dir" && ac_dir=.
1205 if test -f $ac_dir/$ac_word; then
1206 ac_cv_prog_RANLIB="ranlib"
1211 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1214 RANLIB="$ac_cv_prog_RANLIB"
1215 if test -n "$RANLIB"; then
1216 echo "$ac_t""$RANLIB" 1>&6
1218 echo "$ac_t""no" 1>&6
1222 if test ! -f $exec_prefix/lib/tclConfig.sh
1224 { echo "configure: error: Tcl must be installed first" 1>&2; exit 1; }
1227 . $exec_prefix/lib/tclConfig.sh
1229 if test ! -f $exec_prefix/lib/tclxConfig.sh
1231 { echo "configure: error: Extended Tcl must be installed first" 1>&2; exit 1; }
1233 . $exec_prefix/lib/tclxConfig.sh
1236 #--------------------------------------------------------------------
1237 # See if there was a command-line option for where Tk is; if
1238 # not, assume that its top-level directory is a sibling of ours.
1239 #--------------------------------------------------------------------
1241 # Check whether --with-tk or --without-tk was given.
1242 if test "${with_tk+set}" = set; then
1252 if test -f $exec_prefix/lib/tkConfig.sh -a $exec_prefix/lib/tkxConfig.sh
1256 { echo "configure: error: Tk does not appear to be installed at $exec_prefix" 1>&2; exit 1; }
1260 *) { echo "configure: error: Tk cannot be specified and must be in $exec_prefix" 1>&2; exit 1; }
1264 # Check whether --with-x or --without-x was given.
1265 if test "${with_x+set}" = set; then
1270 if test "$with_x" = "no"
1275 if test "$with_tk" != "no"
1278 . $exec_prefix/lib/tkConfig.sh
1279 . $exec_prefix/lib/tkxConfig.sh
1288 #--------------------------------------------------------------------
1289 # Read in configuration information generated by Tcl for shared
1290 # libraries, and arrange for it to be substituted into our
1292 #--------------------------------------------------------------------
1295 SHLIB_CFLAGS=$TCL_SHLIB_CFLAGS
1296 SHLIB_LD=$TCL_SHLIB_LD
1297 SHLIB_LD_LIBS=$TCL_SHLIB_LD_LIBS
1298 SHLIB_SUFFIX=$TCL_SHLIB_SUFFIX
1299 SHLIB_VERSION=$TCL_SHLIB_VERSION
1300 DL_LIBS=$TCL_DL_LIBS
1301 LD_FLAGS=$TCL_LD_FLAGS
1302 NEO_LD_SEARCH_FLAGS=$TCL_LD_SEARCH_FLAGS
1304 eval "NEO_SHARED_LIB_FILE=libldaptcl${TCL_SHARED_LIB_SUFFIX}"
1305 eval "NEO_UNSHARED_LIB_FILE=libldaptcl${TCL_UNSHARED_LIB_SUFFIX}"
1307 #--------------------------------------------------------------------
1308 # The statements below define a collection of symbols related to
1309 # building libldap as a shared library instead of a static library.
1310 #--------------------------------------------------------------------
1312 # Warning: in order to use the following code for libldap and libdb versions,
1313 # the VERSION shell variable is modified, and then is restored after.
1315 # Check whether --enable-shared or --disable-shared was given.
1316 if test "${enable_shared+set}" = set; then
1317 enableval="$enable_shared"
1323 if test "$ok" = "yes" -a "${SHLIB_SUFFIX}" != ""; then
1324 NEO_SHLIB_CFLAGS="${SHLIB_CFLAGS}"
1325 eval "NEO_LIB_FILE=libldaptcl${TCL_SHARED_LIB_SUFFIX}"
1326 MAKE_LIB="\${SHLIB_LD} $TCL_LIB_HNAME -o ${NEO_LIB_FILE} \${OBJS} \${LDAP_LIBFLAGS}"
1330 eval "NEO_LIB_FILE=libldaptcl${TCL_UNSHARED_LIB_SUFFIX}"
1331 MAKE_LIB="ar cr ${NEO_LIB_FILE} \${OBJS}"
1334 # Check whether --with-ldap or --without-ldap was given.
1335 if test "${with_ldap+set}" = set; then
1336 withval="$with_ldap"
1339 yes) ldapdir=/usr/local
1355 ldapincdir=$ldapdir/include
1356 # Check whether --with-ldap-incdir or --without-ldap-incdir was given.
1357 if test "${with_ldap_incdir+set}" = set; then
1358 withval="$with_ldap_incdir"
1363 ldaplibdir=$ldapdir/lib
1364 # Check whether --with-ldap-libdir or --without-ldap-libdir was given.
1365 if test "${with_ldap_libdir+set}" = set; then
1366 withval="$with_ldap_libdir"
1371 # Check whether --with-ldap-libraries or --without-ldap-libraries was given.
1372 if test "${with_ldap_libraries+set}" = set; then
1373 withval="$with_ldap_libraries"
1374 ldaplibflags="-L$ldaplibdir $withval"
1376 ldaplibflags="-L$ldaplibdir -lldap -llber"
1380 ldapinclude="-I$ldapincdir"
1391 VERSION=${NEO_VERSION}
1392 # Note: in the following variable, it's important to use the absolute
1393 # path name of the Tcl directory rather than "..": this is because
1394 # AIX remembers this path and will attempt to use it at run-time to look
1395 # up the Tcl library.
1397 if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
1398 NEO_BUILD_LIB_SPEC="-L`pwd` -lldaptcl${VERSION}"
1399 NEO_LIB_SPEC="-L${exec_prefix}/lib -lldaptcl${VERSION}"
1401 NEO_BUILD_LIB_SPEC="-L`pwd` -lldaptcl`echo ${VERSION} | tr -d .`"
1402 NEO_LIB_SPEC="-L${exec_prefix}/lib -lldaptcl`echo ${VERSION} | tr -d .`"
1440 cat > confcache <<\EOF
1441 # This file is a shell script that caches the results of configure
1442 # tests run on this system so they can be shared between configure
1443 # scripts and configure runs. It is not useful on other systems.
1444 # If it contains results you don't want to keep, you may remove or edit it.
1446 # By default, configure uses ./config.cache as the cache file,
1447 # creating it if it does not exist already. You can give configure
1448 # the --cache-file=FILE option to use a different cache file; that is
1449 # what configure does when it calls configure scripts in
1450 # subdirectories, so they share the cache.
1451 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1452 # config.status only pays attention to the cache file if you give it the
1453 # --recheck option to rerun configure.
1456 # The following way of writing the cache mishandles newlines in values,
1457 # but we know of no workaround that is simple, portable, and efficient.
1458 # So, don't put newlines in cache variables' values.
1459 # Ultrix sh set writes to stderr and can't be redirected directly,
1460 # and sets the high bit in the cache file unless we assign to the vars.
1462 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1464 # `set' does not quote correctly, so add quotes (double-quote substitution
1465 # turns \\\\ into \\, and sed turns \\ into \).
1467 -e "s/'/'\\\\''/g" \
1468 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1471 # `set' quotes correctly as required by POSIX, so do not add quotes.
1472 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1475 if cmp -s $cache_file confcache; then
1478 if test -w $cache_file; then
1479 echo "updating cache $cache_file"
1480 cat confcache > $cache_file
1482 echo "not updating unwritable cache $cache_file"
1487 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1489 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1490 # Let make expand exec_prefix.
1491 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1493 # Any assignment to VPATH causes Sun make to only execute
1494 # the first set of double-colon rules, so remove it if not needed.
1495 # If there is a colon in the path, we need to keep it.
1496 if test "x$srcdir" = x.; then
1497 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1500 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1502 # Transform confdefs.h into DEFS.
1503 # Protect against shell expansion while executing Makefile rules.
1504 # Protect against Makefile macro expansion.
1505 cat > conftest.defs <<\EOF
1506 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1507 s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1512 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1516 # Without the "./", some shells look in PATH for config.status.
1517 : ${CONFIG_STATUS=./config.status}
1519 echo creating $CONFIG_STATUS
1520 rm -f $CONFIG_STATUS
1521 cat > $CONFIG_STATUS <<EOF
1523 # Generated automatically by configure.
1524 # Run this file to recreate the current configuration.
1525 # This directory was configured as follows,
1526 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1528 # $0 $ac_configure_args
1530 # Compiler output produced by configure, useful for debugging
1531 # configure, is in ./config.log if it exists.
1533 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1536 case "\$ac_option" in
1537 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1538 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1539 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1540 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1541 echo "$CONFIG_STATUS generated by autoconf version 2.13"
1543 -help | --help | --hel | --he | --h)
1544 echo "\$ac_cs_usage"; exit 0 ;;
1545 *) echo "\$ac_cs_usage"; exit 1 ;;
1549 ac_given_srcdir=$srcdir
1550 ac_given_INSTALL="$INSTALL"
1552 trap 'rm -fr `echo "Makefile pkgIndex.tcl" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1554 cat >> $CONFIG_STATUS <<EOF
1556 # Protect against being on the right side of a sed subst in config.status.
1557 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1558 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1562 s%@CFLAGS@%$CFLAGS%g
1563 s%@CPPFLAGS@%$CPPFLAGS%g
1564 s%@CXXFLAGS@%$CXXFLAGS%g
1565 s%@FFLAGS@%$FFLAGS%g
1567 s%@LDFLAGS@%$LDFLAGS%g
1569 s%@exec_prefix@%$exec_prefix%g
1570 s%@prefix@%$prefix%g
1571 s%@program_transform_name@%$program_transform_name%g
1572 s%@bindir@%$bindir%g
1573 s%@sbindir@%$sbindir%g
1574 s%@libexecdir@%$libexecdir%g
1575 s%@datadir@%$datadir%g
1576 s%@sysconfdir@%$sysconfdir%g
1577 s%@sharedstatedir@%$sharedstatedir%g
1578 s%@localstatedir@%$localstatedir%g
1579 s%@libdir@%$libdir%g
1580 s%@includedir@%$includedir%g
1581 s%@oldincludedir@%$oldincludedir%g
1582 s%@infodir@%$infodir%g
1583 s%@mandir@%$mandir%g
1586 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1587 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1588 s%@INSTALL_DATA@%$INSTALL_DATA%g
1589 s%@RANLIB@%$RANLIB%g
1590 s%@TK_LIBS@%$TK_LIBS%g
1591 s%@TK_LIB_SPEC@%$TK_LIB_SPEC%g
1592 s%@TK_XINCLUDES@%$TK_XINCLUDES%g
1593 s%@TK_VERSION@%$TK_VERSION%g
1594 s%@TKX_LIB_SPEC@%$TKX_LIB_SPEC%g
1595 s%@LDAPWISH@%$LDAPWISH%g
1596 s%@ldaplibflags@%$ldaplibflags%g
1597 s%@ldapinclude@%$ldapinclude%g
1598 s%@ldapbuild@%$ldapbuild%g
1599 s%@ldapdir@%$ldapdir%g
1600 s%@ldapincdir@%$ldapincdir%g
1601 s%@DL_LIBS@%$DL_LIBS%g
1602 s%@LD_FLAGS@%$LD_FLAGS%g
1603 s%@MATH_LIBS@%$MATH_LIBS%g
1604 s%@MAKE_LIB@%$MAKE_LIB%g
1605 s%@SHLIB_CFLAGS@%$SHLIB_CFLAGS%g
1606 s%@SHLIB_LD@%$SHLIB_LD%g
1607 s%@SHLIB_LD_LIBS@%$SHLIB_LD_LIBS%g
1608 s%@SHLIB_SUFFIX@%$SHLIB_SUFFIX%g
1609 s%@SHLIB_VERSION@%$SHLIB_VERSION%g
1610 s%@TCLX_TOP_DIR@%$TCLX_TOP_DIR%g
1611 s%@TCLX_TCL_DIR@%$TCLX_TCL_DIR%g
1612 s%@TCLX_LIB_SPEC@%$TCLX_LIB_SPEC%g
1613 s%@ITCL_LIB_SPEC@%$ITCL_LIB_SPEC%g
1614 s%@TCL_LIBS@%$TCL_LIBS%g
1615 s%@TCL_SRC_DIR@%$TCL_SRC_DIR%g
1616 s%@TCL_BIN_DIR@%$TCL_BIN_DIR%g
1617 s%@TCL_LIB_SPEC@%$TCL_LIB_SPEC%g
1618 s%@TCL_LD_SEARCH_FLAGS@%$TCL_LD_SEARCH_FLAGS%g
1619 s%@TCL_LIB_HNAME@%$TCL_LIB_HNAME%g
1620 s%@TCL_VERSION@%$TCL_VERSION%g
1621 s%@NEO_BUILD_LIB_SPEC@%$NEO_BUILD_LIB_SPEC%g
1622 s%@NEO_LD_SEARCH_FLAGS@%$NEO_LD_SEARCH_FLAGS%g
1623 s%@NEO_SHARED_LIB_FILE@%$NEO_SHARED_LIB_FILE%g
1624 s%@NEO_UNSHARED_LIB_FILE@%$NEO_UNSHARED_LIB_FILE%g
1625 s%@NEO_LIB_FILE@%$NEO_LIB_FILE%g
1626 s%@NEO_LIB_SPEC@%$NEO_LIB_SPEC%g
1627 s%@NEO_MAJOR_VERSION@%$NEO_MAJOR_VERSION%g
1628 s%@NEO_MINOR_VERSION@%$NEO_MINOR_VERSION%g
1629 s%@NEO_SHLIB_CFLAGS@%$NEO_SHLIB_CFLAGS%g
1630 s%@NEO_VERSION@%$NEO_VERSION%g
1635 cat >> $CONFIG_STATUS <<\EOF
1637 # Split the substitutions into bite-sized pieces for seds with
1638 # small command number limits, like on Digital OSF/1 and HP-UX.
1639 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1640 ac_file=1 # Number of current file.
1641 ac_beg=1 # First line for current file.
1642 ac_end=$ac_max_sed_cmds # Line after last line for current file.
1645 while $ac_more_lines; do
1646 if test $ac_beg -gt 1; then
1647 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1649 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1651 if test ! -s conftest.s$ac_file; then
1653 rm -f conftest.s$ac_file
1655 if test -z "$ac_sed_cmds"; then
1656 ac_sed_cmds="sed -f conftest.s$ac_file"
1658 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1660 ac_file=`expr $ac_file + 1`
1662 ac_end=`expr $ac_end + $ac_max_sed_cmds`
1665 if test -z "$ac_sed_cmds"; then
1670 cat >> $CONFIG_STATUS <<EOF
1672 CONFIG_FILES=\${CONFIG_FILES-"Makefile pkgIndex.tcl"}
1674 cat >> $CONFIG_STATUS <<\EOF
1675 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1676 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1678 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1679 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1680 *) ac_file_in="${ac_file}.in" ;;
1683 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1685 # Remove last slash and all that follows it. Not all systems have dirname.
1686 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1687 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1688 # The file is in a subdirectory.
1689 test ! -d "$ac_dir" && mkdir "$ac_dir"
1690 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1691 # A "../" for each directory in $ac_dir_suffix.
1692 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1694 ac_dir_suffix= ac_dots=
1697 case "$ac_given_srcdir" in
1699 if test -z "$ac_dots"; then top_srcdir=.
1700 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1701 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1703 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1704 top_srcdir="$ac_dots$ac_given_srcdir" ;;
1707 case "$ac_given_INSTALL" in
1708 [/$]*) INSTALL="$ac_given_INSTALL" ;;
1709 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1712 echo creating "$ac_file"
1714 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1716 *Makefile*) ac_comsub="1i\\
1717 # $configure_input" ;;
1721 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1723 s%@configure_input@%$configure_input%g
1724 s%@srcdir@%$srcdir%g
1725 s%@top_srcdir@%$top_srcdir%g
1726 s%@INSTALL@%$INSTALL%g
1727 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1732 cat >> $CONFIG_STATUS <<EOF
1735 cat >> $CONFIG_STATUS <<\EOF
1739 chmod +x $CONFIG_STATUS
1740 rm -fr confdefs* $ac_clean_files
1741 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1