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