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