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