1 | #! /bin/sh |
---|
2 | # Guess values for system-dependent variables and create Makefiles. |
---|
3 | # Generated by GNU Autoconf 2.59 for mod_gnutls 0.2.0. |
---|
4 | # |
---|
5 | # Copyright (C) 2003 Free Software Foundation, Inc. |
---|
6 | # This configure script is free software; the Free Software Foundation |
---|
7 | # gives unlimited permission to copy, distribute and modify it. |
---|
8 | ## --------------------- ## |
---|
9 | ## M4sh Initialization. ## |
---|
10 | ## --------------------- ## |
---|
11 | |
---|
12 | # Be Bourne compatible |
---|
13 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
14 | emulate sh |
---|
15 | NULLCMD=: |
---|
16 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
17 | # is contrary to our usage. Disable this feature. |
---|
18 | alias -g '${1+"$@"}'='"$@"' |
---|
19 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
---|
20 | set -o posix |
---|
21 | fi |
---|
22 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
23 | |
---|
24 | # Support unset when possible. |
---|
25 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
26 | as_unset=unset |
---|
27 | else |
---|
28 | as_unset=false |
---|
29 | fi |
---|
30 | |
---|
31 | |
---|
32 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
33 | $as_unset ENV MAIL MAILPATH |
---|
34 | PS1='$ ' |
---|
35 | PS2='> ' |
---|
36 | PS4='+ ' |
---|
37 | |
---|
38 | # NLS nuisances. |
---|
39 | for as_var in \ |
---|
40 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
41 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
42 | LC_TELEPHONE LC_TIME |
---|
43 | do |
---|
44 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
45 | eval $as_var=C; export $as_var |
---|
46 | else |
---|
47 | $as_unset $as_var |
---|
48 | fi |
---|
49 | done |
---|
50 | |
---|
51 | # Required to use basename. |
---|
52 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
53 | as_expr=expr |
---|
54 | else |
---|
55 | as_expr=false |
---|
56 | fi |
---|
57 | |
---|
58 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
---|
59 | as_basename=basename |
---|
60 | else |
---|
61 | as_basename=false |
---|
62 | fi |
---|
63 | |
---|
64 | |
---|
65 | # Name of the executable. |
---|
66 | as_me=`$as_basename "$0" || |
---|
67 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
68 | X"$0" : 'X\(//\)$' \| \ |
---|
69 | X"$0" : 'X\(/\)$' \| \ |
---|
70 | . : '\(.\)' 2>/dev/null || |
---|
71 | echo X/"$0" | |
---|
72 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
---|
73 | /^X\/\(\/\/\)$/{ s//\1/; q; } |
---|
74 | /^X\/\(\/\).*/{ s//\1/; q; } |
---|
75 | s/.*/./; q'` |
---|
76 | |
---|
77 | |
---|
78 | # PATH needs CR, and LINENO needs CR and PATH. |
---|
79 | # Avoid depending upon Character Ranges. |
---|
80 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
81 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
82 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
83 | as_cr_digits='0123456789' |
---|
84 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
85 | |
---|
86 | # The user is always right. |
---|
87 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
88 | echo "#! /bin/sh" >conf$$.sh |
---|
89 | echo "exit 0" >>conf$$.sh |
---|
90 | chmod +x conf$$.sh |
---|
91 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
92 | PATH_SEPARATOR=';' |
---|
93 | else |
---|
94 | PATH_SEPARATOR=: |
---|
95 | fi |
---|
96 | rm -f conf$$.sh |
---|
97 | fi |
---|
98 | |
---|
99 | |
---|
100 | as_lineno_1=$LINENO |
---|
101 | as_lineno_2=$LINENO |
---|
102 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
103 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
104 | test "x$as_lineno_3" = "x$as_lineno_2" || { |
---|
105 | # Find who we are. Look in the path if we contain no path at all |
---|
106 | # relative or not. |
---|
107 | case $0 in |
---|
108 | *[\\/]* ) as_myself=$0 ;; |
---|
109 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
110 | for as_dir in $PATH |
---|
111 | do |
---|
112 | IFS=$as_save_IFS |
---|
113 | test -z "$as_dir" && as_dir=. |
---|
114 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
115 | done |
---|
116 | |
---|
117 | ;; |
---|
118 | esac |
---|
119 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
120 | # in which case we are not to be found in the path. |
---|
121 | if test "x$as_myself" = x; then |
---|
122 | as_myself=$0 |
---|
123 | fi |
---|
124 | if test ! -f "$as_myself"; then |
---|
125 | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
---|
126 | { (exit 1); exit 1; }; } |
---|
127 | fi |
---|
128 | case $CONFIG_SHELL in |
---|
129 | '') |
---|
130 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
131 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
132 | do |
---|
133 | IFS=$as_save_IFS |
---|
134 | test -z "$as_dir" && as_dir=. |
---|
135 | for as_base in sh bash ksh sh5; do |
---|
136 | case $as_dir in |
---|
137 | /*) |
---|
138 | if ("$as_dir/$as_base" -c ' |
---|
139 | as_lineno_1=$LINENO |
---|
140 | as_lineno_2=$LINENO |
---|
141 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
142 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
143 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
---|
144 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
---|
145 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
---|
146 | CONFIG_SHELL=$as_dir/$as_base |
---|
147 | export CONFIG_SHELL |
---|
148 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
---|
149 | fi;; |
---|
150 | esac |
---|
151 | done |
---|
152 | done |
---|
153 | ;; |
---|
154 | esac |
---|
155 | |
---|
156 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
157 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
158 | # line-number line before each line; the second 'sed' does the real |
---|
159 | # work. The second script uses 'N' to pair each line-number line |
---|
160 | # with the numbered line, and appends trailing '-' during |
---|
161 | # substitution so that $LINENO is not a special case at line end. |
---|
162 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
163 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
---|
164 | sed '=' <$as_myself | |
---|
165 | sed ' |
---|
166 | N |
---|
167 | s,$,-, |
---|
168 | : loop |
---|
169 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
---|
170 | t loop |
---|
171 | s,-$,, |
---|
172 | s,^['$as_cr_digits']*\n,, |
---|
173 | ' >$as_me.lineno && |
---|
174 | chmod +x $as_me.lineno || |
---|
175 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
---|
176 | { (exit 1); exit 1; }; } |
---|
177 | |
---|
178 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
179 | # (the dirname of $[0] is not the place where we might find the |
---|
180 | # original and so on. Autoconf is especially sensible to this). |
---|
181 | . ./$as_me.lineno |
---|
182 | # Exit status is that of the last command. |
---|
183 | exit |
---|
184 | } |
---|
185 | |
---|
186 | |
---|
187 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
---|
188 | *c*,-n*) ECHO_N= ECHO_C=' |
---|
189 | ' ECHO_T=' ' ;; |
---|
190 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
---|
191 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
---|
192 | esac |
---|
193 | |
---|
194 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
195 | as_expr=expr |
---|
196 | else |
---|
197 | as_expr=false |
---|
198 | fi |
---|
199 | |
---|
200 | rm -f conf$$ conf$$.exe conf$$.file |
---|
201 | echo >conf$$.file |
---|
202 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
203 | # We could just check for DJGPP; but this test a) works b) is more generic |
---|
204 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
---|
205 | if test -f conf$$.exe; then |
---|
206 | # Don't use ln at all; we don't have any links |
---|
207 | as_ln_s='cp -p' |
---|
208 | else |
---|
209 | as_ln_s='ln -s' |
---|
210 | fi |
---|
211 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
212 | as_ln_s=ln |
---|
213 | else |
---|
214 | as_ln_s='cp -p' |
---|
215 | fi |
---|
216 | rm -f conf$$ conf$$.exe conf$$.file |
---|
217 | |
---|
218 | if mkdir -p . 2>/dev/null; then |
---|
219 | as_mkdir_p=: |
---|
220 | else |
---|
221 | test -d ./-p && rmdir ./-p |
---|
222 | as_mkdir_p=false |
---|
223 | fi |
---|
224 | |
---|
225 | as_executable_p="test -f" |
---|
226 | |
---|
227 | # Sed expression to map a string onto a valid CPP name. |
---|
228 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
229 | |
---|
230 | # Sed expression to map a string onto a valid variable name. |
---|
231 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
232 | |
---|
233 | |
---|
234 | # IFS |
---|
235 | # We need space, tab and new line, in precisely that order. |
---|
236 | as_nl=' |
---|
237 | ' |
---|
238 | IFS=" $as_nl" |
---|
239 | |
---|
240 | # CDPATH. |
---|
241 | $as_unset CDPATH |
---|
242 | |
---|
243 | |
---|
244 | # Name of the host. |
---|
245 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
---|
246 | # so uname gets run too. |
---|
247 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
248 | |
---|
249 | exec 6>&1 |
---|
250 | |
---|
251 | # |
---|
252 | # Initializations. |
---|
253 | # |
---|
254 | ac_default_prefix=/usr/local |
---|
255 | ac_config_libobj_dir=. |
---|
256 | cross_compiling=no |
---|
257 | subdirs= |
---|
258 | MFLAGS= |
---|
259 | MAKEFLAGS= |
---|
260 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
261 | |
---|
262 | # Maximum number of lines to put in a shell here document. |
---|
263 | # This variable seems obsolete. It should probably be removed, and |
---|
264 | # only ac_max_sed_lines should be used. |
---|
265 | : ${ac_max_here_lines=38} |
---|
266 | |
---|
267 | # Identity of this package. |
---|
268 | PACKAGE_NAME='mod_gnutls' |
---|
269 | PACKAGE_TARNAME='mod_gnutls' |
---|
270 | PACKAGE_VERSION='0.2.0' |
---|
271 | PACKAGE_STRING='mod_gnutls 0.2.0' |
---|
272 | PACKAGE_BUGREPORT='' |
---|
273 | |
---|
274 | ac_unique_file="src/mod_gnutls.c" |
---|
275 | 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 OOO_MAINTAIN MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MOD_GNUTLS_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP APXS_BIN AP_DEFS AP_PREFIX AP_CFLAGS AP_CPPFLAGS AP_INCLUDES AP_INCLUDEDIR AP_LIBEXECDIR AP_VERSION AP_SYSCONFDIR AP_BINDIR AP_SBINDIR APR_INCLUDES APU_INCLUDES APXS_EXTENSION APXS_CFLAGS LIBTOOL GTLS_BIN LIBGNUTLS_LIBS LIBGNUTLS_CFLAGS LIBGNUTLS_VERSION GNUTLS_CERTTOOL LIBGNUTLS_PREFIX APR_MEMCACHE_LIBS APR_MEMCACHE_CFLAGS have_apr_memcache MODULE_CFLAGS MODULE_LIBS LIBOBJS LTLIBOBJS' |
---|
276 | ac_subst_files='' |
---|
277 | |
---|
278 | # Initialize some variables set by options. |
---|
279 | ac_init_help= |
---|
280 | ac_init_version=false |
---|
281 | # The variables have the same names as the options, with |
---|
282 | # dashes changed to underlines. |
---|
283 | cache_file=/dev/null |
---|
284 | exec_prefix=NONE |
---|
285 | no_create= |
---|
286 | no_recursion= |
---|
287 | prefix=NONE |
---|
288 | program_prefix=NONE |
---|
289 | program_suffix=NONE |
---|
290 | program_transform_name=s,x,x, |
---|
291 | silent= |
---|
292 | site= |
---|
293 | srcdir= |
---|
294 | verbose= |
---|
295 | x_includes=NONE |
---|
296 | x_libraries=NONE |
---|
297 | |
---|
298 | # Installation directory options. |
---|
299 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
300 | # and all the variables that are supposed to be based on exec_prefix |
---|
301 | # by default will actually change. |
---|
302 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
303 | bindir='${exec_prefix}/bin' |
---|
304 | sbindir='${exec_prefix}/sbin' |
---|
305 | libexecdir='${exec_prefix}/libexec' |
---|
306 | datadir='${prefix}/share' |
---|
307 | sysconfdir='${prefix}/etc' |
---|
308 | sharedstatedir='${prefix}/com' |
---|
309 | localstatedir='${prefix}/var' |
---|
310 | libdir='${exec_prefix}/lib' |
---|
311 | includedir='${prefix}/include' |
---|
312 | oldincludedir='/usr/include' |
---|
313 | infodir='${prefix}/info' |
---|
314 | mandir='${prefix}/man' |
---|
315 | |
---|
316 | ac_prev= |
---|
317 | for ac_option |
---|
318 | do |
---|
319 | # If the previous option needs an argument, assign it. |
---|
320 | if test -n "$ac_prev"; then |
---|
321 | eval "$ac_prev=\$ac_option" |
---|
322 | ac_prev= |
---|
323 | continue |
---|
324 | fi |
---|
325 | |
---|
326 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
---|
327 | |
---|
328 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
329 | |
---|
330 | case $ac_option in |
---|
331 | |
---|
332 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
333 | ac_prev=bindir ;; |
---|
334 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
335 | bindir=$ac_optarg ;; |
---|
336 | |
---|
337 | -build | --build | --buil | --bui | --bu) |
---|
338 | ac_prev=build_alias ;; |
---|
339 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
340 | build_alias=$ac_optarg ;; |
---|
341 | |
---|
342 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
343 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
344 | ac_prev=cache_file ;; |
---|
345 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
346 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
347 | cache_file=$ac_optarg ;; |
---|
348 | |
---|
349 | --config-cache | -C) |
---|
350 | cache_file=config.cache ;; |
---|
351 | |
---|
352 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
---|
353 | ac_prev=datadir ;; |
---|
354 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
---|
355 | | --da=*) |
---|
356 | datadir=$ac_optarg ;; |
---|
357 | |
---|
358 | -disable-* | --disable-*) |
---|
359 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
360 | # Reject names that are not valid shell variable names. |
---|
361 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
362 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
363 | { (exit 1); exit 1; }; } |
---|
364 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
---|
365 | eval "enable_$ac_feature=no" ;; |
---|
366 | |
---|
367 | -enable-* | --enable-*) |
---|
368 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
369 | # Reject names that are not valid shell variable names. |
---|
370 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
371 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
372 | { (exit 1); exit 1; }; } |
---|
373 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
---|
374 | case $ac_option in |
---|
375 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
---|
376 | *) ac_optarg=yes ;; |
---|
377 | esac |
---|
378 | eval "enable_$ac_feature='$ac_optarg'" ;; |
---|
379 | |
---|
380 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
381 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
382 | | --exec | --exe | --ex) |
---|
383 | ac_prev=exec_prefix ;; |
---|
384 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
385 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
386 | | --exec=* | --exe=* | --ex=*) |
---|
387 | exec_prefix=$ac_optarg ;; |
---|
388 | |
---|
389 | -gas | --gas | --ga | --g) |
---|
390 | # Obsolete; use --with-gas. |
---|
391 | with_gas=yes ;; |
---|
392 | |
---|
393 | -help | --help | --hel | --he | -h) |
---|
394 | ac_init_help=long ;; |
---|
395 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
396 | ac_init_help=recursive ;; |
---|
397 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
398 | ac_init_help=short ;; |
---|
399 | |
---|
400 | -host | --host | --hos | --ho) |
---|
401 | ac_prev=host_alias ;; |
---|
402 | -host=* | --host=* | --hos=* | --ho=*) |
---|
403 | host_alias=$ac_optarg ;; |
---|
404 | |
---|
405 | -includedir | --includedir | --includedi | --included | --include \ |
---|
406 | | --includ | --inclu | --incl | --inc) |
---|
407 | ac_prev=includedir ;; |
---|
408 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
409 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
410 | includedir=$ac_optarg ;; |
---|
411 | |
---|
412 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
413 | ac_prev=infodir ;; |
---|
414 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
415 | infodir=$ac_optarg ;; |
---|
416 | |
---|
417 | -libdir | --libdir | --libdi | --libd) |
---|
418 | ac_prev=libdir ;; |
---|
419 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
420 | libdir=$ac_optarg ;; |
---|
421 | |
---|
422 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
423 | | --libexe | --libex | --libe) |
---|
424 | ac_prev=libexecdir ;; |
---|
425 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
426 | | --libexe=* | --libex=* | --libe=*) |
---|
427 | libexecdir=$ac_optarg ;; |
---|
428 | |
---|
429 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
430 | | --localstate | --localstat | --localsta | --localst \ |
---|
431 | | --locals | --local | --loca | --loc | --lo) |
---|
432 | ac_prev=localstatedir ;; |
---|
433 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
434 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
---|
435 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
---|
436 | localstatedir=$ac_optarg ;; |
---|
437 | |
---|
438 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
439 | ac_prev=mandir ;; |
---|
440 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
441 | mandir=$ac_optarg ;; |
---|
442 | |
---|
443 | -nfp | --nfp | --nf) |
---|
444 | # Obsolete; use --without-fp. |
---|
445 | with_fp=no ;; |
---|
446 | |
---|
447 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
448 | | --no-cr | --no-c | -n) |
---|
449 | no_create=yes ;; |
---|
450 | |
---|
451 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
452 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
453 | no_recursion=yes ;; |
---|
454 | |
---|
455 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
456 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
457 | | --oldin | --oldi | --old | --ol | --o) |
---|
458 | ac_prev=oldincludedir ;; |
---|
459 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
460 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
461 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
462 | oldincludedir=$ac_optarg ;; |
---|
463 | |
---|
464 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
465 | ac_prev=prefix ;; |
---|
466 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
467 | prefix=$ac_optarg ;; |
---|
468 | |
---|
469 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
470 | | --program-pre | --program-pr | --program-p) |
---|
471 | ac_prev=program_prefix ;; |
---|
472 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
473 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
474 | program_prefix=$ac_optarg ;; |
---|
475 | |
---|
476 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
477 | | --program-suf | --program-su | --program-s) |
---|
478 | ac_prev=program_suffix ;; |
---|
479 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
480 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
481 | program_suffix=$ac_optarg ;; |
---|
482 | |
---|
483 | -program-transform-name | --program-transform-name \ |
---|
484 | | --program-transform-nam | --program-transform-na \ |
---|
485 | | --program-transform-n | --program-transform- \ |
---|
486 | | --program-transform | --program-transfor \ |
---|
487 | | --program-transfo | --program-transf \ |
---|
488 | | --program-trans | --program-tran \ |
---|
489 | | --progr-tra | --program-tr | --program-t) |
---|
490 | ac_prev=program_transform_name ;; |
---|
491 | -program-transform-name=* | --program-transform-name=* \ |
---|
492 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
493 | | --program-transform-n=* | --program-transform-=* \ |
---|
494 | | --program-transform=* | --program-transfor=* \ |
---|
495 | | --program-transfo=* | --program-transf=* \ |
---|
496 | | --program-trans=* | --program-tran=* \ |
---|
497 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
498 | program_transform_name=$ac_optarg ;; |
---|
499 | |
---|
500 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
501 | | -silent | --silent | --silen | --sile | --sil) |
---|
502 | silent=yes ;; |
---|
503 | |
---|
504 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
505 | ac_prev=sbindir ;; |
---|
506 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
507 | | --sbi=* | --sb=*) |
---|
508 | sbindir=$ac_optarg ;; |
---|
509 | |
---|
510 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
511 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
512 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
513 | | --sha | --sh) |
---|
514 | ac_prev=sharedstatedir ;; |
---|
515 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
516 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
517 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
518 | | --sha=* | --sh=*) |
---|
519 | sharedstatedir=$ac_optarg ;; |
---|
520 | |
---|
521 | -site | --site | --sit) |
---|
522 | ac_prev=site ;; |
---|
523 | -site=* | --site=* | --sit=*) |
---|
524 | site=$ac_optarg ;; |
---|
525 | |
---|
526 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
527 | ac_prev=srcdir ;; |
---|
528 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
529 | srcdir=$ac_optarg ;; |
---|
530 | |
---|
531 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
532 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
533 | ac_prev=sysconfdir ;; |
---|
534 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
535 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
536 | sysconfdir=$ac_optarg ;; |
---|
537 | |
---|
538 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
539 | ac_prev=target_alias ;; |
---|
540 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
541 | target_alias=$ac_optarg ;; |
---|
542 | |
---|
543 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
544 | verbose=yes ;; |
---|
545 | |
---|
546 | -version | --version | --versio | --versi | --vers | -V) |
---|
547 | ac_init_version=: ;; |
---|
548 | |
---|
549 | -with-* | --with-*) |
---|
550 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
551 | # Reject names that are not valid shell variable names. |
---|
552 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
553 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
554 | { (exit 1); exit 1; }; } |
---|
555 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
556 | case $ac_option in |
---|
557 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
---|
558 | *) ac_optarg=yes ;; |
---|
559 | esac |
---|
560 | eval "with_$ac_package='$ac_optarg'" ;; |
---|
561 | |
---|
562 | -without-* | --without-*) |
---|
563 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
564 | # Reject names that are not valid shell variable names. |
---|
565 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
566 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
567 | { (exit 1); exit 1; }; } |
---|
568 | ac_package=`echo $ac_package | sed 's/-/_/g'` |
---|
569 | eval "with_$ac_package=no" ;; |
---|
570 | |
---|
571 | --x) |
---|
572 | # Obsolete; use --with-x. |
---|
573 | with_x=yes ;; |
---|
574 | |
---|
575 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
576 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
577 | ac_prev=x_includes ;; |
---|
578 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
579 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
580 | x_includes=$ac_optarg ;; |
---|
581 | |
---|
582 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
583 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
584 | ac_prev=x_libraries ;; |
---|
585 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
586 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
587 | x_libraries=$ac_optarg ;; |
---|
588 | |
---|
589 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
---|
590 | Try \`$0 --help' for more information." >&2 |
---|
591 | { (exit 1); exit 1; }; } |
---|
592 | ;; |
---|
593 | |
---|
594 | *=*) |
---|
595 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
596 | # Reject names that are not valid shell variable names. |
---|
597 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
---|
598 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
---|
599 | { (exit 1); exit 1; }; } |
---|
600 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
---|
601 | eval "$ac_envvar='$ac_optarg'" |
---|
602 | export $ac_envvar ;; |
---|
603 | |
---|
604 | *) |
---|
605 | # FIXME: should be removed in autoconf 3.0. |
---|
606 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
607 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
608 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
609 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
---|
610 | ;; |
---|
611 | |
---|
612 | esac |
---|
613 | done |
---|
614 | |
---|
615 | if test -n "$ac_prev"; then |
---|
616 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
617 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
---|
618 | { (exit 1); exit 1; }; } |
---|
619 | fi |
---|
620 | |
---|
621 | # Be sure to have absolute paths. |
---|
622 | for ac_var in exec_prefix prefix |
---|
623 | do |
---|
624 | eval ac_val=$`echo $ac_var` |
---|
625 | case $ac_val in |
---|
626 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
---|
627 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
628 | { (exit 1); exit 1; }; };; |
---|
629 | esac |
---|
630 | done |
---|
631 | |
---|
632 | # Be sure to have absolute paths. |
---|
633 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
---|
634 | localstatedir libdir includedir oldincludedir infodir mandir |
---|
635 | do |
---|
636 | eval ac_val=$`echo $ac_var` |
---|
637 | case $ac_val in |
---|
638 | [\\/$]* | ?:[\\/]* ) ;; |
---|
639 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
640 | { (exit 1); exit 1; }; };; |
---|
641 | esac |
---|
642 | done |
---|
643 | |
---|
644 | # There might be people who depend on the old broken behavior: `$host' |
---|
645 | # used to hold the argument of --host etc. |
---|
646 | # FIXME: To remove some day. |
---|
647 | build=$build_alias |
---|
648 | host=$host_alias |
---|
649 | target=$target_alias |
---|
650 | |
---|
651 | # FIXME: To remove some day. |
---|
652 | if test "x$host_alias" != x; then |
---|
653 | if test "x$build_alias" = x; then |
---|
654 | cross_compiling=maybe |
---|
655 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
---|
656 | If a cross compiler is detected then cross compile mode will be used." >&2 |
---|
657 | elif test "x$build_alias" != "x$host_alias"; then |
---|
658 | cross_compiling=yes |
---|
659 | fi |
---|
660 | fi |
---|
661 | |
---|
662 | ac_tool_prefix= |
---|
663 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
664 | |
---|
665 | test "$silent" = yes && exec 6>/dev/null |
---|
666 | |
---|
667 | |
---|
668 | # Find the source files, if location was not specified. |
---|
669 | if test -z "$srcdir"; then |
---|
670 | ac_srcdir_defaulted=yes |
---|
671 | # Try the directory containing this script, then its parent. |
---|
672 | ac_confdir=`(dirname "$0") 2>/dev/null || |
---|
673 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
674 | X"$0" : 'X\(//\)[^/]' \| \ |
---|
675 | X"$0" : 'X\(//\)$' \| \ |
---|
676 | X"$0" : 'X\(/\)' \| \ |
---|
677 | . : '\(.\)' 2>/dev/null || |
---|
678 | echo X"$0" | |
---|
679 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
680 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
681 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
682 | /^X\(\/\).*/{ s//\1/; q; } |
---|
683 | s/.*/./; q'` |
---|
684 | srcdir=$ac_confdir |
---|
685 | if test ! -r $srcdir/$ac_unique_file; then |
---|
686 | srcdir=.. |
---|
687 | fi |
---|
688 | else |
---|
689 | ac_srcdir_defaulted=no |
---|
690 | fi |
---|
691 | if test ! -r $srcdir/$ac_unique_file; then |
---|
692 | if test "$ac_srcdir_defaulted" = yes; then |
---|
693 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
---|
694 | { (exit 1); exit 1; }; } |
---|
695 | else |
---|
696 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
---|
697 | { (exit 1); exit 1; }; } |
---|
698 | fi |
---|
699 | fi |
---|
700 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
---|
701 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
---|
702 | { (exit 1); exit 1; }; } |
---|
703 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
---|
704 | ac_env_build_alias_set=${build_alias+set} |
---|
705 | ac_env_build_alias_value=$build_alias |
---|
706 | ac_cv_env_build_alias_set=${build_alias+set} |
---|
707 | ac_cv_env_build_alias_value=$build_alias |
---|
708 | ac_env_host_alias_set=${host_alias+set} |
---|
709 | ac_env_host_alias_value=$host_alias |
---|
710 | ac_cv_env_host_alias_set=${host_alias+set} |
---|
711 | ac_cv_env_host_alias_value=$host_alias |
---|
712 | ac_env_target_alias_set=${target_alias+set} |
---|
713 | ac_env_target_alias_value=$target_alias |
---|
714 | ac_cv_env_target_alias_set=${target_alias+set} |
---|
715 | ac_cv_env_target_alias_value=$target_alias |
---|
716 | ac_env_CC_set=${CC+set} |
---|
717 | ac_env_CC_value=$CC |
---|
718 | ac_cv_env_CC_set=${CC+set} |
---|
719 | ac_cv_env_CC_value=$CC |
---|
720 | ac_env_CFLAGS_set=${CFLAGS+set} |
---|
721 | ac_env_CFLAGS_value=$CFLAGS |
---|
722 | ac_cv_env_CFLAGS_set=${CFLAGS+set} |
---|
723 | ac_cv_env_CFLAGS_value=$CFLAGS |
---|
724 | ac_env_LDFLAGS_set=${LDFLAGS+set} |
---|
725 | ac_env_LDFLAGS_value=$LDFLAGS |
---|
726 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
---|
727 | ac_cv_env_LDFLAGS_value=$LDFLAGS |
---|
728 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
---|
729 | ac_env_CPPFLAGS_value=$CPPFLAGS |
---|
730 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
---|
731 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
---|
732 | |
---|
733 | # |
---|
734 | # Report the --help message. |
---|
735 | # |
---|
736 | if test "$ac_init_help" = "long"; then |
---|
737 | # Omit some internal or obsolete options to make the list less imposing. |
---|
738 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
739 | cat <<_ACEOF |
---|
740 | \`configure' configures mod_gnutls 0.2.0 to adapt to many kinds of systems. |
---|
741 | |
---|
742 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
743 | |
---|
744 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
745 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
746 | |
---|
747 | Defaults for the options are specified in brackets. |
---|
748 | |
---|
749 | Configuration: |
---|
750 | -h, --help display this help and exit |
---|
751 | --help=short display options specific to this package |
---|
752 | --help=recursive display the short help of all the included packages |
---|
753 | -V, --version display version information and exit |
---|
754 | -q, --quiet, --silent do not print \`checking...' messages |
---|
755 | --cache-file=FILE cache test results in FILE [disabled] |
---|
756 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
757 | -n, --no-create do not create output files |
---|
758 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
759 | |
---|
760 | _ACEOF |
---|
761 | |
---|
762 | cat <<_ACEOF |
---|
763 | Installation directories: |
---|
764 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
765 | [$ac_default_prefix] |
---|
766 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
767 | [PREFIX] |
---|
768 | |
---|
769 | By default, \`make install' will install all the files in |
---|
770 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
771 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
772 | for instance \`--prefix=\$HOME'. |
---|
773 | |
---|
774 | For better control, use the options below. |
---|
775 | |
---|
776 | Fine tuning of the installation directories: |
---|
777 | --bindir=DIR user executables [EPREFIX/bin] |
---|
778 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
779 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
780 | --datadir=DIR read-only architecture-independent data [PREFIX/share] |
---|
781 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
782 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
783 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
784 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
785 | --includedir=DIR C header files [PREFIX/include] |
---|
786 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
787 | --infodir=DIR info documentation [PREFIX/info] |
---|
788 | --mandir=DIR man documentation [PREFIX/man] |
---|
789 | _ACEOF |
---|
790 | |
---|
791 | cat <<\_ACEOF |
---|
792 | |
---|
793 | Program names: |
---|
794 | --program-prefix=PREFIX prepend PREFIX to installed program names |
---|
795 | --program-suffix=SUFFIX append SUFFIX to installed program names |
---|
796 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
---|
797 | |
---|
798 | System types: |
---|
799 | --build=BUILD configure for building on BUILD [guessed] |
---|
800 | --host=HOST cross-compile to build programs to run on HOST [BUILD] |
---|
801 | --target=TARGET configure for building compilers for TARGET [HOST] |
---|
802 | _ACEOF |
---|
803 | fi |
---|
804 | |
---|
805 | if test -n "$ac_init_help"; then |
---|
806 | case $ac_init_help in |
---|
807 | short | recursive ) echo "Configuration of mod_gnutls 0.2.0:";; |
---|
808 | esac |
---|
809 | cat <<\_ACEOF |
---|
810 | |
---|
811 | Optional Features: |
---|
812 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
---|
813 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
---|
814 | --enable-maintainer Enable maintainer mode for this project |
---|
815 | --enable-maintainer-mode enable make rules and dependencies not useful |
---|
816 | (and sometimes confusing) to the casual installer |
---|
817 | --disable-dependency-tracking speeds up one-time build |
---|
818 | --enable-dependency-tracking do not reject slow dependency extractors |
---|
819 | --disable-apxstest Do not try to compile and run apache version test |
---|
820 | program |
---|
821 | |
---|
822 | Optional Packages: |
---|
823 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
---|
824 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
---|
825 | --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
---|
826 | --with-apxs=PATH Path to apxs |
---|
827 | --with-libgnutls=PATH Path to libgnutls |
---|
828 | --with-apr-memcache=PATH |
---|
829 | Path to apr_memcache prefix |
---|
830 | |
---|
831 | Some influential environment variables: |
---|
832 | CC C compiler command |
---|
833 | CFLAGS C compiler flags |
---|
834 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
835 | nonstandard directory <lib dir> |
---|
836 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
---|
837 | headers in a nonstandard directory <include dir> |
---|
838 | |
---|
839 | Use these variables to override the choices made by `configure' or to help |
---|
840 | it to find libraries and programs with nonstandard names/locations. |
---|
841 | |
---|
842 | _ACEOF |
---|
843 | fi |
---|
844 | |
---|
845 | if test "$ac_init_help" = "recursive"; then |
---|
846 | # If there are subdirs, report their specific --help. |
---|
847 | ac_popdir=`pwd` |
---|
848 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
849 | test -d $ac_dir || continue |
---|
850 | ac_builddir=. |
---|
851 | |
---|
852 | if test "$ac_dir" != .; then |
---|
853 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
854 | # A "../" for each directory in $ac_dir_suffix. |
---|
855 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
856 | else |
---|
857 | ac_dir_suffix= ac_top_builddir= |
---|
858 | fi |
---|
859 | |
---|
860 | case $srcdir in |
---|
861 | .) # No --srcdir option. We are building in place. |
---|
862 | ac_srcdir=. |
---|
863 | if test -z "$ac_top_builddir"; then |
---|
864 | ac_top_srcdir=. |
---|
865 | else |
---|
866 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
867 | fi ;; |
---|
868 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
869 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
870 | ac_top_srcdir=$srcdir ;; |
---|
871 | *) # Relative path. |
---|
872 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
873 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
874 | esac |
---|
875 | |
---|
876 | # Do not use `cd foo && pwd` to compute absolute paths, because |
---|
877 | # the directories may not exist. |
---|
878 | case `pwd` in |
---|
879 | .) ac_abs_builddir="$ac_dir";; |
---|
880 | *) |
---|
881 | case "$ac_dir" in |
---|
882 | .) ac_abs_builddir=`pwd`;; |
---|
883 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
---|
884 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
---|
885 | esac;; |
---|
886 | esac |
---|
887 | case $ac_abs_builddir in |
---|
888 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
889 | *) |
---|
890 | case ${ac_top_builddir}. in |
---|
891 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
---|
892 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
893 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
---|
894 | esac;; |
---|
895 | esac |
---|
896 | case $ac_abs_builddir in |
---|
897 | .) ac_abs_srcdir=$ac_srcdir;; |
---|
898 | *) |
---|
899 | case $ac_srcdir in |
---|
900 | .) ac_abs_srcdir=$ac_abs_builddir;; |
---|
901 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
---|
902 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
---|
903 | esac;; |
---|
904 | esac |
---|
905 | case $ac_abs_builddir in |
---|
906 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
907 | *) |
---|
908 | case $ac_top_srcdir in |
---|
909 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
---|
910 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
911 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
---|
912 | esac;; |
---|
913 | esac |
---|
914 | |
---|
915 | cd $ac_dir |
---|
916 | # Check for guested configure; otherwise get Cygnus style configure. |
---|
917 | if test -f $ac_srcdir/configure.gnu; then |
---|
918 | echo |
---|
919 | $SHELL $ac_srcdir/configure.gnu --help=recursive |
---|
920 | elif test -f $ac_srcdir/configure; then |
---|
921 | echo |
---|
922 | $SHELL $ac_srcdir/configure --help=recursive |
---|
923 | elif test -f $ac_srcdir/configure.ac || |
---|
924 | test -f $ac_srcdir/configure.in; then |
---|
925 | echo |
---|
926 | $ac_configure --help |
---|
927 | else |
---|
928 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
929 | fi |
---|
930 | cd "$ac_popdir" |
---|
931 | done |
---|
932 | fi |
---|
933 | |
---|
934 | test -n "$ac_init_help" && exit 0 |
---|
935 | if $ac_init_version; then |
---|
936 | cat <<\_ACEOF |
---|
937 | mod_gnutls configure 0.2.0 |
---|
938 | generated by GNU Autoconf 2.59 |
---|
939 | |
---|
940 | Copyright (C) 2003 Free Software Foundation, Inc. |
---|
941 | This configure script is free software; the Free Software Foundation |
---|
942 | gives unlimited permission to copy, distribute and modify it. |
---|
943 | _ACEOF |
---|
944 | exit 0 |
---|
945 | fi |
---|
946 | exec 5>config.log |
---|
947 | cat >&5 <<_ACEOF |
---|
948 | This file contains any messages produced by compilers while |
---|
949 | running configure, to aid debugging if configure makes a mistake. |
---|
950 | |
---|
951 | It was created by mod_gnutls $as_me 0.2.0, which was |
---|
952 | generated by GNU Autoconf 2.59. Invocation command line was |
---|
953 | |
---|
954 | $ $0 $@ |
---|
955 | |
---|
956 | _ACEOF |
---|
957 | { |
---|
958 | cat <<_ASUNAME |
---|
959 | ## --------- ## |
---|
960 | ## Platform. ## |
---|
961 | ## --------- ## |
---|
962 | |
---|
963 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
964 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
965 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
966 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
967 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
968 | |
---|
969 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
970 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
971 | |
---|
972 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
973 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
974 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
975 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
---|
976 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
977 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
978 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
979 | |
---|
980 | _ASUNAME |
---|
981 | |
---|
982 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
983 | for as_dir in $PATH |
---|
984 | do |
---|
985 | IFS=$as_save_IFS |
---|
986 | test -z "$as_dir" && as_dir=. |
---|
987 | echo "PATH: $as_dir" |
---|
988 | done |
---|
989 | |
---|
990 | } >&5 |
---|
991 | |
---|
992 | cat >&5 <<_ACEOF |
---|
993 | |
---|
994 | |
---|
995 | ## ----------- ## |
---|
996 | ## Core tests. ## |
---|
997 | ## ----------- ## |
---|
998 | |
---|
999 | _ACEOF |
---|
1000 | |
---|
1001 | |
---|
1002 | # Keep a trace of the command line. |
---|
1003 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
1004 | # Strip out --silent because we don't want to record it for future runs. |
---|
1005 | # Also quote any args containing shell meta-characters. |
---|
1006 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
1007 | ac_configure_args= |
---|
1008 | ac_configure_args0= |
---|
1009 | ac_configure_args1= |
---|
1010 | ac_sep= |
---|
1011 | ac_must_keep_next=false |
---|
1012 | for ac_pass in 1 2 |
---|
1013 | do |
---|
1014 | for ac_arg |
---|
1015 | do |
---|
1016 | case $ac_arg in |
---|
1017 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
1018 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
1019 | | -silent | --silent | --silen | --sile | --sil) |
---|
1020 | continue ;; |
---|
1021 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
---|
1022 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1023 | esac |
---|
1024 | case $ac_pass in |
---|
1025 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
---|
1026 | 2) |
---|
1027 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
---|
1028 | if test $ac_must_keep_next = true; then |
---|
1029 | ac_must_keep_next=false # Got value, back to normal. |
---|
1030 | else |
---|
1031 | case $ac_arg in |
---|
1032 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
1033 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
1034 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
1035 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
1036 | case "$ac_configure_args0 " in |
---|
1037 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
1038 | esac |
---|
1039 | ;; |
---|
1040 | -* ) ac_must_keep_next=true ;; |
---|
1041 | esac |
---|
1042 | fi |
---|
1043 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
---|
1044 | # Get rid of the leading space. |
---|
1045 | ac_sep=" " |
---|
1046 | ;; |
---|
1047 | esac |
---|
1048 | done |
---|
1049 | done |
---|
1050 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
---|
1051 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
---|
1052 | |
---|
1053 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
1054 | # config.log. We remove comments because anyway the quotes in there |
---|
1055 | # would cause problems or look ugly. |
---|
1056 | # WARNING: Be sure not to use single quotes in there, as some shells, |
---|
1057 | # such as our DU 5.0 friend, will then `close' the trap. |
---|
1058 | trap 'exit_status=$? |
---|
1059 | # Save into config.log some information that might help in debugging. |
---|
1060 | { |
---|
1061 | echo |
---|
1062 | |
---|
1063 | cat <<\_ASBOX |
---|
1064 | ## ---------------- ## |
---|
1065 | ## Cache variables. ## |
---|
1066 | ## ---------------- ## |
---|
1067 | _ASBOX |
---|
1068 | echo |
---|
1069 | # The following way of writing the cache mishandles newlines in values, |
---|
1070 | { |
---|
1071 | (set) 2>&1 | |
---|
1072 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
---|
1073 | *ac_space=\ *) |
---|
1074 | sed -n \ |
---|
1075 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
---|
1076 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
---|
1077 | ;; |
---|
1078 | *) |
---|
1079 | sed -n \ |
---|
1080 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
---|
1081 | ;; |
---|
1082 | esac; |
---|
1083 | } |
---|
1084 | echo |
---|
1085 | |
---|
1086 | cat <<\_ASBOX |
---|
1087 | ## ----------------- ## |
---|
1088 | ## Output variables. ## |
---|
1089 | ## ----------------- ## |
---|
1090 | _ASBOX |
---|
1091 | echo |
---|
1092 | for ac_var in $ac_subst_vars |
---|
1093 | do |
---|
1094 | eval ac_val=$`echo $ac_var` |
---|
1095 | echo "$ac_var='"'"'$ac_val'"'"'" |
---|
1096 | done | sort |
---|
1097 | echo |
---|
1098 | |
---|
1099 | if test -n "$ac_subst_files"; then |
---|
1100 | cat <<\_ASBOX |
---|
1101 | ## ------------- ## |
---|
1102 | ## Output files. ## |
---|
1103 | ## ------------- ## |
---|
1104 | _ASBOX |
---|
1105 | echo |
---|
1106 | for ac_var in $ac_subst_files |
---|
1107 | do |
---|
1108 | eval ac_val=$`echo $ac_var` |
---|
1109 | echo "$ac_var='"'"'$ac_val'"'"'" |
---|
1110 | done | sort |
---|
1111 | echo |
---|
1112 | fi |
---|
1113 | |
---|
1114 | if test -s confdefs.h; then |
---|
1115 | cat <<\_ASBOX |
---|
1116 | ## ----------- ## |
---|
1117 | ## confdefs.h. ## |
---|
1118 | ## ----------- ## |
---|
1119 | _ASBOX |
---|
1120 | echo |
---|
1121 | sed "/^$/d" confdefs.h | sort |
---|
1122 | echo |
---|
1123 | fi |
---|
1124 | test "$ac_signal" != 0 && |
---|
1125 | echo "$as_me: caught signal $ac_signal" |
---|
1126 | echo "$as_me: exit $exit_status" |
---|
1127 | } >&5 |
---|
1128 | rm -f core *.core && |
---|
1129 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
---|
1130 | exit $exit_status |
---|
1131 | ' 0 |
---|
1132 | for ac_signal in 1 2 13 15; do |
---|
1133 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
---|
1134 | done |
---|
1135 | ac_signal=0 |
---|
1136 | |
---|
1137 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
1138 | rm -rf conftest* confdefs.h |
---|
1139 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
---|
1140 | echo >confdefs.h |
---|
1141 | |
---|
1142 | # Predefined preprocessor variables. |
---|
1143 | |
---|
1144 | cat >>confdefs.h <<_ACEOF |
---|
1145 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
1146 | _ACEOF |
---|
1147 | |
---|
1148 | |
---|
1149 | cat >>confdefs.h <<_ACEOF |
---|
1150 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
1151 | _ACEOF |
---|
1152 | |
---|
1153 | |
---|
1154 | cat >>confdefs.h <<_ACEOF |
---|
1155 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
1156 | _ACEOF |
---|
1157 | |
---|
1158 | |
---|
1159 | cat >>confdefs.h <<_ACEOF |
---|
1160 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
1161 | _ACEOF |
---|
1162 | |
---|
1163 | |
---|
1164 | cat >>confdefs.h <<_ACEOF |
---|
1165 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
1166 | _ACEOF |
---|
1167 | |
---|
1168 | |
---|
1169 | # Let the site file select an alternate cache file if it wants to. |
---|
1170 | # Prefer explicitly selected file to automatically selected ones. |
---|
1171 | if test -z "$CONFIG_SITE"; then |
---|
1172 | if test "x$prefix" != xNONE; then |
---|
1173 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
---|
1174 | else |
---|
1175 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
---|
1176 | fi |
---|
1177 | fi |
---|
1178 | for ac_site_file in $CONFIG_SITE; do |
---|
1179 | if test -r "$ac_site_file"; then |
---|
1180 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
---|
1181 | echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
1182 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
1183 | . "$ac_site_file" |
---|
1184 | fi |
---|
1185 | done |
---|
1186 | |
---|
1187 | if test -r "$cache_file"; then |
---|
1188 | # Some versions of bash will fail to source /dev/null (special |
---|
1189 | # files actually), so we avoid doing that. |
---|
1190 | if test -f "$cache_file"; then |
---|
1191 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
---|
1192 | echo "$as_me: loading cache $cache_file" >&6;} |
---|
1193 | case $cache_file in |
---|
1194 | [\\/]* | ?:[\\/]* ) . $cache_file;; |
---|
1195 | *) . ./$cache_file;; |
---|
1196 | esac |
---|
1197 | fi |
---|
1198 | else |
---|
1199 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
---|
1200 | echo "$as_me: creating cache $cache_file" >&6;} |
---|
1201 | >$cache_file |
---|
1202 | fi |
---|
1203 | |
---|
1204 | # Check that the precious variables saved in the cache have kept the same |
---|
1205 | # value. |
---|
1206 | ac_cache_corrupted=false |
---|
1207 | for ac_var in `(set) 2>&1 | |
---|
1208 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
---|
1209 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
1210 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
1211 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
---|
1212 | eval ac_new_val="\$ac_env_${ac_var}_value" |
---|
1213 | case $ac_old_set,$ac_new_set in |
---|
1214 | set,) |
---|
1215 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
1216 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
1217 | ac_cache_corrupted=: ;; |
---|
1218 | ,set) |
---|
1219 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
---|
1220 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
1221 | ac_cache_corrupted=: ;; |
---|
1222 | ,);; |
---|
1223 | *) |
---|
1224 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
1225 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
1226 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
1227 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
---|
1228 | echo "$as_me: former value: $ac_old_val" >&2;} |
---|
1229 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
---|
1230 | echo "$as_me: current value: $ac_new_val" >&2;} |
---|
1231 | ac_cache_corrupted=: |
---|
1232 | fi;; |
---|
1233 | esac |
---|
1234 | # Pass precious variables to config.status. |
---|
1235 | if test "$ac_new_set" = set; then |
---|
1236 | case $ac_new_val in |
---|
1237 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
---|
1238 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1239 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
1240 | esac |
---|
1241 | case " $ac_configure_args " in |
---|
1242 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
1243 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
---|
1244 | esac |
---|
1245 | fi |
---|
1246 | done |
---|
1247 | if $ac_cache_corrupted; then |
---|
1248 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
---|
1249 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
1250 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
---|
1251 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
---|
1252 | { (exit 1); exit 1; }; } |
---|
1253 | fi |
---|
1254 | |
---|
1255 | ac_ext=c |
---|
1256 | ac_cpp='$CPP $CPPFLAGS' |
---|
1257 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
1258 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
1259 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
1260 | |
---|
1261 | |
---|
1262 | |
---|
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 | echo configure: creating config.nice |
---|
1289 | rm -f config.nice |
---|
1290 | cat >config.nice<<EOF |
---|
1291 | #! /bin/sh |
---|
1292 | # |
---|
1293 | # Created by configure |
---|
1294 | |
---|
1295 | EOF |
---|
1296 | |
---|
1297 | for arg in $0 "$@"; do |
---|
1298 | if test "$arg" != "--no-create" -a "$arg" != "--no-recursion"; then |
---|
1299 | echo "\"$arg\" \\" >> config.nice |
---|
1300 | fi |
---|
1301 | done |
---|
1302 | echo '"$@"' >> config.nice |
---|
1303 | chmod +x config.nice |
---|
1304 | |
---|
1305 | MOD_GNUTLS_VERSION=0.2.0 |
---|
1306 | |
---|
1307 | |
---|
1308 | ac_aux_dir= |
---|
1309 | for ac_dir in config $srcdir/config; do |
---|
1310 | if test -f $ac_dir/install-sh; then |
---|
1311 | ac_aux_dir=$ac_dir |
---|
1312 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
1313 | break |
---|
1314 | elif test -f $ac_dir/install.sh; then |
---|
1315 | ac_aux_dir=$ac_dir |
---|
1316 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
1317 | break |
---|
1318 | elif test -f $ac_dir/shtool; then |
---|
1319 | ac_aux_dir=$ac_dir |
---|
1320 | ac_install_sh="$ac_aux_dir/shtool install -c" |
---|
1321 | break |
---|
1322 | fi |
---|
1323 | done |
---|
1324 | if test -z "$ac_aux_dir"; then |
---|
1325 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5 |
---|
1326 | echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;} |
---|
1327 | { (exit 1); exit 1; }; } |
---|
1328 | fi |
---|
1329 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
---|
1330 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
---|
1331 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
---|
1332 | |
---|
1333 | |
---|
1334 | # Check whether --enable-maintainer or --disable-maintainer was given. |
---|
1335 | if test "${enable_maintainer+set}" = set; then |
---|
1336 | enableval="$enable_maintainer" |
---|
1337 | echo "$as_me:$LINENO: result: Enabling Maintainer Mode!!" >&5 |
---|
1338 | echo "${ECHO_T}Enabling Maintainer Mode!!" >&6 |
---|
1339 | OOO_MAINTAIN=1 |
---|
1340 | else |
---|
1341 | OOO_MAINTAIN=0 |
---|
1342 | fi; |
---|
1343 | |
---|
1344 | |
---|
1345 | echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
---|
1346 | echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 |
---|
1347 | # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. |
---|
1348 | if test "${enable_maintainer_mode+set}" = set; then |
---|
1349 | enableval="$enable_maintainer_mode" |
---|
1350 | USE_MAINTAINER_MODE=$enableval |
---|
1351 | else |
---|
1352 | USE_MAINTAINER_MODE=no |
---|
1353 | fi; |
---|
1354 | echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 |
---|
1355 | echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 |
---|
1356 | |
---|
1357 | |
---|
1358 | if test $USE_MAINTAINER_MODE = yes; then |
---|
1359 | MAINTAINER_MODE_TRUE= |
---|
1360 | MAINTAINER_MODE_FALSE='#' |
---|
1361 | else |
---|
1362 | MAINTAINER_MODE_TRUE='#' |
---|
1363 | MAINTAINER_MODE_FALSE= |
---|
1364 | fi |
---|
1365 | |
---|
1366 | MAINT=$MAINTAINER_MODE_TRUE |
---|
1367 | |
---|
1368 | |
---|
1369 | # Make sure we can run config.sub. |
---|
1370 | $ac_config_sub sun4 >/dev/null 2>&1 || |
---|
1371 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
---|
1372 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
---|
1373 | { (exit 1); exit 1; }; } |
---|
1374 | |
---|
1375 | echo "$as_me:$LINENO: checking build system type" >&5 |
---|
1376 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
---|
1377 | if test "${ac_cv_build+set}" = set; then |
---|
1378 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1379 | else |
---|
1380 | ac_cv_build_alias=$build_alias |
---|
1381 | test -z "$ac_cv_build_alias" && |
---|
1382 | ac_cv_build_alias=`$ac_config_guess` |
---|
1383 | test -z "$ac_cv_build_alias" && |
---|
1384 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
---|
1385 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
---|
1386 | { (exit 1); exit 1; }; } |
---|
1387 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
---|
1388 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
---|
1389 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
---|
1390 | { (exit 1); exit 1; }; } |
---|
1391 | |
---|
1392 | fi |
---|
1393 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
---|
1394 | echo "${ECHO_T}$ac_cv_build" >&6 |
---|
1395 | build=$ac_cv_build |
---|
1396 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
---|
1397 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
---|
1398 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
---|
1399 | |
---|
1400 | |
---|
1401 | echo "$as_me:$LINENO: checking host system type" >&5 |
---|
1402 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
---|
1403 | if test "${ac_cv_host+set}" = set; then |
---|
1404 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1405 | else |
---|
1406 | ac_cv_host_alias=$host_alias |
---|
1407 | test -z "$ac_cv_host_alias" && |
---|
1408 | ac_cv_host_alias=$ac_cv_build_alias |
---|
1409 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
---|
1410 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
---|
1411 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
---|
1412 | { (exit 1); exit 1; }; } |
---|
1413 | |
---|
1414 | fi |
---|
1415 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
---|
1416 | echo "${ECHO_T}$ac_cv_host" >&6 |
---|
1417 | host=$ac_cv_host |
---|
1418 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
---|
1419 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
---|
1420 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
---|
1421 | |
---|
1422 | |
---|
1423 | echo "$as_me:$LINENO: checking target system type" >&5 |
---|
1424 | echo $ECHO_N "checking target system type... $ECHO_C" >&6 |
---|
1425 | if test "${ac_cv_target+set}" = set; then |
---|
1426 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1427 | else |
---|
1428 | ac_cv_target_alias=$target_alias |
---|
1429 | test "x$ac_cv_target_alias" = "x" && |
---|
1430 | ac_cv_target_alias=$ac_cv_host_alias |
---|
1431 | ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || |
---|
1432 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 |
---|
1433 | echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} |
---|
1434 | { (exit 1); exit 1; }; } |
---|
1435 | |
---|
1436 | fi |
---|
1437 | echo "$as_me:$LINENO: result: $ac_cv_target" >&5 |
---|
1438 | echo "${ECHO_T}$ac_cv_target" >&6 |
---|
1439 | target=$ac_cv_target |
---|
1440 | target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
---|
1441 | target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
---|
1442 | target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
---|
1443 | |
---|
1444 | |
---|
1445 | # The aliases save the names the user supplied, while $host etc. |
---|
1446 | # will get canonicalized. |
---|
1447 | test -n "$target_alias" && |
---|
1448 | test "$program_prefix$program_suffix$program_transform_name" = \ |
---|
1449 | NONENONEs,x,x, && |
---|
1450 | program_prefix=${target_alias}- |
---|
1451 | am__api_version="1.9" |
---|
1452 | # Find a good install program. We prefer a C program (faster), |
---|
1453 | # so one script is as good as another. But avoid the broken or |
---|
1454 | # incompatible versions: |
---|
1455 | # SysV /etc/install, /usr/sbin/install |
---|
1456 | # SunOS /usr/etc/install |
---|
1457 | # IRIX /sbin/install |
---|
1458 | # AIX /bin/install |
---|
1459 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
1460 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
1461 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
1462 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
1463 | # OS/2's system install, which has a completely different semantic |
---|
1464 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
1465 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
---|
1466 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
---|
1467 | if test -z "$INSTALL"; then |
---|
1468 | if test "${ac_cv_path_install+set}" = set; then |
---|
1469 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1470 | else |
---|
1471 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1472 | for as_dir in $PATH |
---|
1473 | do |
---|
1474 | IFS=$as_save_IFS |
---|
1475 | test -z "$as_dir" && as_dir=. |
---|
1476 | # Account for people who put trailing slashes in PATH elements. |
---|
1477 | case $as_dir/ in |
---|
1478 | ./ | .// | /cC/* | \ |
---|
1479 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
1480 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
---|
1481 | /usr/ucb/* ) ;; |
---|
1482 | *) |
---|
1483 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
1484 | # Don't use installbsd from OSF since it installs stuff as root |
---|
1485 | # by default. |
---|
1486 | for ac_prog in ginstall scoinst install; do |
---|
1487 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1488 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
---|
1489 | if test $ac_prog = install && |
---|
1490 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
1491 | # AIX install. It has an incompatible calling convention. |
---|
1492 | : |
---|
1493 | elif test $ac_prog = install && |
---|
1494 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
1495 | # program-specific install script used by HP pwplus--don't use. |
---|
1496 | : |
---|
1497 | else |
---|
1498 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
1499 | break 3 |
---|
1500 | fi |
---|
1501 | fi |
---|
1502 | done |
---|
1503 | done |
---|
1504 | ;; |
---|
1505 | esac |
---|
1506 | done |
---|
1507 | |
---|
1508 | |
---|
1509 | fi |
---|
1510 | if test "${ac_cv_path_install+set}" = set; then |
---|
1511 | INSTALL=$ac_cv_path_install |
---|
1512 | else |
---|
1513 | # As a last resort, use the slow shell script. We don't cache a |
---|
1514 | # path for INSTALL within a source directory, because that will |
---|
1515 | # break other packages using the cache if that directory is |
---|
1516 | # removed, or if the path is relative. |
---|
1517 | INSTALL=$ac_install_sh |
---|
1518 | fi |
---|
1519 | fi |
---|
1520 | echo "$as_me:$LINENO: result: $INSTALL" >&5 |
---|
1521 | echo "${ECHO_T}$INSTALL" >&6 |
---|
1522 | |
---|
1523 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
1524 | # It thinks the first close brace ends the variable substitution. |
---|
1525 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
1526 | |
---|
1527 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
1528 | |
---|
1529 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
1530 | |
---|
1531 | echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
---|
1532 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
---|
1533 | # Just in case |
---|
1534 | sleep 1 |
---|
1535 | echo timestamp > conftest.file |
---|
1536 | # Do `set' in a subshell so we don't clobber the current shell's |
---|
1537 | # arguments. Must try -L first in case configure is actually a |
---|
1538 | # symlink; some systems play weird games with the mod time of symlinks |
---|
1539 | # (eg FreeBSD returns the mod time of the symlink's containing |
---|
1540 | # directory). |
---|
1541 | if ( |
---|
1542 | set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
---|
1543 | if test "$*" = "X"; then |
---|
1544 | # -L didn't work. |
---|
1545 | set X `ls -t $srcdir/configure conftest.file` |
---|
1546 | fi |
---|
1547 | rm -f conftest.file |
---|
1548 | if test "$*" != "X $srcdir/configure conftest.file" \ |
---|
1549 | && test "$*" != "X conftest.file $srcdir/configure"; then |
---|
1550 | |
---|
1551 | # If neither matched, then we have a broken ls. This can happen |
---|
1552 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
---|
1553 | # broken ls alias from the environment. This has actually |
---|
1554 | # happened. Such a system could not be considered "sane". |
---|
1555 | { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
---|
1556 | alias in your environment" >&5 |
---|
1557 | echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
---|
1558 | alias in your environment" >&2;} |
---|
1559 | { (exit 1); exit 1; }; } |
---|
1560 | fi |
---|
1561 | |
---|
1562 | test "$2" = conftest.file |
---|
1563 | ) |
---|
1564 | then |
---|
1565 | # Ok. |
---|
1566 | : |
---|
1567 | else |
---|
1568 | { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
---|
1569 | Check your system clock" >&5 |
---|
1570 | echo "$as_me: error: newly created file is older than distributed files! |
---|
1571 | Check your system clock" >&2;} |
---|
1572 | { (exit 1); exit 1; }; } |
---|
1573 | fi |
---|
1574 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
1575 | echo "${ECHO_T}yes" >&6 |
---|
1576 | test "$program_prefix" != NONE && |
---|
1577 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
---|
1578 | # Use a double $ so make ignores it. |
---|
1579 | test "$program_suffix" != NONE && |
---|
1580 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
---|
1581 | # Double any \ or $. echo might interpret backslashes. |
---|
1582 | # By default was `s,x,x', remove it if useless. |
---|
1583 | cat <<\_ACEOF >conftest.sed |
---|
1584 | s/[\\$]/&&/g;s/;s,x,x,$// |
---|
1585 | _ACEOF |
---|
1586 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
---|
1587 | rm conftest.sed |
---|
1588 | |
---|
1589 | # expand $ac_aux_dir to an absolute path |
---|
1590 | am_aux_dir=`cd $ac_aux_dir && pwd` |
---|
1591 | |
---|
1592 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
---|
1593 | # Use eval to expand $SHELL |
---|
1594 | if eval "$MISSING --run true"; then |
---|
1595 | am_missing_run="$MISSING --run " |
---|
1596 | else |
---|
1597 | am_missing_run= |
---|
1598 | { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
---|
1599 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
---|
1600 | fi |
---|
1601 | |
---|
1602 | if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then |
---|
1603 | # We used to keeping the `.' as first argument, in order to |
---|
1604 | # allow $(mkdir_p) to be used without argument. As in |
---|
1605 | # $(mkdir_p) $(somedir) |
---|
1606 | # where $(somedir) is conditionally defined. However this is wrong |
---|
1607 | # for two reasons: |
---|
1608 | # 1. if the package is installed by a user who cannot write `.' |
---|
1609 | # make install will fail, |
---|
1610 | # 2. the above comment should most certainly read |
---|
1611 | # $(mkdir_p) $(DESTDIR)$(somedir) |
---|
1612 | # so it does not work when $(somedir) is undefined and |
---|
1613 | # $(DESTDIR) is not. |
---|
1614 | # To support the latter case, we have to write |
---|
1615 | # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), |
---|
1616 | # so the `.' trick is pointless. |
---|
1617 | mkdir_p='mkdir -p --' |
---|
1618 | else |
---|
1619 | # On NextStep and OpenStep, the `mkdir' command does not |
---|
1620 | # recognize any option. It will interpret all options as |
---|
1621 | # directories to create, and then abort because `.' already |
---|
1622 | # exists. |
---|
1623 | for d in ./-p ./--version; |
---|
1624 | do |
---|
1625 | test -d $d && rmdir $d |
---|
1626 | done |
---|
1627 | # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. |
---|
1628 | if test -f "$ac_aux_dir/mkinstalldirs"; then |
---|
1629 | mkdir_p='$(mkinstalldirs)' |
---|
1630 | else |
---|
1631 | mkdir_p='$(install_sh) -d' |
---|
1632 | fi |
---|
1633 | fi |
---|
1634 | |
---|
1635 | for ac_prog in gawk mawk nawk awk |
---|
1636 | do |
---|
1637 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
1638 | set dummy $ac_prog; ac_word=$2 |
---|
1639 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1640 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1641 | if test "${ac_cv_prog_AWK+set}" = set; then |
---|
1642 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1643 | else |
---|
1644 | if test -n "$AWK"; then |
---|
1645 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
---|
1646 | else |
---|
1647 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1648 | for as_dir in $PATH |
---|
1649 | do |
---|
1650 | IFS=$as_save_IFS |
---|
1651 | test -z "$as_dir" && as_dir=. |
---|
1652 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1653 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1654 | ac_cv_prog_AWK="$ac_prog" |
---|
1655 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1656 | break 2 |
---|
1657 | fi |
---|
1658 | done |
---|
1659 | done |
---|
1660 | |
---|
1661 | fi |
---|
1662 | fi |
---|
1663 | AWK=$ac_cv_prog_AWK |
---|
1664 | if test -n "$AWK"; then |
---|
1665 | echo "$as_me:$LINENO: result: $AWK" >&5 |
---|
1666 | echo "${ECHO_T}$AWK" >&6 |
---|
1667 | else |
---|
1668 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1669 | echo "${ECHO_T}no" >&6 |
---|
1670 | fi |
---|
1671 | |
---|
1672 | test -n "$AWK" && break |
---|
1673 | done |
---|
1674 | |
---|
1675 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
---|
1676 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
---|
1677 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
---|
1678 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
---|
1679 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1680 | else |
---|
1681 | cat >conftest.make <<\_ACEOF |
---|
1682 | all: |
---|
1683 | @echo 'ac_maketemp="$(MAKE)"' |
---|
1684 | _ACEOF |
---|
1685 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
---|
1686 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
---|
1687 | if test -n "$ac_maketemp"; then |
---|
1688 | eval ac_cv_prog_make_${ac_make}_set=yes |
---|
1689 | else |
---|
1690 | eval ac_cv_prog_make_${ac_make}_set=no |
---|
1691 | fi |
---|
1692 | rm -f conftest.make |
---|
1693 | fi |
---|
1694 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
---|
1695 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
1696 | echo "${ECHO_T}yes" >&6 |
---|
1697 | SET_MAKE= |
---|
1698 | else |
---|
1699 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1700 | echo "${ECHO_T}no" >&6 |
---|
1701 | SET_MAKE="MAKE=${MAKE-make}" |
---|
1702 | fi |
---|
1703 | |
---|
1704 | rm -rf .tst 2>/dev/null |
---|
1705 | mkdir .tst 2>/dev/null |
---|
1706 | if test -d .tst; then |
---|
1707 | am__leading_dot=. |
---|
1708 | else |
---|
1709 | am__leading_dot=_ |
---|
1710 | fi |
---|
1711 | rmdir .tst 2>/dev/null |
---|
1712 | |
---|
1713 | # test to see if srcdir already configured |
---|
1714 | if test "`cd $srcdir && pwd`" != "`pwd`" && |
---|
1715 | test -f $srcdir/config.status; then |
---|
1716 | { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
---|
1717 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
---|
1718 | { (exit 1); exit 1; }; } |
---|
1719 | fi |
---|
1720 | |
---|
1721 | # test whether we have cygpath |
---|
1722 | if test -z "$CYGPATH_W"; then |
---|
1723 | if (cygpath --version) >/dev/null 2>/dev/null; then |
---|
1724 | CYGPATH_W='cygpath -w' |
---|
1725 | else |
---|
1726 | CYGPATH_W=echo |
---|
1727 | fi |
---|
1728 | fi |
---|
1729 | |
---|
1730 | |
---|
1731 | # Define the identity of the package. |
---|
1732 | PACKAGE=mod_gnutls |
---|
1733 | VERSION=0.2.0 |
---|
1734 | |
---|
1735 | |
---|
1736 | cat >>confdefs.h <<_ACEOF |
---|
1737 | #define PACKAGE "$PACKAGE" |
---|
1738 | _ACEOF |
---|
1739 | |
---|
1740 | |
---|
1741 | cat >>confdefs.h <<_ACEOF |
---|
1742 | #define VERSION "$VERSION" |
---|
1743 | _ACEOF |
---|
1744 | |
---|
1745 | # Some tools Automake needs. |
---|
1746 | |
---|
1747 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
---|
1748 | |
---|
1749 | |
---|
1750 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
---|
1751 | |
---|
1752 | |
---|
1753 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
---|
1754 | |
---|
1755 | |
---|
1756 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
---|
1757 | |
---|
1758 | |
---|
1759 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
---|
1760 | |
---|
1761 | install_sh=${install_sh-"$am_aux_dir/install-sh"} |
---|
1762 | |
---|
1763 | # Installed binaries are usually stripped using `strip' when the user |
---|
1764 | # run `make install-strip'. However `strip' might not be the right |
---|
1765 | # tool to use in cross-compilation environments, therefore Automake |
---|
1766 | # will honor the `STRIP' environment variable to overrule this program. |
---|
1767 | if test "$cross_compiling" != no; then |
---|
1768 | if test -n "$ac_tool_prefix"; then |
---|
1769 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
---|
1770 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
---|
1771 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1772 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1773 | if test "${ac_cv_prog_STRIP+set}" = set; then |
---|
1774 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1775 | else |
---|
1776 | if test -n "$STRIP"; then |
---|
1777 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
---|
1778 | else |
---|
1779 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1780 | for as_dir in $PATH |
---|
1781 | do |
---|
1782 | IFS=$as_save_IFS |
---|
1783 | test -z "$as_dir" && as_dir=. |
---|
1784 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1785 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1786 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
---|
1787 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1788 | break 2 |
---|
1789 | fi |
---|
1790 | done |
---|
1791 | done |
---|
1792 | |
---|
1793 | fi |
---|
1794 | fi |
---|
1795 | STRIP=$ac_cv_prog_STRIP |
---|
1796 | if test -n "$STRIP"; then |
---|
1797 | echo "$as_me:$LINENO: result: $STRIP" >&5 |
---|
1798 | echo "${ECHO_T}$STRIP" >&6 |
---|
1799 | else |
---|
1800 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1801 | echo "${ECHO_T}no" >&6 |
---|
1802 | fi |
---|
1803 | |
---|
1804 | fi |
---|
1805 | if test -z "$ac_cv_prog_STRIP"; then |
---|
1806 | ac_ct_STRIP=$STRIP |
---|
1807 | # Extract the first word of "strip", so it can be a program name with args. |
---|
1808 | set dummy strip; ac_word=$2 |
---|
1809 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1810 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1811 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
---|
1812 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1813 | else |
---|
1814 | if test -n "$ac_ct_STRIP"; then |
---|
1815 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
---|
1816 | else |
---|
1817 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1818 | for as_dir in $PATH |
---|
1819 | do |
---|
1820 | IFS=$as_save_IFS |
---|
1821 | test -z "$as_dir" && as_dir=. |
---|
1822 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1823 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1824 | ac_cv_prog_ac_ct_STRIP="strip" |
---|
1825 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1826 | break 2 |
---|
1827 | fi |
---|
1828 | done |
---|
1829 | done |
---|
1830 | |
---|
1831 | test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
---|
1832 | fi |
---|
1833 | fi |
---|
1834 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
---|
1835 | if test -n "$ac_ct_STRIP"; then |
---|
1836 | echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
---|
1837 | echo "${ECHO_T}$ac_ct_STRIP" >&6 |
---|
1838 | else |
---|
1839 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1840 | echo "${ECHO_T}no" >&6 |
---|
1841 | fi |
---|
1842 | |
---|
1843 | STRIP=$ac_ct_STRIP |
---|
1844 | else |
---|
1845 | STRIP="$ac_cv_prog_STRIP" |
---|
1846 | fi |
---|
1847 | |
---|
1848 | fi |
---|
1849 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
---|
1850 | |
---|
1851 | # We need awk for the "check" target. The system "awk" is bad on |
---|
1852 | # some platforms. |
---|
1853 | # Always define AMTAR for backward compatibility. |
---|
1854 | |
---|
1855 | AMTAR=${AMTAR-"${am_missing_run}tar"} |
---|
1856 | |
---|
1857 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
---|
1858 | |
---|
1859 | |
---|
1860 | |
---|
1861 | |
---|
1862 | |
---|
1863 | ac_config_headers="$ac_config_headers include/mod_gnutls_config.h:config.in" |
---|
1864 | |
---|
1865 | |
---|
1866 | |
---|
1867 | |
---|
1868 | ac_ext=c |
---|
1869 | ac_cpp='$CPP $CPPFLAGS' |
---|
1870 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
1871 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
1872 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
1873 | if test -n "$ac_tool_prefix"; then |
---|
1874 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
---|
1875 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
---|
1876 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1877 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1878 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
1879 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1880 | else |
---|
1881 | if test -n "$CC"; then |
---|
1882 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
1883 | else |
---|
1884 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1885 | for as_dir in $PATH |
---|
1886 | do |
---|
1887 | IFS=$as_save_IFS |
---|
1888 | test -z "$as_dir" && as_dir=. |
---|
1889 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1890 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1891 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
---|
1892 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1893 | break 2 |
---|
1894 | fi |
---|
1895 | done |
---|
1896 | done |
---|
1897 | |
---|
1898 | fi |
---|
1899 | fi |
---|
1900 | CC=$ac_cv_prog_CC |
---|
1901 | if test -n "$CC"; then |
---|
1902 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
1903 | echo "${ECHO_T}$CC" >&6 |
---|
1904 | else |
---|
1905 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1906 | echo "${ECHO_T}no" >&6 |
---|
1907 | fi |
---|
1908 | |
---|
1909 | fi |
---|
1910 | if test -z "$ac_cv_prog_CC"; then |
---|
1911 | ac_ct_CC=$CC |
---|
1912 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
1913 | set dummy gcc; ac_word=$2 |
---|
1914 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1915 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1916 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
1917 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1918 | else |
---|
1919 | if test -n "$ac_ct_CC"; then |
---|
1920 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
1921 | else |
---|
1922 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1923 | for as_dir in $PATH |
---|
1924 | do |
---|
1925 | IFS=$as_save_IFS |
---|
1926 | test -z "$as_dir" && as_dir=. |
---|
1927 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1928 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1929 | ac_cv_prog_ac_ct_CC="gcc" |
---|
1930 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1931 | break 2 |
---|
1932 | fi |
---|
1933 | done |
---|
1934 | done |
---|
1935 | |
---|
1936 | fi |
---|
1937 | fi |
---|
1938 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
1939 | if test -n "$ac_ct_CC"; then |
---|
1940 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
1941 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
1942 | else |
---|
1943 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1944 | echo "${ECHO_T}no" >&6 |
---|
1945 | fi |
---|
1946 | |
---|
1947 | CC=$ac_ct_CC |
---|
1948 | else |
---|
1949 | CC="$ac_cv_prog_CC" |
---|
1950 | fi |
---|
1951 | |
---|
1952 | if test -z "$CC"; then |
---|
1953 | if test -n "$ac_tool_prefix"; then |
---|
1954 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
---|
1955 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
---|
1956 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1957 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1958 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
1959 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1960 | else |
---|
1961 | if test -n "$CC"; then |
---|
1962 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
1963 | else |
---|
1964 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1965 | for as_dir in $PATH |
---|
1966 | do |
---|
1967 | IFS=$as_save_IFS |
---|
1968 | test -z "$as_dir" && as_dir=. |
---|
1969 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1970 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1971 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
---|
1972 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1973 | break 2 |
---|
1974 | fi |
---|
1975 | done |
---|
1976 | done |
---|
1977 | |
---|
1978 | fi |
---|
1979 | fi |
---|
1980 | CC=$ac_cv_prog_CC |
---|
1981 | if test -n "$CC"; then |
---|
1982 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
1983 | echo "${ECHO_T}$CC" >&6 |
---|
1984 | else |
---|
1985 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1986 | echo "${ECHO_T}no" >&6 |
---|
1987 | fi |
---|
1988 | |
---|
1989 | fi |
---|
1990 | if test -z "$ac_cv_prog_CC"; then |
---|
1991 | ac_ct_CC=$CC |
---|
1992 | # Extract the first word of "cc", so it can be a program name with args. |
---|
1993 | set dummy cc; ac_word=$2 |
---|
1994 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1995 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1996 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
1997 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1998 | else |
---|
1999 | if test -n "$ac_ct_CC"; then |
---|
2000 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
2001 | else |
---|
2002 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2003 | for as_dir in $PATH |
---|
2004 | do |
---|
2005 | IFS=$as_save_IFS |
---|
2006 | test -z "$as_dir" && as_dir=. |
---|
2007 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2008 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2009 | ac_cv_prog_ac_ct_CC="cc" |
---|
2010 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2011 | break 2 |
---|
2012 | fi |
---|
2013 | done |
---|
2014 | done |
---|
2015 | |
---|
2016 | fi |
---|
2017 | fi |
---|
2018 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
2019 | if test -n "$ac_ct_CC"; then |
---|
2020 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
2021 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
2022 | else |
---|
2023 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2024 | echo "${ECHO_T}no" >&6 |
---|
2025 | fi |
---|
2026 | |
---|
2027 | CC=$ac_ct_CC |
---|
2028 | else |
---|
2029 | CC="$ac_cv_prog_CC" |
---|
2030 | fi |
---|
2031 | |
---|
2032 | fi |
---|
2033 | if test -z "$CC"; then |
---|
2034 | # Extract the first word of "cc", so it can be a program name with args. |
---|
2035 | set dummy cc; ac_word=$2 |
---|
2036 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2037 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2038 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2039 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2040 | else |
---|
2041 | if test -n "$CC"; then |
---|
2042 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2043 | else |
---|
2044 | ac_prog_rejected=no |
---|
2045 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2046 | for as_dir in $PATH |
---|
2047 | do |
---|
2048 | IFS=$as_save_IFS |
---|
2049 | test -z "$as_dir" && as_dir=. |
---|
2050 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2051 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2052 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
2053 | ac_prog_rejected=yes |
---|
2054 | continue |
---|
2055 | fi |
---|
2056 | ac_cv_prog_CC="cc" |
---|
2057 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2058 | break 2 |
---|
2059 | fi |
---|
2060 | done |
---|
2061 | done |
---|
2062 | |
---|
2063 | if test $ac_prog_rejected = yes; then |
---|
2064 | # We found a bogon in the path, so make sure we never use it. |
---|
2065 | set dummy $ac_cv_prog_CC |
---|
2066 | shift |
---|
2067 | if test $# != 0; then |
---|
2068 | # We chose a different compiler from the bogus one. |
---|
2069 | # However, it has the same basename, so the bogon will be chosen |
---|
2070 | # first if we set CC to just the basename; use the full file name. |
---|
2071 | shift |
---|
2072 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
2073 | fi |
---|
2074 | fi |
---|
2075 | fi |
---|
2076 | fi |
---|
2077 | CC=$ac_cv_prog_CC |
---|
2078 | if test -n "$CC"; then |
---|
2079 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2080 | echo "${ECHO_T}$CC" >&6 |
---|
2081 | else |
---|
2082 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2083 | echo "${ECHO_T}no" >&6 |
---|
2084 | fi |
---|
2085 | |
---|
2086 | fi |
---|
2087 | if test -z "$CC"; then |
---|
2088 | if test -n "$ac_tool_prefix"; then |
---|
2089 | for ac_prog in cl |
---|
2090 | do |
---|
2091 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
2092 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
2093 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2094 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2095 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2096 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2097 | else |
---|
2098 | if test -n "$CC"; then |
---|
2099 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2100 | else |
---|
2101 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2102 | for as_dir in $PATH |
---|
2103 | do |
---|
2104 | IFS=$as_save_IFS |
---|
2105 | test -z "$as_dir" && as_dir=. |
---|
2106 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2107 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2108 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
---|
2109 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2110 | break 2 |
---|
2111 | fi |
---|
2112 | done |
---|
2113 | done |
---|
2114 | |
---|
2115 | fi |
---|
2116 | fi |
---|
2117 | CC=$ac_cv_prog_CC |
---|
2118 | if test -n "$CC"; then |
---|
2119 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2120 | echo "${ECHO_T}$CC" >&6 |
---|
2121 | else |
---|
2122 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2123 | echo "${ECHO_T}no" >&6 |
---|
2124 | fi |
---|
2125 | |
---|
2126 | test -n "$CC" && break |
---|
2127 | done |
---|
2128 | fi |
---|
2129 | if test -z "$CC"; then |
---|
2130 | ac_ct_CC=$CC |
---|
2131 | for ac_prog in cl |
---|
2132 | do |
---|
2133 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
2134 | set dummy $ac_prog; ac_word=$2 |
---|
2135 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2136 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2137 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
2138 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2139 | else |
---|
2140 | if test -n "$ac_ct_CC"; then |
---|
2141 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
2142 | else |
---|
2143 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2144 | for as_dir in $PATH |
---|
2145 | do |
---|
2146 | IFS=$as_save_IFS |
---|
2147 | test -z "$as_dir" && as_dir=. |
---|
2148 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2149 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2150 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
2151 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2152 | break 2 |
---|
2153 | fi |
---|
2154 | done |
---|
2155 | done |
---|
2156 | |
---|
2157 | fi |
---|
2158 | fi |
---|
2159 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
2160 | if test -n "$ac_ct_CC"; then |
---|
2161 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
2162 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
2163 | else |
---|
2164 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2165 | echo "${ECHO_T}no" >&6 |
---|
2166 | fi |
---|
2167 | |
---|
2168 | test -n "$ac_ct_CC" && break |
---|
2169 | done |
---|
2170 | |
---|
2171 | CC=$ac_ct_CC |
---|
2172 | fi |
---|
2173 | |
---|
2174 | fi |
---|
2175 | |
---|
2176 | |
---|
2177 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
---|
2178 | See \`config.log' for more details." >&5 |
---|
2179 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
---|
2180 | See \`config.log' for more details." >&2;} |
---|
2181 | { (exit 1); exit 1; }; } |
---|
2182 | |
---|
2183 | # Provide some information about the compiler. |
---|
2184 | echo "$as_me:$LINENO:" \ |
---|
2185 | "checking for C compiler version" >&5 |
---|
2186 | ac_compiler=`set X $ac_compile; echo $2` |
---|
2187 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
---|
2188 | (eval $ac_compiler --version </dev/null >&5) 2>&5 |
---|
2189 | ac_status=$? |
---|
2190 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2191 | (exit $ac_status); } |
---|
2192 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
---|
2193 | (eval $ac_compiler -v </dev/null >&5) 2>&5 |
---|
2194 | ac_status=$? |
---|
2195 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2196 | (exit $ac_status); } |
---|
2197 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
---|
2198 | (eval $ac_compiler -V </dev/null >&5) 2>&5 |
---|
2199 | ac_status=$? |
---|
2200 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2201 | (exit $ac_status); } |
---|
2202 | |
---|
2203 | cat >conftest.$ac_ext <<_ACEOF |
---|
2204 | /* confdefs.h. */ |
---|
2205 | _ACEOF |
---|
2206 | cat confdefs.h >>conftest.$ac_ext |
---|
2207 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2208 | /* end confdefs.h. */ |
---|
2209 | |
---|
2210 | int |
---|
2211 | main () |
---|
2212 | { |
---|
2213 | |
---|
2214 | ; |
---|
2215 | return 0; |
---|
2216 | } |
---|
2217 | _ACEOF |
---|
2218 | ac_clean_files_save=$ac_clean_files |
---|
2219 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
---|
2220 | # Try to create an executable without -o first, disregard a.out. |
---|
2221 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
2222 | # of exeext. |
---|
2223 | echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
---|
2224 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
---|
2225 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
2226 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
---|
2227 | (eval $ac_link_default) 2>&5 |
---|
2228 | ac_status=$? |
---|
2229 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2230 | (exit $ac_status); }; then |
---|
2231 | # Find the output, starting from the most likely. This scheme is |
---|
2232 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last |
---|
2233 | # resort. |
---|
2234 | |
---|
2235 | # Be careful to initialize this variable, since it used to be cached. |
---|
2236 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
---|
2237 | ac_cv_exeext= |
---|
2238 | # b.out is created by i960 compilers. |
---|
2239 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
---|
2240 | do |
---|
2241 | test -f "$ac_file" || continue |
---|
2242 | case $ac_file in |
---|
2243 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
---|
2244 | ;; |
---|
2245 | conftest.$ac_ext ) |
---|
2246 | # This is the source file. |
---|
2247 | ;; |
---|
2248 | [ab].out ) |
---|
2249 | # We found the default executable, but exeext='' is most |
---|
2250 | # certainly right. |
---|
2251 | break;; |
---|
2252 | *.* ) |
---|
2253 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
2254 | # FIXME: I believe we export ac_cv_exeext for Libtool, |
---|
2255 | # but it would be cool to find out if it's true. Does anybody |
---|
2256 | # maintain Libtool? --akim. |
---|
2257 | export ac_cv_exeext |
---|
2258 | break;; |
---|
2259 | * ) |
---|
2260 | break;; |
---|
2261 | esac |
---|
2262 | done |
---|
2263 | else |
---|
2264 | echo "$as_me: failed program was:" >&5 |
---|
2265 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2266 | |
---|
2267 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
---|
2268 | See \`config.log' for more details." >&5 |
---|
2269 | echo "$as_me: error: C compiler cannot create executables |
---|
2270 | See \`config.log' for more details." >&2;} |
---|
2271 | { (exit 77); exit 77; }; } |
---|
2272 | fi |
---|
2273 | |
---|
2274 | ac_exeext=$ac_cv_exeext |
---|
2275 | echo "$as_me:$LINENO: result: $ac_file" >&5 |
---|
2276 | echo "${ECHO_T}$ac_file" >&6 |
---|
2277 | |
---|
2278 | # Check the compiler produces executables we can run. If not, either |
---|
2279 | # the compiler is broken, or we cross compile. |
---|
2280 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
---|
2281 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
---|
2282 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
---|
2283 | # If not cross compiling, check that we can run a simple program. |
---|
2284 | if test "$cross_compiling" != yes; then |
---|
2285 | if { ac_try='./$ac_file' |
---|
2286 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2287 | (eval $ac_try) 2>&5 |
---|
2288 | ac_status=$? |
---|
2289 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2290 | (exit $ac_status); }; }; then |
---|
2291 | cross_compiling=no |
---|
2292 | else |
---|
2293 | if test "$cross_compiling" = maybe; then |
---|
2294 | cross_compiling=yes |
---|
2295 | else |
---|
2296 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
---|
2297 | If you meant to cross compile, use \`--host'. |
---|
2298 | See \`config.log' for more details." >&5 |
---|
2299 | echo "$as_me: error: cannot run C compiled programs. |
---|
2300 | If you meant to cross compile, use \`--host'. |
---|
2301 | See \`config.log' for more details." >&2;} |
---|
2302 | { (exit 1); exit 1; }; } |
---|
2303 | fi |
---|
2304 | fi |
---|
2305 | fi |
---|
2306 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
2307 | echo "${ECHO_T}yes" >&6 |
---|
2308 | |
---|
2309 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
---|
2310 | ac_clean_files=$ac_clean_files_save |
---|
2311 | # Check the compiler produces executables we can run. If not, either |
---|
2312 | # the compiler is broken, or we cross compile. |
---|
2313 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
---|
2314 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
---|
2315 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
---|
2316 | echo "${ECHO_T}$cross_compiling" >&6 |
---|
2317 | |
---|
2318 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
---|
2319 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
---|
2320 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
2321 | (eval $ac_link) 2>&5 |
---|
2322 | ac_status=$? |
---|
2323 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2324 | (exit $ac_status); }; then |
---|
2325 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
2326 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
2327 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
2328 | # `rm'. |
---|
2329 | for ac_file in conftest.exe conftest conftest.*; do |
---|
2330 | test -f "$ac_file" || continue |
---|
2331 | case $ac_file in |
---|
2332 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
---|
2333 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
2334 | export ac_cv_exeext |
---|
2335 | break;; |
---|
2336 | * ) break;; |
---|
2337 | esac |
---|
2338 | done |
---|
2339 | else |
---|
2340 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
---|
2341 | See \`config.log' for more details." >&5 |
---|
2342 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
---|
2343 | See \`config.log' for more details." >&2;} |
---|
2344 | { (exit 1); exit 1; }; } |
---|
2345 | fi |
---|
2346 | |
---|
2347 | rm -f conftest$ac_cv_exeext |
---|
2348 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
---|
2349 | echo "${ECHO_T}$ac_cv_exeext" >&6 |
---|
2350 | |
---|
2351 | rm -f conftest.$ac_ext |
---|
2352 | EXEEXT=$ac_cv_exeext |
---|
2353 | ac_exeext=$EXEEXT |
---|
2354 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
---|
2355 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
---|
2356 | if test "${ac_cv_objext+set}" = set; then |
---|
2357 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2358 | else |
---|
2359 | cat >conftest.$ac_ext <<_ACEOF |
---|
2360 | /* confdefs.h. */ |
---|
2361 | _ACEOF |
---|
2362 | cat confdefs.h >>conftest.$ac_ext |
---|
2363 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2364 | /* end confdefs.h. */ |
---|
2365 | |
---|
2366 | int |
---|
2367 | main () |
---|
2368 | { |
---|
2369 | |
---|
2370 | ; |
---|
2371 | return 0; |
---|
2372 | } |
---|
2373 | _ACEOF |
---|
2374 | rm -f conftest.o conftest.obj |
---|
2375 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2376 | (eval $ac_compile) 2>&5 |
---|
2377 | ac_status=$? |
---|
2378 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2379 | (exit $ac_status); }; then |
---|
2380 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
---|
2381 | case $ac_file in |
---|
2382 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
---|
2383 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
2384 | break;; |
---|
2385 | esac |
---|
2386 | done |
---|
2387 | else |
---|
2388 | echo "$as_me: failed program was:" >&5 |
---|
2389 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2390 | |
---|
2391 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
---|
2392 | See \`config.log' for more details." >&5 |
---|
2393 | echo "$as_me: error: cannot compute suffix of object files: cannot compile |
---|
2394 | See \`config.log' for more details." >&2;} |
---|
2395 | { (exit 1); exit 1; }; } |
---|
2396 | fi |
---|
2397 | |
---|
2398 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
2399 | fi |
---|
2400 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
---|
2401 | echo "${ECHO_T}$ac_cv_objext" >&6 |
---|
2402 | OBJEXT=$ac_cv_objext |
---|
2403 | ac_objext=$OBJEXT |
---|
2404 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
---|
2405 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
---|
2406 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
---|
2407 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2408 | else |
---|
2409 | cat >conftest.$ac_ext <<_ACEOF |
---|
2410 | /* confdefs.h. */ |
---|
2411 | _ACEOF |
---|
2412 | cat confdefs.h >>conftest.$ac_ext |
---|
2413 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2414 | /* end confdefs.h. */ |
---|
2415 | |
---|
2416 | int |
---|
2417 | main () |
---|
2418 | { |
---|
2419 | #ifndef __GNUC__ |
---|
2420 | choke me |
---|
2421 | #endif |
---|
2422 | |
---|
2423 | ; |
---|
2424 | return 0; |
---|
2425 | } |
---|
2426 | _ACEOF |
---|
2427 | rm -f conftest.$ac_objext |
---|
2428 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2429 | (eval $ac_compile) 2>conftest.er1 |
---|
2430 | ac_status=$? |
---|
2431 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2432 | rm -f conftest.er1 |
---|
2433 | cat conftest.err >&5 |
---|
2434 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2435 | (exit $ac_status); } && |
---|
2436 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
2437 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2438 | (eval $ac_try) 2>&5 |
---|
2439 | ac_status=$? |
---|
2440 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2441 | (exit $ac_status); }; } && |
---|
2442 | { ac_try='test -s conftest.$ac_objext' |
---|
2443 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2444 | (eval $ac_try) 2>&5 |
---|
2445 | ac_status=$? |
---|
2446 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2447 | (exit $ac_status); }; }; then |
---|
2448 | ac_compiler_gnu=yes |
---|
2449 | else |
---|
2450 | echo "$as_me: failed program was:" >&5 |
---|
2451 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2452 | |
---|
2453 | ac_compiler_gnu=no |
---|
2454 | fi |
---|
2455 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2456 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
2457 | |
---|
2458 | fi |
---|
2459 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
---|
2460 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
---|
2461 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
---|
2462 | ac_test_CFLAGS=${CFLAGS+set} |
---|
2463 | ac_save_CFLAGS=$CFLAGS |
---|
2464 | CFLAGS="-g" |
---|
2465 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
---|
2466 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
---|
2467 | if test "${ac_cv_prog_cc_g+set}" = set; then |
---|
2468 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2469 | else |
---|
2470 | cat >conftest.$ac_ext <<_ACEOF |
---|
2471 | /* confdefs.h. */ |
---|
2472 | _ACEOF |
---|
2473 | cat confdefs.h >>conftest.$ac_ext |
---|
2474 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2475 | /* end confdefs.h. */ |
---|
2476 | |
---|
2477 | int |
---|
2478 | main () |
---|
2479 | { |
---|
2480 | |
---|
2481 | ; |
---|
2482 | return 0; |
---|
2483 | } |
---|
2484 | _ACEOF |
---|
2485 | rm -f conftest.$ac_objext |
---|
2486 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2487 | (eval $ac_compile) 2>conftest.er1 |
---|
2488 | ac_status=$? |
---|
2489 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2490 | rm -f conftest.er1 |
---|
2491 | cat conftest.err >&5 |
---|
2492 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2493 | (exit $ac_status); } && |
---|
2494 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
2495 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2496 | (eval $ac_try) 2>&5 |
---|
2497 | ac_status=$? |
---|
2498 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2499 | (exit $ac_status); }; } && |
---|
2500 | { ac_try='test -s conftest.$ac_objext' |
---|
2501 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2502 | (eval $ac_try) 2>&5 |
---|
2503 | ac_status=$? |
---|
2504 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2505 | (exit $ac_status); }; }; then |
---|
2506 | ac_cv_prog_cc_g=yes |
---|
2507 | else |
---|
2508 | echo "$as_me: failed program was:" >&5 |
---|
2509 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2510 | |
---|
2511 | ac_cv_prog_cc_g=no |
---|
2512 | fi |
---|
2513 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2514 | fi |
---|
2515 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
---|
2516 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
---|
2517 | if test "$ac_test_CFLAGS" = set; then |
---|
2518 | CFLAGS=$ac_save_CFLAGS |
---|
2519 | elif test $ac_cv_prog_cc_g = yes; then |
---|
2520 | if test "$GCC" = yes; then |
---|
2521 | CFLAGS="-g -O2" |
---|
2522 | else |
---|
2523 | CFLAGS="-g" |
---|
2524 | fi |
---|
2525 | else |
---|
2526 | if test "$GCC" = yes; then |
---|
2527 | CFLAGS="-O2" |
---|
2528 | else |
---|
2529 | CFLAGS= |
---|
2530 | fi |
---|
2531 | fi |
---|
2532 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
---|
2533 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
---|
2534 | if test "${ac_cv_prog_cc_stdc+set}" = set; then |
---|
2535 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2536 | else |
---|
2537 | ac_cv_prog_cc_stdc=no |
---|
2538 | ac_save_CC=$CC |
---|
2539 | cat >conftest.$ac_ext <<_ACEOF |
---|
2540 | /* confdefs.h. */ |
---|
2541 | _ACEOF |
---|
2542 | cat confdefs.h >>conftest.$ac_ext |
---|
2543 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2544 | /* end confdefs.h. */ |
---|
2545 | #include <stdarg.h> |
---|
2546 | #include <stdio.h> |
---|
2547 | #include <sys/types.h> |
---|
2548 | #include <sys/stat.h> |
---|
2549 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
2550 | struct buf { int x; }; |
---|
2551 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
2552 | static char *e (p, i) |
---|
2553 | char **p; |
---|
2554 | int i; |
---|
2555 | { |
---|
2556 | return p[i]; |
---|
2557 | } |
---|
2558 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
2559 | { |
---|
2560 | char *s; |
---|
2561 | va_list v; |
---|
2562 | va_start (v,p); |
---|
2563 | s = g (p, va_arg (v,int)); |
---|
2564 | va_end (v); |
---|
2565 | return s; |
---|
2566 | } |
---|
2567 | |
---|
2568 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
2569 | function prototypes and stuff, but not '\xHH' hex character constants. |
---|
2570 | These don't provoke an error unfortunately, instead are silently treated |
---|
2571 | as 'x'. The following induces an error, until -std1 is added to get |
---|
2572 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
---|
2573 | array size at least. It's necessary to write '\x00'==0 to get something |
---|
2574 | that's true only with -std1. */ |
---|
2575 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
2576 | |
---|
2577 | int test (int i, double x); |
---|
2578 | struct s1 {int (*f) (int a);}; |
---|
2579 | struct s2 {int (*f) (double a);}; |
---|
2580 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
2581 | int argc; |
---|
2582 | char **argv; |
---|
2583 | int |
---|
2584 | main () |
---|
2585 | { |
---|
2586 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
2587 | ; |
---|
2588 | return 0; |
---|
2589 | } |
---|
2590 | _ACEOF |
---|
2591 | # Don't try gcc -ansi; that turns off useful extensions and |
---|
2592 | # breaks some systems' header files. |
---|
2593 | # AIX -qlanglvl=ansi |
---|
2594 | # Ultrix and OSF/1 -std1 |
---|
2595 | # HP-UX 10.20 and later -Ae |
---|
2596 | # HP-UX older versions -Aa -D_HPUX_SOURCE |
---|
2597 | # SVR4 -Xc -D__EXTENSIONS__ |
---|
2598 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
2599 | do |
---|
2600 | CC="$ac_save_CC $ac_arg" |
---|
2601 | rm -f conftest.$ac_objext |
---|
2602 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2603 | (eval $ac_compile) 2>conftest.er1 |
---|
2604 | ac_status=$? |
---|
2605 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2606 | rm -f conftest.er1 |
---|
2607 | cat conftest.err >&5 |
---|
2608 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2609 | (exit $ac_status); } && |
---|
2610 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
2611 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2612 | (eval $ac_try) 2>&5 |
---|
2613 | ac_status=$? |
---|
2614 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2615 | (exit $ac_status); }; } && |
---|
2616 | { ac_try='test -s conftest.$ac_objext' |
---|
2617 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2618 | (eval $ac_try) 2>&5 |
---|
2619 | ac_status=$? |
---|
2620 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2621 | (exit $ac_status); }; }; then |
---|
2622 | ac_cv_prog_cc_stdc=$ac_arg |
---|
2623 | break |
---|
2624 | else |
---|
2625 | echo "$as_me: failed program was:" >&5 |
---|
2626 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2627 | |
---|
2628 | fi |
---|
2629 | rm -f conftest.err conftest.$ac_objext |
---|
2630 | done |
---|
2631 | rm -f conftest.$ac_ext conftest.$ac_objext |
---|
2632 | CC=$ac_save_CC |
---|
2633 | |
---|
2634 | fi |
---|
2635 | |
---|
2636 | case "x$ac_cv_prog_cc_stdc" in |
---|
2637 | x|xno) |
---|
2638 | echo "$as_me:$LINENO: result: none needed" >&5 |
---|
2639 | echo "${ECHO_T}none needed" >&6 ;; |
---|
2640 | *) |
---|
2641 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
---|
2642 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
---|
2643 | CC="$CC $ac_cv_prog_cc_stdc" ;; |
---|
2644 | esac |
---|
2645 | |
---|
2646 | # Some people use a C++ compiler to compile C. Since we use `exit', |
---|
2647 | # in C++ we need to declare it. In case someone uses the same compiler |
---|
2648 | # for both compiling C and C++ we need to have the C++ compiler decide |
---|
2649 | # the declaration of exit, since it's the most demanding environment. |
---|
2650 | cat >conftest.$ac_ext <<_ACEOF |
---|
2651 | #ifndef __cplusplus |
---|
2652 | choke me |
---|
2653 | #endif |
---|
2654 | _ACEOF |
---|
2655 | rm -f conftest.$ac_objext |
---|
2656 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2657 | (eval $ac_compile) 2>conftest.er1 |
---|
2658 | ac_status=$? |
---|
2659 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2660 | rm -f conftest.er1 |
---|
2661 | cat conftest.err >&5 |
---|
2662 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2663 | (exit $ac_status); } && |
---|
2664 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
2665 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2666 | (eval $ac_try) 2>&5 |
---|
2667 | ac_status=$? |
---|
2668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2669 | (exit $ac_status); }; } && |
---|
2670 | { ac_try='test -s conftest.$ac_objext' |
---|
2671 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2672 | (eval $ac_try) 2>&5 |
---|
2673 | ac_status=$? |
---|
2674 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2675 | (exit $ac_status); }; }; then |
---|
2676 | for ac_declaration in \ |
---|
2677 | '' \ |
---|
2678 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
---|
2679 | 'extern "C" void std::exit (int); using std::exit;' \ |
---|
2680 | 'extern "C" void exit (int) throw ();' \ |
---|
2681 | 'extern "C" void exit (int);' \ |
---|
2682 | 'void exit (int);' |
---|
2683 | do |
---|
2684 | cat >conftest.$ac_ext <<_ACEOF |
---|
2685 | /* confdefs.h. */ |
---|
2686 | _ACEOF |
---|
2687 | cat confdefs.h >>conftest.$ac_ext |
---|
2688 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2689 | /* end confdefs.h. */ |
---|
2690 | $ac_declaration |
---|
2691 | #include <stdlib.h> |
---|
2692 | int |
---|
2693 | main () |
---|
2694 | { |
---|
2695 | exit (42); |
---|
2696 | ; |
---|
2697 | return 0; |
---|
2698 | } |
---|
2699 | _ACEOF |
---|
2700 | rm -f conftest.$ac_objext |
---|
2701 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2702 | (eval $ac_compile) 2>conftest.er1 |
---|
2703 | ac_status=$? |
---|
2704 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2705 | rm -f conftest.er1 |
---|
2706 | cat conftest.err >&5 |
---|
2707 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2708 | (exit $ac_status); } && |
---|
2709 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
2710 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2711 | (eval $ac_try) 2>&5 |
---|
2712 | ac_status=$? |
---|
2713 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2714 | (exit $ac_status); }; } && |
---|
2715 | { ac_try='test -s conftest.$ac_objext' |
---|
2716 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2717 | (eval $ac_try) 2>&5 |
---|
2718 | ac_status=$? |
---|
2719 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2720 | (exit $ac_status); }; }; then |
---|
2721 | : |
---|
2722 | else |
---|
2723 | echo "$as_me: failed program was:" >&5 |
---|
2724 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2725 | |
---|
2726 | continue |
---|
2727 | fi |
---|
2728 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2729 | cat >conftest.$ac_ext <<_ACEOF |
---|
2730 | /* confdefs.h. */ |
---|
2731 | _ACEOF |
---|
2732 | cat confdefs.h >>conftest.$ac_ext |
---|
2733 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2734 | /* end confdefs.h. */ |
---|
2735 | $ac_declaration |
---|
2736 | int |
---|
2737 | main () |
---|
2738 | { |
---|
2739 | exit (42); |
---|
2740 | ; |
---|
2741 | return 0; |
---|
2742 | } |
---|
2743 | _ACEOF |
---|
2744 | rm -f conftest.$ac_objext |
---|
2745 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2746 | (eval $ac_compile) 2>conftest.er1 |
---|
2747 | ac_status=$? |
---|
2748 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2749 | rm -f conftest.er1 |
---|
2750 | cat conftest.err >&5 |
---|
2751 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2752 | (exit $ac_status); } && |
---|
2753 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
2754 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2755 | (eval $ac_try) 2>&5 |
---|
2756 | ac_status=$? |
---|
2757 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2758 | (exit $ac_status); }; } && |
---|
2759 | { ac_try='test -s conftest.$ac_objext' |
---|
2760 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2761 | (eval $ac_try) 2>&5 |
---|
2762 | ac_status=$? |
---|
2763 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2764 | (exit $ac_status); }; }; then |
---|
2765 | break |
---|
2766 | else |
---|
2767 | echo "$as_me: failed program was:" >&5 |
---|
2768 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2769 | |
---|
2770 | fi |
---|
2771 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2772 | done |
---|
2773 | rm -f conftest* |
---|
2774 | if test -n "$ac_declaration"; then |
---|
2775 | echo '#ifdef __cplusplus' >>confdefs.h |
---|
2776 | echo $ac_declaration >>confdefs.h |
---|
2777 | echo '#endif' >>confdefs.h |
---|
2778 | fi |
---|
2779 | |
---|
2780 | else |
---|
2781 | echo "$as_me: failed program was:" >&5 |
---|
2782 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2783 | |
---|
2784 | fi |
---|
2785 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2786 | ac_ext=c |
---|
2787 | ac_cpp='$CPP $CPPFLAGS' |
---|
2788 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
2789 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
2790 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
2791 | DEPDIR="${am__leading_dot}deps" |
---|
2792 | |
---|
2793 | ac_config_commands="$ac_config_commands depfiles" |
---|
2794 | |
---|
2795 | |
---|
2796 | am_make=${MAKE-make} |
---|
2797 | cat > confinc << 'END' |
---|
2798 | am__doit: |
---|
2799 | @echo done |
---|
2800 | .PHONY: am__doit |
---|
2801 | END |
---|
2802 | # If we don't find an include directive, just comment out the code. |
---|
2803 | echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
---|
2804 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 |
---|
2805 | am__include="#" |
---|
2806 | am__quote= |
---|
2807 | _am_result=none |
---|
2808 | # First try GNU make style include. |
---|
2809 | echo "include confinc" > confmf |
---|
2810 | # We grep out `Entering directory' and `Leaving directory' |
---|
2811 | # messages which can occur if `w' ends up in MAKEFLAGS. |
---|
2812 | # In particular we don't look at `^make:' because GNU make might |
---|
2813 | # be invoked under some other name (usually "gmake"), in which |
---|
2814 | # case it prints its new name instead of `make'. |
---|
2815 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then |
---|
2816 | am__include=include |
---|
2817 | am__quote= |
---|
2818 | _am_result=GNU |
---|
2819 | fi |
---|
2820 | # Now try BSD make style include. |
---|
2821 | if test "$am__include" = "#"; then |
---|
2822 | echo '.include "confinc"' > confmf |
---|
2823 | if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
---|
2824 | am__include=.include |
---|
2825 | am__quote="\"" |
---|
2826 | _am_result=BSD |
---|
2827 | fi |
---|
2828 | fi |
---|
2829 | |
---|
2830 | |
---|
2831 | echo "$as_me:$LINENO: result: $_am_result" >&5 |
---|
2832 | echo "${ECHO_T}$_am_result" >&6 |
---|
2833 | rm -f confinc confmf |
---|
2834 | |
---|
2835 | # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. |
---|
2836 | if test "${enable_dependency_tracking+set}" = set; then |
---|
2837 | enableval="$enable_dependency_tracking" |
---|
2838 | |
---|
2839 | fi; |
---|
2840 | if test "x$enable_dependency_tracking" != xno; then |
---|
2841 | am_depcomp="$ac_aux_dir/depcomp" |
---|
2842 | AMDEPBACKSLASH='\' |
---|
2843 | fi |
---|
2844 | |
---|
2845 | |
---|
2846 | if test "x$enable_dependency_tracking" != xno; then |
---|
2847 | AMDEP_TRUE= |
---|
2848 | AMDEP_FALSE='#' |
---|
2849 | else |
---|
2850 | AMDEP_TRUE='#' |
---|
2851 | AMDEP_FALSE= |
---|
2852 | fi |
---|
2853 | |
---|
2854 | |
---|
2855 | |
---|
2856 | |
---|
2857 | depcc="$CC" am_compiler_list= |
---|
2858 | |
---|
2859 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
---|
2860 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
---|
2861 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
---|
2862 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2863 | else |
---|
2864 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
---|
2865 | # We make a subdir and do the tests there. Otherwise we can end up |
---|
2866 | # making bogus files that we don't know about and never remove. For |
---|
2867 | # instance it was reported that on HP-UX the gcc test will end up |
---|
2868 | # making a dummy file named `D' -- because `-MD' means `put the output |
---|
2869 | # in D'. |
---|
2870 | mkdir conftest.dir |
---|
2871 | # Copy depcomp to subdir because otherwise we won't find it if we're |
---|
2872 | # using a relative directory. |
---|
2873 | cp "$am_depcomp" conftest.dir |
---|
2874 | cd conftest.dir |
---|
2875 | # We will build objects and dependencies in a subdirectory because |
---|
2876 | # it helps to detect inapplicable dependency modes. For instance |
---|
2877 | # both Tru64's cc and ICC support -MD to output dependencies as a |
---|
2878 | # side effect of compilation, but ICC will put the dependencies in |
---|
2879 | # the current directory while Tru64 will put them in the object |
---|
2880 | # directory. |
---|
2881 | mkdir sub |
---|
2882 | |
---|
2883 | am_cv_CC_dependencies_compiler_type=none |
---|
2884 | if test "$am_compiler_list" = ""; then |
---|
2885 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
---|
2886 | fi |
---|
2887 | for depmode in $am_compiler_list; do |
---|
2888 | # Setup a source with many dependencies, because some compilers |
---|
2889 | # like to wrap large dependency lists on column 80 (with \), and |
---|
2890 | # we should not choose a depcomp mode which is confused by this. |
---|
2891 | # |
---|
2892 | # We need to recreate these files for each test, as the compiler may |
---|
2893 | # overwrite some of them when testing with obscure command lines. |
---|
2894 | # This happens at least with the AIX C compiler. |
---|
2895 | : > sub/conftest.c |
---|
2896 | for i in 1 2 3 4 5 6; do |
---|
2897 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
---|
2898 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
---|
2899 | # Solaris 8's {/usr,}/bin/sh. |
---|
2900 | touch sub/conftst$i.h |
---|
2901 | done |
---|
2902 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
---|
2903 | |
---|
2904 | case $depmode in |
---|
2905 | nosideeffect) |
---|
2906 | # after this tag, mechanisms are not by side-effect, so they'll |
---|
2907 | # only be used when explicitly requested |
---|
2908 | if test "x$enable_dependency_tracking" = xyes; then |
---|
2909 | continue |
---|
2910 | else |
---|
2911 | break |
---|
2912 | fi |
---|
2913 | ;; |
---|
2914 | none) break ;; |
---|
2915 | esac |
---|
2916 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
---|
2917 | # mode. It turns out that the SunPro C++ compiler does not properly |
---|
2918 | # handle `-M -o', and we need to detect this. |
---|
2919 | if depmode=$depmode \ |
---|
2920 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
---|
2921 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
---|
2922 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
---|
2923 | >/dev/null 2>conftest.err && |
---|
2924 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
---|
2925 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
---|
2926 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
---|
2927 | # icc doesn't choke on unknown options, it will just issue warnings |
---|
2928 | # or remarks (even with -Werror). So we grep stderr for any message |
---|
2929 | # that says an option was ignored or not supported. |
---|
2930 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
---|
2931 | # icc: Command line warning: ignoring option '-M'; no argument required |
---|
2932 | # The diagnosis changed in icc 8.0: |
---|
2933 | # icc: Command line remark: option '-MP' not supported |
---|
2934 | if (grep 'ignoring option' conftest.err || |
---|
2935 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
---|
2936 | am_cv_CC_dependencies_compiler_type=$depmode |
---|
2937 | break |
---|
2938 | fi |
---|
2939 | fi |
---|
2940 | done |
---|
2941 | |
---|
2942 | cd .. |
---|
2943 | rm -rf conftest.dir |
---|
2944 | else |
---|
2945 | am_cv_CC_dependencies_compiler_type=none |
---|
2946 | fi |
---|
2947 | |
---|
2948 | fi |
---|
2949 | echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
---|
2950 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
---|
2951 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
---|
2952 | |
---|
2953 | |
---|
2954 | |
---|
2955 | if |
---|
2956 | test "x$enable_dependency_tracking" != xno \ |
---|
2957 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
---|
2958 | am__fastdepCC_TRUE= |
---|
2959 | am__fastdepCC_FALSE='#' |
---|
2960 | else |
---|
2961 | am__fastdepCC_TRUE='#' |
---|
2962 | am__fastdepCC_FALSE= |
---|
2963 | fi |
---|
2964 | |
---|
2965 | |
---|
2966 | echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 |
---|
2967 | echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 |
---|
2968 | if test "${lt_cv_path_SED+set}" = set; then |
---|
2969 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2970 | else |
---|
2971 | # Loop through the user's path and test for sed and gsed. |
---|
2972 | # Then use that list of sed's as ones to test for truncation. |
---|
2973 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2974 | for as_dir in $PATH |
---|
2975 | do |
---|
2976 | IFS=$as_save_IFS |
---|
2977 | test -z "$as_dir" && as_dir=. |
---|
2978 | for lt_ac_prog in sed gsed; do |
---|
2979 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2980 | if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then |
---|
2981 | lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" |
---|
2982 | fi |
---|
2983 | done |
---|
2984 | done |
---|
2985 | done |
---|
2986 | lt_ac_max=0 |
---|
2987 | lt_ac_count=0 |
---|
2988 | # Add /usr/xpg4/bin/sed as it is typically found on Solaris |
---|
2989 | # along with /bin/sed that truncates output. |
---|
2990 | for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do |
---|
2991 | test ! -f $lt_ac_sed && break |
---|
2992 | cat /dev/null > conftest.in |
---|
2993 | lt_ac_count=0 |
---|
2994 | echo $ECHO_N "0123456789$ECHO_C" >conftest.in |
---|
2995 | # Check for GNU sed and select it if it is found. |
---|
2996 | if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then |
---|
2997 | lt_cv_path_SED=$lt_ac_sed |
---|
2998 | break |
---|
2999 | fi |
---|
3000 | while true; do |
---|
3001 | cat conftest.in conftest.in >conftest.tmp |
---|
3002 | mv conftest.tmp conftest.in |
---|
3003 | cp conftest.in conftest.nl |
---|
3004 | echo >>conftest.nl |
---|
3005 | $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break |
---|
3006 | cmp -s conftest.out conftest.nl || break |
---|
3007 | # 10000 chars as input seems more than enough |
---|
3008 | test $lt_ac_count -gt 10 && break |
---|
3009 | lt_ac_count=`expr $lt_ac_count + 1` |
---|
3010 | if test $lt_ac_count -gt $lt_ac_max; then |
---|
3011 | lt_ac_max=$lt_ac_count |
---|
3012 | lt_cv_path_SED=$lt_ac_sed |
---|
3013 | fi |
---|
3014 | done |
---|
3015 | done |
---|
3016 | SED=$lt_cv_path_SED |
---|
3017 | |
---|
3018 | fi |
---|
3019 | |
---|
3020 | echo "$as_me:$LINENO: result: $SED" >&5 |
---|
3021 | echo "${ECHO_T}$SED" >&6 |
---|
3022 | |
---|
3023 | echo "$as_me:$LINENO: checking for egrep" >&5 |
---|
3024 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
---|
3025 | if test "${ac_cv_prog_egrep+set}" = set; then |
---|
3026 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3027 | else |
---|
3028 | if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
---|
3029 | then ac_cv_prog_egrep='grep -E' |
---|
3030 | else ac_cv_prog_egrep='egrep' |
---|
3031 | fi |
---|
3032 | fi |
---|
3033 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
---|
3034 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
---|
3035 | EGREP=$ac_cv_prog_egrep |
---|
3036 | |
---|
3037 | |
---|
3038 | |
---|
3039 | # Check whether --with-gnu-ld or --without-gnu-ld was given. |
---|
3040 | if test "${with_gnu_ld+set}" = set; then |
---|
3041 | withval="$with_gnu_ld" |
---|
3042 | test "$withval" = no || with_gnu_ld=yes |
---|
3043 | else |
---|
3044 | with_gnu_ld=no |
---|
3045 | fi; |
---|
3046 | ac_prog=ld |
---|
3047 | if test "$GCC" = yes; then |
---|
3048 | # Check if gcc -print-prog-name=ld gives a path. |
---|
3049 | echo "$as_me:$LINENO: checking for ld used by $CC" >&5 |
---|
3050 | echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 |
---|
3051 | case $host in |
---|
3052 | *-*-mingw*) |
---|
3053 | # gcc leaves a trailing carriage return which upsets mingw |
---|
3054 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
---|
3055 | *) |
---|
3056 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
---|
3057 | esac |
---|
3058 | case $ac_prog in |
---|
3059 | # Accept absolute paths. |
---|
3060 | [\\/]* | ?:[\\/]*) |
---|
3061 | re_direlt='/[^/][^/]*/\.\./' |
---|
3062 | # Canonicalize the pathname of ld |
---|
3063 | ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` |
---|
3064 | while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |
---|
3065 | ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` |
---|
3066 | done |
---|
3067 | test -z "$LD" && LD="$ac_prog" |
---|
3068 | ;; |
---|
3069 | "") |
---|
3070 | # If it fails, then pretend we aren't using GCC. |
---|
3071 | ac_prog=ld |
---|
3072 | ;; |
---|
3073 | *) |
---|
3074 | # If it is relative, then search for the first ld in PATH. |
---|
3075 | with_gnu_ld=unknown |
---|
3076 | ;; |
---|
3077 | esac |
---|
3078 | elif test "$with_gnu_ld" = yes; then |
---|
3079 | echo "$as_me:$LINENO: checking for GNU ld" >&5 |
---|
3080 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 |
---|
3081 | else |
---|
3082 | echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
---|
3083 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 |
---|
3084 | fi |
---|
3085 | if test "${lt_cv_path_LD+set}" = set; then |
---|
3086 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3087 | else |
---|
3088 | if test -z "$LD"; then |
---|
3089 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
---|
3090 | for ac_dir in $PATH; do |
---|
3091 | IFS="$lt_save_ifs" |
---|
3092 | test -z "$ac_dir" && ac_dir=. |
---|
3093 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
---|
3094 | lt_cv_path_LD="$ac_dir/$ac_prog" |
---|
3095 | # Check to see if the program is GNU ld. I'd rather use --version, |
---|
3096 | # but apparently some GNU ld's only accept -v. |
---|
3097 | # Break only if it was the GNU/non-GNU ld that we prefer. |
---|
3098 | case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
---|
3099 | *GNU* | *'with BFD'*) |
---|
3100 | test "$with_gnu_ld" != no && break |
---|
3101 | ;; |
---|
3102 | *) |
---|
3103 | test "$with_gnu_ld" != yes && break |
---|
3104 | ;; |
---|
3105 | esac |
---|
3106 | fi |
---|
3107 | done |
---|
3108 | IFS="$lt_save_ifs" |
---|
3109 | else |
---|
3110 | lt_cv_path_LD="$LD" # Let the user override the test with a path. |
---|
3111 | fi |
---|
3112 | fi |
---|
3113 | |
---|
3114 | LD="$lt_cv_path_LD" |
---|
3115 | if test -n "$LD"; then |
---|
3116 | echo "$as_me:$LINENO: result: $LD" >&5 |
---|
3117 | echo "${ECHO_T}$LD" >&6 |
---|
3118 | else |
---|
3119 | echo "$as_me:$LINENO: result: no" >&5 |
---|
3120 | echo "${ECHO_T}no" >&6 |
---|
3121 | fi |
---|
3122 | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
---|
3123 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
---|
3124 | { (exit 1); exit 1; }; } |
---|
3125 | echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
---|
3126 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 |
---|
3127 | if test "${lt_cv_prog_gnu_ld+set}" = set; then |
---|
3128 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3129 | else |
---|
3130 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
---|
3131 | case `$LD -v 2>&1 </dev/null` in |
---|
3132 | *GNU* | *'with BFD'*) |
---|
3133 | lt_cv_prog_gnu_ld=yes |
---|
3134 | ;; |
---|
3135 | *) |
---|
3136 | lt_cv_prog_gnu_ld=no |
---|
3137 | ;; |
---|
3138 | esac |
---|
3139 | fi |
---|
3140 | echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
---|
3141 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 |
---|
3142 | with_gnu_ld=$lt_cv_prog_gnu_ld |
---|
3143 | |
---|
3144 | |
---|
3145 | # Find a good install program. We prefer a C program (faster), |
---|
3146 | # so one script is as good as another. But avoid the broken or |
---|
3147 | # incompatible versions: |
---|
3148 | # SysV /etc/install, /usr/sbin/install |
---|
3149 | # SunOS /usr/etc/install |
---|
3150 | # IRIX /sbin/install |
---|
3151 | # AIX /bin/install |
---|
3152 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
3153 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
3154 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
3155 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
3156 | # OS/2's system install, which has a completely different semantic |
---|
3157 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
3158 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
---|
3159 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
---|
3160 | if test -z "$INSTALL"; then |
---|
3161 | if test "${ac_cv_path_install+set}" = set; then |
---|
3162 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3163 | else |
---|
3164 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3165 | for as_dir in $PATH |
---|
3166 | do |
---|
3167 | IFS=$as_save_IFS |
---|
3168 | test -z "$as_dir" && as_dir=. |
---|
3169 | # Account for people who put trailing slashes in PATH elements. |
---|
3170 | case $as_dir/ in |
---|
3171 | ./ | .// | /cC/* | \ |
---|
3172 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
3173 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
---|
3174 | /usr/ucb/* ) ;; |
---|
3175 | *) |
---|
3176 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
3177 | # Don't use installbsd from OSF since it installs stuff as root |
---|
3178 | # by default. |
---|
3179 | for ac_prog in ginstall scoinst install; do |
---|
3180 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3181 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
---|
3182 | if test $ac_prog = install && |
---|
3183 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
3184 | # AIX install. It has an incompatible calling convention. |
---|
3185 | : |
---|
3186 | elif test $ac_prog = install && |
---|
3187 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
3188 | # program-specific install script used by HP pwplus--don't use. |
---|
3189 | : |
---|
3190 | else |
---|
3191 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
3192 | break 3 |
---|
3193 | fi |
---|
3194 | fi |
---|
3195 | done |
---|
3196 | done |
---|
3197 | ;; |
---|
3198 | esac |
---|
3199 | done |
---|
3200 | |
---|
3201 | |
---|
3202 | fi |
---|
3203 | if test "${ac_cv_path_install+set}" = set; then |
---|
3204 | INSTALL=$ac_cv_path_install |
---|
3205 | else |
---|
3206 | # As a last resort, use the slow shell script. We don't cache a |
---|
3207 | # path for INSTALL within a source directory, because that will |
---|
3208 | # break other packages using the cache if that directory is |
---|
3209 | # removed, or if the path is relative. |
---|
3210 | INSTALL=$ac_install_sh |
---|
3211 | fi |
---|
3212 | fi |
---|
3213 | echo "$as_me:$LINENO: result: $INSTALL" >&5 |
---|
3214 | echo "${ECHO_T}$INSTALL" >&6 |
---|
3215 | |
---|
3216 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
3217 | # It thinks the first close brace ends the variable substitution. |
---|
3218 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
3219 | |
---|
3220 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
3221 | |
---|
3222 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
3223 | |
---|
3224 | |
---|
3225 | |
---|
3226 | AP_VERSION=2.0.40 |
---|
3227 | |
---|
3228 | |
---|
3229 | # Check whether --with-apxs or --without-apxs was given. |
---|
3230 | if test "${with_apxs+set}" = set; then |
---|
3231 | withval="$with_apxs" |
---|
3232 | apxs_prefix="$withval" |
---|
3233 | else |
---|
3234 | apxs_prefix="/usr" |
---|
3235 | |
---|
3236 | fi; |
---|
3237 | |
---|
3238 | # Check whether --enable-apachetest or --disable-apachetest was given. |
---|
3239 | if test "${enable_apachetest+set}" = set; then |
---|
3240 | enableval="$enable_apachetest" |
---|
3241 | |
---|
3242 | else |
---|
3243 | enable_apachetest=yes |
---|
3244 | |
---|
3245 | fi; |
---|
3246 | |
---|
3247 | if test -x $apxs_prefix -a ! -d $apxs_prefix; then |
---|
3248 | APXS_BIN=$apxs_prefix |
---|
3249 | else |
---|
3250 | test_paths="$apxs_prefix:$apxs_prefix/bin:$apxs_prefix/sbin" |
---|
3251 | test_paths="${test_paths}:/usr/bin:/usr/sbin" |
---|
3252 | test_paths="${test_paths}:/usr/local/bin:/usr/local/sbin:/usr/local/apache2/bin" |
---|
3253 | # Extract the first word of "apxs", so it can be a program name with args. |
---|
3254 | set dummy apxs; ac_word=$2 |
---|
3255 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
3256 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
3257 | if test "${ac_cv_path_APXS_BIN+set}" = set; then |
---|
3258 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3259 | else |
---|
3260 | case $APXS_BIN in |
---|
3261 | [\\/]* | ?:[\\/]*) |
---|
3262 | ac_cv_path_APXS_BIN="$APXS_BIN" # Let the user override the test with a path. |
---|
3263 | ;; |
---|
3264 | *) |
---|
3265 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3266 | for as_dir in $test_paths |
---|
3267 | do |
---|
3268 | IFS=$as_save_IFS |
---|
3269 | test -z "$as_dir" && as_dir=. |
---|
3270 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3271 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3272 | ac_cv_path_APXS_BIN="$as_dir/$ac_word$ac_exec_ext" |
---|
3273 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3274 | break 2 |
---|
3275 | fi |
---|
3276 | done |
---|
3277 | done |
---|
3278 | |
---|
3279 | test -z "$ac_cv_path_APXS_BIN" && ac_cv_path_APXS_BIN="no" |
---|
3280 | ;; |
---|
3281 | esac |
---|
3282 | fi |
---|
3283 | APXS_BIN=$ac_cv_path_APXS_BIN |
---|
3284 | |
---|
3285 | if test -n "$APXS_BIN"; then |
---|
3286 | echo "$as_me:$LINENO: result: $APXS_BIN" >&5 |
---|
3287 | echo "${ECHO_T}$APXS_BIN" >&6 |
---|
3288 | else |
---|
3289 | echo "$as_me:$LINENO: result: no" >&5 |
---|
3290 | echo "${ECHO_T}no" >&6 |
---|
3291 | fi |
---|
3292 | |
---|
3293 | fi |
---|
3294 | min_apache13_version=no |
---|
3295 | min_apache20_version=$AP_VERSION |
---|
3296 | no_apxs="" |
---|
3297 | if test "$APXS_BIN" = "no"; then |
---|
3298 | { { echo "$as_me:$LINENO: error: *** The apxs binary installed by apache could not be found!" >&5 |
---|
3299 | echo "$as_me: error: *** The apxs binary installed by apache could not be found!" >&2;} |
---|
3300 | { (exit 1); exit 1; }; } |
---|
3301 | { { echo "$as_me:$LINENO: error: *** Use the --with-apxs option with the full path to apxs" >&5 |
---|
3302 | echo "$as_me: error: *** Use the --with-apxs option with the full path to apxs" >&2;} |
---|
3303 | { (exit 1); exit 1; }; } |
---|
3304 | else |
---|
3305 | AP_INCLUDES="-I`$APXS_BIN -q INCLUDEDIR 2>/dev/null`" |
---|
3306 | AP_INCLUDEDIR="`$APXS_BIN -q INCLUDEDIR 2>/dev/null`" |
---|
3307 | |
---|
3308 | AP_PREFIX="`$APXS_BIN -q prefix 2>/dev/null`" |
---|
3309 | |
---|
3310 | AP_BINDIR="`$APXS_BIN -q bindir 2>/dev/null`" |
---|
3311 | AP_SBINDIR="`$APXS_BIN -q sbindir 2>/dev/null`" |
---|
3312 | AP_SYSCONFDIR="`$APXS_BIN -q sysconfdir 2>/dev/null`" |
---|
3313 | |
---|
3314 | APXS_CFLAGS="" |
---|
3315 | for flag in CFLAGS EXTRA_CFLAGS EXTRA_CPPFLAGS NOTEST_CFLAGS; do |
---|
3316 | APXS_CFLAGS="$APXS_CFLAGS `$APXS_BIN -q $flag 2>/dev/null`" |
---|
3317 | done |
---|
3318 | |
---|
3319 | AP_CPPFLAGS="$APXS_CPPFLAGS $AP_INCLUDES" |
---|
3320 | AP_CFLAGS="$APXS_CFLAGS $AP_INCLUDES" |
---|
3321 | |
---|
3322 | AP_LIBEXECDIR=`$APXS_BIN -q LIBEXECDIR 2>/dev/null` |
---|
3323 | |
---|
3324 | if test "x$enable_apachetest" = "xyes" ; then |
---|
3325 | if test "$min_apache20_version" != "no"; then |
---|
3326 | APR_CONFIG="`$APXS_BIN -q APR_BINDIR 2>/dev/null`/apr-1-config" |
---|
3327 | if test ! -x $APR_CONFIG; then |
---|
3328 | APR_CONFIG="`$APXS_BIN -q APR_BINDIR 2>/dev/null`/apr-config" |
---|
3329 | fi |
---|
3330 | APR_INCLUDES=`$APR_CONFIG --includes 2>/dev/null` |
---|
3331 | APR_VERSION=`$APR_CONFIG --version 2>/dev/null` |
---|
3332 | APU_CONFIG="`$APXS_BIN -q APU_BINDIR 2>/dev/null`/apu-1-config" |
---|
3333 | if test ! -x $APU_CONFIG; then |
---|
3334 | APU_CONFIG="`$APXS_BIN -q APU_BINDIR 2>/dev/null`/apu-config" |
---|
3335 | fi |
---|
3336 | APU_INCLUDES=`$APU_CONFIG --includes 2>/dev/null` |
---|
3337 | APU_VERSION=`$APU_CONFIG --version 2>/dev/null` |
---|
3338 | |
---|
3339 | echo "$as_me:$LINENO: checking for Apache 2.0 version >= $min_apache20_version" >&5 |
---|
3340 | echo $ECHO_N "checking for Apache 2.0 version >= $min_apache20_version... $ECHO_C" >&6 |
---|
3341 | |
---|
3342 | releasetest=20 |
---|
3343 | min_apache_version="$min_apache20_version" |
---|
3344 | no_apache="" |
---|
3345 | ac_save_CFLAGS="$CFLAGS" |
---|
3346 | CFLAGS="$CFLAGS $AP_CFLAGS" |
---|
3347 | if test $releasetest -eq 20; then |
---|
3348 | CFLAGS="$CFLAGS $APU_INCLUDES $APR_INCLUDES" |
---|
3349 | fi |
---|
3350 | if test "$cross_compiling" = yes; then |
---|
3351 | echo $ac_n "cross compiling; assumed OK... $ac_c" |
---|
3352 | else |
---|
3353 | cat >conftest.$ac_ext <<_ACEOF |
---|
3354 | /* confdefs.h. */ |
---|
3355 | _ACEOF |
---|
3356 | cat confdefs.h >>conftest.$ac_ext |
---|
3357 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3358 | /* end confdefs.h. */ |
---|
3359 | |
---|
3360 | #include <stdio.h> |
---|
3361 | #include <stdlib.h> |
---|
3362 | #include <string.h> |
---|
3363 | #include "httpd.h" |
---|
3364 | |
---|
3365 | #ifndef AP_SERVER_BASEREVISION |
---|
3366 | #define AP_SERVER_BASEREVISION SERVER_BASEREVISION |
---|
3367 | #endif |
---|
3368 | |
---|
3369 | char* my_strdup (char *str) |
---|
3370 | { |
---|
3371 | char *new_str; |
---|
3372 | |
---|
3373 | if (str) { |
---|
3374 | new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); |
---|
3375 | strcpy (new_str, str); |
---|
3376 | } else |
---|
3377 | new_str = NULL; |
---|
3378 | |
---|
3379 | return new_str; |
---|
3380 | } |
---|
3381 | |
---|
3382 | int main (int argc, char *argv[]) |
---|
3383 | { |
---|
3384 | int major1, minor1, micro1; |
---|
3385 | int major2, minor2, micro2; |
---|
3386 | char *tmp_version; |
---|
3387 | |
---|
3388 | { FILE *fp = fopen("conf.apachetest", "a"); if ( fp ) fclose(fp); } |
---|
3389 | |
---|
3390 | tmp_version = my_strdup("$min_apache_version"); |
---|
3391 | if (sscanf(tmp_version, "%d.%d.%d", &major1, &minor1, µ1) != 3) { |
---|
3392 | printf("%s, bad version string\n", "$min_apache_version"); |
---|
3393 | exit(1); |
---|
3394 | } |
---|
3395 | tmp_version = my_strdup(AP_SERVER_BASEREVISION); |
---|
3396 | if (sscanf(tmp_version, "%d.%d.%d", &major2, &minor2, µ2) != 3) { |
---|
3397 | printf("%s, bad version string\n", AP_SERVER_BASEREVISION); |
---|
3398 | exit(1); |
---|
3399 | } |
---|
3400 | |
---|
3401 | if ( (major2 == major1) && |
---|
3402 | ( (minor2 > minor1) || |
---|
3403 | ((minor2 == minor1) && (micro2 >= micro1)) ) ) { |
---|
3404 | exit(0); |
---|
3405 | } else { |
---|
3406 | exit(1); |
---|
3407 | } |
---|
3408 | } |
---|
3409 | |
---|
3410 | |
---|
3411 | _ACEOF |
---|
3412 | rm -f conftest$ac_exeext |
---|
3413 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
3414 | (eval $ac_link) 2>&5 |
---|
3415 | ac_status=$? |
---|
3416 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3417 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
---|
3418 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3419 | (eval $ac_try) 2>&5 |
---|
3420 | ac_status=$? |
---|
3421 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3422 | (exit $ac_status); }; }; then |
---|
3423 | : |
---|
3424 | else |
---|
3425 | echo "$as_me: program exited with status $ac_status" >&5 |
---|
3426 | echo "$as_me: failed program was:" >&5 |
---|
3427 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3428 | |
---|
3429 | ( exit $ac_status ) |
---|
3430 | no_apache=yes |
---|
3431 | fi |
---|
3432 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
---|
3433 | fi |
---|
3434 | CFLAGS="$ac_save_CFLAGS" |
---|
3435 | |
---|
3436 | if test "x$no_apache" = x ; then |
---|
3437 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
3438 | echo "${ECHO_T}yes" >&6 |
---|
3439 | |
---|
3440 | cat >>confdefs.h <<\_ACEOF |
---|
3441 | #define WITH_APACHE20 1 |
---|
3442 | _ACEOF |
---|
3443 | |
---|
3444 | AP_VERSION="2.0" |
---|
3445 | APXS_EXTENSION=.la |
---|
3446 | if test -f `$APXS_BIN -q INCLUDEDIR`/mod_status.h; then |
---|
3447 | |
---|
3448 | cat >>confdefs.h <<\_ACEOF |
---|
3449 | #define HAVE_MOD_STATUS_H 1 |
---|
3450 | _ACEOF |
---|
3451 | |
---|
3452 | fi |
---|
3453 | AP_CFLAGS="$AP_CFLAGS $APU_INCLUDES $APR_INCLUDES" |
---|
3454 | AP_CPPFLAGS="$AP_CPPFLAGS $APU_INCLUDES $APR_INCLUDES" |
---|
3455 | AP_DEFS="-DWITH_APACHE20" |
---|
3456 | : |
---|
3457 | else |
---|
3458 | if test -f conf.apachetest ; then |
---|
3459 | : |
---|
3460 | else |
---|
3461 | echo "*** Could not run Apache test program, checking why..." |
---|
3462 | CFLAGS="$CFLAGS $AP_CFLAGS" |
---|
3463 | if test $releasetest -eq 20; then |
---|
3464 | CFLAGS="$CFLAGS $APU_INCLUDES $APR_INCLUDES" |
---|
3465 | fi |
---|
3466 | cat >conftest.$ac_ext <<_ACEOF |
---|
3467 | /* confdefs.h. */ |
---|
3468 | _ACEOF |
---|
3469 | cat confdefs.h >>conftest.$ac_ext |
---|
3470 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3471 | /* end confdefs.h. */ |
---|
3472 | |
---|
3473 | #include <stdio.h> |
---|
3474 | #include "httpd.h" |
---|
3475 | |
---|
3476 | int main(int argc, char *argv[]) |
---|
3477 | { return 0; } |
---|
3478 | #undef main |
---|
3479 | #define main K_and_R_C_main |
---|
3480 | |
---|
3481 | int |
---|
3482 | main () |
---|
3483 | { |
---|
3484 | return 0; |
---|
3485 | ; |
---|
3486 | return 0; |
---|
3487 | } |
---|
3488 | _ACEOF |
---|
3489 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3490 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
3491 | (eval $ac_link) 2>conftest.er1 |
---|
3492 | ac_status=$? |
---|
3493 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3494 | rm -f conftest.er1 |
---|
3495 | cat conftest.err >&5 |
---|
3496 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3497 | (exit $ac_status); } && |
---|
3498 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
3499 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3500 | (eval $ac_try) 2>&5 |
---|
3501 | ac_status=$? |
---|
3502 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3503 | (exit $ac_status); }; } && |
---|
3504 | { ac_try='test -s conftest$ac_exeext' |
---|
3505 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3506 | (eval $ac_try) 2>&5 |
---|
3507 | ac_status=$? |
---|
3508 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3509 | (exit $ac_status); }; }; then |
---|
3510 | echo "*** The test program compiled, but failed to run. Check config.log" |
---|
3511 | else |
---|
3512 | echo "$as_me: failed program was:" >&5 |
---|
3513 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3514 | |
---|
3515 | echo "*** The test program failed to compile or link. Check config.log" |
---|
3516 | fi |
---|
3517 | rm -f conftest.err conftest.$ac_objext \ |
---|
3518 | conftest$ac_exeext conftest.$ac_ext |
---|
3519 | CFLAGS="$ac_save_CFLAGS" |
---|
3520 | fi |
---|
3521 | echo "$as_me:$LINENO: result: no" >&5 |
---|
3522 | echo "${ECHO_T}no" >&6 |
---|
3523 | if test "x$min_apache13_version" = "xno"; then |
---|
3524 | { { echo "$as_me:$LINENO: error: *** Apache version $AP_VERSION not found!" >&5 |
---|
3525 | echo "$as_me: error: *** Apache version $AP_VERSION not found!" >&2;} |
---|
3526 | { (exit 1); exit 1; }; } |
---|
3527 | |
---|
3528 | fi |
---|
3529 | |
---|
3530 | fi |
---|
3531 | rm -f conf.apachetest |
---|
3532 | |
---|
3533 | fi |
---|
3534 | if test "$min_apache13_version" != "no" -a "x$AP_VERSION" = "x"; then |
---|
3535 | APR_INCLUDES="" |
---|
3536 | APR_VERSION="" |
---|
3537 | APU_INCLUDES="" |
---|
3538 | APU_VERSION="" |
---|
3539 | echo "$as_me:$LINENO: checking for Apache 1.3 version >= $min_apache13_version" >&5 |
---|
3540 | echo $ECHO_N "checking for Apache 1.3 version >= $min_apache13_version... $ECHO_C" >&6 |
---|
3541 | |
---|
3542 | releasetest=13 |
---|
3543 | min_apache_version="$min_apache13_version" |
---|
3544 | no_apache="" |
---|
3545 | ac_save_CFLAGS="$CFLAGS" |
---|
3546 | CFLAGS="$CFLAGS $AP_CFLAGS" |
---|
3547 | if test $releasetest -eq 20; then |
---|
3548 | CFLAGS="$CFLAGS $APU_INCLUDES $APR_INCLUDES" |
---|
3549 | fi |
---|
3550 | if test "$cross_compiling" = yes; then |
---|
3551 | echo $ac_n "cross compiling; assumed OK... $ac_c" |
---|
3552 | else |
---|
3553 | cat >conftest.$ac_ext <<_ACEOF |
---|
3554 | /* confdefs.h. */ |
---|
3555 | _ACEOF |
---|
3556 | cat confdefs.h >>conftest.$ac_ext |
---|
3557 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3558 | /* end confdefs.h. */ |
---|
3559 | |
---|
3560 | #include <stdio.h> |
---|
3561 | #include <stdlib.h> |
---|
3562 | #include <string.h> |
---|
3563 | #include "httpd.h" |
---|
3564 | |
---|
3565 | #ifndef AP_SERVER_BASEREVISION |
---|
3566 | #define AP_SERVER_BASEREVISION SERVER_BASEREVISION |
---|
3567 | #endif |
---|
3568 | |
---|
3569 | char* my_strdup (char *str) |
---|
3570 | { |
---|
3571 | char *new_str; |
---|
3572 | |
---|
3573 | if (str) { |
---|
3574 | new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); |
---|
3575 | strcpy (new_str, str); |
---|
3576 | } else |
---|
3577 | new_str = NULL; |
---|
3578 | |
---|
3579 | return new_str; |
---|
3580 | } |
---|
3581 | |
---|
3582 | int main (int argc, char *argv[]) |
---|
3583 | { |
---|
3584 | int major1, minor1, micro1; |
---|
3585 | int major2, minor2, micro2; |
---|
3586 | char *tmp_version; |
---|
3587 | |
---|
3588 | { FILE *fp = fopen("conf.apachetest", "a"); if ( fp ) fclose(fp); } |
---|
3589 | |
---|
3590 | tmp_version = my_strdup("$min_apache_version"); |
---|
3591 | if (sscanf(tmp_version, "%d.%d.%d", &major1, &minor1, µ1) != 3) { |
---|
3592 | printf("%s, bad version string\n", "$min_apache_version"); |
---|
3593 | exit(1); |
---|
3594 | } |
---|
3595 | tmp_version = my_strdup(AP_SERVER_BASEREVISION); |
---|
3596 | if (sscanf(tmp_version, "%d.%d.%d", &major2, &minor2, µ2) != 3) { |
---|
3597 | printf("%s, bad version string\n", AP_SERVER_BASEREVISION); |
---|
3598 | exit(1); |
---|
3599 | } |
---|
3600 | |
---|
3601 | if ( (major2 == major1) && |
---|
3602 | ( (minor2 > minor1) || |
---|
3603 | ((minor2 == minor1) && (micro2 >= micro1)) ) ) { |
---|
3604 | exit(0); |
---|
3605 | } else { |
---|
3606 | exit(1); |
---|
3607 | } |
---|
3608 | } |
---|
3609 | |
---|
3610 | |
---|
3611 | _ACEOF |
---|
3612 | rm -f conftest$ac_exeext |
---|
3613 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
3614 | (eval $ac_link) 2>&5 |
---|
3615 | ac_status=$? |
---|
3616 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3617 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
---|
3618 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3619 | (eval $ac_try) 2>&5 |
---|
3620 | ac_status=$? |
---|
3621 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3622 | (exit $ac_status); }; }; then |
---|
3623 | : |
---|
3624 | else |
---|
3625 | echo "$as_me: program exited with status $ac_status" >&5 |
---|
3626 | echo "$as_me: failed program was:" >&5 |
---|
3627 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3628 | |
---|
3629 | ( exit $ac_status ) |
---|
3630 | no_apache=yes |
---|
3631 | fi |
---|
3632 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
---|
3633 | fi |
---|
3634 | CFLAGS="$ac_save_CFLAGS" |
---|
3635 | |
---|
3636 | if test "x$no_apache" = x ; then |
---|
3637 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
3638 | echo "${ECHO_T}yes" >&6 |
---|
3639 | |
---|
3640 | cat >>confdefs.h <<\_ACEOF |
---|
3641 | #define WITH_APACHE13 1 |
---|
3642 | _ACEOF |
---|
3643 | |
---|
3644 | AP_VERSION="1.3" |
---|
3645 | APXS_EXTENSION=.so |
---|
3646 | AP_CFLAGS="-g $AP_CFLAGS" |
---|
3647 | AP_DEFS="-DWITH_APACHE13" |
---|
3648 | : |
---|
3649 | else |
---|
3650 | if test -f conf.apachetest ; then |
---|
3651 | : |
---|
3652 | else |
---|
3653 | echo "*** Could not run Apache test program, checking why..." |
---|
3654 | CFLAGS="$CFLAGS $AP_CFLAGS" |
---|
3655 | if test $releasetest -eq 20; then |
---|
3656 | CFLAGS="$CFLAGS $APU_INCLUDES $APR_INCLUDES" |
---|
3657 | fi |
---|
3658 | cat >conftest.$ac_ext <<_ACEOF |
---|
3659 | /* confdefs.h. */ |
---|
3660 | _ACEOF |
---|
3661 | cat confdefs.h >>conftest.$ac_ext |
---|
3662 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3663 | /* end confdefs.h. */ |
---|
3664 | |
---|
3665 | #include <stdio.h> |
---|
3666 | #include "httpd.h" |
---|
3667 | |
---|
3668 | int main(int argc, char *argv[]) |
---|
3669 | { return 0; } |
---|
3670 | #undef main |
---|
3671 | #define main K_and_R_C_main |
---|
3672 | |
---|
3673 | int |
---|
3674 | main () |
---|
3675 | { |
---|
3676 | return 0; |
---|
3677 | ; |
---|
3678 | return 0; |
---|
3679 | } |
---|
3680 | _ACEOF |
---|
3681 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3682 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
3683 | (eval $ac_link) 2>conftest.er1 |
---|
3684 | ac_status=$? |
---|
3685 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3686 | rm -f conftest.er1 |
---|
3687 | cat conftest.err >&5 |
---|
3688 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3689 | (exit $ac_status); } && |
---|
3690 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
3691 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3692 | (eval $ac_try) 2>&5 |
---|
3693 | ac_status=$? |
---|
3694 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3695 | (exit $ac_status); }; } && |
---|
3696 | { ac_try='test -s conftest$ac_exeext' |
---|
3697 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3698 | (eval $ac_try) 2>&5 |
---|
3699 | ac_status=$? |
---|
3700 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3701 | (exit $ac_status); }; }; then |
---|
3702 | echo "*** The test program compiled, but failed to run. Check config.log" |
---|
3703 | else |
---|
3704 | echo "$as_me: failed program was:" >&5 |
---|
3705 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3706 | |
---|
3707 | echo "*** The test program failed to compile or link. Check config.log" |
---|
3708 | fi |
---|
3709 | rm -f conftest.err conftest.$ac_objext \ |
---|
3710 | conftest$ac_exeext conftest.$ac_ext |
---|
3711 | CFLAGS="$ac_save_CFLAGS" |
---|
3712 | fi |
---|
3713 | echo "$as_me:$LINENO: result: no" >&5 |
---|
3714 | echo "${ECHO_T}no" >&6 |
---|
3715 | { { echo "$as_me:$LINENO: error: *** Apache version $AP_VERSION not found!" >&5 |
---|
3716 | echo "$as_me: error: *** Apache version $AP_VERSION not found!" >&2;} |
---|
3717 | { (exit 1); exit 1; }; } |
---|
3718 | |
---|
3719 | |
---|
3720 | fi |
---|
3721 | rm -f conf.apachetest |
---|
3722 | |
---|
3723 | fi |
---|
3724 | fi |
---|
3725 | |
---|
3726 | |
---|
3727 | |
---|
3728 | |
---|
3729 | |
---|
3730 | |
---|
3731 | |
---|
3732 | |
---|
3733 | |
---|
3734 | |
---|
3735 | |
---|
3736 | |
---|
3737 | |
---|
3738 | |
---|
3739 | |
---|
3740 | |
---|
3741 | fi |
---|
3742 | |
---|
3743 | |
---|
3744 | LIBTOOL="`${APR_CONFIG} --apr-libtool`" |
---|
3745 | |
---|
3746 | |
---|
3747 | MIN_TLS_VERSION=1.2.0 |
---|
3748 | |
---|
3749 | |
---|
3750 | # Check whether --with-libgnutls or --without-libgnutls was given. |
---|
3751 | if test "${with_libgnutls+set}" = set; then |
---|
3752 | withval="$with_libgnutls" |
---|
3753 | tls_prefix="$withval" |
---|
3754 | else |
---|
3755 | tls_prefix="/usr" |
---|
3756 | |
---|
3757 | fi; |
---|
3758 | |
---|
3759 | if test -x $tls_prefix -a ! -d $tls_prefix; then |
---|
3760 | GTLS_BIN=$tls_prefix |
---|
3761 | else |
---|
3762 | test_paths="$tls_prefix:$tls_prefix/bin:$tls_prefix/sbin" |
---|
3763 | test_paths="${test_paths}:/usr/bin:/usr/sbin" |
---|
3764 | test_paths="${test_paths}:/usr/local/bin:/usr/local/sbin" |
---|
3765 | # Extract the first word of "libgnutls-config", so it can be a program name with args. |
---|
3766 | set dummy libgnutls-config; ac_word=$2 |
---|
3767 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
3768 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
3769 | if test "${ac_cv_path_GTLS_BIN+set}" = set; then |
---|
3770 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3771 | else |
---|
3772 | case $GTLS_BIN in |
---|
3773 | [\\/]* | ?:[\\/]*) |
---|
3774 | ac_cv_path_GTLS_BIN="$GTLS_BIN" # Let the user override the test with a path. |
---|
3775 | ;; |
---|
3776 | *) |
---|
3777 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3778 | for as_dir in $test_paths |
---|
3779 | do |
---|
3780 | IFS=$as_save_IFS |
---|
3781 | test -z "$as_dir" && as_dir=. |
---|
3782 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3783 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3784 | ac_cv_path_GTLS_BIN="$as_dir/$ac_word$ac_exec_ext" |
---|
3785 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3786 | break 2 |
---|
3787 | fi |
---|
3788 | done |
---|
3789 | done |
---|
3790 | |
---|
3791 | test -z "$ac_cv_path_GTLS_BIN" && ac_cv_path_GTLS_BIN="no" |
---|
3792 | ;; |
---|
3793 | esac |
---|
3794 | fi |
---|
3795 | GTLS_BIN=$ac_cv_path_GTLS_BIN |
---|
3796 | |
---|
3797 | if test -n "$GTLS_BIN"; then |
---|
3798 | echo "$as_me:$LINENO: result: $GTLS_BIN" >&5 |
---|
3799 | echo "${ECHO_T}$GTLS_BIN" >&6 |
---|
3800 | else |
---|
3801 | echo "$as_me:$LINENO: result: no" >&5 |
---|
3802 | echo "${ECHO_T}no" >&6 |
---|
3803 | fi |
---|
3804 | |
---|
3805 | fi |
---|
3806 | |
---|
3807 | if test "$GTLS_BIN" = "no"; then |
---|
3808 | { { echo "$as_me:$LINENO: error: *** The libgnutls-config binary installed by GnuTLS could not be found!" >&5 |
---|
3809 | echo "$as_me: error: *** The libgnutls-config binary installed by GnuTLS could not be found!" >&2;} |
---|
3810 | { (exit 1); exit 1; }; } |
---|
3811 | { { echo "$as_me:$LINENO: error: *** Use the --with-libgnutls option with the full path to libgnutls-config" >&5 |
---|
3812 | echo "$as_me: error: *** Use the --with-libgnutls option with the full path to libgnutls-config" >&2;} |
---|
3813 | { (exit 1); exit 1; }; } |
---|
3814 | else |
---|
3815 | LIBGNUTLS_LIBS="`$GTLS_BIN --libs`" |
---|
3816 | LIBGNUTLS_CFLAGS="`$GTLS_BIN --cflags`" |
---|
3817 | LIBGNUTLS_VERSION="`$GTLS_BIN --version`" |
---|
3818 | LIBGNUTLS_PREFIX="`$GTLS_BIN --prefix`" |
---|
3819 | GNUTLS_CERTTOOL="${LIBGNUTLS_PREFIX}/bin/certtool" |
---|
3820 | |
---|
3821 | |
---|
3822 | |
---|
3823 | |
---|
3824 | |
---|
3825 | fi |
---|
3826 | |
---|
3827 | |
---|
3828 | have_apr_memcache=0 |
---|
3829 | |
---|
3830 | |
---|
3831 | # Check whether --with-apr-memcache or --without-apr-memcache was given. |
---|
3832 | if test "${with_apr_memcache+set}" = set; then |
---|
3833 | withval="$with_apr_memcache" |
---|
3834 | mc_path="$withval" |
---|
3835 | else |
---|
3836 | : |
---|
3837 | fi; |
---|
3838 | |
---|
3839 | if test -z $mc_path; then |
---|
3840 | test_paths="/usr/local /usr /usr/local/apache2" |
---|
3841 | else |
---|
3842 | test_paths="${mc_path}" |
---|
3843 | fi |
---|
3844 | |
---|
3845 | if test -n ${AP_PREFIX}; then |
---|
3846 | test_paths="${AP_PREFIX} ${test_paths}" |
---|
3847 | fi |
---|
3848 | |
---|
3849 | for x in $test_paths ; do |
---|
3850 | echo "$as_me:$LINENO: checking for apr_memcache library in ${x}/lib" >&5 |
---|
3851 | echo $ECHO_N "checking for apr_memcache library in ${x}/lib... $ECHO_C" >&6 |
---|
3852 | if test -f ${x}/lib/libapr_memcache.so; then |
---|
3853 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
3854 | echo "${ECHO_T}yes" >&6 |
---|
3855 | save_CFLAGS=$CFLAGS |
---|
3856 | save_LDFLAGS=$LDFLAGS |
---|
3857 | CFLAGS="$CFLAGS" |
---|
3858 | LDFLAGS="-L$x/lib $LDFLAGS" |
---|
3859 | echo "$as_me:$LINENO: checking for apr_memcache_create in -lapr_memcache" >&5 |
---|
3860 | echo $ECHO_N "checking for apr_memcache_create in -lapr_memcache... $ECHO_C" >&6 |
---|
3861 | if test "${ac_cv_lib_apr_memcache_apr_memcache_create+set}" = set; then |
---|
3862 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3863 | else |
---|
3864 | ac_check_lib_save_LIBS=$LIBS |
---|
3865 | LIBS="-lapr_memcache $LIBS" |
---|
3866 | cat >conftest.$ac_ext <<_ACEOF |
---|
3867 | /* confdefs.h. */ |
---|
3868 | _ACEOF |
---|
3869 | cat confdefs.h >>conftest.$ac_ext |
---|
3870 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3871 | /* end confdefs.h. */ |
---|
3872 | |
---|
3873 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
3874 | #ifdef __cplusplus |
---|
3875 | extern "C" |
---|
3876 | #endif |
---|
3877 | /* We use char because int might match the return type of a gcc2 |
---|
3878 | builtin and then its argument prototype would still apply. */ |
---|
3879 | char apr_memcache_create (); |
---|
3880 | int |
---|
3881 | main () |
---|
3882 | { |
---|
3883 | apr_memcache_create (); |
---|
3884 | ; |
---|
3885 | return 0; |
---|
3886 | } |
---|
3887 | _ACEOF |
---|
3888 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3889 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
3890 | (eval $ac_link) 2>conftest.er1 |
---|
3891 | ac_status=$? |
---|
3892 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3893 | rm -f conftest.er1 |
---|
3894 | cat conftest.err >&5 |
---|
3895 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3896 | (exit $ac_status); } && |
---|
3897 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
3898 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3899 | (eval $ac_try) 2>&5 |
---|
3900 | ac_status=$? |
---|
3901 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3902 | (exit $ac_status); }; } && |
---|
3903 | { ac_try='test -s conftest$ac_exeext' |
---|
3904 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3905 | (eval $ac_try) 2>&5 |
---|
3906 | ac_status=$? |
---|
3907 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3908 | (exit $ac_status); }; }; then |
---|
3909 | ac_cv_lib_apr_memcache_apr_memcache_create=yes |
---|
3910 | else |
---|
3911 | echo "$as_me: failed program was:" >&5 |
---|
3912 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3913 | |
---|
3914 | ac_cv_lib_apr_memcache_apr_memcache_create=no |
---|
3915 | fi |
---|
3916 | rm -f conftest.err conftest.$ac_objext \ |
---|
3917 | conftest$ac_exeext conftest.$ac_ext |
---|
3918 | LIBS=$ac_check_lib_save_LIBS |
---|
3919 | fi |
---|
3920 | echo "$as_me:$LINENO: result: $ac_cv_lib_apr_memcache_apr_memcache_create" >&5 |
---|
3921 | echo "${ECHO_T}$ac_cv_lib_apr_memcache_apr_memcache_create" >&6 |
---|
3922 | if test $ac_cv_lib_apr_memcache_apr_memcache_create = yes; then |
---|
3923 | |
---|
3924 | APR_MEMCACHE_LIBS="-L$x/lib -lapr_memcache" |
---|
3925 | APR_MEMCACHE_CFLAGS="-I$x/include/apr_memcache-0" |
---|
3926 | |
---|
3927 | fi |
---|
3928 | |
---|
3929 | CFLAGS=$save_CFLAGS |
---|
3930 | LDFLAGS=$save_LDFLAGS |
---|
3931 | break |
---|
3932 | else |
---|
3933 | echo "$as_me:$LINENO: result: no" >&5 |
---|
3934 | echo "${ECHO_T}no" >&6 |
---|
3935 | fi |
---|
3936 | done |
---|
3937 | |
---|
3938 | |
---|
3939 | |
---|
3940 | |
---|
3941 | if test -z "${APR_MEMCACHE_LIBS}"; then |
---|
3942 | { echo "$as_me:$LINENO: *** memcache library not found." >&5 |
---|
3943 | echo "$as_me: *** memcache library not found." >&6;} |
---|
3944 | have_apr_memcache=0 |
---|
3945 | else |
---|
3946 | { echo "$as_me:$LINENO: using '${APR_MEMCACHE_LIBS}' for memcache" >&5 |
---|
3947 | echo "$as_me: using '${APR_MEMCACHE_LIBS}' for memcache" >&6;} |
---|
3948 | have_apr_memcache=1 |
---|
3949 | fi |
---|
3950 | |
---|
3951 | |
---|
3952 | |
---|
3953 | MODULE_CFLAGS="${LIBGNUTLS_CFLAGS} ${APR_MEMCACHE_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}" |
---|
3954 | MODULE_LIBS="${APR_MEMCACHE_LIBS} ${LIBGNUTLS_LIBS}" |
---|
3955 | |
---|
3956 | |
---|
3957 | |
---|
3958 | |
---|
3959 | ac_config_files="$ac_config_files Makefile src/Makefile include/mod_gnutls.h data/Makefile" |
---|
3960 | |
---|
3961 | cat >confcache <<\_ACEOF |
---|
3962 | # This file is a shell script that caches the results of configure |
---|
3963 | # tests run on this system so they can be shared between configure |
---|
3964 | # scripts and configure runs, see configure's option --config-cache. |
---|
3965 | # It is not useful on other systems. If it contains results you don't |
---|
3966 | # want to keep, you may remove or edit it. |
---|
3967 | # |
---|
3968 | # config.status only pays attention to the cache file if you give it |
---|
3969 | # the --recheck option to rerun configure. |
---|
3970 | # |
---|
3971 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
3972 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
3973 | # following values. |
---|
3974 | |
---|
3975 | _ACEOF |
---|
3976 | |
---|
3977 | # The following way of writing the cache mishandles newlines in values, |
---|
3978 | # but we know of no workaround that is simple, portable, and efficient. |
---|
3979 | # So, don't put newlines in cache variables' values. |
---|
3980 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
3981 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
3982 | { |
---|
3983 | (set) 2>&1 | |
---|
3984 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
---|
3985 | *ac_space=\ *) |
---|
3986 | # `set' does not quote correctly, so add quotes (double-quote |
---|
3987 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
---|
3988 | sed -n \ |
---|
3989 | "s/'/'\\\\''/g; |
---|
3990 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
3991 | ;; |
---|
3992 | *) |
---|
3993 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
3994 | sed -n \ |
---|
3995 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
---|
3996 | ;; |
---|
3997 | esac; |
---|
3998 | } | |
---|
3999 | sed ' |
---|
4000 | t clear |
---|
4001 | : clear |
---|
4002 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
4003 | t end |
---|
4004 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
4005 | : end' >>confcache |
---|
4006 | if diff $cache_file confcache >/dev/null 2>&1; then :; else |
---|
4007 | if test -w $cache_file; then |
---|
4008 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
---|
4009 | cat confcache >$cache_file |
---|
4010 | else |
---|
4011 | echo "not updating unwritable cache $cache_file" |
---|
4012 | fi |
---|
4013 | fi |
---|
4014 | rm -f confcache |
---|
4015 | |
---|
4016 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
4017 | # Let make expand exec_prefix. |
---|
4018 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
4019 | |
---|
4020 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
---|
4021 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
---|
4022 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
4023 | # (actually we leave an empty line to preserve line numbers). |
---|
4024 | if test "x$srcdir" = x.; then |
---|
4025 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
---|
4026 | s/:*\$(srcdir):*/:/; |
---|
4027 | s/:*\${srcdir}:*/:/; |
---|
4028 | s/:*@srcdir@:*/:/; |
---|
4029 | s/^\([^=]*=[ ]*\):*/\1/; |
---|
4030 | s/:*$//; |
---|
4031 | s/^[^=]*=[ ]*$//; |
---|
4032 | }' |
---|
4033 | fi |
---|
4034 | |
---|
4035 | DEFS=-DHAVE_CONFIG_H |
---|
4036 | |
---|
4037 | ac_libobjs= |
---|
4038 | ac_ltlibobjs= |
---|
4039 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
4040 | # 1. Remove the extension, and $U if already installed. |
---|
4041 | ac_i=`echo "$ac_i" | |
---|
4042 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
---|
4043 | # 2. Add them. |
---|
4044 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
---|
4045 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
---|
4046 | done |
---|
4047 | LIBOBJS=$ac_libobjs |
---|
4048 | |
---|
4049 | LTLIBOBJS=$ac_ltlibobjs |
---|
4050 | |
---|
4051 | |
---|
4052 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
---|
4053 | { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. |
---|
4054 | Usually this means the macro was only invoked conditionally." >&5 |
---|
4055 | echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. |
---|
4056 | Usually this means the macro was only invoked conditionally." >&2;} |
---|
4057 | { (exit 1); exit 1; }; } |
---|
4058 | fi |
---|
4059 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
---|
4060 | { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
---|
4061 | Usually this means the macro was only invoked conditionally." >&5 |
---|
4062 | echo "$as_me: error: conditional \"AMDEP\" was never defined. |
---|
4063 | Usually this means the macro was only invoked conditionally." >&2;} |
---|
4064 | { (exit 1); exit 1; }; } |
---|
4065 | fi |
---|
4066 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
---|
4067 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
---|
4068 | Usually this means the macro was only invoked conditionally." >&5 |
---|
4069 | echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
---|
4070 | Usually this means the macro was only invoked conditionally." >&2;} |
---|
4071 | { (exit 1); exit 1; }; } |
---|
4072 | fi |
---|
4073 | |
---|
4074 | : ${CONFIG_STATUS=./config.status} |
---|
4075 | ac_clean_files_save=$ac_clean_files |
---|
4076 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
4077 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
---|
4078 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
4079 | cat >$CONFIG_STATUS <<_ACEOF |
---|
4080 | #! $SHELL |
---|
4081 | # Generated by $as_me. |
---|
4082 | # Run this file to recreate the current configuration. |
---|
4083 | # Compiler output produced by configure, useful for debugging |
---|
4084 | # configure, is in config.log if it exists. |
---|
4085 | |
---|
4086 | debug=false |
---|
4087 | ac_cs_recheck=false |
---|
4088 | ac_cs_silent=false |
---|
4089 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
4090 | _ACEOF |
---|
4091 | |
---|
4092 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4093 | ## --------------------- ## |
---|
4094 | ## M4sh Initialization. ## |
---|
4095 | ## --------------------- ## |
---|
4096 | |
---|
4097 | # Be Bourne compatible |
---|
4098 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
4099 | emulate sh |
---|
4100 | NULLCMD=: |
---|
4101 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
4102 | # is contrary to our usage. Disable this feature. |
---|
4103 | alias -g '${1+"$@"}'='"$@"' |
---|
4104 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
---|
4105 | set -o posix |
---|
4106 | fi |
---|
4107 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
4108 | |
---|
4109 | # Support unset when possible. |
---|
4110 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
4111 | as_unset=unset |
---|
4112 | else |
---|
4113 | as_unset=false |
---|
4114 | fi |
---|
4115 | |
---|
4116 | |
---|
4117 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
4118 | $as_unset ENV MAIL MAILPATH |
---|
4119 | PS1='$ ' |
---|
4120 | PS2='> ' |
---|
4121 | PS4='+ ' |
---|
4122 | |
---|
4123 | # NLS nuisances. |
---|
4124 | for as_var in \ |
---|
4125 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
4126 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
4127 | LC_TELEPHONE LC_TIME |
---|
4128 | do |
---|
4129 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
4130 | eval $as_var=C; export $as_var |
---|
4131 | else |
---|
4132 | $as_unset $as_var |
---|
4133 | fi |
---|
4134 | done |
---|
4135 | |
---|
4136 | # Required to use basename. |
---|
4137 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
4138 | as_expr=expr |
---|
4139 | else |
---|
4140 | as_expr=false |
---|
4141 | fi |
---|
4142 | |
---|
4143 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
---|
4144 | as_basename=basename |
---|
4145 | else |
---|
4146 | as_basename=false |
---|
4147 | fi |
---|
4148 | |
---|
4149 | |
---|
4150 | # Name of the executable. |
---|
4151 | as_me=`$as_basename "$0" || |
---|
4152 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
4153 | X"$0" : 'X\(//\)$' \| \ |
---|
4154 | X"$0" : 'X\(/\)$' \| \ |
---|
4155 | . : '\(.\)' 2>/dev/null || |
---|
4156 | echo X/"$0" | |
---|
4157 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
---|
4158 | /^X\/\(\/\/\)$/{ s//\1/; q; } |
---|
4159 | /^X\/\(\/\).*/{ s//\1/; q; } |
---|
4160 | s/.*/./; q'` |
---|
4161 | |
---|
4162 | |
---|
4163 | # PATH needs CR, and LINENO needs CR and PATH. |
---|
4164 | # Avoid depending upon Character Ranges. |
---|
4165 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
4166 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
4167 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
4168 | as_cr_digits='0123456789' |
---|
4169 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
4170 | |
---|
4171 | # The user is always right. |
---|
4172 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
4173 | echo "#! /bin/sh" >conf$$.sh |
---|
4174 | echo "exit 0" >>conf$$.sh |
---|
4175 | chmod +x conf$$.sh |
---|
4176 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
4177 | PATH_SEPARATOR=';' |
---|
4178 | else |
---|
4179 | PATH_SEPARATOR=: |
---|
4180 | fi |
---|
4181 | rm -f conf$$.sh |
---|
4182 | fi |
---|
4183 | |
---|
4184 | |
---|
4185 | as_lineno_1=$LINENO |
---|
4186 | as_lineno_2=$LINENO |
---|
4187 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
4188 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
4189 | test "x$as_lineno_3" = "x$as_lineno_2" || { |
---|
4190 | # Find who we are. Look in the path if we contain no path at all |
---|
4191 | # relative or not. |
---|
4192 | case $0 in |
---|
4193 | *[\\/]* ) as_myself=$0 ;; |
---|
4194 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4195 | for as_dir in $PATH |
---|
4196 | do |
---|
4197 | IFS=$as_save_IFS |
---|
4198 | test -z "$as_dir" && as_dir=. |
---|
4199 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
4200 | done |
---|
4201 | |
---|
4202 | ;; |
---|
4203 | esac |
---|
4204 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
4205 | # in which case we are not to be found in the path. |
---|
4206 | if test "x$as_myself" = x; then |
---|
4207 | as_myself=$0 |
---|
4208 | fi |
---|
4209 | if test ! -f "$as_myself"; then |
---|
4210 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
---|
4211 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
---|
4212 | { (exit 1); exit 1; }; } |
---|
4213 | fi |
---|
4214 | case $CONFIG_SHELL in |
---|
4215 | '') |
---|
4216 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4217 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
4218 | do |
---|
4219 | IFS=$as_save_IFS |
---|
4220 | test -z "$as_dir" && as_dir=. |
---|
4221 | for as_base in sh bash ksh sh5; do |
---|
4222 | case $as_dir in |
---|
4223 | /*) |
---|
4224 | if ("$as_dir/$as_base" -c ' |
---|
4225 | as_lineno_1=$LINENO |
---|
4226 | as_lineno_2=$LINENO |
---|
4227 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
4228 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
4229 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
---|
4230 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
---|
4231 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
---|
4232 | CONFIG_SHELL=$as_dir/$as_base |
---|
4233 | export CONFIG_SHELL |
---|
4234 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
---|
4235 | fi;; |
---|
4236 | esac |
---|
4237 | done |
---|
4238 | done |
---|
4239 | ;; |
---|
4240 | esac |
---|
4241 | |
---|
4242 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
4243 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
4244 | # line-number line before each line; the second 'sed' does the real |
---|
4245 | # work. The second script uses 'N' to pair each line-number line |
---|
4246 | # with the numbered line, and appends trailing '-' during |
---|
4247 | # substitution so that $LINENO is not a special case at line end. |
---|
4248 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
4249 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
---|
4250 | sed '=' <$as_myself | |
---|
4251 | sed ' |
---|
4252 | N |
---|
4253 | s,$,-, |
---|
4254 | : loop |
---|
4255 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
---|
4256 | t loop |
---|
4257 | s,-$,, |
---|
4258 | s,^['$as_cr_digits']*\n,, |
---|
4259 | ' >$as_me.lineno && |
---|
4260 | chmod +x $as_me.lineno || |
---|
4261 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
---|
4262 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
---|
4263 | { (exit 1); exit 1; }; } |
---|
4264 | |
---|
4265 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
4266 | # (the dirname of $[0] is not the place where we might find the |
---|
4267 | # original and so on. Autoconf is especially sensible to this). |
---|
4268 | . ./$as_me.lineno |
---|
4269 | # Exit status is that of the last command. |
---|
4270 | exit |
---|
4271 | } |
---|
4272 | |
---|
4273 | |
---|
4274 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
---|
4275 | *c*,-n*) ECHO_N= ECHO_C=' |
---|
4276 | ' ECHO_T=' ' ;; |
---|
4277 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
---|
4278 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
---|
4279 | esac |
---|
4280 | |
---|
4281 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
4282 | as_expr=expr |
---|
4283 | else |
---|
4284 | as_expr=false |
---|
4285 | fi |
---|
4286 | |
---|
4287 | rm -f conf$$ conf$$.exe conf$$.file |
---|
4288 | echo >conf$$.file |
---|
4289 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
4290 | # We could just check for DJGPP; but this test a) works b) is more generic |
---|
4291 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
---|
4292 | if test -f conf$$.exe; then |
---|
4293 | # Don't use ln at all; we don't have any links |
---|
4294 | as_ln_s='cp -p' |
---|
4295 | else |
---|
4296 | as_ln_s='ln -s' |
---|
4297 | fi |
---|
4298 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
4299 | as_ln_s=ln |
---|
4300 | else |
---|
4301 | as_ln_s='cp -p' |
---|
4302 | fi |
---|
4303 | rm -f conf$$ conf$$.exe conf$$.file |
---|
4304 | |
---|
4305 | if mkdir -p . 2>/dev/null; then |
---|
4306 | as_mkdir_p=: |
---|
4307 | else |
---|
4308 | test -d ./-p && rmdir ./-p |
---|
4309 | as_mkdir_p=false |
---|
4310 | fi |
---|
4311 | |
---|
4312 | as_executable_p="test -f" |
---|
4313 | |
---|
4314 | # Sed expression to map a string onto a valid CPP name. |
---|
4315 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
4316 | |
---|
4317 | # Sed expression to map a string onto a valid variable name. |
---|
4318 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
4319 | |
---|
4320 | |
---|
4321 | # IFS |
---|
4322 | # We need space, tab and new line, in precisely that order. |
---|
4323 | as_nl=' |
---|
4324 | ' |
---|
4325 | IFS=" $as_nl" |
---|
4326 | |
---|
4327 | # CDPATH. |
---|
4328 | $as_unset CDPATH |
---|
4329 | |
---|
4330 | exec 6>&1 |
---|
4331 | |
---|
4332 | # Open the log real soon, to keep \$[0] and so on meaningful, and to |
---|
4333 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
4334 | # values after options handling. Logging --version etc. is OK. |
---|
4335 | exec 5>>config.log |
---|
4336 | { |
---|
4337 | echo |
---|
4338 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
4339 | ## Running $as_me. ## |
---|
4340 | _ASBOX |
---|
4341 | } >&5 |
---|
4342 | cat >&5 <<_CSEOF |
---|
4343 | |
---|
4344 | This file was extended by mod_gnutls $as_me 0.2.0, which was |
---|
4345 | generated by GNU Autoconf 2.59. Invocation command line was |
---|
4346 | |
---|
4347 | CONFIG_FILES = $CONFIG_FILES |
---|
4348 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
4349 | CONFIG_LINKS = $CONFIG_LINKS |
---|
4350 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
4351 | $ $0 $@ |
---|
4352 | |
---|
4353 | _CSEOF |
---|
4354 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
---|
4355 | echo >&5 |
---|
4356 | _ACEOF |
---|
4357 | |
---|
4358 | # Files that config.status was made for. |
---|
4359 | if test -n "$ac_config_files"; then |
---|
4360 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
---|
4361 | fi |
---|
4362 | |
---|
4363 | if test -n "$ac_config_headers"; then |
---|
4364 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
---|
4365 | fi |
---|
4366 | |
---|
4367 | if test -n "$ac_config_links"; then |
---|
4368 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
---|
4369 | fi |
---|
4370 | |
---|
4371 | if test -n "$ac_config_commands"; then |
---|
4372 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
---|
4373 | fi |
---|
4374 | |
---|
4375 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4376 | |
---|
4377 | ac_cs_usage="\ |
---|
4378 | \`$as_me' instantiates files from templates according to the |
---|
4379 | current configuration. |
---|
4380 | |
---|
4381 | Usage: $0 [OPTIONS] [FILE]... |
---|
4382 | |
---|
4383 | -h, --help print this help, then exit |
---|
4384 | -V, --version print version number, then exit |
---|
4385 | -q, --quiet do not print progress messages |
---|
4386 | -d, --debug don't remove temporary files |
---|
4387 | --recheck update $as_me by reconfiguring in the same conditions |
---|
4388 | --file=FILE[:TEMPLATE] |
---|
4389 | instantiate the configuration file FILE |
---|
4390 | --header=FILE[:TEMPLATE] |
---|
4391 | instantiate the configuration header FILE |
---|
4392 | |
---|
4393 | Configuration files: |
---|
4394 | $config_files |
---|
4395 | |
---|
4396 | Configuration headers: |
---|
4397 | $config_headers |
---|
4398 | |
---|
4399 | Configuration commands: |
---|
4400 | $config_commands |
---|
4401 | |
---|
4402 | Report bugs to <bug-autoconf@gnu.org>." |
---|
4403 | _ACEOF |
---|
4404 | |
---|
4405 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
4406 | ac_cs_version="\\ |
---|
4407 | mod_gnutls config.status 0.2.0 |
---|
4408 | configured by $0, generated by GNU Autoconf 2.59, |
---|
4409 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
---|
4410 | |
---|
4411 | Copyright (C) 2003 Free Software Foundation, Inc. |
---|
4412 | This config.status script is free software; the Free Software Foundation |
---|
4413 | gives unlimited permission to copy, distribute and modify it." |
---|
4414 | srcdir=$srcdir |
---|
4415 | INSTALL="$INSTALL" |
---|
4416 | _ACEOF |
---|
4417 | |
---|
4418 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4419 | # If no file are specified by the user, then we need to provide default |
---|
4420 | # value. By we need to know if files were specified by the user. |
---|
4421 | ac_need_defaults=: |
---|
4422 | while test $# != 0 |
---|
4423 | do |
---|
4424 | case $1 in |
---|
4425 | --*=*) |
---|
4426 | ac_option=`expr "x$1" : 'x\([^=]*\)='` |
---|
4427 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
---|
4428 | ac_shift=: |
---|
4429 | ;; |
---|
4430 | -*) |
---|
4431 | ac_option=$1 |
---|
4432 | ac_optarg=$2 |
---|
4433 | ac_shift=shift |
---|
4434 | ;; |
---|
4435 | *) # This is not an option, so the user has probably given explicit |
---|
4436 | # arguments. |
---|
4437 | ac_option=$1 |
---|
4438 | ac_need_defaults=false;; |
---|
4439 | esac |
---|
4440 | |
---|
4441 | case $ac_option in |
---|
4442 | # Handling of the options. |
---|
4443 | _ACEOF |
---|
4444 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4445 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
4446 | ac_cs_recheck=: ;; |
---|
4447 | --version | --vers* | -V ) |
---|
4448 | echo "$ac_cs_version"; exit 0 ;; |
---|
4449 | --he | --h) |
---|
4450 | # Conflict between --help and --header |
---|
4451 | { { echo "$as_me:$LINENO: error: ambiguous option: $1 |
---|
4452 | Try \`$0 --help' for more information." >&5 |
---|
4453 | echo "$as_me: error: ambiguous option: $1 |
---|
4454 | Try \`$0 --help' for more information." >&2;} |
---|
4455 | { (exit 1); exit 1; }; };; |
---|
4456 | --help | --hel | -h ) |
---|
4457 | echo "$ac_cs_usage"; exit 0 ;; |
---|
4458 | --debug | --d* | -d ) |
---|
4459 | debug=: ;; |
---|
4460 | --file | --fil | --fi | --f ) |
---|
4461 | $ac_shift |
---|
4462 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
---|
4463 | ac_need_defaults=false;; |
---|
4464 | --header | --heade | --head | --hea ) |
---|
4465 | $ac_shift |
---|
4466 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
---|
4467 | ac_need_defaults=false;; |
---|
4468 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
4469 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
4470 | ac_cs_silent=: ;; |
---|
4471 | |
---|
4472 | # This is an error. |
---|
4473 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
---|
4474 | Try \`$0 --help' for more information." >&5 |
---|
4475 | echo "$as_me: error: unrecognized option: $1 |
---|
4476 | Try \`$0 --help' for more information." >&2;} |
---|
4477 | { (exit 1); exit 1; }; } ;; |
---|
4478 | |
---|
4479 | *) ac_config_targets="$ac_config_targets $1" ;; |
---|
4480 | |
---|
4481 | esac |
---|
4482 | shift |
---|
4483 | done |
---|
4484 | |
---|
4485 | ac_configure_extra_args= |
---|
4486 | |
---|
4487 | if $ac_cs_silent; then |
---|
4488 | exec 6>/dev/null |
---|
4489 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
4490 | fi |
---|
4491 | |
---|
4492 | _ACEOF |
---|
4493 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
4494 | if \$ac_cs_recheck; then |
---|
4495 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
---|
4496 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
4497 | fi |
---|
4498 | |
---|
4499 | _ACEOF |
---|
4500 | |
---|
4501 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
4502 | # |
---|
4503 | # INIT-COMMANDS section. |
---|
4504 | # |
---|
4505 | |
---|
4506 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
---|
4507 | |
---|
4508 | _ACEOF |
---|
4509 | |
---|
4510 | |
---|
4511 | |
---|
4512 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4513 | for ac_config_target in $ac_config_targets |
---|
4514 | do |
---|
4515 | case "$ac_config_target" in |
---|
4516 | # Handling of arguments. |
---|
4517 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
4518 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
---|
4519 | "include/mod_gnutls.h" ) CONFIG_FILES="$CONFIG_FILES include/mod_gnutls.h" ;; |
---|
4520 | "data/Makefile" ) CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; |
---|
4521 | "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
---|
4522 | "include/mod_gnutls_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/mod_gnutls_config.h:config.in" ;; |
---|
4523 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
---|
4524 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
---|
4525 | { (exit 1); exit 1; }; };; |
---|
4526 | esac |
---|
4527 | done |
---|
4528 | |
---|
4529 | # If the user did not use the arguments to specify the items to instantiate, |
---|
4530 | # then the envvar interface is used. Set only those that are not. |
---|
4531 | # We use the long form for the default assignment because of an extremely |
---|
4532 | # bizarre bug on SunOS 4.1.3. |
---|
4533 | if $ac_need_defaults; then |
---|
4534 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
4535 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
---|
4536 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
---|
4537 | fi |
---|
4538 | |
---|
4539 | # Have a temporary directory for convenience. Make it in the build tree |
---|
4540 | # simply because there is no reason to put it here, and in addition, |
---|
4541 | # creating and moving files from /tmp can sometimes cause problems. |
---|
4542 | # Create a temporary directory, and hook for its removal unless debugging. |
---|
4543 | $debug || |
---|
4544 | { |
---|
4545 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
---|
4546 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
---|
4547 | } |
---|
4548 | |
---|
4549 | # Create a (secure) tmp directory for tmp files. |
---|
4550 | |
---|
4551 | { |
---|
4552 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
---|
4553 | test -n "$tmp" && test -d "$tmp" |
---|
4554 | } || |
---|
4555 | { |
---|
4556 | tmp=./confstat$$-$RANDOM |
---|
4557 | (umask 077 && mkdir $tmp) |
---|
4558 | } || |
---|
4559 | { |
---|
4560 | echo "$me: cannot create a temporary directory in ." >&2 |
---|
4561 | { (exit 1); exit 1; } |
---|
4562 | } |
---|
4563 | |
---|
4564 | _ACEOF |
---|
4565 | |
---|
4566 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
4567 | |
---|
4568 | # |
---|
4569 | # CONFIG_FILES section. |
---|
4570 | # |
---|
4571 | |
---|
4572 | # No need to generate the scripts if there are no CONFIG_FILES. |
---|
4573 | # This happens for instance when ./config.status config.h |
---|
4574 | if test -n "\$CONFIG_FILES"; then |
---|
4575 | # Protect against being on the right side of a sed subst in config.status. |
---|
4576 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
---|
4577 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
---|
4578 | s,@SHELL@,$SHELL,;t t |
---|
4579 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
---|
4580 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
---|
4581 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
---|
4582 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
---|
4583 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
---|
4584 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
---|
4585 | s,@exec_prefix@,$exec_prefix,;t t |
---|
4586 | s,@prefix@,$prefix,;t t |
---|
4587 | s,@program_transform_name@,$program_transform_name,;t t |
---|
4588 | s,@bindir@,$bindir,;t t |
---|
4589 | s,@sbindir@,$sbindir,;t t |
---|
4590 | s,@libexecdir@,$libexecdir,;t t |
---|
4591 | s,@datadir@,$datadir,;t t |
---|
4592 | s,@sysconfdir@,$sysconfdir,;t t |
---|
4593 | s,@sharedstatedir@,$sharedstatedir,;t t |
---|
4594 | s,@localstatedir@,$localstatedir,;t t |
---|
4595 | s,@libdir@,$libdir,;t t |
---|
4596 | s,@includedir@,$includedir,;t t |
---|
4597 | s,@oldincludedir@,$oldincludedir,;t t |
---|
4598 | s,@infodir@,$infodir,;t t |
---|
4599 | s,@mandir@,$mandir,;t t |
---|
4600 | s,@build_alias@,$build_alias,;t t |
---|
4601 | s,@host_alias@,$host_alias,;t t |
---|
4602 | s,@target_alias@,$target_alias,;t t |
---|
4603 | s,@DEFS@,$DEFS,;t t |
---|
4604 | s,@ECHO_C@,$ECHO_C,;t t |
---|
4605 | s,@ECHO_N@,$ECHO_N,;t t |
---|
4606 | s,@ECHO_T@,$ECHO_T,;t t |
---|
4607 | s,@LIBS@,$LIBS,;t t |
---|
4608 | s,@OOO_MAINTAIN@,$OOO_MAINTAIN,;t t |
---|
4609 | s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t |
---|
4610 | s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t |
---|
4611 | s,@MAINT@,$MAINT,;t t |
---|
4612 | s,@build@,$build,;t t |
---|
4613 | s,@build_cpu@,$build_cpu,;t t |
---|
4614 | s,@build_vendor@,$build_vendor,;t t |
---|
4615 | s,@build_os@,$build_os,;t t |
---|
4616 | s,@host@,$host,;t t |
---|
4617 | s,@host_cpu@,$host_cpu,;t t |
---|
4618 | s,@host_vendor@,$host_vendor,;t t |
---|
4619 | s,@host_os@,$host_os,;t t |
---|
4620 | s,@target@,$target,;t t |
---|
4621 | s,@target_cpu@,$target_cpu,;t t |
---|
4622 | s,@target_vendor@,$target_vendor,;t t |
---|
4623 | s,@target_os@,$target_os,;t t |
---|
4624 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
---|
4625 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
---|
4626 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
---|
4627 | s,@CYGPATH_W@,$CYGPATH_W,;t t |
---|
4628 | s,@PACKAGE@,$PACKAGE,;t t |
---|
4629 | s,@VERSION@,$VERSION,;t t |
---|
4630 | s,@ACLOCAL@,$ACLOCAL,;t t |
---|
4631 | s,@AUTOCONF@,$AUTOCONF,;t t |
---|
4632 | s,@AUTOMAKE@,$AUTOMAKE,;t t |
---|
4633 | s,@AUTOHEADER@,$AUTOHEADER,;t t |
---|
4634 | s,@MAKEINFO@,$MAKEINFO,;t t |
---|
4635 | s,@install_sh@,$install_sh,;t t |
---|
4636 | s,@STRIP@,$STRIP,;t t |
---|
4637 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
---|
4638 | s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
---|
4639 | s,@mkdir_p@,$mkdir_p,;t t |
---|
4640 | s,@AWK@,$AWK,;t t |
---|
4641 | s,@SET_MAKE@,$SET_MAKE,;t t |
---|
4642 | s,@am__leading_dot@,$am__leading_dot,;t t |
---|
4643 | s,@AMTAR@,$AMTAR,;t t |
---|
4644 | s,@am__tar@,$am__tar,;t t |
---|
4645 | s,@am__untar@,$am__untar,;t t |
---|
4646 | s,@MOD_GNUTLS_VERSION@,$MOD_GNUTLS_VERSION,;t t |
---|
4647 | s,@CC@,$CC,;t t |
---|
4648 | s,@CFLAGS@,$CFLAGS,;t t |
---|
4649 | s,@LDFLAGS@,$LDFLAGS,;t t |
---|
4650 | s,@CPPFLAGS@,$CPPFLAGS,;t t |
---|
4651 | s,@ac_ct_CC@,$ac_ct_CC,;t t |
---|
4652 | s,@EXEEXT@,$EXEEXT,;t t |
---|
4653 | s,@OBJEXT@,$OBJEXT,;t t |
---|
4654 | s,@DEPDIR@,$DEPDIR,;t t |
---|
4655 | s,@am__include@,$am__include,;t t |
---|
4656 | s,@am__quote@,$am__quote,;t t |
---|
4657 | s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
---|
4658 | s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
---|
4659 | s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t |
---|
4660 | s,@CCDEPMODE@,$CCDEPMODE,;t t |
---|
4661 | s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t |
---|
4662 | s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t |
---|
4663 | s,@EGREP@,$EGREP,;t t |
---|
4664 | s,@APXS_BIN@,$APXS_BIN,;t t |
---|
4665 | s,@AP_DEFS@,$AP_DEFS,;t t |
---|
4666 | s,@AP_PREFIX@,$AP_PREFIX,;t t |
---|
4667 | s,@AP_CFLAGS@,$AP_CFLAGS,;t t |
---|
4668 | s,@AP_CPPFLAGS@,$AP_CPPFLAGS,;t t |
---|
4669 | s,@AP_INCLUDES@,$AP_INCLUDES,;t t |
---|
4670 | s,@AP_INCLUDEDIR@,$AP_INCLUDEDIR,;t t |
---|
4671 | s,@AP_LIBEXECDIR@,$AP_LIBEXECDIR,;t t |
---|
4672 | s,@AP_VERSION@,$AP_VERSION,;t t |
---|
4673 | s,@AP_SYSCONFDIR@,$AP_SYSCONFDIR,;t t |
---|
4674 | s,@AP_BINDIR@,$AP_BINDIR,;t t |
---|
4675 | s,@AP_SBINDIR@,$AP_SBINDIR,;t t |
---|
4676 | s,@APR_INCLUDES@,$APR_INCLUDES,;t t |
---|
4677 | s,@APU_INCLUDES@,$APU_INCLUDES,;t t |
---|
4678 | s,@APXS_EXTENSION@,$APXS_EXTENSION,;t t |
---|
4679 | s,@APXS_CFLAGS@,$APXS_CFLAGS,;t t |
---|
4680 | s,@LIBTOOL@,$LIBTOOL,;t t |
---|
4681 | s,@GTLS_BIN@,$GTLS_BIN,;t t |
---|
4682 | s,@LIBGNUTLS_LIBS@,$LIBGNUTLS_LIBS,;t t |
---|
4683 | s,@LIBGNUTLS_CFLAGS@,$LIBGNUTLS_CFLAGS,;t t |
---|
4684 | s,@LIBGNUTLS_VERSION@,$LIBGNUTLS_VERSION,;t t |
---|
4685 | s,@GNUTLS_CERTTOOL@,$GNUTLS_CERTTOOL,;t t |
---|
4686 | s,@LIBGNUTLS_PREFIX@,$LIBGNUTLS_PREFIX,;t t |
---|
4687 | s,@APR_MEMCACHE_LIBS@,$APR_MEMCACHE_LIBS,;t t |
---|
4688 | s,@APR_MEMCACHE_CFLAGS@,$APR_MEMCACHE_CFLAGS,;t t |
---|
4689 | s,@have_apr_memcache@,$have_apr_memcache,;t t |
---|
4690 | s,@MODULE_CFLAGS@,$MODULE_CFLAGS,;t t |
---|
4691 | s,@MODULE_LIBS@,$MODULE_LIBS,;t t |
---|
4692 | s,@LIBOBJS@,$LIBOBJS,;t t |
---|
4693 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
---|
4694 | CEOF |
---|
4695 | |
---|
4696 | _ACEOF |
---|
4697 | |
---|
4698 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4699 | # Split the substitutions into bite-sized pieces for seds with |
---|
4700 | # small command number limits, like on Digital OSF/1 and HP-UX. |
---|
4701 | ac_max_sed_lines=48 |
---|
4702 | ac_sed_frag=1 # Number of current file. |
---|
4703 | ac_beg=1 # First line for current file. |
---|
4704 | ac_end=$ac_max_sed_lines # Line after last line for current file. |
---|
4705 | ac_more_lines=: |
---|
4706 | ac_sed_cmds= |
---|
4707 | while $ac_more_lines; do |
---|
4708 | if test $ac_beg -gt 1; then |
---|
4709 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
---|
4710 | else |
---|
4711 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
---|
4712 | fi |
---|
4713 | if test ! -s $tmp/subs.frag; then |
---|
4714 | ac_more_lines=false |
---|
4715 | else |
---|
4716 | # The purpose of the label and of the branching condition is to |
---|
4717 | # speed up the sed processing (if there are no `@' at all, there |
---|
4718 | # is no need to browse any of the substitutions). |
---|
4719 | # These are the two extra sed commands mentioned above. |
---|
4720 | (echo ':t |
---|
4721 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
---|
4722 | if test -z "$ac_sed_cmds"; then |
---|
4723 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
---|
4724 | else |
---|
4725 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
---|
4726 | fi |
---|
4727 | ac_sed_frag=`expr $ac_sed_frag + 1` |
---|
4728 | ac_beg=$ac_end |
---|
4729 | ac_end=`expr $ac_end + $ac_max_sed_lines` |
---|
4730 | fi |
---|
4731 | done |
---|
4732 | if test -z "$ac_sed_cmds"; then |
---|
4733 | ac_sed_cmds=cat |
---|
4734 | fi |
---|
4735 | fi # test -n "$CONFIG_FILES" |
---|
4736 | |
---|
4737 | _ACEOF |
---|
4738 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4739 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
---|
4740 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
---|
4741 | case $ac_file in |
---|
4742 | - | *:- | *:-:* ) # input from stdin |
---|
4743 | cat >$tmp/stdin |
---|
4744 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
4745 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
4746 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
4747 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
4748 | * ) ac_file_in=$ac_file.in ;; |
---|
4749 | esac |
---|
4750 | |
---|
4751 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
---|
4752 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
---|
4753 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
4754 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
4755 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
4756 | X"$ac_file" : 'X\(/\)' \| \ |
---|
4757 | . : '\(.\)' 2>/dev/null || |
---|
4758 | echo X"$ac_file" | |
---|
4759 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
4760 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
4761 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
4762 | /^X\(\/\).*/{ s//\1/; q; } |
---|
4763 | s/.*/./; q'` |
---|
4764 | { if $as_mkdir_p; then |
---|
4765 | mkdir -p "$ac_dir" |
---|
4766 | else |
---|
4767 | as_dir="$ac_dir" |
---|
4768 | as_dirs= |
---|
4769 | while test ! -d "$as_dir"; do |
---|
4770 | as_dirs="$as_dir $as_dirs" |
---|
4771 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
4772 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
4773 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
4774 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
4775 | X"$as_dir" : 'X\(/\)' \| \ |
---|
4776 | . : '\(.\)' 2>/dev/null || |
---|
4777 | echo X"$as_dir" | |
---|
4778 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
4779 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
4780 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
4781 | /^X\(\/\).*/{ s//\1/; q; } |
---|
4782 | s/.*/./; q'` |
---|
4783 | done |
---|
4784 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
4785 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
---|
4786 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
---|
4787 | { (exit 1); exit 1; }; }; } |
---|
4788 | |
---|
4789 | ac_builddir=. |
---|
4790 | |
---|
4791 | if test "$ac_dir" != .; then |
---|
4792 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
4793 | # A "../" for each directory in $ac_dir_suffix. |
---|
4794 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
4795 | else |
---|
4796 | ac_dir_suffix= ac_top_builddir= |
---|
4797 | fi |
---|
4798 | |
---|
4799 | case $srcdir in |
---|
4800 | .) # No --srcdir option. We are building in place. |
---|
4801 | ac_srcdir=. |
---|
4802 | if test -z "$ac_top_builddir"; then |
---|
4803 | ac_top_srcdir=. |
---|
4804 | else |
---|
4805 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
4806 | fi ;; |
---|
4807 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
4808 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
4809 | ac_top_srcdir=$srcdir ;; |
---|
4810 | *) # Relative path. |
---|
4811 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
4812 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
4813 | esac |
---|
4814 | |
---|
4815 | # Do not use `cd foo && pwd` to compute absolute paths, because |
---|
4816 | # the directories may not exist. |
---|
4817 | case `pwd` in |
---|
4818 | .) ac_abs_builddir="$ac_dir";; |
---|
4819 | *) |
---|
4820 | case "$ac_dir" in |
---|
4821 | .) ac_abs_builddir=`pwd`;; |
---|
4822 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
---|
4823 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
---|
4824 | esac;; |
---|
4825 | esac |
---|
4826 | case $ac_abs_builddir in |
---|
4827 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
4828 | *) |
---|
4829 | case ${ac_top_builddir}. in |
---|
4830 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
---|
4831 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
4832 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
---|
4833 | esac;; |
---|
4834 | esac |
---|
4835 | case $ac_abs_builddir in |
---|
4836 | .) ac_abs_srcdir=$ac_srcdir;; |
---|
4837 | *) |
---|
4838 | case $ac_srcdir in |
---|
4839 | .) ac_abs_srcdir=$ac_abs_builddir;; |
---|
4840 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
---|
4841 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
---|
4842 | esac;; |
---|
4843 | esac |
---|
4844 | case $ac_abs_builddir in |
---|
4845 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
4846 | *) |
---|
4847 | case $ac_top_srcdir in |
---|
4848 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
---|
4849 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
4850 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
---|
4851 | esac;; |
---|
4852 | esac |
---|
4853 | |
---|
4854 | |
---|
4855 | case $INSTALL in |
---|
4856 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
---|
4857 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
---|
4858 | esac |
---|
4859 | |
---|
4860 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
4861 | # use $as_me), people would be surprised to read: |
---|
4862 | # /* config.h. Generated by config.status. */ |
---|
4863 | if test x"$ac_file" = x-; then |
---|
4864 | configure_input= |
---|
4865 | else |
---|
4866 | configure_input="$ac_file. " |
---|
4867 | fi |
---|
4868 | configure_input=$configure_input"Generated from `echo $ac_file_in | |
---|
4869 | sed 's,.*/,,'` by configure." |
---|
4870 | |
---|
4871 | # First look for the input files in the build tree, otherwise in the |
---|
4872 | # src tree. |
---|
4873 | ac_file_inputs=`IFS=: |
---|
4874 | for f in $ac_file_in; do |
---|
4875 | case $f in |
---|
4876 | -) echo $tmp/stdin ;; |
---|
4877 | [\\/$]*) |
---|
4878 | # Absolute (can't be DOS-style, as IFS=:) |
---|
4879 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
4880 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
4881 | { (exit 1); exit 1; }; } |
---|
4882 | echo "$f";; |
---|
4883 | *) # Relative |
---|
4884 | if test -f "$f"; then |
---|
4885 | # Build tree |
---|
4886 | echo "$f" |
---|
4887 | elif test -f "$srcdir/$f"; then |
---|
4888 | # Source tree |
---|
4889 | echo "$srcdir/$f" |
---|
4890 | else |
---|
4891 | # /dev/null tree |
---|
4892 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
4893 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
4894 | { (exit 1); exit 1; }; } |
---|
4895 | fi;; |
---|
4896 | esac |
---|
4897 | done` || { (exit 1); exit 1; } |
---|
4898 | |
---|
4899 | if test x"$ac_file" != x-; then |
---|
4900 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
---|
4901 | echo "$as_me: creating $ac_file" >&6;} |
---|
4902 | rm -f "$ac_file" |
---|
4903 | fi |
---|
4904 | _ACEOF |
---|
4905 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
4906 | sed "$ac_vpsub |
---|
4907 | $extrasub |
---|
4908 | _ACEOF |
---|
4909 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4910 | :t |
---|
4911 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
4912 | s,@configure_input@,$configure_input,;t t |
---|
4913 | s,@srcdir@,$ac_srcdir,;t t |
---|
4914 | s,@abs_srcdir@,$ac_abs_srcdir,;t t |
---|
4915 | s,@top_srcdir@,$ac_top_srcdir,;t t |
---|
4916 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
---|
4917 | s,@builddir@,$ac_builddir,;t t |
---|
4918 | s,@abs_builddir@,$ac_abs_builddir,;t t |
---|
4919 | s,@top_builddir@,$ac_top_builddir,;t t |
---|
4920 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
---|
4921 | s,@INSTALL@,$ac_INSTALL,;t t |
---|
4922 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
---|
4923 | rm -f $tmp/stdin |
---|
4924 | if test x"$ac_file" != x-; then |
---|
4925 | mv $tmp/out $ac_file |
---|
4926 | else |
---|
4927 | cat $tmp/out |
---|
4928 | rm -f $tmp/out |
---|
4929 | fi |
---|
4930 | |
---|
4931 | done |
---|
4932 | _ACEOF |
---|
4933 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4934 | |
---|
4935 | # |
---|
4936 | # CONFIG_HEADER section. |
---|
4937 | # |
---|
4938 | |
---|
4939 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
---|
4940 | # NAME is the cpp macro being defined and VALUE is the value it is being given. |
---|
4941 | # |
---|
4942 | # ac_d sets the value in "#define NAME VALUE" lines. |
---|
4943 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
---|
4944 | ac_dB='[ ].*$,\1#\2' |
---|
4945 | ac_dC=' ' |
---|
4946 | ac_dD=',;t' |
---|
4947 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
---|
4948 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
---|
4949 | ac_uB='$,\1#\2define\3' |
---|
4950 | ac_uC=' ' |
---|
4951 | ac_uD=',;t' |
---|
4952 | |
---|
4953 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
---|
4954 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
---|
4955 | case $ac_file in |
---|
4956 | - | *:- | *:-:* ) # input from stdin |
---|
4957 | cat >$tmp/stdin |
---|
4958 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
4959 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
4960 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
4961 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
4962 | * ) ac_file_in=$ac_file.in ;; |
---|
4963 | esac |
---|
4964 | |
---|
4965 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
---|
4966 | echo "$as_me: creating $ac_file" >&6;} |
---|
4967 | |
---|
4968 | # First look for the input files in the build tree, otherwise in the |
---|
4969 | # src tree. |
---|
4970 | ac_file_inputs=`IFS=: |
---|
4971 | for f in $ac_file_in; do |
---|
4972 | case $f in |
---|
4973 | -) echo $tmp/stdin ;; |
---|
4974 | [\\/$]*) |
---|
4975 | # Absolute (can't be DOS-style, as IFS=:) |
---|
4976 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
4977 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
4978 | { (exit 1); exit 1; }; } |
---|
4979 | # Do quote $f, to prevent DOS paths from being IFS'd. |
---|
4980 | echo "$f";; |
---|
4981 | *) # Relative |
---|
4982 | if test -f "$f"; then |
---|
4983 | # Build tree |
---|
4984 | echo "$f" |
---|
4985 | elif test -f "$srcdir/$f"; then |
---|
4986 | # Source tree |
---|
4987 | echo "$srcdir/$f" |
---|
4988 | else |
---|
4989 | # /dev/null tree |
---|
4990 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
4991 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
4992 | { (exit 1); exit 1; }; } |
---|
4993 | fi;; |
---|
4994 | esac |
---|
4995 | done` || { (exit 1); exit 1; } |
---|
4996 | # Remove the trailing spaces. |
---|
4997 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
---|
4998 | |
---|
4999 | _ACEOF |
---|
5000 | |
---|
5001 | # Transform confdefs.h into two sed scripts, `conftest.defines' and |
---|
5002 | # `conftest.undefs', that substitutes the proper values into |
---|
5003 | # config.h.in to produce config.h. The first handles `#define' |
---|
5004 | # templates, and the second `#undef' templates. |
---|
5005 | # And first: Protect against being on the right side of a sed subst in |
---|
5006 | # config.status. Protect against being in an unquoted here document |
---|
5007 | # in config.status. |
---|
5008 | rm -f conftest.defines conftest.undefs |
---|
5009 | # Using a here document instead of a string reduces the quoting nightmare. |
---|
5010 | # Putting comments in sed scripts is not portable. |
---|
5011 | # |
---|
5012 | # `end' is used to avoid that the second main sed command (meant for |
---|
5013 | # 0-ary CPP macros) applies to n-ary macro definitions. |
---|
5014 | # See the Autoconf documentation for `clear'. |
---|
5015 | cat >confdef2sed.sed <<\_ACEOF |
---|
5016 | s/[\\&,]/\\&/g |
---|
5017 | s,[\\$`],\\&,g |
---|
5018 | t clear |
---|
5019 | : clear |
---|
5020 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
---|
5021 | t end |
---|
5022 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
---|
5023 | : end |
---|
5024 | _ACEOF |
---|
5025 | # If some macros were called several times there might be several times |
---|
5026 | # the same #defines, which is useless. Nevertheless, we may not want to |
---|
5027 | # sort them, since we want the *last* AC-DEFINE to be honored. |
---|
5028 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines |
---|
5029 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs |
---|
5030 | rm -f confdef2sed.sed |
---|
5031 | |
---|
5032 | # This sed command replaces #undef with comments. This is necessary, for |
---|
5033 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
---|
5034 | # on some systems where configure will not decide to define it. |
---|
5035 | cat >>conftest.undefs <<\_ACEOF |
---|
5036 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
---|
5037 | _ACEOF |
---|
5038 | |
---|
5039 | # Break up conftest.defines because some shells have a limit on the size |
---|
5040 | # of here documents, and old seds have small limits too (100 cmds). |
---|
5041 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
---|
5042 | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
---|
5043 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
---|
5044 | echo ' :' >>$CONFIG_STATUS |
---|
5045 | rm -f conftest.tail |
---|
5046 | while grep . conftest.defines >/dev/null |
---|
5047 | do |
---|
5048 | # Write a limited-size here document to $tmp/defines.sed. |
---|
5049 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
---|
5050 | # Speed up: don't consider the non `#define' lines. |
---|
5051 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
---|
5052 | # Work around the forget-to-reset-the-flag bug. |
---|
5053 | echo 't clr' >>$CONFIG_STATUS |
---|
5054 | echo ': clr' >>$CONFIG_STATUS |
---|
5055 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
---|
5056 | echo 'CEOF |
---|
5057 | sed -f $tmp/defines.sed $tmp/in >$tmp/out |
---|
5058 | rm -f $tmp/in |
---|
5059 | mv $tmp/out $tmp/in |
---|
5060 | ' >>$CONFIG_STATUS |
---|
5061 | sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail |
---|
5062 | rm -f conftest.defines |
---|
5063 | mv conftest.tail conftest.defines |
---|
5064 | done |
---|
5065 | rm -f conftest.defines |
---|
5066 | echo ' fi # grep' >>$CONFIG_STATUS |
---|
5067 | echo >>$CONFIG_STATUS |
---|
5068 | |
---|
5069 | # Break up conftest.undefs because some shells have a limit on the size |
---|
5070 | # of here documents, and old seds have small limits too (100 cmds). |
---|
5071 | echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
---|
5072 | rm -f conftest.tail |
---|
5073 | while grep . conftest.undefs >/dev/null |
---|
5074 | do |
---|
5075 | # Write a limited-size here document to $tmp/undefs.sed. |
---|
5076 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
---|
5077 | # Speed up: don't consider the non `#undef' |
---|
5078 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
---|
5079 | # Work around the forget-to-reset-the-flag bug. |
---|
5080 | echo 't clr' >>$CONFIG_STATUS |
---|
5081 | echo ': clr' >>$CONFIG_STATUS |
---|
5082 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
---|
5083 | echo 'CEOF |
---|
5084 | sed -f $tmp/undefs.sed $tmp/in >$tmp/out |
---|
5085 | rm -f $tmp/in |
---|
5086 | mv $tmp/out $tmp/in |
---|
5087 | ' >>$CONFIG_STATUS |
---|
5088 | sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail |
---|
5089 | rm -f conftest.undefs |
---|
5090 | mv conftest.tail conftest.undefs |
---|
5091 | done |
---|
5092 | rm -f conftest.undefs |
---|
5093 | |
---|
5094 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5095 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
5096 | # use $as_me), people would be surprised to read: |
---|
5097 | # /* config.h. Generated by config.status. */ |
---|
5098 | if test x"$ac_file" = x-; then |
---|
5099 | echo "/* Generated by configure. */" >$tmp/config.h |
---|
5100 | else |
---|
5101 | echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
---|
5102 | fi |
---|
5103 | cat $tmp/in >>$tmp/config.h |
---|
5104 | rm -f $tmp/in |
---|
5105 | if test x"$ac_file" != x-; then |
---|
5106 | if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
---|
5107 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
---|
5108 | echo "$as_me: $ac_file is unchanged" >&6;} |
---|
5109 | else |
---|
5110 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
---|
5111 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5112 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
5113 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
5114 | X"$ac_file" : 'X\(/\)' \| \ |
---|
5115 | . : '\(.\)' 2>/dev/null || |
---|
5116 | echo X"$ac_file" | |
---|
5117 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
5118 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
5119 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
5120 | /^X\(\/\).*/{ s//\1/; q; } |
---|
5121 | s/.*/./; q'` |
---|
5122 | { if $as_mkdir_p; then |
---|
5123 | mkdir -p "$ac_dir" |
---|
5124 | else |
---|
5125 | as_dir="$ac_dir" |
---|
5126 | as_dirs= |
---|
5127 | while test ! -d "$as_dir"; do |
---|
5128 | as_dirs="$as_dir $as_dirs" |
---|
5129 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
5130 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5131 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
5132 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
5133 | X"$as_dir" : 'X\(/\)' \| \ |
---|
5134 | . : '\(.\)' 2>/dev/null || |
---|
5135 | echo X"$as_dir" | |
---|
5136 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
5137 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
5138 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
5139 | /^X\(\/\).*/{ s//\1/; q; } |
---|
5140 | s/.*/./; q'` |
---|
5141 | done |
---|
5142 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
5143 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
---|
5144 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
---|
5145 | { (exit 1); exit 1; }; }; } |
---|
5146 | |
---|
5147 | rm -f $ac_file |
---|
5148 | mv $tmp/config.h $ac_file |
---|
5149 | fi |
---|
5150 | else |
---|
5151 | cat $tmp/config.h |
---|
5152 | rm -f $tmp/config.h |
---|
5153 | fi |
---|
5154 | # Compute $ac_file's index in $config_headers. |
---|
5155 | _am_stamp_count=1 |
---|
5156 | for _am_header in $config_headers :; do |
---|
5157 | case $_am_header in |
---|
5158 | $ac_file | $ac_file:* ) |
---|
5159 | break ;; |
---|
5160 | * ) |
---|
5161 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
---|
5162 | esac |
---|
5163 | done |
---|
5164 | echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || |
---|
5165 | $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5166 | X$ac_file : 'X\(//\)[^/]' \| \ |
---|
5167 | X$ac_file : 'X\(//\)$' \| \ |
---|
5168 | X$ac_file : 'X\(/\)' \| \ |
---|
5169 | . : '\(.\)' 2>/dev/null || |
---|
5170 | echo X$ac_file | |
---|
5171 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
5172 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
5173 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
5174 | /^X\(\/\).*/{ s//\1/; q; } |
---|
5175 | s/.*/./; q'`/stamp-h$_am_stamp_count |
---|
5176 | done |
---|
5177 | _ACEOF |
---|
5178 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5179 | |
---|
5180 | # |
---|
5181 | # CONFIG_COMMANDS section. |
---|
5182 | # |
---|
5183 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
---|
5184 | ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
---|
5185 | ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
5186 | ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
---|
5187 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5188 | X"$ac_dest" : 'X\(//\)[^/]' \| \ |
---|
5189 | X"$ac_dest" : 'X\(//\)$' \| \ |
---|
5190 | X"$ac_dest" : 'X\(/\)' \| \ |
---|
5191 | . : '\(.\)' 2>/dev/null || |
---|
5192 | echo X"$ac_dest" | |
---|
5193 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
5194 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
5195 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
5196 | /^X\(\/\).*/{ s//\1/; q; } |
---|
5197 | s/.*/./; q'` |
---|
5198 | { if $as_mkdir_p; then |
---|
5199 | mkdir -p "$ac_dir" |
---|
5200 | else |
---|
5201 | as_dir="$ac_dir" |
---|
5202 | as_dirs= |
---|
5203 | while test ! -d "$as_dir"; do |
---|
5204 | as_dirs="$as_dir $as_dirs" |
---|
5205 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
5206 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5207 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
5208 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
5209 | X"$as_dir" : 'X\(/\)' \| \ |
---|
5210 | . : '\(.\)' 2>/dev/null || |
---|
5211 | echo X"$as_dir" | |
---|
5212 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
5213 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
5214 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
5215 | /^X\(\/\).*/{ s//\1/; q; } |
---|
5216 | s/.*/./; q'` |
---|
5217 | done |
---|
5218 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
5219 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
---|
5220 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
---|
5221 | { (exit 1); exit 1; }; }; } |
---|
5222 | |
---|
5223 | ac_builddir=. |
---|
5224 | |
---|
5225 | if test "$ac_dir" != .; then |
---|
5226 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
5227 | # A "../" for each directory in $ac_dir_suffix. |
---|
5228 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
5229 | else |
---|
5230 | ac_dir_suffix= ac_top_builddir= |
---|
5231 | fi |
---|
5232 | |
---|
5233 | case $srcdir in |
---|
5234 | .) # No --srcdir option. We are building in place. |
---|
5235 | ac_srcdir=. |
---|
5236 | if test -z "$ac_top_builddir"; then |
---|
5237 | ac_top_srcdir=. |
---|
5238 | else |
---|
5239 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
5240 | fi ;; |
---|
5241 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
5242 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
5243 | ac_top_srcdir=$srcdir ;; |
---|
5244 | *) # Relative path. |
---|
5245 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
5246 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
5247 | esac |
---|
5248 | |
---|
5249 | # Do not use `cd foo && pwd` to compute absolute paths, because |
---|
5250 | # the directories may not exist. |
---|
5251 | case `pwd` in |
---|
5252 | .) ac_abs_builddir="$ac_dir";; |
---|
5253 | *) |
---|
5254 | case "$ac_dir" in |
---|
5255 | .) ac_abs_builddir=`pwd`;; |
---|
5256 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
---|
5257 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
---|
5258 | esac;; |
---|
5259 | esac |
---|
5260 | case $ac_abs_builddir in |
---|
5261 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
5262 | *) |
---|
5263 | case ${ac_top_builddir}. in |
---|
5264 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
---|
5265 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
5266 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
---|
5267 | esac;; |
---|
5268 | esac |
---|
5269 | case $ac_abs_builddir in |
---|
5270 | .) ac_abs_srcdir=$ac_srcdir;; |
---|
5271 | *) |
---|
5272 | case $ac_srcdir in |
---|
5273 | .) ac_abs_srcdir=$ac_abs_builddir;; |
---|
5274 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
---|
5275 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
---|
5276 | esac;; |
---|
5277 | esac |
---|
5278 | case $ac_abs_builddir in |
---|
5279 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
5280 | *) |
---|
5281 | case $ac_top_srcdir in |
---|
5282 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
---|
5283 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
5284 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
---|
5285 | esac;; |
---|
5286 | esac |
---|
5287 | |
---|
5288 | |
---|
5289 | { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
---|
5290 | echo "$as_me: executing $ac_dest commands" >&6;} |
---|
5291 | case $ac_dest in |
---|
5292 | depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do |
---|
5293 | # Strip MF so we end up with the name of the file. |
---|
5294 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
---|
5295 | # Check whether this is an Automake generated Makefile or not. |
---|
5296 | # We used to match only the files named `Makefile.in', but |
---|
5297 | # some people rename them; so instead we look at the file content. |
---|
5298 | # Grep'ing the first line is not enough: some people post-process |
---|
5299 | # each Makefile.in and add a new line on top of each file to say so. |
---|
5300 | # So let's grep whole file. |
---|
5301 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
---|
5302 | dirpart=`(dirname "$mf") 2>/dev/null || |
---|
5303 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5304 | X"$mf" : 'X\(//\)[^/]' \| \ |
---|
5305 | X"$mf" : 'X\(//\)$' \| \ |
---|
5306 | X"$mf" : 'X\(/\)' \| \ |
---|
5307 | . : '\(.\)' 2>/dev/null || |
---|
5308 | echo X"$mf" | |
---|
5309 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
5310 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
5311 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
5312 | /^X\(\/\).*/{ s//\1/; q; } |
---|
5313 | s/.*/./; q'` |
---|
5314 | else |
---|
5315 | continue |
---|
5316 | fi |
---|
5317 | # Extract the definition of DEPDIR, am__include, and am__quote |
---|
5318 | # from the Makefile without running `make'. |
---|
5319 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
---|
5320 | test -z "$DEPDIR" && continue |
---|
5321 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
---|
5322 | test -z "am__include" && continue |
---|
5323 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
---|
5324 | # When using ansi2knr, U may be empty or an underscore; expand it |
---|
5325 | U=`sed -n 's/^U = //p' < "$mf"` |
---|
5326 | # Find all dependency output files, they are included files with |
---|
5327 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
---|
5328 | # simplest approach to changing $(DEPDIR) to its actual value in the |
---|
5329 | # expansion. |
---|
5330 | for file in `sed -n " |
---|
5331 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
---|
5332 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
---|
5333 | # Make sure the directory exists. |
---|
5334 | test -f "$dirpart/$file" && continue |
---|
5335 | fdir=`(dirname "$file") 2>/dev/null || |
---|
5336 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5337 | X"$file" : 'X\(//\)[^/]' \| \ |
---|
5338 | X"$file" : 'X\(//\)$' \| \ |
---|
5339 | X"$file" : 'X\(/\)' \| \ |
---|
5340 | . : '\(.\)' 2>/dev/null || |
---|
5341 | echo X"$file" | |
---|
5342 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
5343 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
5344 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
5345 | /^X\(\/\).*/{ s//\1/; q; } |
---|
5346 | s/.*/./; q'` |
---|
5347 | { if $as_mkdir_p; then |
---|
5348 | mkdir -p $dirpart/$fdir |
---|
5349 | else |
---|
5350 | as_dir=$dirpart/$fdir |
---|
5351 | as_dirs= |
---|
5352 | while test ! -d "$as_dir"; do |
---|
5353 | as_dirs="$as_dir $as_dirs" |
---|
5354 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
5355 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5356 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
5357 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
5358 | X"$as_dir" : 'X\(/\)' \| \ |
---|
5359 | . : '\(.\)' 2>/dev/null || |
---|
5360 | echo X"$as_dir" | |
---|
5361 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
5362 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
5363 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
5364 | /^X\(\/\).*/{ s//\1/; q; } |
---|
5365 | s/.*/./; q'` |
---|
5366 | done |
---|
5367 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
5368 | fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 |
---|
5369 | echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} |
---|
5370 | { (exit 1); exit 1; }; }; } |
---|
5371 | |
---|
5372 | # echo "creating $dirpart/$file" |
---|
5373 | echo '# dummy' > "$dirpart/$file" |
---|
5374 | done |
---|
5375 | done |
---|
5376 | ;; |
---|
5377 | esac |
---|
5378 | done |
---|
5379 | _ACEOF |
---|
5380 | |
---|
5381 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5382 | |
---|
5383 | { (exit 0); exit 0; } |
---|
5384 | _ACEOF |
---|
5385 | chmod +x $CONFIG_STATUS |
---|
5386 | ac_clean_files=$ac_clean_files_save |
---|
5387 | |
---|
5388 | |
---|
5389 | # configure is writing to config.log, and then calls config.status. |
---|
5390 | # config.status does its own redirection, appending to config.log. |
---|
5391 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
5392 | # by configure, so config.status won't be able to write to it; its |
---|
5393 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
5394 | # effectively closing config.log, so it can be properly (re)opened and |
---|
5395 | # appended to by config.status. When coming back to configure, we |
---|
5396 | # need to make the FD available again. |
---|
5397 | if test "$no_create" != yes; then |
---|
5398 | ac_cs_success=: |
---|
5399 | ac_config_status_args= |
---|
5400 | test "$silent" = yes && |
---|
5401 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
5402 | exec 5>/dev/null |
---|
5403 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
5404 | exec 5>>config.log |
---|
5405 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
5406 | # would make configure fail if this is the last instruction. |
---|
5407 | $ac_cs_success || { (exit 1); exit 1; } |
---|
5408 | fi |
---|
5409 | |
---|
5410 | |
---|
5411 | echo "---" |
---|
5412 | echo "Configuration summary for mod_gnutls:" |
---|
5413 | echo "" |
---|
5414 | echo " * mod_gnutls version: ${MOD_GNUTLS_VERSION}" |
---|
5415 | echo " * Apache Modules directory: ${AP_LIBEXECDIR}" |
---|
5416 | echo " * GnuTLS Library version: ${LIBGNUTLS_VERSION}" |
---|
5417 | echo "" |
---|
5418 | echo "---" |
---|