Mercurial > hg > xemacs-beta
annotate modules/ldap/configure @ 5667:b4715fcbe001
#'byte-optimize-letX; group constant initialisations together in let forms
lisp/ChangeLog addition:
2012-05-14 Aidan Kehoe <kehoea@parhasard.net>
* byte-optimize.el (byte-optimize-letX):
In (let ...) forms, group constant initialisations together, so we
can just dup in the byte code.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Mon, 14 May 2012 15:16:47 +0100 |
parents | 56b64a055043 |
children |
rev | line source |
---|---|
996 | 1 #! /bin/sh |
2 # From configure.ac Revision: 1.0 . | |
3 # Guess values for system-dependent variables and create Makefiles. | |
4 # Generated by GNU Autoconf 2.53b for LDAP module 1.0. | |
5 # | |
6 # Report bugs to <xemacs-beta@xemacs.org>. | |
7 # | |
8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | |
9 # Free Software Foundation, Inc. | |
10 # This configure script is free software; the Free Software Foundation | |
11 # gives unlimited permission to copy, distribute and modify it. | |
12 # | |
13 # Configuration script for the LDAP module. | |
14 # Copyright (C) 2002 Jerry James. | |
15 # | |
16 # This file is part of XEmacs. | |
17 # | |
5418
56b64a055043
Converted modules to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents:
996
diff
changeset
|
18 # XEmacs is free software: you can redistribute it and/or modify it |
56b64a055043
Converted modules to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents:
996
diff
changeset
|
19 # under the terms of the GNU General Public License as published by the |
56b64a055043
Converted modules to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents:
996
diff
changeset
|
20 # Free Software Foundation, either version 3 of the License, or (at your |
996 | 21 # option) any later version. |
22 # | |
5418
56b64a055043
Converted modules to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents:
996
diff
changeset
|
23 # XEmacs is distributed in the hope that it will be useful, but WITHOUT |
56b64a055043
Converted modules to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents:
996
diff
changeset
|
24 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
56b64a055043
Converted modules to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents:
996
diff
changeset
|
25 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
56b64a055043
Converted modules to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents:
996
diff
changeset
|
26 # for more details. |
996 | 27 # |
28 # You should have received a copy of the GNU General Public License | |
5418
56b64a055043
Converted modules to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents:
996
diff
changeset
|
29 # along with XEmacs. If not, see <http://www.gnu.org/licenses/>. |
996 | 30 ## --------------------- ## |
31 ## M4sh Initialization. ## | |
32 ## --------------------- ## | |
33 | |
34 # Be Bourne compatible | |
35 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
36 emulate sh | |
37 NULLCMD=: | |
38 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
39 # is contrary to our usage. Disable this feature. | |
40 alias -g '${1+"$@"}'='"$@"' | |
41 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | |
42 set -o posix | |
43 fi | |
44 | |
45 # NLS nuisances. | |
46 # Support unset when possible. | |
47 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | |
48 as_unset=unset | |
49 else | |
50 as_unset=false | |
51 fi | |
52 | |
53 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") && | |
54 { $as_unset LANG || test "${LANG+set}" != set; } || | |
55 { LANG=C; export LANG; } | |
56 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && | |
57 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || | |
58 { LC_ALL=C; export LC_ALL; } | |
59 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && | |
60 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || | |
61 { LC_TIME=C; export LC_TIME; } | |
62 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && | |
63 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || | |
64 { LC_CTYPE=C; export LC_CTYPE; } | |
65 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && | |
66 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || | |
67 { LANGUAGE=C; export LANGUAGE; } | |
68 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && | |
69 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || | |
70 { LC_COLLATE=C; export LC_COLLATE; } | |
71 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && | |
72 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || | |
73 { LC_NUMERIC=C; export LC_NUMERIC; } | |
74 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && | |
75 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || | |
76 { LC_MESSAGES=C; export LC_MESSAGES; } | |
77 | |
78 | |
79 # Required to use basename. | |
80 if expr a : '\(a\)' >/dev/null 2>&1; then | |
81 as_expr=expr | |
82 else | |
83 as_expr=false | |
84 fi | |
85 | |
86 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | |
87 as_basename=basename | |
88 else | |
89 as_basename=false | |
90 fi | |
91 | |
92 | |
93 # Name of the executable. | |
94 as_me=`$as_basename "$0" || | |
95 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
96 X"$0" : 'X\(//\)$' \| \ | |
97 X"$0" : 'X\(/\)$' \| \ | |
98 . : '\(.\)' 2>/dev/null || | |
99 echo X/"$0" | | |
100 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | |
101 /^X\/\(\/\/\)$/{ s//\1/; q; } | |
102 /^X\/\(\/\).*/{ s//\1/; q; } | |
103 s/.*/./; q'` | |
104 | |
105 | |
106 # PATH needs CR, and LINENO needs CR and PATH. | |
107 # Avoid depending upon Character Ranges. | |
108 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
109 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
110 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
111 as_cr_digits='0123456789' | |
112 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
113 | |
114 # The user is always right. | |
115 if test "${PATH_SEPARATOR+set}" != set; then | |
116 echo "#! /bin/sh" >conftest.sh | |
117 echo "exit 0" >>conftest.sh | |
118 chmod +x conftest.sh | |
119 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then | |
120 PATH_SEPARATOR=';' | |
121 else | |
122 PATH_SEPARATOR=: | |
123 fi | |
124 rm -f conftest.sh | |
125 fi | |
126 | |
127 | |
128 as_lineno_1=$LINENO | |
129 as_lineno_2=$LINENO | |
130 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
131 test "x$as_lineno_1" != "x$as_lineno_2" && | |
132 test "x$as_lineno_3" = "x$as_lineno_2" || { | |
133 # Find who we are. Look in the path if we contain no path at all | |
134 # relative or not. | |
135 case $0 in | |
136 *[\\/]* ) as_myself=$0 ;; | |
137 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
138 for as_dir in $PATH | |
139 do | |
140 IFS=$as_save_IFS | |
141 test -z "$as_dir" && as_dir=. | |
142 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
143 done | |
144 | |
145 ;; | |
146 esac | |
147 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
148 # in which case we are not to be found in the path. | |
149 if test "x$as_myself" = x; then | |
150 as_myself=$0 | |
151 fi | |
152 if test ! -f "$as_myself"; then | |
153 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | |
154 { (exit 1); exit 1; }; } | |
155 fi | |
156 case $CONFIG_SHELL in | |
157 '') | |
158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
159 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
160 do | |
161 IFS=$as_save_IFS | |
162 test -z "$as_dir" && as_dir=. | |
163 for as_base in sh bash ksh sh5; do | |
164 case $as_dir in | |
165 /*) | |
166 if ("$as_dir/$as_base" -c ' | |
167 as_lineno_1=$LINENO | |
168 as_lineno_2=$LINENO | |
169 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
170 test "x$as_lineno_1" != "x$as_lineno_2" && | |
171 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | |
172 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | |
173 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | |
174 CONFIG_SHELL=$as_dir/$as_base | |
175 export CONFIG_SHELL | |
176 exec "$CONFIG_SHELL" "$0" ${1+"$@"} | |
177 fi;; | |
178 esac | |
179 done | |
180 done | |
181 ;; | |
182 esac | |
183 | |
184 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
185 # uniformly replaced by the line number. The first 'sed' inserts a | |
186 # line-number line before each line; the second 'sed' does the real | |
187 # work. The second script uses 'N' to pair each line-number line | |
188 # with the numbered line, and appends trailing '-' during | |
189 # substitution so that $LINENO is not a special case at line end. | |
190 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
191 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | |
192 sed '=' <$as_myself | | |
193 sed ' | |
194 N | |
195 s,$,-, | |
196 : loop | |
197 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | |
198 t loop | |
199 s,-$,, | |
200 s,^['$as_cr_digits']*\n,, | |
201 ' >$as_me.lineno && | |
202 chmod +x $as_me.lineno || | |
203 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | |
204 { (exit 1); exit 1; }; } | |
205 | |
206 # Don't try to exec as it changes $[0], causing all sort of problems | |
207 # (the dirname of $[0] is not the place where we might find the | |
208 # original and so on. Autoconf is especially sensible to this). | |
209 . ./$as_me.lineno | |
210 # Exit status is that of the last command. | |
211 exit | |
212 } | |
213 | |
214 | |
215 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | |
216 *c*,-n*) ECHO_N= ECHO_C=' | |
217 ' ECHO_T=' ' ;; | |
218 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | |
219 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | |
220 esac | |
221 | |
222 if expr a : '\(a\)' >/dev/null 2>&1; then | |
223 as_expr=expr | |
224 else | |
225 as_expr=false | |
226 fi | |
227 | |
228 rm -f conf$$ conf$$.exe conf$$.file | |
229 echo >conf$$.file | |
230 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
231 # We could just check for DJGPP; but this test a) works b) is more generic | |
232 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | |
233 if test -f conf$$.exe; then | |
234 # Don't use ln at all; we don't have any links | |
235 as_ln_s='cp -p' | |
236 else | |
237 as_ln_s='ln -s' | |
238 fi | |
239 elif ln conf$$.file conf$$ 2>/dev/null; then | |
240 as_ln_s=ln | |
241 else | |
242 as_ln_s='cp -p' | |
243 fi | |
244 rm -f conf$$ conf$$.exe conf$$.file | |
245 | |
246 if mkdir -p . 2>/dev/null; then | |
247 as_mkdir_p=: | |
248 else | |
249 as_mkdir_p=false | |
250 fi | |
251 | |
252 as_executable_p="test -f" | |
253 | |
254 # Sed expression to map a string onto a valid CPP name. | |
255 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | |
256 | |
257 # Sed expression to map a string onto a valid variable name. | |
258 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | |
259 | |
260 | |
261 # IFS | |
262 # We need space, tab and new line, in precisely that order. | |
263 as_nl=' | |
264 ' | |
265 IFS=" $as_nl" | |
266 | |
267 # CDPATH. | |
268 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } | |
269 | |
270 | |
271 # Name of the host. | |
272 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | |
273 # so uname gets run too. | |
274 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
275 | |
276 exec 6>&1 | |
277 | |
278 # | |
279 # Initializations. | |
280 # | |
281 ac_default_prefix=/usr/local | |
282 ac_config_libobj_dir=. | |
283 cross_compiling=no | |
284 subdirs= | |
285 MFLAGS= | |
286 MAKEFLAGS= | |
287 SHELL=${CONFIG_SHELL-/bin/sh} | |
288 | |
289 # Maximum number of lines to put in a shell here document. | |
290 # This variable seems obsolete. It should probably be removed, and | |
291 # only ac_max_sed_lines should be used. | |
292 : ${ac_max_here_lines=38} | |
293 | |
294 # Identity of this package. | |
295 PACKAGE_NAME='LDAP module' | |
296 PACKAGE_TARNAME='ldap-module' | |
297 PACKAGE_VERSION='1.0' | |
298 PACKAGE_STRING='LDAP module 1.0' | |
299 PACKAGE_BUGREPORT='xemacs-beta@xemacs.org' | |
300 | |
301 ac_unique_file="eldap.c" | |
302 # Factoring default headers for most tests. | |
303 ac_includes_default="\ | |
304 #include <stdio.h> | |
305 #if HAVE_SYS_TYPES_H | |
306 # include <sys/types.h> | |
307 #endif | |
308 #if HAVE_SYS_STAT_H | |
309 # include <sys/stat.h> | |
310 #endif | |
311 #if STDC_HEADERS | |
312 # include <stdlib.h> | |
313 # include <stddef.h> | |
314 #else | |
315 # if HAVE_STDLIB_H | |
316 # include <stdlib.h> | |
317 # endif | |
318 #endif | |
319 #if HAVE_STRING_H | |
320 # if !STDC_HEADERS && HAVE_MEMORY_H | |
321 # include <memory.h> | |
322 # endif | |
323 # include <string.h> | |
324 #endif | |
325 #if HAVE_STRINGS_H | |
326 # include <strings.h> | |
327 #endif | |
328 #if HAVE_INTTYPES_H | |
329 # include <inttypes.h> | |
330 #else | |
331 # if HAVE_STDINT_H | |
332 # include <stdint.h> | |
333 # endif | |
334 #endif | |
335 #if HAVE_UNISTD_H | |
336 # include <unistd.h> | |
337 #endif" | |
338 | |
339 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA ELLCC CPP EGREP ldap_libs PROGNAME MOD_CC MODARCHDIR MAKE_DOCFILE MODCFLAGS INSTALLPATH MOD_INSTALL_PROGRAM OBJECT_TO_BUILD LIBOBJS LTLIBOBJS' | |
340 ac_subst_files='' | |
341 | |
342 # Initialize some variables set by options. | |
343 ac_init_help= | |
344 ac_init_version=false | |
345 # The variables have the same names as the options, with | |
346 # dashes changed to underlines. | |
347 cache_file=/dev/null | |
348 exec_prefix=NONE | |
349 no_create= | |
350 no_recursion= | |
351 prefix=NONE | |
352 program_prefix=NONE | |
353 program_suffix=NONE | |
354 program_transform_name=s,x,x, | |
355 silent= | |
356 site= | |
357 srcdir= | |
358 verbose= | |
359 x_includes=NONE | |
360 x_libraries=NONE | |
361 | |
362 # Installation directory options. | |
363 # These are left unexpanded so users can "make install exec_prefix=/foo" | |
364 # and all the variables that are supposed to be based on exec_prefix | |
365 # by default will actually change. | |
366 # Use braces instead of parens because sh, perl, etc. also accept them. | |
367 bindir='${exec_prefix}/bin' | |
368 sbindir='${exec_prefix}/sbin' | |
369 libexecdir='${exec_prefix}/libexec' | |
370 datadir='${prefix}/share' | |
371 sysconfdir='${prefix}/etc' | |
372 sharedstatedir='${prefix}/com' | |
373 localstatedir='${prefix}/var' | |
374 libdir='${exec_prefix}/lib' | |
375 includedir='${prefix}/include' | |
376 oldincludedir='/usr/include' | |
377 infodir='${prefix}/info' | |
378 mandir='${prefix}/man' | |
379 | |
380 ac_prev= | |
381 for ac_option | |
382 do | |
383 # If the previous option needs an argument, assign it. | |
384 if test -n "$ac_prev"; then | |
385 eval "$ac_prev=\$ac_option" | |
386 ac_prev= | |
387 continue | |
388 fi | |
389 | |
390 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | |
391 | |
392 # Accept the important Cygnus configure options, so we can diagnose typos. | |
393 | |
394 case $ac_option in | |
395 | |
396 -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
397 ac_prev=bindir ;; | |
398 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
399 bindir=$ac_optarg ;; | |
400 | |
401 -build | --build | --buil | --bui | --bu) | |
402 ac_prev=build_alias ;; | |
403 -build=* | --build=* | --buil=* | --bui=* | --bu=*) | |
404 build_alias=$ac_optarg ;; | |
405 | |
406 -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
407 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
408 ac_prev=cache_file ;; | |
409 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
410 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
411 cache_file=$ac_optarg ;; | |
412 | |
413 --config-cache | -C) | |
414 cache_file=config.cache ;; | |
415 | |
416 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | |
417 ac_prev=datadir ;; | |
418 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | |
419 | --da=*) | |
420 datadir=$ac_optarg ;; | |
421 | |
422 -disable-* | --disable-*) | |
423 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | |
424 # Reject names that are not valid shell variable names. | |
425 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | |
426 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | |
427 { (exit 1); exit 1; }; } | |
428 ac_feature=`echo $ac_feature | sed 's/-/_/g'` | |
429 eval "enable_$ac_feature=no" ;; | |
430 | |
431 -enable-* | --enable-*) | |
432 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | |
433 # Reject names that are not valid shell variable names. | |
434 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | |
435 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | |
436 { (exit 1); exit 1; }; } | |
437 ac_feature=`echo $ac_feature | sed 's/-/_/g'` | |
438 case $ac_option in | |
439 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | |
440 *) ac_optarg=yes ;; | |
441 esac | |
442 eval "enable_$ac_feature='$ac_optarg'" ;; | |
443 | |
444 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
445 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
446 | --exec | --exe | --ex) | |
447 ac_prev=exec_prefix ;; | |
448 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
449 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
450 | --exec=* | --exe=* | --ex=*) | |
451 exec_prefix=$ac_optarg ;; | |
452 | |
453 -gas | --gas | --ga | --g) | |
454 # Obsolete; use --with-gas. | |
455 with_gas=yes ;; | |
456 | |
457 -help | --help | --hel | --he | -h) | |
458 ac_init_help=long ;; | |
459 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
460 ac_init_help=recursive ;; | |
461 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
462 ac_init_help=short ;; | |
463 | |
464 -host | --host | --hos | --ho) | |
465 ac_prev=host_alias ;; | |
466 -host=* | --host=* | --hos=* | --ho=*) | |
467 host_alias=$ac_optarg ;; | |
468 | |
469 -includedir | --includedir | --includedi | --included | --include \ | |
470 | --includ | --inclu | --incl | --inc) | |
471 ac_prev=includedir ;; | |
472 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
473 | --includ=* | --inclu=* | --incl=* | --inc=*) | |
474 includedir=$ac_optarg ;; | |
475 | |
476 -infodir | --infodir | --infodi | --infod | --info | --inf) | |
477 ac_prev=infodir ;; | |
478 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
479 infodir=$ac_optarg ;; | |
480 | |
481 -libdir | --libdir | --libdi | --libd) | |
482 ac_prev=libdir ;; | |
483 -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
484 libdir=$ac_optarg ;; | |
485 | |
486 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
487 | --libexe | --libex | --libe) | |
488 ac_prev=libexecdir ;; | |
489 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
490 | --libexe=* | --libex=* | --libe=*) | |
491 libexecdir=$ac_optarg ;; | |
492 | |
493 -localstatedir | --localstatedir | --localstatedi | --localstated \ | |
494 | --localstate | --localstat | --localsta | --localst \ | |
495 | --locals | --local | --loca | --loc | --lo) | |
496 ac_prev=localstatedir ;; | |
497 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
498 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | |
499 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | |
500 localstatedir=$ac_optarg ;; | |
501 | |
502 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
503 ac_prev=mandir ;; | |
504 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
505 mandir=$ac_optarg ;; | |
506 | |
507 -nfp | --nfp | --nf) | |
508 # Obsolete; use --without-fp. | |
509 with_fp=no ;; | |
510 | |
511 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
512 | --no-cr | --no-c | -n) | |
513 no_create=yes ;; | |
514 | |
515 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
516 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
517 no_recursion=yes ;; | |
518 | |
519 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
520 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
521 | --oldin | --oldi | --old | --ol | --o) | |
522 ac_prev=oldincludedir ;; | |
523 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
524 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
525 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
526 oldincludedir=$ac_optarg ;; | |
527 | |
528 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
529 ac_prev=prefix ;; | |
530 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
531 prefix=$ac_optarg ;; | |
532 | |
533 -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
534 | --program-pre | --program-pr | --program-p) | |
535 ac_prev=program_prefix ;; | |
536 -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
537 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
538 program_prefix=$ac_optarg ;; | |
539 | |
540 -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
541 | --program-suf | --program-su | --program-s) | |
542 ac_prev=program_suffix ;; | |
543 -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
544 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
545 program_suffix=$ac_optarg ;; | |
546 | |
547 -program-transform-name | --program-transform-name \ | |
548 | --program-transform-nam | --program-transform-na \ | |
549 | --program-transform-n | --program-transform- \ | |
550 | --program-transform | --program-transfor \ | |
551 | --program-transfo | --program-transf \ | |
552 | --program-trans | --program-tran \ | |
553 | --progr-tra | --program-tr | --program-t) | |
554 ac_prev=program_transform_name ;; | |
555 -program-transform-name=* | --program-transform-name=* \ | |
556 | --program-transform-nam=* | --program-transform-na=* \ | |
557 | --program-transform-n=* | --program-transform-=* \ | |
558 | --program-transform=* | --program-transfor=* \ | |
559 | --program-transfo=* | --program-transf=* \ | |
560 | --program-trans=* | --program-tran=* \ | |
561 | --progr-tra=* | --program-tr=* | --program-t=*) | |
562 program_transform_name=$ac_optarg ;; | |
563 | |
564 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
565 | -silent | --silent | --silen | --sile | --sil) | |
566 silent=yes ;; | |
567 | |
568 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
569 ac_prev=sbindir ;; | |
570 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
571 | --sbi=* | --sb=*) | |
572 sbindir=$ac_optarg ;; | |
573 | |
574 -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
575 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
576 | --sharedst | --shareds | --shared | --share | --shar \ | |
577 | --sha | --sh) | |
578 ac_prev=sharedstatedir ;; | |
579 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
580 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
581 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
582 | --sha=* | --sh=*) | |
583 sharedstatedir=$ac_optarg ;; | |
584 | |
585 -site | --site | --sit) | |
586 ac_prev=site ;; | |
587 -site=* | --site=* | --sit=*) | |
588 site=$ac_optarg ;; | |
589 | |
590 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
591 ac_prev=srcdir ;; | |
592 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
593 srcdir=$ac_optarg ;; | |
594 | |
595 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
596 | --syscon | --sysco | --sysc | --sys | --sy) | |
597 ac_prev=sysconfdir ;; | |
598 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
599 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
600 sysconfdir=$ac_optarg ;; | |
601 | |
602 -target | --target | --targe | --targ | --tar | --ta | --t) | |
603 ac_prev=target_alias ;; | |
604 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | |
605 target_alias=$ac_optarg ;; | |
606 | |
607 -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
608 verbose=yes ;; | |
609 | |
610 -version | --version | --versio | --versi | --vers | -V) | |
611 ac_init_version=: ;; | |
612 | |
613 -with-* | --with-*) | |
614 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | |
615 # Reject names that are not valid shell variable names. | |
616 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | |
617 { echo "$as_me: error: invalid package name: $ac_package" >&2 | |
618 { (exit 1); exit 1; }; } | |
619 ac_package=`echo $ac_package| sed 's/-/_/g'` | |
620 case $ac_option in | |
621 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | |
622 *) ac_optarg=yes ;; | |
623 esac | |
624 eval "with_$ac_package='$ac_optarg'" ;; | |
625 | |
626 -without-* | --without-*) | |
627 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | |
628 # Reject names that are not valid shell variable names. | |
629 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | |
630 { echo "$as_me: error: invalid package name: $ac_package" >&2 | |
631 { (exit 1); exit 1; }; } | |
632 ac_package=`echo $ac_package | sed 's/-/_/g'` | |
633 eval "with_$ac_package=no" ;; | |
634 | |
635 --x) | |
636 # Obsolete; use --with-x. | |
637 with_x=yes ;; | |
638 | |
639 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
640 | --x-incl | --x-inc | --x-in | --x-i) | |
641 ac_prev=x_includes ;; | |
642 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
643 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
644 x_includes=$ac_optarg ;; | |
645 | |
646 -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
647 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
648 ac_prev=x_libraries ;; | |
649 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
650 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
651 x_libraries=$ac_optarg ;; | |
652 | |
653 -*) { echo "$as_me: error: unrecognized option: $ac_option | |
654 Try \`$0 --help' for more information." >&2 | |
655 { (exit 1); exit 1; }; } | |
656 ;; | |
657 | |
658 *=*) | |
659 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
660 # Reject names that are not valid shell variable names. | |
661 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | |
662 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | |
663 { (exit 1); exit 1; }; } | |
664 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | |
665 eval "$ac_envvar='$ac_optarg'" | |
666 export $ac_envvar ;; | |
667 | |
668 *) | |
669 # FIXME: should be removed in autoconf 3.0. | |
670 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | |
671 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
672 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | |
673 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | |
674 ;; | |
675 | |
676 esac | |
677 done | |
678 | |
679 if test -n "$ac_prev"; then | |
680 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | |
681 { echo "$as_me: error: missing argument to $ac_option" >&2 | |
682 { (exit 1); exit 1; }; } | |
683 fi | |
684 | |
685 # Be sure to have absolute paths. | |
686 for ac_var in exec_prefix prefix | |
687 do | |
688 eval ac_val=$`echo $ac_var` | |
689 case $ac_val in | |
690 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | |
691 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | |
692 { (exit 1); exit 1; }; };; | |
693 esac | |
694 done | |
695 | |
696 # Be sure to have absolute paths. | |
697 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | |
698 localstatedir libdir includedir oldincludedir infodir mandir | |
699 do | |
700 eval ac_val=$`echo $ac_var` | |
701 case $ac_val in | |
702 [\\/$]* | ?:[\\/]* ) ;; | |
703 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | |
704 { (exit 1); exit 1; }; };; | |
705 esac | |
706 done | |
707 | |
708 # There might be people who depend on the old broken behavior: `$host' | |
709 # used to hold the argument of --host etc. | |
710 # FIXME: To remove some day. | |
711 build=$build_alias | |
712 host=$host_alias | |
713 target=$target_alias | |
714 | |
715 # FIXME: To remove some day. | |
716 if test "x$host_alias" != x; then | |
717 if test "x$build_alias" = x; then | |
718 cross_compiling=maybe | |
719 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | |
720 If a cross compiler is detected then cross compile mode will be used." >&2 | |
721 elif test "x$build_alias" != "x$host_alias"; then | |
722 cross_compiling=yes | |
723 fi | |
724 fi | |
725 | |
726 ac_tool_prefix= | |
727 test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
728 | |
729 test "$silent" = yes && exec 6>/dev/null | |
730 | |
731 | |
732 # Find the source files, if location was not specified. | |
733 if test -z "$srcdir"; then | |
734 ac_srcdir_defaulted=yes | |
735 # Try the directory containing this script, then its parent. | |
736 ac_confdir=`(dirname "$0") 2>/dev/null || | |
737 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
738 X"$0" : 'X\(//\)[^/]' \| \ | |
739 X"$0" : 'X\(//\)$' \| \ | |
740 X"$0" : 'X\(/\)' \| \ | |
741 . : '\(.\)' 2>/dev/null || | |
742 echo X"$0" | | |
743 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
744 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
745 /^X\(\/\/\)$/{ s//\1/; q; } | |
746 /^X\(\/\).*/{ s//\1/; q; } | |
747 s/.*/./; q'` | |
748 srcdir=$ac_confdir | |
749 if test ! -r $srcdir/$ac_unique_file; then | |
750 srcdir=.. | |
751 fi | |
752 else | |
753 ac_srcdir_defaulted=no | |
754 fi | |
755 if test ! -r $srcdir/$ac_unique_file; then | |
756 if test "$ac_srcdir_defaulted" = yes; then | |
757 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | |
758 { (exit 1); exit 1; }; } | |
759 else | |
760 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | |
761 { (exit 1); exit 1; }; } | |
762 fi | |
763 fi | |
764 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | |
765 ac_env_build_alias_set=${build_alias+set} | |
766 ac_env_build_alias_value=$build_alias | |
767 ac_cv_env_build_alias_set=${build_alias+set} | |
768 ac_cv_env_build_alias_value=$build_alias | |
769 ac_env_host_alias_set=${host_alias+set} | |
770 ac_env_host_alias_value=$host_alias | |
771 ac_cv_env_host_alias_set=${host_alias+set} | |
772 ac_cv_env_host_alias_value=$host_alias | |
773 ac_env_target_alias_set=${target_alias+set} | |
774 ac_env_target_alias_value=$target_alias | |
775 ac_cv_env_target_alias_set=${target_alias+set} | |
776 ac_cv_env_target_alias_value=$target_alias | |
777 ac_env_CC_set=${CC+set} | |
778 ac_env_CC_value=$CC | |
779 ac_cv_env_CC_set=${CC+set} | |
780 ac_cv_env_CC_value=$CC | |
781 ac_env_CFLAGS_set=${CFLAGS+set} | |
782 ac_env_CFLAGS_value=$CFLAGS | |
783 ac_cv_env_CFLAGS_set=${CFLAGS+set} | |
784 ac_cv_env_CFLAGS_value=$CFLAGS | |
785 ac_env_LDFLAGS_set=${LDFLAGS+set} | |
786 ac_env_LDFLAGS_value=$LDFLAGS | |
787 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | |
788 ac_cv_env_LDFLAGS_value=$LDFLAGS | |
789 ac_env_CPPFLAGS_set=${CPPFLAGS+set} | |
790 ac_env_CPPFLAGS_value=$CPPFLAGS | |
791 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | |
792 ac_cv_env_CPPFLAGS_value=$CPPFLAGS | |
793 ac_env_ELLCC_set=${ELLCC+set} | |
794 ac_env_ELLCC_value=$ELLCC | |
795 ac_cv_env_ELLCC_set=${ELLCC+set} | |
796 ac_cv_env_ELLCC_value=$ELLCC | |
797 ac_env_CPP_set=${CPP+set} | |
798 ac_env_CPP_value=$CPP | |
799 ac_cv_env_CPP_set=${CPP+set} | |
800 ac_cv_env_CPP_value=$CPP | |
801 | |
802 # | |
803 # Report the --help message. | |
804 # | |
805 if test "$ac_init_help" = "long"; then | |
806 # Omit some internal or obsolete options to make the list less imposing. | |
807 # This message is too long to be a string in the A/UX 3.1 sh. | |
808 cat <<_ACEOF | |
809 \`configure' configures LDAP module 1.0 to adapt to many kinds of systems. | |
810 | |
811 Usage: $0 [OPTION]... [VAR=VALUE]... | |
812 | |
813 To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
814 VAR=VALUE. See below for descriptions of some of the useful variables. | |
815 | |
816 Defaults for the options are specified in brackets. | |
817 | |
818 Configuration: | |
819 -h, --help display this help and exit | |
820 --help=short display options specific to this package | |
821 --help=recursive display the short help of all the included packages | |
822 -V, --version display version information and exit | |
823 -q, --quiet, --silent do not print \`checking...' messages | |
824 --cache-file=FILE cache test results in FILE [disabled] | |
825 -C, --config-cache alias for \`--cache-file=config.cache' | |
826 -n, --no-create do not create output files | |
827 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
828 | |
829 _ACEOF | |
830 | |
831 cat <<_ACEOF | |
832 Installation directories: | |
833 --prefix=PREFIX install architecture-independent files in PREFIX | |
834 [$ac_default_prefix] | |
835 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
836 [PREFIX] | |
837 | |
838 By default, \`make install' will install all the files in | |
839 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
840 an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
841 for instance \`--prefix=\$HOME'. | |
842 | |
843 For better control, use the options below. | |
844 | |
845 Fine tuning of the installation directories: | |
846 --bindir=DIR user executables [EPREFIX/bin] | |
847 --sbindir=DIR system admin executables [EPREFIX/sbin] | |
848 --libexecdir=DIR program executables [EPREFIX/libexec] | |
849 --datadir=DIR read-only architecture-independent data [PREFIX/share] | |
850 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
851 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
852 --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
853 --libdir=DIR object code libraries [EPREFIX/lib] | |
854 --includedir=DIR C header files [PREFIX/include] | |
855 --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
856 --infodir=DIR info documentation [PREFIX/info] | |
857 --mandir=DIR man documentation [PREFIX/man] | |
858 _ACEOF | |
859 | |
860 cat <<\_ACEOF | |
861 _ACEOF | |
862 fi | |
863 | |
864 if test -n "$ac_init_help"; then | |
865 case $ac_init_help in | |
866 short | recursive ) echo "Configuration of LDAP module 1.0:";; | |
867 esac | |
868 cat <<\_ACEOF | |
869 | |
870 Some influential environment variables: | |
871 CC C compiler command | |
872 CFLAGS C compiler flags | |
873 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
874 nonstandard directory <lib dir> | |
875 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | |
876 headers in a nonstandard directory <include dir> | |
877 ELLCC The path to the ellcc module compiler | |
878 CPP C preprocessor | |
879 | |
880 Use these variables to override the choices made by `configure' or to help | |
881 it to find libraries and programs with nonstandard names/locations. | |
882 | |
883 Report bugs to <xemacs-beta@xemacs.org>. | |
884 _ACEOF | |
885 fi | |
886 | |
887 if test "$ac_init_help" = "recursive"; then | |
888 # If there are subdirs, report their specific --help. | |
889 ac_popdir=`pwd` | |
890 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | |
891 test -d $ac_dir || continue | |
892 ac_builddir=. | |
893 | |
894 if test "$ac_dir" != .; then | |
895 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | |
896 # A "../" for each directory in $ac_dir_suffix. | |
897 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | |
898 else | |
899 ac_dir_suffix= ac_top_builddir= | |
900 fi | |
901 | |
902 case $srcdir in | |
903 .) # No --srcdir option. We are building in place. | |
904 ac_srcdir=. | |
905 if test -z "$ac_top_builddir"; then | |
906 ac_top_srcdir=. | |
907 else | |
908 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
909 fi ;; | |
910 [\\/]* | ?:[\\/]* ) # Absolute path. | |
911 ac_srcdir=$srcdir$ac_dir_suffix; | |
912 ac_top_srcdir=$srcdir ;; | |
913 *) # Relative path. | |
914 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | |
915 ac_top_srcdir=$ac_top_builddir$srcdir ;; | |
916 esac | |
917 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | |
918 # absolute. | |
919 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | |
920 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | |
921 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | |
922 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | |
923 | |
924 cd $ac_dir | |
925 # Check for guested configure; otherwise get Cygnus style configure. | |
926 if test -f $ac_srcdir/configure.gnu; then | |
927 echo | |
928 $SHELL $ac_srcdir/configure.gnu --help=recursive | |
929 elif test -f $ac_srcdir/configure; then | |
930 echo | |
931 $SHELL $ac_srcdir/configure --help=recursive | |
932 elif test -f $ac_srcdir/configure.ac || | |
933 test -f $ac_srcdir/configure.in; then | |
934 echo | |
935 $ac_configure --help | |
936 else | |
937 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
938 fi | |
939 cd $ac_popdir | |
940 done | |
941 fi | |
942 | |
943 test -n "$ac_init_help" && exit 0 | |
944 if $ac_init_version; then | |
945 cat <<\_ACEOF | |
946 LDAP module configure 1.0 | |
947 generated by GNU Autoconf 2.53b | |
948 | |
949 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | |
950 Free Software Foundation, Inc. | |
951 This configure script is free software; the Free Software Foundation | |
952 gives unlimited permission to copy, distribute and modify it. | |
953 | |
954 Configuration script for the LDAP module. | |
955 Copyright (C) 2002 Jerry James. | |
956 | |
957 This file is part of XEmacs. | |
958 | |
959 XEmacs is free software; you can redistribute it and/or modify it | |
960 under the terms of the GNU General Public License as published by | |
961 the Free Software Foundation; either version 2, or (at your | |
962 option) any later version. | |
963 | |
964 XEmacs is distributed in the hope that it will be useful, but | |
965 WITHOUT ANY WARRANTY; without even the implied warranty of | |
966 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
967 General Public License for more details. | |
968 | |
969 You should have received a copy of the GNU General Public License | |
970 along with XEmacs; see the file COPYING. If not, write to the Free | |
971 Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
972 02111-1307, USA. | |
973 _ACEOF | |
974 exit 0 | |
975 fi | |
976 exec 5>config.log | |
977 cat >&5 <<_ACEOF | |
978 This file contains any messages produced by compilers while | |
979 running configure, to aid debugging if configure makes a mistake. | |
980 | |
981 It was created by LDAP module $as_me 1.0, which was | |
982 generated by GNU Autoconf 2.53b. Invocation command line was | |
983 | |
984 $ $0 $@ | |
985 | |
986 _ACEOF | |
987 { | |
988 cat <<_ASUNAME | |
989 ## --------- ## | |
990 ## Platform. ## | |
991 ## --------- ## | |
992 | |
993 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
994 uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
995 uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
996 uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
997 uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
998 | |
999 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
1000 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
1001 | |
1002 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
1003 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
1004 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | |
1005 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | |
1006 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | |
1007 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
1008 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
1009 | |
1010 _ASUNAME | |
1011 | |
1012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1013 for as_dir in $PATH | |
1014 do | |
1015 IFS=$as_save_IFS | |
1016 test -z "$as_dir" && as_dir=. | |
1017 echo "PATH: $as_dir" | |
1018 done | |
1019 | |
1020 } >&5 | |
1021 | |
1022 cat >&5 <<_ACEOF | |
1023 | |
1024 | |
1025 ## ----------- ## | |
1026 ## Core tests. ## | |
1027 ## ----------- ## | |
1028 | |
1029 _ACEOF | |
1030 | |
1031 | |
1032 # Keep a trace of the command line. | |
1033 # Strip out --no-create and --no-recursion so they do not pile up. | |
1034 # Also quote any args containing shell meta-characters. | |
1035 ac_configure_args= | |
1036 ac_sep= | |
1037 for ac_arg | |
1038 do | |
1039 case $ac_arg in | |
1040 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
1041 | --no-cr | --no-c | -n ) continue ;; | |
1042 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
1043 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
1044 continue ;; | |
1045 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | |
1046 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1047 esac | |
1048 case " $ac_configure_args " in | |
1049 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | |
1050 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | |
1051 ac_sep=" " ;; | |
1052 esac | |
1053 # Get rid of the leading space. | |
1054 done | |
1055 | |
1056 # When interrupted or exit'd, cleanup temporary files, and complete | |
1057 # config.log. We remove comments because anyway the quotes in there | |
1058 # would cause problems or look ugly. | |
1059 # WARNING: Be sure not to use single quotes in there, as some shells, | |
1060 # such as our DU 5.0 friend, will then `close' the trap. | |
1061 trap 'exit_status=$? | |
1062 # Save into config.log some information that might help in debugging. | |
1063 { | |
1064 echo | |
1065 | |
1066 cat <<\_ASBOX | |
1067 ## ---------------- ## | |
1068 ## Cache variables. ## | |
1069 ## ---------------- ## | |
1070 _ASBOX | |
1071 echo | |
1072 # The following way of writing the cache mishandles newlines in values, | |
1073 { | |
1074 (set) 2>&1 | | |
1075 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | |
1076 *ac_space=\ *) | |
1077 sed -n \ | |
1078 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | |
1079 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | |
1080 ;; | |
1081 *) | |
1082 sed -n \ | |
1083 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | |
1084 ;; | |
1085 esac; | |
1086 } | |
1087 echo | |
1088 | |
1089 cat <<\_ASBOX | |
1090 ## ----------------- ## | |
1091 ## Output variables. ## | |
1092 ## ----------------- ## | |
1093 _ASBOX | |
1094 echo | |
1095 for ac_var in $ac_subst_vars | |
1096 do | |
1097 eval ac_val=$`echo $ac_var` | |
1098 echo "$ac_var='"'"'$ac_val'"'"'" | |
1099 done | sort | |
1100 echo | |
1101 | |
1102 if test -n "$ac_subst_files"; then | |
1103 cat <<\_ASBOX | |
1104 ## ------------- ## | |
1105 ## Output files. ## | |
1106 ## ------------- ## | |
1107 _ASBOX | |
1108 echo | |
1109 for ac_var in $ac_subst_files | |
1110 do | |
1111 eval ac_val=$`echo $ac_var` | |
1112 echo "$ac_var='"'"'$ac_val'"'"'" | |
1113 done | sort | |
1114 echo | |
1115 fi | |
1116 | |
1117 if test -s confdefs.h; then | |
1118 cat <<\_ASBOX | |
1119 ## ----------- ## | |
1120 ## confdefs.h. ## | |
1121 ## ----------- ## | |
1122 _ASBOX | |
1123 echo | |
1124 sed "/^$/d" confdefs.h | sort | |
1125 echo | |
1126 fi | |
1127 test "$ac_signal" != 0 && | |
1128 echo "$as_me: caught signal $ac_signal" | |
1129 echo "$as_me: exit $exit_status" | |
1130 } >&5 | |
1131 rm -f core core.* *.core && | |
1132 rm -rf conftest* confdefs* conf$$* $ac_clean_files && | |
1133 exit $exit_status | |
1134 ' 0 | |
1135 for ac_signal in 1 2 13 15; do | |
1136 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | |
1137 done | |
1138 ac_signal=0 | |
1139 | |
1140 # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
1141 rm -rf conftest* confdefs.h | |
1142 # AIX cpp loses on an empty file, so make sure it contains at least a newline. | |
1143 echo >confdefs.h | |
1144 | |
1145 # Predefined preprocessor variables. | |
1146 | |
1147 cat >>confdefs.h <<_ACEOF | |
1148 #define PACKAGE_NAME "$PACKAGE_NAME" | |
1149 _ACEOF | |
1150 | |
1151 | |
1152 cat >>confdefs.h <<_ACEOF | |
1153 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | |
1154 _ACEOF | |
1155 | |
1156 | |
1157 cat >>confdefs.h <<_ACEOF | |
1158 #define PACKAGE_VERSION "$PACKAGE_VERSION" | |
1159 _ACEOF | |
1160 | |
1161 | |
1162 cat >>confdefs.h <<_ACEOF | |
1163 #define PACKAGE_STRING "$PACKAGE_STRING" | |
1164 _ACEOF | |
1165 | |
1166 | |
1167 cat >>confdefs.h <<_ACEOF | |
1168 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | |
1169 _ACEOF | |
1170 | |
1171 | |
1172 # Let the site file select an alternate cache file if it wants to. | |
1173 # Prefer explicitly selected file to automatically selected ones. | |
1174 if test -z "$CONFIG_SITE"; then | |
1175 if test "x$prefix" != xNONE; then | |
1176 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | |
1177 else | |
1178 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | |
1179 fi | |
1180 fi | |
1181 for ac_site_file in $CONFIG_SITE; do | |
1182 if test -r "$ac_site_file"; then | |
1183 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | |
1184 echo "$as_me: loading site script $ac_site_file" >&6;} | |
1185 sed 's/^/| /' "$ac_site_file" >&5 | |
1186 . "$ac_site_file" | |
1187 fi | |
1188 done | |
1189 | |
1190 if test -r "$cache_file"; then | |
1191 # Some versions of bash will fail to source /dev/null (special | |
1192 # files actually), so we avoid doing that. | |
1193 if test -f "$cache_file"; then | |
1194 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | |
1195 echo "$as_me: loading cache $cache_file" >&6;} | |
1196 case $cache_file in | |
1197 [\\/]* | ?:[\\/]* ) . $cache_file;; | |
1198 *) . ./$cache_file;; | |
1199 esac | |
1200 fi | |
1201 else | |
1202 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | |
1203 echo "$as_me: creating cache $cache_file" >&6;} | |
1204 >$cache_file | |
1205 fi | |
1206 | |
1207 # Check that the precious variables saved in the cache have kept the same | |
1208 # value. | |
1209 ac_cache_corrupted=false | |
1210 for ac_var in `(set) 2>&1 | | |
1211 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | |
1212 eval ac_old_set=\$ac_cv_env_${ac_var}_set | |
1213 eval ac_new_set=\$ac_env_${ac_var}_set | |
1214 eval ac_old_val="\$ac_cv_env_${ac_var}_value" | |
1215 eval ac_new_val="\$ac_env_${ac_var}_value" | |
1216 case $ac_old_set,$ac_new_set in | |
1217 set,) | |
1218 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | |
1219 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | |
1220 ac_cache_corrupted=: ;; | |
1221 ,set) | |
1222 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | |
1223 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |
1224 ac_cache_corrupted=: ;; | |
1225 ,);; | |
1226 *) | |
1227 if test "x$ac_old_val" != "x$ac_new_val"; then | |
1228 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | |
1229 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | |
1230 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | |
1231 echo "$as_me: former value: $ac_old_val" >&2;} | |
1232 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | |
1233 echo "$as_me: current value: $ac_new_val" >&2;} | |
1234 ac_cache_corrupted=: | |
1235 fi;; | |
1236 esac | |
1237 # Pass precious variables to config.status. | |
1238 if test "$ac_new_set" = set; then | |
1239 case $ac_new_val in | |
1240 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | |
1241 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1242 *) ac_arg=$ac_var=$ac_new_val ;; | |
1243 esac | |
1244 case " $ac_configure_args " in | |
1245 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | |
1246 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | |
1247 esac | |
1248 fi | |
1249 done | |
1250 if $ac_cache_corrupted; then | |
1251 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | |
1252 echo "$as_me: error: changes in the environment can compromise the build" >&2;} | |
1253 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | |
1254 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | |
1255 { (exit 1); exit 1; }; } | |
1256 fi | |
1257 | |
1258 ac_ext=c | |
1259 ac_cpp='$CPP $CPPFLAGS' | |
1260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
1261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
1262 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
1263 | |
1264 | |
1265 | |
1266 | |
1267 | |
1268 | |
1269 | |
1270 | |
1271 | |
1272 | |
1273 | |
1274 | |
1275 | |
1276 | |
1277 | |
1278 | |
1279 | |
1280 | |
1281 | |
1282 | |
1283 | |
1284 | |
1285 | |
1286 | |
1287 | |
1288 | |
1289 | |
1290 | |
1291 | |
1292 | |
1293 | |
1294 | |
1295 ac_ext=c | |
1296 ac_cpp='$CPP $CPPFLAGS' | |
1297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
1298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
1299 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
1300 if test -n "$ac_tool_prefix"; then | |
1301 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
1302 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
1303 echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
1304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
1305 if test "${ac_cv_prog_CC+set}" = set; then | |
1306 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1307 else | |
1308 if test -n "$CC"; then | |
1309 ac_cv_prog_CC="$CC" # Let the user override the test. | |
1310 else | |
1311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1312 for as_dir in $PATH | |
1313 do | |
1314 IFS=$as_save_IFS | |
1315 test -z "$as_dir" && as_dir=. | |
1316 for ac_exec_ext in '' $ac_executable_extensions; do | |
1317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
1318 ac_cv_prog_CC="${ac_tool_prefix}gcc" | |
1319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
1320 break 2 | |
1321 fi | |
1322 done | |
1323 done | |
1324 | |
1325 fi | |
1326 fi | |
1327 CC=$ac_cv_prog_CC | |
1328 if test -n "$CC"; then | |
1329 echo "$as_me:$LINENO: result: $CC" >&5 | |
1330 echo "${ECHO_T}$CC" >&6 | |
1331 else | |
1332 echo "$as_me:$LINENO: result: no" >&5 | |
1333 echo "${ECHO_T}no" >&6 | |
1334 fi | |
1335 | |
1336 fi | |
1337 if test -z "$ac_cv_prog_CC"; then | |
1338 ac_ct_CC=$CC | |
1339 # Extract the first word of "gcc", so it can be a program name with args. | |
1340 set dummy gcc; ac_word=$2 | |
1341 echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
1342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
1343 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
1344 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1345 else | |
1346 if test -n "$ac_ct_CC"; then | |
1347 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
1348 else | |
1349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1350 for as_dir in $PATH | |
1351 do | |
1352 IFS=$as_save_IFS | |
1353 test -z "$as_dir" && as_dir=. | |
1354 for ac_exec_ext in '' $ac_executable_extensions; do | |
1355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
1356 ac_cv_prog_ac_ct_CC="gcc" | |
1357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
1358 break 2 | |
1359 fi | |
1360 done | |
1361 done | |
1362 | |
1363 fi | |
1364 fi | |
1365 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
1366 if test -n "$ac_ct_CC"; then | |
1367 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
1368 echo "${ECHO_T}$ac_ct_CC" >&6 | |
1369 else | |
1370 echo "$as_me:$LINENO: result: no" >&5 | |
1371 echo "${ECHO_T}no" >&6 | |
1372 fi | |
1373 | |
1374 CC=$ac_ct_CC | |
1375 else | |
1376 CC="$ac_cv_prog_CC" | |
1377 fi | |
1378 | |
1379 if test -z "$CC"; then | |
1380 if test -n "$ac_tool_prefix"; then | |
1381 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | |
1382 set dummy ${ac_tool_prefix}cc; ac_word=$2 | |
1383 echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
1384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
1385 if test "${ac_cv_prog_CC+set}" = set; then | |
1386 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1387 else | |
1388 if test -n "$CC"; then | |
1389 ac_cv_prog_CC="$CC" # Let the user override the test. | |
1390 else | |
1391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1392 for as_dir in $PATH | |
1393 do | |
1394 IFS=$as_save_IFS | |
1395 test -z "$as_dir" && as_dir=. | |
1396 for ac_exec_ext in '' $ac_executable_extensions; do | |
1397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
1398 ac_cv_prog_CC="${ac_tool_prefix}cc" | |
1399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
1400 break 2 | |
1401 fi | |
1402 done | |
1403 done | |
1404 | |
1405 fi | |
1406 fi | |
1407 CC=$ac_cv_prog_CC | |
1408 if test -n "$CC"; then | |
1409 echo "$as_me:$LINENO: result: $CC" >&5 | |
1410 echo "${ECHO_T}$CC" >&6 | |
1411 else | |
1412 echo "$as_me:$LINENO: result: no" >&5 | |
1413 echo "${ECHO_T}no" >&6 | |
1414 fi | |
1415 | |
1416 fi | |
1417 if test -z "$ac_cv_prog_CC"; then | |
1418 ac_ct_CC=$CC | |
1419 # Extract the first word of "cc", so it can be a program name with args. | |
1420 set dummy cc; ac_word=$2 | |
1421 echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
1422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
1423 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
1424 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1425 else | |
1426 if test -n "$ac_ct_CC"; then | |
1427 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
1428 else | |
1429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1430 for as_dir in $PATH | |
1431 do | |
1432 IFS=$as_save_IFS | |
1433 test -z "$as_dir" && as_dir=. | |
1434 for ac_exec_ext in '' $ac_executable_extensions; do | |
1435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
1436 ac_cv_prog_ac_ct_CC="cc" | |
1437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
1438 break 2 | |
1439 fi | |
1440 done | |
1441 done | |
1442 | |
1443 fi | |
1444 fi | |
1445 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
1446 if test -n "$ac_ct_CC"; then | |
1447 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
1448 echo "${ECHO_T}$ac_ct_CC" >&6 | |
1449 else | |
1450 echo "$as_me:$LINENO: result: no" >&5 | |
1451 echo "${ECHO_T}no" >&6 | |
1452 fi | |
1453 | |
1454 CC=$ac_ct_CC | |
1455 else | |
1456 CC="$ac_cv_prog_CC" | |
1457 fi | |
1458 | |
1459 fi | |
1460 if test -z "$CC"; then | |
1461 # Extract the first word of "cc", so it can be a program name with args. | |
1462 set dummy cc; ac_word=$2 | |
1463 echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
1464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
1465 if test "${ac_cv_prog_CC+set}" = set; then | |
1466 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1467 else | |
1468 if test -n "$CC"; then | |
1469 ac_cv_prog_CC="$CC" # Let the user override the test. | |
1470 else | |
1471 ac_prog_rejected=no | |
1472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1473 for as_dir in $PATH | |
1474 do | |
1475 IFS=$as_save_IFS | |
1476 test -z "$as_dir" && as_dir=. | |
1477 for ac_exec_ext in '' $ac_executable_extensions; do | |
1478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
1479 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | |
1480 ac_prog_rejected=yes | |
1481 continue | |
1482 fi | |
1483 ac_cv_prog_CC="cc" | |
1484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
1485 break 2 | |
1486 fi | |
1487 done | |
1488 done | |
1489 | |
1490 if test $ac_prog_rejected = yes; then | |
1491 # We found a bogon in the path, so make sure we never use it. | |
1492 set dummy $ac_cv_prog_CC | |
1493 shift | |
1494 if test $# != 0; then | |
1495 # We chose a different compiler from the bogus one. | |
1496 # However, it has the same basename, so the bogon will be chosen | |
1497 # first if we set CC to just the basename; use the full file name. | |
1498 shift | |
1499 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | |
1500 fi | |
1501 fi | |
1502 fi | |
1503 fi | |
1504 CC=$ac_cv_prog_CC | |
1505 if test -n "$CC"; then | |
1506 echo "$as_me:$LINENO: result: $CC" >&5 | |
1507 echo "${ECHO_T}$CC" >&6 | |
1508 else | |
1509 echo "$as_me:$LINENO: result: no" >&5 | |
1510 echo "${ECHO_T}no" >&6 | |
1511 fi | |
1512 | |
1513 fi | |
1514 if test -z "$CC"; then | |
1515 if test -n "$ac_tool_prefix"; then | |
1516 for ac_prog in cl | |
1517 do | |
1518 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
1519 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
1520 echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
1521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
1522 if test "${ac_cv_prog_CC+set}" = set; then | |
1523 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1524 else | |
1525 if test -n "$CC"; then | |
1526 ac_cv_prog_CC="$CC" # Let the user override the test. | |
1527 else | |
1528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1529 for as_dir in $PATH | |
1530 do | |
1531 IFS=$as_save_IFS | |
1532 test -z "$as_dir" && as_dir=. | |
1533 for ac_exec_ext in '' $ac_executable_extensions; do | |
1534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
1535 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | |
1536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
1537 break 2 | |
1538 fi | |
1539 done | |
1540 done | |
1541 | |
1542 fi | |
1543 fi | |
1544 CC=$ac_cv_prog_CC | |
1545 if test -n "$CC"; then | |
1546 echo "$as_me:$LINENO: result: $CC" >&5 | |
1547 echo "${ECHO_T}$CC" >&6 | |
1548 else | |
1549 echo "$as_me:$LINENO: result: no" >&5 | |
1550 echo "${ECHO_T}no" >&6 | |
1551 fi | |
1552 | |
1553 test -n "$CC" && break | |
1554 done | |
1555 fi | |
1556 if test -z "$CC"; then | |
1557 ac_ct_CC=$CC | |
1558 for ac_prog in cl | |
1559 do | |
1560 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
1561 set dummy $ac_prog; ac_word=$2 | |
1562 echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
1563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
1564 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
1565 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1566 else | |
1567 if test -n "$ac_ct_CC"; then | |
1568 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
1569 else | |
1570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1571 for as_dir in $PATH | |
1572 do | |
1573 IFS=$as_save_IFS | |
1574 test -z "$as_dir" && as_dir=. | |
1575 for ac_exec_ext in '' $ac_executable_extensions; do | |
1576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
1577 ac_cv_prog_ac_ct_CC="$ac_prog" | |
1578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
1579 break 2 | |
1580 fi | |
1581 done | |
1582 done | |
1583 | |
1584 fi | |
1585 fi | |
1586 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
1587 if test -n "$ac_ct_CC"; then | |
1588 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
1589 echo "${ECHO_T}$ac_ct_CC" >&6 | |
1590 else | |
1591 echo "$as_me:$LINENO: result: no" >&5 | |
1592 echo "${ECHO_T}no" >&6 | |
1593 fi | |
1594 | |
1595 test -n "$ac_ct_CC" && break | |
1596 done | |
1597 | |
1598 CC=$ac_ct_CC | |
1599 fi | |
1600 | |
1601 fi | |
1602 | |
1603 | |
1604 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 | |
1605 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} | |
1606 { (exit 1); exit 1; }; } | |
1607 | |
1608 # Provide some information about the compiler. | |
1609 echo "$as_me:$LINENO:" \ | |
1610 "checking for C compiler version" >&5 | |
1611 ac_compiler=`set X $ac_compile; echo $2` | |
1612 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | |
1613 (eval $ac_compiler --version </dev/null >&5) 2>&5 | |
1614 ac_status=$? | |
1615 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1616 (exit $ac_status); } | |
1617 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | |
1618 (eval $ac_compiler -v </dev/null >&5) 2>&5 | |
1619 ac_status=$? | |
1620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1621 (exit $ac_status); } | |
1622 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | |
1623 (eval $ac_compiler -V </dev/null >&5) 2>&5 | |
1624 ac_status=$? | |
1625 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1626 (exit $ac_status); } | |
1627 | |
1628 cat >conftest.$ac_ext <<_ACEOF | |
1629 #line $LINENO "configure" | |
1630 #include "confdefs.h" | |
1631 | |
1632 int | |
1633 main () | |
1634 { | |
1635 | |
1636 ; | |
1637 return 0; | |
1638 } | |
1639 _ACEOF | |
1640 ac_clean_files_save=$ac_clean_files | |
1641 ac_clean_files="$ac_clean_files a.out a.exe" | |
1642 # Try to create an executable without -o first, disregard a.out. | |
1643 # It will help us diagnose broken compilers, and finding out an intuition | |
1644 # of exeext. | |
1645 echo "$as_me:$LINENO: checking for C compiler default output" >&5 | |
1646 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 | |
1647 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
1648 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | |
1649 (eval $ac_link_default) 2>&5 | |
1650 ac_status=$? | |
1651 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1652 (exit $ac_status); }; then | |
1653 # Find the output, starting from the most likely. This scheme is | |
1654 # not robust to junk in `.', hence go to wildcards (a.*) only as a last | |
1655 # resort. | |
1656 | |
1657 # Be careful to initialize this variable, since it used to be cached. | |
1658 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | |
1659 ac_cv_exeext= | |
1660 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; | |
1661 ls a.out conftest 2>/dev/null; | |
1662 ls a.* conftest.* 2>/dev/null`; do | |
1663 case $ac_file in | |
1664 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | |
1665 a.out ) # We found the default executable, but exeext='' is most | |
1666 # certainly right. | |
1667 break;; | |
1668 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
1669 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. | |
1670 export ac_cv_exeext | |
1671 break;; | |
1672 * ) break;; | |
1673 esac | |
1674 done | |
1675 else | |
1676 echo "$as_me: failed program was:" >&5 | |
1677 cat conftest.$ac_ext >&5 | |
1678 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 | |
1679 echo "$as_me: error: C compiler cannot create executables" >&2;} | |
1680 { (exit 77); exit 77; }; } | |
1681 fi | |
1682 | |
1683 ac_exeext=$ac_cv_exeext | |
1684 echo "$as_me:$LINENO: result: $ac_file" >&5 | |
1685 echo "${ECHO_T}$ac_file" >&6 | |
1686 | |
1687 # Check the compiler produces executables we can run. If not, either | |
1688 # the compiler is broken, or we cross compile. | |
1689 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | |
1690 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | |
1691 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | |
1692 # If not cross compiling, check that we can run a simple program. | |
1693 if test "$cross_compiling" != yes; then | |
1694 if { ac_try='./$ac_file' | |
1695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
1696 (eval $ac_try) 2>&5 | |
1697 ac_status=$? | |
1698 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1699 (exit $ac_status); }; }; then | |
1700 cross_compiling=no | |
1701 else | |
1702 if test "$cross_compiling" = maybe; then | |
1703 cross_compiling=yes | |
1704 else | |
1705 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | |
1706 If you meant to cross compile, use \`--host'." >&5 | |
1707 echo "$as_me: error: cannot run C compiled programs. | |
1708 If you meant to cross compile, use \`--host'." >&2;} | |
1709 { (exit 1); exit 1; }; } | |
1710 fi | |
1711 fi | |
1712 fi | |
1713 echo "$as_me:$LINENO: result: yes" >&5 | |
1714 echo "${ECHO_T}yes" >&6 | |
1715 | |
1716 rm -f a.out a.exe conftest$ac_cv_exeext | |
1717 ac_clean_files=$ac_clean_files_save | |
1718 # Check the compiler produces executables we can run. If not, either | |
1719 # the compiler is broken, or we cross compile. | |
1720 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | |
1721 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | |
1722 echo "$as_me:$LINENO: result: $cross_compiling" >&5 | |
1723 echo "${ECHO_T}$cross_compiling" >&6 | |
1724 | |
1725 echo "$as_me:$LINENO: checking for suffix of executables" >&5 | |
1726 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | |
1727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
1728 (eval $ac_link) 2>&5 | |
1729 ac_status=$? | |
1730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1731 (exit $ac_status); }; then | |
1732 # If both `conftest.exe' and `conftest' are `present' (well, observable) | |
1733 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
1734 # work properly (i.e., refer to `conftest.exe'), while it won't with | |
1735 # `rm'. | |
1736 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do | |
1737 case $ac_file in | |
1738 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | |
1739 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
1740 export ac_cv_exeext | |
1741 break;; | |
1742 * ) break;; | |
1743 esac | |
1744 done | |
1745 else | |
1746 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 | |
1747 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} | |
1748 { (exit 1); exit 1; }; } | |
1749 fi | |
1750 | |
1751 rm -f conftest$ac_cv_exeext | |
1752 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | |
1753 echo "${ECHO_T}$ac_cv_exeext" >&6 | |
1754 | |
1755 rm -f conftest.$ac_ext | |
1756 EXEEXT=$ac_cv_exeext | |
1757 ac_exeext=$EXEEXT | |
1758 echo "$as_me:$LINENO: checking for suffix of object files" >&5 | |
1759 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | |
1760 if test "${ac_cv_objext+set}" = set; then | |
1761 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1762 else | |
1763 cat >conftest.$ac_ext <<_ACEOF | |
1764 #line $LINENO "configure" | |
1765 #include "confdefs.h" | |
1766 | |
1767 int | |
1768 main () | |
1769 { | |
1770 | |
1771 ; | |
1772 return 0; | |
1773 } | |
1774 _ACEOF | |
1775 rm -f conftest.o conftest.obj | |
1776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
1777 (eval $ac_compile) 2>&5 | |
1778 ac_status=$? | |
1779 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1780 (exit $ac_status); }; then | |
1781 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | |
1782 case $ac_file in | |
1783 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | |
1784 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | |
1785 break;; | |
1786 esac | |
1787 done | |
1788 else | |
1789 echo "$as_me: failed program was:" >&5 | |
1790 cat conftest.$ac_ext >&5 | |
1791 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 | |
1792 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} | |
1793 { (exit 1); exit 1; }; } | |
1794 fi | |
1795 | |
1796 rm -f conftest.$ac_cv_objext conftest.$ac_ext | |
1797 fi | |
1798 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | |
1799 echo "${ECHO_T}$ac_cv_objext" >&6 | |
1800 OBJEXT=$ac_cv_objext | |
1801 ac_objext=$OBJEXT | |
1802 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | |
1803 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | |
1804 if test "${ac_cv_c_compiler_gnu+set}" = set; then | |
1805 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1806 else | |
1807 cat >conftest.$ac_ext <<_ACEOF | |
1808 #line $LINENO "configure" | |
1809 #include "confdefs.h" | |
1810 | |
1811 int | |
1812 main () | |
1813 { | |
1814 #ifndef __GNUC__ | |
1815 choke me | |
1816 #endif | |
1817 | |
1818 ; | |
1819 return 0; | |
1820 } | |
1821 _ACEOF | |
1822 rm -f conftest.$ac_objext | |
1823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
1824 (eval $ac_compile) 2>&5 | |
1825 ac_status=$? | |
1826 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1827 (exit $ac_status); } && | |
1828 { ac_try='test -s conftest.$ac_objext' | |
1829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
1830 (eval $ac_try) 2>&5 | |
1831 ac_status=$? | |
1832 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1833 (exit $ac_status); }; }; then | |
1834 ac_compiler_gnu=yes | |
1835 else | |
1836 echo "$as_me: failed program was:" >&5 | |
1837 cat conftest.$ac_ext >&5 | |
1838 ac_compiler_gnu=no | |
1839 fi | |
1840 rm -f conftest.$ac_objext conftest.$ac_ext | |
1841 ac_cv_c_compiler_gnu=$ac_compiler_gnu | |
1842 | |
1843 fi | |
1844 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | |
1845 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | |
1846 GCC=`test $ac_compiler_gnu = yes && echo yes` | |
1847 ac_test_CFLAGS=${CFLAGS+set} | |
1848 ac_save_CFLAGS=$CFLAGS | |
1849 CFLAGS="-g" | |
1850 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | |
1851 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | |
1852 if test "${ac_cv_prog_cc_g+set}" = set; then | |
1853 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1854 else | |
1855 cat >conftest.$ac_ext <<_ACEOF | |
1856 #line $LINENO "configure" | |
1857 #include "confdefs.h" | |
1858 | |
1859 int | |
1860 main () | |
1861 { | |
1862 | |
1863 ; | |
1864 return 0; | |
1865 } | |
1866 _ACEOF | |
1867 rm -f conftest.$ac_objext | |
1868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
1869 (eval $ac_compile) 2>&5 | |
1870 ac_status=$? | |
1871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1872 (exit $ac_status); } && | |
1873 { ac_try='test -s conftest.$ac_objext' | |
1874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
1875 (eval $ac_try) 2>&5 | |
1876 ac_status=$? | |
1877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1878 (exit $ac_status); }; }; then | |
1879 ac_cv_prog_cc_g=yes | |
1880 else | |
1881 echo "$as_me: failed program was:" >&5 | |
1882 cat conftest.$ac_ext >&5 | |
1883 ac_cv_prog_cc_g=no | |
1884 fi | |
1885 rm -f conftest.$ac_objext conftest.$ac_ext | |
1886 fi | |
1887 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | |
1888 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | |
1889 if test "$ac_test_CFLAGS" = set; then | |
1890 CFLAGS=$ac_save_CFLAGS | |
1891 elif test $ac_cv_prog_cc_g = yes; then | |
1892 if test "$GCC" = yes; then | |
1893 CFLAGS="-g -O2" | |
1894 else | |
1895 CFLAGS="-g" | |
1896 fi | |
1897 else | |
1898 if test "$GCC" = yes; then | |
1899 CFLAGS="-O2" | |
1900 else | |
1901 CFLAGS= | |
1902 fi | |
1903 fi | |
1904 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | |
1905 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | |
1906 if test "${ac_cv_prog_cc_stdc+set}" = set; then | |
1907 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1908 else | |
1909 ac_cv_prog_cc_stdc=no | |
1910 ac_save_CC=$CC | |
1911 cat >conftest.$ac_ext <<_ACEOF | |
1912 #line $LINENO "configure" | |
1913 #include "confdefs.h" | |
1914 #include <stdarg.h> | |
1915 #include <stdio.h> | |
1916 #include <sys/types.h> | |
1917 #include <sys/stat.h> | |
1918 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
1919 struct buf { int x; }; | |
1920 FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
1921 static char *e (p, i) | |
1922 char **p; | |
1923 int i; | |
1924 { | |
1925 return p[i]; | |
1926 } | |
1927 static char *f (char * (*g) (char **, int), char **p, ...) | |
1928 { | |
1929 char *s; | |
1930 va_list v; | |
1931 va_start (v,p); | |
1932 s = g (p, va_arg (v,int)); | |
1933 va_end (v); | |
1934 return s; | |
1935 } | |
1936 int test (int i, double x); | |
1937 struct s1 {int (*f) (int a);}; | |
1938 struct s2 {int (*f) (double a);}; | |
1939 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
1940 int argc; | |
1941 char **argv; | |
1942 int | |
1943 main () | |
1944 { | |
1945 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
1946 ; | |
1947 return 0; | |
1948 } | |
1949 _ACEOF | |
1950 # Don't try gcc -ansi; that turns off useful extensions and | |
1951 # breaks some systems' header files. | |
1952 # AIX -qlanglvl=ansi | |
1953 # Ultrix and OSF/1 -std1 | |
1954 # HP-UX 10.20 and later -Ae | |
1955 # HP-UX older versions -Aa -D_HPUX_SOURCE | |
1956 # SVR4 -Xc -D__EXTENSIONS__ | |
1957 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
1958 do | |
1959 CC="$ac_save_CC $ac_arg" | |
1960 rm -f conftest.$ac_objext | |
1961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
1962 (eval $ac_compile) 2>&5 | |
1963 ac_status=$? | |
1964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1965 (exit $ac_status); } && | |
1966 { ac_try='test -s conftest.$ac_objext' | |
1967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
1968 (eval $ac_try) 2>&5 | |
1969 ac_status=$? | |
1970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1971 (exit $ac_status); }; }; then | |
1972 ac_cv_prog_cc_stdc=$ac_arg | |
1973 break | |
1974 else | |
1975 echo "$as_me: failed program was:" >&5 | |
1976 cat conftest.$ac_ext >&5 | |
1977 fi | |
1978 rm -f conftest.$ac_objext | |
1979 done | |
1980 rm -f conftest.$ac_ext conftest.$ac_objext | |
1981 CC=$ac_save_CC | |
1982 | |
1983 fi | |
1984 | |
1985 case "x$ac_cv_prog_cc_stdc" in | |
1986 x|xno) | |
1987 echo "$as_me:$LINENO: result: none needed" >&5 | |
1988 echo "${ECHO_T}none needed" >&6 ;; | |
1989 *) | |
1990 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | |
1991 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | |
1992 CC="$CC $ac_cv_prog_cc_stdc" ;; | |
1993 esac | |
1994 | |
1995 # Some people use a C++ compiler to compile C. Since we use `exit', | |
1996 # in C++ we need to declare it. In case someone uses the same compiler | |
1997 # for both compiling C and C++ we need to have the C++ compiler decide | |
1998 # the declaration of exit, since it's the most demanding environment. | |
1999 cat >conftest.$ac_ext <<_ACEOF | |
2000 #ifndef __cplusplus | |
2001 choke me | |
2002 #endif | |
2003 _ACEOF | |
2004 rm -f conftest.$ac_objext | |
2005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2006 (eval $ac_compile) 2>&5 | |
2007 ac_status=$? | |
2008 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2009 (exit $ac_status); } && | |
2010 { ac_try='test -s conftest.$ac_objext' | |
2011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2012 (eval $ac_try) 2>&5 | |
2013 ac_status=$? | |
2014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2015 (exit $ac_status); }; }; then | |
2016 for ac_declaration in \ | |
2017 ''\ | |
2018 '#include <stdlib.h>' \ | |
2019 'extern "C" void std::exit (int) throw (); using std::exit;' \ | |
2020 'extern "C" void std::exit (int); using std::exit;' \ | |
2021 'extern "C" void exit (int) throw ();' \ | |
2022 'extern "C" void exit (int);' \ | |
2023 'void exit (int);' | |
2024 do | |
2025 cat >conftest.$ac_ext <<_ACEOF | |
2026 #line $LINENO "configure" | |
2027 #include "confdefs.h" | |
2028 #include <stdlib.h> | |
2029 $ac_declaration | |
2030 int | |
2031 main () | |
2032 { | |
2033 exit (42); | |
2034 ; | |
2035 return 0; | |
2036 } | |
2037 _ACEOF | |
2038 rm -f conftest.$ac_objext | |
2039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2040 (eval $ac_compile) 2>&5 | |
2041 ac_status=$? | |
2042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2043 (exit $ac_status); } && | |
2044 { ac_try='test -s conftest.$ac_objext' | |
2045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2046 (eval $ac_try) 2>&5 | |
2047 ac_status=$? | |
2048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2049 (exit $ac_status); }; }; then | |
2050 : | |
2051 else | |
2052 echo "$as_me: failed program was:" >&5 | |
2053 cat conftest.$ac_ext >&5 | |
2054 continue | |
2055 fi | |
2056 rm -f conftest.$ac_objext conftest.$ac_ext | |
2057 cat >conftest.$ac_ext <<_ACEOF | |
2058 #line $LINENO "configure" | |
2059 #include "confdefs.h" | |
2060 $ac_declaration | |
2061 int | |
2062 main () | |
2063 { | |
2064 exit (42); | |
2065 ; | |
2066 return 0; | |
2067 } | |
2068 _ACEOF | |
2069 rm -f conftest.$ac_objext | |
2070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2071 (eval $ac_compile) 2>&5 | |
2072 ac_status=$? | |
2073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2074 (exit $ac_status); } && | |
2075 { ac_try='test -s conftest.$ac_objext' | |
2076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2077 (eval $ac_try) 2>&5 | |
2078 ac_status=$? | |
2079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2080 (exit $ac_status); }; }; then | |
2081 break | |
2082 else | |
2083 echo "$as_me: failed program was:" >&5 | |
2084 cat conftest.$ac_ext >&5 | |
2085 fi | |
2086 rm -f conftest.$ac_objext conftest.$ac_ext | |
2087 done | |
2088 rm -f conftest* | |
2089 if test -n "$ac_declaration"; then | |
2090 echo '#ifdef __cplusplus' >>confdefs.h | |
2091 echo $ac_declaration >>confdefs.h | |
2092 echo '#endif' >>confdefs.h | |
2093 fi | |
2094 | |
2095 else | |
2096 echo "$as_me: failed program was:" >&5 | |
2097 cat conftest.$ac_ext >&5 | |
2098 fi | |
2099 rm -f conftest.$ac_objext conftest.$ac_ext | |
2100 ac_ext=c | |
2101 ac_cpp='$CPP $CPPFLAGS' | |
2102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
2103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
2104 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
2105 | |
2106 ac_aux_dir= | |
2107 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | |
2108 if test -f $ac_dir/install-sh; then | |
2109 ac_aux_dir=$ac_dir | |
2110 ac_install_sh="$ac_aux_dir/install-sh -c" | |
2111 break | |
2112 elif test -f $ac_dir/install.sh; then | |
2113 ac_aux_dir=$ac_dir | |
2114 ac_install_sh="$ac_aux_dir/install.sh -c" | |
2115 break | |
2116 elif test -f $ac_dir/shtool; then | |
2117 ac_aux_dir=$ac_dir | |
2118 ac_install_sh="$ac_aux_dir/shtool install -c" | |
2119 break | |
2120 fi | |
2121 done | |
2122 if test -z "$ac_aux_dir"; then | |
2123 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | |
2124 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | |
2125 { (exit 1); exit 1; }; } | |
2126 fi | |
2127 ac_config_guess="$SHELL $ac_aux_dir/config.guess" | |
2128 ac_config_sub="$SHELL $ac_aux_dir/config.sub" | |
2129 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | |
2130 | |
2131 # Find a good install program. We prefer a C program (faster), | |
2132 # so one script is as good as another. But avoid the broken or | |
2133 # incompatible versions: | |
2134 # SysV /etc/install, /usr/sbin/install | |
2135 # SunOS /usr/etc/install | |
2136 # IRIX /sbin/install | |
2137 # AIX /bin/install | |
2138 # AmigaOS /C/install, which installs bootblocks on floppy discs | |
2139 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
2140 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
2141 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
2142 # ./install, which can be erroneously created by make from ./install.sh. | |
2143 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | |
2144 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | |
2145 if test -z "$INSTALL"; then | |
2146 if test "${ac_cv_path_install+set}" = set; then | |
2147 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2148 else | |
2149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2150 for as_dir in $PATH | |
2151 do | |
2152 IFS=$as_save_IFS | |
2153 test -z "$as_dir" && as_dir=. | |
2154 # Account for people who put trailing slashes in PATH elements. | |
2155 case $as_dir/ in | |
2156 ./ | .// | /cC/* | \ | |
2157 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
2158 /usr/ucb/* ) ;; | |
2159 *) | |
2160 # OSF1 and SCO ODT 3.0 have their own names for install. | |
2161 # Don't use installbsd from OSF since it installs stuff as root | |
2162 # by default. | |
2163 for ac_prog in ginstall scoinst install; do | |
2164 for ac_exec_ext in '' $ac_executable_extensions; do | |
2165 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | |
2166 if test $ac_prog = install && | |
2167 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
2168 # AIX install. It has an incompatible calling convention. | |
2169 : | |
2170 elif test $ac_prog = install && | |
2171 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
2172 # program-specific install script used by HP pwplus--don't use. | |
2173 : | |
2174 else | |
2175 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
2176 break 3 | |
2177 fi | |
2178 fi | |
2179 done | |
2180 done | |
2181 ;; | |
2182 esac | |
2183 done | |
2184 | |
2185 | |
2186 fi | |
2187 if test "${ac_cv_path_install+set}" = set; then | |
2188 INSTALL=$ac_cv_path_install | |
2189 else | |
2190 # As a last resort, use the slow shell script. We don't cache a | |
2191 # path for INSTALL within a source directory, because that will | |
2192 # break other packages using the cache if that directory is | |
2193 # removed, or if the path is relative. | |
2194 INSTALL=$ac_install_sh | |
2195 fi | |
2196 fi | |
2197 echo "$as_me:$LINENO: result: $INSTALL" >&5 | |
2198 echo "${ECHO_T}$INSTALL" >&6 | |
2199 | |
2200 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
2201 # It thinks the first close brace ends the variable substitution. | |
2202 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
2203 | |
2204 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
2205 | |
2206 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
2207 | |
2208 | |
2209 | |
2210 | |
2211 # Find ELLCC | |
2212 | |
2213 # Extract the first word of "ellcc", so it can be a program name with args. | |
2214 set dummy ellcc; ac_word=$2 | |
2215 echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
2217 if test "${ac_cv_path_ELLCC+set}" = set; then | |
2218 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2219 else | |
2220 case $ELLCC in | |
2221 [\\/]* | ?:[\\/]*) | |
2222 ac_cv_path_ELLCC="$ELLCC" # Let the user override the test with a path. | |
2223 ;; | |
2224 *) | |
2225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2226 for as_dir in $PATH | |
2227 do | |
2228 IFS=$as_save_IFS | |
2229 test -z "$as_dir" && as_dir=. | |
2230 for ac_exec_ext in '' $ac_executable_extensions; do | |
2231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2232 ac_cv_path_ELLCC="$as_dir/$ac_word$ac_exec_ext" | |
2233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2234 break 2 | |
2235 fi | |
2236 done | |
2237 done | |
2238 | |
2239 test -z "$ac_cv_path_ELLCC" && ac_cv_path_ELLCC=""FAIL"" | |
2240 ;; | |
2241 esac | |
2242 fi | |
2243 ELLCC=$ac_cv_path_ELLCC | |
2244 | |
2245 if test -n "$ELLCC"; then | |
2246 echo "$as_me:$LINENO: result: $ELLCC" >&5 | |
2247 echo "${ECHO_T}$ELLCC" >&6 | |
2248 else | |
2249 echo "$as_me:$LINENO: result: no" >&5 | |
2250 echo "${ECHO_T}no" >&6 | |
2251 fi | |
2252 | |
2253 if test "$ELLCC" = "FAIL"; then | |
2254 { { echo "$as_me:$LINENO: error: Cannot find ellcc" >&5 | |
2255 echo "$as_me: error: Cannot find ellcc" >&2;} | |
2256 { (exit 1); exit 1; }; } | |
2257 fi | |
2258 | |
2259 | |
2260 # Find the LDAP headers and libraries | |
2261 have_ldap="yes" | |
2262 | |
2263 ac_ext=c | |
2264 ac_cpp='$CPP $CPPFLAGS' | |
2265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
2266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
2267 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
2268 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | |
2269 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | |
2270 # On Suns, sometimes $CPP names a directory. | |
2271 if test -n "$CPP" && test -d "$CPP"; then | |
2272 CPP= | |
2273 fi | |
2274 if test -z "$CPP"; then | |
2275 if test "${ac_cv_prog_CPP+set}" = set; then | |
2276 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2277 else | |
2278 # Double quotes because CPP needs to be expanded | |
2279 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
2280 do | |
2281 ac_preproc_ok=false | |
2282 for ac_c_preproc_warn_flag in '' yes | |
2283 do | |
2284 # Use a header file that comes with gcc, so configuring glibc | |
2285 # with a fresh cross-compiler works. | |
2286 # On the NeXT, cc -E runs the code through the compiler's parser, | |
2287 # not just through cpp. "Syntax error" is here to catch this case. | |
2288 cat >conftest.$ac_ext <<_ACEOF | |
2289 #line $LINENO "configure" | |
2290 #include "confdefs.h" | |
2291 #include <assert.h> | |
2292 Syntax error | |
2293 _ACEOF | |
2294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
2295 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
2296 ac_status=$? | |
2297 grep -v '^ *+' conftest.er1 >conftest.err | |
2298 rm -f conftest.er1 | |
2299 cat conftest.err >&5 | |
2300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2301 (exit $ac_status); } >/dev/null; then | |
2302 if test -s conftest.err; then | |
2303 ac_cpp_err=$ac_c_preproc_warn_flag | |
2304 else | |
2305 ac_cpp_err= | |
2306 fi | |
2307 else | |
2308 ac_cpp_err=yes | |
2309 fi | |
2310 if test -z "$ac_cpp_err"; then | |
2311 : | |
2312 else | |
2313 echo "$as_me: failed program was:" >&5 | |
2314 cat conftest.$ac_ext >&5 | |
2315 # Broken: fails on valid input. | |
2316 continue | |
2317 fi | |
2318 rm -f conftest.err conftest.$ac_ext | |
2319 | |
2320 # OK, works on sane cases. Now check whether non-existent headers | |
2321 # can be detected and how. | |
2322 cat >conftest.$ac_ext <<_ACEOF | |
2323 #line $LINENO "configure" | |
2324 #include "confdefs.h" | |
2325 #include <ac_nonexistent.h> | |
2326 _ACEOF | |
2327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
2328 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
2329 ac_status=$? | |
2330 grep -v '^ *+' conftest.er1 >conftest.err | |
2331 rm -f conftest.er1 | |
2332 cat conftest.err >&5 | |
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2334 (exit $ac_status); } >/dev/null; then | |
2335 if test -s conftest.err; then | |
2336 ac_cpp_err=$ac_c_preproc_warn_flag | |
2337 else | |
2338 ac_cpp_err= | |
2339 fi | |
2340 else | |
2341 ac_cpp_err=yes | |
2342 fi | |
2343 if test -z "$ac_cpp_err"; then | |
2344 # Broken: success on invalid input. | |
2345 continue | |
2346 else | |
2347 echo "$as_me: failed program was:" >&5 | |
2348 cat conftest.$ac_ext >&5 | |
2349 # Passes both tests. | |
2350 ac_preproc_ok=: | |
2351 break | |
2352 fi | |
2353 rm -f conftest.err conftest.$ac_ext | |
2354 | |
2355 done | |
2356 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
2357 rm -f conftest.err conftest.$ac_ext | |
2358 if $ac_preproc_ok; then | |
2359 break | |
2360 fi | |
2361 | |
2362 done | |
2363 ac_cv_prog_CPP=$CPP | |
2364 | |
2365 fi | |
2366 CPP=$ac_cv_prog_CPP | |
2367 else | |
2368 ac_cv_prog_CPP=$CPP | |
2369 fi | |
2370 echo "$as_me:$LINENO: result: $CPP" >&5 | |
2371 echo "${ECHO_T}$CPP" >&6 | |
2372 ac_preproc_ok=false | |
2373 for ac_c_preproc_warn_flag in '' yes | |
2374 do | |
2375 # Use a header file that comes with gcc, so configuring glibc | |
2376 # with a fresh cross-compiler works. | |
2377 # On the NeXT, cc -E runs the code through the compiler's parser, | |
2378 # not just through cpp. "Syntax error" is here to catch this case. | |
2379 cat >conftest.$ac_ext <<_ACEOF | |
2380 #line $LINENO "configure" | |
2381 #include "confdefs.h" | |
2382 #include <assert.h> | |
2383 Syntax error | |
2384 _ACEOF | |
2385 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
2386 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
2387 ac_status=$? | |
2388 grep -v '^ *+' conftest.er1 >conftest.err | |
2389 rm -f conftest.er1 | |
2390 cat conftest.err >&5 | |
2391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2392 (exit $ac_status); } >/dev/null; then | |
2393 if test -s conftest.err; then | |
2394 ac_cpp_err=$ac_c_preproc_warn_flag | |
2395 else | |
2396 ac_cpp_err= | |
2397 fi | |
2398 else | |
2399 ac_cpp_err=yes | |
2400 fi | |
2401 if test -z "$ac_cpp_err"; then | |
2402 : | |
2403 else | |
2404 echo "$as_me: failed program was:" >&5 | |
2405 cat conftest.$ac_ext >&5 | |
2406 # Broken: fails on valid input. | |
2407 continue | |
2408 fi | |
2409 rm -f conftest.err conftest.$ac_ext | |
2410 | |
2411 # OK, works on sane cases. Now check whether non-existent headers | |
2412 # can be detected and how. | |
2413 cat >conftest.$ac_ext <<_ACEOF | |
2414 #line $LINENO "configure" | |
2415 #include "confdefs.h" | |
2416 #include <ac_nonexistent.h> | |
2417 _ACEOF | |
2418 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
2419 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
2420 ac_status=$? | |
2421 grep -v '^ *+' conftest.er1 >conftest.err | |
2422 rm -f conftest.er1 | |
2423 cat conftest.err >&5 | |
2424 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2425 (exit $ac_status); } >/dev/null; then | |
2426 if test -s conftest.err; then | |
2427 ac_cpp_err=$ac_c_preproc_warn_flag | |
2428 else | |
2429 ac_cpp_err= | |
2430 fi | |
2431 else | |
2432 ac_cpp_err=yes | |
2433 fi | |
2434 if test -z "$ac_cpp_err"; then | |
2435 # Broken: success on invalid input. | |
2436 continue | |
2437 else | |
2438 echo "$as_me: failed program was:" >&5 | |
2439 cat conftest.$ac_ext >&5 | |
2440 # Passes both tests. | |
2441 ac_preproc_ok=: | |
2442 break | |
2443 fi | |
2444 rm -f conftest.err conftest.$ac_ext | |
2445 | |
2446 done | |
2447 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
2448 rm -f conftest.err conftest.$ac_ext | |
2449 if $ac_preproc_ok; then | |
2450 : | |
2451 else | |
2452 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 | |
2453 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} | |
2454 { (exit 1); exit 1; }; } | |
2455 fi | |
2456 | |
2457 ac_ext=c | |
2458 ac_cpp='$CPP $CPPFLAGS' | |
2459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
2460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
2461 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
2462 | |
2463 | |
2464 echo "$as_me:$LINENO: checking for egrep" >&5 | |
2465 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | |
2466 if test "${ac_cv_prog_egrep+set}" = set; then | |
2467 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2468 else | |
2469 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | |
2470 then ac_cv_prog_egrep='grep -E' | |
2471 else ac_cv_prog_egrep='egrep' | |
2472 fi | |
2473 fi | |
2474 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | |
2475 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | |
2476 EGREP=$ac_cv_prog_egrep | |
2477 | |
2478 | |
2479 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | |
2480 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | |
2481 if test "${ac_cv_header_stdc+set}" = set; then | |
2482 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2483 else | |
2484 cat >conftest.$ac_ext <<_ACEOF | |
2485 #line $LINENO "configure" | |
2486 #include "confdefs.h" | |
2487 #include <stdlib.h> | |
2488 #include <stdarg.h> | |
2489 #include <string.h> | |
2490 #include <float.h> | |
2491 | |
2492 _ACEOF | |
2493 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
2494 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
2495 ac_status=$? | |
2496 grep -v '^ *+' conftest.er1 >conftest.err | |
2497 rm -f conftest.er1 | |
2498 cat conftest.err >&5 | |
2499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2500 (exit $ac_status); } >/dev/null; then | |
2501 if test -s conftest.err; then | |
2502 ac_cpp_err=$ac_c_preproc_warn_flag | |
2503 else | |
2504 ac_cpp_err= | |
2505 fi | |
2506 else | |
2507 ac_cpp_err=yes | |
2508 fi | |
2509 if test -z "$ac_cpp_err"; then | |
2510 ac_cv_header_stdc=yes | |
2511 else | |
2512 echo "$as_me: failed program was:" >&5 | |
2513 cat conftest.$ac_ext >&5 | |
2514 ac_cv_header_stdc=no | |
2515 fi | |
2516 rm -f conftest.err conftest.$ac_ext | |
2517 | |
2518 if test $ac_cv_header_stdc = yes; then | |
2519 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
2520 cat >conftest.$ac_ext <<_ACEOF | |
2521 #line $LINENO "configure" | |
2522 #include "confdefs.h" | |
2523 #include <string.h> | |
2524 | |
2525 _ACEOF | |
2526 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
2527 $EGREP "memchr" >/dev/null 2>&1; then | |
2528 : | |
2529 else | |
2530 ac_cv_header_stdc=no | |
2531 fi | |
2532 rm -f conftest* | |
2533 | |
2534 fi | |
2535 | |
2536 if test $ac_cv_header_stdc = yes; then | |
2537 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
2538 cat >conftest.$ac_ext <<_ACEOF | |
2539 #line $LINENO "configure" | |
2540 #include "confdefs.h" | |
2541 #include <stdlib.h> | |
2542 | |
2543 _ACEOF | |
2544 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
2545 $EGREP "free" >/dev/null 2>&1; then | |
2546 : | |
2547 else | |
2548 ac_cv_header_stdc=no | |
2549 fi | |
2550 rm -f conftest* | |
2551 | |
2552 fi | |
2553 | |
2554 if test $ac_cv_header_stdc = yes; then | |
2555 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
2556 if test "$cross_compiling" = yes; then | |
2557 : | |
2558 else | |
2559 cat >conftest.$ac_ext <<_ACEOF | |
2560 #line $LINENO "configure" | |
2561 #include "confdefs.h" | |
2562 #include <ctype.h> | |
2563 #if ((' ' & 0x0FF) == 0x020) | |
2564 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
2565 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
2566 #else | |
2567 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ | |
2568 || ('j' <= (c) && (c) <= 'r') \ | |
2569 || ('s' <= (c) && (c) <= 'z')) | |
2570 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
2571 #endif | |
2572 | |
2573 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
2574 int | |
2575 main () | |
2576 { | |
2577 int i; | |
2578 for (i = 0; i < 256; i++) | |
2579 if (XOR (islower (i), ISLOWER (i)) | |
2580 || toupper (i) != TOUPPER (i)) | |
2581 exit(2); | |
2582 exit (0); | |
2583 } | |
2584 _ACEOF | |
2585 rm -f conftest$ac_exeext | |
2586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
2587 (eval $ac_link) 2>&5 | |
2588 ac_status=$? | |
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2590 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
2591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2592 (eval $ac_try) 2>&5 | |
2593 ac_status=$? | |
2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2595 (exit $ac_status); }; }; then | |
2596 : | |
2597 else | |
2598 echo "$as_me: program exited with status $ac_status" >&5 | |
2599 echo "$as_me: failed program was:" >&5 | |
2600 cat conftest.$ac_ext >&5 | |
2601 ( exit $ac_status ) | |
2602 ac_cv_header_stdc=no | |
2603 fi | |
2604 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
2605 fi | |
2606 fi | |
2607 fi | |
2608 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | |
2609 echo "${ECHO_T}$ac_cv_header_stdc" >&6 | |
2610 if test $ac_cv_header_stdc = yes; then | |
2611 | |
2612 cat >>confdefs.h <<\_ACEOF | |
2613 #define STDC_HEADERS 1 | |
2614 _ACEOF | |
2615 | |
2616 fi | |
2617 | |
2618 # On IRIX 5.3, sys/types and inttypes.h are conflicting. | |
2619 | |
2620 | |
2621 | |
2622 | |
2623 | |
2624 | |
2625 | |
2626 | |
2627 | |
2628 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |
2629 inttypes.h stdint.h unistd.h | |
2630 do | |
2631 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
2632 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
2633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
2634 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
2635 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2636 else | |
2637 cat >conftest.$ac_ext <<_ACEOF | |
2638 #line $LINENO "configure" | |
2639 #include "confdefs.h" | |
2640 $ac_includes_default | |
2641 | |
2642 #include <$ac_header> | |
2643 _ACEOF | |
2644 rm -f conftest.$ac_objext | |
2645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2646 (eval $ac_compile) 2>&5 | |
2647 ac_status=$? | |
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2649 (exit $ac_status); } && | |
2650 { ac_try='test -s conftest.$ac_objext' | |
2651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2652 (eval $ac_try) 2>&5 | |
2653 ac_status=$? | |
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2655 (exit $ac_status); }; }; then | |
2656 eval "$as_ac_Header=yes" | |
2657 else | |
2658 echo "$as_me: failed program was:" >&5 | |
2659 cat conftest.$ac_ext >&5 | |
2660 eval "$as_ac_Header=no" | |
2661 fi | |
2662 rm -f conftest.$ac_objext conftest.$ac_ext | |
2663 fi | |
2664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
2665 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
2666 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
2667 cat >>confdefs.h <<_ACEOF | |
2668 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
2669 _ACEOF | |
2670 | |
2671 fi | |
2672 | |
2673 done | |
2674 | |
2675 | |
2676 | |
2677 | |
2678 for ac_header in ldap.h lber.h | |
2679 do | |
2680 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
2681 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
2682 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
2683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
2684 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
2685 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2686 fi | |
2687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
2688 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
2689 else | |
2690 # Is the header compilable? | |
2691 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
2692 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
2693 cat >conftest.$ac_ext <<_ACEOF | |
2694 #line $LINENO "configure" | |
2695 #include "confdefs.h" | |
2696 $ac_includes_default | |
2697 #include <$ac_header> | |
2698 _ACEOF | |
2699 rm -f conftest.$ac_objext | |
2700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2701 (eval $ac_compile) 2>&5 | |
2702 ac_status=$? | |
2703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2704 (exit $ac_status); } && | |
2705 { ac_try='test -s conftest.$ac_objext' | |
2706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2707 (eval $ac_try) 2>&5 | |
2708 ac_status=$? | |
2709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2710 (exit $ac_status); }; }; then | |
2711 ac_header_compiler=yes | |
2712 else | |
2713 echo "$as_me: failed program was:" >&5 | |
2714 cat conftest.$ac_ext >&5 | |
2715 ac_header_compiler=no | |
2716 fi | |
2717 rm -f conftest.$ac_objext conftest.$ac_ext | |
2718 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
2719 echo "${ECHO_T}$ac_header_compiler" >&6 | |
2720 | |
2721 # Is the header present? | |
2722 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
2723 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
2724 cat >conftest.$ac_ext <<_ACEOF | |
2725 #line $LINENO "configure" | |
2726 #include "confdefs.h" | |
2727 #include <$ac_header> | |
2728 _ACEOF | |
2729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
2730 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
2731 ac_status=$? | |
2732 grep -v '^ *+' conftest.er1 >conftest.err | |
2733 rm -f conftest.er1 | |
2734 cat conftest.err >&5 | |
2735 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2736 (exit $ac_status); } >/dev/null; then | |
2737 if test -s conftest.err; then | |
2738 ac_cpp_err=$ac_c_preproc_warn_flag | |
2739 else | |
2740 ac_cpp_err= | |
2741 fi | |
2742 else | |
2743 ac_cpp_err=yes | |
2744 fi | |
2745 if test -z "$ac_cpp_err"; then | |
2746 ac_header_preproc=yes | |
2747 else | |
2748 echo "$as_me: failed program was:" >&5 | |
2749 cat conftest.$ac_ext >&5 | |
2750 ac_header_preproc=no | |
2751 fi | |
2752 rm -f conftest.err conftest.$ac_ext | |
2753 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
2754 echo "${ECHO_T}$ac_header_preproc" >&6 | |
2755 | |
2756 # So? What about this header? | |
2757 case $ac_header_compiler:$ac_header_preproc in | |
2758 yes:no ) | |
2759 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
2760 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
2761 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
2762 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
2763 no:yes ) | |
2764 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
2765 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
2766 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
2767 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
2768 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
2769 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
2770 esac | |
2771 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
2772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
2773 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
2774 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2775 else | |
2776 eval "$as_ac_Header=$ac_header_preproc" | |
2777 fi | |
2778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
2779 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
2780 | |
2781 fi | |
2782 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
2783 cat >>confdefs.h <<_ACEOF | |
2784 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
2785 _ACEOF | |
2786 | |
2787 else | |
2788 have_ldap="no" | |
2789 fi | |
2790 | |
2791 done | |
2792 | |
2793 if test "$have_ldap" = "yes"; then | |
2794 | |
2795 echo "$as_me:$LINENO: checking for ldap_search in -lldap" >&5 | |
2796 echo $ECHO_N "checking for ldap_search in -lldap... $ECHO_C" >&6 | |
2797 if test "${ac_cv_lib_ldap_ldap_search+set}" = set; then | |
2798 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2799 else | |
2800 ac_check_lib_save_LIBS=$LIBS | |
2801 LIBS="-lldap -llber $LIBS" | |
2802 cat >conftest.$ac_ext <<_ACEOF | |
2803 #line $LINENO "configure" | |
2804 #include "confdefs.h" | |
2805 | |
2806 /* Override any gcc2 internal prototype to avoid an error. */ | |
2807 #ifdef __cplusplus | |
2808 extern "C" | |
2809 #endif | |
2810 /* We use char because int might match the return type of a gcc2 | |
2811 builtin and then its argument prototype would still apply. */ | |
2812 char ldap_search (); | |
2813 int | |
2814 main () | |
2815 { | |
2816 ldap_search (); | |
2817 ; | |
2818 return 0; | |
2819 } | |
2820 _ACEOF | |
2821 rm -f conftest.$ac_objext conftest$ac_exeext | |
2822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
2823 (eval $ac_link) 2>&5 | |
2824 ac_status=$? | |
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2826 (exit $ac_status); } && | |
2827 { ac_try='test -s conftest$ac_exeext' | |
2828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2829 (eval $ac_try) 2>&5 | |
2830 ac_status=$? | |
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2832 (exit $ac_status); }; }; then | |
2833 ac_cv_lib_ldap_ldap_search=yes | |
2834 else | |
2835 echo "$as_me: failed program was:" >&5 | |
2836 cat conftest.$ac_ext >&5 | |
2837 ac_cv_lib_ldap_ldap_search=no | |
2838 fi | |
2839 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
2840 LIBS=$ac_check_lib_save_LIBS | |
2841 fi | |
2842 echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_search" >&5 | |
2843 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_search" >&6 | |
2844 if test $ac_cv_lib_ldap_ldap_search = yes; then | |
2845 cat >>confdefs.h <<_ACEOF | |
2846 #define HAVE_LIBLDAP 1 | |
2847 _ACEOF | |
2848 | |
2849 LIBS="-lldap $LIBS" | |
2850 | |
2851 else | |
2852 have_ldap="no"; LIBS="$LIBS -llber" | |
2853 fi | |
2854 | |
2855 test "$have_ldap" = "no" && { | |
2856 echo "$as_me:$LINENO: checking for ldap_open in -lldap" >&5 | |
2857 echo $ECHO_N "checking for ldap_open in -lldap... $ECHO_C" >&6 | |
2858 if test "${ac_cv_lib_ldap_ldap_open+set}" = set; then | |
2859 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2860 else | |
2861 ac_check_lib_save_LIBS=$LIBS | |
2862 LIBS="-lldap -lkrb $LIBS" | |
2863 cat >conftest.$ac_ext <<_ACEOF | |
2864 #line $LINENO "configure" | |
2865 #include "confdefs.h" | |
2866 | |
2867 /* Override any gcc2 internal prototype to avoid an error. */ | |
2868 #ifdef __cplusplus | |
2869 extern "C" | |
2870 #endif | |
2871 /* We use char because int might match the return type of a gcc2 | |
2872 builtin and then its argument prototype would still apply. */ | |
2873 char ldap_open (); | |
2874 int | |
2875 main () | |
2876 { | |
2877 ldap_open (); | |
2878 ; | |
2879 return 0; | |
2880 } | |
2881 _ACEOF | |
2882 rm -f conftest.$ac_objext conftest$ac_exeext | |
2883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
2884 (eval $ac_link) 2>&5 | |
2885 ac_status=$? | |
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2887 (exit $ac_status); } && | |
2888 { ac_try='test -s conftest$ac_exeext' | |
2889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2890 (eval $ac_try) 2>&5 | |
2891 ac_status=$? | |
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2893 (exit $ac_status); }; }; then | |
2894 ac_cv_lib_ldap_ldap_open=yes | |
2895 else | |
2896 echo "$as_me: failed program was:" >&5 | |
2897 cat conftest.$ac_ext >&5 | |
2898 ac_cv_lib_ldap_ldap_open=no | |
2899 fi | |
2900 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
2901 LIBS=$ac_check_lib_save_LIBS | |
2902 fi | |
2903 echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_open" >&5 | |
2904 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_open" >&6 | |
2905 if test $ac_cv_lib_ldap_ldap_open = yes; then | |
2906 have_ldap="yes" | |
2907 else | |
2908 LIBS="$LIBS -lkrb" | |
2909 fi | |
2910 } | |
2911 test "$have_ldap" = "no" && { | |
2912 echo "$as_me:$LINENO: checking for ldap_open in -lldap" >&5 | |
2913 echo $ECHO_N "checking for ldap_open in -lldap... $ECHO_C" >&6 | |
2914 if test "${ac_cv_lib_ldap_ldap_open+set}" = set; then | |
2915 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2916 else | |
2917 ac_check_lib_save_LIBS=$LIBS | |
2918 LIBS="-lldap -ldes $LIBS" | |
2919 cat >conftest.$ac_ext <<_ACEOF | |
2920 #line $LINENO "configure" | |
2921 #include "confdefs.h" | |
2922 | |
2923 /* Override any gcc2 internal prototype to avoid an error. */ | |
2924 #ifdef __cplusplus | |
2925 extern "C" | |
2926 #endif | |
2927 /* We use char because int might match the return type of a gcc2 | |
2928 builtin and then its argument prototype would still apply. */ | |
2929 char ldap_open (); | |
2930 int | |
2931 main () | |
2932 { | |
2933 ldap_open (); | |
2934 ; | |
2935 return 0; | |
2936 } | |
2937 _ACEOF | |
2938 rm -f conftest.$ac_objext conftest$ac_exeext | |
2939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
2940 (eval $ac_link) 2>&5 | |
2941 ac_status=$? | |
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2943 (exit $ac_status); } && | |
2944 { ac_try='test -s conftest$ac_exeext' | |
2945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2946 (eval $ac_try) 2>&5 | |
2947 ac_status=$? | |
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2949 (exit $ac_status); }; }; then | |
2950 ac_cv_lib_ldap_ldap_open=yes | |
2951 else | |
2952 echo "$as_me: failed program was:" >&5 | |
2953 cat conftest.$ac_ext >&5 | |
2954 ac_cv_lib_ldap_ldap_open=no | |
2955 fi | |
2956 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
2957 LIBS=$ac_check_lib_save_LIBS | |
2958 fi | |
2959 echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_open" >&5 | |
2960 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_open" >&6 | |
2961 if test $ac_cv_lib_ldap_ldap_open = yes; then | |
2962 have_ldap="yes" | |
2963 else | |
2964 LIBS="$LIBS -ldes" | |
2965 fi | |
2966 } | |
2967 else | |
2968 { { echo "$as_me:$LINENO: error: Cannot find the LDAP header file" >&5 | |
2969 echo "$as_me: error: Cannot find the LDAP header file" >&2;} | |
2970 { (exit 1); exit 1; }; } | |
2971 fi | |
2972 | |
2973 if test "$have_ldap" = "yes"; then | |
2974 | |
2975 | |
2976 | |
2977 | |
2978 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | |
2979 do | |
2980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
2981 echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
2982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
2983 if eval "test \"\${$as_ac_var+set}\" = set"; then | |
2984 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2985 else | |
2986 cat >conftest.$ac_ext <<_ACEOF | |
2987 #line $LINENO "configure" | |
2988 #include "confdefs.h" | |
2989 /* System header to define __stub macros and hopefully few prototypes, | |
2990 which can conflict with char $ac_func (); below. */ | |
2991 #include <assert.h> | |
2992 /* Override any gcc2 internal prototype to avoid an error. */ | |
2993 #ifdef __cplusplus | |
2994 extern "C" | |
2995 #endif | |
2996 /* We use char because int might match the return type of a gcc2 | |
2997 builtin and then its argument prototype would still apply. */ | |
2998 char $ac_func (); | |
2999 char (*f) (); | |
3000 | |
3001 int | |
3002 main () | |
3003 { | |
3004 /* The GNU C library defines this for functions which it implements | |
3005 to always fail with ENOSYS. Some functions are actually named | |
3006 something starting with __ and the normal name is an alias. */ | |
3007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
3008 choke me | |
3009 #else | |
3010 f = $ac_func; | |
3011 #endif | |
3012 | |
3013 ; | |
3014 return 0; | |
3015 } | |
3016 _ACEOF | |
3017 rm -f conftest.$ac_objext conftest$ac_exeext | |
3018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
3019 (eval $ac_link) 2>&5 | |
3020 ac_status=$? | |
3021 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3022 (exit $ac_status); } && | |
3023 { ac_try='test -s conftest$ac_exeext' | |
3024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3025 (eval $ac_try) 2>&5 | |
3026 ac_status=$? | |
3027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3028 (exit $ac_status); }; }; then | |
3029 eval "$as_ac_var=yes" | |
3030 else | |
3031 echo "$as_me: failed program was:" >&5 | |
3032 cat conftest.$ac_ext >&5 | |
3033 eval "$as_ac_var=no" | |
3034 fi | |
3035 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
3036 fi | |
3037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
3038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
3039 if test `eval echo '${'$as_ac_var'}'` = yes; then | |
3040 cat >>confdefs.h <<_ACEOF | |
3041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
3042 _ACEOF | |
3043 | |
3044 fi | |
3045 done | |
3046 | |
3047 else | |
3048 { { echo "$as_me:$LINENO: error: Cannot link with the LDAP library" >&5 | |
3049 echo "$as_me: error: Cannot link with the LDAP library" >&2;} | |
3050 { (exit 1); exit 1; }; } | |
3051 fi | |
3052 | |
3053 ldap_libs="$LIBS" | |
3054 | |
3055 | |
3056 # This part should appear unchanged in every module configure.ac | |
3057 PROGNAME="module" | |
3058 | |
3059 MOD_CC="@ELLCC@" | |
3060 | |
3061 MODARCHDIR="\$(shell @ELLCC@ --mod-archdir)" | |
3062 | |
3063 MAKE_DOCFILE="\$(MODARCHDIR)/make-docfile" | |
3064 | |
3065 MODCFLAGS="\$(CFLAGS) --mode=compile --mod-output=\$@ -I\$(MODARCHDIR)/include" | |
3066 | |
3067 INSTALLPATH="\$(shell @ELLCC@ --mod-site-location)" | |
3068 | |
3069 MOD_INSTALL_PROGRAM="@INSTALL_PROGRAM@" | |
3070 | |
3071 OBJECT_TO_BUILD="\$(MODNAME).ell" | |
3072 | |
3073 | |
3074 ac_config_files="$ac_config_files Makefile.in Makefile" | |
3075 | |
3076 cat >confcache <<\_ACEOF | |
3077 # This file is a shell script that caches the results of configure | |
3078 # tests run on this system so they can be shared between configure | |
3079 # scripts and configure runs, see configure's option --config-cache. | |
3080 # It is not useful on other systems. If it contains results you don't | |
3081 # want to keep, you may remove or edit it. | |
3082 # | |
3083 # config.status only pays attention to the cache file if you give it | |
3084 # the --recheck option to rerun configure. | |
3085 # | |
3086 # `ac_cv_env_foo' variables (set or unset) will be overridden when | |
3087 # loading this file, other *unset* `ac_cv_foo' will be assigned the | |
3088 # following values. | |
3089 | |
3090 _ACEOF | |
3091 | |
3092 # The following way of writing the cache mishandles newlines in values, | |
3093 # but we know of no workaround that is simple, portable, and efficient. | |
3094 # So, don't put newlines in cache variables' values. | |
3095 # Ultrix sh set writes to stderr and can't be redirected directly, | |
3096 # and sets the high bit in the cache file unless we assign to the vars. | |
3097 { | |
3098 (set) 2>&1 | | |
3099 case `(ac_space=' '; set | grep ac_space) 2>&1` in | |
3100 *ac_space=\ *) | |
3101 # `set' does not quote correctly, so add quotes (double-quote | |
3102 # substitution turns \\\\ into \\, and sed turns \\ into \). | |
3103 sed -n \ | |
3104 "s/'/'\\\\''/g; | |
3105 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | |
3106 ;; | |
3107 *) | |
3108 # `set' quotes correctly as required by POSIX, so do not add quotes. | |
3109 sed -n \ | |
3110 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | |
3111 ;; | |
3112 esac; | |
3113 } | | |
3114 sed ' | |
3115 t clear | |
3116 : clear | |
3117 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | |
3118 t end | |
3119 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | |
3120 : end' >>confcache | |
3121 if cmp -s $cache_file confcache; then :; else | |
3122 if test -w $cache_file; then | |
3123 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | |
3124 cat confcache >$cache_file | |
3125 else | |
3126 echo "not updating unwritable cache $cache_file" | |
3127 fi | |
3128 fi | |
3129 rm -f confcache | |
3130 | |
3131 test "x$prefix" = xNONE && prefix=$ac_default_prefix | |
3132 # Let make expand exec_prefix. | |
3133 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
3134 | |
3135 # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
3136 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
3137 # trailing colons and then remove the whole line if VPATH becomes empty | |
3138 # (actually we leave an empty line to preserve line numbers). | |
3139 if test "x$srcdir" = x.; then | |
3140 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
3141 s/:*\$(srcdir):*/:/; | |
3142 s/:*\${srcdir}:*/:/; | |
3143 s/:*@srcdir@:*/:/; | |
3144 s/^\([^=]*=[ ]*\):*/\1/; | |
3145 s/:*$//; | |
3146 s/^[^=]*=[ ]*$//; | |
3147 }' | |
3148 fi | |
3149 | |
3150 # Transform confdefs.h into DEFS. | |
3151 # Protect against shell expansion while executing Makefile rules. | |
3152 # Protect against Makefile macro expansion. | |
3153 # | |
3154 # If the first sed substitution is executed (which looks for macros that | |
3155 # take arguments), then we branch to the quote section. Otherwise, | |
3156 # look for a macro that doesn't take arguments. | |
3157 cat >confdef2opt.sed <<\_ACEOF | |
3158 t clear | |
3159 : clear | |
3160 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g | |
3161 t quote | |
3162 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g | |
3163 t quote | |
3164 d | |
3165 : quote | |
3166 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g | |
3167 s,\[,\\&,g | |
3168 s,\],\\&,g | |
3169 s,\$,$$,g | |
3170 p | |
3171 _ACEOF | |
3172 # We use echo to avoid assuming a particular line-breaking character. | |
3173 # The extra dot is to prevent the shell from consuming trailing | |
3174 # line-breaks from the sub-command output. A line-break within | |
3175 # single-quotes doesn't work because, if this script is created in a | |
3176 # platform that uses two characters for line-breaks (e.g., DOS), tr | |
3177 # would break. | |
3178 ac_LF_and_DOT=`echo; echo .` | |
3179 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` | |
3180 rm -f confdef2opt.sed | |
3181 | |
3182 | |
3183 ac_libobjs= | |
3184 ac_ltlibobjs= | |
3185 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | |
3186 # 1. Remove the extension, and $U if already installed. | |
3187 ac_i=`echo "$ac_i" | | |
3188 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | |
3189 # 2. Add them. | |
3190 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | |
3191 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | |
3192 done | |
3193 LIBOBJS=$ac_libobjs | |
3194 | |
3195 LTLIBOBJS=$ac_ltlibobjs | |
3196 | |
3197 | |
3198 | |
3199 : ${CONFIG_STATUS=./config.status} | |
3200 ac_clean_files_save=$ac_clean_files | |
3201 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | |
3202 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | |
3203 echo "$as_me: creating $CONFIG_STATUS" >&6;} | |
3204 cat >$CONFIG_STATUS <<_ACEOF | |
3205 #! $SHELL | |
3206 # Generated by $as_me. | |
3207 # Run this file to recreate the current configuration. | |
3208 # Compiler output produced by configure, useful for debugging | |
3209 # configure, is in config.log if it exists. | |
3210 | |
3211 debug=false | |
3212 SHELL=\${CONFIG_SHELL-$SHELL} | |
3213 _ACEOF | |
3214 | |
3215 cat >>$CONFIG_STATUS <<\_ACEOF | |
3216 ## --------------------- ## | |
3217 ## M4sh Initialization. ## | |
3218 ## --------------------- ## | |
3219 | |
3220 # Be Bourne compatible | |
3221 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
3222 emulate sh | |
3223 NULLCMD=: | |
3224 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
3225 # is contrary to our usage. Disable this feature. | |
3226 alias -g '${1+"$@"}'='"$@"' | |
3227 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | |
3228 set -o posix | |
3229 fi | |
3230 | |
3231 # NLS nuisances. | |
3232 # Support unset when possible. | |
3233 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | |
3234 as_unset=unset | |
3235 else | |
3236 as_unset=false | |
3237 fi | |
3238 | |
3239 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") && | |
3240 { $as_unset LANG || test "${LANG+set}" != set; } || | |
3241 { LANG=C; export LANG; } | |
3242 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && | |
3243 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || | |
3244 { LC_ALL=C; export LC_ALL; } | |
3245 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && | |
3246 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || | |
3247 { LC_TIME=C; export LC_TIME; } | |
3248 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && | |
3249 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || | |
3250 { LC_CTYPE=C; export LC_CTYPE; } | |
3251 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && | |
3252 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || | |
3253 { LANGUAGE=C; export LANGUAGE; } | |
3254 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && | |
3255 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || | |
3256 { LC_COLLATE=C; export LC_COLLATE; } | |
3257 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && | |
3258 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || | |
3259 { LC_NUMERIC=C; export LC_NUMERIC; } | |
3260 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && | |
3261 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || | |
3262 { LC_MESSAGES=C; export LC_MESSAGES; } | |
3263 | |
3264 | |
3265 # Required to use basename. | |
3266 if expr a : '\(a\)' >/dev/null 2>&1; then | |
3267 as_expr=expr | |
3268 else | |
3269 as_expr=false | |
3270 fi | |
3271 | |
3272 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | |
3273 as_basename=basename | |
3274 else | |
3275 as_basename=false | |
3276 fi | |
3277 | |
3278 | |
3279 # Name of the executable. | |
3280 as_me=`$as_basename "$0" || | |
3281 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
3282 X"$0" : 'X\(//\)$' \| \ | |
3283 X"$0" : 'X\(/\)$' \| \ | |
3284 . : '\(.\)' 2>/dev/null || | |
3285 echo X/"$0" | | |
3286 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | |
3287 /^X\/\(\/\/\)$/{ s//\1/; q; } | |
3288 /^X\/\(\/\).*/{ s//\1/; q; } | |
3289 s/.*/./; q'` | |
3290 | |
3291 | |
3292 # PATH needs CR, and LINENO needs CR and PATH. | |
3293 # Avoid depending upon Character Ranges. | |
3294 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
3295 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
3296 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
3297 as_cr_digits='0123456789' | |
3298 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
3299 | |
3300 # The user is always right. | |
3301 if test "${PATH_SEPARATOR+set}" != set; then | |
3302 echo "#! /bin/sh" >conftest.sh | |
3303 echo "exit 0" >>conftest.sh | |
3304 chmod +x conftest.sh | |
3305 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then | |
3306 PATH_SEPARATOR=';' | |
3307 else | |
3308 PATH_SEPARATOR=: | |
3309 fi | |
3310 rm -f conftest.sh | |
3311 fi | |
3312 | |
3313 | |
3314 as_lineno_1=$LINENO | |
3315 as_lineno_2=$LINENO | |
3316 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
3317 test "x$as_lineno_1" != "x$as_lineno_2" && | |
3318 test "x$as_lineno_3" = "x$as_lineno_2" || { | |
3319 # Find who we are. Look in the path if we contain no path at all | |
3320 # relative or not. | |
3321 case $0 in | |
3322 *[\\/]* ) as_myself=$0 ;; | |
3323 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3324 for as_dir in $PATH | |
3325 do | |
3326 IFS=$as_save_IFS | |
3327 test -z "$as_dir" && as_dir=. | |
3328 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
3329 done | |
3330 | |
3331 ;; | |
3332 esac | |
3333 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
3334 # in which case we are not to be found in the path. | |
3335 if test "x$as_myself" = x; then | |
3336 as_myself=$0 | |
3337 fi | |
3338 if test ! -f "$as_myself"; then | |
3339 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | |
3340 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | |
3341 { (exit 1); exit 1; }; } | |
3342 fi | |
3343 case $CONFIG_SHELL in | |
3344 '') | |
3345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3346 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
3347 do | |
3348 IFS=$as_save_IFS | |
3349 test -z "$as_dir" && as_dir=. | |
3350 for as_base in sh bash ksh sh5; do | |
3351 case $as_dir in | |
3352 /*) | |
3353 if ("$as_dir/$as_base" -c ' | |
3354 as_lineno_1=$LINENO | |
3355 as_lineno_2=$LINENO | |
3356 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
3357 test "x$as_lineno_1" != "x$as_lineno_2" && | |
3358 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | |
3359 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | |
3360 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | |
3361 CONFIG_SHELL=$as_dir/$as_base | |
3362 export CONFIG_SHELL | |
3363 exec "$CONFIG_SHELL" "$0" ${1+"$@"} | |
3364 fi;; | |
3365 esac | |
3366 done | |
3367 done | |
3368 ;; | |
3369 esac | |
3370 | |
3371 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
3372 # uniformly replaced by the line number. The first 'sed' inserts a | |
3373 # line-number line before each line; the second 'sed' does the real | |
3374 # work. The second script uses 'N' to pair each line-number line | |
3375 # with the numbered line, and appends trailing '-' during | |
3376 # substitution so that $LINENO is not a special case at line end. | |
3377 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
3378 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | |
3379 sed '=' <$as_myself | | |
3380 sed ' | |
3381 N | |
3382 s,$,-, | |
3383 : loop | |
3384 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | |
3385 t loop | |
3386 s,-$,, | |
3387 s,^['$as_cr_digits']*\n,, | |
3388 ' >$as_me.lineno && | |
3389 chmod +x $as_me.lineno || | |
3390 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | |
3391 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | |
3392 { (exit 1); exit 1; }; } | |
3393 | |
3394 # Don't try to exec as it changes $[0], causing all sort of problems | |
3395 # (the dirname of $[0] is not the place where we might find the | |
3396 # original and so on. Autoconf is especially sensible to this). | |
3397 . ./$as_me.lineno | |
3398 # Exit status is that of the last command. | |
3399 exit | |
3400 } | |
3401 | |
3402 | |
3403 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | |
3404 *c*,-n*) ECHO_N= ECHO_C=' | |
3405 ' ECHO_T=' ' ;; | |
3406 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | |
3407 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | |
3408 esac | |
3409 | |
3410 if expr a : '\(a\)' >/dev/null 2>&1; then | |
3411 as_expr=expr | |
3412 else | |
3413 as_expr=false | |
3414 fi | |
3415 | |
3416 rm -f conf$$ conf$$.exe conf$$.file | |
3417 echo >conf$$.file | |
3418 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
3419 # We could just check for DJGPP; but this test a) works b) is more generic | |
3420 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | |
3421 if test -f conf$$.exe; then | |
3422 # Don't use ln at all; we don't have any links | |
3423 as_ln_s='cp -p' | |
3424 else | |
3425 as_ln_s='ln -s' | |
3426 fi | |
3427 elif ln conf$$.file conf$$ 2>/dev/null; then | |
3428 as_ln_s=ln | |
3429 else | |
3430 as_ln_s='cp -p' | |
3431 fi | |
3432 rm -f conf$$ conf$$.exe conf$$.file | |
3433 | |
3434 if mkdir -p . 2>/dev/null; then | |
3435 as_mkdir_p=: | |
3436 else | |
3437 as_mkdir_p=false | |
3438 fi | |
3439 | |
3440 as_executable_p="test -f" | |
3441 | |
3442 # Sed expression to map a string onto a valid CPP name. | |
3443 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | |
3444 | |
3445 # Sed expression to map a string onto a valid variable name. | |
3446 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | |
3447 | |
3448 | |
3449 # IFS | |
3450 # We need space, tab and new line, in precisely that order. | |
3451 as_nl=' | |
3452 ' | |
3453 IFS=" $as_nl" | |
3454 | |
3455 # CDPATH. | |
3456 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } | |
3457 | |
3458 exec 6>&1 | |
3459 | |
3460 # Open the log real soon, to keep \$[0] and so on meaningful, and to | |
3461 # report actual input values of CONFIG_FILES etc. instead of their | |
3462 # values after options handling. Logging --version etc. is OK. | |
3463 exec 5>>config.log | |
3464 { | |
3465 echo | |
3466 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
3467 ## Running $as_me. ## | |
3468 _ASBOX | |
3469 } >&5 | |
3470 cat >&5 <<_CSEOF | |
3471 | |
3472 This file was extended by LDAP module $as_me 1.0, which was | |
3473 generated by GNU Autoconf 2.53b. Invocation command line was | |
3474 | |
3475 CONFIG_FILES = $CONFIG_FILES | |
3476 CONFIG_HEADERS = $CONFIG_HEADERS | |
3477 CONFIG_LINKS = $CONFIG_LINKS | |
3478 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
3479 $ $0 $@ | |
3480 | |
3481 _CSEOF | |
3482 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | |
3483 echo >&5 | |
3484 _ACEOF | |
3485 | |
3486 # Files that config.status was made for. | |
3487 if test -n "$ac_config_files"; then | |
3488 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | |
3489 fi | |
3490 | |
3491 if test -n "$ac_config_headers"; then | |
3492 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | |
3493 fi | |
3494 | |
3495 if test -n "$ac_config_links"; then | |
3496 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | |
3497 fi | |
3498 | |
3499 if test -n "$ac_config_commands"; then | |
3500 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | |
3501 fi | |
3502 | |
3503 cat >>$CONFIG_STATUS <<\_ACEOF | |
3504 | |
3505 ac_cs_usage="\ | |
3506 \`$as_me' instantiates files from templates according to the | |
3507 current configuration. | |
3508 | |
3509 Usage: $0 [OPTIONS] [FILE]... | |
3510 | |
3511 -h, --help print this help, then exit | |
3512 -V, --version print version number, then exit | |
3513 -d, --debug don't remove temporary files | |
3514 --recheck update $as_me by reconfiguring in the same conditions | |
3515 --file=FILE[:TEMPLATE] | |
3516 instantiate the configuration file FILE | |
3517 | |
3518 Configuration files: | |
3519 $config_files | |
3520 | |
3521 Report bugs to <bug-autoconf@gnu.org>." | |
3522 _ACEOF | |
3523 | |
3524 cat >>$CONFIG_STATUS <<_ACEOF | |
3525 ac_cs_version="\\ | |
3526 LDAP module config.status 1.0 | |
3527 configured by $0, generated by GNU Autoconf 2.53b, | |
3528 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | |
3529 | |
3530 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | |
3531 Free Software Foundation, Inc. | |
3532 This config.status script is free software; the Free Software Foundation | |
3533 gives unlimited permission to copy, distribute and modify it." | |
3534 srcdir=$srcdir | |
3535 INSTALL="$INSTALL" | |
3536 _ACEOF | |
3537 | |
3538 cat >>$CONFIG_STATUS <<\_ACEOF | |
3539 # If no file are specified by the user, then we need to provide default | |
3540 # value. By we need to know if files were specified by the user. | |
3541 ac_need_defaults=: | |
3542 while test $# != 0 | |
3543 do | |
3544 case $1 in | |
3545 --*=*) | |
3546 ac_option=`expr "x$1" : 'x\([^=]*\)='` | |
3547 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | |
3548 ac_shift=: | |
3549 ;; | |
3550 -*) | |
3551 ac_option=$1 | |
3552 ac_optarg=$2 | |
3553 ac_shift=shift | |
3554 ;; | |
3555 *) # This is not an option, so the user has probably given explicit | |
3556 # arguments. | |
3557 ac_option=$1 | |
3558 ac_need_defaults=false;; | |
3559 esac | |
3560 | |
3561 case $ac_option in | |
3562 # Handling of the options. | |
3563 _ACEOF | |
3564 cat >>$CONFIG_STATUS <<_ACEOF | |
3565 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
3566 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" | |
3567 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; | |
3568 _ACEOF | |
3569 cat >>$CONFIG_STATUS <<\_ACEOF | |
3570 --version | --vers* | -V ) | |
3571 echo "$ac_cs_version"; exit 0 ;; | |
3572 --he | --h) | |
3573 # Conflict between --help and --header | |
3574 { { echo "$as_me:$LINENO: error: ambiguous option: $1 | |
3575 Try \`$0 --help' for more information." >&5 | |
3576 echo "$as_me: error: ambiguous option: $1 | |
3577 Try \`$0 --help' for more information." >&2;} | |
3578 { (exit 1); exit 1; }; };; | |
3579 --help | --hel | -h ) | |
3580 echo "$ac_cs_usage"; exit 0 ;; | |
3581 --debug | --d* | -d ) | |
3582 debug=: ;; | |
3583 --file | --fil | --fi | --f ) | |
3584 $ac_shift | |
3585 CONFIG_FILES="$CONFIG_FILES $ac_optarg" | |
3586 ac_need_defaults=false;; | |
3587 --header | --heade | --head | --hea ) | |
3588 $ac_shift | |
3589 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | |
3590 ac_need_defaults=false;; | |
3591 | |
3592 # This is an error. | |
3593 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | |
3594 Try \`$0 --help' for more information." >&5 | |
3595 echo "$as_me: error: unrecognized option: $1 | |
3596 Try \`$0 --help' for more information." >&2;} | |
3597 { (exit 1); exit 1; }; } ;; | |
3598 | |
3599 *) ac_config_targets="$ac_config_targets $1" ;; | |
3600 | |
3601 esac | |
3602 shift | |
3603 done | |
3604 | |
3605 _ACEOF | |
3606 | |
3607 | |
3608 | |
3609 | |
3610 | |
3611 cat >>$CONFIG_STATUS <<\_ACEOF | |
3612 for ac_config_target in $ac_config_targets | |
3613 do | |
3614 case "$ac_config_target" in | |
3615 # Handling of arguments. | |
3616 "Makefile.in" ) CONFIG_FILES="$CONFIG_FILES Makefile.in" ;; | |
3617 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
3618 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | |
3619 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | |
3620 { (exit 1); exit 1; }; };; | |
3621 esac | |
3622 done | |
3623 | |
3624 # If the user did not use the arguments to specify the items to instantiate, | |
3625 # then the envvar interface is used. Set only those that are not. | |
3626 # We use the long form for the default assignment because of an extremely | |
3627 # bizarre bug on SunOS 4.1.3. | |
3628 if $ac_need_defaults; then | |
3629 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
3630 fi | |
3631 | |
3632 # Create a temporary directory, and hook for its removal unless debugging. | |
3633 $debug || | |
3634 { | |
3635 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | |
3636 trap '{ (exit 1); exit 1; }' 1 2 13 15 | |
3637 } | |
3638 | |
3639 # Create a (secure) tmp directory for tmp files. | |
3640 : ${TMPDIR=/tmp} | |
3641 { | |
3642 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && | |
3643 test -n "$tmp" && test -d "$tmp" | |
3644 } || | |
3645 { | |
3646 tmp=$TMPDIR/cs$$-$RANDOM | |
3647 (umask 077 && mkdir $tmp) | |
3648 } || | |
3649 { | |
3650 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 | |
3651 { (exit 1); exit 1; } | |
3652 } | |
3653 | |
3654 _ACEOF | |
3655 | |
3656 cat >>$CONFIG_STATUS <<_ACEOF | |
3657 | |
3658 # | |
3659 # CONFIG_FILES section. | |
3660 # | |
3661 | |
3662 # No need to generate the scripts if there are no CONFIG_FILES. | |
3663 # This happens for instance when ./config.status config.h | |
3664 if test -n "\$CONFIG_FILES"; then | |
3665 # Protect against being on the right side of a sed subst in config.status. | |
3666 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | |
3667 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | |
3668 s,@SHELL@,$SHELL,;t t | |
3669 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | |
3670 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | |
3671 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | |
3672 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | |
3673 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | |
3674 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | |
3675 s,@exec_prefix@,$exec_prefix,;t t | |
3676 s,@prefix@,$prefix,;t t | |
3677 s,@program_transform_name@,$program_transform_name,;t t | |
3678 s,@bindir@,$bindir,;t t | |
3679 s,@sbindir@,$sbindir,;t t | |
3680 s,@libexecdir@,$libexecdir,;t t | |
3681 s,@datadir@,$datadir,;t t | |
3682 s,@sysconfdir@,$sysconfdir,;t t | |
3683 s,@sharedstatedir@,$sharedstatedir,;t t | |
3684 s,@localstatedir@,$localstatedir,;t t | |
3685 s,@libdir@,$libdir,;t t | |
3686 s,@includedir@,$includedir,;t t | |
3687 s,@oldincludedir@,$oldincludedir,;t t | |
3688 s,@infodir@,$infodir,;t t | |
3689 s,@mandir@,$mandir,;t t | |
3690 s,@build_alias@,$build_alias,;t t | |
3691 s,@host_alias@,$host_alias,;t t | |
3692 s,@target_alias@,$target_alias,;t t | |
3693 s,@DEFS@,$DEFS,;t t | |
3694 s,@ECHO_C@,$ECHO_C,;t t | |
3695 s,@ECHO_N@,$ECHO_N,;t t | |
3696 s,@ECHO_T@,$ECHO_T,;t t | |
3697 s,@LIBS@,$LIBS,;t t | |
3698 s,@CC@,$CC,;t t | |
3699 s,@CFLAGS@,$CFLAGS,;t t | |
3700 s,@LDFLAGS@,$LDFLAGS,;t t | |
3701 s,@CPPFLAGS@,$CPPFLAGS,;t t | |
3702 s,@ac_ct_CC@,$ac_ct_CC,;t t | |
3703 s,@EXEEXT@,$EXEEXT,;t t | |
3704 s,@OBJEXT@,$OBJEXT,;t t | |
3705 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | |
3706 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | |
3707 s,@INSTALL_DATA@,$INSTALL_DATA,;t t | |
3708 s,@ELLCC@,$ELLCC,;t t | |
3709 s,@CPP@,$CPP,;t t | |
3710 s,@EGREP@,$EGREP,;t t | |
3711 s,@ldap_libs@,$ldap_libs,;t t | |
3712 s,@PROGNAME@,$PROGNAME,;t t | |
3713 s,@MOD_CC@,$MOD_CC,;t t | |
3714 s,@MODARCHDIR@,$MODARCHDIR,;t t | |
3715 s,@MAKE_DOCFILE@,$MAKE_DOCFILE,;t t | |
3716 s,@MODCFLAGS@,$MODCFLAGS,;t t | |
3717 s,@INSTALLPATH@,$INSTALLPATH,;t t | |
3718 s,@MOD_INSTALL_PROGRAM@,$MOD_INSTALL_PROGRAM,;t t | |
3719 s,@OBJECT_TO_BUILD@,$OBJECT_TO_BUILD,;t t | |
3720 s,@LIBOBJS@,$LIBOBJS,;t t | |
3721 s,@LTLIBOBJS@,$LTLIBOBJS,;t t | |
3722 CEOF | |
3723 | |
3724 _ACEOF | |
3725 | |
3726 cat >>$CONFIG_STATUS <<\_ACEOF | |
3727 # Split the substitutions into bite-sized pieces for seds with | |
3728 # small command number limits, like on Digital OSF/1 and HP-UX. | |
3729 ac_max_sed_lines=48 | |
3730 ac_sed_frag=1 # Number of current file. | |
3731 ac_beg=1 # First line for current file. | |
3732 ac_end=$ac_max_sed_lines # Line after last line for current file. | |
3733 ac_more_lines=: | |
3734 ac_sed_cmds= | |
3735 while $ac_more_lines; do | |
3736 if test $ac_beg -gt 1; then | |
3737 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | |
3738 else | |
3739 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | |
3740 fi | |
3741 if test ! -s $tmp/subs.frag; then | |
3742 ac_more_lines=false | |
3743 else | |
3744 # The purpose of the label and of the branching condition is to | |
3745 # speed up the sed processing (if there are no `@' at all, there | |
3746 # is no need to browse any of the substitutions). | |
3747 # These are the two extra sed commands mentioned above. | |
3748 (echo ':t | |
3749 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | |
3750 if test -z "$ac_sed_cmds"; then | |
3751 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | |
3752 else | |
3753 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | |
3754 fi | |
3755 ac_sed_frag=`expr $ac_sed_frag + 1` | |
3756 ac_beg=$ac_end | |
3757 ac_end=`expr $ac_end + $ac_max_sed_lines` | |
3758 fi | |
3759 done | |
3760 if test -z "$ac_sed_cmds"; then | |
3761 ac_sed_cmds=cat | |
3762 fi | |
3763 fi # test -n "$CONFIG_FILES" | |
3764 | |
3765 _ACEOF | |
3766 cat >>$CONFIG_STATUS <<\_ACEOF | |
3767 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | |
3768 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | |
3769 case $ac_file in | |
3770 - | *:- | *:-:* ) # input from stdin | |
3771 cat >$tmp/stdin | |
3772 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
3773 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
3774 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
3775 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
3776 * ) ac_file_in=$ac_file.in ;; | |
3777 esac | |
3778 | |
3779 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | |
3780 ac_dir=`(dirname "$ac_file") 2>/dev/null || | |
3781 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
3782 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
3783 X"$ac_file" : 'X\(//\)$' \| \ | |
3784 X"$ac_file" : 'X\(/\)' \| \ | |
3785 . : '\(.\)' 2>/dev/null || | |
3786 echo X"$ac_file" | | |
3787 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
3788 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
3789 /^X\(\/\/\)$/{ s//\1/; q; } | |
3790 /^X\(\/\).*/{ s//\1/; q; } | |
3791 s/.*/./; q'` | |
3792 { if $as_mkdir_p; then | |
3793 mkdir -p "$ac_dir" | |
3794 else | |
3795 as_dir="$ac_dir" | |
3796 as_dirs= | |
3797 while test ! -d "$as_dir"; do | |
3798 as_dirs="$as_dir $as_dirs" | |
3799 as_dir=`(dirname "$as_dir") 2>/dev/null || | |
3800 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
3801 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
3802 X"$as_dir" : 'X\(//\)$' \| \ | |
3803 X"$as_dir" : 'X\(/\)' \| \ | |
3804 . : '\(.\)' 2>/dev/null || | |
3805 echo X"$as_dir" | | |
3806 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
3807 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
3808 /^X\(\/\/\)$/{ s//\1/; q; } | |
3809 /^X\(\/\).*/{ s//\1/; q; } | |
3810 s/.*/./; q'` | |
3811 done | |
3812 test ! -n "$as_dirs" || mkdir $as_dirs | |
3813 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | |
3814 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | |
3815 { (exit 1); exit 1; }; }; } | |
3816 | |
3817 ac_builddir=. | |
3818 | |
3819 if test "$ac_dir" != .; then | |
3820 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | |
3821 # A "../" for each directory in $ac_dir_suffix. | |
3822 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | |
3823 else | |
3824 ac_dir_suffix= ac_top_builddir= | |
3825 fi | |
3826 | |
3827 case $srcdir in | |
3828 .) # No --srcdir option. We are building in place. | |
3829 ac_srcdir=. | |
3830 if test -z "$ac_top_builddir"; then | |
3831 ac_top_srcdir=. | |
3832 else | |
3833 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
3834 fi ;; | |
3835 [\\/]* | ?:[\\/]* ) # Absolute path. | |
3836 ac_srcdir=$srcdir$ac_dir_suffix; | |
3837 ac_top_srcdir=$srcdir ;; | |
3838 *) # Relative path. | |
3839 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | |
3840 ac_top_srcdir=$ac_top_builddir$srcdir ;; | |
3841 esac | |
3842 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | |
3843 # absolute. | |
3844 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | |
3845 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | |
3846 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | |
3847 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | |
3848 | |
3849 | |
3850 case $INSTALL in | |
3851 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | |
3852 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | |
3853 esac | |
3854 | |
3855 if test x"$ac_file" != x-; then | |
3856 { echo "$as_me:$LINENO: creating $ac_file" >&5 | |
3857 echo "$as_me: creating $ac_file" >&6;} | |
3858 rm -f "$ac_file" | |
3859 fi | |
3860 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
3861 # use $as_me), people would be surprised to read: | |
3862 # /* config.h. Generated by config.status. */ | |
3863 if test x"$ac_file" = x-; then | |
3864 configure_input= | |
3865 else | |
3866 configure_input="$ac_file. " | |
3867 fi | |
3868 configure_input=$configure_input"Generated from `echo $ac_file_in | | |
3869 sed 's,.*/,,'` by configure." | |
3870 | |
3871 # First look for the input files in the build tree, otherwise in the | |
3872 # src tree. | |
3873 ac_file_inputs=`IFS=: | |
3874 for f in $ac_file_in; do | |
3875 case $f in | |
3876 -) echo $tmp/stdin ;; | |
3877 [\\/$]*) | |
3878 # Absolute (can't be DOS-style, as IFS=:) | |
3879 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | |
3880 echo "$as_me: error: cannot find input file: $f" >&2;} | |
3881 { (exit 1); exit 1; }; } | |
3882 echo $f;; | |
3883 *) # Relative | |
3884 if test -f "$f"; then | |
3885 # Build tree | |
3886 echo $f | |
3887 elif test -f "$srcdir/$f"; then | |
3888 # Source tree | |
3889 echo $srcdir/$f | |
3890 else | |
3891 # /dev/null tree | |
3892 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | |
3893 echo "$as_me: error: cannot find input file: $f" >&2;} | |
3894 { (exit 1); exit 1; }; } | |
3895 fi;; | |
3896 esac | |
3897 done` || { (exit 1); exit 1; } | |
3898 _ACEOF | |
3899 cat >>$CONFIG_STATUS <<_ACEOF | |
3900 sed "$ac_vpsub | |
3901 $extrasub | |
3902 _ACEOF | |
3903 cat >>$CONFIG_STATUS <<\_ACEOF | |
3904 :t | |
3905 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
3906 s,@configure_input@,$configure_input,;t t | |
3907 s,@srcdir@,$ac_srcdir,;t t | |
3908 s,@abs_srcdir@,$ac_abs_srcdir,;t t | |
3909 s,@top_srcdir@,$ac_top_srcdir,;t t | |
3910 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | |
3911 s,@builddir@,$ac_builddir,;t t | |
3912 s,@abs_builddir@,$ac_abs_builddir,;t t | |
3913 s,@top_builddir@,$ac_top_builddir,;t t | |
3914 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | |
3915 s,@INSTALL@,$ac_INSTALL,;t t | |
3916 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | |
3917 rm -f $tmp/stdin | |
3918 if test x"$ac_file" != x-; then | |
3919 mv $tmp/out $ac_file | |
3920 else | |
3921 cat $tmp/out | |
3922 rm -f $tmp/out | |
3923 fi | |
3924 | |
3925 done | |
3926 _ACEOF | |
3927 | |
3928 cat >>$CONFIG_STATUS <<\_ACEOF | |
3929 | |
3930 { (exit 0); exit 0; } | |
3931 _ACEOF | |
3932 chmod +x $CONFIG_STATUS | |
3933 ac_clean_files=$ac_clean_files_save | |
3934 | |
3935 | |
3936 # configure is writing to config.log, and then calls config.status. | |
3937 # config.status does its own redirection, appending to config.log. | |
3938 # Unfortunately, on DOS this fails, as config.log is still kept open | |
3939 # by configure, so config.status won't be able to write to it; its | |
3940 # output is simply discarded. So we exec the FD to /dev/null, | |
3941 # effectively closing config.log, so it can be properly (re)opened and | |
3942 # appended to by config.status. When coming back to configure, we | |
3943 # need to make the FD available again. | |
3944 if test "$no_create" != yes; then | |
3945 ac_cs_success=: | |
3946 exec 5>/dev/null | |
3947 $SHELL $CONFIG_STATUS || ac_cs_success=false | |
3948 exec 5>>config.log | |
3949 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | |
3950 # would make configure fail if this is the last instruction. | |
3951 $ac_cs_success || { (exit 1); exit 1; } | |
3952 fi | |
3953 |