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