configure revision 1.1.1.1.2.2 1 1.1.1.1.2.2 yamt #! /bin/sh
2 1.1.1.1.2.2 yamt
3 1.1.1.1.2.2 yamt # Guess values for system-dependent variables and create Makefiles.
4 1.1.1.1.2.2 yamt # Generated automatically using autoconf version 2.13
5 1.1.1.1.2.2 yamt # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
6 1.1.1.1.2.2 yamt #
7 1.1.1.1.2.2 yamt # This configure script is free software; the Free Software Foundation
8 1.1.1.1.2.2 yamt # gives unlimited permission to copy, distribute and modify it.
9 1.1.1.1.2.2 yamt
10 1.1.1.1.2.2 yamt # Defaults:
11 1.1.1.1.2.2 yamt ac_help=
12 1.1.1.1.2.2 yamt ac_default_prefix=/usr/local
13 1.1.1.1.2.2 yamt # Any additions from configure.in:
14 1.1.1.1.2.2 yamt ac_help="$ac_help
15 1.1.1.1.2.2 yamt --enable-gcc allow use of gcc if available"
16 1.1.1.1.2.2 yamt ac_help="$ac_help
17 1.1.1.1.2.2 yamt --with-tk=DIR use Tk 8.0 binaries from DIR"
18 1.1.1.1.2.2 yamt ac_help="$ac_help
19 1.1.1.1.2.2 yamt --without-x do not build/install ldapwish"
20 1.1.1.1.2.2 yamt ac_help="$ac_help
21 1.1.1.1.2.2 yamt --enable-shared build libldaptcl as a shared library"
22 1.1.1.1.2.2 yamt ac_help="$ac_help
23 1.1.1.1.2.2 yamt --with-ldap=<dir> common parent of ldap include and lib dirs"
24 1.1.1.1.2.2 yamt ac_help="$ac_help
25 1.1.1.1.2.2 yamt --with-ldap-incdir=<dir> path to ldap.h"
26 1.1.1.1.2.2 yamt ac_help="$ac_help
27 1.1.1.1.2.2 yamt --with-ldap-libdir=<dir> path to ldap and lber libs"
28 1.1.1.1.2.2 yamt ac_help="$ac_help
29 1.1.1.1.2.2 yamt --with-ldap-libflags=<libnames> -l flags for ldap libraries"
30 1.1.1.1.2.2 yamt
31 1.1.1.1.2.2 yamt # Initialize some variables set by options.
32 1.1.1.1.2.2 yamt # The variables have the same names as the options, with
33 1.1.1.1.2.2 yamt # dashes changed to underlines.
34 1.1.1.1.2.2 yamt build=NONE
35 1.1.1.1.2.2 yamt cache_file=./config.cache
36 1.1.1.1.2.2 yamt exec_prefix=NONE
37 1.1.1.1.2.2 yamt host=NONE
38 1.1.1.1.2.2 yamt no_create=
39 1.1.1.1.2.2 yamt nonopt=NONE
40 1.1.1.1.2.2 yamt no_recursion=
41 1.1.1.1.2.2 yamt prefix=NONE
42 1.1.1.1.2.2 yamt program_prefix=NONE
43 1.1.1.1.2.2 yamt program_suffix=NONE
44 1.1.1.1.2.2 yamt program_transform_name=s,x,x,
45 1.1.1.1.2.2 yamt silent=
46 1.1.1.1.2.2 yamt site=
47 1.1.1.1.2.2 yamt srcdir=
48 1.1.1.1.2.2 yamt target=NONE
49 1.1.1.1.2.2 yamt verbose=
50 1.1.1.1.2.2 yamt x_includes=NONE
51 1.1.1.1.2.2 yamt x_libraries=NONE
52 1.1.1.1.2.2 yamt bindir='${exec_prefix}/bin'
53 1.1.1.1.2.2 yamt sbindir='${exec_prefix}/sbin'
54 1.1.1.1.2.2 yamt libexecdir='${exec_prefix}/libexec'
55 1.1.1.1.2.2 yamt datadir='${prefix}/share'
56 1.1.1.1.2.2 yamt sysconfdir='${prefix}/etc'
57 1.1.1.1.2.2 yamt sharedstatedir='${prefix}/com'
58 1.1.1.1.2.2 yamt localstatedir='${prefix}/var'
59 1.1.1.1.2.2 yamt libdir='${exec_prefix}/lib'
60 1.1.1.1.2.2 yamt includedir='${prefix}/include'
61 1.1.1.1.2.2 yamt oldincludedir='/usr/include'
62 1.1.1.1.2.2 yamt infodir='${prefix}/info'
63 1.1.1.1.2.2 yamt mandir='${prefix}/man'
64 1.1.1.1.2.2 yamt
65 1.1.1.1.2.2 yamt # Initialize some other variables.
66 1.1.1.1.2.2 yamt subdirs=
67 1.1.1.1.2.2 yamt MFLAGS= MAKEFLAGS=
68 1.1.1.1.2.2 yamt SHELL=${CONFIG_SHELL-/bin/sh}
69 1.1.1.1.2.2 yamt # Maximum number of lines to put in a shell here document.
70 1.1.1.1.2.2 yamt ac_max_here_lines=12
71 1.1.1.1.2.2 yamt
72 1.1.1.1.2.2 yamt ac_prev=
73 1.1.1.1.2.2 yamt for ac_option
74 1.1.1.1.2.2 yamt do
75 1.1.1.1.2.2 yamt
76 1.1.1.1.2.2 yamt # If the previous option needs an argument, assign it.
77 1.1.1.1.2.2 yamt if test -n "$ac_prev"; then
78 1.1.1.1.2.2 yamt eval "$ac_prev=\$ac_option"
79 1.1.1.1.2.2 yamt ac_prev=
80 1.1.1.1.2.2 yamt continue
81 1.1.1.1.2.2 yamt fi
82 1.1.1.1.2.2 yamt
83 1.1.1.1.2.2 yamt case "$ac_option" in
84 1.1.1.1.2.2 yamt -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
85 1.1.1.1.2.2 yamt *) ac_optarg= ;;
86 1.1.1.1.2.2 yamt esac
87 1.1.1.1.2.2 yamt
88 1.1.1.1.2.2 yamt # Accept the important Cygnus configure options, so we can diagnose typos.
89 1.1.1.1.2.2 yamt
90 1.1.1.1.2.2 yamt case "$ac_option" in
91 1.1.1.1.2.2 yamt
92 1.1.1.1.2.2 yamt -bindir | --bindir | --bindi | --bind | --bin | --bi)
93 1.1.1.1.2.2 yamt ac_prev=bindir ;;
94 1.1.1.1.2.2 yamt -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
95 1.1.1.1.2.2 yamt bindir="$ac_optarg" ;;
96 1.1.1.1.2.2 yamt
97 1.1.1.1.2.2 yamt -build | --build | --buil | --bui | --bu)
98 1.1.1.1.2.2 yamt ac_prev=build ;;
99 1.1.1.1.2.2 yamt -build=* | --build=* | --buil=* | --bui=* | --bu=*)
100 1.1.1.1.2.2 yamt build="$ac_optarg" ;;
101 1.1.1.1.2.2 yamt
102 1.1.1.1.2.2 yamt -cache-file | --cache-file | --cache-fil | --cache-fi \
103 1.1.1.1.2.2 yamt | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
104 1.1.1.1.2.2 yamt ac_prev=cache_file ;;
105 1.1.1.1.2.2 yamt -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
106 1.1.1.1.2.2 yamt | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
107 1.1.1.1.2.2 yamt cache_file="$ac_optarg" ;;
108 1.1.1.1.2.2 yamt
109 1.1.1.1.2.2 yamt -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
110 1.1.1.1.2.2 yamt ac_prev=datadir ;;
111 1.1.1.1.2.2 yamt -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
112 1.1.1.1.2.2 yamt | --da=*)
113 1.1.1.1.2.2 yamt datadir="$ac_optarg" ;;
114 1.1.1.1.2.2 yamt
115 1.1.1.1.2.2 yamt -disable-* | --disable-*)
116 1.1.1.1.2.2 yamt ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
117 1.1.1.1.2.2 yamt # Reject names that are not valid shell variable names.
118 1.1.1.1.2.2 yamt if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
119 1.1.1.1.2.2 yamt { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
120 1.1.1.1.2.2 yamt fi
121 1.1.1.1.2.2 yamt ac_feature=`echo $ac_feature| sed 's/-/_/g'`
122 1.1.1.1.2.2 yamt eval "enable_${ac_feature}=no" ;;
123 1.1.1.1.2.2 yamt
124 1.1.1.1.2.2 yamt -enable-* | --enable-*)
125 1.1.1.1.2.2 yamt ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
126 1.1.1.1.2.2 yamt # Reject names that are not valid shell variable names.
127 1.1.1.1.2.2 yamt if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
128 1.1.1.1.2.2 yamt { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
129 1.1.1.1.2.2 yamt fi
130 1.1.1.1.2.2 yamt ac_feature=`echo $ac_feature| sed 's/-/_/g'`
131 1.1.1.1.2.2 yamt case "$ac_option" in
132 1.1.1.1.2.2 yamt *=*) ;;
133 1.1.1.1.2.2 yamt *) ac_optarg=yes ;;
134 1.1.1.1.2.2 yamt esac
135 1.1.1.1.2.2 yamt eval "enable_${ac_feature}='$ac_optarg'" ;;
136 1.1.1.1.2.2 yamt
137 1.1.1.1.2.2 yamt -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
138 1.1.1.1.2.2 yamt | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
139 1.1.1.1.2.2 yamt | --exec | --exe | --ex)
140 1.1.1.1.2.2 yamt ac_prev=exec_prefix ;;
141 1.1.1.1.2.2 yamt -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
142 1.1.1.1.2.2 yamt | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
143 1.1.1.1.2.2 yamt | --exec=* | --exe=* | --ex=*)
144 1.1.1.1.2.2 yamt exec_prefix="$ac_optarg" ;;
145 1.1.1.1.2.2 yamt
146 1.1.1.1.2.2 yamt -gas | --gas | --ga | --g)
147 1.1.1.1.2.2 yamt # Obsolete; use --with-gas.
148 1.1.1.1.2.2 yamt with_gas=yes ;;
149 1.1.1.1.2.2 yamt
150 1.1.1.1.2.2 yamt -help | --help | --hel | --he)
151 1.1.1.1.2.2 yamt # Omit some internal or obsolete options to make the list less imposing.
152 1.1.1.1.2.2 yamt # This message is too long to be a string in the A/UX 3.1 sh.
153 1.1.1.1.2.2 yamt cat << EOF
154 1.1.1.1.2.2 yamt Usage: configure [options] [host]
155 1.1.1.1.2.2 yamt Options: [defaults in brackets after descriptions]
156 1.1.1.1.2.2 yamt Configuration:
157 1.1.1.1.2.2 yamt --cache-file=FILE cache test results in FILE
158 1.1.1.1.2.2 yamt --help print this message
159 1.1.1.1.2.2 yamt --no-create do not create output files
160 1.1.1.1.2.2 yamt --quiet, --silent do not print \`checking...' messages
161 1.1.1.1.2.2 yamt --version print the version of autoconf that created configure
162 1.1.1.1.2.2 yamt Directory and file names:
163 1.1.1.1.2.2 yamt --prefix=PREFIX install architecture-independent files in PREFIX
164 1.1.1.1.2.2 yamt [$ac_default_prefix]
165 1.1.1.1.2.2 yamt --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
166 1.1.1.1.2.2 yamt [same as prefix]
167 1.1.1.1.2.2 yamt --bindir=DIR user executables in DIR [EPREFIX/bin]
168 1.1.1.1.2.2 yamt --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
169 1.1.1.1.2.2 yamt --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
170 1.1.1.1.2.2 yamt --datadir=DIR read-only architecture-independent data in DIR
171 1.1.1.1.2.2 yamt [PREFIX/share]
172 1.1.1.1.2.2 yamt --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
173 1.1.1.1.2.2 yamt --sharedstatedir=DIR modifiable architecture-independent data in DIR
174 1.1.1.1.2.2 yamt [PREFIX/com]
175 1.1.1.1.2.2 yamt --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
176 1.1.1.1.2.2 yamt --libdir=DIR object code libraries in DIR [EPREFIX/lib]
177 1.1.1.1.2.2 yamt --includedir=DIR C header files in DIR [PREFIX/include]
178 1.1.1.1.2.2 yamt --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
179 1.1.1.1.2.2 yamt --infodir=DIR info documentation in DIR [PREFIX/info]
180 1.1.1.1.2.2 yamt --mandir=DIR man documentation in DIR [PREFIX/man]
181 1.1.1.1.2.2 yamt --srcdir=DIR find the sources in DIR [configure dir or ..]
182 1.1.1.1.2.2 yamt --program-prefix=PREFIX prepend PREFIX to installed program names
183 1.1.1.1.2.2 yamt --program-suffix=SUFFIX append SUFFIX to installed program names
184 1.1.1.1.2.2 yamt --program-transform-name=PROGRAM
185 1.1.1.1.2.2 yamt run sed PROGRAM on installed program names
186 1.1.1.1.2.2 yamt EOF
187 1.1.1.1.2.2 yamt cat << EOF
188 1.1.1.1.2.2 yamt Host type:
189 1.1.1.1.2.2 yamt --build=BUILD configure for building on BUILD [BUILD=HOST]
190 1.1.1.1.2.2 yamt --host=HOST configure for HOST [guessed]
191 1.1.1.1.2.2 yamt --target=TARGET configure for TARGET [TARGET=HOST]
192 1.1.1.1.2.2 yamt Features and packages:
193 1.1.1.1.2.2 yamt --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
194 1.1.1.1.2.2 yamt --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
195 1.1.1.1.2.2 yamt --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
196 1.1.1.1.2.2 yamt --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
197 1.1.1.1.2.2 yamt --x-includes=DIR X include files are in DIR
198 1.1.1.1.2.2 yamt --x-libraries=DIR X library files are in DIR
199 1.1.1.1.2.2 yamt EOF
200 1.1.1.1.2.2 yamt if test -n "$ac_help"; then
201 1.1.1.1.2.2 yamt echo "--enable and --with options recognized:$ac_help"
202 1.1.1.1.2.2 yamt fi
203 1.1.1.1.2.2 yamt exit 0 ;;
204 1.1.1.1.2.2 yamt
205 1.1.1.1.2.2 yamt -host | --host | --hos | --ho)
206 1.1.1.1.2.2 yamt ac_prev=host ;;
207 1.1.1.1.2.2 yamt -host=* | --host=* | --hos=* | --ho=*)
208 1.1.1.1.2.2 yamt host="$ac_optarg" ;;
209 1.1.1.1.2.2 yamt
210 1.1.1.1.2.2 yamt -includedir | --includedir | --includedi | --included | --include \
211 1.1.1.1.2.2 yamt | --includ | --inclu | --incl | --inc)
212 1.1.1.1.2.2 yamt ac_prev=includedir ;;
213 1.1.1.1.2.2 yamt -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
214 1.1.1.1.2.2 yamt | --includ=* | --inclu=* | --incl=* | --inc=*)
215 1.1.1.1.2.2 yamt includedir="$ac_optarg" ;;
216 1.1.1.1.2.2 yamt
217 1.1.1.1.2.2 yamt -infodir | --infodir | --infodi | --infod | --info | --inf)
218 1.1.1.1.2.2 yamt ac_prev=infodir ;;
219 1.1.1.1.2.2 yamt -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
220 1.1.1.1.2.2 yamt infodir="$ac_optarg" ;;
221 1.1.1.1.2.2 yamt
222 1.1.1.1.2.2 yamt -libdir | --libdir | --libdi | --libd)
223 1.1.1.1.2.2 yamt ac_prev=libdir ;;
224 1.1.1.1.2.2 yamt -libdir=* | --libdir=* | --libdi=* | --libd=*)
225 1.1.1.1.2.2 yamt libdir="$ac_optarg" ;;
226 1.1.1.1.2.2 yamt
227 1.1.1.1.2.2 yamt -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
228 1.1.1.1.2.2 yamt | --libexe | --libex | --libe)
229 1.1.1.1.2.2 yamt ac_prev=libexecdir ;;
230 1.1.1.1.2.2 yamt -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
231 1.1.1.1.2.2 yamt | --libexe=* | --libex=* | --libe=*)
232 1.1.1.1.2.2 yamt libexecdir="$ac_optarg" ;;
233 1.1.1.1.2.2 yamt
234 1.1.1.1.2.2 yamt -localstatedir | --localstatedir | --localstatedi | --localstated \
235 1.1.1.1.2.2 yamt | --localstate | --localstat | --localsta | --localst \
236 1.1.1.1.2.2 yamt | --locals | --local | --loca | --loc | --lo)
237 1.1.1.1.2.2 yamt ac_prev=localstatedir ;;
238 1.1.1.1.2.2 yamt -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
239 1.1.1.1.2.2 yamt | --localstate=* | --localstat=* | --localsta=* | --localst=* \
240 1.1.1.1.2.2 yamt | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
241 1.1.1.1.2.2 yamt localstatedir="$ac_optarg" ;;
242 1.1.1.1.2.2 yamt
243 1.1.1.1.2.2 yamt -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
244 1.1.1.1.2.2 yamt ac_prev=mandir ;;
245 1.1.1.1.2.2 yamt -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
246 1.1.1.1.2.2 yamt mandir="$ac_optarg" ;;
247 1.1.1.1.2.2 yamt
248 1.1.1.1.2.2 yamt -nfp | --nfp | --nf)
249 1.1.1.1.2.2 yamt # Obsolete; use --without-fp.
250 1.1.1.1.2.2 yamt with_fp=no ;;
251 1.1.1.1.2.2 yamt
252 1.1.1.1.2.2 yamt -no-create | --no-create | --no-creat | --no-crea | --no-cre \
253 1.1.1.1.2.2 yamt | --no-cr | --no-c)
254 1.1.1.1.2.2 yamt no_create=yes ;;
255 1.1.1.1.2.2 yamt
256 1.1.1.1.2.2 yamt -no-recursion | --no-recursion | --no-recursio | --no-recursi \
257 1.1.1.1.2.2 yamt | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
258 1.1.1.1.2.2 yamt no_recursion=yes ;;
259 1.1.1.1.2.2 yamt
260 1.1.1.1.2.2 yamt -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
261 1.1.1.1.2.2 yamt | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
262 1.1.1.1.2.2 yamt | --oldin | --oldi | --old | --ol | --o)
263 1.1.1.1.2.2 yamt ac_prev=oldincludedir ;;
264 1.1.1.1.2.2 yamt -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
265 1.1.1.1.2.2 yamt | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
266 1.1.1.1.2.2 yamt | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
267 1.1.1.1.2.2 yamt oldincludedir="$ac_optarg" ;;
268 1.1.1.1.2.2 yamt
269 1.1.1.1.2.2 yamt -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
270 1.1.1.1.2.2 yamt ac_prev=prefix ;;
271 1.1.1.1.2.2 yamt -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
272 1.1.1.1.2.2 yamt prefix="$ac_optarg" ;;
273 1.1.1.1.2.2 yamt
274 1.1.1.1.2.2 yamt -program-prefix | --program-prefix | --program-prefi | --program-pref \
275 1.1.1.1.2.2 yamt | --program-pre | --program-pr | --program-p)
276 1.1.1.1.2.2 yamt ac_prev=program_prefix ;;
277 1.1.1.1.2.2 yamt -program-prefix=* | --program-prefix=* | --program-prefi=* \
278 1.1.1.1.2.2 yamt | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
279 1.1.1.1.2.2 yamt program_prefix="$ac_optarg" ;;
280 1.1.1.1.2.2 yamt
281 1.1.1.1.2.2 yamt -program-suffix | --program-suffix | --program-suffi | --program-suff \
282 1.1.1.1.2.2 yamt | --program-suf | --program-su | --program-s)
283 1.1.1.1.2.2 yamt ac_prev=program_suffix ;;
284 1.1.1.1.2.2 yamt -program-suffix=* | --program-suffix=* | --program-suffi=* \
285 1.1.1.1.2.2 yamt | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
286 1.1.1.1.2.2 yamt program_suffix="$ac_optarg" ;;
287 1.1.1.1.2.2 yamt
288 1.1.1.1.2.2 yamt -program-transform-name | --program-transform-name \
289 1.1.1.1.2.2 yamt | --program-transform-nam | --program-transform-na \
290 1.1.1.1.2.2 yamt | --program-transform-n | --program-transform- \
291 1.1.1.1.2.2 yamt | --program-transform | --program-transfor \
292 1.1.1.1.2.2 yamt | --program-transfo | --program-transf \
293 1.1.1.1.2.2 yamt | --program-trans | --program-tran \
294 1.1.1.1.2.2 yamt | --progr-tra | --program-tr | --program-t)
295 1.1.1.1.2.2 yamt ac_prev=program_transform_name ;;
296 1.1.1.1.2.2 yamt -program-transform-name=* | --program-transform-name=* \
297 1.1.1.1.2.2 yamt | --program-transform-nam=* | --program-transform-na=* \
298 1.1.1.1.2.2 yamt | --program-transform-n=* | --program-transform-=* \
299 1.1.1.1.2.2 yamt | --program-transform=* | --program-transfor=* \
300 1.1.1.1.2.2 yamt | --program-transfo=* | --program-transf=* \
301 1.1.1.1.2.2 yamt | --program-trans=* | --program-tran=* \
302 1.1.1.1.2.2 yamt | --progr-tra=* | --program-tr=* | --program-t=*)
303 1.1.1.1.2.2 yamt program_transform_name="$ac_optarg" ;;
304 1.1.1.1.2.2 yamt
305 1.1.1.1.2.2 yamt -q | -quiet | --quiet | --quie | --qui | --qu | --q \
306 1.1.1.1.2.2 yamt | -silent | --silent | --silen | --sile | --sil)
307 1.1.1.1.2.2 yamt silent=yes ;;
308 1.1.1.1.2.2 yamt
309 1.1.1.1.2.2 yamt -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
310 1.1.1.1.2.2 yamt ac_prev=sbindir ;;
311 1.1.1.1.2.2 yamt -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
312 1.1.1.1.2.2 yamt | --sbi=* | --sb=*)
313 1.1.1.1.2.2 yamt sbindir="$ac_optarg" ;;
314 1.1.1.1.2.2 yamt
315 1.1.1.1.2.2 yamt -sharedstatedir | --sharedstatedir | --sharedstatedi \
316 1.1.1.1.2.2 yamt | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
317 1.1.1.1.2.2 yamt | --sharedst | --shareds | --shared | --share | --shar \
318 1.1.1.1.2.2 yamt | --sha | --sh)
319 1.1.1.1.2.2 yamt ac_prev=sharedstatedir ;;
320 1.1.1.1.2.2 yamt -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
321 1.1.1.1.2.2 yamt | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
322 1.1.1.1.2.2 yamt | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
323 1.1.1.1.2.2 yamt | --sha=* | --sh=*)
324 1.1.1.1.2.2 yamt sharedstatedir="$ac_optarg" ;;
325 1.1.1.1.2.2 yamt
326 1.1.1.1.2.2 yamt -site | --site | --sit)
327 1.1.1.1.2.2 yamt ac_prev=site ;;
328 1.1.1.1.2.2 yamt -site=* | --site=* | --sit=*)
329 1.1.1.1.2.2 yamt site="$ac_optarg" ;;
330 1.1.1.1.2.2 yamt
331 1.1.1.1.2.2 yamt -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
332 1.1.1.1.2.2 yamt ac_prev=srcdir ;;
333 1.1.1.1.2.2 yamt -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
334 1.1.1.1.2.2 yamt srcdir="$ac_optarg" ;;
335 1.1.1.1.2.2 yamt
336 1.1.1.1.2.2 yamt -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
337 1.1.1.1.2.2 yamt | --syscon | --sysco | --sysc | --sys | --sy)
338 1.1.1.1.2.2 yamt ac_prev=sysconfdir ;;
339 1.1.1.1.2.2 yamt -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
340 1.1.1.1.2.2 yamt | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
341 1.1.1.1.2.2 yamt sysconfdir="$ac_optarg" ;;
342 1.1.1.1.2.2 yamt
343 1.1.1.1.2.2 yamt -target | --target | --targe | --targ | --tar | --ta | --t)
344 1.1.1.1.2.2 yamt ac_prev=target ;;
345 1.1.1.1.2.2 yamt -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
346 1.1.1.1.2.2 yamt target="$ac_optarg" ;;
347 1.1.1.1.2.2 yamt
348 1.1.1.1.2.2 yamt -v | -verbose | --verbose | --verbos | --verbo | --verb)
349 1.1.1.1.2.2 yamt verbose=yes ;;
350 1.1.1.1.2.2 yamt
351 1.1.1.1.2.2 yamt -version | --version | --versio | --versi | --vers)
352 1.1.1.1.2.2 yamt echo "configure generated by autoconf version 2.13"
353 1.1.1.1.2.2 yamt exit 0 ;;
354 1.1.1.1.2.2 yamt
355 1.1.1.1.2.2 yamt -with-* | --with-*)
356 1.1.1.1.2.2 yamt ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
357 1.1.1.1.2.2 yamt # Reject names that are not valid shell variable names.
358 1.1.1.1.2.2 yamt if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
359 1.1.1.1.2.2 yamt { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
360 1.1.1.1.2.2 yamt fi
361 1.1.1.1.2.2 yamt ac_package=`echo $ac_package| sed 's/-/_/g'`
362 1.1.1.1.2.2 yamt case "$ac_option" in
363 1.1.1.1.2.2 yamt *=*) ;;
364 1.1.1.1.2.2 yamt *) ac_optarg=yes ;;
365 1.1.1.1.2.2 yamt esac
366 1.1.1.1.2.2 yamt eval "with_${ac_package}='$ac_optarg'" ;;
367 1.1.1.1.2.2 yamt
368 1.1.1.1.2.2 yamt -without-* | --without-*)
369 1.1.1.1.2.2 yamt ac_package=`echo $ac_option|sed -e 's/-*without-//'`
370 1.1.1.1.2.2 yamt # Reject names that are not valid shell variable names.
371 1.1.1.1.2.2 yamt if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
372 1.1.1.1.2.2 yamt { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
373 1.1.1.1.2.2 yamt fi
374 1.1.1.1.2.2 yamt ac_package=`echo $ac_package| sed 's/-/_/g'`
375 1.1.1.1.2.2 yamt eval "with_${ac_package}=no" ;;
376 1.1.1.1.2.2 yamt
377 1.1.1.1.2.2 yamt --x)
378 1.1.1.1.2.2 yamt # Obsolete; use --with-x.
379 1.1.1.1.2.2 yamt with_x=yes ;;
380 1.1.1.1.2.2 yamt
381 1.1.1.1.2.2 yamt -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
382 1.1.1.1.2.2 yamt | --x-incl | --x-inc | --x-in | --x-i)
383 1.1.1.1.2.2 yamt ac_prev=x_includes ;;
384 1.1.1.1.2.2 yamt -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
385 1.1.1.1.2.2 yamt | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
386 1.1.1.1.2.2 yamt x_includes="$ac_optarg" ;;
387 1.1.1.1.2.2 yamt
388 1.1.1.1.2.2 yamt -x-libraries | --x-libraries | --x-librarie | --x-librari \
389 1.1.1.1.2.2 yamt | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
390 1.1.1.1.2.2 yamt ac_prev=x_libraries ;;
391 1.1.1.1.2.2 yamt -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
392 1.1.1.1.2.2 yamt | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
393 1.1.1.1.2.2 yamt x_libraries="$ac_optarg" ;;
394 1.1.1.1.2.2 yamt
395 1.1.1.1.2.2 yamt -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
396 1.1.1.1.2.2 yamt ;;
397 1.1.1.1.2.2 yamt
398 1.1.1.1.2.2 yamt *)
399 1.1.1.1.2.2 yamt if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
400 1.1.1.1.2.2 yamt echo "configure: warning: $ac_option: invalid host type" 1>&2
401 1.1.1.1.2.2 yamt fi
402 1.1.1.1.2.2 yamt if test "x$nonopt" != xNONE; then
403 1.1.1.1.2.2 yamt { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
404 1.1.1.1.2.2 yamt fi
405 1.1.1.1.2.2 yamt nonopt="$ac_option"
406 1.1.1.1.2.2 yamt ;;
407 1.1.1.1.2.2 yamt
408 1.1.1.1.2.2 yamt esac
409 1.1.1.1.2.2 yamt done
410 1.1.1.1.2.2 yamt
411 1.1.1.1.2.2 yamt if test -n "$ac_prev"; then
412 1.1.1.1.2.2 yamt { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
413 1.1.1.1.2.2 yamt fi
414 1.1.1.1.2.2 yamt
415 1.1.1.1.2.2 yamt trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
416 1.1.1.1.2.2 yamt
417 1.1.1.1.2.2 yamt # File descriptor usage:
418 1.1.1.1.2.2 yamt # 0 standard input
419 1.1.1.1.2.2 yamt # 1 file creation
420 1.1.1.1.2.2 yamt # 2 errors and warnings
421 1.1.1.1.2.2 yamt # 3 some systems may open it to /dev/tty
422 1.1.1.1.2.2 yamt # 4 used on the Kubota Titan
423 1.1.1.1.2.2 yamt # 6 checking for... messages and results
424 1.1.1.1.2.2 yamt # 5 compiler messages saved in config.log
425 1.1.1.1.2.2 yamt if test "$silent" = yes; then
426 1.1.1.1.2.2 yamt exec 6>/dev/null
427 1.1.1.1.2.2 yamt else
428 1.1.1.1.2.2 yamt exec 6>&1
429 1.1.1.1.2.2 yamt fi
430 1.1.1.1.2.2 yamt exec 5>./config.log
431 1.1.1.1.2.2 yamt
432 1.1.1.1.2.2 yamt echo "\
433 1.1.1.1.2.2 yamt This file contains any messages produced by compilers while
434 1.1.1.1.2.2 yamt running configure, to aid debugging if configure makes a mistake.
435 1.1.1.1.2.2 yamt " 1>&5
436 1.1.1.1.2.2 yamt
437 1.1.1.1.2.2 yamt # Strip out --no-create and --no-recursion so they do not pile up.
438 1.1.1.1.2.2 yamt # Also quote any args containing shell metacharacters.
439 1.1.1.1.2.2 yamt ac_configure_args=
440 1.1.1.1.2.2 yamt for ac_arg
441 1.1.1.1.2.2 yamt do
442 1.1.1.1.2.2 yamt case "$ac_arg" in
443 1.1.1.1.2.2 yamt -no-create | --no-create | --no-creat | --no-crea | --no-cre \
444 1.1.1.1.2.2 yamt | --no-cr | --no-c) ;;
445 1.1.1.1.2.2 yamt -no-recursion | --no-recursion | --no-recursio | --no-recursi \
446 1.1.1.1.2.2 yamt | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
447 1.1.1.1.2.2 yamt *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
448 1.1.1.1.2.2 yamt ac_configure_args="$ac_configure_args '$ac_arg'" ;;
449 1.1.1.1.2.2 yamt *) ac_configure_args="$ac_configure_args $ac_arg" ;;
450 1.1.1.1.2.2 yamt esac
451 1.1.1.1.2.2 yamt done
452 1.1.1.1.2.2 yamt
453 1.1.1.1.2.2 yamt # NLS nuisances.
454 1.1.1.1.2.2 yamt # Only set these to C if already set. These must not be set unconditionally
455 1.1.1.1.2.2 yamt # because not all systems understand e.g. LANG=C (notably SCO).
456 1.1.1.1.2.2 yamt # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
457 1.1.1.1.2.2 yamt # Non-C LC_CTYPE values break the ctype check.
458 1.1.1.1.2.2 yamt if test "${LANG+set}" = set; then LANG=C; export LANG; fi
459 1.1.1.1.2.2 yamt if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
460 1.1.1.1.2.2 yamt if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
461 1.1.1.1.2.2 yamt if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
462 1.1.1.1.2.2 yamt
463 1.1.1.1.2.2 yamt # confdefs.h avoids OS command line length limits that DEFS can exceed.
464 1.1.1.1.2.2 yamt rm -rf conftest* confdefs.h
465 1.1.1.1.2.2 yamt # AIX cpp loses on an empty file, so make sure it contains at least a newline.
466 1.1.1.1.2.2 yamt echo > confdefs.h
467 1.1.1.1.2.2 yamt
468 1.1.1.1.2.2 yamt # A filename unique to this package, relative to the directory that
469 1.1.1.1.2.2 yamt # configure is in, which we can look for to find out if srcdir is correct.
470 1.1.1.1.2.2 yamt ac_unique_file=neoXldap.c
471 1.1.1.1.2.2 yamt
472 1.1.1.1.2.2 yamt # Find the source files, if location was not specified.
473 1.1.1.1.2.2 yamt if test -z "$srcdir"; then
474 1.1.1.1.2.2 yamt ac_srcdir_defaulted=yes
475 1.1.1.1.2.2 yamt # Try the directory containing this script, then its parent.
476 1.1.1.1.2.2 yamt ac_prog=$0
477 1.1.1.1.2.2 yamt ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
478 1.1.1.1.2.2 yamt test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
479 1.1.1.1.2.2 yamt srcdir=$ac_confdir
480 1.1.1.1.2.2 yamt if test ! -r $srcdir/$ac_unique_file; then
481 1.1.1.1.2.2 yamt srcdir=..
482 1.1.1.1.2.2 yamt fi
483 1.1.1.1.2.2 yamt else
484 1.1.1.1.2.2 yamt ac_srcdir_defaulted=no
485 1.1.1.1.2.2 yamt fi
486 1.1.1.1.2.2 yamt if test ! -r $srcdir/$ac_unique_file; then
487 1.1.1.1.2.2 yamt if test "$ac_srcdir_defaulted" = yes; then
488 1.1.1.1.2.2 yamt { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
489 1.1.1.1.2.2 yamt else
490 1.1.1.1.2.2 yamt { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
491 1.1.1.1.2.2 yamt fi
492 1.1.1.1.2.2 yamt fi
493 1.1.1.1.2.2 yamt srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
494 1.1.1.1.2.2 yamt
495 1.1.1.1.2.2 yamt # Prefer explicitly selected file to automatically selected ones.
496 1.1.1.1.2.2 yamt if test -z "$CONFIG_SITE"; then
497 1.1.1.1.2.2 yamt if test "x$prefix" != xNONE; then
498 1.1.1.1.2.2 yamt CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
499 1.1.1.1.2.2 yamt else
500 1.1.1.1.2.2 yamt CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
501 1.1.1.1.2.2 yamt fi
502 1.1.1.1.2.2 yamt fi
503 1.1.1.1.2.2 yamt for ac_site_file in $CONFIG_SITE; do
504 1.1.1.1.2.2 yamt if test -r "$ac_site_file"; then
505 1.1.1.1.2.2 yamt echo "loading site script $ac_site_file"
506 1.1.1.1.2.2 yamt . "$ac_site_file"
507 1.1.1.1.2.2 yamt fi
508 1.1.1.1.2.2 yamt done
509 1.1.1.1.2.2 yamt
510 1.1.1.1.2.2 yamt if test -r "$cache_file"; then
511 1.1.1.1.2.2 yamt echo "loading cache $cache_file"
512 1.1.1.1.2.2 yamt . $cache_file
513 1.1.1.1.2.2 yamt else
514 1.1.1.1.2.2 yamt echo "creating cache $cache_file"
515 1.1.1.1.2.2 yamt > $cache_file
516 1.1.1.1.2.2 yamt fi
517 1.1.1.1.2.2 yamt
518 1.1.1.1.2.2 yamt ac_ext=c
519 1.1.1.1.2.2 yamt # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
520 1.1.1.1.2.2 yamt ac_cpp='$CPP $CPPFLAGS'
521 1.1.1.1.2.2 yamt ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
522 1.1.1.1.2.2 yamt ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
523 1.1.1.1.2.2 yamt cross_compiling=$ac_cv_prog_cc_cross
524 1.1.1.1.2.2 yamt
525 1.1.1.1.2.2 yamt ac_exeext=
526 1.1.1.1.2.2 yamt ac_objext=o
527 1.1.1.1.2.2 yamt if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
528 1.1.1.1.2.2 yamt # Stardent Vistra SVR4 grep lacks -e, says ghazi (at] caip.rutgers.edu.
529 1.1.1.1.2.2 yamt if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
530 1.1.1.1.2.2 yamt ac_n= ac_c='
531 1.1.1.1.2.2 yamt ' ac_t=' '
532 1.1.1.1.2.2 yamt else
533 1.1.1.1.2.2 yamt ac_n=-n ac_c= ac_t=
534 1.1.1.1.2.2 yamt fi
535 1.1.1.1.2.2 yamt else
536 1.1.1.1.2.2 yamt ac_n= ac_c='\c' ac_t=
537 1.1.1.1.2.2 yamt fi
538 1.1.1.1.2.2 yamt
539 1.1.1.1.2.2 yamt
540 1.1.1.1.2.2 yamt # $OpenLDAP: pkg/ldap/contrib/ldaptcl/configure,v 1.7.2.1 2007/08/31 23:13:51 quanah Exp $
541 1.1.1.1.2.2 yamt
542 1.1.1.1.2.2 yamt NEO_VERSION=2.0
543 1.1.1.1.2.2 yamt NEO_MAJOR_VERSION=2
544 1.1.1.1.2.2 yamt NEO_MINOR_VERSION=0
545 1.1.1.1.2.2 yamt VERSION=${NEO_VERSION}
546 1.1.1.1.2.2 yamt
547 1.1.1.1.2.2 yamt if test "${prefix}" = "NONE"; then
548 1.1.1.1.2.2 yamt prefix=/usr/local
549 1.1.1.1.2.2 yamt fi
550 1.1.1.1.2.2 yamt if test "${exec_prefix}" = "NONE"; then
551 1.1.1.1.2.2 yamt exec_prefix=$prefix
552 1.1.1.1.2.2 yamt fi
553 1.1.1.1.2.2 yamt
554 1.1.1.1.2.2 yamt # Check whether --enable-gcc or --disable-gcc was given.
555 1.1.1.1.2.2 yamt if test "${enable_gcc+set}" = set; then
556 1.1.1.1.2.2 yamt enableval="$enable_gcc"
557 1.1.1.1.2.2 yamt neo_ok=$enableval
558 1.1.1.1.2.2 yamt else
559 1.1.1.1.2.2 yamt neo_ok=no
560 1.1.1.1.2.2 yamt fi
561 1.1.1.1.2.2 yamt
562 1.1.1.1.2.2 yamt if test "$neo_ok" = "yes"; then
563 1.1.1.1.2.2 yamt # Extract the first word of "gcc", so it can be a program name with args.
564 1.1.1.1.2.2 yamt set dummy gcc; ac_word=$2
565 1.1.1.1.2.2 yamt echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
566 1.1.1.1.2.2 yamt echo "configure:567: checking for $ac_word" >&5
567 1.1.1.1.2.2 yamt if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
568 1.1.1.1.2.2 yamt echo $ac_n "(cached) $ac_c" 1>&6
569 1.1.1.1.2.2 yamt else
570 1.1.1.1.2.2 yamt if test -n "$CC"; then
571 1.1.1.1.2.2 yamt ac_cv_prog_CC="$CC" # Let the user override the test.
572 1.1.1.1.2.2 yamt else
573 1.1.1.1.2.2 yamt IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
574 1.1.1.1.2.2 yamt ac_dummy="$PATH"
575 1.1.1.1.2.2 yamt for ac_dir in $ac_dummy; do
576 1.1.1.1.2.2 yamt test -z "$ac_dir" && ac_dir=.
577 1.1.1.1.2.2 yamt if test -f $ac_dir/$ac_word; then
578 1.1.1.1.2.2 yamt ac_cv_prog_CC="gcc"
579 1.1.1.1.2.2 yamt break
580 1.1.1.1.2.2 yamt fi
581 1.1.1.1.2.2 yamt done
582 1.1.1.1.2.2 yamt IFS="$ac_save_ifs"
583 1.1.1.1.2.2 yamt fi
584 1.1.1.1.2.2 yamt fi
585 1.1.1.1.2.2 yamt CC="$ac_cv_prog_CC"
586 1.1.1.1.2.2 yamt if test -n "$CC"; then
587 1.1.1.1.2.2 yamt echo "$ac_t""$CC" 1>&6
588 1.1.1.1.2.2 yamt else
589 1.1.1.1.2.2 yamt echo "$ac_t""no" 1>&6
590 1.1.1.1.2.2 yamt fi
591 1.1.1.1.2.2 yamt
592 1.1.1.1.2.2 yamt if test -z "$CC"; then
593 1.1.1.1.2.2 yamt # Extract the first word of "cc", so it can be a program name with args.
594 1.1.1.1.2.2 yamt set dummy cc; ac_word=$2
595 1.1.1.1.2.2 yamt echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
596 1.1.1.1.2.2 yamt echo "configure:597: checking for $ac_word" >&5
597 1.1.1.1.2.2 yamt if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
598 1.1.1.1.2.2 yamt echo $ac_n "(cached) $ac_c" 1>&6
599 1.1.1.1.2.2 yamt else
600 1.1.1.1.2.2 yamt if test -n "$CC"; then
601 1.1.1.1.2.2 yamt ac_cv_prog_CC="$CC" # Let the user override the test.
602 1.1.1.1.2.2 yamt else
603 1.1.1.1.2.2 yamt IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
604 1.1.1.1.2.2 yamt ac_prog_rejected=no
605 1.1.1.1.2.2 yamt ac_dummy="$PATH"
606 1.1.1.1.2.2 yamt for ac_dir in $ac_dummy; do
607 1.1.1.1.2.2 yamt test -z "$ac_dir" && ac_dir=.
608 1.1.1.1.2.2 yamt if test -f $ac_dir/$ac_word; then
609 1.1.1.1.2.2 yamt if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
610 1.1.1.1.2.2 yamt ac_prog_rejected=yes
611 1.1.1.1.2.2 yamt continue
612 1.1.1.1.2.2 yamt fi
613 1.1.1.1.2.2 yamt ac_cv_prog_CC="cc"
614 1.1.1.1.2.2 yamt break
615 1.1.1.1.2.2 yamt fi
616 1.1.1.1.2.2 yamt done
617 1.1.1.1.2.2 yamt IFS="$ac_save_ifs"
618 1.1.1.1.2.2 yamt if test $ac_prog_rejected = yes; then
619 1.1.1.1.2.2 yamt # We found a bogon in the path, so make sure we never use it.
620 1.1.1.1.2.2 yamt set dummy $ac_cv_prog_CC
621 1.1.1.1.2.2 yamt shift
622 1.1.1.1.2.2 yamt if test $# -gt 0; then
623 1.1.1.1.2.2 yamt # We chose a different compiler from the bogus one.
624 1.1.1.1.2.2 yamt # However, it has the same basename, so the bogon will be chosen
625 1.1.1.1.2.2 yamt # first if we set CC to just the basename; use the full file name.
626 1.1.1.1.2.2 yamt shift
627 1.1.1.1.2.2 yamt set dummy "$ac_dir/$ac_word" "$@"
628 1.1.1.1.2.2 yamt shift
629 1.1.1.1.2.2 yamt ac_cv_prog_CC="$@"
630 1.1.1.1.2.2 yamt fi
631 1.1.1.1.2.2 yamt fi
632 1.1.1.1.2.2 yamt fi
633 1.1.1.1.2.2 yamt fi
634 1.1.1.1.2.2 yamt CC="$ac_cv_prog_CC"
635 1.1.1.1.2.2 yamt if test -n "$CC"; then
636 1.1.1.1.2.2 yamt echo "$ac_t""$CC" 1>&6
637 1.1.1.1.2.2 yamt else
638 1.1.1.1.2.2 yamt echo "$ac_t""no" 1>&6
639 1.1.1.1.2.2 yamt fi
640 1.1.1.1.2.2 yamt
641 1.1.1.1.2.2 yamt if test -z "$CC"; then
642 1.1.1.1.2.2 yamt case "`uname -s`" in
643 1.1.1.1.2.2 yamt *win32* | *WIN32*)
644 1.1.1.1.2.2 yamt # Extract the first word of "cl", so it can be a program name with args.
645 1.1.1.1.2.2 yamt set dummy cl; ac_word=$2
646 1.1.1.1.2.2 yamt echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
647 1.1.1.1.2.2 yamt echo "configure:648: checking for $ac_word" >&5
648 1.1.1.1.2.2 yamt if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
649 1.1.1.1.2.2 yamt echo $ac_n "(cached) $ac_c" 1>&6
650 1.1.1.1.2.2 yamt else
651 1.1.1.1.2.2 yamt if test -n "$CC"; then
652 1.1.1.1.2.2 yamt ac_cv_prog_CC="$CC" # Let the user override the test.
653 1.1.1.1.2.2 yamt else
654 1.1.1.1.2.2 yamt IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
655 1.1.1.1.2.2 yamt ac_dummy="$PATH"
656 1.1.1.1.2.2 yamt for ac_dir in $ac_dummy; do
657 1.1.1.1.2.2 yamt test -z "$ac_dir" && ac_dir=.
658 1.1.1.1.2.2 yamt if test -f $ac_dir/$ac_word; then
659 1.1.1.1.2.2 yamt ac_cv_prog_CC="cl"
660 1.1.1.1.2.2 yamt break
661 1.1.1.1.2.2 yamt fi
662 1.1.1.1.2.2 yamt done
663 1.1.1.1.2.2 yamt IFS="$ac_save_ifs"
664 1.1.1.1.2.2 yamt fi
665 1.1.1.1.2.2 yamt fi
666 1.1.1.1.2.2 yamt CC="$ac_cv_prog_CC"
667 1.1.1.1.2.2 yamt if test -n "$CC"; then
668 1.1.1.1.2.2 yamt echo "$ac_t""$CC" 1>&6
669 1.1.1.1.2.2 yamt else
670 1.1.1.1.2.2 yamt echo "$ac_t""no" 1>&6
671 1.1.1.1.2.2 yamt fi
672 1.1.1.1.2.2 yamt ;;
673 1.1.1.1.2.2 yamt esac
674 1.1.1.1.2.2 yamt fi
675 1.1.1.1.2.2 yamt test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
676 1.1.1.1.2.2 yamt fi
677 1.1.1.1.2.2 yamt
678 1.1.1.1.2.2 yamt echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
679 1.1.1.1.2.2 yamt echo "configure:680: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
680 1.1.1.1.2.2 yamt
681 1.1.1.1.2.2 yamt ac_ext=c
682 1.1.1.1.2.2 yamt # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
683 1.1.1.1.2.2 yamt ac_cpp='$CPP $CPPFLAGS'
684 1.1.1.1.2.2 yamt ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
685 1.1.1.1.2.2 yamt ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
686 1.1.1.1.2.2 yamt cross_compiling=$ac_cv_prog_cc_cross
687 1.1.1.1.2.2 yamt
688 1.1.1.1.2.2 yamt cat > conftest.$ac_ext << EOF
689 1.1.1.1.2.2 yamt
690 1.1.1.1.2.2 yamt #line 691 "configure"
691 1.1.1.1.2.2 yamt #include "confdefs.h"
692 1.1.1.1.2.2 yamt
693 1.1.1.1.2.2 yamt main(){return(0);}
694 1.1.1.1.2.2 yamt EOF
695 1.1.1.1.2.2 yamt if { (eval echo configure:696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
696 1.1.1.1.2.2 yamt ac_cv_prog_cc_works=yes
697 1.1.1.1.2.2 yamt # If we can't run a trivial program, we are probably using a cross compiler.
698 1.1.1.1.2.2 yamt if (./conftest; exit) 2>/dev/null; then
699 1.1.1.1.2.2 yamt ac_cv_prog_cc_cross=no
700 1.1.1.1.2.2 yamt else
701 1.1.1.1.2.2 yamt ac_cv_prog_cc_cross=yes
702 1.1.1.1.2.2 yamt fi
703 1.1.1.1.2.2 yamt else
704 1.1.1.1.2.2 yamt echo "configure: failed program was:" >&5
705 1.1.1.1.2.2 yamt cat conftest.$ac_ext >&5
706 1.1.1.1.2.2 yamt ac_cv_prog_cc_works=no
707 1.1.1.1.2.2 yamt fi
708 1.1.1.1.2.2 yamt rm -fr conftest*
709 1.1.1.1.2.2 yamt ac_ext=c
710 1.1.1.1.2.2 yamt # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
711 1.1.1.1.2.2 yamt ac_cpp='$CPP $CPPFLAGS'
712 1.1.1.1.2.2 yamt ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
713 1.1.1.1.2.2 yamt ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
714 1.1.1.1.2.2 yamt cross_compiling=$ac_cv_prog_cc_cross
715 1.1.1.1.2.2 yamt
716 1.1.1.1.2.2 yamt echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
717 1.1.1.1.2.2 yamt if test $ac_cv_prog_cc_works = no; then
718 1.1.1.1.2.2 yamt { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
719 1.1.1.1.2.2 yamt fi
720 1.1.1.1.2.2 yamt echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
721 1.1.1.1.2.2 yamt echo "configure:722: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
722 1.1.1.1.2.2 yamt echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
723 1.1.1.1.2.2 yamt cross_compiling=$ac_cv_prog_cc_cross
724 1.1.1.1.2.2 yamt
725 1.1.1.1.2.2 yamt echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
726 1.1.1.1.2.2 yamt echo "configure:727: checking whether we are using GNU C" >&5
727 1.1.1.1.2.2 yamt if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
728 1.1.1.1.2.2 yamt echo $ac_n "(cached) $ac_c" 1>&6
729 1.1.1.1.2.2 yamt else
730 1.1.1.1.2.2 yamt cat > conftest.c <<EOF
731 1.1.1.1.2.2 yamt #ifdef __GNUC__
732 1.1.1.1.2.2 yamt yes;
733 1.1.1.1.2.2 yamt #endif
734 1.1.1.1.2.2 yamt EOF
735 1.1.1.1.2.2 yamt if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:736: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
736 1.1.1.1.2.2 yamt ac_cv_prog_gcc=yes
737 1.1.1.1.2.2 yamt else
738 1.1.1.1.2.2 yamt ac_cv_prog_gcc=no
739 1.1.1.1.2.2 yamt fi
740 1.1.1.1.2.2 yamt fi
741 1.1.1.1.2.2 yamt
742 1.1.1.1.2.2 yamt echo "$ac_t""$ac_cv_prog_gcc" 1>&6
743 1.1.1.1.2.2 yamt
744 1.1.1.1.2.2 yamt if test $ac_cv_prog_gcc = yes; then
745 1.1.1.1.2.2 yamt GCC=yes
746 1.1.1.1.2.2 yamt else
747 1.1.1.1.2.2 yamt GCC=
748 1.1.1.1.2.2 yamt fi
749 1.1.1.1.2.2 yamt
750 1.1.1.1.2.2 yamt ac_test_CFLAGS="${CFLAGS+set}"
751 1.1.1.1.2.2 yamt ac_save_CFLAGS="$CFLAGS"
752 1.1.1.1.2.2 yamt CFLAGS=
753 1.1.1.1.2.2 yamt echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
754 1.1.1.1.2.2 yamt echo "configure:755: checking whether ${CC-cc} accepts -g" >&5
755 1.1.1.1.2.2 yamt if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
756 1.1.1.1.2.2 yamt echo $ac_n "(cached) $ac_c" 1>&6
757 1.1.1.1.2.2 yamt else
758 1.1.1.1.2.2 yamt echo 'void f(){}' > conftest.c
759 1.1.1.1.2.2 yamt if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
760 1.1.1.1.2.2 yamt ac_cv_prog_cc_g=yes
761 1.1.1.1.2.2 yamt else
762 1.1.1.1.2.2 yamt ac_cv_prog_cc_g=no
763 1.1.1.1.2.2 yamt fi
764 1.1.1.1.2.2 yamt rm -f conftest*
765 1.1.1.1.2.2 yamt
766 1.1.1.1.2.2 yamt fi
767 1.1.1.1.2.2 yamt
768 1.1.1.1.2.2 yamt echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
769 1.1.1.1.2.2 yamt if test "$ac_test_CFLAGS" = set; then
770 1.1.1.1.2.2 yamt CFLAGS="$ac_save_CFLAGS"
771 1.1.1.1.2.2 yamt elif test $ac_cv_prog_cc_g = yes; then
772 1.1.1.1.2.2 yamt if test "$GCC" = yes; then
773 1.1.1.1.2.2 yamt CFLAGS="-g -O2"
774 1.1.1.1.2.2 yamt else
775 1.1.1.1.2.2 yamt CFLAGS="-g"
776 1.1.1.1.2.2 yamt fi
777 1.1.1.1.2.2 yamt else
778 1.1.1.1.2.2 yamt if test "$GCC" = yes; then
779 1.1.1.1.2.2 yamt CFLAGS="-O2"
780 1.1.1.1.2.2 yamt else
781 1.1.1.1.2.2 yamt CFLAGS=
782 1.1.1.1.2.2 yamt fi
783 1.1.1.1.2.2 yamt fi
784 1.1.1.1.2.2 yamt
785 1.1.1.1.2.2 yamt else
786 1.1.1.1.2.2 yamt CC=${CC-cc}
787 1.1.1.1.2.2 yamt
788 1.1.1.1.2.2 yamt fi
789 1.1.1.1.2.2 yamt
790 1.1.1.1.2.2 yamt ac_aux_dir=
791 1.1.1.1.2.2 yamt for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
792 1.1.1.1.2.2 yamt if test -f $ac_dir/install-sh; then
793 1.1.1.1.2.2 yamt ac_aux_dir=$ac_dir
794 1.1.1.1.2.2 yamt ac_install_sh="$ac_aux_dir/install-sh -c"
795 1.1.1.1.2.2 yamt break
796 1.1.1.1.2.2 yamt elif test -f $ac_dir/install.sh; then
797 1.1.1.1.2.2 yamt ac_aux_dir=$ac_dir
798 1.1.1.1.2.2 yamt ac_install_sh="$ac_aux_dir/install.sh -c"
799 1.1.1.1.2.2 yamt break
800 1.1.1.1.2.2 yamt fi
801 1.1.1.1.2.2 yamt done
802 1.1.1.1.2.2 yamt if test -z "$ac_aux_dir"; then
803 1.1.1.1.2.2 yamt { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
804 1.1.1.1.2.2 yamt fi
805 1.1.1.1.2.2 yamt ac_config_guess=$ac_aux_dir/config.guess
806 1.1.1.1.2.2 yamt ac_config_sub=$ac_aux_dir/config.sub
807 1.1.1.1.2.2 yamt ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
808 1.1.1.1.2.2 yamt
809 1.1.1.1.2.2 yamt # Find a good install program. We prefer a C program (faster),
810 1.1.1.1.2.2 yamt # so one script is as good as another. But avoid the broken or
811 1.1.1.1.2.2 yamt # incompatible versions:
812 1.1.1.1.2.2 yamt # SysV /etc/install, /usr/sbin/install
813 1.1.1.1.2.2 yamt # SunOS /usr/etc/install
814 1.1.1.1.2.2 yamt # IRIX /sbin/install
815 1.1.1.1.2.2 yamt # AIX /bin/install
816 1.1.1.1.2.2 yamt # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
817 1.1.1.1.2.2 yamt # AFS /usr/afsws/bin/install, which mishandles nonexistent args
818 1.1.1.1.2.2 yamt # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
819 1.1.1.1.2.2 yamt # ./install, which can be erroneously created by make from ./install.sh.
820 1.1.1.1.2.2 yamt echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
821 1.1.1.1.2.2 yamt echo "configure:822: checking for a BSD compatible install" >&5
822 1.1.1.1.2.2 yamt if test -z "$INSTALL"; then
823 1.1.1.1.2.2 yamt if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
824 1.1.1.1.2.2 yamt echo $ac_n "(cached) $ac_c" 1>&6
825 1.1.1.1.2.2 yamt else
826 1.1.1.1.2.2 yamt IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
827 1.1.1.1.2.2 yamt for ac_dir in $PATH; do
828 1.1.1.1.2.2 yamt # Account for people who put trailing slashes in PATH elements.
829 1.1.1.1.2.2 yamt case "$ac_dir/" in
830 1.1.1.1.2.2 yamt /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
831 1.1.1.1.2.2 yamt *)
832 1.1.1.1.2.2 yamt # OSF1 and SCO ODT 3.0 have their own names for install.
833 1.1.1.1.2.2 yamt # Don't use installbsd from OSF since it installs stuff as root
834 1.1.1.1.2.2 yamt # by default.
835 1.1.1.1.2.2 yamt for ac_prog in ginstall scoinst install; do
836 1.1.1.1.2.2 yamt if test -f $ac_dir/$ac_prog; then
837 1.1.1.1.2.2 yamt if test $ac_prog = install &&
838 1.1.1.1.2.2 yamt grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
839 1.1.1.1.2.2 yamt # AIX install. It has an incompatible calling convention.
840 1.1.1.1.2.2 yamt :
841 1.1.1.1.2.2 yamt else
842 1.1.1.1.2.2 yamt ac_cv_path_install="$ac_dir/$ac_prog -c"
843 1.1.1.1.2.2 yamt break 2
844 1.1.1.1.2.2 yamt fi
845 1.1.1.1.2.2 yamt fi
846 1.1.1.1.2.2 yamt done
847 1.1.1.1.2.2 yamt ;;
848 1.1.1.1.2.2 yamt esac
849 1.1.1.1.2.2 yamt done
850 1.1.1.1.2.2 yamt IFS="$ac_save_IFS"
851 1.1.1.1.2.2 yamt
852 1.1.1.1.2.2 yamt fi
853 1.1.1.1.2.2 yamt if test "${ac_cv_path_install+set}" = set; then
854 1.1.1.1.2.2 yamt INSTALL="$ac_cv_path_install"
855 1.1.1.1.2.2 yamt else
856 1.1.1.1.2.2 yamt # As a last resort, use the slow shell script. We don't cache a
857 1.1.1.1.2.2 yamt # path for INSTALL within a source directory, because that will
858 1.1.1.1.2.2 yamt # break other packages using the cache if that directory is
859 1.1.1.1.2.2 yamt # removed, or if the path is relative.
860 1.1.1.1.2.2 yamt INSTALL="$ac_install_sh"
861 1.1.1.1.2.2 yamt fi
862 1.1.1.1.2.2 yamt fi
863 1.1.1.1.2.2 yamt echo "$ac_t""$INSTALL" 1>&6
864 1.1.1.1.2.2 yamt
865 1.1.1.1.2.2 yamt # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
866 1.1.1.1.2.2 yamt # It thinks the first close brace ends the variable substitution.
867 1.1.1.1.2.2 yamt test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
868 1.1.1.1.2.2 yamt
869 1.1.1.1.2.2 yamt test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
870 1.1.1.1.2.2 yamt
871 1.1.1.1.2.2 yamt test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
872 1.1.1.1.2.2 yamt
873 1.1.1.1.2.2 yamt # Extract the first word of "ranlib", so it can be a program name with args.
874 1.1.1.1.2.2 yamt set dummy ranlib; ac_word=$2
875 1.1.1.1.2.2 yamt echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
876 1.1.1.1.2.2 yamt echo "configure:877: checking for $ac_word" >&5
877 1.1.1.1.2.2 yamt if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
878 1.1.1.1.2.2 yamt echo $ac_n "(cached) $ac_c" 1>&6
879 1.1.1.1.2.2 yamt else
880 1.1.1.1.2.2 yamt if test -n "$RANLIB"; then
881 1.1.1.1.2.2 yamt ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
882 1.1.1.1.2.2 yamt else
883 1.1.1.1.2.2 yamt IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
884 1.1.1.1.2.2 yamt ac_dummy="$PATH"
885 1.1.1.1.2.2 yamt for ac_dir in $ac_dummy; do
886 1.1.1.1.2.2 yamt test -z "$ac_dir" && ac_dir=.
887 1.1.1.1.2.2 yamt if test -f $ac_dir/$ac_word; then
888 1.1.1.1.2.2 yamt ac_cv_prog_RANLIB="ranlib"
889 1.1.1.1.2.2 yamt break
890 1.1.1.1.2.2 yamt fi
891 1.1.1.1.2.2 yamt done
892 1.1.1.1.2.2 yamt IFS="$ac_save_ifs"
893 1.1.1.1.2.2 yamt test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
894 1.1.1.1.2.2 yamt fi
895 1.1.1.1.2.2 yamt fi
896 1.1.1.1.2.2 yamt RANLIB="$ac_cv_prog_RANLIB"
897 1.1.1.1.2.2 yamt if test -n "$RANLIB"; then
898 1.1.1.1.2.2 yamt echo "$ac_t""$RANLIB" 1>&6
899 1.1.1.1.2.2 yamt else
900 1.1.1.1.2.2 yamt echo "$ac_t""no" 1>&6
901 1.1.1.1.2.2 yamt fi
902 1.1.1.1.2.2 yamt
903 1.1.1.1.2.2 yamt
904 1.1.1.1.2.2 yamt if test ! -f $exec_prefix/lib/tclConfig.sh
905 1.1.1.1.2.2 yamt then
906 1.1.1.1.2.2 yamt { echo "configure: error: Tcl must be installed first" 1>&2; exit 1; }
907 1.1.1.1.2.2 yamt fi
908 1.1.1.1.2.2 yamt
909 1.1.1.1.2.2 yamt . $exec_prefix/lib/tclConfig.sh
910 1.1.1.1.2.2 yamt
911 1.1.1.1.2.2 yamt if test ! -f $exec_prefix/lib/tclxConfig.sh
912 1.1.1.1.2.2 yamt then
913 1.1.1.1.2.2 yamt { echo "configure: error: Extended Tcl must be installed first" 1>&2; exit 1; }
914 1.1.1.1.2.2 yamt fi
915 1.1.1.1.2.2 yamt . $exec_prefix/lib/tclxConfig.sh
916 1.1.1.1.2.2 yamt
917 1.1.1.1.2.2 yamt
918 1.1.1.1.2.2 yamt #--------------------------------------------------------------------
919 1.1.1.1.2.2 yamt # See if there was a command-line option for where Tk is; if
920 1.1.1.1.2.2 yamt # not, assume that its top-level directory is a sibling of ours.
921 1.1.1.1.2.2 yamt #--------------------------------------------------------------------
922 1.1.1.1.2.2 yamt
923 1.1.1.1.2.2 yamt # Check whether --with-tk or --without-tk was given.
924 1.1.1.1.2.2 yamt if test "${with_tk+set}" = set; then
925 1.1.1.1.2.2 yamt withval="$with_tk"
926 1.1.1.1.2.2 yamt :
927 1.1.1.1.2.2 yamt else
928 1.1.1.1.2.2 yamt with_tk=yes
929 1.1.1.1.2.2 yamt fi
930 1.1.1.1.2.2 yamt
931 1.1.1.1.2.2 yamt
932 1.1.1.1.2.2 yamt case "$with_tk" in
933 1.1.1.1.2.2 yamt yes)
934 1.1.1.1.2.2 yamt if test -f $exec_prefix/lib/tkConfig.sh &&
935 1.1.1.1.2.2 yamt test -f $exec_prefix/lib/tkxConfig.sh
936 1.1.1.1.2.2 yamt then
937 1.1.1.1.2.2 yamt :
938 1.1.1.1.2.2 yamt else
939 1.1.1.1.2.2 yamt { echo "configure: error: Tk does not appear to be installed at $exec_prefix" 1>&2; exit 1; }
940 1.1.1.1.2.2 yamt fi
941 1.1.1.1.2.2 yamt ;;
942 1.1.1.1.2.2 yamt no) ;;
943 1.1.1.1.2.2 yamt *) { echo "configure: error: Tk cannot be specified and must be in $exec_prefix" 1>&2; exit 1; }
944 1.1.1.1.2.2 yamt ;;
945 1.1.1.1.2.2 yamt esac
946 1.1.1.1.2.2 yamt
947 1.1.1.1.2.2 yamt # Check whether --with-x or --without-x was given.
948 1.1.1.1.2.2 yamt if test "${with_x+set}" = set; then
949 1.1.1.1.2.2 yamt withval="$with_x"
950 1.1.1.1.2.2 yamt :
951 1.1.1.1.2.2 yamt fi
952 1.1.1.1.2.2 yamt
953 1.1.1.1.2.2 yamt if test "$with_x" = "no"
954 1.1.1.1.2.2 yamt then
955 1.1.1.1.2.2 yamt with_tk=no
956 1.1.1.1.2.2 yamt fi
957 1.1.1.1.2.2 yamt
958 1.1.1.1.2.2 yamt if test "$with_tk" != "no"
959 1.1.1.1.2.2 yamt then
960 1.1.1.1.2.2 yamt LDAPWISH=ldapwish
961 1.1.1.1.2.2 yamt . $exec_prefix/lib/tkConfig.sh
962 1.1.1.1.2.2 yamt . $exec_prefix/lib/tkxConfig.sh
963 1.1.1.1.2.2 yamt fi
964 1.1.1.1.2.2 yamt
965 1.1.1.1.2.2 yamt
966 1.1.1.1.2.2 yamt
967 1.1.1.1.2.2 yamt
968 1.1.1.1.2.2 yamt
969 1.1.1.1.2.2 yamt
970 1.1.1.1.2.2 yamt
971 1.1.1.1.2.2 yamt #--------------------------------------------------------------------
972 1.1.1.1.2.2 yamt # Read in configuration information generated by Tcl for shared
973 1.1.1.1.2.2 yamt # libraries, and arrange for it to be substituted into our
974 1.1.1.1.2.2 yamt # Makefile.
975 1.1.1.1.2.2 yamt #--------------------------------------------------------------------
976 1.1.1.1.2.2 yamt
977 1.1.1.1.2.2 yamt CC=$TCL_CC
978 1.1.1.1.2.2 yamt SHLIB_CFLAGS=$TCL_SHLIB_CFLAGS
979 1.1.1.1.2.2 yamt SHLIB_LD=$TCL_SHLIB_LD
980 1.1.1.1.2.2 yamt SHLIB_LD_LIBS=$TCL_SHLIB_LD_LIBS
981 1.1.1.1.2.2 yamt SHLIB_SUFFIX=$TCL_SHLIB_SUFFIX
982 1.1.1.1.2.2 yamt SHLIB_VERSION=$TCL_SHLIB_VERSION
983 1.1.1.1.2.2 yamt DL_LIBS=$TCL_DL_LIBS
984 1.1.1.1.2.2 yamt LD_FLAGS=$TCL_LD_FLAGS
985 1.1.1.1.2.2 yamt NEO_LD_SEARCH_FLAGS=$TCL_LD_SEARCH_FLAGS
986 1.1.1.1.2.2 yamt
987 1.1.1.1.2.2 yamt eval "NEO_SHARED_LIB_FILE=libldaptcl${TCL_SHARED_LIB_SUFFIX}"
988 1.1.1.1.2.2 yamt eval "NEO_UNSHARED_LIB_FILE=libldaptcl${TCL_UNSHARED_LIB_SUFFIX}"
989 1.1.1.1.2.2 yamt
990 1.1.1.1.2.2 yamt #--------------------------------------------------------------------
991 1.1.1.1.2.2 yamt # The statements below define a collection of symbols related to
992 1.1.1.1.2.2 yamt # building libldap as a shared library instead of a static library.
993 1.1.1.1.2.2 yamt #--------------------------------------------------------------------
994 1.1.1.1.2.2 yamt
995 1.1.1.1.2.2 yamt # Warning: in order to use the following code for libldap and libdb versions,
996 1.1.1.1.2.2 yamt # the VERSION shell variable is modified, and then is restored after.
997 1.1.1.1.2.2 yamt
998 1.1.1.1.2.2 yamt # Check whether --enable-shared or --disable-shared was given.
999 1.1.1.1.2.2 yamt if test "${enable_shared+set}" = set; then
1000 1.1.1.1.2.2 yamt enableval="$enable_shared"
1001 1.1.1.1.2.2 yamt ok=$enableval
1002 1.1.1.1.2.2 yamt else
1003 1.1.1.1.2.2 yamt ok=no
1004 1.1.1.1.2.2 yamt fi
1005 1.1.1.1.2.2 yamt
1006 1.1.1.1.2.2 yamt if test "$ok" = "yes" && test "${SHLIB_SUFFIX}" != ""; then
1007 1.1.1.1.2.2 yamt NEO_SHLIB_CFLAGS="${SHLIB_CFLAGS}"
1008 1.1.1.1.2.2 yamt eval "NEO_LIB_FILE=libldaptcl${TCL_SHARED_LIB_SUFFIX}"
1009 1.1.1.1.2.2 yamt MAKE_LIB="\${SHLIB_LD} $TCL_LIB_HNAME -o ${NEO_LIB_FILE} \${OBJS} \${LDAP_LIBFLAGS}"
1010 1.1.1.1.2.2 yamt RANLIB=":"
1011 1.1.1.1.2.2 yamt else
1012 1.1.1.1.2.2 yamt NEO_SHLIB_CFLAGS=""
1013 1.1.1.1.2.2 yamt eval "NEO_LIB_FILE=libldaptcl${TCL_UNSHARED_LIB_SUFFIX}"
1014 1.1.1.1.2.2 yamt MAKE_LIB="ar cr ${NEO_LIB_FILE} \${OBJS}"
1015 1.1.1.1.2.2 yamt fi
1016 1.1.1.1.2.2 yamt
1017 1.1.1.1.2.2 yamt # Check whether --with-ldap or --without-ldap was given.
1018 1.1.1.1.2.2 yamt if test "${with_ldap+set}" = set; then
1019 1.1.1.1.2.2 yamt withval="$with_ldap"
1020 1.1.1.1.2.2 yamt neo_ldap=$withval
1021 1.1.1.1.2.2 yamt case $withval in
1022 1.1.1.1.2.2 yamt yes) ldapdir=/usr/local
1023 1.1.1.1.2.2 yamt ;;
1024 1.1.1.1.2.2 yamt no) ;;
1025 1.1.1.1.2.2 yamt *) ldapdir=$withval
1026 1.1.1.1.2.2 yamt neo_ldap=yes
1027 1.1.1.1.2.2 yamt ;;
1028 1.1.1.1.2.2 yamt esac
1029 1.1.1.1.2.2 yamt
1030 1.1.1.1.2.2 yamt else
1031 1.1.1.1.2.2 yamt
1032 1.1.1.1.2.2 yamt neo_ldap=yes
1033 1.1.1.1.2.2 yamt ldapdir=/usr/local
1034 1.1.1.1.2.2 yamt
1035 1.1.1.1.2.2 yamt fi
1036 1.1.1.1.2.2 yamt
1037 1.1.1.1.2.2 yamt
1038 1.1.1.1.2.2 yamt ldapincdir=$ldapdir/include
1039 1.1.1.1.2.2 yamt # Check whether --with-ldap-incdir or --without-ldap-incdir was given.
1040 1.1.1.1.2.2 yamt if test "${with_ldap_incdir+set}" = set; then
1041 1.1.1.1.2.2 yamt withval="$with_ldap_incdir"
1042 1.1.1.1.2.2 yamt ldapincdir=$withval
1043 1.1.1.1.2.2 yamt fi
1044 1.1.1.1.2.2 yamt
1045 1.1.1.1.2.2 yamt
1046 1.1.1.1.2.2 yamt ldaplibdir=$ldapdir/lib
1047 1.1.1.1.2.2 yamt # Check whether --with-ldap-libdir or --without-ldap-libdir was given.
1048 1.1.1.1.2.2 yamt if test "${with_ldap_libdir+set}" = set; then
1049 1.1.1.1.2.2 yamt withval="$with_ldap_libdir"
1050 1.1.1.1.2.2 yamt ldaplibdir=$withval
1051 1.1.1.1.2.2 yamt fi
1052 1.1.1.1.2.2 yamt
1053 1.1.1.1.2.2 yamt
1054 1.1.1.1.2.2 yamt # Check whether --with-ldap-libraries or --without-ldap-libraries was given.
1055 1.1.1.1.2.2 yamt if test "${with_ldap_libraries+set}" = set; then
1056 1.1.1.1.2.2 yamt withval="$with_ldap_libraries"
1057 1.1.1.1.2.2 yamt ldaplibflags="-L$ldaplibdir $withval"
1058 1.1.1.1.2.2 yamt else
1059 1.1.1.1.2.2 yamt ldaplibflags="-L$ldaplibdir -lldap -llber"
1060 1.1.1.1.2.2 yamt fi
1061 1.1.1.1.2.2 yamt
1062 1.1.1.1.2.2 yamt
1063 1.1.1.1.2.2 yamt ldapinclude="-I$ldapincdir"
1064 1.1.1.1.2.2 yamt
1065 1.1.1.1.2.2 yamt ldapbuild=yes
1066 1.1.1.1.2.2 yamt
1067 1.1.1.1.2.2 yamt
1068 1.1.1.1.2.2 yamt
1069 1.1.1.1.2.2 yamt
1070 1.1.1.1.2.2 yamt
1071 1.1.1.1.2.2 yamt
1072 1.1.1.1.2.2 yamt
1073 1.1.1.1.2.2 yamt
1074 1.1.1.1.2.2 yamt VERSION=${NEO_VERSION}
1075 1.1.1.1.2.2 yamt # Note: in the following variable, it's important to use the absolute
1076 1.1.1.1.2.2 yamt # path name of the Tcl directory rather than "..": this is because
1077 1.1.1.1.2.2 yamt # AIX remembers this path and will attempt to use it at run-time to look
1078 1.1.1.1.2.2 yamt # up the Tcl library.
1079 1.1.1.1.2.2 yamt
1080 1.1.1.1.2.2 yamt if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
1081 1.1.1.1.2.2 yamt NEO_BUILD_LIB_SPEC="-L`pwd` -lldaptcl${VERSION}"
1082 1.1.1.1.2.2 yamt NEO_LIB_SPEC="-L${exec_prefix}/lib -lldaptcl${VERSION}"
1083 1.1.1.1.2.2 yamt else
1084 1.1.1.1.2.2 yamt NEO_BUILD_LIB_SPEC="-L`pwd` -lldaptcl`echo ${VERSION} | tr -d .`"
1085 1.1.1.1.2.2 yamt NEO_LIB_SPEC="-L${exec_prefix}/lib -lldaptcl`echo ${VERSION} | tr -d .`"
1086 1.1.1.1.2.2 yamt fi
1087 1.1.1.1.2.2 yamt
1088 1.1.1.1.2.2 yamt
1089 1.1.1.1.2.2 yamt
1090 1.1.1.1.2.2 yamt
1091 1.1.1.1.2.2 yamt
1092 1.1.1.1.2.2 yamt
1093 1.1.1.1.2.2 yamt
1094 1.1.1.1.2.2 yamt
1095 1.1.1.1.2.2 yamt
1096 1.1.1.1.2.2 yamt
1097 1.1.1.1.2.2 yamt
1098 1.1.1.1.2.2 yamt
1099 1.1.1.1.2.2 yamt
1100 1.1.1.1.2.2 yamt
1101 1.1.1.1.2.2 yamt
1102 1.1.1.1.2.2 yamt
1103 1.1.1.1.2.2 yamt
1104 1.1.1.1.2.2 yamt
1105 1.1.1.1.2.2 yamt
1106 1.1.1.1.2.2 yamt
1107 1.1.1.1.2.2 yamt
1108 1.1.1.1.2.2 yamt
1109 1.1.1.1.2.2 yamt
1110 1.1.1.1.2.2 yamt
1111 1.1.1.1.2.2 yamt
1112 1.1.1.1.2.2 yamt
1113 1.1.1.1.2.2 yamt
1114 1.1.1.1.2.2 yamt
1115 1.1.1.1.2.2 yamt
1116 1.1.1.1.2.2 yamt
1117 1.1.1.1.2.2 yamt
1118 1.1.1.1.2.2 yamt
1119 1.1.1.1.2.2 yamt
1120 1.1.1.1.2.2 yamt
1121 1.1.1.1.2.2 yamt
1122 1.1.1.1.2.2 yamt trap '' 1 2 15
1123 1.1.1.1.2.2 yamt cat > confcache <<\EOF
1124 1.1.1.1.2.2 yamt # This file is a shell script that caches the results of configure
1125 1.1.1.1.2.2 yamt # tests run on this system so they can be shared between configure
1126 1.1.1.1.2.2 yamt # scripts and configure runs. It is not useful on other systems.
1127 1.1.1.1.2.2 yamt # If it contains results you don't want to keep, you may remove or edit it.
1128 1.1.1.1.2.2 yamt #
1129 1.1.1.1.2.2 yamt # By default, configure uses ./config.cache as the cache file,
1130 1.1.1.1.2.2 yamt # creating it if it does not exist already. You can give configure
1131 1.1.1.1.2.2 yamt # the --cache-file=FILE option to use a different cache file; that is
1132 1.1.1.1.2.2 yamt # what configure does when it calls configure scripts in
1133 1.1.1.1.2.2 yamt # subdirectories, so they share the cache.
1134 1.1.1.1.2.2 yamt # Giving --cache-file=/dev/null disables caching, for debugging configure.
1135 1.1.1.1.2.2 yamt # config.status only pays attention to the cache file if you give it the
1136 1.1.1.1.2.2 yamt # --recheck option to rerun configure.
1137 1.1.1.1.2.2 yamt #
1138 1.1.1.1.2.2 yamt EOF
1139 1.1.1.1.2.2 yamt # The following way of writing the cache mishandles newlines in values,
1140 1.1.1.1.2.2 yamt # but we know of no workaround that is simple, portable, and efficient.
1141 1.1.1.1.2.2 yamt # So, don't put newlines in cache variables' values.
1142 1.1.1.1.2.2 yamt # Ultrix sh set writes to stderr and can't be redirected directly,
1143 1.1.1.1.2.2 yamt # and sets the high bit in the cache file unless we assign to the vars.
1144 1.1.1.1.2.2 yamt (set) 2>&1 |
1145 1.1.1.1.2.2 yamt case `(ac_space=' '; set | grep ac_space) 2>&1` in
1146 1.1.1.1.2.2 yamt *ac_space=\ *)
1147 1.1.1.1.2.2 yamt # `set' does not quote correctly, so add quotes (double-quote substitution
1148 1.1.1.1.2.2 yamt # turns \\\\ into \\, and sed turns \\ into \).
1149 1.1.1.1.2.2 yamt sed -n \
1150 1.1.1.1.2.2 yamt -e "s/'/'\\\\''/g" \
1151 1.1.1.1.2.2 yamt -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1152 1.1.1.1.2.2 yamt ;;
1153 1.1.1.1.2.2 yamt *)
1154 1.1.1.1.2.2 yamt # `set' quotes correctly as required by POSIX, so do not add quotes.
1155 1.1.1.1.2.2 yamt sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1156 1.1.1.1.2.2 yamt ;;
1157 1.1.1.1.2.2 yamt esac >> confcache
1158 1.1.1.1.2.2 yamt if cmp -s $cache_file confcache; then
1159 1.1.1.1.2.2 yamt :
1160 1.1.1.1.2.2 yamt else
1161 1.1.1.1.2.2 yamt if test -w $cache_file; then
1162 1.1.1.1.2.2 yamt echo "updating cache $cache_file"
1163 1.1.1.1.2.2 yamt cat confcache > $cache_file
1164 1.1.1.1.2.2 yamt else
1165 1.1.1.1.2.2 yamt echo "not updating unwritable cache $cache_file"
1166 1.1.1.1.2.2 yamt fi
1167 1.1.1.1.2.2 yamt fi
1168 1.1.1.1.2.2 yamt rm -f confcache
1169 1.1.1.1.2.2 yamt
1170 1.1.1.1.2.2 yamt trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1171 1.1.1.1.2.2 yamt
1172 1.1.1.1.2.2 yamt test "x$prefix" = xNONE && prefix=$ac_default_prefix
1173 1.1.1.1.2.2 yamt # Let make expand exec_prefix.
1174 1.1.1.1.2.2 yamt test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1175 1.1.1.1.2.2 yamt
1176 1.1.1.1.2.2 yamt # Any assignment to VPATH causes Sun make to only execute
1177 1.1.1.1.2.2 yamt # the first set of double-colon rules, so remove it if not needed.
1178 1.1.1.1.2.2 yamt # If there is a colon in the path, we need to keep it.
1179 1.1.1.1.2.2 yamt if test "x$srcdir" = x.; then
1180 1.1.1.1.2.2 yamt ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1181 1.1.1.1.2.2 yamt fi
1182 1.1.1.1.2.2 yamt
1183 1.1.1.1.2.2 yamt trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1184 1.1.1.1.2.2 yamt
1185 1.1.1.1.2.2 yamt # Transform confdefs.h into DEFS.
1186 1.1.1.1.2.2 yamt # Protect against shell expansion while executing Makefile rules.
1187 1.1.1.1.2.2 yamt # Protect against Makefile macro expansion.
1188 1.1.1.1.2.2 yamt cat > conftest.defs <<\EOF
1189 1.1.1.1.2.2 yamt s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1190 1.1.1.1.2.2 yamt s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1191 1.1.1.1.2.2 yamt s%\[%\\&%g
1192 1.1.1.1.2.2 yamt s%\]%\\&%g
1193 1.1.1.1.2.2 yamt s%\$%$$%g
1194 1.1.1.1.2.2 yamt EOF
1195 1.1.1.1.2.2 yamt DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1196 1.1.1.1.2.2 yamt rm -f conftest.defs
1197 1.1.1.1.2.2 yamt
1198 1.1.1.1.2.2 yamt
1199 1.1.1.1.2.2 yamt # Without the "./", some shells look in PATH for config.status.
1200 1.1.1.1.2.2 yamt : ${CONFIG_STATUS=./config.status}
1201 1.1.1.1.2.2 yamt
1202 1.1.1.1.2.2 yamt echo creating $CONFIG_STATUS
1203 1.1.1.1.2.2 yamt rm -f $CONFIG_STATUS
1204 1.1.1.1.2.2 yamt cat > $CONFIG_STATUS <<EOF
1205 1.1.1.1.2.2 yamt #! /bin/sh
1206 1.1.1.1.2.2 yamt # Generated automatically by configure.
1207 1.1.1.1.2.2 yamt # Run this file to recreate the current configuration.
1208 1.1.1.1.2.2 yamt # This directory was configured as follows,
1209 1.1.1.1.2.2 yamt # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1210 1.1.1.1.2.2 yamt #
1211 1.1.1.1.2.2 yamt # $0 $ac_configure_args
1212 1.1.1.1.2.2 yamt #
1213 1.1.1.1.2.2 yamt # Compiler output produced by configure, useful for debugging
1214 1.1.1.1.2.2 yamt # configure, is in ./config.log if it exists.
1215 1.1.1.1.2.2 yamt
1216 1.1.1.1.2.2 yamt ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1217 1.1.1.1.2.2 yamt for ac_option
1218 1.1.1.1.2.2 yamt do
1219 1.1.1.1.2.2 yamt case "\$ac_option" in
1220 1.1.1.1.2.2 yamt -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1221 1.1.1.1.2.2 yamt echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1222 1.1.1.1.2.2 yamt exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1223 1.1.1.1.2.2 yamt -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1224 1.1.1.1.2.2 yamt echo "$CONFIG_STATUS generated by autoconf version 2.13"
1225 1.1.1.1.2.2 yamt exit 0 ;;
1226 1.1.1.1.2.2 yamt -help | --help | --hel | --he | --h)
1227 1.1.1.1.2.2 yamt echo "\$ac_cs_usage"; exit 0 ;;
1228 1.1.1.1.2.2 yamt *) echo "\$ac_cs_usage"; exit 1 ;;
1229 1.1.1.1.2.2 yamt esac
1230 1.1.1.1.2.2 yamt done
1231 1.1.1.1.2.2 yamt
1232 1.1.1.1.2.2 yamt ac_given_srcdir=$srcdir
1233 1.1.1.1.2.2 yamt ac_given_INSTALL="$INSTALL"
1234 1.1.1.1.2.2 yamt
1235 1.1.1.1.2.2 yamt trap 'rm -fr `echo "Makefile pkgIndex.tcl" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1236 1.1.1.1.2.2 yamt EOF
1237 1.1.1.1.2.2 yamt cat >> $CONFIG_STATUS <<EOF
1238 1.1.1.1.2.2 yamt
1239 1.1.1.1.2.2 yamt # Protect against being on the right side of a sed subst in config.status.
1240 1.1.1.1.2.2 yamt sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1241 1.1.1.1.2.2 yamt s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1242 1.1.1.1.2.2 yamt $ac_vpsub
1243 1.1.1.1.2.2 yamt $extrasub
1244 1.1.1.1.2.2 yamt s%@SHELL@%$SHELL%g
1245 1.1.1.1.2.2 yamt s%@CFLAGS@%$CFLAGS%g
1246 1.1.1.1.2.2 yamt s%@CPPFLAGS@%$CPPFLAGS%g
1247 1.1.1.1.2.2 yamt s%@CXXFLAGS@%$CXXFLAGS%g
1248 1.1.1.1.2.2 yamt s%@FFLAGS@%$FFLAGS%g
1249 1.1.1.1.2.2 yamt s%@DEFS@%$DEFS%g
1250 1.1.1.1.2.2 yamt s%@LDFLAGS@%$LDFLAGS%g
1251 1.1.1.1.2.2 yamt s%@LIBS@%$LIBS%g
1252 1.1.1.1.2.2 yamt s%@exec_prefix@%$exec_prefix%g
1253 1.1.1.1.2.2 yamt s%@prefix@%$prefix%g
1254 1.1.1.1.2.2 yamt s%@program_transform_name@%$program_transform_name%g
1255 1.1.1.1.2.2 yamt s%@bindir@%$bindir%g
1256 1.1.1.1.2.2 yamt s%@sbindir@%$sbindir%g
1257 1.1.1.1.2.2 yamt s%@libexecdir@%$libexecdir%g
1258 1.1.1.1.2.2 yamt s%@datadir@%$datadir%g
1259 1.1.1.1.2.2 yamt s%@sysconfdir@%$sysconfdir%g
1260 1.1.1.1.2.2 yamt s%@sharedstatedir@%$sharedstatedir%g
1261 1.1.1.1.2.2 yamt s%@localstatedir@%$localstatedir%g
1262 1.1.1.1.2.2 yamt s%@libdir@%$libdir%g
1263 1.1.1.1.2.2 yamt s%@includedir@%$includedir%g
1264 1.1.1.1.2.2 yamt s%@oldincludedir@%$oldincludedir%g
1265 1.1.1.1.2.2 yamt s%@infodir@%$infodir%g
1266 1.1.1.1.2.2 yamt s%@mandir@%$mandir%g
1267 1.1.1.1.2.2 yamt s%@CC@%$CC%g
1268 1.1.1.1.2.2 yamt s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1269 1.1.1.1.2.2 yamt s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1270 1.1.1.1.2.2 yamt s%@INSTALL_DATA@%$INSTALL_DATA%g
1271 1.1.1.1.2.2 yamt s%@RANLIB@%$RANLIB%g
1272 1.1.1.1.2.2 yamt s%@TK_LIBS@%$TK_LIBS%g
1273 1.1.1.1.2.2 yamt s%@TK_LIB_SPEC@%$TK_LIB_SPEC%g
1274 1.1.1.1.2.2 yamt s%@TK_XINCLUDES@%$TK_XINCLUDES%g
1275 1.1.1.1.2.2 yamt s%@TK_VERSION@%$TK_VERSION%g
1276 1.1.1.1.2.2 yamt s%@TKX_LIB_SPEC@%$TKX_LIB_SPEC%g
1277 1.1.1.1.2.2 yamt s%@LDAPWISH@%$LDAPWISH%g
1278 1.1.1.1.2.2 yamt s%@ldaplibflags@%$ldaplibflags%g
1279 1.1.1.1.2.2 yamt s%@ldapinclude@%$ldapinclude%g
1280 1.1.1.1.2.2 yamt s%@ldapbuild@%$ldapbuild%g
1281 1.1.1.1.2.2 yamt s%@ldapdir@%$ldapdir%g
1282 1.1.1.1.2.2 yamt s%@ldapincdir@%$ldapincdir%g
1283 1.1.1.1.2.2 yamt s%@DL_LIBS@%$DL_LIBS%g
1284 1.1.1.1.2.2 yamt s%@LD_FLAGS@%$LD_FLAGS%g
1285 1.1.1.1.2.2 yamt s%@MATH_LIBS@%$MATH_LIBS%g
1286 1.1.1.1.2.2 yamt s%@MAKE_LIB@%$MAKE_LIB%g
1287 1.1.1.1.2.2 yamt s%@SHLIB_CFLAGS@%$SHLIB_CFLAGS%g
1288 1.1.1.1.2.2 yamt s%@SHLIB_LD@%$SHLIB_LD%g
1289 1.1.1.1.2.2 yamt s%@SHLIB_LD_LIBS@%$SHLIB_LD_LIBS%g
1290 1.1.1.1.2.2 yamt s%@SHLIB_SUFFIX@%$SHLIB_SUFFIX%g
1291 1.1.1.1.2.2 yamt s%@SHLIB_VERSION@%$SHLIB_VERSION%g
1292 1.1.1.1.2.2 yamt s%@TCLX_TOP_DIR@%$TCLX_TOP_DIR%g
1293 1.1.1.1.2.2 yamt s%@TCLX_TCL_DIR@%$TCLX_TCL_DIR%g
1294 1.1.1.1.2.2 yamt s%@TCLX_LIB_SPEC@%$TCLX_LIB_SPEC%g
1295 1.1.1.1.2.2 yamt s%@ITCL_LIB_SPEC@%$ITCL_LIB_SPEC%g
1296 1.1.1.1.2.2 yamt s%@TCL_LIBS@%$TCL_LIBS%g
1297 1.1.1.1.2.2 yamt s%@TCL_SRC_DIR@%$TCL_SRC_DIR%g
1298 1.1.1.1.2.2 yamt s%@TCL_BIN_DIR@%$TCL_BIN_DIR%g
1299 1.1.1.1.2.2 yamt s%@TCL_LIB_SPEC@%$TCL_LIB_SPEC%g
1300 1.1.1.1.2.2 yamt s%@TCL_LD_SEARCH_FLAGS@%$TCL_LD_SEARCH_FLAGS%g
1301 1.1.1.1.2.2 yamt s%@TCL_LIB_HNAME@%$TCL_LIB_HNAME%g
1302 1.1.1.1.2.2 yamt s%@TCL_VERSION@%$TCL_VERSION%g
1303 1.1.1.1.2.2 yamt s%@NEO_BUILD_LIB_SPEC@%$NEO_BUILD_LIB_SPEC%g
1304 1.1.1.1.2.2 yamt s%@NEO_LD_SEARCH_FLAGS@%$NEO_LD_SEARCH_FLAGS%g
1305 1.1.1.1.2.2 yamt s%@NEO_SHARED_LIB_FILE@%$NEO_SHARED_LIB_FILE%g
1306 1.1.1.1.2.2 yamt s%@NEO_UNSHARED_LIB_FILE@%$NEO_UNSHARED_LIB_FILE%g
1307 1.1.1.1.2.2 yamt s%@NEO_LIB_FILE@%$NEO_LIB_FILE%g
1308 1.1.1.1.2.2 yamt s%@NEO_LIB_SPEC@%$NEO_LIB_SPEC%g
1309 1.1.1.1.2.2 yamt s%@NEO_MAJOR_VERSION@%$NEO_MAJOR_VERSION%g
1310 1.1.1.1.2.2 yamt s%@NEO_MINOR_VERSION@%$NEO_MINOR_VERSION%g
1311 1.1.1.1.2.2 yamt s%@NEO_SHLIB_CFLAGS@%$NEO_SHLIB_CFLAGS%g
1312 1.1.1.1.2.2 yamt s%@NEO_VERSION@%$NEO_VERSION%g
1313 1.1.1.1.2.2 yamt
1314 1.1.1.1.2.2 yamt CEOF
1315 1.1.1.1.2.2 yamt EOF
1316 1.1.1.1.2.2 yamt
1317 1.1.1.1.2.2 yamt cat >> $CONFIG_STATUS <<\EOF
1318 1.1.1.1.2.2 yamt
1319 1.1.1.1.2.2 yamt # Split the substitutions into bite-sized pieces for seds with
1320 1.1.1.1.2.2 yamt # small command number limits, like on Digital OSF/1 and HP-UX.
1321 1.1.1.1.2.2 yamt ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1322 1.1.1.1.2.2 yamt ac_file=1 # Number of current file.
1323 1.1.1.1.2.2 yamt ac_beg=1 # First line for current file.
1324 1.1.1.1.2.2 yamt ac_end=$ac_max_sed_cmds # Line after last line for current file.
1325 1.1.1.1.2.2 yamt ac_more_lines=:
1326 1.1.1.1.2.2 yamt ac_sed_cmds=""
1327 1.1.1.1.2.2 yamt while $ac_more_lines; do
1328 1.1.1.1.2.2 yamt if test $ac_beg -gt 1; then
1329 1.1.1.1.2.2 yamt sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1330 1.1.1.1.2.2 yamt else
1331 1.1.1.1.2.2 yamt sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1332 1.1.1.1.2.2 yamt fi
1333 1.1.1.1.2.2 yamt if test ! -s conftest.s$ac_file; then
1334 1.1.1.1.2.2 yamt ac_more_lines=false
1335 1.1.1.1.2.2 yamt rm -f conftest.s$ac_file
1336 1.1.1.1.2.2 yamt else
1337 1.1.1.1.2.2 yamt if test -z "$ac_sed_cmds"; then
1338 1.1.1.1.2.2 yamt ac_sed_cmds="sed -f conftest.s$ac_file"
1339 1.1.1.1.2.2 yamt else
1340 1.1.1.1.2.2 yamt ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1341 1.1.1.1.2.2 yamt fi
1342 1.1.1.1.2.2 yamt ac_file=`expr $ac_file + 1`
1343 1.1.1.1.2.2 yamt ac_beg=$ac_end
1344 1.1.1.1.2.2 yamt ac_end=`expr $ac_end + $ac_max_sed_cmds`
1345 1.1.1.1.2.2 yamt fi
1346 1.1.1.1.2.2 yamt done
1347 1.1.1.1.2.2 yamt if test -z "$ac_sed_cmds"; then
1348 1.1.1.1.2.2 yamt ac_sed_cmds=cat
1349 1.1.1.1.2.2 yamt fi
1350 1.1.1.1.2.2 yamt EOF
1351 1.1.1.1.2.2 yamt
1352 1.1.1.1.2.2 yamt cat >> $CONFIG_STATUS <<EOF
1353 1.1.1.1.2.2 yamt
1354 1.1.1.1.2.2 yamt CONFIG_FILES=\${CONFIG_FILES-"Makefile pkgIndex.tcl"}
1355 1.1.1.1.2.2 yamt EOF
1356 1.1.1.1.2.2 yamt cat >> $CONFIG_STATUS <<\EOF
1357 1.1.1.1.2.2 yamt for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1358 1.1.1.1.2.2 yamt # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1359 1.1.1.1.2.2 yamt case "$ac_file" in
1360 1.1.1.1.2.2 yamt *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1361 1.1.1.1.2.2 yamt ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1362 1.1.1.1.2.2 yamt *) ac_file_in="${ac_file}.in" ;;
1363 1.1.1.1.2.2 yamt esac
1364 1.1.1.1.2.2 yamt
1365 1.1.1.1.2.2 yamt # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1366 1.1.1.1.2.2 yamt
1367 1.1.1.1.2.2 yamt # Remove last slash and all that follows it. Not all systems have dirname.
1368 1.1.1.1.2.2 yamt ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1369 1.1.1.1.2.2 yamt if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1370 1.1.1.1.2.2 yamt # The file is in a subdirectory.
1371 1.1.1.1.2.2 yamt test ! -d "$ac_dir" && mkdir "$ac_dir"
1372 1.1.1.1.2.2 yamt ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1373 1.1.1.1.2.2 yamt # A "../" for each directory in $ac_dir_suffix.
1374 1.1.1.1.2.2 yamt ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1375 1.1.1.1.2.2 yamt else
1376 1.1.1.1.2.2 yamt ac_dir_suffix= ac_dots=
1377 1.1.1.1.2.2 yamt fi
1378 1.1.1.1.2.2 yamt
1379 1.1.1.1.2.2 yamt case "$ac_given_srcdir" in
1380 1.1.1.1.2.2 yamt .) srcdir=.
1381 1.1.1.1.2.2 yamt if test -z "$ac_dots"; then top_srcdir=.
1382 1.1.1.1.2.2 yamt else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1383 1.1.1.1.2.2 yamt /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1384 1.1.1.1.2.2 yamt *) # Relative path.
1385 1.1.1.1.2.2 yamt srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1386 1.1.1.1.2.2 yamt top_srcdir="$ac_dots$ac_given_srcdir" ;;
1387 1.1.1.1.2.2 yamt esac
1388 1.1.1.1.2.2 yamt
1389 1.1.1.1.2.2 yamt case "$ac_given_INSTALL" in
1390 1.1.1.1.2.2 yamt [/$]*) INSTALL="$ac_given_INSTALL" ;;
1391 1.1.1.1.2.2 yamt *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1392 1.1.1.1.2.2 yamt esac
1393 1.1.1.1.2.2 yamt
1394 1.1.1.1.2.2 yamt echo creating "$ac_file"
1395 1.1.1.1.2.2 yamt rm -f "$ac_file"
1396 1.1.1.1.2.2 yamt configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1397 1.1.1.1.2.2 yamt case "$ac_file" in
1398 1.1.1.1.2.2 yamt *Makefile*) ac_comsub="1i\\
1399 1.1.1.1.2.2 yamt # $configure_input" ;;
1400 1.1.1.1.2.2 yamt *) ac_comsub= ;;
1401 1.1.1.1.2.2 yamt esac
1402 1.1.1.1.2.2 yamt
1403 1.1.1.1.2.2 yamt ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1404 1.1.1.1.2.2 yamt sed -e "$ac_comsub
1405 1.1.1.1.2.2 yamt s%@configure_input@%$configure_input%g
1406 1.1.1.1.2.2 yamt s%@srcdir@%$srcdir%g
1407 1.1.1.1.2.2 yamt s%@top_srcdir@%$top_srcdir%g
1408 1.1.1.1.2.2 yamt s%@INSTALL@%$INSTALL%g
1409 1.1.1.1.2.2 yamt " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1410 1.1.1.1.2.2 yamt fi; done
1411 1.1.1.1.2.2 yamt rm -f conftest.s*
1412 1.1.1.1.2.2 yamt
1413 1.1.1.1.2.2 yamt EOF
1414 1.1.1.1.2.2 yamt cat >> $CONFIG_STATUS <<EOF
1415 1.1.1.1.2.2 yamt
1416 1.1.1.1.2.2 yamt EOF
1417 1.1.1.1.2.2 yamt cat >> $CONFIG_STATUS <<\EOF
1418 1.1.1.1.2.2 yamt
1419 1.1.1.1.2.2 yamt exit 0
1420 1.1.1.1.2.2 yamt EOF
1421 1.1.1.1.2.2 yamt chmod +x $CONFIG_STATUS
1422 1.1.1.1.2.2 yamt rm -fr confdefs* $ac_clean_files
1423 1.1.1.1.2.2 yamt test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1424 1.1.1.1.2.2 yamt
1425